From a27bbd7df39cb47a0915542c0fce4e3ee9923f14 Mon Sep 17 00:00:00 2001 From: jade Date: Tue, 16 Apr 2024 11:51:45 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/404.html | 6 +- docs/assets/css/styles.56447242.css | 1 + docs/assets/css/styles.a492bbaa.css | 1 - ...7ce2a.5595cbf0.js => 145ab0c7.055f017b.js} | 2 +- docs/assets/js/1a7d8ac7.3ad8d4da.js | 1 + docs/assets/js/1a7d8ac7.b70bff47.js | 1 - docs/assets/js/2303e842.08501701.js | 1 - docs/assets/js/2303e842.e1ec8f56.js | 1 + docs/assets/js/2b6f4d61.9c23a9c0.js | 2 - docs/assets/js/2b6f4d61.e351bedb.js | 2 + ...E.txt => 2b6f4d61.e351bedb.js.LICENSE.txt} | 0 docs/assets/js/519a9e86.d1368a47.js | 1 - docs/assets/js/5bea8d5d.4c09d9c4.js | 1 + docs/assets/js/5bea8d5d.578fd2ef.js | 1 - docs/assets/js/5bf17c48.736de964.js | 1 - ...1071f.31b7412f.js => 7661071f.46fcdeab.js} | 2 +- docs/assets/js/8f6cc927.1133636e.js | 1 - docs/assets/js/8f6cc927.6cc5c2c4.js | 1 + docs/assets/js/935f2afb.3ae4b30e.js | 1 - docs/assets/js/935f2afb.bdefd88f.js | 1 + docs/assets/js/9fa2a09a.cde1783b.js | 1 + docs/assets/js/9fa2a09a.d9f00183.js | 1 - docs/assets/js/b24dde81.c30f339e.js | 1 + docs/assets/js/b24dde81.d302e45e.js | 1 - ...d8993.77d760db.js => b26bf03a.c4853798.js} | 2 +- docs/assets/js/c38eb2df.36a46796.js | 1 + docs/assets/js/c38eb2df.6eeb2415.js | 1 - ...32620.38879f0a.js => d9f32620.4cbecc5d.js} | 2 +- docs/assets/js/dbb2b5fa.bae29f6a.js | 1 + docs/assets/js/e3987845.e1b0e77d.js | 1 - docs/assets/js/f4aa6a97.90718505.js | 1 + docs/assets/js/main.1c90cfd9.js | 2 + ...CENSE.txt => main.1c90cfd9.js.LICENSE.txt} | 0 docs/assets/js/main.ae79f6db.js | 2 - docs/assets/js/runtime~main.1f8c306e.js | 1 + docs/assets/js/runtime~main.922d8730.js | 1 - docs/blog/archive/index.html | 6 +- docs/blog/first-blog-post/index.html | 6 +- docs/blog/index.html | 6 +- docs/blog/long-blog-post/index.html | 6 +- docs/blog/mdx-blog-post/index.html | 6 +- docs/blog/tags/docusaurus/index.html | 6 +- docs/blog/tags/facebook/index.html | 6 +- docs/blog/tags/hello/index.html | 6 +- docs/blog/tags/hola/index.html | 6 +- docs/blog/tags/index.html | 6 +- docs/blog/welcome/index.html | 6 +- docs/docs/css/color/index.html | 8 +- docs/docs/css/flex/index.html | 8 +- docs/docs/css/index.html | 8 +- docs/docs/css/text/index.html | 8 +- docs/docs/enum/index.html | 38 +++----- docs/docs/handler/index.html | 20 +++-- docs/docs/hooks/index.html | 12 +-- docs/docs/hooks/useAsync/index.html | 14 --- .../docs/hooks/useValue/{TEST => }/index.html | 14 +-- docs/docs/promise/index.html | 30 +++---- docs/docs/store/index.html | 23 +++-- docs/index.html | 6 +- docs/markdown-page/index.html | 6 +- docs/sitemap.xml | 2 +- packages/enum/docs/index.mdx | 73 ++++++++++----- packages/handler/docs/index.mdx | 90 ++++++++++++++++--- packages/hooks/docs/index.mdx | 2 +- packages/hooks/docs/useAsync.mdx | 25 ------ .../docs/useValue/{TEST.mdx => index.mdx} | 0 packages/promise/docs/index.mdx | 20 ++--- packages/store/docs/index.mdx | 86 +++++++++++++++++- 68 files changed, 379 insertions(+), 227 deletions(-) create mode 100644 docs/assets/css/styles.56447242.css delete mode 100644 docs/assets/css/styles.a492bbaa.css rename docs/assets/js/{2677ce2a.5595cbf0.js => 145ab0c7.055f017b.js} (67%) create mode 100644 docs/assets/js/1a7d8ac7.3ad8d4da.js delete mode 100644 docs/assets/js/1a7d8ac7.b70bff47.js delete mode 100644 docs/assets/js/2303e842.08501701.js create mode 100644 docs/assets/js/2303e842.e1ec8f56.js delete mode 100644 docs/assets/js/2b6f4d61.9c23a9c0.js create mode 100644 docs/assets/js/2b6f4d61.e351bedb.js rename docs/assets/js/{2b6f4d61.9c23a9c0.js.LICENSE.txt => 2b6f4d61.e351bedb.js.LICENSE.txt} (100%) delete mode 100644 docs/assets/js/519a9e86.d1368a47.js create mode 100644 docs/assets/js/5bea8d5d.4c09d9c4.js delete mode 100644 docs/assets/js/5bea8d5d.578fd2ef.js delete mode 100644 docs/assets/js/5bf17c48.736de964.js rename docs/assets/js/{7661071f.31b7412f.js => 7661071f.46fcdeab.js} (96%) delete mode 100644 docs/assets/js/8f6cc927.1133636e.js create mode 100644 docs/assets/js/8f6cc927.6cc5c2c4.js delete mode 100644 docs/assets/js/935f2afb.3ae4b30e.js create mode 100644 docs/assets/js/935f2afb.bdefd88f.js create mode 100644 docs/assets/js/9fa2a09a.cde1783b.js delete mode 100644 docs/assets/js/9fa2a09a.d9f00183.js create mode 100644 docs/assets/js/b24dde81.c30f339e.js delete mode 100644 docs/assets/js/b24dde81.d302e45e.js rename docs/assets/js/{6f1d8993.77d760db.js => b26bf03a.c4853798.js} (66%) create mode 100644 docs/assets/js/c38eb2df.36a46796.js delete mode 100644 docs/assets/js/c38eb2df.6eeb2415.js rename docs/assets/js/{d9f32620.38879f0a.js => d9f32620.4cbecc5d.js} (96%) create mode 100644 docs/assets/js/dbb2b5fa.bae29f6a.js delete mode 100644 docs/assets/js/e3987845.e1b0e77d.js create mode 100644 docs/assets/js/f4aa6a97.90718505.js create mode 100644 docs/assets/js/main.1c90cfd9.js rename docs/assets/js/{main.ae79f6db.js.LICENSE.txt => main.1c90cfd9.js.LICENSE.txt} (100%) delete mode 100644 docs/assets/js/main.ae79f6db.js create mode 100644 docs/assets/js/runtime~main.1f8c306e.js delete mode 100644 docs/assets/js/runtime~main.922d8730.js delete mode 100644 docs/docs/hooks/useAsync/index.html rename docs/docs/hooks/useValue/{TEST => }/index.html (78%) delete mode 100644 packages/hooks/docs/useAsync.mdx rename packages/hooks/docs/useValue/{TEST.mdx => index.mdx} (100%) diff --git a/docs/404.html b/docs/404.html index 6068c40..79e6890 100644 --- a/docs/404.html +++ b/docs/404.html @@ -4,9 +4,9 @@ Page Not Found | jelper官网文档 - - - + + +
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.

diff --git a/docs/assets/css/styles.56447242.css b/docs/assets/css/styles.56447242.css new file mode 100644 index 0000000..a878eb8 --- /dev/null +++ b/docs/assets/css/styles.56447242.css @@ -0,0 +1 @@ +.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)}.button,.dropdown__link,.nowrap,.text--truncate{white-space:nowrap}.toggleButton_rRSK,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_Zuax,.details_nkpJ>summary,.dropdown__menu,.menu__list{list-style:none}: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:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.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}html{-webkit-font-smoothing:antialiased;-webkit-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);padding:0 var(--ifm-spacing-horizontal);width:100%}.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,.tabItem_Lr5a{margin-top:0!important}.mg-lr0,.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.pd-lr0,.row--no-gutters>.col{padding-left:0;padding-right:0}.flex-around-start,.flex-between-start,.flex-center-start,.flex-end-start,.flex-evenly-start,.flex-start-start,.row--align-top{align-items:flex-start}.flex-around-end,.flex-between-end,.flex-center-end,.flex-end-end,.flex-evenly-end,.flex-start-end,.row--align-bottom{align-items:flex-end}.flex-around-center,.flex-between-center,.flex-center-center,.flex-end-center,.flex-evenly-center,.flex-start-center,.menuExternalLink_wj56,.row--align-center{align-items:center}.flex-around-stretch,.flex-between-stretch,.flex-center-stretch,.flex-end-stretch,.flex-evenly-stretch,.flex-start-stretch,.row--align-stretch{align-items:stretch}.flex-around-baseline,.flex-between-baseline,.flex-center-baseline,.flex-end-baseline,.flex-evenly-baseline,.flex-start-baseline,.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);width:100%}.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:transparent;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,.tabList_R1Bj{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_JGqv .wordWrapButtonIcon_OdA2{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)}.align-center,.text--center{text-align:center}.align-left,.text--left{text-align:left}.align-justify,.text--justify{text-align:justify}.align-right,.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_JXW_,.alert__heading,.playgroundHeader_JSKG,.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}.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{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{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,.inline-block,.text,.text-l,.text-m,.text-s,.text-xl,.text-xs{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:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__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}.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,.pd-t0{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),.pd-b0{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_Q7kn: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]){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;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)}.sidebar_GzYR,.tableOfContents_peI8{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.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}.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;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_gkaE article>:first-child,.docItemContainer_gkaE header+*,.footer__item,.mg-t0{margin-top:0}.admonitionContent_uYe1>:last-child,.collapsibleContent_rBTW p:last-child,.details_nkpJ>summary>p:last-child,.footer__items,.mg-b0,.tabItem_bifL>:last-child{margin-bottom:0}.codeBlockStandalone_sTzl,.pd-0,[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,.title_x0r6{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{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}.details_nkpJ[data-collapsed=false].isBrowser_Bsht>summary:before,.details_nkpJ[open]:not(.isBrowser_Bsht)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after,.rotate90{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{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.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: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_U2mI,.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}.mg-0,.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,.pd-r0{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::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: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));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,.sidebarItemLink_HahC: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)}.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;padding-left:0}.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)}.disabled,.toggleButtonDisabled_Izx4{cursor:not-allowed}.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;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3)}.disabled{color:#e0e0e0}.link:hover,.pointer:hover{color:#4279fd;cursor:pointer}.blue{color:#4279fd}.blue-hover,.blue.pointer:hover{color:#6894fd}.bg-blue{background-color:#ecf2ff}.blue-light{color:#8eaffe}.blue.disabled{color:#d9e4ff}.green{color:#0ab387}.green-hover,.green.pointer:hover{color:#3bc29f}.bg-green{background-color:#e7f7f3}.green-light{color:#6cd1b7}.green.disabled{color:#cef0e7}.orange{color:#c14a27}.orange-hover,.orange.pointer:hover{color:#cd6e52}.bg-orange{background-color:#f9ede9}.orange-light{color:#da927d}.orange.disabled{color:#f3dbd4}.yellow{color:#f7ab4f}.yellow-hover,.yellow.pointer:hover{color:#f9bc72}.bg-yellow{background-color:#fef7ed}.yellow-light{color:#facd95}.yellow.disabled{color:#fdeedc}.black-hover,.black.pointer:hover{color:#848484}.black-light{color:#a3a3a3}.black.disabled{color:#e0e0e0}.c15{color:#151515}.bg-c15{background-color:#151515}.c25{color:#252525}.bg-c25{background-color:#252525}.c35{color:#353535}.bg-c35{background-color:#353535}.c45{color:#454545}.bg-c45{background-color:#454545}.c55{color:#555}.bg-c55{background-color:#555}.c65{color:#656565}.bg-c65{background-color:#656565}.c75{color:#757575}.bg-c75{background-color:#757575}.c85{color:#858585}.bg-c85{background-color:#858585}.c95{color:#959595}.bg-c95{background-color:#959595}.ca5{color:#a5a5a5}.bg-ca5{background-color:#a5a5a5}.cb5{color:#b5b5b5}.bg-cb5{background-color:#b5b5b5}.cc5{color:#c5c5c5}.bg-cc5{background-color:#c5c5c5}.cd5{color:#d5d5d5}.bg-cd5{background-color:#d5d5d5}.ce5{color:#e5e5e5}.bg-ce5{background-color:#e5e5e5}.cf5{color:#f5f5f5}.bg-cf5{background-color:#f5f5f5}.c0d{color:#0d0d0d}.bg-c0d{background-color:#0d0d0d}.c1d{color:#1d1d1d}.bg-c1d{background-color:#1d1d1d}.c2d{color:#2d2d2d}.bg-c2d{background-color:#2d2d2d}.c3d{color:#3d3d3d}.bg-c3d{background-color:#3d3d3d}.c4d{color:#4d4d4d}.bg-c4d{background-color:#4d4d4d}.c5d{color:#5d5d5d}.bg-c5d{background-color:#5d5d5d}.c6d{color:#6d6d6d}.bg-c6d{background-color:#6d6d6d}.c7d{color:#7d7d7d}.bg-c7d{background-color:#7d7d7d}.c8d{color:#8d8d8d}.bg-c8d{background-color:#8d8d8d}.c9d{color:#9d9d9d}.bg-c9d{background-color:#9d9d9d}.cad{color:#adadad}.bg-cad{background-color:#adadad}.cbd{color:#bdbdbd}.bg-cbd{background-color:#bdbdbd}.ccd{color:#cdcdcd}.bg-ccd{background-color:#cdcdcd}.cdd{color:#ddd}.bg-cdd{background-color:#ddd}.ced{color:#ededed}.bg-ced{background-color:#ededed}.cfd{color:#fdfdfd}.bg-cfd{background-color:#fdfdfd}.white{color:#fff}.black{color:#000}.bg-white{background:#fff}.bg-black{background:#000}.fs12{font-size:12px;line-height:18px}.fs14,.text,.text-m,.text-s{font-size:14px;line-height:20px}.fs16{font-size:16px;line-height:24px}.fs18{font-size:18px;line-height:26px}.fs20{font-size:20px;line-height:30px}.fs24{font-size:24px;line-height:36px}.fs28{font-size:28px;line-height:42px}.fs32{font-size:32px;line-height:48px}.fs36{font-size:36px;line-height:54px}.fs40{font-size:40px;line-height:60px}.fs48{font-size:48px;line-height:72px}.fw400{font-weight:400}.fw500{font-weight:500}.fw600{font-weight:600}.mg-4{margin:4px}.pd-4{padding:4px}.mg-8{margin:8px}.pd-8{padding:8px}.mg-12{margin:12px}.pd-12{padding:12px}.mg-16{margin:16px}.pd-16{padding:16px}.mg-20{margin:20px}.pd-20{padding:20px}.mg-24{margin:24px}.pd-24{padding:24px}.mg-28{margin:28px}.pd-28{padding:28px}.mg-32{margin:32px}.pd-32{padding:32px}.mg-36{margin:36px}.pd-36{padding:36px}.mg-40{margin:40px}.pd-40{padding:40px}.mg-48{margin:48px}.pd-48{padding:48px}.mg-56{margin:56px}.pd-56{padding:56px}.mg-64{margin:64px}.pd-64{padding:64px}.mg-tb0{margin-bottom:0;margin-top:0}.pd-tb0{padding-bottom:0;padding-top:0}.mg-lr4{margin-left:4px;margin-right:4px}.mg-tb4{margin-bottom:4px;margin-top:4px}.pd-lr4{padding-left:4px;padding-right:4px}.pd-tb4{padding-bottom:4px;padding-top:4px}.mg-lr8{margin-left:8px;margin-right:8px}.mg-tb8{margin-bottom:8px;margin-top:8px}.pd-lr8{padding-left:8px;padding-right:8px}.pd-tb8{padding-bottom:8px;padding-top:8px}.mg-lr12{margin-left:12px;margin-right:12px}.mg-tb12{margin-bottom:12px;margin-top:12px}.pd-lr12{padding-left:12px;padding-right:12px}.pd-tb12{padding-bottom:12px;padding-top:12px}.mg-lr16{margin-left:16px;margin-right:16px}.mg-tb16{margin-bottom:16px;margin-top:16px}.pd-lr16{padding-left:16px;padding-right:16px}.pd-tb16{padding-bottom:16px;padding-top:16px}.mg-lr20{margin-left:20px;margin-right:20px}.mg-tb20{margin-bottom:20px;margin-top:20px}.pd-lr20{padding-left:20px;padding-right:20px}.pd-tb20{padding-bottom:20px;padding-top:20px}.mg-lr24{margin-left:24px;margin-right:24px}.mg-tb24{margin-bottom:24px;margin-top:24px}.pd-lr24{padding-left:24px;padding-right:24px}.pd-tb24{padding-bottom:24px;padding-top:24px}.mg-lr28{margin-left:28px;margin-right:28px}.mg-tb28{margin-bottom:28px;margin-top:28px}.pd-lr28{padding-left:28px;padding-right:28px}.pd-tb28{padding-bottom:28px;padding-top:28px}.mg-lr32{margin-left:32px;margin-right:32px}.mg-tb32{margin-bottom:32px;margin-top:32px}.pd-lr32{padding-left:32px;padding-right:32px}.pd-tb32{padding-bottom:32px;padding-top:32px}.mg-lr36{margin-left:36px;margin-right:36px}.mg-tb36{margin-bottom:36px;margin-top:36px}.pd-lr36{padding-left:36px;padding-right:36px}.pd-tb36{padding-bottom:36px;padding-top:36px}.mg-lr40{margin-left:40px;margin-right:40px}.mg-tb40{margin-bottom:40px;margin-top:40px}.pd-lr40{padding-left:40px;padding-right:40px}.pd-tb40{padding-bottom:40px;padding-top:40px}.mg-lr48{margin-left:48px;margin-right:48px}.mg-tb48{margin-bottom:48px;margin-top:48px}.pd-lr48{padding-left:48px;padding-right:48px}.pd-tb48{padding-bottom:48px;padding-top:48px}.mg-lr56{margin-left:56px;margin-right:56px}.mg-tb56{margin-bottom:56px;margin-top:56px}.pd-lr56{padding-left:56px;padding-right:56px}.pd-tb56{padding-bottom:56px;padding-top:56px}.mg-lr64{margin-left:64px;margin-right:64px}.mg-tb64{margin-bottom:64px;margin-top:64px}.pd-lr64{padding-left:64px;padding-right:64px}.pd-tb64{padding-bottom:64px;padding-top:64px}.mg-l0{margin-left:0}.pd-l0,:not(.containsTaskList_Zuax>li)>.containsTaskList_Zuax{padding-left:0}.mg-r0{margin-right:0}.mg-l4{margin-left:4px}.pd-l4{padding-left:4px}.mg-r4{margin-right:4px}.pd-r4{padding-right:4px}.mg-t4{margin-top:4px}.pd-t4{padding-top:4px}.mg-b4{margin-bottom:4px}.pd-b4{padding-bottom:4px}.mg-l8{margin-left:8px}.pd-l8{padding-left:8px}.mg-r8{margin-right:8px}.pd-r8{padding-right:8px}.mg-t8{margin-top:8px}.pd-t8{padding-top:8px}.mg-b8{margin-bottom:8px}.pd-b8{padding-bottom:8px}.mg-l12{margin-left:12px}.pd-l12{padding-left:12px}.mg-r12{margin-right:12px}.pd-r12{padding-right:12px}.mg-t12{margin-top:12px}.pd-t12{padding-top:12px}.mg-b12{margin-bottom:12px}.pd-b12{padding-bottom:12px}.mg-l16{margin-left:16px}.pd-l16{padding-left:16px}.mg-r16{margin-right:16px}.pd-r16{padding-right:16px}.mg-t16{margin-top:16px}.pd-t16{padding-top:16px}.mg-b16{margin-bottom:16px}.pd-b16{padding-bottom:16px}.mg-l20{margin-left:20px}.pd-l20{padding-left:20px}.mg-r20{margin-right:20px}.pd-r20{padding-right:20px}.mg-t20{margin-top:20px}.pd-t20{padding-top:20px}.mg-b20{margin-bottom:20px}.pd-b20{padding-bottom:20px}.mg-l24{margin-left:24px}.pd-l24{padding-left:24px}.mg-r24{margin-right:24px}.pd-r24{padding-right:24px}.mg-t24{margin-top:24px}.pd-t24{padding-top:24px}.mg-b24{margin-bottom:24px}.pd-b24{padding-bottom:24px}.mg-l28{margin-left:28px}.pd-l28{padding-left:28px}.mg-r28{margin-right:28px}.pd-r28{padding-right:28px}.mg-t28{margin-top:28px}.pd-t28{padding-top:28px}.mg-b28{margin-bottom:28px}.pd-b28{padding-bottom:28px}.mg-l32{margin-left:32px}.pd-l32{padding-left:32px}.mg-r32{margin-right:32px}.pd-r32{padding-right:32px}.mg-t32{margin-top:32px}.pd-t32{padding-top:32px}.mg-b32{margin-bottom:32px}.pd-b32{padding-bottom:32px}.mg-l36{margin-left:36px}.pd-l36{padding-left:36px}.mg-r36{margin-right:36px}.pd-r36{padding-right:36px}.mg-t36{margin-top:36px}.pd-t36{padding-top:36px}.mg-b36{margin-bottom:36px}.pd-b36{padding-bottom:36px}.mg-l40{margin-left:40px}.pd-l40{padding-left:40px}.mg-r40{margin-right:40px}.pd-r40{padding-right:40px}.mg-t40{margin-top:40px}.pd-t40{padding-top:40px}.mg-b40{margin-bottom:40px}.pd-b40{padding-bottom:40px}.mg-l48{margin-left:48px}.pd-l48{padding-left:48px}.mg-r48{margin-right:48px}.pd-r48{padding-right:48px}.mg-t48{margin-top:48px}.pd-t48{padding-top:48px}.mg-b48{margin-bottom:48px}.pd-b48{padding-bottom:48px}.mg-l56{margin-left:56px}.pd-l56{padding-left:56px}.mg-r56{margin-right:56px}.pd-r56{padding-right:56px}.mg-t56{margin-top:56px}.pd-t56{padding-top:56px}.mg-b56{margin-bottom:56px}.pd-b56{padding-bottom:56px}.mg-l64{margin-left:64px}.pd-l64{padding-left:64px}.mg-r64{margin-right:64px}.pd-r64{padding-right:64px}.mg-t64{margin-top:64px}.pd-t64{padding-top:64px}.mg-b64{margin-bottom:64px}.pd-b64{padding-bottom:64px}.mg-auto{margin-left:auto;margin-right:auto}.block,.tocCollapsibleContent_dZCL a{display:block}.inline,.tags_C2P7{display:inline}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_gtEw,.hide,.sidebarLogo_wdoC,.themedComponent_xGFV,[data-theme=dark] .lightToggleIcon_FbfU,[data-theme=light] .darkToggleIcon_Q5Et,html[data-announcement-bar-initially-dismissed=true] .announcementBar_CGLK{display:none}.flex-around,.flex-around-baseline,.flex-around-center,.flex-around-end,.flex-around-start,.flex-around-stretch,.flex-between,.flex-between-baseline,.flex-between-center,.flex-between-end,.flex-between-start,.flex-between-stretch,.flex-center,.flex-center-baseline,.flex-center-center,.flex-center-end,.flex-center-start,.flex-center-stretch,.flex-end,.flex-end-baseline,.flex-end-center,.flex-end-end,.flex-end-start,.flex-end-stretch,.flex-evenly,.flex-evenly-baseline,.flex-evenly-center,.flex-evenly-end,.flex-evenly-start,.flex-evenly-stretch,.flex-start,.flex-start-baseline,.flex-start-center,.flex-start-end,.flex-start-start,.flex-start-stretch{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.flex-start,.flex-start-baseline,.flex-start-center,.flex-start-end,.flex-start-start,.flex-start-stretch{justify-content:flex-start}.flex-end,.flex-end-baseline,.flex-end-center,.flex-end-end,.flex-end-start,.flex-end-stretch{justify-content:flex-end}.flex-center,.flex-center-baseline,.flex-center-center,.flex-center-end,.flex-center-start,.flex-center-stretch,.mdxPageWrapper_frZ7{justify-content:center}.flex-between,.flex-between-baseline,.flex-between-center,.flex-between-end,.flex-between-start,.flex-between-stretch{justify-content:space-between}.flex-around,.flex-around-baseline,.flex-around-center,.flex-around-end,.flex-around-start,.flex-around-stretch{justify-content:space-around}.flex-evenly,.flex-evenly-baseline,.flex-evenly-center,.flex-evenly-end,.flex-evenly-start,.flex-evenly-stretch{justify-content:space-evenly}.flex-item-start{align-self:flex-start}.flex-item-end{align-self:flex-end}.flex-item-center{align-self:flex-center}.flex-item-stretch{align-self:stretch}.flex-item-baseline{align-self:baseline}.w-xs-xs{width:16px}.w-xs-s{width:24px}.w-xs-m{width:36px}.w-xs-l{width:48px}.w-xs-xl{width:56px}.w-s-xs{width:64px}.w-s-s{width:80px}.w-s-m{width:96px}.w-s-l{width:112px}.w-s-xl{width:136px}.w-m-xs{width:160px}.w-m-s{width:192px}.w-m-m{width:224px}.w-m-l{width:256px}.w-m-xl{width:288px}.w-l-xs{width:320px}.w-l-s{width:448px}.w-l-m{width:576px}.w-l-l{width:704px}.w-l-xl{width:832px}.w-xl-xs{width:960px}.w-xl-s{width:1120px}.w-xl-m{width:1280px}.w-xl-l{width:1440px}.w-xl-xl{width:1600px}.w-full{width:100%}.text-xs{font-size:12px;line-height:18px;padding:3px 0}.text-s{padding:4px 0}.text,.text-m{padding:6px 0}.text-l{font-size:14px;line-height:20px;padding:8px 0}.text-xl{font-size:16px;line-height:24px;padding:8px 0}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.align-super{vertical-align:super}.align-sub{vertical-align:sub}.pre-wrap,.wrap{word-wrap:break-word;overflow-wrap:break-word;word-break:normal}.wrap{white-space:normal}.pre-wrap{white-space:pre-wrap}.rotate45{transform:rotate(45deg)}.rotate135{transform:rotate(135deg)}.rotate180{transform:rotate(180deg)}.rotate225{transform:rotate(225deg)}.rotate270{transform:rotate(270deg)}.rotate315{transform:rotate(315deg)}.relative{position:relative}.absolute{position:absolute}.radius{border-radius:50%}.radius-4{border-radius:4px}.radius-8{border-radius:8px}.backToTopButton_X4mX{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_X4mX: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_JSoa{opacity:1;transform:scale(1);visibility:visible}.skipToContent_AFv3{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_AFv3:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_ggrC{line-height:0;padding:0}.content_PN8z{font-size:85%;padding:5px 0;text-align:center}.content_PN8z a{color:inherit;text-decoration:underline}.announcementBar_CGLK{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)}.playgroundHeader_JSKG,.toggleButton_rRSK:hover{background:var(--ifm-color-emphasis-200)}.announcementBarPlaceholder_lKma{flex:0 0 10px}.announcementBarClose_UcBq{align-self:stretch;flex:0 0 30px}.toggle_NqC6{height:2rem;width:2rem}.toggleButton_rRSK{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.darkNavbarColorModeToggle_D0zm:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_LpvF,[data-theme=light] .themedComponent--light_yhN_,html:not([data-theme]) .themedComponent--light_yhN_{display:initial}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_gALU{display:none;margin:0}.codeBlockContainer_NbIc,.playgroundContainer_qM6w{box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.iconExternalLink_Ivpw{margin-left:.3rem}.docMainContainer_pSPc,.docRoot_raEX{display:flex;width:100%}.docsWrapper_GLF4{display:flex;flex:1 0 auto}.dropdownNavbarItemMobile_Ra09{cursor:pointer}.iconLanguage_Fun8{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_mVFy:not(:has(>*)){display:none}}.navbarHideable_E28u{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_RstI{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_nMrj{color:red;white-space:pre-wrap}.errorBoundaryFallback_f9jZ{color:red;padding:.55rem}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.footerLogoLink_B5wf{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_B5wf:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_TqQ3{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_stY_{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:"#"}.mainWrapper_dJHa{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_GzYR{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_uabl{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_VJ7l,.sidebarItemList_ciBV{font-size:.9rem}.sidebarItem_rAL3{margin-top:.7rem}.sidebarItemLink_HahC{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_qqqS{color:var(--ifm-color-primary)!important}.features_t9lD{align-items:center;display:flex;padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{align-items:center;display:flex;justify-content:center}.authorCol_YqGQ{flex-grow:1!important;max-width:inherit!important}.imageOnlyAuthorRow_FZbX{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_pQO_{margin-left:.3rem;margin-right:.3rem}.playgroundContainer_qM6w{border-radius:var(--ifm-global-radius);overflow:hidden}.playgroundHeader_JSKG{color:var(--ifm-color-content);font-size:var(--ifm-code-font-size);font-weight:700;letter-spacing:.08rem;padding:.75rem}.playgroundHeader_JSKG:first-of-type{background:var(--ifm-color-emphasis-600);color:var(--ifm-color-content-inverse)}.playgroundEditor_ASnB{direction:ltr;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace)!important}.playgroundPreview_TnWc{background-color:var(--ifm-pre-background);padding:1rem}.buttonGroup_RKN3 button,.codeBlockContainer_NbIc{background:var(--prism-background-color);color:var(--prism-color)}.codeBlockContainer_NbIc{border-radius:var(--ifm-code-border-radius)}.codeBlockContent_FrkZ{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_JyWT{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_mdKF{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_JyWT+.codeBlockContent_FrkZ .codeBlock_mdKF{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_srnW{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_sJUf{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_RKN3{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_RKN3 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_RKN3 button:focus-visible,.buttonGroup_RKN3 button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_RKN3 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_IXnF{counter-increment:a;display:table-row}.codeLineNumber_Q7kn{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Q7kn:before{content:counter(a);opacity:.4}.codeLineContent_ANBe{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_zsn_{opacity:1!important}.copyButtonIcons_Jafk{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_edLb,.copyButtonSuccessIcon_gfk0{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_gfk0{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_zsn_ .copyButtonIcon_edLb{opacity:0;transform:scale(.33)}.copyButtonCopied_zsn_ .copyButtonSuccessIcon_gfk0{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.tag_BzfP{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_BzfP:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_KnlO{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_pxtX{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tag_K2_q,.tag_K4Dg{display:inline-block}.tagWithCount_pxtX:after,.tagWithCount_pxtX:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_pxtX:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_pxtX:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_pxtX 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}.tag_K2_q{margin:.5rem .5rem 0 1rem}.wordWrapButtonIcon_OdA2{height:1.2rem;width:1.2rem}.tag_K4Dg{margin:0 .4rem .5rem 0}.iconEdit_UDvD{margin-right:.3em;vertical-align:sub}.lastUpdated_JhVI{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_EEKN{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_EEKN: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_YtGd:after,.tocCollapsibleExpanded_Hrt7{transform:none}.tocCollapsible_C9lL{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_dZCL>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_dZCL ul li{margin:.4rem .8rem}.details_nkpJ{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_nkpJ>summary{cursor:pointer;padding-left:1rem;position:relative}.details_nkpJ>summary::-webkit-details-marker{display:none}.details_nkpJ>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;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_rBTW{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_FVvm{--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)}.img_A4nv{height:auto}.tableOfContents_peI8{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_IHNG{margin-bottom:1em}.admonitionHeading_JXW_{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_JXW_:not(:last-child){margin-bottom:.3rem}.admonitionHeading_JXW_ code{text-transform:none}.admonitionIcon_YVat{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_YVat svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_L4xd{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_slF3{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}@media (min-width:997px){.collapseSidebarButton_gALU,.expandButton_QNNX{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_UcBq,.announcementBarPlaceholder_lKma{flex-basis:50px}.collapseSidebarButton_gALU{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_KRa9{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_fWZb,[dir=rtl] .collapseSidebarButtonIcon_KRa9{transform:rotate(0)}.collapseSidebarButton_gALU:focus,.collapseSidebarButton_gALU:hover,.expandButton_QNNX:focus,.expandButton_QNNX:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_Q5Rp{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_zRKk{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_zRKk{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_KfsA{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_nFrq{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_Nt_5{padding-top:0}.sidebarHidden_QYr8{opacity:0;visibility:hidden}.sidebarLogo_wdoC{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_wdoC img{height:2rem;margin-right:.5rem}.expandButton_QNNX{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_fWZb{transform:rotate(180deg)}.docSidebarContainer_gtEw{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_SF3O{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_mMR3{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_pSPc{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_QCxD{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_Rhx4{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_mVFy{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JhVI{text-align:right}.tocMobile_VhSd{display:none}.docItemCol_d8o8{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_gdWp,.footer__link-separator,.navbar__item,.sidebar_GzYR,.tableOfContents_peI8{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}.navbarSearchContainer_mVFy{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_dXnF{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{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}.title_x0r6{font-size:2rem}}@media (hover:hover){.backToTopButton_X4mX: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_CGLK,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_VhSd{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_srnW{white-space:pre-wrap}} \ No newline at end of file diff --git a/docs/assets/css/styles.a492bbaa.css b/docs/assets/css/styles.a492bbaa.css deleted file mode 100644 index 8fb4356..0000000 --- a/docs/assets/css/styles.a492bbaa.css +++ /dev/null @@ -1 +0,0 @@ -.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)}.button,.dropdown__link,.nowrap,.text--truncate{white-space:nowrap}.toggleButton_rRSK,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_Zuax,.details_nkpJ>summary,.dropdown__menu,.menu__list{list-style:none}: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:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.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}html{-webkit-font-smoothing:antialiased;-webkit-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);padding:0 var(--ifm-spacing-horizontal);width:100%}.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,.tabItem_Lr5a{margin-top:0!important}.mg-lr0,.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.pd-lr0,.row--no-gutters>.col{padding-left:0;padding-right:0}.flex-around,.flex-around-start,.flex-between,.flex-between-start,.flex-center,.flex-center-start,.flex-end,.flex-end-start,.flex-evenly,.flex-evenly-start,.flex-start,.flex-start-start,.row--align-top{align-items:flex-start}.flex-around-end,.flex-between-end,.flex-center-end,.flex-end-end,.flex-evenly-end,.flex-start-end,.row--align-bottom{align-items:flex-end}.flex-around-center,.flex-between-center,.flex-center-center,.flex-end-center,.flex-evenly-center,.flex-start-center,.menuExternalLink_wj56,.row--align-center{align-items:center}.flex-around-stretch,.flex-between-stretch,.flex-center-stretch,.flex-end-stretch,.flex-evenly-stretch,.flex-start-stretch,.row--align-stretch{align-items:stretch}.flex-around-baseline,.flex-between-baseline,.flex-center-baseline,.flex-end-baseline,.flex-evenly-baseline,.flex-start-baseline,.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);width:100%}.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:transparent;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,.tabList_R1Bj{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_JGqv .wordWrapButtonIcon_OdA2{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)}.align-center,.text--center{text-align:center}.align-left,.text--left{text-align:left}.align-justify,.text--justify{text-align:justify}.align-right,.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_JXW_,.alert__heading,.playgroundHeader_JSKG,.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}.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{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{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,.inline-block,.text,.text-l,.text-m,.text-s,.text-xl,.text-xs{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:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__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}.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,.pd-t0{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),.pd-b0{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_Q7kn: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]){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;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)}.sidebar_GzYR,.tableOfContents_peI8{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.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}.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;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_gkaE article>:first-child,.docItemContainer_gkaE header+*,.footer__item,.mg-t0{margin-top:0}.admonitionContent_uYe1>:last-child,.collapsibleContent_rBTW p:last-child,.details_nkpJ>summary>p:last-child,.footer__items,.mg-b0,.tabItem_bifL>:last-child{margin-bottom:0}.codeBlockStandalone_sTzl,.pd-0,[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,.title_x0r6{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{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}.details_nkpJ[data-collapsed=false].isBrowser_Bsht>summary:before,.details_nkpJ[open]:not(.isBrowser_Bsht)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after,.rotate90{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{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.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: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_U2mI,.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}.mg-0,.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,.pd-r0{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::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: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));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,.sidebarItemLink_HahC: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)}.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;padding-left:0}.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)}.disabled,.toggleButtonDisabled_Izx4{cursor:not-allowed}.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;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3)}.disabled{color:#e0e0e0}.link:hover,.pointer:hover{color:#4279fd;cursor:pointer}.blue{color:#4279fd}.blue-hover,.blue.pointer:hover{color:#6894fd}.bg-blue{background-color:#ecf2ff}.blue-light{color:#8eaffe}.blue.disabled{color:#d9e4ff}.green{color:#0ab387}.green-hover,.green.pointer:hover{color:#3bc29f}.bg-green{background-color:#e7f7f3}.green-light{color:#6cd1b7}.green.disabled{color:#cef0e7}.orange{color:#c14a27}.orange-hover,.orange.pointer:hover{color:#cd6e52}.bg-orange{background-color:#f9ede9}.orange-light{color:#da927d}.orange.disabled{color:#f3dbd4}.yellow{color:#f7ab4f}.yellow-hover,.yellow.pointer:hover{color:#f9bc72}.bg-yellow{background-color:#fef7ed}.yellow-light{color:#facd95}.yellow.disabled{color:#fdeedc}.black-hover,.black.pointer:hover{color:#848484}.black-light{color:#a3a3a3}.black.disabled{color:#e0e0e0}.c15{color:#151515}.bg-c15{background-color:#151515}.c25{color:#252525}.bg-c25{background-color:#252525}.c35{color:#353535}.bg-c35{background-color:#353535}.c45{color:#454545}.bg-c45{background-color:#454545}.c55{color:#555}.bg-c55{background-color:#555}.c65{color:#656565}.bg-c65{background-color:#656565}.c75{color:#757575}.bg-c75{background-color:#757575}.c85{color:#858585}.bg-c85{background-color:#858585}.c95{color:#959595}.bg-c95{background-color:#959595}.ca5{color:#a5a5a5}.bg-ca5{background-color:#a5a5a5}.cb5{color:#b5b5b5}.bg-cb5{background-color:#b5b5b5}.cc5{color:#c5c5c5}.bg-cc5{background-color:#c5c5c5}.cd5{color:#d5d5d5}.bg-cd5{background-color:#d5d5d5}.ce5{color:#e5e5e5}.bg-ce5{background-color:#e5e5e5}.cf5{color:#f5f5f5}.bg-cf5{background-color:#f5f5f5}.c0d{color:#0d0d0d}.bg-c0d{background-color:#0d0d0d}.c1d{color:#1d1d1d}.bg-c1d{background-color:#1d1d1d}.c2d{color:#2d2d2d}.bg-c2d{background-color:#2d2d2d}.c3d{color:#3d3d3d}.bg-c3d{background-color:#3d3d3d}.c4d{color:#4d4d4d}.bg-c4d{background-color:#4d4d4d}.c5d{color:#5d5d5d}.bg-c5d{background-color:#5d5d5d}.c6d{color:#6d6d6d}.bg-c6d{background-color:#6d6d6d}.c7d{color:#7d7d7d}.bg-c7d{background-color:#7d7d7d}.c8d{color:#8d8d8d}.bg-c8d{background-color:#8d8d8d}.c9d{color:#9d9d9d}.bg-c9d{background-color:#9d9d9d}.cad{color:#adadad}.bg-cad{background-color:#adadad}.cbd{color:#bdbdbd}.bg-cbd{background-color:#bdbdbd}.ccd{color:#cdcdcd}.bg-ccd{background-color:#cdcdcd}.cdd{color:#ddd}.bg-cdd{background-color:#ddd}.ced{color:#ededed}.bg-ced{background-color:#ededed}.cfd{color:#fdfdfd}.bg-cfd{background-color:#fdfdfd}.white{color:#fff}.black{color:#000}.bg-white{background:#fff}.bg-black{background:#000}.fs12{font-size:12px;line-height:18px}.fs14,.text,.text-m,.text-s{font-size:14px;line-height:20px}.fs16{font-size:16px;line-height:24px}.fs18{font-size:18px;line-height:26px}.fs20{font-size:20px;line-height:30px}.fs24{font-size:24px;line-height:36px}.fs28{font-size:28px;line-height:42px}.fs32{font-size:32px;line-height:48px}.fs36{font-size:36px;line-height:54px}.fs40{font-size:40px;line-height:60px}.fs48{font-size:48px;line-height:72px}.fw400{font-weight:400}.fw500{font-weight:500}.fw600{font-weight:600}.mg-4{margin:4px}.pd-4{padding:4px}.mg-8{margin:8px}.pd-8{padding:8px}.mg-12{margin:12px}.pd-12{padding:12px}.mg-16{margin:16px}.pd-16{padding:16px}.mg-20{margin:20px}.pd-20{padding:20px}.mg-24{margin:24px}.pd-24{padding:24px}.mg-28{margin:28px}.pd-28{padding:28px}.mg-32{margin:32px}.pd-32{padding:32px}.mg-36{margin:36px}.pd-36{padding:36px}.mg-40{margin:40px}.pd-40{padding:40px}.mg-48{margin:48px}.pd-48{padding:48px}.mg-56{margin:56px}.pd-56{padding:56px}.mg-64{margin:64px}.pd-64{padding:64px}.mg-tb0{margin-bottom:0;margin-top:0}.pd-tb0{padding-bottom:0;padding-top:0}.mg-lr4{margin-left:4px;margin-right:4px}.mg-tb4{margin-bottom:4px;margin-top:4px}.pd-lr4{padding-left:4px;padding-right:4px}.pd-tb4{padding-bottom:4px;padding-top:4px}.mg-lr8{margin-left:8px;margin-right:8px}.mg-tb8{margin-bottom:8px;margin-top:8px}.pd-lr8{padding-left:8px;padding-right:8px}.pd-tb8{padding-bottom:8px;padding-top:8px}.mg-lr12{margin-left:12px;margin-right:12px}.mg-tb12{margin-bottom:12px;margin-top:12px}.pd-lr12{padding-left:12px;padding-right:12px}.pd-tb12{padding-bottom:12px;padding-top:12px}.mg-lr16{margin-left:16px;margin-right:16px}.mg-tb16{margin-bottom:16px;margin-top:16px}.pd-lr16{padding-left:16px;padding-right:16px}.pd-tb16{padding-bottom:16px;padding-top:16px}.mg-lr20{margin-left:20px;margin-right:20px}.mg-tb20{margin-bottom:20px;margin-top:20px}.pd-lr20{padding-left:20px;padding-right:20px}.pd-tb20{padding-bottom:20px;padding-top:20px}.mg-lr24{margin-left:24px;margin-right:24px}.mg-tb24{margin-bottom:24px;margin-top:24px}.pd-lr24{padding-left:24px;padding-right:24px}.pd-tb24{padding-bottom:24px;padding-top:24px}.mg-lr28{margin-left:28px;margin-right:28px}.mg-tb28{margin-bottom:28px;margin-top:28px}.pd-lr28{padding-left:28px;padding-right:28px}.pd-tb28{padding-bottom:28px;padding-top:28px}.mg-lr32{margin-left:32px;margin-right:32px}.mg-tb32{margin-bottom:32px;margin-top:32px}.pd-lr32{padding-left:32px;padding-right:32px}.pd-tb32{padding-bottom:32px;padding-top:32px}.mg-lr36{margin-left:36px;margin-right:36px}.mg-tb36{margin-bottom:36px;margin-top:36px}.pd-lr36{padding-left:36px;padding-right:36px}.pd-tb36{padding-bottom:36px;padding-top:36px}.mg-lr40{margin-left:40px;margin-right:40px}.mg-tb40{margin-bottom:40px;margin-top:40px}.pd-lr40{padding-left:40px;padding-right:40px}.pd-tb40{padding-bottom:40px;padding-top:40px}.mg-lr48{margin-left:48px;margin-right:48px}.mg-tb48{margin-bottom:48px;margin-top:48px}.pd-lr48{padding-left:48px;padding-right:48px}.pd-tb48{padding-bottom:48px;padding-top:48px}.mg-lr56{margin-left:56px;margin-right:56px}.mg-tb56{margin-bottom:56px;margin-top:56px}.pd-lr56{padding-left:56px;padding-right:56px}.pd-tb56{padding-bottom:56px;padding-top:56px}.mg-lr64{margin-left:64px;margin-right:64px}.mg-tb64{margin-bottom:64px;margin-top:64px}.pd-lr64{padding-left:64px;padding-right:64px}.pd-tb64{padding-bottom:64px;padding-top:64px}.mg-l0{margin-left:0}.pd-l0,:not(.containsTaskList_Zuax>li)>.containsTaskList_Zuax{padding-left:0}.mg-r0{margin-right:0}.mg-l4{margin-left:4px}.pd-l4{padding-left:4px}.mg-r4{margin-right:4px}.pd-r4{padding-right:4px}.mg-t4{margin-top:4px}.pd-t4{padding-top:4px}.mg-b4{margin-bottom:4px}.pd-b4{padding-bottom:4px}.mg-l8{margin-left:8px}.pd-l8{padding-left:8px}.mg-r8{margin-right:8px}.pd-r8{padding-right:8px}.mg-t8{margin-top:8px}.pd-t8{padding-top:8px}.mg-b8{margin-bottom:8px}.pd-b8{padding-bottom:8px}.mg-l12{margin-left:12px}.pd-l12{padding-left:12px}.mg-r12{margin-right:12px}.pd-r12{padding-right:12px}.mg-t12{margin-top:12px}.pd-t12{padding-top:12px}.mg-b12{margin-bottom:12px}.pd-b12{padding-bottom:12px}.mg-l16{margin-left:16px}.pd-l16{padding-left:16px}.mg-r16{margin-right:16px}.pd-r16{padding-right:16px}.mg-t16{margin-top:16px}.pd-t16{padding-top:16px}.mg-b16{margin-bottom:16px}.pd-b16{padding-bottom:16px}.mg-l20{margin-left:20px}.pd-l20{padding-left:20px}.mg-r20{margin-right:20px}.pd-r20{padding-right:20px}.mg-t20{margin-top:20px}.pd-t20{padding-top:20px}.mg-b20{margin-bottom:20px}.pd-b20{padding-bottom:20px}.mg-l24{margin-left:24px}.pd-l24{padding-left:24px}.mg-r24{margin-right:24px}.pd-r24{padding-right:24px}.mg-t24{margin-top:24px}.pd-t24{padding-top:24px}.mg-b24{margin-bottom:24px}.pd-b24{padding-bottom:24px}.mg-l28{margin-left:28px}.pd-l28{padding-left:28px}.mg-r28{margin-right:28px}.pd-r28{padding-right:28px}.mg-t28{margin-top:28px}.pd-t28{padding-top:28px}.mg-b28{margin-bottom:28px}.pd-b28{padding-bottom:28px}.mg-l32{margin-left:32px}.pd-l32{padding-left:32px}.mg-r32{margin-right:32px}.pd-r32{padding-right:32px}.mg-t32{margin-top:32px}.pd-t32{padding-top:32px}.mg-b32{margin-bottom:32px}.pd-b32{padding-bottom:32px}.mg-l36{margin-left:36px}.pd-l36{padding-left:36px}.mg-r36{margin-right:36px}.pd-r36{padding-right:36px}.mg-t36{margin-top:36px}.pd-t36{padding-top:36px}.mg-b36{margin-bottom:36px}.pd-b36{padding-bottom:36px}.mg-l40{margin-left:40px}.pd-l40{padding-left:40px}.mg-r40{margin-right:40px}.pd-r40{padding-right:40px}.mg-t40{margin-top:40px}.pd-t40{padding-top:40px}.mg-b40{margin-bottom:40px}.pd-b40{padding-bottom:40px}.mg-l48{margin-left:48px}.pd-l48{padding-left:48px}.mg-r48{margin-right:48px}.pd-r48{padding-right:48px}.mg-t48{margin-top:48px}.pd-t48{padding-top:48px}.mg-b48{margin-bottom:48px}.pd-b48{padding-bottom:48px}.mg-l56{margin-left:56px}.pd-l56{padding-left:56px}.mg-r56{margin-right:56px}.pd-r56{padding-right:56px}.mg-t56{margin-top:56px}.pd-t56{padding-top:56px}.mg-b56{margin-bottom:56px}.pd-b56{padding-bottom:56px}.mg-l64{margin-left:64px}.pd-l64{padding-left:64px}.mg-r64{margin-right:64px}.pd-r64{padding-right:64px}.mg-t64{margin-top:64px}.pd-t64{padding-top:64px}.mg-b64{margin-bottom:64px}.pd-b64{padding-bottom:64px}.mg-auto{margin-left:auto;margin-right:auto}.block,.tocCollapsibleContent_dZCL a{display:block}.inline,.tags_C2P7{display:inline}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_gtEw,.hide,.sidebarLogo_wdoC,.themedComponent_xGFV,[data-theme=dark] .lightToggleIcon_FbfU,[data-theme=light] .darkToggleIcon_Q5Et,html[data-announcement-bar-initially-dismissed=true] .announcementBar_CGLK{display:none}.flex-around,.flex-around-baseline,.flex-around-center,.flex-around-end,.flex-around-start,.flex-around-stretch,.flex-between,.flex-between-baseline,.flex-between-center,.flex-between-end,.flex-between-start,.flex-between-stretch,.flex-center,.flex-center-baseline,.flex-center-center,.flex-center-end,.flex-center-start,.flex-center-stretch,.flex-end,.flex-end-baseline,.flex-end-center,.flex-end-end,.flex-end-start,.flex-end-stretch,.flex-evenly,.flex-evenly-baseline,.flex-evenly-center,.flex-evenly-end,.flex-evenly-start,.flex-evenly-stretch,.flex-start,.flex-start-baseline,.flex-start-center,.flex-start-end,.flex-start-start,.flex-start-stretch{display:flex;flex-direction:row;flex-wrap:nowrap}.flex-start,.flex-start-baseline,.flex-start-center,.flex-start-end,.flex-start-start,.flex-start-stretch{justify-content:flex-start}.flex-end,.flex-end-baseline,.flex-end-center,.flex-end-end,.flex-end-start,.flex-end-stretch{justify-content:flex-end}.flex-center,.flex-center-baseline,.flex-center-center,.flex-center-end,.flex-center-start,.flex-center-stretch,.mdxPageWrapper_frZ7{justify-content:center}.flex-between,.flex-between-baseline,.flex-between-center,.flex-between-end,.flex-between-start,.flex-between-stretch{justify-content:space-between}.flex-around,.flex-around-baseline,.flex-around-center,.flex-around-end,.flex-around-start,.flex-around-stretch{justify-content:space-around}.flex-evenly,.flex-evenly-baseline,.flex-evenly-center,.flex-evenly-end,.flex-evenly-start,.flex-evenly-stretch{justify-content:space-evenly}.flex-item-start{align-self:flex-start}.flex-item-end{align-self:flex-end}.flex-item-center{align-self:flex-center}.flex-item-stretch{align-self:stretch}.flex-item-baseline{align-self:baseline}.w-xs-xs{width:16px}.w-xs-s{width:24px}.w-xs-m{width:36px}.w-xs-l{width:48px}.w-xs-xl{width:56px}.w-s-xs{width:64px}.w-s-s{width:80px}.w-s-m{width:96px}.w-s-l{width:112px}.w-s-xl{width:136px}.w-m-xs{width:160px}.w-m-s{width:192px}.w-m-m{width:224px}.w-m-l{width:256px}.w-m-xl{width:288px}.w-l-xs{width:320px}.w-l-s{width:448px}.w-l-m{width:576px}.w-l-l{width:704px}.w-l-xl{width:832px}.w-xl-xs{width:960px}.w-xl-s{width:1120px}.w-xl-m{width:1280px}.w-xl-l{width:1440px}.w-xl-xl{width:1600px}.w-full{width:100%}.text-xs{font-size:12px;line-height:18px;padding:3px 0}.text-s{padding:4px 0}.text,.text-m{padding:6px 0}.text-l{font-size:14px;line-height:20px;padding:8px 0}.text-xl{font-size:16px;line-height:24px;padding:8px 0}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.align-super{vertical-align:super}.align-sub{vertical-align:sub}.pre-wrap,.wrap{word-wrap:break-word;overflow-wrap:break-word;word-break:normal}.wrap{white-space:normal}.pre-wrap{white-space:pre-wrap}.rotate45{transform:rotate(45deg)}.rotate135{transform:rotate(135deg)}.rotate180{transform:rotate(180deg)}.rotate225{transform:rotate(225deg)}.rotate270{transform:rotate(270deg)}.rotate315{transform:rotate(315deg)}.relative{position:relative}.absolute{position:absolute}.radius{border-radius:50%}.radius-4{border-radius:4px}.radius-8{border-radius:8px}.backToTopButton_X4mX{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_X4mX: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_JSoa{opacity:1;transform:scale(1);visibility:visible}.skipToContent_AFv3{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_AFv3:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_ggrC{line-height:0;padding:0}.content_PN8z{font-size:85%;padding:5px 0;text-align:center}.content_PN8z a{color:inherit;text-decoration:underline}.announcementBar_CGLK{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)}.playgroundHeader_JSKG,.toggleButton_rRSK:hover{background:var(--ifm-color-emphasis-200)}.announcementBarPlaceholder_lKma{flex:0 0 10px}.announcementBarClose_UcBq{align-self:stretch;flex:0 0 30px}.toggle_NqC6{height:2rem;width:2rem}.toggleButton_rRSK{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.darkNavbarColorModeToggle_D0zm:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_LpvF,[data-theme=light] .themedComponent--light_yhN_,html:not([data-theme]) .themedComponent--light_yhN_{display:initial}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_gALU{display:none;margin:0}.codeBlockContainer_NbIc,.playgroundContainer_qM6w{box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.iconExternalLink_Ivpw{margin-left:.3rem}.docMainContainer_pSPc,.docRoot_raEX{display:flex;width:100%}.docsWrapper_GLF4{display:flex;flex:1 0 auto}.dropdownNavbarItemMobile_Ra09{cursor:pointer}.iconLanguage_Fun8{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_mVFy:not(:has(>*)){display:none}}.navbarHideable_E28u{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_RstI{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_nMrj{color:red;white-space:pre-wrap}.errorBoundaryFallback_f9jZ{color:red;padding:.55rem}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.footerLogoLink_B5wf{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_B5wf:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_TqQ3{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_stY_{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:"#"}.mainWrapper_dJHa{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_GzYR{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_uabl{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_VJ7l,.sidebarItemList_ciBV{font-size:.9rem}.sidebarItem_rAL3{margin-top:.7rem}.sidebarItemLink_HahC{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_qqqS{color:var(--ifm-color-primary)!important}.features_t9lD{align-items:center;display:flex;padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{align-items:center;display:flex;justify-content:center}.authorCol_YqGQ{flex-grow:1!important;max-width:inherit!important}.imageOnlyAuthorRow_FZbX{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_pQO_{margin-left:.3rem;margin-right:.3rem}.playgroundContainer_qM6w{border-radius:var(--ifm-global-radius);overflow:hidden}.playgroundHeader_JSKG{color:var(--ifm-color-content);font-size:var(--ifm-code-font-size);font-weight:700;letter-spacing:.08rem;padding:.75rem}.playgroundHeader_JSKG:first-of-type{background:var(--ifm-color-emphasis-600);color:var(--ifm-color-content-inverse)}.playgroundEditor_ASnB{direction:ltr;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace)!important}.playgroundPreview_TnWc{background-color:var(--ifm-pre-background);padding:1rem}.buttonGroup_RKN3 button,.codeBlockContainer_NbIc{background:var(--prism-background-color);color:var(--prism-color)}.codeBlockContainer_NbIc{border-radius:var(--ifm-code-border-radius)}.codeBlockContent_FrkZ{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_JyWT{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_mdKF{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_JyWT+.codeBlockContent_FrkZ .codeBlock_mdKF{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_srnW{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_sJUf{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_RKN3{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_RKN3 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_RKN3 button:focus-visible,.buttonGroup_RKN3 button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_RKN3 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_IXnF{counter-increment:a;display:table-row}.codeLineNumber_Q7kn{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Q7kn:before{content:counter(a);opacity:.4}.codeLineContent_ANBe{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_zsn_{opacity:1!important}.copyButtonIcons_Jafk{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_edLb,.copyButtonSuccessIcon_gfk0{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_gfk0{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_zsn_ .copyButtonIcon_edLb{opacity:0;transform:scale(.33)}.copyButtonCopied_zsn_ .copyButtonSuccessIcon_gfk0{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.tag_BzfP{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_BzfP:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_KnlO{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_pxtX{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tag_K2_q,.tag_K4Dg{display:inline-block}.tagWithCount_pxtX:after,.tagWithCount_pxtX:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_pxtX:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_pxtX:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_pxtX 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}.tag_K2_q{margin:.5rem .5rem 0 1rem}.wordWrapButtonIcon_OdA2{height:1.2rem;width:1.2rem}.tag_K4Dg{margin:0 .4rem .5rem 0}.iconEdit_UDvD{margin-right:.3em;vertical-align:sub}.lastUpdated_JhVI{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_EEKN{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_EEKN: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_YtGd:after,.tocCollapsibleExpanded_Hrt7{transform:none}.tocCollapsible_C9lL{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_dZCL>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_dZCL ul li{margin:.4rem .8rem}.details_nkpJ{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_nkpJ>summary{cursor:pointer;padding-left:1rem;position:relative}.details_nkpJ>summary::-webkit-details-marker{display:none}.details_nkpJ>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;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_rBTW{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_FVvm{--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)}.img_A4nv{height:auto}.tableOfContents_peI8{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_IHNG{margin-bottom:1em}.admonitionHeading_JXW_{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_JXW_:not(:last-child){margin-bottom:.3rem}.admonitionHeading_JXW_ code{text-transform:none}.admonitionIcon_YVat{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_YVat svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_L4xd{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_slF3{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}@media (min-width:997px){.collapseSidebarButton_gALU,.expandButton_QNNX{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_UcBq,.announcementBarPlaceholder_lKma{flex-basis:50px}.collapseSidebarButton_gALU{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_KRa9{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_fWZb,[dir=rtl] .collapseSidebarButtonIcon_KRa9{transform:rotate(0)}.collapseSidebarButton_gALU:focus,.collapseSidebarButton_gALU:hover,.expandButton_QNNX:focus,.expandButton_QNNX:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_Q5Rp{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_zRKk{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_zRKk{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_KfsA{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_nFrq{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_Nt_5{padding-top:0}.sidebarHidden_QYr8{opacity:0;visibility:hidden}.sidebarLogo_wdoC{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_wdoC img{height:2rem;margin-right:.5rem}.expandButton_QNNX{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_fWZb{transform:rotate(180deg)}.docSidebarContainer_gtEw{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_SF3O{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_mMR3{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_pSPc{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_QCxD{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_Rhx4{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_mVFy{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JhVI{text-align:right}.tocMobile_VhSd{display:none}.docItemCol_d8o8{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_gdWp,.footer__link-separator,.navbar__item,.sidebar_GzYR,.tableOfContents_peI8{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}.navbarSearchContainer_mVFy{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_dXnF{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{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}.title_x0r6{font-size:2rem}}@media (hover:hover){.backToTopButton_X4mX: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_CGLK,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_VhSd{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_srnW{white-space:pre-wrap}} \ No newline at end of file diff --git a/docs/assets/js/2677ce2a.5595cbf0.js b/docs/assets/js/145ab0c7.055f017b.js similarity index 67% rename from docs/assets/js/2677ce2a.5595cbf0.js rename to docs/assets/js/145ab0c7.055f017b.js index d0dacc8..40af75e 100644 --- a/docs/assets/js/2677ce2a.5595cbf0.js +++ b/docs/assets/js/145ab0c7.055f017b.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[2218],{4061:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[3486],{4061:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/docs/assets/js/1a7d8ac7.3ad8d4da.js b/docs/assets/js/1a7d8ac7.3ad8d4da.js new file mode 100644 index 0000000..843b292 --- /dev/null +++ b/docs/assets/js/1a7d8ac7.3ad8d4da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[3395],{909:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>x,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var l=s(678),n=s(6655);const i={title:"text"},a=void 0,c={id:"css/text/index",title:"text",description:"\u8bf4\u660e",source:"@site/docs/css/text/index.mdx",sourceDirName:"css/text",slug:"/css/text/",permalink:"/jelper/docs/css/text/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/css/text/index.mdx",tags:[],version:"current",frontMatter:{title:"text"},sidebar:"tutorialSidebar",previous:{title:"Flex",permalink:"/jelper/docs/css/flex/"},next:{title:"enum",permalink:"/jelper/docs/enum/"}},x={},d=[{value:"\u8bf4\u660e",id:"\u8bf4\u660e",level:3},{value:"text",id:"text",level:4},{value:"align",id:"align",level:4}];function r(e){const t={code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h3,{id:"\u8bf4\u660e",children:"\u8bf4\u660e"}),"\n",(0,l.jsx)(t.p,{children:"\u6587\u672c\u5e38\u7528\u6837\u5f0f\u7247\u6bb5"}),"\n",(0,l.jsx)(t.h4,{id:"text",children:"text"}),"\n",(0,l.jsx)(t.pre,{children:(0,l.jsx)(t.code,{className:"language-tsx",children:"<>\n
text-xs
\n
text-s
\n
text-m
\n
text-l
\n
text-xl
\n\n"})}),"\n",(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-xs bg-blue blue",children:"text-xs"}),(0,l.jsx)("div",{className:"text-s bg-blue blue",children:"text-s"}),(0,l.jsx)("div",{className:"text-m bg-blue blue",children:"text-m"}),(0,l.jsx)("div",{className:"text-l bg-blue blue",children:"text-l"}),(0,l.jsx)("div",{className:"text-xl bg-blue blue",children:"text-xl"})]}),"\n",(0,l.jsx)(t.h4,{id:"align",children:"align"}),"\n",(0,l.jsx)(t.pre,{children:(0,l.jsx)(t.code,{className:"language-tsx",children:"<>\n
text-xs
\n
text-s
\n
text-m
\n
text-l
\n
text-xl
\n\n"})})]})}function u(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(r,{...e})}):r(e)}},6655:(e,t,s)=>{s.d(t,{R:()=>a,x:()=>c});var l=s(6166);const n={},i=l.createContext(n);function a(e){const t=l.useContext(i);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),l.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/1a7d8ac7.b70bff47.js b/docs/assets/js/1a7d8ac7.b70bff47.js deleted file mode 100644 index 2f1c33a..0000000 --- a/docs/assets/js/1a7d8ac7.b70bff47.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[3395],{909:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>x});var l=s(678),n=s(6655);const i={title:"text"},a=void 0,r={id:"css/text/index",title:"text",description:"\u8bf4\u660e",source:"@site/docs/css/text/index.mdx",sourceDirName:"css/text",slug:"/css/text/",permalink:"/jelper/docs/css/text/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/css/text/index.mdx",tags:[],version:"current",frontMatter:{title:"text"},sidebar:"tutorialSidebar",previous:{title:"Flex",permalink:"/jelper/docs/css/flex/"},next:{title:"enum",permalink:"/jelper/docs/enum/"}},c={},x=[{value:"\u8bf4\u660e",id:"\u8bf4\u660e",level:3},{value:"text",id:"text",level:4},{value:"align",id:"align",level:4}];function d(e){const t={code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.h3,{id:"\u8bf4\u660e",children:"\u8bf4\u660e"}),"\n",(0,l.jsx)(t.p,{children:"\u6587\u672c\u5e38\u7528\u6837\u5f0f\u7247\u6bb5"}),"\n",(0,l.jsx)(t.h4,{id:"text",children:"text"}),"\n",(0,l.jsx)(t.pre,{children:(0,l.jsx)(t.code,{className:"language-tsx",children:"<>\r\n
text-xs
\r\n
text-s
\r\n
text-m
\r\n
text-l
\r\n
text-xl
\r\n\n"})}),"\n",(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-xs bg-blue blue",children:"text-xs"}),(0,l.jsx)("div",{className:"text-s bg-blue blue",children:"text-s"}),(0,l.jsx)("div",{className:"text-m bg-blue blue",children:"text-m"}),(0,l.jsx)("div",{className:"text-l bg-blue blue",children:"text-l"}),(0,l.jsx)("div",{className:"text-xl bg-blue blue",children:"text-xl"})]}),"\n",(0,l.jsx)(t.h4,{id:"align",children:"align"}),"\n",(0,l.jsx)(t.pre,{children:(0,l.jsx)(t.code,{className:"language-tsx",children:"<>\r\n
text-xs
\r\n
text-s
\r\n
text-m
\r\n
text-l
\r\n
text-xl
\r\n\n"})})]})}function u(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},6655:(e,t,s)=>{s.d(t,{R:()=>a,x:()=>r});var l=s(6166);const n={},i=l.createContext(n);function a(e){const t=l.useContext(i);return l.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),l.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/2303e842.08501701.js b/docs/assets/js/2303e842.08501701.js deleted file mode 100644 index 8789cfc..0000000 --- a/docs/assets/js/2303e842.08501701.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[9664],{9743:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>u});var o=r(678),n=r(6655);const s={title:"store"},c=void 0,i={id:"store/index",title:"store",description:"xxx",source:"@site/docs/store/index.mdx",sourceDirName:"store",slug:"/store/",permalink:"/jelper/docs/store/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/store/index.mdx",tags:[],version:"current",frontMatter:{title:"store"},sidebar:"tutorialSidebar",previous:{title:"promise",permalink:"/jelper/docs/promise/"}},a={},u=[];function d(e){const t={p:"p",...(0,n.R)(),...e.components};return(0,o.jsx)(t.p,{children:"xxx"})}function p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},6655:(e,t,r)=>{r.d(t,{R:()=>c,x:()=>i});var o=r(6166);const n={},s=o.createContext(n);function c(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/2303e842.e1ec8f56.js b/docs/assets/js/2303e842.e1ec8f56.js new file mode 100644 index 0000000..4f30709 --- /dev/null +++ b/docs/assets/js/2303e842.e1ec8f56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[9664],{9743:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>u,toc:()=>d});var n=r(678),a=r(6655),l=r(5807),s=r(4609);const o={title:"store"},i=void 0,u={id:"store/index",title:"store",description:"Example",source:"@site/docs/store/index.mdx",sourceDirName:"store",slug:"/store/",permalink:"/jelper/docs/store/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/store/index.mdx",tags:[],version:"current",frontMatter:{title:"store"},sidebar:"tutorialSidebar",previous:{title:"promise",permalink:"/jelper/docs/promise/"}},c={},d=[{value:"Example",id:"example",level:2},{value:"Api",id:"api",level:2},{value:"Type",id:"type",level:2},{value:"Option",id:"option",level:3},{value:"StoreType",id:"storetype",level:3},{value:"StorageType",id:"storagetype",level:3}];function p(e){const t={code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)(s.A,{value:"npm",label:"npm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"npm istall @jelper/store\n"})})}),(0,n.jsx)(s.A,{value:"pnpm",label:"pnpm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"pnpm istall @jelper/store\n"})})}),(0,n.jsx)(s.A,{value:"yarn",label:"yarn",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"yarn istall @jelper/store\n"})})})]}),"\n",(0,n.jsx)(t.h2,{id:"example",children:"Example"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"import stroe from '@jelper/store';\n\nstore.setValue('key', 'pagekey');\nstore.setValue('value', 'home');\n\nconsole.log(store.getValue('key')) // pagekey\nconsole.log(store.getValue('value')) // home\n\nstore.remove('value');\nconsole.log(store.getValue('key')) // pagekey\nconsole.log(store.getValue('value')) // undefined\n\nstore.clear();\nconsole.log(store.getValue('key')) // undefined\nconsole.log(store.getValue('value')) // undefined\n\n"})}),"\n",(0,n.jsx)(t.h2,{id:"api",children:"Api"}),"\n",(0,n.jsx)(t.p,{children:"\u6d4f\u89c8\u5668\u7f13\u5b58\u5de5\u5177\u5305\uff0c\u652f\u6301 localStorage\u3001sessionStorage \u548c \u5185\u5b58\u7f13\u5b58\uff0c\u89e3\u51b3\u8de8\u9875\u9762\u51b2\u7a81\u3001\u8fc7\u671f\u7b49\u95ee\u9898\uff1b"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"\u65b9\u6cd5"}),(0,n.jsx)(t.th,{children:"\u53c2\u6570"}),(0,n.jsx)(t.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"setValue"}),(0,n.jsx)(t.td,{children:"(key: string; value: any; opts?: Option )"}),(0,n.jsx)(t.td,{children:"void"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"getValue"}),(0,n.jsx)(t.td,{children:"(key: string; opts?: Omit }"}),(0,n.jsx)(t.td,{children:"any"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"remove"}),(0,n.jsx)(t.td,{children:"(key: string; opts?: Omit }"}),(0,n.jsx)(t.td,{children:"void"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"clear"}),(0,n.jsx)(t.td,{children:"(opts?: Omit)"}),(0,n.jsx)(t.td,{children:"void"})]})]})]}),"\n",(0,n.jsxs)(t.p,{children:["\u6ce8\uff1aopts \u9ed8\u8ba4\u503c ",(0,n.jsx)("em",{children:"{ type: StoreType.page, cache: StorageType.local, expires: undefined }"})]}),"\n",(0,n.jsx)(t.h2,{id:"type",children:"Type"}),"\n",(0,n.jsx)(t.h3,{id:"option",children:"Option"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"interface Options {\n cache?: StorageType,\n type?: StoreType,\n expires?: number,\n}\n"})}),"\n",(0,n.jsx)(t.h3,{id:"storetype",children:"StoreType"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"export enum StoreType {\n global = 'global', // \u5168\u5c40\u7f13\u5b58\n page = 'page', // \u9875\u9762\u7ea7\u7f13\u5b58\n}\n"})}),"\n",(0,n.jsx)(t.h3,{id:"storagetype",children:"StorageType"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"export enum StorageType {\n memory = 'memory', // \u5185\u5b58\n session = 'session', // sessionStorage\n local = 'local', // localStorage\n}\n"})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(p,{...e})}):p(e)}},4609:(e,t,r)=>{r.d(t,{A:()=>s});r(6166);var n=r(27);const a={tabItem:"tabItem_bifL"};var l=r(678);function s(e){let{children:t,hidden:r,className:s}=e;return(0,l.jsx)("div",{role:"tabpanel",className:(0,n.A)(a.tabItem,s),hidden:r,children:t})}},5807:(e,t,r)=>{r.d(t,{A:()=>k});var n=r(6166),a=r(27),l=r(430),s=r(5261),o=r(8093),i=r(387),u=r(112),c=r(4228);function d(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:r}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}))}(r);return function(e){const t=(0,u.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,r])}function h(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function m(e){let{queryString:t=!1,groupId:r}=e;const a=(0,s.W6)(),l=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,i.aZ)(l),(0,n.useCallback)((e=>{if(!l)return;const t=new URLSearchParams(a.location.search);t.set(l,e),a.replace({...a.location,search:t.toString()})}),[l,a])]}function g(e){const{defaultValue:t,queryString:r=!1,groupId:a}=e,l=p(e),[s,i]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:l}))),[u,d]=m({queryString:r,groupId:a}),[g,x]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,l]=(0,c.Dv)(r);return[a,(0,n.useCallback)((e=>{r&&l.set(e)}),[r,l])]}({groupId:a}),b=(()=>{const e=u??g;return h({value:e,tabValues:l})?e:null})();(0,o.A)((()=>{b&&i(b)}),[b]);return{selectedValue:s,selectValue:(0,n.useCallback)((e=>{if(!h({value:e,tabValues:l}))throw new Error(`Can't select invalid tab value=${e}`);i(e),d(e),x(e)}),[d,x,l]),tabValues:l}}var x=r(7007);const b={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var f=r(678);function v(e){let{className:t,block:r,selectedValue:n,selectValue:s,tabValues:o}=e;const i=[],{blockElementScrollPositionUntilNextRender:u}=(0,l.a_)(),c=e=>{const t=e.currentTarget,r=i.indexOf(t),a=o[r].value;a!==n&&(u(t),s(a))},d=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const r=i.indexOf(e.currentTarget)+1;t=i[r]??i[0];break}case"ArrowLeft":{const r=i.indexOf(e.currentTarget)-1;t=i[r]??i[i.length-1];break}}t?.focus()};return(0,f.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":r},t),children:o.map((e=>{let{value:t,label:r,attributes:l}=e;return(0,f.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>i.push(e),onKeyDown:d,onClick:c,...l,className:(0,a.A)("tabs__item",b.tabItem,l?.className,{"tabs__item--active":n===t}),children:r??t},t)}))})}function j(e){let{lazy:t,children:r,selectedValue:a}=e;const l=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=l.find((e=>e.props.value===a));return e?(0,n.cloneElement)(e,{className:"margin-top--md"}):null}return(0,f.jsx)("div",{className:"margin-top--md",children:l.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function y(e){const t=g(e);return(0,f.jsxs)("div",{className:(0,a.A)("tabs-container",b.tabList),children:[(0,f.jsx)(v,{...e,...t}),(0,f.jsx)(j,{...e,...t})]})}function k(e){const t=(0,x.A)();return(0,f.jsx)(y,{...e,children:d(e.children)},String(t))}},6655:(e,t,r)=>{r.d(t,{R:()=>s,x:()=>o});var n=r(6166);const a={},l=n.createContext(a);function s(e){const t=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/2b6f4d61.9c23a9c0.js b/docs/assets/js/2b6f4d61.9c23a9c0.js deleted file mode 100644 index e47f6d9..0000000 --- a/docs/assets/js/2b6f4d61.9c23a9c0.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 2b6f4d61.9c23a9c0.js.LICENSE.txt */ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5136],{7523:(t,e,r)=>{r.r(e),r.d(e,{Demo:()=>v,assets:()=>h,contentTitle:()=>f,default:()=>m,frontMatter:()=>c,handler:()=>d,metadata:()=>p,toc:()=>y});var n=r(678),o=r(6655),i=r(6166),a=[,(t,e,r)=>{var n=r(2);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(3).default,o=r(4);t.exports=function(t){var e=o(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(3).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{function e(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(l){return void r(l)}u.done?e(s):Promise.resolve(s).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,s,"next",t)}function s(t){e(a,o,i,u,s,"throw",t)}u(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(7),o=r(9),i=r(10),a=r(11);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(8);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r{t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(8);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(2);function o(t,e){for(var r=0;r{var n=r(15)();t.exports=n;try{regeneratorRuntime=n}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},(t,e,r)=>{var n=r(3).default;function o(){t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(T){f=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),u=new M(n||[]);return a(i,"_invoke",{value:k(t,r,u)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(T){return{type:"throw",arg:T}}}e.wrap=p;var d={};function v(){}function y(){}function x(){}var m={};f(m,s,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(O([])));b&&b!==r&&i.call(b,s)&&(m=b);var w=x.prototype=v.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,a,u,s){var l=h(t[o],t,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,u,s)}),(function(t){r("throw",t,u,s)})):e.resolve(f).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,s)}))}s(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function k(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=h(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}],u={};function s(t){var e=u[t];if(void 0!==e)return e.exports;var r=u[t]={exports:{}};return a[t](r,r.exports,s),r.exports}s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var l={};(()=>{s.r(l),s.d(l,{MultipleHandler:()=>d,SingleHandler:()=>v,default:()=>m,useMultipleHandler:()=>x,useSingleHandler:()=>y});var t=s(1),e=s.n(t),r=s(5),n=s.n(r),o=s(6),i=s.n(o),a=s(12),u=s.n(a),c=s(13),f=s.n(c),p=s(14),h=s.n(p),d=function(){function t(){u()(this,t),this.value=[]}return f()(t,[{key:"size",get:function(){return this.value.length}},{key:"on",value:function(t){this.value=[].concat(i()(this.value),[t])}},{key:"off",value:function(t){this.value=t?this.value.filter((function(e){return e!==t})):[]}},{key:"call",value:function(t){var e=this.value;return Promise.all(e.map(function(){var e=n()(h().mark((function e(r){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))}},{key:"callWithRace",value:function(t){var e=this.value;return Promise.race(e.map(function(){var e=n()(h().mark((function e(r){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))}}]),t}(),v=function(){function t(){u()(this,t),e()(this,"value",null)}return f()(t,[{key:"on",value:function(t){if(this.value&&console.warn("handler is already exist"),"function"!=typeof t)throw new Error("handler must be function");this.value=t}},{key:"off",value:function(){this.value=null}},{key:"call",value:function(t){return this.value?Promise.resolve(this.value(t)):Promise.reject(new Error("handler is not exist"))}}]),t}(),y=function(){return new v},x=function(){return new d};const m=d})();const c={title:"handler"},f=void 0,p={id:"handler/index",title:"handler",description:"",source:"@site/docs/handler/index.mdx",sourceDirName:"handler",slug:"/handler/",permalink:"/jelper/docs/handler/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/handler/index.mdx",tags:[],version:"current",frontMatter:{title:"handler"},sidebar:"tutorialSidebar",previous:{title:"enum",permalink:"/jelper/docs/enum/"},next:{title:"title",permalink:"/jelper/docs/hooks/"}},h={},d=(0,l.useSingleHandler)(),v=()=>{const t={p:"p",...(0,o.R)()};return(0,i.useEffect)((()=>{d.on((()=>(console.log("on"),{state:0})))}),[]),(0,n.jsx)(t.p,{onClick:()=>d.call().then(console.log),children:"\u6d4b\u8bd5\u4e0b"})},y=[];function x(t){return(0,n.jsx)(v,{})}function m(t={}){const{wrapper:e}={...(0,o.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(x,{...t})}):x()}},6655:(t,e,r)=>{r.d(e,{R:()=>a,x:()=>u});var n=r(6166);const o={},i=n.createContext(o);function a(t){const e=n.useContext(i);return n.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function u(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:a(t.components),n.createElement(i.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/2b6f4d61.e351bedb.js b/docs/assets/js/2b6f4d61.e351bedb.js new file mode 100644 index 0000000..6f9c0cd --- /dev/null +++ b/docs/assets/js/2b6f4d61.e351bedb.js @@ -0,0 +1,2 @@ +/*! For license information please see 2b6f4d61.e351bedb.js.LICENSE.txt */ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5136],{7523:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>f,contentTitle:()=>h,default:()=>m,frontMatter:()=>d,metadata:()=>p,toc:()=>v});var n=r(678),o=r(6655),a=[,(e,t,r)=>{var n=r(2);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(3).default,o=r(4);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(3).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{function t(e,t,r,n,o,a,l){try{var i=e[a](l),s=i.value}catch(u){return void r(u)}i.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var l=e.apply(r,n);function i(e){t(l,o,a,i,s,"next",e)}function s(e){t(l,o,a,i,s,"throw",e)}i(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(7),o=r(9),a=r(10),l=r(11);e.exports=function(e){return n(e)||o(e)||a(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(8);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(8);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(2);function o(e,t){for(var r=0;r{var n=r(15)();e.exports=n;try{regeneratorRuntime=n}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},(e,t,r)=>{var n=r(3).default;function o(){e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,a=r.hasOwnProperty,l=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(O){d=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new M(n||[]);return l(a,"_invoke",{value:S(e,r,i)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}t.wrap=h;var f={};function v(){}function x(){}function m(){}var y={};d(y,s,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(P([])));g&&g!==r&&a.call(g,s)&&(y=g);var j=m.prototype=v.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(o,l,i,s){var u=p(e[o],e,l);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==n(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,s)}))}s(u.arg)}var o;l(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}})}function S(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return A()}for(r.method=o,r.arg=a;;){var l=r.delegate;if(l){var i=E(l,r);if(i){if(i===f)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=p(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=p(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function P(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r=0;--n){var o=this.tryEntries[n],l=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var i=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(i&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}],l={};function i(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{MultipleHandler:()=>f,SingleHandler:()=>v,default:()=>y,useMultipleHandler:()=>m,useSingleHandler:()=>x});var e=i(1),t=i.n(e),r=i(5),n=i.n(r),o=i(6),a=i.n(o),l=i(12),u=i.n(l),c=i(13),d=i.n(c),h=i(14),p=i.n(h),f=function(){function e(){u()(this,e),this.value=[]}return d()(e,[{key:"size",get:function(){return this.value.length}},{key:"on",value:function(e){this.value=[].concat(a()(this.value),[e])}},{key:"off",value:function(e){this.value=e?this.value.filter((function(t){return t!==e})):[]}},{key:"call",value:function(e){var t=this.value;return Promise.all(t.map(function(){var t=n()(p().mark((function t(r){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()))}},{key:"callWithRace",value:function(e){var t=this.value;return Promise.race(t.map(function(){var t=n()(p().mark((function t(r){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()))}}]),e}(),v=function(){function e(){u()(this,e),t()(this,"value",null)}return d()(e,[{key:"on",value:function(e){if(this.value&&console.warn("handler is already exist"),"function"!=typeof e)throw new Error("handler must be function");this.value=e}},{key:"off",value:function(){this.value=null}},{key:"call",value:function(e){return this.value?Promise.resolve(this.value(e)):Promise.reject(new Error("handler is not exist"))}}]),e}(),x=function(){return new v},m=function(){return new f};const y=f})();var u=r(5807),c=r(4609);const d={title:"handler"},h=void 0,p={id:"handler/index",title:"handler",description:"Example",source:"@site/docs/handler/index.mdx",sourceDirName:"handler",slug:"/handler/",permalink:"/jelper/docs/handler/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/handler/index.mdx",tags:[],version:"current",frontMatter:{title:"handler"},sidebar:"tutorialSidebar",previous:{title:"enum",permalink:"/jelper/docs/enum/"},next:{title:"hooks",permalink:"/jelper/docs/hooks/"}},f={},v=[{value:"Example",id:"example",level:2},{value:"Api",id:"api",level:2},{value:"SingleHandler",id:"singlehandler",level:3},{value:"MultipleHandler",id:"multiplehandler",level:3},{value:"\u65b9\u6cd5",id:"\u65b9\u6cd5",level:3}];function x(e){const t={code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(u.A,{children:[(0,n.jsx)(c.A,{value:"npm",label:"npm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"npm istall @jelper/handler\n"})})}),(0,n.jsx)(c.A,{value:"pnpm",label:"pnpm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"pnpm istall @jelper/handler\n"})})}),(0,n.jsx)(c.A,{value:"yarn",label:"yarn",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"yarn istall @jelper/handler\n"})})})]}),"\n",(0,n.jsx)(t.h2,{id:"example",children:"Example"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"import { useSingleHandler, useMultipleHandler } from '@jelper/handler';\n\nconst single = useSingleHandler(); // new SingleHandler();\nsingle.on(() => {\n console.log('\u4e0d\u6267\u884c');\n});\nsingle.on((data) => {\n console.log(data)\n});\nsingle.call('single').then(() => ); // single\nsingle.off();\n\nconst multiple = useMultipleHandler();\nmultiple.on(() => {\n console.log('\u540c\u6b65');\n});\nmultiple.on(async (data) => {\n console.log('\u5f02\u6b65', data);\n});\nmultiple.call('multiple').then(() => {\n console.log('end');\n});\n// \u540c\u6b65 \u5f02\u6b65multiple end\n\n"})}),"\n",(0,n.jsx)(t.h2,{id:"api",children:"Api"}),"\n",(0,n.jsx)(t.p,{children:"\u901a\u4fe1\u8c03\u7528\u5de5\u5177\uff0c SingleHandler\u3001MultipleHandler\u4e3a\u4e86\u65b9\u4fbf\u62d3\u5c55\uff0c\u63a8\u8350\u4f7f\u7528 useSingleHandler\u3001useMultipleHandler"}),"\n",(0,n.jsx)(t.h3,{id:"singlehandler",children:"SingleHandler"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"\u5c5e\u6027"}),(0,n.jsx)(t.th,{children:"\u7c7b\u578b"}),(0,n.jsx)(t.th,{children:"\u8bf4\u660e"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"on"}),(0,n.jsx)(t.td,{children:"() => void"}),(0,n.jsx)(t.td,{children:"-"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"off"}),(0,n.jsx)(t.td,{children:"() => void"}),(0,n.jsx)(t.td,{children:"-"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"call"}),(0,n.jsx)(t.td,{children:"() => Promise"}),(0,n.jsx)(t.td,{children:"-"})]})]})]}),"\n",(0,n.jsx)(t.h3,{id:"multiplehandler",children:"MultipleHandler"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"\u5c5e\u6027"}),(0,n.jsx)(t.th,{children:"\u7c7b\u578b"}),(0,n.jsx)(t.th,{children:"\u8bf4\u660e"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"size"}),(0,n.jsx)(t.td,{children:"number"}),(0,n.jsx)(t.td,{children:"\u7ed1\u5b9a\u56de\u8c03\u7684\u6570\u91cf"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"on"}),(0,n.jsx)(t.td,{children:"() => void"}),(0,n.jsx)(t.td,{children:"-"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"off"}),(0,n.jsx)(t.td,{children:"(fn?: undefined) => void"}),(0,n.jsx)(t.td,{children:"-"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"call"}),(0,n.jsx)(t.td,{children:"() => Promise"}),(0,n.jsx)(t.td,{children:"Promise.all \u8c03\u7528"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"callWithRace"}),(0,n.jsx)(t.td,{children:"() => Promise"}),(0,n.jsx)(t.td,{children:"Promise.race \u8c03\u7528"})]})]})]}),"\n",(0,n.jsx)(t.h3,{id:"\u65b9\u6cd5",children:"\u65b9\u6cd5"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"\u65b9\u6cd5"}),(0,n.jsx)(t.th,{children:"\u53c2\u6570"}),(0,n.jsx)(t.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"useSingleHandler"}),(0,n.jsx)(t.td,{children:"void"}),(0,n.jsx)(t.td,{children:"SingleHandler"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"useMultipleHandler"}),(0,n.jsx)(t.td,{children:"void"}),(0,n.jsx)(t.td,{children:"MultipleHandler"})]})]})]})]})}function m(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},4609:(e,t,r)=>{r.d(t,{A:()=>l});r(6166);var n=r(27);const o={tabItem:"tabItem_bifL"};var a=r(678);function l(e){let{children:t,hidden:r,className:l}=e;return(0,a.jsx)("div",{role:"tabpanel",className:(0,n.A)(o.tabItem,l),hidden:r,children:t})}},5807:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(6166),o=r(27),a=r(430),l=r(5261),i=r(8093),s=r(387),u=r(112),c=r(4228);function d(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:t,children:r}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:o}}=e;return{value:t,label:r,attributes:n,default:o}}))}(r);return function(e){const t=(0,u.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,r])}function p(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function f(e){let{queryString:t=!1,groupId:r}=e;const o=(0,l.W6)(),a=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,s.aZ)(a),(0,n.useCallback)((e=>{if(!a)return;const t=new URLSearchParams(o.location.search);t.set(a,e),o.replace({...o.location,search:t.toString()})}),[a,o])]}function v(e){const{defaultValue:t,queryString:r=!1,groupId:o}=e,a=h(e),[l,s]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!p({value:t,tabValues:r}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:a}))),[u,d]=f({queryString:r,groupId:o}),[v,x]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,a]=(0,c.Dv)(r);return[o,(0,n.useCallback)((e=>{r&&a.set(e)}),[r,a])]}({groupId:o}),m=(()=>{const e=u??v;return p({value:e,tabValues:a})?e:null})();(0,i.A)((()=>{m&&s(m)}),[m]);return{selectedValue:l,selectValue:(0,n.useCallback)((e=>{if(!p({value:e,tabValues:a}))throw new Error(`Can't select invalid tab value=${e}`);s(e),d(e),x(e)}),[d,x,a]),tabValues:a}}var x=r(7007);const m={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var y=r(678);function b(e){let{className:t,block:r,selectedValue:n,selectValue:l,tabValues:i}=e;const s=[],{blockElementScrollPositionUntilNextRender:u}=(0,a.a_)(),c=e=>{const t=e.currentTarget,r=s.indexOf(t),o=i[r].value;o!==n&&(u(t),l(o))},d=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const r=s.indexOf(e.currentTarget)+1;t=s[r]??s[0];break}case"ArrowLeft":{const r=s.indexOf(e.currentTarget)-1;t=s[r]??s[s.length-1];break}}t?.focus()};return(0,y.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.A)("tabs",{"tabs--block":r},t),children:i.map((e=>{let{value:t,label:r,attributes:a}=e;return(0,y.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>s.push(e),onKeyDown:d,onClick:c,...a,className:(0,o.A)("tabs__item",m.tabItem,a?.className,{"tabs__item--active":n===t}),children:r??t},t)}))})}function g(e){let{lazy:t,children:r,selectedValue:o}=e;const a=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=a.find((e=>e.props.value===o));return e?(0,n.cloneElement)(e,{className:"margin-top--md"}):null}return(0,y.jsx)("div",{className:"margin-top--md",children:a.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function j(e){const t=v(e);return(0,y.jsxs)("div",{className:(0,o.A)("tabs-container",m.tabList),children:[(0,y.jsx)(b,{...e,...t}),(0,y.jsx)(g,{...e,...t})]})}function w(e){const t=(0,x.A)();return(0,y.jsx)(j,{...e,children:d(e.children)},String(t))}},6655:(e,t,r)=>{r.d(t,{R:()=>l,x:()=>i});var n=r(6166);const o={},a=n.createContext(o);function l(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:l(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/2b6f4d61.9c23a9c0.js.LICENSE.txt b/docs/assets/js/2b6f4d61.e351bedb.js.LICENSE.txt similarity index 100% rename from docs/assets/js/2b6f4d61.9c23a9c0.js.LICENSE.txt rename to docs/assets/js/2b6f4d61.e351bedb.js.LICENSE.txt diff --git a/docs/assets/js/519a9e86.d1368a47.js b/docs/assets/js/519a9e86.d1368a47.js deleted file mode 100644 index 519bc3e..0000000 --- a/docs/assets/js/519a9e86.d1368a47.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[9175],{2945:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/docs/assets/js/5bea8d5d.4c09d9c4.js b/docs/assets/js/5bea8d5d.4c09d9c4.js new file mode 100644 index 0000000..ae86683 --- /dev/null +++ b/docs/assets/js/5bea8d5d.4c09d9c4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[6359],{9151:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>i,default:()=>m,frontMatter:()=>u,metadata:()=>c,toc:()=>d});var r=t(678),l=t(6655),a=t(5807),s=t(4609);const u={title:"enum"},i=void 0,c={id:"enum/index",title:"enum",description:"install",source:"@site/docs/enum/index.mdx",sourceDirName:"enum",slug:"/enum/",permalink:"/jelper/docs/enum/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/enum/index.mdx",tags:[],version:"current",frontMatter:{title:"enum"},sidebar:"tutorialSidebar",previous:{title:"text",permalink:"/jelper/docs/css/text/"},next:{title:"handler",permalink:"/jelper/docs/handler/"}},o={},d=[{value:"install",id:"install",level:3},{value:"\u6837\u4f8b",id:"\u6837\u4f8b",level:2},{value:"Api",id:"api",level:2},{value:"EnumHelper",id:"enumhelper",level:3},{value:"Interface",id:"interface",level:2}];function h(e){const n={code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h3,{id:"install",children:"install"}),"\n",(0,r.jsxs)(a.A,{children:[(0,r.jsx)(s.A,{value:"npm",label:"npm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-shell",children:"npm istall @jelper/enum\n"})})}),(0,r.jsx)(s.A,{value:"pnpm",label:"pnpm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-shell",children:"pnpm istall @jelper/enum\n"})})}),(0,r.jsx)(s.A,{value:"yarn",label:"yarn",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"yarn istall @jelper/enum\n"})})})]}),"\n",(0,r.jsx)(n.h2,{id:"\u6837\u4f8b",children:"\u6837\u4f8b"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import EnumHelper from '@jelper/enum';\n\nconst enumHelper = new EnumHelper([\n { label: 'A', key: 'a', value: 1 },\n { label: 'B', key: 'b', value: 2 },\n { label: 'C', key: 'c', value: 3 },\n]);\n\nconsole.log(enumHelper.get(1)); // { label: 'A', key: 'a', value: 1 },\nconsole.log(enumHelper.getLabel('a')); // A\n\n// \u62d3\u5c55\nconst enumHelperSuper = EnumHelper.build([\n { label: 'A', key: 'a', value: 1 },\n { label: 'B', key: 'b', value: 2 },\n { label: 'C', key: 'c', value: 3 },\n], {\n getName() { return 'enumHelperSuper';}\n}); // \u6216\u8005\u4f7f\u7528\u7ee7\u627f\n\nconsole.log(enumHelper.getName()); // enumHelperSuper\n\n"})}),"\n",(0,r.jsx)(n.h2,{id:"api",children:"Api"}),"\n",(0,r.jsx)(n.h3,{id:"enumhelper",children:"EnumHelper"}),"\n",(0,r.jsx)(n.p,{children:"\u5b9e\u4f8b\u5c5e\u6027"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"\u5c5e\u6027"}),(0,r.jsx)(n.th,{children:"\u7c7b\u578b"}),(0,r.jsx)(n.th,{children:"\u8bf4\u660e"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"constructor"}),(0,r.jsx)(n.td,{children:"(list: EnumItem[]) => void"}),(0,r.jsx)(n.td,{children:"-"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"valueOf"}),(0,r.jsx)(n.td,{children:"() => EnumItem[]"}),(0,r.jsx)(n.td,{children:"-"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"getData"}),(0,r.jsx)(n.td,{children:"() => EnumItem[]"}),(0,r.jsx)(n.td,{children:"-"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"get"}),(0,r.jsx)(n.td,{children:"(key: string, value?: EnumItem['value']) => EnumItem | undefined"}),(0,r.jsx)(n.td,{children:"-"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"getLabel"}),(0,r.jsx)(n.td,{children:"(key: string) => EnumItem['label'] | undefined"}),(0,r.jsx)(n.td,{children:"-"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"getValue"}),(0,r.jsx)(n.td,{children:"(key: string) => EnumItem['value'] | undefined"}),(0,r.jsx)(n.td,{children:"-"})]})]})]}),"\n",(0,r.jsx)(n.p,{children:"\u9759\u6001\u5c5e\u6027"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"\u5c5e\u6027"}),(0,r.jsx)(n.th,{children:"\u7c7b\u578b"}),(0,r.jsx)(n.th,{children:"\u8bf4\u660e"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"build"}),(0,r.jsx)(n.td,{children:"(list: EnumItem[], extendsObj: Object ) => EnumHelper"}),(0,r.jsx)(n.td,{children:"-"})]})})]}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"interface EnumItem {\n label: string;\n key: string;\n value?: number | string | boolean | null;\n [prop: string]: any;\n}\n"})})]})}function m(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},4609:(e,n,t)=>{t.d(n,{A:()=>s});t(6166);var r=t(27);const l={tabItem:"tabItem_bifL"};var a=t(678);function s(e){let{children:n,hidden:t,className:s}=e;return(0,a.jsx)("div",{role:"tabpanel",className:(0,r.A)(l.tabItem,s),hidden:t,children:n})}},5807:(e,n,t)=>{t.d(n,{A:()=>k});var r=t(6166),l=t(27),a=t(430),s=t(5261),u=t(8093),i=t(387),c=t(112),o=t(4228);function d(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:n,children:t}=e;return(0,r.useMemo)((()=>{const e=n??function(e){return d(e).map((e=>{let{props:{value:n,label:t,attributes:r,default:l}}=e;return{value:n,label:t,attributes:r,default:l}}))}(t);return function(e){const n=(0,c.X)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,t])}function m(e){let{value:n,tabValues:t}=e;return t.some((e=>e.value===n))}function p(e){let{queryString:n=!1,groupId:t}=e;const l=(0,s.W6)(),a=function(e){let{queryString:n=!1,groupId:t}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!t)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:n,groupId:t});return[(0,i.aZ)(a),(0,r.useCallback)((e=>{if(!a)return;const n=new URLSearchParams(l.location.search);n.set(a,e),l.replace({...l.location,search:n.toString()})}),[a,l])]}function b(e){const{defaultValue:n,queryString:t=!1,groupId:l}=e,a=h(e),[s,i]=(0,r.useState)((()=>function(e){let{defaultValue:n,tabValues:t}=e;if(0===t.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!m({value:n,tabValues:t}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const r=t.find((e=>e.default))??t[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:n,tabValues:a}))),[c,d]=p({queryString:t,groupId:l}),[b,x]=function(e){let{groupId:n}=e;const t=function(e){return e?`docusaurus.tab.${e}`:null}(n),[l,a]=(0,o.Dv)(t);return[l,(0,r.useCallback)((e=>{t&&a.set(e)}),[t,a])]}({groupId:l}),j=(()=>{const e=c??b;return m({value:e,tabValues:a})?e:null})();(0,u.A)((()=>{j&&i(j)}),[j]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!m({value:e,tabValues:a}))throw new Error(`Can't select invalid tab value=${e}`);i(e),d(e),x(e)}),[d,x,a]),tabValues:a}}var x=t(7007);const j={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var f=t(678);function v(e){let{className:n,block:t,selectedValue:r,selectValue:s,tabValues:u}=e;const i=[],{blockElementScrollPositionUntilNextRender:c}=(0,a.a_)(),o=e=>{const n=e.currentTarget,t=i.indexOf(n),l=u[t].value;l!==r&&(c(n),s(l))},d=e=>{let n=null;switch(e.key){case"Enter":o(e);break;case"ArrowRight":{const t=i.indexOf(e.currentTarget)+1;n=i[t]??i[0];break}case"ArrowLeft":{const t=i.indexOf(e.currentTarget)-1;n=i[t]??i[i.length-1];break}}n?.focus()};return(0,f.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.A)("tabs",{"tabs--block":t},n),children:u.map((e=>{let{value:n,label:t,attributes:a}=e;return(0,f.jsx)("li",{role:"tab",tabIndex:r===n?0:-1,"aria-selected":r===n,ref:e=>i.push(e),onKeyDown:d,onClick:o,...a,className:(0,l.A)("tabs__item",j.tabItem,a?.className,{"tabs__item--active":r===n}),children:t??n},n)}))})}function g(e){let{lazy:n,children:t,selectedValue:l}=e;const a=(Array.isArray(t)?t:[t]).filter(Boolean);if(n){const e=a.find((e=>e.props.value===l));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,f.jsx)("div",{className:"margin-top--md",children:a.map(((e,n)=>(0,r.cloneElement)(e,{key:n,hidden:e.props.value!==l})))})}function y(e){const n=b(e);return(0,f.jsxs)("div",{className:(0,l.A)("tabs-container",j.tabList),children:[(0,f.jsx)(v,{...e,...n}),(0,f.jsx)(g,{...e,...n})]})}function k(e){const n=(0,x.A)();return(0,f.jsx)(y,{...e,children:d(e.children)},String(n))}},6655:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>u});var r=t(6166);const l={},a=r.createContext(l);function s(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/5bea8d5d.578fd2ef.js b/docs/assets/js/5bea8d5d.578fd2ef.js deleted file mode 100644 index a5e1659..0000000 --- a/docs/assets/js/5bea8d5d.578fd2ef.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[6359],{8717:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>b,contentTitle:()=>p,default:()=>x,frontMatter:()=>d,metadata:()=>f,sad:()=>m,toc:()=>v});var n=r(678),a=r(6655),l=r(5807),o=r(4609),u=[,e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(3);function a(e,t){for(var r=0;r{var n=r(4).default,a=r(5);e.exports=function(e){var t=a(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(4).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},(e,t,r)=>{var n=r(3);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports}],s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return u[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};(()=>{i.r(c),i.d(c,{EnumHelper:()=>o,default:()=>s,useEnumHelper:()=>u});var e=i(1),t=i.n(e),r=i(2),n=i.n(r),a=i(6),l=i.n(a),o=function(){function e(r){t()(this,e),l()(this,"data",[]),this.data=r}return n()(e,[{key:"valueOf",value:function(){return this.data}},{key:"getData",value:function(){return this.data}},{key:"get",value:function(e,t){return void 0===t?this.getData().find((function(t){return t.key===e})):this.getData().find((function(r){return r[e]===t}))}},{key:"getLabel",value:function(e){var t;return null===(t=this.get(e))||void 0===t?void 0:t.label}},{key:"getValue",value:function(e){var t;return null===(t=this.get(e))||void 0===t?void 0:t.value}}]),e}(),u=function(e,t){return Object.assign(new o(e),t)};const s=u})();const d={title:"enum"},p=void 0,f={id:"enum/index",title:"enum",description:"install",source:"@site/docs/enum/index.mdx",sourceDirName:"enum",slug:"/enum/",permalink:"/jelper/docs/enum/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/enum/index.mdx",tags:[],version:"current",frontMatter:{title:"enum"},sidebar:"tutorialSidebar",previous:{title:"text",permalink:"/jelper/docs/css/text/"},next:{title:"handler",permalink:"/jelper/docs/handler/"}},b={},m=123,v=[{value:"install",id:"install",level:3},{value:"\u6837\u4f8b",id:"\u6837\u4f8b",level:2}];function h(e){const t={code:"code",h2:"h2",h3:"h3",pre:"pre",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h3,{id:"install",children:"install"}),"\n","\n",(0,n.jsxs)(l.A,{children:[(0,n.jsx)(o.A,{value:"npm",label:"npm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"npm istall @jelper/css\n"})})}),(0,n.jsx)(o.A,{value:"pnpm",label:"pnpm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"pnpm istall @jelper/css\n"})})}),(0,n.jsx)(o.A,{value:"yarn",label:"yarn",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"yarn istall @jelper/css\n"})})})]}),"\n",(0,n.jsx)(t.h2,{id:"\u6837\u4f8b",children:"\u6837\u4f8b"}),"\n","\n","\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-jsx",metastring:"live noInline",live:!0,children:"const enumHelper = EnumHelper.build([\r\n { label: 'A', key: 'a', value: 1 },\r\n { label: 'A', key: 'a', value: 1 },\r\n { label: 'A', key: 'a', value: 1 },\r\n], {\r\n getTotal() {\r\n return this.valueOf.reduce((res, it) => res + it.value);\r\n }\r\n})\r\nrender(\r\n <>\r\n
a: {enumHelper.getLabel('a')}
\r\n
total: {enumHelper.getTotal()}
\r\n \r\n);\n"})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},4609:(e,t,r)=>{r.d(t,{A:()=>o});r(6166);var n=r(27);const a={tabItem:"tabItem_bifL"};var l=r(678);function o(e){let{children:t,hidden:r,className:o}=e;return(0,l.jsx)("div",{role:"tabpanel",className:(0,n.A)(a.tabItem,o),hidden:r,children:t})}},5807:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(6166),a=r(27),l=r(430),o=r(5261),u=r(8093),s=r(387),i=r(112),c=r(4228);function d(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:r}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}))}(r);return function(e){const t=(0,i.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,r])}function f(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function b(e){let{queryString:t=!1,groupId:r}=e;const a=(0,o.W6)(),l=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,s.aZ)(l),(0,n.useCallback)((e=>{if(!l)return;const t=new URLSearchParams(a.location.search);t.set(l,e),a.replace({...a.location,search:t.toString()})}),[l,a])]}function m(e){const{defaultValue:t,queryString:r=!1,groupId:a}=e,l=p(e),[o,s]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!f({value:t,tabValues:r}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:l}))),[i,d]=b({queryString:r,groupId:a}),[m,v]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,l]=(0,c.Dv)(r);return[a,(0,n.useCallback)((e=>{r&&l.set(e)}),[r,l])]}({groupId:a}),h=(()=>{const e=i??m;return f({value:e,tabValues:l})?e:null})();(0,u.A)((()=>{h&&s(h)}),[h]);return{selectedValue:o,selectValue:(0,n.useCallback)((e=>{if(!f({value:e,tabValues:l}))throw new Error(`Can't select invalid tab value=${e}`);s(e),d(e),v(e)}),[d,v,l]),tabValues:l}}var v=r(7007);const h={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var x=r(678);function y(e){let{className:t,block:r,selectedValue:n,selectValue:o,tabValues:u}=e;const s=[],{blockElementScrollPositionUntilNextRender:i}=(0,l.a_)(),c=e=>{const t=e.currentTarget,r=s.indexOf(t),a=u[r].value;a!==n&&(i(t),o(a))},d=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const r=s.indexOf(e.currentTarget)+1;t=s[r]??s[0];break}case"ArrowLeft":{const r=s.indexOf(e.currentTarget)-1;t=s[r]??s[s.length-1];break}}t?.focus()};return(0,x.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":r},t),children:u.map((e=>{let{value:t,label:r,attributes:l}=e;return(0,x.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>s.push(e),onKeyDown:d,onClick:c,...l,className:(0,a.A)("tabs__item",h.tabItem,l?.className,{"tabs__item--active":n===t}),children:r??t},t)}))})}function g(e){let{lazy:t,children:r,selectedValue:a}=e;const l=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=l.find((e=>e.props.value===a));return e?(0,n.cloneElement)(e,{className:"margin-top--md"}):null}return(0,x.jsx)("div",{className:"margin-top--md",children:l.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function j(e){const t=m(e);return(0,x.jsxs)("div",{className:(0,a.A)("tabs-container",h.tabList),children:[(0,x.jsx)(y,{...e,...t}),(0,x.jsx)(g,{...e,...t})]})}function w(e){const t=(0,v.A)();return(0,x.jsx)(j,{...e,children:d(e.children)},String(t))}},6655:(e,t,r)=>{r.d(t,{R:()=>o,x:()=>u});var n=r(6166);const a={},l=n.createContext(a);function o(e){const t=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/5bf17c48.736de964.js b/docs/assets/js/5bf17c48.736de964.js deleted file mode 100644 index b58e15d..0000000 --- a/docs/assets/js/5bf17c48.736de964.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5931],{5339:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>u,default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var s=n(678),o=n(6655);const r={title:"useValue",sort:2},u="useValue",a={id:"hooks/useValue/TEST",title:"useValue",description:"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value",source:"@site/docs/hooks/useValue/TEST.mdx",sourceDirName:"hooks/useValue",slug:"/hooks/useValue/TEST",permalink:"/jelper/docs/hooks/useValue/TEST",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/hooks/useValue/TEST.mdx",tags:[],version:"current",frontMatter:{title:"useValue",sort:2},sidebar:"tutorialSidebar",previous:{title:"hooks",permalink:"/jelper/docs/hooks/useAsync"},next:{title:"promise",permalink:"/jelper/docs/promise/"}},l={},c=[{value:"\u4f7f\u7528",id:"\u4f7f\u7528",level:2},{value:"API",id:"api",level:3}];function i(e){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"usevalue",children:"useValue"}),"\n",(0,s.jsx)(t.p,{children:"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value"}),"\n",(0,s.jsx)(t.h2,{id:"\u4f7f\u7528",children:"\u4f7f\u7528"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"import { useValue } from '@jelper/hooks'\r\n\r\nfunction Demo() {\r\n const [outValue, setOutValue] = useState('')\r\n const [value, setValue] = useValue(outValue)\r\n return (\r\n <>\r\n setValue(ev.target.value)} />\r\n \r\n \r\n )\r\n}\n"})}),"\n",(0,s.jsx)(t.h3,{id:"api",children:"API"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"// \u914d\u7f6e\r\ninterface Options {\r\n // \u5224\u65ad \u4f20\u5165value\u662f\u5426\u53d8\u66f4\uff0c\u9ed8\u8ba4 ===\r\n isEqual?: (a:T, b: T) => boolean\r\n}\r\ntype SetValue = (v: T|((oldVal: T) => T)) => void\r\n\r\ntype UseValue = (val: T, opts: Options) => [T, SetValue];\n"})})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(i,{...e})}):i(e)}},6655:(e,t,n)=>{n.d(t,{R:()=>u,x:()=>a});var s=n(6166);const o={},r=s.createContext(o);function u(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:u(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/7661071f.31b7412f.js b/docs/assets/js/7661071f.46fcdeab.js similarity index 96% rename from docs/assets/js/7661071f.31b7412f.js rename to docs/assets/js/7661071f.46fcdeab.js index cf54b95..564e1d9 100644 --- a/docs/assets/js/7661071f.31b7412f.js +++ b/docs/assets/js/7661071f.46fcdeab.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[8737],{1941:(e,o,s)=>{s.r(o),s.d(o,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=s(678),n=s(6655);const r={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},l=void 0,a={permalink:"/jelper/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"Docusaurus blogging features are powered by the blog plugin.",date:"2021-08-26T00:00:00.000Z",tags:[{label:"facebook",permalink:"/jelper/blog/tags/facebook"},{label:"hello",permalink:"/jelper/blog/tags/hello"},{label:"docusaurus",permalink:"/jelper/blog/tags/docusaurus"}],readingTime:.405,hasTruncateMarker:!1,authors:[{name:"S\xe9bastien Lorber",title:"Docusaurus maintainer",url:"https://sebastienlorber.com",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},unlisted:!1,nextItem:{title:"MDX Blog Post",permalink:"/jelper/blog/mdx-blog-post"}},c={authorsImageUrls:[void 0,void 0]},u=[];function i(e){const o={a:"a",code:"code",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/blog",children:"Docusaurus blogging features"})," are powered by the ",(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog",children:"blog plugin"}),"."]}),"\n",(0,t.jsxs)(o.p,{children:["Simply add Markdown files (or folders) to the ",(0,t.jsx)(o.code,{children:"blog"})," directory."]}),"\n",(0,t.jsxs)(o.p,{children:["Regular blog authors can be added to ",(0,t.jsx)(o.code,{children:"authors.yml"}),"."]}),"\n",(0,t.jsx)(o.p,{children:"The blog post date can be extracted from filenames, such as:"}),"\n",(0,t.jsxs)(o.ul,{children:["\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome.md"})}),"\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome/index.md"})}),"\n"]}),"\n",(0,t.jsx)(o.p,{children:"A blog post folder can be convenient to co-locate blog post images:"}),"\n",(0,t.jsx)(o.p,{children:(0,t.jsx)(o.img,{alt:"Docusaurus Plushie",src:s(6819).A+"",width:"1500",height:"500"})}),"\n",(0,t.jsx)(o.p,{children:"The blog supports tags as well!"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.strong,{children:"And if you don't want a blog"}),": just delete this directory, and use ",(0,t.jsx)(o.code,{children:"blog: false"})," in your Docusaurus config."]})]})}function d(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},6819:(e,o,s)=>{s.d(o,{A:()=>t});const t=s.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"},6655:(e,o,s)=>{s.d(o,{R:()=>l,x:()=>a});var t=s(6166);const n={},r=t.createContext(n);function l(e){const o=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function a(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[8737],{1941:(e,o,s)=>{s.r(o),s.d(o,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=s(678),n=s(6655);const r={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},l=void 0,a={permalink:"/jelper/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"Docusaurus blogging features are powered by the blog plugin.",date:"2021-08-26T00:00:00.000Z",tags:[{label:"facebook",permalink:"/jelper/blog/tags/facebook"},{label:"hello",permalink:"/jelper/blog/tags/hello"},{label:"docusaurus",permalink:"/jelper/blog/tags/docusaurus"}],readingTime:.405,hasTruncateMarker:!1,authors:[{name:"S\xe9bastien Lorber",title:"Docusaurus maintainer",url:"https://sebastienlorber.com",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},unlisted:!1,nextItem:{title:"MDX Blog Post",permalink:"/jelper/blog/mdx-blog-post"}},c={authorsImageUrls:[void 0,void 0]},u=[];function i(e){const o={a:"a",code:"code",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/blog",children:"Docusaurus blogging features"})," are powered by the ",(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog",children:"blog plugin"}),"."]}),"\n",(0,t.jsxs)(o.p,{children:["Simply add Markdown files (or folders) to the ",(0,t.jsx)(o.code,{children:"blog"})," directory."]}),"\n",(0,t.jsxs)(o.p,{children:["Regular blog authors can be added to ",(0,t.jsx)(o.code,{children:"authors.yml"}),"."]}),"\n",(0,t.jsx)(o.p,{children:"The blog post date can be extracted from filenames, such as:"}),"\n",(0,t.jsxs)(o.ul,{children:["\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome.md"})}),"\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome/index.md"})}),"\n"]}),"\n",(0,t.jsx)(o.p,{children:"A blog post folder can be convenient to co-locate blog post images:"}),"\n",(0,t.jsx)(o.p,{children:(0,t.jsx)(o.img,{alt:"Docusaurus Plushie",src:s(8116).A+"",width:"1500",height:"500"})}),"\n",(0,t.jsx)(o.p,{children:"The blog supports tags as well!"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.strong,{children:"And if you don't want a blog"}),": just delete this directory, and use ",(0,t.jsx)(o.code,{children:"blog: false"})," in your Docusaurus config."]})]})}function d(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},8116:(e,o,s)=>{s.d(o,{A:()=>t});const t=s.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"},6655:(e,o,s)=>{s.d(o,{R:()=>l,x:()=>a});var t=s(6166);const n={},r=t.createContext(n);function l(e){const o=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function a(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/8f6cc927.1133636e.js b/docs/assets/js/8f6cc927.1133636e.js deleted file mode 100644 index 5b57049..0000000 --- a/docs/assets/js/8f6cc927.1133636e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[7133],{341:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>h,frontMatter:()=>u,metadata:()=>c,toc:()=>d});var n=r(678),a=r(6655),l=r(5807),s=r(4609);const u={title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5"},o=void 0,c={id:"css/index",title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5",description:"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5",source:"@site/docs/css/index.mdx",sourceDirName:"css",slug:"/css/",permalink:"/jelper/docs/css/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/css/index.mdx",tags:[],version:"current",frontMatter:{title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5"},sidebar:"tutorialSidebar",next:{title:"color",permalink:"/jelper/docs/css/color/"}},i={},d=[{value:"install",id:"install",level:3},{value:"\u6837\u4f8b",id:"\u6837\u4f8b",level:3}];function p(e){const t={code:"code",h3:"h3",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5"}),"\n",(0,n.jsx)(t.h3,{id:"install",children:"install"}),"\n",(0,n.jsxs)(l.A,{children:[(0,n.jsx)(s.A,{value:"npm",label:"npm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"npm istall @jelper/css\n"})})}),(0,n.jsx)(s.A,{value:"pnpm",label:"pnpm",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-shell",children:"pnpm istall @jelper/css\n"})})}),(0,n.jsx)(s.A,{value:"yarn",label:"yarn",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-bash",children:"yarn istall @jelper/css\n"})})})]}),"\n",(0,n.jsx)(t.h3,{id:"\u6837\u4f8b",children:"\u6837\u4f8b"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",metastring:"live noInline",live:!0,children:"render(\r\n
\r\n
\r\n \u6807\u9898\r\n
\r\n
\r\n \u64cd\u4f5c\r\n
\r\n
\r\n)\n"})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(p,{...e})}):p(e)}},4609:(e,t,r)=>{r.d(t,{A:()=>s});r(6166);var n=r(27);const a={tabItem:"tabItem_bifL"};var l=r(678);function s(e){let{children:t,hidden:r,className:s}=e;return(0,l.jsx)("div",{role:"tabpanel",className:(0,n.A)(a.tabItem,s),hidden:r,children:t})}},5807:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(6166),a=r(27),l=r(430),s=r(5261),u=r(8093),o=r(387),c=r(112),i=r(4228);function d(e){return n.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,n.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:r}=e;return(0,n.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}))}(r);return function(e){const t=(0,c.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,r])}function h(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function m(e){let{queryString:t=!1,groupId:r}=e;const a=(0,s.W6)(),l=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,o.aZ)(l),(0,n.useCallback)((e=>{if(!l)return;const t=new URLSearchParams(a.location.search);t.set(l,e),a.replace({...a.location,search:t.toString()})}),[l,a])]}function f(e){const{defaultValue:t,queryString:r=!1,groupId:a}=e,l=p(e),[s,o]=(0,n.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:r}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:l}))),[c,d]=m({queryString:r,groupId:a}),[f,b]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,l]=(0,i.Dv)(r);return[a,(0,n.useCallback)((e=>{r&&l.set(e)}),[r,l])]}({groupId:a}),v=(()=>{const e=c??f;return h({value:e,tabValues:l})?e:null})();(0,u.A)((()=>{v&&o(v)}),[v]);return{selectedValue:s,selectValue:(0,n.useCallback)((e=>{if(!h({value:e,tabValues:l}))throw new Error(`Can't select invalid tab value=${e}`);o(e),d(e),b(e)}),[d,b,l]),tabValues:l}}var b=r(7007);const v={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var x=r(678);function g(e){let{className:t,block:r,selectedValue:n,selectValue:s,tabValues:u}=e;const o=[],{blockElementScrollPositionUntilNextRender:c}=(0,l.a_)(),i=e=>{const t=e.currentTarget,r=o.indexOf(t),a=u[r].value;a!==n&&(c(t),s(a))},d=e=>{let t=null;switch(e.key){case"Enter":i(e);break;case"ArrowRight":{const r=o.indexOf(e.currentTarget)+1;t=o[r]??o[0];break}case"ArrowLeft":{const r=o.indexOf(e.currentTarget)-1;t=o[r]??o[o.length-1];break}}t?.focus()};return(0,x.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":r},t),children:u.map((e=>{let{value:t,label:r,attributes:l}=e;return(0,x.jsx)("li",{role:"tab",tabIndex:n===t?0:-1,"aria-selected":n===t,ref:e=>o.push(e),onKeyDown:d,onClick:i,...l,className:(0,a.A)("tabs__item",v.tabItem,l?.className,{"tabs__item--active":n===t}),children:r??t},t)}))})}function j(e){let{lazy:t,children:r,selectedValue:a}=e;const l=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=l.find((e=>e.props.value===a));return e?(0,n.cloneElement)(e,{className:"margin-top--md"}):null}return(0,x.jsx)("div",{className:"margin-top--md",children:l.map(((e,t)=>(0,n.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function y(e){const t=f(e);return(0,x.jsxs)("div",{className:(0,a.A)("tabs-container",v.tabList),children:[(0,x.jsx)(g,{...e,...t}),(0,x.jsx)(j,{...e,...t})]})}function w(e){const t=(0,b.A)();return(0,x.jsx)(y,{...e,children:d(e.children)},String(t))}},6655:(e,t,r)=>{r.d(t,{R:()=>s,x:()=>u});var n=r(6166);const a={},l=n.createContext(a);function s(e){const t=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/8f6cc927.6cc5c2c4.js b/docs/assets/js/8f6cc927.6cc5c2c4.js new file mode 100644 index 0000000..11dbc20 --- /dev/null +++ b/docs/assets/js/8f6cc927.6cc5c2c4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[7133],{341:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>h,frontMatter:()=>u,metadata:()=>c,toc:()=>d});var r=n(678),a=n(6655),l=n(5807),s=n(4609);const u={title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5"},o=void 0,c={id:"css/index",title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5",description:"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5",source:"@site/docs/css/index.mdx",sourceDirName:"css",slug:"/css/",permalink:"/jelper/docs/css/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/css/index.mdx",tags:[],version:"current",frontMatter:{title:"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5"},sidebar:"tutorialSidebar",next:{title:"color",permalink:"/jelper/docs/css/color/"}},i={},d=[{value:"install",id:"install",level:3},{value:"\u6837\u4f8b",id:"\u6837\u4f8b",level:3}];function p(e){const t={code:"code",h3:"h3",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5"}),"\n",(0,r.jsx)(t.h3,{id:"install",children:"install"}),"\n",(0,r.jsxs)(l.A,{children:[(0,r.jsx)(s.A,{value:"npm",label:"npm",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-shell",children:"npm istall @jelper/css\n"})})}),(0,r.jsx)(s.A,{value:"pnpm",label:"pnpm",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-shell",children:"pnpm istall @jelper/css\n"})})}),(0,r.jsx)(s.A,{value:"yarn",label:"yarn",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"yarn istall @jelper/css\n"})})})]}),"\n",(0,r.jsx)(t.h3,{id:"\u6837\u4f8b",children:"\u6837\u4f8b"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-tsx",metastring:"live noInline",live:!0,children:"render(\n
\n
\n \u6807\u9898\n
\n
\n \u64cd\u4f5c\n
\n
\n)\n"})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},4609:(e,t,n)=>{n.d(t,{A:()=>s});n(6166);var r=n(27);const a={tabItem:"tabItem_bifL"};var l=n(678);function s(e){let{children:t,hidden:n,className:s}=e;return(0,l.jsx)("div",{role:"tabpanel",className:(0,r.A)(a.tabItem,s),hidden:n,children:t})}},5807:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(6166),a=n(27),l=n(430),s=n(5261),u=n(8093),o=n(387),c=n(112),i=n(4228);function d(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return d(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:a}}=e;return{value:t,label:n,attributes:r,default:a}}))}(n);return function(e){const t=(0,c.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function m(e){let{queryString:t=!1,groupId:n}=e;const a=(0,s.W6)(),l=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,o.aZ)(l),(0,r.useCallback)((e=>{if(!l)return;const t=new URLSearchParams(a.location.search);t.set(l,e),a.replace({...a.location,search:t.toString()})}),[l,a])]}function f(e){const{defaultValue:t,queryString:n=!1,groupId:a}=e,l=p(e),[s,o]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:l}))),[c,d]=m({queryString:n,groupId:a}),[f,b]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,l]=(0,i.Dv)(n);return[a,(0,r.useCallback)((e=>{n&&l.set(e)}),[n,l])]}({groupId:a}),v=(()=>{const e=c??f;return h({value:e,tabValues:l})?e:null})();(0,u.A)((()=>{v&&o(v)}),[v]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:l}))throw new Error(`Can't select invalid tab value=${e}`);o(e),d(e),b(e)}),[d,b,l]),tabValues:l}}var b=n(7007);const v={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var x=n(678);function g(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:u}=e;const o=[],{blockElementScrollPositionUntilNextRender:c}=(0,l.a_)(),i=e=>{const t=e.currentTarget,n=o.indexOf(t),a=u[n].value;a!==r&&(c(t),s(a))},d=e=>{let t=null;switch(e.key){case"Enter":i(e);break;case"ArrowRight":{const n=o.indexOf(e.currentTarget)+1;t=o[n]??o[0];break}case"ArrowLeft":{const n=o.indexOf(e.currentTarget)-1;t=o[n]??o[o.length-1];break}}t?.focus()};return(0,x.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":n},t),children:u.map((e=>{let{value:t,label:n,attributes:l}=e;return(0,x.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>o.push(e),onKeyDown:d,onClick:i,...l,className:(0,a.A)("tabs__item",v.tabItem,l?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function j(e){let{lazy:t,children:n,selectedValue:a}=e;const l=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=l.find((e=>e.props.value===a));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,x.jsx)("div",{className:"margin-top--md",children:l.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function y(e){const t=f(e);return(0,x.jsxs)("div",{className:(0,a.A)("tabs-container",v.tabList),children:[(0,x.jsx)(g,{...e,...t}),(0,x.jsx)(j,{...e,...t})]})}function w(e){const t=(0,b.A)();return(0,x.jsx)(y,{...e,children:d(e.children)},String(t))}},6655:(e,t,n)=>{n.d(t,{R:()=>s,x:()=>u});var r=n(6166);const a={},l=r.createContext(a);function s(e){const t=r.useContext(l);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/935f2afb.3ae4b30e.js b/docs/assets/js/935f2afb.3ae4b30e.js deleted file mode 100644 index dc0e689..0000000 --- a/docs/assets/js/935f2afb.3ae4b30e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"color","href":"/jelper/docs/css/color/","docId":"css/color/index","unlisted":false},{"type":"link","label":"Flex","href":"/jelper/docs/css/flex/","docId":"css/flex/index","unlisted":false},{"type":"link","label":"text","href":"/jelper/docs/css/text/","docId":"css/text/index","unlisted":false}],"href":"/jelper/docs/css/"},{"type":"link","label":"enum","href":"/jelper/docs/enum/","docId":"enum/index","unlisted":false},{"type":"link","label":"handler","href":"/jelper/docs/handler/","docId":"handler/index","unlisted":false},{"type":"category","label":"title","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"hooks","href":"/jelper/docs/hooks/useAsync","docId":"hooks/useAsync","unlisted":false},{"type":"category","label":"useValue","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"useValue","href":"/jelper/docs/hooks/useValue/TEST","docId":"hooks/useValue/TEST","unlisted":false}]}],"href":"/jelper/docs/hooks/"},{"type":"link","label":"promise","href":"/jelper/docs/promise/","docId":"promise/index","unlisted":false},{"type":"link","label":"store","href":"/jelper/docs/store/","docId":"store/index","unlisted":false}]},"docs":{"css/color/index":{"id":"css/color/index","title":"color","description":"blue bg-blue","sidebar":"tutorialSidebar"},"css/flex/index":{"id":"css/flex/index","title":"Flex","description":"flex-start","sidebar":"tutorialSidebar"},"css/index":{"id":"css/index","title":"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5","description":"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5","sidebar":"tutorialSidebar"},"css/text/index":{"id":"css/text/index","title":"text","description":"\u8bf4\u660e","sidebar":"tutorialSidebar"},"enum/index":{"id":"enum/index","title":"enum","description":"install","sidebar":"tutorialSidebar"},"handler/index":{"id":"handler/index","title":"handler","description":"","sidebar":"tutorialSidebar"},"hooks/index":{"id":"hooks/index","title":"title","description":"hooks","sidebar":"tutorialSidebar"},"hooks/useAsync":{"id":"hooks/useAsync","title":"hooks","description":"","sidebar":"tutorialSidebar"},"hooks/useValue/TEST":{"id":"hooks/useValue/TEST","title":"useValue","description":"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value","sidebar":"tutorialSidebar"},"promise/index":{"id":"promise/index","title":"promise","description":"promise-api","sidebar":"tutorialSidebar"},"store/index":{"id":"store/index","title":"store","description":"xxx","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/docs/assets/js/935f2afb.bdefd88f.js b/docs/assets/js/935f2afb.bdefd88f.js new file mode 100644 index 0000000..e7af028 --- /dev/null +++ b/docs/assets/js/935f2afb.bdefd88f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"color","href":"/jelper/docs/css/color/","docId":"css/color/index","unlisted":false},{"type":"link","label":"Flex","href":"/jelper/docs/css/flex/","docId":"css/flex/index","unlisted":false},{"type":"link","label":"text","href":"/jelper/docs/css/text/","docId":"css/text/index","unlisted":false}],"href":"/jelper/docs/css/"},{"type":"link","label":"enum","href":"/jelper/docs/enum/","docId":"enum/index","unlisted":false},{"type":"link","label":"handler","href":"/jelper/docs/handler/","docId":"handler/index","unlisted":false},{"type":"category","label":"hooks","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"useValue","href":"/jelper/docs/hooks/useValue/","docId":"hooks/useValue/index","unlisted":false}],"href":"/jelper/docs/hooks/"},{"type":"link","label":"promise","href":"/jelper/docs/promise/","docId":"promise/index","unlisted":false},{"type":"link","label":"store","href":"/jelper/docs/store/","docId":"store/index","unlisted":false}]},"docs":{"css/color/index":{"id":"css/color/index","title":"color","description":"blue bg-blue","sidebar":"tutorialSidebar"},"css/flex/index":{"id":"css/flex/index","title":"Flex","description":"flex-start","sidebar":"tutorialSidebar"},"css/index":{"id":"css/index","title":"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5","description":"@jelper/css \u57fa\u7840\u6837\u5f0f\u7247\u6bb5","sidebar":"tutorialSidebar"},"css/text/index":{"id":"css/text/index","title":"text","description":"\u8bf4\u660e","sidebar":"tutorialSidebar"},"enum/index":{"id":"enum/index","title":"enum","description":"install","sidebar":"tutorialSidebar"},"handler/index":{"id":"handler/index","title":"handler","description":"Example","sidebar":"tutorialSidebar"},"hooks/index":{"id":"hooks/index","title":"hooks","description":"hooks","sidebar":"tutorialSidebar"},"hooks/useValue/index":{"id":"hooks/useValue/index","title":"useValue","description":"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value","sidebar":"tutorialSidebar"},"promise/index":{"id":"promise/index","title":"promise","description":"promise-api","sidebar":"tutorialSidebar"},"store/index":{"id":"store/index","title":"store","description":"Example","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/docs/assets/js/9fa2a09a.cde1783b.js b/docs/assets/js/9fa2a09a.cde1783b.js new file mode 100644 index 0000000..b3d057f --- /dev/null +++ b/docs/assets/js/9fa2a09a.cde1783b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[6694],{9032:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/jelper/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","date":"2021-08-26T00:00:00.000Z","tags":[{"label":"facebook","permalink":"/jelper/blog/tags/facebook"},{"label":"hello","permalink":"/jelper/blog/tags/hello"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.405,"hasTruncateMarker":false,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["slorber","yangshun"],"tags":["facebook","hello","docusaurus"]},"unlisted":false,"nextItem":{"title":"MDX Blog Post","permalink":"/jelper/blog/mdx-blog-post"}},"content":"[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).\\n\\nSimply add Markdown files (or folders) to the `blog` directory.\\n\\nRegular blog authors can be added to `authors.yml`.\\n\\nThe blog post date can be extracted from filenames, such as:\\n\\n- `2019-05-30-welcome.md`\\n- `2019-05-30-welcome/index.md`\\n\\nA blog post folder can be convenient to co-locate blog post images:\\n\\n![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)\\n\\nThe blog supports tags as well!\\n\\n**And if you don\'t want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config."},{"id":"mdx-blog-post","metadata":{"permalink":"/jelper/blog/mdx-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-01-mdx-blog-post.mdx","source":"@site/blog/2021-08-01-mdx-blog-post.mdx","title":"MDX Blog Post","description":"Blog posts support Docusaurus Markdown features, such as MDX.","date":"2021-08-01T00:00:00.000Z","tags":[{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.175,"hasTruncateMarker":false,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","imageURL":"https://github.com/slorber.png","key":"slorber"}],"frontMatter":{"slug":"mdx-blog-post","title":"MDX Blog Post","authors":["slorber"],"tags":["docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/jelper/blog/welcome"},"nextItem":{"title":"Long Blog Post","permalink":"/jelper/blog/long-blog-post"}},"content":"Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).\\n\\n:::tip\\n\\nUse the power of React to create interactive blog posts.\\n\\n```js\\n\\n```\\n\\n\\n\\n:::"},{"id":"long-blog-post","metadata":{"permalink":"/jelper/blog/long-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-29-long-blog-post.md","source":"@site/blog/2019-05-29-long-blog-post.md","title":"Long Blog Post","description":"This is the summary of a very long blog post,","date":"2019-05-29T00:00:00.000Z","tags":[{"label":"hello","permalink":"/jelper/blog/tags/hello"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":2.05,"hasTruncateMarker":true,"authors":[{"name":"Endilie Yacop Sucipto","title":"Maintainer of Docusaurus","url":"https://github.com/endiliey","imageURL":"https://github.com/endiliey.png","key":"endi"}],"frontMatter":{"slug":"long-blog-post","title":"Long Blog Post","authors":"endi","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"MDX Blog Post","permalink":"/jelper/blog/mdx-blog-post"},"nextItem":{"title":"First Blog Post","permalink":"/jelper/blog/first-blog-post"}},"content":"This is the summary of a very long blog post,\\n\\nUse a `\x3c!--` `truncate` `--\x3e` comment to limit blog post size in the list view.\\n\\n\x3c!--truncate--\x3e\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"},{"id":"first-blog-post","metadata":{"permalink":"/jelper/blog/first-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-28-first-blog-post.md","source":"@site/blog/2019-05-28-first-blog-post.md","title":"First Blog Post","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","date":"2019-05-28T00:00:00.000Z","tags":[{"label":"hola","permalink":"/jelper/blog/tags/hola"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":false,"authors":[{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","image_url":"https://github.com/wgao19.png","imageURL":"https://github.com/wgao19.png"}],"frontMatter":{"slug":"first-blog-post","title":"First Blog Post","authors":{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","image_url":"https://github.com/wgao19.png","imageURL":"https://github.com/wgao19.png"},"tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Long Blog Post","permalink":"/jelper/blog/long-blog-post"}},"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}')}}]); \ No newline at end of file diff --git a/docs/assets/js/9fa2a09a.d9f00183.js b/docs/assets/js/9fa2a09a.d9f00183.js deleted file mode 100644 index d62b682..0000000 --- a/docs/assets/js/9fa2a09a.d9f00183.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[6694],{9032:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/jelper/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","date":"2021-08-26T00:00:00.000Z","tags":[{"label":"facebook","permalink":"/jelper/blog/tags/facebook"},{"label":"hello","permalink":"/jelper/blog/tags/hello"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.405,"hasTruncateMarker":false,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["slorber","yangshun"],"tags":["facebook","hello","docusaurus"]},"unlisted":false,"nextItem":{"title":"MDX Blog Post","permalink":"/jelper/blog/mdx-blog-post"}},"content":"[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).\\r\\n\\r\\nSimply add Markdown files (or folders) to the `blog` directory.\\r\\n\\r\\nRegular blog authors can be added to `authors.yml`.\\r\\n\\r\\nThe blog post date can be extracted from filenames, such as:\\r\\n\\r\\n- `2019-05-30-welcome.md`\\r\\n- `2019-05-30-welcome/index.md`\\r\\n\\r\\nA blog post folder can be convenient to co-locate blog post images:\\r\\n\\r\\n![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)\\r\\n\\r\\nThe blog supports tags as well!\\r\\n\\r\\n**And if you don\'t want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config."},{"id":"mdx-blog-post","metadata":{"permalink":"/jelper/blog/mdx-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-01-mdx-blog-post.mdx","source":"@site/blog/2021-08-01-mdx-blog-post.mdx","title":"MDX Blog Post","description":"Blog posts support Docusaurus Markdown features, such as MDX.","date":"2021-08-01T00:00:00.000Z","tags":[{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.175,"hasTruncateMarker":false,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","imageURL":"https://github.com/slorber.png","key":"slorber"}],"frontMatter":{"slug":"mdx-blog-post","title":"MDX Blog Post","authors":["slorber"],"tags":["docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/jelper/blog/welcome"},"nextItem":{"title":"Long Blog Post","permalink":"/jelper/blog/long-blog-post"}},"content":"Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).\\r\\n\\r\\n:::tip\\r\\n\\r\\nUse the power of React to create interactive blog posts.\\r\\n\\r\\n```js\\r\\n\\r\\n```\\r\\n\\r\\n\\r\\n\\r\\n:::"},{"id":"long-blog-post","metadata":{"permalink":"/jelper/blog/long-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-29-long-blog-post.md","source":"@site/blog/2019-05-29-long-blog-post.md","title":"Long Blog Post","description":"This is the summary of a very long blog post,","date":"2019-05-29T00:00:00.000Z","tags":[{"label":"hello","permalink":"/jelper/blog/tags/hello"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":2.05,"hasTruncateMarker":true,"authors":[{"name":"Endilie Yacop Sucipto","title":"Maintainer of Docusaurus","url":"https://github.com/endiliey","imageURL":"https://github.com/endiliey.png","key":"endi"}],"frontMatter":{"slug":"long-blog-post","title":"Long Blog Post","authors":"endi","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"MDX Blog Post","permalink":"/jelper/blog/mdx-blog-post"},"nextItem":{"title":"First Blog Post","permalink":"/jelper/blog/first-blog-post"}},"content":"This is the summary of a very long blog post,\\r\\n\\r\\nUse a `\x3c!--` `truncate` `--\x3e` comment to limit blog post size in the list view.\\r\\n\\r\\n\x3c!--truncate--\x3e\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\r\\n\\r\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"},{"id":"first-blog-post","metadata":{"permalink":"/jelper/blog/first-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-28-first-blog-post.md","source":"@site/blog/2019-05-28-first-blog-post.md","title":"First Blog Post","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","date":"2019-05-28T00:00:00.000Z","tags":[{"label":"hola","permalink":"/jelper/blog/tags/hola"},{"label":"docusaurus","permalink":"/jelper/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":false,"authors":[{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","image_url":"https://github.com/wgao19.png","imageURL":"https://github.com/wgao19.png"}],"frontMatter":{"slug":"first-blog-post","title":"First Blog Post","authors":{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","image_url":"https://github.com/wgao19.png","imageURL":"https://github.com/wgao19.png"},"tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Long Blog Post","permalink":"/jelper/blog/long-blog-post"}},"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}')}}]); \ No newline at end of file diff --git a/docs/assets/js/b24dde81.c30f339e.js b/docs/assets/js/b24dde81.c30f339e.js new file mode 100644 index 0000000..884822e --- /dev/null +++ b/docs/assets/js/b24dde81.c30f339e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[9863],{36:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>m,contentTitle:()=>h,default:()=>b,frontMatter:()=>d,metadata:()=>p,toc:()=>x});var t=n(678),l=n(6655),s=[,(e,r,n)=>{var t=n(2),l=n(3),s=n(4),o=n(6);e.exports=function(e,r){return t(e)||l(e,r)||s(e,r)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,l,s,o,i=[],a=!0,c=!1;try{if(s=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;a=!1}else for(;!(a=(t=s.call(n)).done)&&(i.push(t.value),i.length!==r);a=!0);}catch(u){c=!0,l=u}finally{try{if(!a&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw l}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},(e,r,n)=>{var t=n(5);e.exports=function(e,r){if(e){if("string"==typeof e)return t(e,r);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)?t(e,r):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}],o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return s[e](n,n.exports,i),n.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var n in r)i.o(r,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{i.r(a),i.d(a,{buildCacheAsyncFn:()=>s,buildPromiseHandler:()=>l,callLikeSerial:()=>t,toPromise:()=>n});var e=i(1),r=i.n(e);function n(e){return"function"==typeof e?n(e()):e instanceof Promise?e:!1===e?Promise.reject():Promise.resolve(e)}function t(e){return e.reduce((function(e,r){return e.then(r)}),Promise.resolve())}function l(){var e=void 0,r=void 0;return[new Promise((function(n,t){e=n,r=t})),e,r]}function s(e){var n=[],t=!1,l=null;return function(){return l||(t||(t=!0,e.apply(void 0,arguments).then((function(e){n.forEach((function(n){var t=r()(n,2),l=t[0];t[1];return l(e)})),l=Promise.resolve(e)})).catch((function(e){n.forEach((function(n){var t=r()(n,2);t[0];return(0,t[1])(e)})),l=Promise.reject(e)})).finally((function(){t=!1,n=[]}))),new Promise((function(e,r){n.push([e,r])})))}}})();var c=n(5807),u=n(4609);const d={title:"promise",description:"promise-api"},h=void 0,p={id:"promise/index",title:"promise",description:"promise-api",source:"@site/docs/promise/index.mdx",sourceDirName:"promise",slug:"/promise/",permalink:"/jelper/docs/promise/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/promise/index.mdx",tags:[],version:"current",frontMatter:{title:"promise",description:"promise-api"},sidebar:"tutorialSidebar",previous:{title:"useValue",permalink:"/jelper/docs/hooks/useValue/"},next:{title:"store",permalink:"/jelper/docs/store/"}},m={},x=[{value:"Example",id:"example",level:2},{value:"toPromise",id:"topromise",level:3},{value:"callLikeSerial",id:"calllikeserial",level:3},{value:"buildPromiseHandler",id:"buildpromisehandler",level:3},{value:"buildCacheAsyncFn",id:"buildcacheasyncfn",level:3},{value:"Api",id:"api",level:2},{value:"toPromise",id:"topromise-1",level:3},{value:"callLikeSerial",id:"calllikeserial-1",level:3},{value:"buildPromiseHandler",id:"buildpromisehandler-1",level:3},{value:"buildCacheAsyncFn",id:"buildcacheasyncfn-1",level:3}];function f(e){const r={code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.A,{children:[(0,t.jsx)(u.A,{value:"npm",label:"npm",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-shell",children:"npm istall @jelper/promise\n"})})}),(0,t.jsx)(u.A,{value:"pnpm",label:"pnpm",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-shell",children:"pnpm istall @jelper/promise\n"})})}),(0,t.jsx)(u.A,{value:"yarn",label:"yarn",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-bash",children:"yarn istall @jelper/promise\n"})})})]}),"\n",(0,t.jsx)(r.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)(r.h3,{id:"topromise",children:"toPromise"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { toPromise } from '@jelper/promise';\n\n// \u8fd4\u56de resolove \u60c5\u51b5\ntoPromise(1) // Promise.resolove(1);\ntoPromise(true) // Promise.resolove(true);\ntoPromise('xxxx') // Promise.resolove('xxxx');\ntoPromise({}) // Promise.resolove({});\ntoPromise(() => () => 'ok') // Promise.resolove('ok');\ntoPromise(Promise.resolove('resolove')) //Promise.resolove('resolove');\n\n// \u8fd4\u56de reject \u60c5\u51b5\ntoPromise(false) // Promise.reject(undefined);\ntoPromise(() => () => false) // Promise.reject(undefined);\ntoPromise(Promise.reject('reject')) // Promise.reject('reject');\n\n"})}),"\n",(0,t.jsx)(r.h3,{id:"calllikeserial",children:"callLikeSerial"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { callLikeSerial } from '@jelper/promise';\n\ncallLikeSerial([\n () => console.log('begin'),\n () => new Promise((r) => {\n setTimeout(() => {\n console.log('Promise');\n r('result');\n }, 1000);\n }),\n (data) => console.log(data),\n]).then(() => console.log('end'));\n\n// begin promise result end\n\n"})}),"\n",(0,t.jsx)(r.h3,{id:"buildpromisehandler",children:"buildPromiseHandler"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { buildPromiseHandler } from '@jelper/promise';\n\nconst [promise, resolve, reject] = buildPromiseHandler();\n\nPromise.then(() => {\n // \u6267\u884c\n})\n\nresolve(); // or reject();\n\n"})}),"\n",(0,t.jsx)(r.h3,{id:"buildcacheasyncfn",children:"buildCacheAsyncFn"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { buildCacheAsyncFn } from '@jelper/promise';\n\nconst getAsyncData = buildCacheAsyncFn(() => {\n console.log('\u6267\u884c fn')\n return new Promise((r) => {\n setTimeout(() => {\n r('result');\n }, 1000);\n });\n});\n\nconsole.log(getAsyncData());\nconsole.log(getAsyncData());\n\n// \u6267\u884c fn\n// result\n// result\n\n"})}),"\n",(0,t.jsx)(r.h2,{id:"api",children:"Api"}),"\n",(0,t.jsx)(r.h3,{id:"topromise-1",children:"toPromise"}),"\n",(0,t.jsxs)(r.p,{children:["\u5904\u7406\u94a9\u5b50\u51fd\u6570\u8fd4\u56de\u503c\uff0c\u5c06\u4e0d\u540c\u7c7b\u578b\u6570\u636e\u8f6c\u6210",(0,t.jsx)("em",{children:"promise"}),"\u5b9e\u4f8b\uff0c\u65b9\u4fbf\u6267\u884c\u540e\u7eed\u64cd\u4f5c"]}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"toPromise"}),(0,t.jsx)(r.td,{children:"any"}),(0,t.jsx)(r.td,{children:"Promise"})]})})]}),"\n",(0,t.jsx)(r.h3,{id:"calllikeserial-1",children:"callLikeSerial"}),"\n",(0,t.jsx)(r.p,{children:"\u94fe\u5f0f\u8c03\u7528\u65b9\u6cd5"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"callLikeSerial"}),(0,t.jsx)(r.td,{children:"Array<() => Promise>"}),(0,t.jsx)(r.td,{children:"Promise"})]})})]}),"\n",(0,t.jsx)(r.h3,{id:"buildpromisehandler-1",children:"buildPromiseHandler"}),"\n",(0,t.jsx)(r.p,{children:"\u6784\u5efa Promise \u53e5\u67c4\uff0c\u5c06 promise\u7684 resolve reject \u66b4\u9732\u51fa\u53bb"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"callLikeSerial"}),(0,t.jsx)(r.td,{children:"--"}),(0,t.jsx)(r.td,{children:"[promise, resolove, reject]"})]})})]}),"\n",(0,t.jsx)(r.h3,{id:"buildcacheasyncfn-1",children:"buildCacheAsyncFn"}),"\n",(0,t.jsx)(r.p,{children:"\u6784\u5efa\u7f13\u5b58\u7ed3\u679c\u7684\u5f02\u6b65\u51fd\u6570"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"buildCacheAsyncFn"}),(0,t.jsx)(r.td,{children:"() => Promise"}),(0,t.jsx)(r.td,{children:"() => Promise"})]})})]})]})}function b(e={}){const{wrapper:r}={...(0,l.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},4609:(e,r,n)=>{n.d(r,{A:()=>o});n(6166);var t=n(27);const l={tabItem:"tabItem_bifL"};var s=n(678);function o(e){let{children:r,hidden:n,className:o}=e;return(0,s.jsx)("div",{role:"tabpanel",className:(0,t.A)(l.tabItem,o),hidden:n,children:r})}},5807:(e,r,n)=>{n.d(r,{A:()=>P});var t=n(6166),l=n(27),s=n(430),o=n(5261),i=n(8093),a=n(387),c=n(112),u=n(4228);function d(e){return t.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,t.isValidElement)(e)&&function(e){const{props:r}=e;return!!r&&"object"==typeof r&&"value"in r}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:r,children:n}=e;return(0,t.useMemo)((()=>{const e=r??function(e){return d(e).map((e=>{let{props:{value:r,label:n,attributes:t,default:l}}=e;return{value:r,label:n,attributes:t,default:l}}))}(n);return function(e){const r=(0,c.X)(e,((e,r)=>e.value===r.value));if(r.length>0)throw new Error(`Docusaurus error: Duplicate values "${r.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[r,n])}function p(e){let{value:r,tabValues:n}=e;return n.some((e=>e.value===r))}function m(e){let{queryString:r=!1,groupId:n}=e;const l=(0,o.W6)(),s=function(e){let{queryString:r=!1,groupId:n}=e;if("string"==typeof r)return r;if(!1===r)return null;if(!0===r&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:r,groupId:n});return[(0,a.aZ)(s),(0,t.useCallback)((e=>{if(!s)return;const r=new URLSearchParams(l.location.search);r.set(s,e),l.replace({...l.location,search:r.toString()})}),[s,l])]}function x(e){const{defaultValue:r,queryString:n=!1,groupId:l}=e,s=h(e),[o,a]=(0,t.useState)((()=>function(e){let{defaultValue:r,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(r){if(!p({value:r,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${r}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return r}const t=n.find((e=>e.default))??n[0];if(!t)throw new Error("Unexpected error: 0 tabValues");return t.value}({defaultValue:r,tabValues:s}))),[c,d]=m({queryString:n,groupId:l}),[x,f]=function(e){let{groupId:r}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(r),[l,s]=(0,u.Dv)(n);return[l,(0,t.useCallback)((e=>{n&&s.set(e)}),[n,s])]}({groupId:l}),b=(()=>{const e=c??x;return p({value:e,tabValues:s})?e:null})();(0,i.A)((()=>{b&&a(b)}),[b]);return{selectedValue:o,selectValue:(0,t.useCallback)((e=>{if(!p({value:e,tabValues:s}))throw new Error(`Can't select invalid tab value=${e}`);a(e),d(e),f(e)}),[d,f,s]),tabValues:s}}var f=n(7007);const b={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var j=n(678);function v(e){let{className:r,block:n,selectedValue:t,selectValue:o,tabValues:i}=e;const a=[],{blockElementScrollPositionUntilNextRender:c}=(0,s.a_)(),u=e=>{const r=e.currentTarget,n=a.indexOf(r),l=i[n].value;l!==t&&(c(r),o(l))},d=e=>{let r=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const n=a.indexOf(e.currentTarget)+1;r=a[n]??a[0];break}case"ArrowLeft":{const n=a.indexOf(e.currentTarget)-1;r=a[n]??a[a.length-1];break}}r?.focus()};return(0,j.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.A)("tabs",{"tabs--block":n},r),children:i.map((e=>{let{value:r,label:n,attributes:s}=e;return(0,j.jsx)("li",{role:"tab",tabIndex:t===r?0:-1,"aria-selected":t===r,ref:e=>a.push(e),onKeyDown:d,onClick:u,...s,className:(0,l.A)("tabs__item",b.tabItem,s?.className,{"tabs__item--active":t===r}),children:n??r},r)}))})}function y(e){let{lazy:r,children:n,selectedValue:l}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(r){const e=s.find((e=>e.props.value===l));return e?(0,t.cloneElement)(e,{className:"margin-top--md"}):null}return(0,j.jsx)("div",{className:"margin-top--md",children:s.map(((e,r)=>(0,t.cloneElement)(e,{key:r,hidden:e.props.value!==l})))})}function g(e){const r=x(e);return(0,j.jsxs)("div",{className:(0,l.A)("tabs-container",b.tabList),children:[(0,j.jsx)(v,{...e,...r}),(0,j.jsx)(y,{...e,...r})]})}function P(e){const r=(0,f.A)();return(0,j.jsx)(g,{...e,children:d(e.children)},String(r))}},6655:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>i});var t=n(6166);const l={},s=t.createContext(l);function o(e){const r=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:o(e.components),t.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/b24dde81.d302e45e.js b/docs/assets/js/b24dde81.d302e45e.js deleted file mode 100644 index 2642c99..0000000 --- a/docs/assets/js/b24dde81.d302e45e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[9863],{36:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>m,contentTitle:()=>h,default:()=>b,frontMatter:()=>d,metadata:()=>p,toc:()=>x});var t=n(678),l=n(6655),s=[,(e,r,n)=>{var t=n(2),l=n(3),s=n(4),o=n(6);e.exports=function(e,r){return t(e)||l(e,r)||s(e,r)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,l,s,o,i=[],a=!0,c=!1;try{if(s=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;a=!1}else for(;!(a=(t=s.call(n)).done)&&(i.push(t.value),i.length!==r);a=!0);}catch(u){c=!0,l=u}finally{try{if(!a&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw l}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},(e,r,n)=>{var t=n(5);e.exports=function(e,r){if(e){if("string"==typeof e)return t(e,r);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)?t(e,r):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},e=>{e.exports=function(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}],o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return s[e](n,n.exports,i),n.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var n in r)i.o(r,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{i.r(a),i.d(a,{buildCacheAsyncFn:()=>s,buildPromiseHandler:()=>l,callLikeSerial:()=>t,toPromise:()=>n});var e=i(1),r=i.n(e);function n(e){return"function"==typeof e?n(e()):e instanceof Promise?e:!1===e?Promise.reject():Promise.resolve(e)}function t(e){return e.reduce((function(e,r){return e.then(r)}),Promise.resolve())}function l(){var e=void 0,r=void 0;return[new Promise((function(n,t){e=n,r=t})),e,r]}function s(e){var n=[],t=!1,l=null;return function(){return l||(t||(t=!0,e.apply(void 0,arguments).then((function(e){n.forEach((function(n){var t=r()(n,2),l=t[0];t[1];return l(e)})),l=Promise.resolve(e)})).catch((function(e){n.forEach((function(n){var t=r()(n,2);t[0];return(0,t[1])(e)})),l=Promise.reject(e)})).finally((function(){t=!1,n=[]}))),new Promise((function(e,r){n.push([e,r])})))}}})();var c=n(5807),u=n(4609);const d={title:"promise",description:"promise-api"},h=void 0,p={id:"promise/index",title:"promise",description:"promise-api",source:"@site/docs/promise/index.mdx",sourceDirName:"promise",slug:"/promise/",permalink:"/jelper/docs/promise/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/promise/index.mdx",tags:[],version:"current",frontMatter:{title:"promise",description:"promise-api"},sidebar:"tutorialSidebar",previous:{title:"useValue",permalink:"/jelper/docs/hooks/useValue/TEST"},next:{title:"store",permalink:"/jelper/docs/store/"}},m={},x=[{value:"Example",id:"example",level:3},{value:"toPromise",id:"topromise",level:4},{value:"callLikeSerial",id:"calllikeserial",level:4},{value:"buildPromiseHandler",id:"buildpromisehandler",level:4},{value:"buildCacheAsyncFn",id:"buildcacheasyncfn",level:4},{value:"Api",id:"api",level:3},{value:"toPromise",id:"topromise-1",level:4},{value:"callLikeSerial",id:"calllikeserial-1",level:4},{value:"buildPromiseHandler",id:"buildpromisehandler-1",level:4},{value:"buildCacheAsyncFn",id:"buildcacheasyncfn-1",level:4}];function f(e){const r={code:"code",h3:"h3",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.A,{children:[(0,t.jsx)(u.A,{value:"npm",label:"npm",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-shell",children:"npm istall @jelper/promise\n"})})}),(0,t.jsx)(u.A,{value:"pnpm",label:"pnpm",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-shell",children:"pnpm istall @jelper/promise\n"})})}),(0,t.jsx)(u.A,{value:"yarn",label:"yarn",children:(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-bash",children:"yarn istall @jelper/promise\n"})})})]}),"\n",(0,t.jsx)(r.h3,{id:"example",children:"Example"}),"\n",(0,t.jsx)(r.h4,{id:"topromise",children:"toPromise"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { toPromise } from '@jelper/promise';\r\n\r\n// \u8fd4\u56de resolove \u60c5\u51b5\r\ntoPromise(1) // Promise.resolove(1);\r\ntoPromise(true) // Promise.resolove(true);\r\ntoPromise('xxxx') // Promise.resolove('xxxx');\r\ntoPromise({}) // Promise.resolove({});\r\ntoPromise(() => () => 'ok') // Promise.resolove('ok');\r\ntoPromise(Promise.resolove('resolove')) //Promise.resolove('resolove');\r\n\r\n// \u8fd4\u56de reject \u60c5\u51b5\r\ntoPromise(false) // Promise.reject(undefined);\r\ntoPromise(() => () => false) // Promise.reject(undefined);\r\ntoPromise(Promise.reject('reject')) // Promise.reject('reject');\r\n\n"})}),"\n",(0,t.jsx)(r.h4,{id:"calllikeserial",children:"callLikeSerial"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { callLikeSerial } from '@jelper/promise';\r\n\r\ncallLikeSerial([\r\n () => console.log('begin'),\r\n () => new Promise((r) => {\r\n setTimeout(() => {\r\n console.log('Promise');\r\n r('result');\r\n }, 1000);\r\n }),\r\n (data) => console.log(data),\r\n]).then(() => console.log('end'));\r\n\r\n// begin promise result end\r\n\n"})}),"\n",(0,t.jsx)(r.h4,{id:"buildpromisehandler",children:"buildPromiseHandler"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { buildPromiseHandler } from '@jelper/promise';\r\n\r\nconst [promise, resolve, reject] = buildPromiseHandler();\r\n\r\nPromise.then(() => {\r\n // \u6267\u884c\r\n})\r\n\r\nresolve(); // or reject();\r\n\n"})}),"\n",(0,t.jsx)(r.h4,{id:"buildcacheasyncfn",children:"buildCacheAsyncFn"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-tsx",children:"import { buildCacheAsyncFn } from '@jelper/promise';\r\n\r\nconst getAsyncData = buildCacheAsyncFn(() => {\r\n console.log('\u6267\u884c fn')\r\n return new Promise((r) => {\r\n setTimeout(() => {\r\n r('result');\r\n }, 1000);\r\n });\r\n});\r\n\r\nconsole.log(getAsyncData());\r\nconsole.log(getAsyncData());\r\n\r\n// \u6267\u884c fn\r\n// result\r\n// result\r\n\n"})}),"\n",(0,t.jsx)(r.h3,{id:"api",children:"Api"}),"\n",(0,t.jsx)(r.h4,{id:"topromise-1",children:"toPromise"}),"\n",(0,t.jsxs)(r.p,{children:["\u5904\u7406\u94a9\u5b50\u51fd\u6570\u8fd4\u56de\u503c\uff0c\u5c06\u4e0d\u540c\u7c7b\u578b\u6570\u636e\u8f6c\u6210",(0,t.jsx)("em",{children:"promise"}),"\u5b9e\u4f8b\uff0c\u65b9\u4fbf\u6267\u884c\u540e\u7eed\u64cd\u4f5c"]}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"toPromise"}),(0,t.jsx)(r.td,{children:"any"}),(0,t.jsx)(r.td,{children:"Promise"})]})})]}),"\n",(0,t.jsx)(r.h4,{id:"calllikeserial-1",children:"callLikeSerial"}),"\n",(0,t.jsx)(r.p,{children:"\u94fe\u5f0f\u8c03\u7528\u65b9\u6cd5"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"callLikeSerial"}),(0,t.jsx)(r.td,{children:"Array<() => Promise>"}),(0,t.jsx)(r.td,{children:"Promise"})]})})]}),"\n",(0,t.jsx)(r.h4,{id:"buildpromisehandler-1",children:"buildPromiseHandler"}),"\n",(0,t.jsx)(r.p,{children:"\u6784\u5efa Promise \u53e5\u67c4\uff0c\u5c06 promise\u7684 resolve reject \u66b4\u9732\u51fa\u53bb"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"callLikeSerial"}),(0,t.jsx)(r.td,{children:"--"}),(0,t.jsx)(r.td,{children:"[promise, resolove, reject]"})]})})]}),"\n",(0,t.jsx)(r.h4,{id:"buildcacheasyncfn-1",children:"buildCacheAsyncFn"}),"\n",(0,t.jsx)(r.p,{children:"\u6784\u5efa\u7f13\u5b58\u7ed3\u679c\u7684\u5f02\u6b65\u51fd\u6570"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"\u65b9\u6cd5"}),(0,t.jsx)(r.th,{children:"\u53c2\u6570"}),(0,t.jsx)(r.th,{children:"\u8fd4\u56de\u503c"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"buildCacheAsyncFn"}),(0,t.jsx)(r.td,{children:"() => Promise"}),(0,t.jsx)(r.td,{children:"() => Promise"})]})})]})]})}function b(e={}){const{wrapper:r}={...(0,l.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},4609:(e,r,n)=>{n.d(r,{A:()=>o});n(6166);var t=n(27);const l={tabItem:"tabItem_bifL"};var s=n(678);function o(e){let{children:r,hidden:n,className:o}=e;return(0,s.jsx)("div",{role:"tabpanel",className:(0,t.A)(l.tabItem,o),hidden:n,children:r})}},5807:(e,r,n)=>{n.d(r,{A:()=>P});var t=n(6166),l=n(27),s=n(430),o=n(5261),i=n(8093),a=n(387),c=n(112),u=n(4228);function d(e){return t.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,t.isValidElement)(e)&&function(e){const{props:r}=e;return!!r&&"object"==typeof r&&"value"in r}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:r,children:n}=e;return(0,t.useMemo)((()=>{const e=r??function(e){return d(e).map((e=>{let{props:{value:r,label:n,attributes:t,default:l}}=e;return{value:r,label:n,attributes:t,default:l}}))}(n);return function(e){const r=(0,c.X)(e,((e,r)=>e.value===r.value));if(r.length>0)throw new Error(`Docusaurus error: Duplicate values "${r.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[r,n])}function p(e){let{value:r,tabValues:n}=e;return n.some((e=>e.value===r))}function m(e){let{queryString:r=!1,groupId:n}=e;const l=(0,o.W6)(),s=function(e){let{queryString:r=!1,groupId:n}=e;if("string"==typeof r)return r;if(!1===r)return null;if(!0===r&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:r,groupId:n});return[(0,a.aZ)(s),(0,t.useCallback)((e=>{if(!s)return;const r=new URLSearchParams(l.location.search);r.set(s,e),l.replace({...l.location,search:r.toString()})}),[s,l])]}function x(e){const{defaultValue:r,queryString:n=!1,groupId:l}=e,s=h(e),[o,a]=(0,t.useState)((()=>function(e){let{defaultValue:r,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(r){if(!p({value:r,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${r}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return r}const t=n.find((e=>e.default))??n[0];if(!t)throw new Error("Unexpected error: 0 tabValues");return t.value}({defaultValue:r,tabValues:s}))),[c,d]=m({queryString:n,groupId:l}),[x,f]=function(e){let{groupId:r}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(r),[l,s]=(0,u.Dv)(n);return[l,(0,t.useCallback)((e=>{n&&s.set(e)}),[n,s])]}({groupId:l}),b=(()=>{const e=c??x;return p({value:e,tabValues:s})?e:null})();(0,i.A)((()=>{b&&a(b)}),[b]);return{selectedValue:o,selectValue:(0,t.useCallback)((e=>{if(!p({value:e,tabValues:s}))throw new Error(`Can't select invalid tab value=${e}`);a(e),d(e),f(e)}),[d,f,s]),tabValues:s}}var f=n(7007);const b={tabList:"tabList_R1Bj",tabItem:"tabItem_Lr5a"};var j=n(678);function v(e){let{className:r,block:n,selectedValue:t,selectValue:o,tabValues:i}=e;const a=[],{blockElementScrollPositionUntilNextRender:c}=(0,s.a_)(),u=e=>{const r=e.currentTarget,n=a.indexOf(r),l=i[n].value;l!==t&&(c(r),o(l))},d=e=>{let r=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const n=a.indexOf(e.currentTarget)+1;r=a[n]??a[0];break}case"ArrowLeft":{const n=a.indexOf(e.currentTarget)-1;r=a[n]??a[a.length-1];break}}r?.focus()};return(0,j.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.A)("tabs",{"tabs--block":n},r),children:i.map((e=>{let{value:r,label:n,attributes:s}=e;return(0,j.jsx)("li",{role:"tab",tabIndex:t===r?0:-1,"aria-selected":t===r,ref:e=>a.push(e),onKeyDown:d,onClick:u,...s,className:(0,l.A)("tabs__item",b.tabItem,s?.className,{"tabs__item--active":t===r}),children:n??r},r)}))})}function y(e){let{lazy:r,children:n,selectedValue:l}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(r){const e=s.find((e=>e.props.value===l));return e?(0,t.cloneElement)(e,{className:"margin-top--md"}):null}return(0,j.jsx)("div",{className:"margin-top--md",children:s.map(((e,r)=>(0,t.cloneElement)(e,{key:r,hidden:e.props.value!==l})))})}function g(e){const r=x(e);return(0,j.jsxs)("div",{className:(0,l.A)("tabs-container",b.tabList),children:[(0,j.jsx)(v,{...e,...r}),(0,j.jsx)(y,{...e,...r})]})}function P(e){const r=(0,f.A)();return(0,j.jsx)(g,{...e,children:d(e.children)},String(r))}},6655:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>i});var t=n(6166);const l={},s=t.createContext(l);function o(e){const r=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:o(e.components),t.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/6f1d8993.77d760db.js b/docs/assets/js/b26bf03a.c4853798.js similarity index 66% rename from docs/assets/js/6f1d8993.77d760db.js rename to docs/assets/js/b26bf03a.c4853798.js index a5a2385..ff4de44 100644 --- a/docs/assets/js/6f1d8993.77d760db.js +++ b/docs/assets/js/b26bf03a.c4853798.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[3957],{1966:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5389],{1966:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/docs/assets/js/c38eb2df.36a46796.js b/docs/assets/js/c38eb2df.36a46796.js new file mode 100644 index 0000000..6712d26 --- /dev/null +++ b/docs/assets/js/c38eb2df.36a46796.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[1986],{1596:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>r,default:()=>h,frontMatter:()=>u,metadata:()=>i,toc:()=>o});var t=n(678),l=n(6655);const u={title:"hooks",sort:1},r=void 0,i={id:"hooks/index",title:"hooks",description:"hooks",source:"@site/docs/hooks/index.mdx",sourceDirName:"hooks",slug:"/hooks/",permalink:"/jelper/docs/hooks/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/hooks/index.mdx",tags:[],version:"current",frontMatter:{title:"hooks",sort:1},sidebar:"tutorialSidebar",previous:{title:"handler",permalink:"/jelper/docs/handler/"},next:{title:"useValue",permalink:"/jelper/docs/hooks/useValue/"}},a={},o=[{value:"hooks",id:"hooks",level:3},{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:4},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",level:4},{value:"hooks\u5217\u8868",id:"hooks\u5217\u8868",level:4},{value:"useSafeState",id:"usesafestate",level:5},{value:"useSafeCb",id:"usesafecb",level:4},{value:"useRtRef",id:"usertref",level:4},{value:"useRtState",id:"usertstate",level:4},{value:"useRtCb",id:"usertcb",level:4},{value:"useRtMemo",id:"usertmemo",level:4},{value:"useRtEffect",id:"userteffect",level:4},{value:"useBoolState",id:"useboolstate",level:4},{value:"useParamsState",id:"useparamsstate",level:4},{value:"useUpdateEffect",id:"useupdateeffect",level:4},{value:"useIsUnmount",id:"useisunmount",level:4},{value:"useCreate",id:"usecreate",level:4},{value:"useMount",id:"usemount",level:4},{value:"useUnmount",id:"useunmount",level:4},{value:"useThrottle",id:"usethrottle",level:4},{value:"useDebounce",id:"usedebounce",level:4},{value:"useAsync",id:"useasync",level:4},{value:"useTimeout",id:"usetimeout",level:4},{value:"useInterval",id:"useinterval",level:4},{value:"useListener",id:"uselistener",level:4},{value:"useResizeObserver",id:"useresizeobserver",level:4}];function d(e){const s={a:"a",code:"code",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",pre:"pre",ul:"ul",...(0,l.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h3,{id:"hooks",children:"hooks"}),"\n",(0,t.jsx)(s.p,{children:"React Hooks \u5e93\uff0c\u5305\u542breact\u57fa\u7840hooks\u7684\u62d3\u5c55\uff0c\u751f\u547d\u5468\u671f\u7684\u6a21\u62df\uff0c\u6d4f\u89c8\u5668api\u7684\u5c01\u88c5\u7b49\u80fd\u529b\uff1b"}),"\n",(0,t.jsx)(s.h4,{id:"\u5b89\u88c5",children:"\u5b89\u88c5"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-bash",children:"npm install @jelper/hooks\n"})}),"\n",(0,t.jsx)(s.h4,{id:"\u793a\u4f8b",children:"\u793a\u4f8b"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-jsx",children:"import { useCreate } from '@jelper/hooks';\n\nexport const Demo = () => {\n const state = useCreate(() => {\n console.log('\u540c\u6b65\u6267\u884c\uff0c \u53ea\u6267\u884c\u4e00\u6b21')\n });\n return Demo;\n}\n"})}),"\n",(0,t.jsx)(s.h4,{id:"hooks\u5217\u8868",children:"hooks\u5217\u8868"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useSafeState",children:"useSafeState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useSafeCb",children:"useSafeCb"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtRef",children:"useRtRef"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtState",children:"useRtState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtCb",children:"useRtCb"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtMemo",children:"useRtMemo"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtEffect",children:"useRtEffect"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useBoolState",children:"useBoolState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useParamsState",children:"useParamsState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useUpdateEffect",children:"useUpdateEffect"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useIsUnmount",children:"useIsUnmount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useCreate",children:"useCreate"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useMount",children:"useMount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useUnmount",children:"useUnmount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useThrottle",children:"useThrottle"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useDebounce",children:"useDebounce"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useAsync",children:"useAsync"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useTimeout",children:"useTimeout"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useInterval",children:"useInterval"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useListener",children:"useListener"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useResizeObserver",children:"useResizeObserver"})}),"\n"]}),"\n",(0,t.jsx)(s.h5,{id:"usesafestate",children:"useSafeState"}),"\n",(0,t.jsx)(s.h4,{id:"usesafecb",children:"useSafeCb"}),"\n",(0,t.jsx)(s.h4,{id:"usertref",children:"useRtRef"}),"\n",(0,t.jsx)(s.h4,{id:"usertstate",children:"useRtState"}),"\n",(0,t.jsx)(s.h4,{id:"usertcb",children:"useRtCb"}),"\n",(0,t.jsx)(s.h4,{id:"usertmemo",children:"useRtMemo"}),"\n",(0,t.jsx)(s.h4,{id:"userteffect",children:"useRtEffect"}),"\n",(0,t.jsx)(s.h4,{id:"useboolstate",children:"useBoolState"}),"\n",(0,t.jsx)(s.h4,{id:"useparamsstate",children:"useParamsState"}),"\n",(0,t.jsx)(s.h4,{id:"useupdateeffect",children:"useUpdateEffect"}),"\n",(0,t.jsx)(s.h4,{id:"useisunmount",children:"useIsUnmount"}),"\n",(0,t.jsx)(s.h4,{id:"usecreate",children:"useCreate"}),"\n",(0,t.jsx)(s.h4,{id:"usemount",children:"useMount"}),"\n",(0,t.jsx)(s.h4,{id:"useunmount",children:"useUnmount"}),"\n",(0,t.jsx)(s.h4,{id:"usethrottle",children:"useThrottle"}),"\n",(0,t.jsx)(s.h4,{id:"usedebounce",children:"useDebounce"}),"\n",(0,t.jsx)(s.h4,{id:"useasync",children:"useAsync"}),"\n",(0,t.jsx)(s.h4,{id:"usetimeout",children:"useTimeout"}),"\n",(0,t.jsx)(s.h4,{id:"useinterval",children:"useInterval"}),"\n",(0,t.jsx)(s.h4,{id:"uselistener",children:"useListener"}),"\n",(0,t.jsx)(s.h4,{id:"useresizeobserver",children:"useResizeObserver"})]})}function h(e={}){const{wrapper:s}={...(0,l.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},6655:(e,s,n)=>{n.d(s,{R:()=>r,x:()=>i});var t=n(6166);const l={},u=t.createContext(l);function r(e){const s=t.useContext(u);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:r(e.components),t.createElement(u.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/c38eb2df.6eeb2415.js b/docs/assets/js/c38eb2df.6eeb2415.js deleted file mode 100644 index c5222f5..0000000 --- a/docs/assets/js/c38eb2df.6eeb2415.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[1986],{1596:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>u,default:()=>h,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var t=n(678),l=n(6655);const r={title:"title",sort:1},u=void 0,i={id:"hooks/index",title:"title",description:"hooks",source:"@site/docs/hooks/index.mdx",sourceDirName:"hooks",slug:"/hooks/",permalink:"/jelper/docs/hooks/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/hooks/index.mdx",tags:[],version:"current",frontMatter:{title:"title",sort:1},sidebar:"tutorialSidebar",previous:{title:"handler",permalink:"/jelper/docs/handler/"},next:{title:"hooks",permalink:"/jelper/docs/hooks/useAsync"}},a={},d=[{value:"hooks",id:"hooks",level:3},{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:4},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",level:4},{value:"hooks\u5217\u8868",id:"hooks\u5217\u8868",level:4},{value:"useSafeState",id:"usesafestate",level:5},{value:"useSafeCb",id:"usesafecb",level:4},{value:"useRtRef",id:"usertref",level:4},{value:"useRtState",id:"usertstate",level:4},{value:"useRtCb",id:"usertcb",level:4},{value:"useRtMemo",id:"usertmemo",level:4},{value:"useRtEffect",id:"userteffect",level:4},{value:"useBoolState",id:"useboolstate",level:4},{value:"useParamsState",id:"useparamsstate",level:4},{value:"useUpdateEffect",id:"useupdateeffect",level:4},{value:"useIsUnmount",id:"useisunmount",level:4},{value:"useCreate",id:"usecreate",level:4},{value:"useMount",id:"usemount",level:4},{value:"useUnmount",id:"useunmount",level:4},{value:"useThrottle",id:"usethrottle",level:4},{value:"useDebounce",id:"usedebounce",level:4},{value:"useAsync",id:"useasync",level:4},{value:"useTimeout",id:"usetimeout",level:4},{value:"useInterval",id:"useinterval",level:4},{value:"useListener",id:"uselistener",level:4},{value:"useResizeObserver",id:"useresizeobserver",level:4}];function o(e){const s={a:"a",code:"code",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",pre:"pre",ul:"ul",...(0,l.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h3,{id:"hooks",children:"hooks"}),"\n",(0,t.jsx)(s.p,{children:"React Hooks \u5e93\uff0c\u5305\u542breact\u57fa\u7840hooks\u7684\u62d3\u5c55\uff0c\u751f\u547d\u5468\u671f\u7684\u6a21\u62df\uff0c\u6d4f\u89c8\u5668api\u7684\u5c01\u88c5\u7b49\u80fd\u529b\uff1b"}),"\n",(0,t.jsx)(s.h4,{id:"\u5b89\u88c5",children:"\u5b89\u88c5"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-bash",children:"npm install @jelper/hooks\n"})}),"\n",(0,t.jsx)(s.h4,{id:"\u793a\u4f8b",children:"\u793a\u4f8b"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-jsx",children:"import { useCreate } from '@jelper/hooks';\r\n\r\nexport const Demo = () => {\r\n const state = useCreate(() => {\r\n console.log('\u540c\u6b65\u6267\u884c\uff0c \u53ea\u6267\u884c\u4e00\u6b21')\r\n });\r\n return Demo;\r\n}\n"})}),"\n",(0,t.jsx)(s.h4,{id:"hooks\u5217\u8868",children:"hooks\u5217\u8868"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useSafeState",children:"useSafeState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useSafeCb",children:"useSafeCb"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtRef",children:"useRtRef"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtState",children:"useRtState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtCb",children:"useRtCb"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtMemo",children:"useRtMemo"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useRtEffect",children:"useRtEffect"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useBoolState",children:"useBoolState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useParamsState",children:"useParamsState"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useUpdateEffect",children:"useUpdateEffect"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useIsUnmount",children:"useIsUnmount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useCreate",children:"useCreate"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useMount",children:"useMount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useUnmount",children:"useUnmount"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useThrottle",children:"useThrottle"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useDebounce",children:"useDebounce"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useAsync",children:"useAsync"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useTimeout",children:"useTimeout"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useInterval",children:"useInterval"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useListener",children:"useListener"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"#useResizeObserver",children:"useResizeObserver"})}),"\n"]}),"\n",(0,t.jsx)(s.h5,{id:"usesafestate",children:"useSafeState"}),"\n",(0,t.jsx)(s.h4,{id:"usesafecb",children:"useSafeCb"}),"\n",(0,t.jsx)(s.h4,{id:"usertref",children:"useRtRef"}),"\n",(0,t.jsx)(s.h4,{id:"usertstate",children:"useRtState"}),"\n",(0,t.jsx)(s.h4,{id:"usertcb",children:"useRtCb"}),"\n",(0,t.jsx)(s.h4,{id:"usertmemo",children:"useRtMemo"}),"\n",(0,t.jsx)(s.h4,{id:"userteffect",children:"useRtEffect"}),"\n",(0,t.jsx)(s.h4,{id:"useboolstate",children:"useBoolState"}),"\n",(0,t.jsx)(s.h4,{id:"useparamsstate",children:"useParamsState"}),"\n",(0,t.jsx)(s.h4,{id:"useupdateeffect",children:"useUpdateEffect"}),"\n",(0,t.jsx)(s.h4,{id:"useisunmount",children:"useIsUnmount"}),"\n",(0,t.jsx)(s.h4,{id:"usecreate",children:"useCreate"}),"\n",(0,t.jsx)(s.h4,{id:"usemount",children:"useMount"}),"\n",(0,t.jsx)(s.h4,{id:"useunmount",children:"useUnmount"}),"\n",(0,t.jsx)(s.h4,{id:"usethrottle",children:"useThrottle"}),"\n",(0,t.jsx)(s.h4,{id:"usedebounce",children:"useDebounce"}),"\n",(0,t.jsx)(s.h4,{id:"useasync",children:"useAsync"}),"\n",(0,t.jsx)(s.h4,{id:"usetimeout",children:"useTimeout"}),"\n",(0,t.jsx)(s.h4,{id:"useinterval",children:"useInterval"}),"\n",(0,t.jsx)(s.h4,{id:"uselistener",children:"useListener"}),"\n",(0,t.jsx)(s.h4,{id:"useresizeobserver",children:"useResizeObserver"})]})}function h(e={}){const{wrapper:s}={...(0,l.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},6655:(e,s,n)=>{n.d(s,{R:()=>u,x:()=>i});var t=n(6166);const l={},r=t.createContext(l);function u(e){const s=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:u(e.components),t.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/d9f32620.38879f0a.js b/docs/assets/js/d9f32620.4cbecc5d.js similarity index 96% rename from docs/assets/js/d9f32620.38879f0a.js rename to docs/assets/js/d9f32620.4cbecc5d.js index 1e8f6ca..6bbd5ab 100644 --- a/docs/assets/js/d9f32620.38879f0a.js +++ b/docs/assets/js/d9f32620.4cbecc5d.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5557],{7779:(e,o,s)=>{s.r(o),s.d(o,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=s(678),n=s(6655);const r={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},l=void 0,a={permalink:"/jelper/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"Docusaurus blogging features are powered by the blog plugin.",date:"2021-08-26T00:00:00.000Z",tags:[{label:"facebook",permalink:"/jelper/blog/tags/facebook"},{label:"hello",permalink:"/jelper/blog/tags/hello"},{label:"docusaurus",permalink:"/jelper/blog/tags/docusaurus"}],readingTime:.405,hasTruncateMarker:!1,authors:[{name:"S\xe9bastien Lorber",title:"Docusaurus maintainer",url:"https://sebastienlorber.com",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},unlisted:!1,nextItem:{title:"MDX Blog Post",permalink:"/jelper/blog/mdx-blog-post"}},c={authorsImageUrls:[void 0,void 0]},u=[];function i(e){const o={a:"a",code:"code",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/blog",children:"Docusaurus blogging features"})," are powered by the ",(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog",children:"blog plugin"}),"."]}),"\n",(0,t.jsxs)(o.p,{children:["Simply add Markdown files (or folders) to the ",(0,t.jsx)(o.code,{children:"blog"})," directory."]}),"\n",(0,t.jsxs)(o.p,{children:["Regular blog authors can be added to ",(0,t.jsx)(o.code,{children:"authors.yml"}),"."]}),"\n",(0,t.jsx)(o.p,{children:"The blog post date can be extracted from filenames, such as:"}),"\n",(0,t.jsxs)(o.ul,{children:["\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome.md"})}),"\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome/index.md"})}),"\n"]}),"\n",(0,t.jsx)(o.p,{children:"A blog post folder can be convenient to co-locate blog post images:"}),"\n",(0,t.jsx)(o.p,{children:(0,t.jsx)(o.img,{alt:"Docusaurus Plushie",src:s(6819).A+"",width:"1500",height:"500"})}),"\n",(0,t.jsx)(o.p,{children:"The blog supports tags as well!"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.strong,{children:"And if you don't want a blog"}),": just delete this directory, and use ",(0,t.jsx)(o.code,{children:"blog: false"})," in your Docusaurus config."]})]})}function d(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},6819:(e,o,s)=>{s.d(o,{A:()=>t});const t=s.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"},6655:(e,o,s)=>{s.d(o,{R:()=>l,x:()=>a});var t=s(6166);const n={},r=t.createContext(n);function l(e){const o=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function a(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5557],{7779:(e,o,s)=>{s.r(o),s.d(o,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=s(678),n=s(6655);const r={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},l=void 0,a={permalink:"/jelper/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"Docusaurus blogging features are powered by the blog plugin.",date:"2021-08-26T00:00:00.000Z",tags:[{label:"facebook",permalink:"/jelper/blog/tags/facebook"},{label:"hello",permalink:"/jelper/blog/tags/hello"},{label:"docusaurus",permalink:"/jelper/blog/tags/docusaurus"}],readingTime:.405,hasTruncateMarker:!1,authors:[{name:"S\xe9bastien Lorber",title:"Docusaurus maintainer",url:"https://sebastienlorber.com",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},unlisted:!1,nextItem:{title:"MDX Blog Post",permalink:"/jelper/blog/mdx-blog-post"}},c={authorsImageUrls:[void 0,void 0]},u=[];function i(e){const o={a:"a",code:"code",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/blog",children:"Docusaurus blogging features"})," are powered by the ",(0,t.jsx)(o.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog",children:"blog plugin"}),"."]}),"\n",(0,t.jsxs)(o.p,{children:["Simply add Markdown files (or folders) to the ",(0,t.jsx)(o.code,{children:"blog"})," directory."]}),"\n",(0,t.jsxs)(o.p,{children:["Regular blog authors can be added to ",(0,t.jsx)(o.code,{children:"authors.yml"}),"."]}),"\n",(0,t.jsx)(o.p,{children:"The blog post date can be extracted from filenames, such as:"}),"\n",(0,t.jsxs)(o.ul,{children:["\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome.md"})}),"\n",(0,t.jsx)(o.li,{children:(0,t.jsx)(o.code,{children:"2019-05-30-welcome/index.md"})}),"\n"]}),"\n",(0,t.jsx)(o.p,{children:"A blog post folder can be convenient to co-locate blog post images:"}),"\n",(0,t.jsx)(o.p,{children:(0,t.jsx)(o.img,{alt:"Docusaurus Plushie",src:s(8116).A+"",width:"1500",height:"500"})}),"\n",(0,t.jsx)(o.p,{children:"The blog supports tags as well!"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.strong,{children:"And if you don't want a blog"}),": just delete this directory, and use ",(0,t.jsx)(o.code,{children:"blog: false"})," in your Docusaurus config."]})]})}function d(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},8116:(e,o,s)=>{s.d(o,{A:()=>t});const t=s.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"},6655:(e,o,s)=>{s.d(o,{R:()=>l,x:()=>a});var t=s(6166);const n={},r=t.createContext(n);function l(e){const o=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function a(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/dbb2b5fa.bae29f6a.js b/docs/assets/js/dbb2b5fa.bae29f6a.js new file mode 100644 index 0000000..76e9166 --- /dev/null +++ b/docs/assets/js/dbb2b5fa.bae29f6a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[4469],{3179:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>a,default:()=>p,frontMatter:()=>u,metadata:()=>l,toc:()=>i});var s=n(678),o=n(6655);const u={title:"useValue",sort:2},a="useValue",l={id:"hooks/useValue/index",title:"useValue",description:"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value",source:"@site/docs/hooks/useValue/index.mdx",sourceDirName:"hooks/useValue",slug:"/hooks/useValue/",permalink:"/jelper/docs/hooks/useValue/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/hooks/useValue/index.mdx",tags:[],version:"current",frontMatter:{title:"useValue",sort:2},sidebar:"tutorialSidebar",previous:{title:"hooks",permalink:"/jelper/docs/hooks/"},next:{title:"promise",permalink:"/jelper/docs/promise/"}},r={},i=[{value:"\u4f7f\u7528",id:"\u4f7f\u7528",level:2},{value:"API",id:"api",level:3}];function c(e){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"usevalue",children:"useValue"}),"\n",(0,s.jsx)(t.p,{children:"react\u53d7\u63a7\u7ec4\u4ef6hook, useValue\u53d7\u63a7\u4f20\u5165value"}),"\n",(0,s.jsx)(t.h2,{id:"\u4f7f\u7528",children:"\u4f7f\u7528"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"import { useValue } from '@jelper/hooks'\n\nfunction Demo() {\n const [outValue, setOutValue] = useState('')\n const [value, setValue] = useValue(outValue)\n return (\n <>\n setValue(ev.target.value)} />\n \n \n )\n}\n"})}),"\n",(0,s.jsx)(t.h3,{id:"api",children:"API"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"// \u914d\u7f6e\ninterface Options {\n // \u5224\u65ad \u4f20\u5165value\u662f\u5426\u53d8\u66f4\uff0c\u9ed8\u8ba4 ===\n isEqual?: (a:T, b: T) => boolean\n}\ntype SetValue = (v: T|((oldVal: T) => T)) => void\n\ntype UseValue = (val: T, opts: Options) => [T, SetValue];\n"})})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},6655:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>l});var s=n(6166);const o={},u=s.createContext(o);function a(e){const t=s.useContext(u);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(u.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/e3987845.e1b0e77d.js b/docs/assets/js/e3987845.e1b0e77d.js deleted file mode 100644 index a849d91..0000000 --- a/docs/assets/js/e3987845.e1b0e77d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[5684],{3968:(t,e,r)=>{r.r(e),r.d(e,{Demo:()=>b,assets:()=>v,contentTitle:()=>d,default:()=>x,frontMatter:()=>s,metadata:()=>p,toc:()=>y});var n=r(678),u=r(6655),o=r(6166),a=r.t(o,2),f=[,(t,e,r)=>{r.r(e),r.d(e,{default:()=>f});var n=r(2),u=r.n(n),o=r(8),a=r(9);const f=function(t){var e=(0,o.useState)(t),r=u()(e,2),n=r[0],f=r[1];return[n,(0,a.default)(f)]}},(t,e,r)=>{var n=r(3),u=r(4),o=r(5),a=r(7);t.exports=function(t,e){return n(t)||u(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,u,o,a,f=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(f.push(n.value),f.length!==e);l=!0);}catch(i){c=!0,u=i}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw u}}return f}},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(6);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r{t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{t.exports=a},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(10);const o=function(t,e){var r=(0,u.default)();return(0,n.useCallback)((function(){if(!r())return t.apply(void 0,arguments)}),e||[])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(8);const u=function(){var t=(0,n.useRef)(!0);return(0,n.useEffect)((function(){return function(){t.current=!1}}),[]),(0,n.useCallback)((function(){return!t.current}),[])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(8);function u(t){var e=(0,n.useRef)();return e.current=t,e}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>l});var n=r(2),u=r.n(n),o=r(8),a=r(13),f=function(t,e){return t===e};function l(t,e,r){var n=(r||{}).isEqual,l=void 0===n?f:n,c=(0,o.useState)(t),i=u()(c,2),s=i[0],d=i[1],p=(0,a.default)((function(t){d(t),null==e||e(t)}),[]),v=(0,o.useState)(t),b=u()(v,2),y=b[0],m=b[1];return(0,o.useEffect)((function(){l(t,y)||(m(t),l(t,s)||p(t))}),[t,y,s]),[s,d]}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(9),u=r(11);const o=function(t,e){var r=(0,u.default)(t);return(0,n.default)((function(){for(var t,e=arguments.length,n=new Array(e),u=0;u{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(11);const o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,u.default)(t);return(0,n.useMemo)((function(){var t;return null===(t=r.current)||void 0===t?void 0:t.call(r)}),e)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(13);const o=function(t,e){var r=(0,u.default)(t,e);(0,n.useEffect)(r,[r])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>f});var n=r(2),u=r.n(n),o=r(8),a=r(1);const f=function(t){var e=(0,a.default)(t),r=u()(e,2),n=r[0],f=r[1];return[n,(0,o.useCallback)((function(t){f("boolean"==typeof t?t:function(t){return!t})}),[])]}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>s});var n=r(18),u=r.n(n),o=r(2),a=r.n(o),f=r(8),l=r(1);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e{var n=r(19);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(20).default,u=r(21);t.exports=function(t){var e=u(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{var n=r(20).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var u=r.call(t,e||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},(t,e,r)=>{r.r(e),r.d(e,{default:()=>a});var n=r(2),u=r.n(n),o=r(8);function a(t,e){var r=(0,o.useState)(!0),n=u()(r,2),a=n[0],f=n[1];(0,o.useEffect)((function(){if(!a)return t();f(!1)}),e)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(8);const u=function(t){(0,n.useState)(t)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(11);const o=function(t){var e=(0,u.default)(t);(0,n.useEffect)((function(){var t;null===(t=e.current)||void 0===t||t.call(e)}))}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(8);const u=function(t){var e=(0,n.useRef)(t);e.current=t,(0,n.useEffect)((function(){return function(){e.current()}}),[])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>a});var n=r(27),u=r(8),o=r(13);const a=function(t,e,r){var a=(0,o.default)(t);return(0,u.useMemo)((function(){return(0,n.default)((function(){a.apply(void 0,arguments)}),e,r)}),[])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(29),u=r(28);const o=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return(0,u.default)(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),(0,n.default)(t,e,{leading:o,maxWait:e,trailing:a})}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>n});const n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>l});var n=r(28),u=r(41),o=r(30),a=Math.max,f=Math.min;const l=function(t,e,r){var l,c,i,s,d,p,v=0,b=!1,y=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(e){var r=l,n=c;return l=c=void 0,v=e,s=t.apply(n,r)}function g(t){var r=t-p;return void 0===p||r>=e||r<0||y&&t-v>=i}function h(){var t=(0,u.default)();if(g(t))return j(t);d=setTimeout(h,function(t){var r=e-(t-p);return y?f(r,i-(t-v)):r}(t))}function j(t){return d=void 0,m&&l?x(t):(l=c=void 0,s)}function O(){var t=(0,u.default)(),r=g(t);if(l=arguments,c=this,p=t,r){if(void 0===d)return function(t){return v=t,d=setTimeout(h,e),b?x(t):s}(p);if(y)return clearTimeout(d),d=setTimeout(h,e),x(p)}return void 0===d&&(d=setTimeout(h,e)),s}return e=(0,o.default)(e)||0,(0,n.default)(r)&&(b=!!r.leading,i=(y="maxWait"in r)?a((0,o.default)(r.maxWait)||0,e):i,m="trailing"in r?!!r.trailing:m),O.cancel=function(){void 0!==d&&clearTimeout(d),v=0,l=p=c=d=void 0},O.flush=function(){return void 0===d?s:j((0,u.default)())},O}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});var n=r(39),u=r(28),o=r(31),a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;const i=function(t){if("number"==typeof t)return t;if((0,o.default)(t))return NaN;if((0,u.default)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,u.default)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=(0,n.default)(t);var r=f.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):a.test(t)?NaN:+t}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(33),u=r(32);const o=function(t){return"symbol"==typeof t||(0,u.default)(t)&&"[object Symbol]"==(0,n.default)(t)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>n});const n=function(t){return null!=t&&"object"==typeof t}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>f});var n=r(34),u=r(37),o=r(38),a=n.default?n.default.toStringTag:void 0;const f=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?(0,u.default)(t):(0,o.default)(t)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>n});const n=r(35).default.Symbol},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(36),u="object"==typeof self&&self&&self.Object===Object&&self;const o=n.default||u||Function("return this")()},(t,e,n)=>{n.r(e),n.d(e,{default:()=>u});const u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},(t,e,r)=>{r.r(e),r.d(e,{default:()=>l});var n=r(34),u=Object.prototype,o=u.hasOwnProperty,a=u.toString,f=n.default?n.default.toStringTag:void 0;const l=function(t){var e=o.call(t,f),r=t[f];try{t[f]=void 0;var n=!0}catch(l){}var u=a.call(t);return n&&(e?t[f]=r:delete t[f]),u}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=Object.prototype.toString;const u=function(t){return n.call(t)}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(40),u=/^\s+/;const o=function(t){return t?t.slice(0,(0,n.default)(t)+1).replace(u,""):t}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=/\s/;const u=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(35);const u=function(){return n.default.Date.now()}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>a});var n=r(29),u=r(8),o=r(13);const a=function(t,e,r){var a=(0,o.default)(t);return(0,u.useMemo)((function(){return(0,n.default)((function(){a.apply(void 0,arguments)}),e,r)}),[])}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>d});var n=r(18),u=r.n(n),o=r(2),a=r.n(o),f=r(1),l=r(13),c=r(23);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{immediate:!1,catchParam:!1},r=(0,f.default)(null),n=a()(r,2),u=n[0],o=n[1],i=(0,f.default)(e.defParam||{}),d=a()(i,2),p=d[0],v=d[1],b=(0,f.default)(!1),y=a()(b,2),m=y[0],x=y[1],g=(0,f.default)(null),h=a()(g,2),j=h[0],O=h[1],w=(0,l.default)((function(r){var n=e.catchParam?s(s({},p),r||{}):r;return x(!0),O(null),t(n).then(e.format).then((function(t){o(t),v(n)}),O).finally((function(){x(!1)}))}));return(0,c.default)((function(){e.immediate&&w(p)})),{data:u,run:w,loading:m,error:j}}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(13);const o=function(t,e){var r=(0,n.useRef)(),o=(0,n.useCallback)((function(){r.current&&clearTimeout(r.current)}),[]),a=(0,u.default)(t);return(0,n.useEffect)((function(){return r.current=window.setTimeout(a,e),function(){o()}}),[e]),o}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>o});var n=r(8),u=r(13);const o=function(t,e){var r=(0,n.useRef)(),o=(0,n.useCallback)((function(){r.current&&window.clearInterval(r.current)}),[]),a=(0,u.default)(t);return(0,n.useEffect)((function(){return r.current=window.setInterval(a,e),function(){o()}}),[e]),o}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var n=r(15);const u=function(t,e,r){(0,n.default)((function(){return window.addEventListener(t,e,r),function(){window.removeEventListener(t,e)}}))}},(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});var n=r(8),u=r(9),o=null,a=null;function f(){o||(a=new Map,o=new window.ResizeObserver((function(t){null==t||t.forEach((function(t){var e,r;null===(e=a)||void 0===e||null===(r=e.get(null==t?void 0:t.target))||void 0===r||r(t)}))})))}var l=function(t,e){var r,n;o||f(),null===(r=a)||void 0===r||r.set(t,e),null===(n=o)||void 0===n||n.observe(t)},c=function(t){var e,r;o||f(),null===(e=o)||void 0===e||e.unobserve(t),null===(r=a)||void 0===r||r.delete(t)};function i(t,e){var r=(0,u.default)((function(){l(t,e)}),[t,e]),o=(0,u.default)((function(){c(t)}),[t]);return(0,n.useEffect)((function(){return l(t,e),function(){return c(t)}}),[t,e]),[r,o]}}],l={};function c(t){var e=l[t];if(void 0!==e)return e.exports;var r=l[t]={exports:{}};return f[t](r,r.exports,c),r.exports}c.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},c.d=(t,e)=>{for(var r in e)c.o(e,r)&&!c.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{c.r(i),c.d(i,{useAsync:()=>x.default,useBoolState:()=>f.default,useCreate:()=>p.default,useDebounce:()=>m.default,useInterval:()=>h.default,useIsUnmount:()=>d.default,useListener:()=>j.default,useMount:()=>v.default,useParamsState:()=>l.default,useResizeObserver:()=>O.default,useRtCb:()=>u.default,useRtEffect:()=>a.default,useRtMemo:()=>o.default,useRtRef:()=>r.default,useRtState:()=>n.default,useSafeCb:()=>e.default,useSafeState:()=>t.default,useThrottle:()=>y.default,useTimeout:()=>g.default,useUnmount:()=>b.default,useUpdateEffect:()=>s.default});var t=c(1),e=c(9),r=c(11),n=c(12),u=c(13),o=c(14),a=c(15),f=c(16),l=c(17),s=c(22),d=c(10),p=c(23),v=c(24),b=c(25),y=c(26),m=c(42),x=c(43),g=c(44),h=c(45),j=c(46),O=c(47)})();const s={title:"hooks",sort:1},d=void 0,p={id:"hooks/useAsync",title:"hooks",description:"",source:"@site/docs/hooks/useAsync.mdx",sourceDirName:"hooks",slug:"/hooks/useAsync",permalink:"/jelper/docs/hooks/useAsync",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/hooks/useAsync.mdx",tags:[],version:"current",frontMatter:{title:"hooks",sort:1},sidebar:"tutorialSidebar",previous:{title:"title",permalink:"/jelper/docs/hooks/"},next:{title:"useValue",permalink:"/jelper/docs/hooks/useValue/TEST"}},v={},b=()=>{const t={span:"span",...(0,u.R)()},[e,r]=(0,o.useState)(0),a=(0,o.useCallback)((()=>{console.log("useCallback"),r((t=>t+1))}),[]);return(0,o.useEffect)((()=>(console.log("useEffect",e),()=>{console.log("demo useEffect",e)})),[e]),(0,n.jsx)(t.span,{onClick:a,children:e})},y=[];function m(t){return(0,n.jsx)(b,{})}function x(t={}){const{wrapper:e}={...(0,u.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(m,{...t})}):m()}},6655:(t,e,r)=>{r.d(e,{R:()=>a,x:()=>f});var n=r(6166);const u={},o=n.createContext(u);function a(t){const e=n.useContext(o);return n.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function f(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(u):t.components||u:a(t.components),n.createElement(o.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/f4aa6a97.90718505.js b/docs/assets/js/f4aa6a97.90718505.js new file mode 100644 index 0000000..aff62ee --- /dev/null +++ b/docs/assets/js/f4aa6a97.90718505.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[800],{2945:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/docs/assets/js/main.1c90cfd9.js b/docs/assets/js/main.1c90cfd9.js new file mode 100644 index 0000000..277f442 --- /dev/null +++ b/docs/assets/js/main.1c90cfd9.js @@ -0,0 +1,2 @@ +/*! For license information please see main.1c90cfd9.js.LICENSE.txt */ +(self.webpackChunk_jelper_website=self.webpackChunk_jelper_website||[]).push([[8792],{3447:(e,t,n)=>{var r={"./":1808};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=3447},4237:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6166),a=n(678);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},4375:(e,t,n)=>{"use strict";var r=n(6166),a=n(9324),o=n(9918),i=n(1380),l=n(7601);const s=[n(5349),n(6598),n(4063),n(1069)];var u=n(3961),c=n(5261),d=n(5141),p=n(678);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(1260),g=n(7642),h=n(1593),y=n(3732),b=n(4880),v=n(4113),w=n(3517),k=n(2257),x=n(9914),S=n(928);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,v.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,p.jsxs)(m.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,c.zy)();return e+(0,x.applyTrailingSlash)((0,h.A)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,p.jsxs)(m.A,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function _(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,y.p)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.A,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.w})]}),n&&(0,p.jsx)(b.be,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.A,{tag:k.Cy,locale:e}),(0,p.jsx)(m.A,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const j=new Map;function A(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,d.u)(u.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}var T=n(4237),N=n(8036),L=n(8093);function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.A)((()=>{r!==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);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),P("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class D extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?P("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=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(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(0,p.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(c.qh,{location:t,render:()=>e})})}}const I=D,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}: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(1161);const Z=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Z.has(e))(e))return!1;Z.add(e);const t=(0,d.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Y.A)(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),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.A.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.vd,{children:(0,p.jsx)(o.Kd,{children:(0,p.jsx)(W,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};O(window.location.pathname).then(l)}},8036:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6166),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/jelper/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/jelper/docs","mainDocId":"css/index","docs":[{"id":"css/color/index","path":"/jelper/docs/css/color/","sidebar":"tutorialSidebar"},{"id":"css/flex/index","path":"/jelper/docs/css/flex/","sidebar":"tutorialSidebar"},{"id":"css/index","path":"/jelper/docs/css/","sidebar":"tutorialSidebar"},{"id":"css/text/index","path":"/jelper/docs/css/text/","sidebar":"tutorialSidebar"},{"id":"enum/index","path":"/jelper/docs/enum/","sidebar":"tutorialSidebar"},{"id":"handler/index","path":"/jelper/docs/handler/","sidebar":"tutorialSidebar"},{"id":"hooks/index","path":"/jelper/docs/hooks/","sidebar":"tutorialSidebar"},{"id":"hooks/useValue/index","path":"/jelper/docs/hooks/useValue/","sidebar":"tutorialSidebar"},{"id":"promise/index","path":"/jelper/docs/promise/","sidebar":"tutorialSidebar"},{"id":"store/index","path":"/jelper/docs/store/","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/jelper/docs/css/","label":"\u57fa\u7840\u6837\u5f0f\u7247\u6bb5"}}}}],"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(2654);const s=JSON.parse('{"docusaurusVersion":"3.2.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.2.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.2.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.2.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.2.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.2.1"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"3.2.1"}}}');var u=n(678);const c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function p(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},5238:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6166),a=n(7601),o=n(1260),i=n(9914),l=n(9926),s=n(2798),u=n(678);function c(e){let{error:t,tryAgain:n}=e;return(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,u.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)(p,{children:(0,u.jsxs)(g,{fallback:()=>(0,u.jsx)(c,{error:t,tryAgain:n}),children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(l.A,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})})}const m=e=>(0,u.jsx)(f,{...e});class g extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},7601:(e,t,n)=>{"use strict";n.d(t,{A:()=>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}},1260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6166);var r=n(1380),a=n(678);function o(e){return(0,a.jsx)(r.mg,{...e})}},1494:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6166),a=n(9918),o=n(9914),i=n(7642),l=n(1374),s=n(7601),u=n(4665),c=n(1593),d=n(678);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:g,"data-noBrokenLinkCheck":h,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.A)(),{withBaseUrl:k}=(0,c.h)(),x=(0,u.A)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const C=(0,l.A)(E),_=E?.replace("pathname://","");let j=void 0!==_?(A=_,y&&(e=>e.startsWith("/"))(A)?k(A):A):void 0;var A;j&&C&&(j=(0,o.applyTrailingSlash)(j,{trailingSlash:v,baseUrl:w}));const T=(0,r.useRef)(!1),N=n?a.k2:a.N_,L=s.A.canUseIntersectionObserver,P=(0,r.useRef)(),R=()=>{T.current||null==j||(window.docusaurus.preload(j),T.current=!0)};(0,r.useEffect)((()=>(!L&&C&&null!=j&&window.docusaurus.prefetch(j),()=>{L&&P.current&&P.current.disconnect()})),[P,j,L,C]);const O=j?.startsWith("#")??!1,D=!b.target||"_self"===b.target,I=!j||!C||!D||O;return h||!O&&I||x.collectLink(j),b.id&&x.collectAnchor(b.id),I?(0,d.jsx)("a",{ref:S,href:j,...E&&!C&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(N,{...b,onMouseEnter:R,onTouchStart:R,innerRef:e=>{S.current=e,L&&e&&C&&(P.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(P.current.unobserve(e),P.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),P.current.observe(e))},to:j,...n&&{isActive:g,activeClassName:m}})}const f=r.forwardRef(p)},2930:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>null},914:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(6166),a=n(678);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=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 i=n(2654);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},25:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},1374:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},1593:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,h:()=>i});var r=n(6166),a=n(7642),o=n(1374);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.A)(),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.z)(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)}},4665:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6166);n(678);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},7642:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6166),a=n(8036);function o(){return(0,r.useContext)(a.o)}},7007:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6166),a=n(4237);function o(){return(0,r.useContext)(a.o)}},8093:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6166);const a=n(7601).A.canUseDOM?r.useLayoutEffect:r.useEffect},3171:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6166),a=n(2798);function o(){const e=r.useContext(a.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}},1161:(e,t,n)=>{"use strict";n.d(t,{A:()=>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}},2798:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6166),a=n(678);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(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,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},7746:(e,t,n)=>{"use strict";n.d(t,{zK:()=>g,vT:()=>p,Gy:()=>c,HW:()=>h,ht:()=>d,r7:()=>m,jh:()=>f});var r=n(5261),a=n(7642),o=n(25);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.A)();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.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.B6)(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=()=>i("docusaurus-plugin-content-docs")??u,d=e=>{try{return function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=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})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function p(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.zy)();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.B6)(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 f(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function g(e){const t=d(e),{pathname:n}=(0,r.zy)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},7952:(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{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(2396),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()}}},6598:(e,t,n)=>{"use strict";n.r(t);var r=n(6257),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(8782),n(3447)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},6347:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6166);var r=n(27),a=n(914),o=n(3732),i=n(1494),l=n(4665);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_TqQ3",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_stY_"};var u=n(678);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.A)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},6057:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6166);const r={iconExternalLink:"iconExternalLink_Ivpw"};var a=n(678);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("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"})})}},9926:(e,t,n)=>{"use strict";n.d(t,{A:()=>ut});var r=n(6166),a=n(27),o=n(5238),i=n(4880),l=n(5261),s=n(914),u=n(9120),c=n(678);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.T)({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 g(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var h=n(1621),y=n(3517);const b={skipToContent:"skipToContent_AFv3"};function v(){return(0,c.jsx)(g,{className:b.skipToContent})}var w=n(3732),k=n(1091);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_ggrC"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_PN8z"};function _(e){const{announcementBar:t}=(0,w.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const j={announcementBar:"announcementBar_CGLK",announcementBarPlaceholder:"announcementBarPlaceholder_lKma",announcementBarClose:"announcementBarClose_UcBq",announcementBarContent:"announcementBarContent_U2mI"};function A(){const{announcementBar:e}=(0,w.p)(),{isActive:t,close:n}=(0,k.Mj)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:j.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:j.announcementBarPlaceholder}),(0,c.jsx)(_,{className:j.announcementBarContent}),o&&(0,c.jsx)(E,{onClick:n,className:j.announcementBarClose})]})}var T=n(9139),N=n(430);var L=n(1518),P=n(494);const R=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,T.M)(),t=(0,P.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.ZC)(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(0,c.jsx)(R.Provider,{value:n,children:t})}function D(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function I(){const e=(0,r.useContext)(R);if(!e)throw new L.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,P.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:D(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=I();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(6283),z=n(7007);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("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(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("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 U={toggle:"toggle_NqC6",toggleButton:"toggleButton_rRSK",darkToggleIcon:"darkToggleIcon_Q5Et",lightToggleIcon:"lightToggleIcon_FbfU",toggleButtonDisabled:"toggleButtonDisabled_Izx4"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.A)(),l=(0,s.T)({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"===r?(0,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(q),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_D0zm"};function V(e){let{className:t}=e;const n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var W=n(4650);function Q(){return(0,c.jsx)(W.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function K(){const e=(0,T.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({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(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(Q,{}),(0,c.jsx)(V,{className:"margin-right--md"}),(0,c.jsx)(K,{})]})}var Z=n(1494),X=n(1593),J=n(1374);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(6057);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.A)(r),p=(0,X.A)(t),f=(0,X.A)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,J.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,m&&(0,c.jsx)(te.A,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Z.A,{href:s?f:a,...u,...g}):(0,c.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...u,...g})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(7248),le=n(5323),se=n(7642);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_Ra09"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!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)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.A)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,c.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,c.jsx)(r,{...n})}var me=n(4113);function ge(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("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_Fun8";var ye=n(2930);const be={navbarSearchContainer:"navbarSearchContainer_mVFy"};function ve(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.A)(n,be.navbarSearchContainer),children:t})}var we=n(7746),ke=n(1272);var xe=n(4843);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.A)(),p=(0,me.o)(),{search:f,hash:m}=(0,l.zy)(),g=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;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":""}})),...r],h=t?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ge,{className:he}),h]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ve,{className:n,children:(0,c.jsx)(ye.A,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.zK)(r),i=(0,ke.QB)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.zK)(r),i=(0,ke.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.Vd)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.zy)(),p=(0,we.zK)(n),f=(0,we.jh)(n),{savePreferredVersionName:m}=(0,xe.g1)(n),g=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],h=(0,ke.Vd)(n)[0],y=t&&g.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&g.length>1?void 0:Se(h).path;return g.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:g,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function _e(){const e=(0,T.M)(),t=(0,w.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ce,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function je(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.A,{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)",children:"\u2190 Back to main menu"})})}function Ae(){const e=0===(0,w.p)().navbar.items.length,t=I();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(je,{onClick:()=>t.hide()}),t.content]})}function Te(){const e=(0,T.M)();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?(0,c.jsx)(M,{header:(0,c.jsx)(Y,{}),primaryMenu:(0,c.jsx)(_e,{}),secondaryMenu:(0,c.jsx)(Ae,{})}):null}const Ne={navbarHideable:"navbarHideable_E28u",navbarHidden:"navbarHidden_RstI"};function Le(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function Pe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.p)(),i=(0,T.M)(),{navbarRef:l,isNavbarVisible:d}=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.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=l?n(!1):i+u{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(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!d&&Ne.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Le,{onClick:i.toggle}),(0,c.jsx)(Te,{})]})}var Re=n(7677);const Oe="right";function De(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ie(){const{toggle:e,shown:t}=(0,T.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({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",children:(0,c.jsx)(De,{})})}const Me={colorModeToggle:"colorModeToggle_gdWp"};function Fe(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Re.k2,{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}),children:(0,c.jsx)(Ce,{...e})},t)))})}function ze(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Be(){const e=(0,T.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Oe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(ze,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Ie,{}),(0,c.jsx)(Q,{}),(0,c.jsx)(Fe,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Fe,{items:r}),(0,c.jsx)(V,{className:Me.colorModeToggle}),!a&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.A,{})})]})})}function $e(){return(0,c.jsx)(Pe,{children:(0,c.jsx)(Be,{})})}function Ue(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.A)(n),s=(0,X.A)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function qe(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(Ue,{item:t})},t.href??t.to)}function He(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(qe,{item:e},t)))})]})}function Ge(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(He,{column:e},t)))})}function Ve(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function We(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(Ue,{item:t})}function Qe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(We,{item:e}),t.length!==n+1&&(0,c.jsx)(Ve,{})]},n)))})})}function Ke(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ge,{columns:t}):(0,c.jsx)(Qe,{links:t})}var Ye=n(144);const Ze={footerLogoLink:"footerLogoLink_B5wf"};function Xe(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.h)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(Ye.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Je(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:Ze.footerLogoLink,target:t.target,children:(0,c.jsx)(Xe,{logo:t})}):(0,c.jsx)(Xe,{logo:t})}function et(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function tt(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function nt(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(tt,{style:a,links:n&&n.length>0&&(0,c.jsx)(Ke,{links:n}),logo:r&&(0,c.jsx)(Je,{logo:r}),copyright:t&&(0,c.jsx)(et,{copyright:t})})}const rt=r.memo(nt),at=(0,L.fM)([F.a,k.oq,N.Tv,xe.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(P.y_,{children:(0,c.jsx)(T.e,{children:(0,c.jsx)(O,{children:t})})})}]);function ot(e){let{children:t}=e;return(0,c.jsx)(at,{children:t})}var it=n(6347);function lt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(it.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Re.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Re.bq,{error:t})})]})})})}const st={mainWrapper:"mainWrapper_dJHa"};function ut(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.J)(),(0,c.jsxs)(ot,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(A,{}),(0,c.jsx)($e,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(h.G.wrapper.main,st.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(lt,{...e}),children:t})}),!n&&(0,c.jsx)(rt,{})]})}},4650:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6166);var r=n(1494),a=n(1593),o=n(7642),i=n(3732),l=n(144),s=n(678);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.A)(t.src),dark:(0,a.A)(t.srcDark||t.src)},i=(0,s.jsx)(l.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:l}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,a.A)(l?.href||"/"),m=n?"":t,g=l?.alt??m;return(0,s.jsxs)(r.A,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:g,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},928:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6166);var r=n(1260),a=n(678);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},144:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6166),a=n(27),o=n(7007),i=n(6283);const l={themedComponent:"themedComponent_xGFV","themedComponent--light":"themedComponent--light_yhN_","themedComponent--dark":"themedComponent--dark_LpvF"};var s=n(678);function u(e){let{className:t,children:n}=e;const u=(0,o.A)(),{colorMode:c}=(0,i.G)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},7248:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(6166),a=n(7601),o=n(8093),i=n(9635),l=n(678);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.A.canUseDOM)return e?c:d}function g(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:a})}function h(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&u(t)}),[a,t]),a?(0,l.jsx)(g,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?h:g;return(0,l.jsx)(r,{...n})}},1091:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>g,oq:()=>m});var r=n(6166),a=n(7007),o=n(4228),i=n(1518),l=n(3732),s=n(678);const u=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},6283:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>h});var r=n(6166),a=n(7601),o=n(1518),i=n(4228),l=n(3732),s=n(678);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&g(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.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!==c)return;const t=d.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===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4843:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>v});var r=n(6166),a=n(7746),o=n(25),i=n(3732),l=n(1272),s=n(1518),u=n(4228),c=n(678);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function g(){const e=(0,a.Gy)(),t=(0,i.p)().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=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.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){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=g();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.C5?(0,c.jsx)(h,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},2606:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(6166),a=n(1518),o=n(678);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},862:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(6166),a=n(1518),o=n(678);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},9139:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(6166),a=n(494),o=n(2303),i=n(387),l=n(3732),s=n(1518),u=n(678);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,l.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function p(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function f(){const e=r.useContext(c);if(void 0===e)throw new s.dV("NavbarMobileSidebarProvider");return e}},494:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(6166),a=n(1518),o=n(678);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},3517:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6166);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)}}),[])}},2303:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(6166),a=n(7601);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},1621:(e,t,n)=>{"use strict";n.d(t,{G:()=>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",unlistedBanner:"theme-unlisted-banner",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:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"}}},9635:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},1272:(e,t,n)=>{"use strict";n.d(t,{B5:()=>E,C5:()=>p,Nr:()=>f,OF:()=>w,QB:()=>S,Vd:()=>k,Y:()=>b,fW:()=>x,w8:()=>h});var r=n(6166),a=n(5261),o=n(5141),i=n(7746),l=n(4843),s=n(862),u=n(2606),c=n(112),d=n(5323);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),g=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||g(e.items,t))}function y(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(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,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,c.s)([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(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 S(e,t){const n=k(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- ${(0,c.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,s.r)(),i=t.routes,l=i.find((e=>(0,a.B6)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,o.v)(i),sidebarName:u,sidebarItems:c}}},7677:(e,t,n)=>{"use strict";n.d(t,{bq:()=>c,MN:()=>u,a2:()=>s,k2:()=>d});var r=n(6166),a=n(914),o=n(9914);const i={errorBoundaryError:"errorBoundaryError_nMrj",errorBoundaryFallback:"errorBoundaryFallback_f9jZ"};var l=n(678);function s(e){return(0,l.jsx)("button",{type:"button",...e,children:(0,l.jsx)(a.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,l.jsx)("p",{children:t.message}),(0,l.jsx)(s,{onClick:n})]})}function c(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},387:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>l});var r=n(6166),a=n(5261),o=n(1518);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},112:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>a})},4880:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>c,Jx:()=>f});var r=n(6166),a=n(27),o=n(1260),i=n(3171),l=n(1593),s=n(7642);var u=n(678);function c(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const c=function(e){const{siteConfig:t}=(0,s.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,l.h)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:c}),t&&(0,u.jsx)("meta",{property:"og:title",content:c}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const d=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.A)(i,t);return(0,u.jsxs)(d.Provider,{value:l,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:l})}),n]})}function f(e){let{children:t}=e;const n=(0,i.A)(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(p,{className:(0,a.A)(r,o),children:t})}},1518:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(6166),a=n(8093),o=n(678);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},5323:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6166),a=n(3961),o=n(7642);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.A)().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=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},430:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>c,a_:()=>m,gk:()=>g});var r=n(6166),a=n(7601),o=n(7007),i=n(8093),l=n(1518),s=n(678);const u=r.createContext(void 0);function c(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(0,s.jsx)(u.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(u);if(null==e)throw new l.dV("ScrollControllerProvider");return e}const p=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,l._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();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 m(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function g(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"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&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2257:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>r,tU:()=>a});n(7642);const r="default";function a(e,t){return`docs-${e}-${t}`}},4228:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>c,Wf:()=>u});var r=n(6166);const a="localStorage";function o(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 i(e){if(void 0===e&&(e=a),"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,l||(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),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};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);const n=i(t?.persistence);return null===n?s:{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),o({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),o({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),()=>{}}}}}function c(e,t){const n=(0,r.useRef)((()=>null===e?s:u(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4113:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(7642),a=n(5261),o=n(9914);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.A)(),{pathname:s}=(0,a.zy)(),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}`}}}},9120:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6166),a=n(5261),o=n(1518);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},3732:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(7642);function a(){return(0,r.A)().siteConfig.themeConfig}},7733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(8168);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?a(s):o(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o},8763:(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]}},9914: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.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(7733);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return a.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return a.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return a.removeTrailingSlash}});var o=n(8168);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return o.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return o.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return o.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return o.removePrefix}});var i=n(8763);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},8168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3961:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(6166);var r=n(7952),a=n.n(r),o=n(4054);const i={"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,4403)),"@theme/BlogTagsListPage",4403],"145ab0c7":[()=>n.e(3486).then(n.t.bind(n,4061,19)),"/Users/jade/github/apathyjade/jelper/packages/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",4061],17896441:[()=>Promise.all([n.e(1869),n.e(4278),n.e(8401)]).then(n.bind(n,7572)),"@theme/DocItem",7572],"17cc495c":[()=>n.e(1156).then(n.t.bind(n,9596,19)),"~blog/default/jelper-blog-tags-docusaurus-ff3-list.json",9596],"1a7d8ac7":[()=>Promise.all([n.e(1869),n.e(3395)]).then(n.bind(n,909)),"@site/docs/css/text/index.mdx",909],"1c98ef1c":[()=>n.e(4617).then(n.t.bind(n,7997,19)),"~blog/default/jelper-blog-tags-docusaurus-ff3.json",7997],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,9659)),"@site/src/pages/index.tsx",9659],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(4278),n.e(6061)]).then(n.bind(n,8549)),"@theme/MDXPage",8549],"2303e842":[()=>Promise.all([n.e(1869),n.e(9664)]).then(n.bind(n,9743)),"@site/docs/store/index.mdx",9743],"2566ce2b":[()=>n.e(9852).then(n.t.bind(n,6953,19)),"~blog/default/jelper-blog-tags-tags-ad3.json",6953],"2b6f4d61":[()=>Promise.all([n.e(1869),n.e(5136)]).then(n.bind(n,7523)),"@site/docs/handler/index.mdx",7523],"2fdf4925":[()=>Promise.all([n.e(1869),n.e(1439)]).then(n.bind(n,9233)),"@site/docs/css/color/index.mdx",9233],"308bbb45":[()=>n.e(9709).then(n.t.bind(n,5527,19)),"~blog/default/jelper-blog-tags-hello-b3c-list.json",5527],"393be207":[()=>n.e(4134).then(n.bind(n,7348)),"@site/src/pages/markdown-page.md",7348],59362658:[()=>n.e(9325).then(n.bind(n,5392)),"@site/blog/2021-08-01-mdx-blog-post.mdx",5392],"5bea8d5d":[()=>Promise.all([n.e(1869),n.e(6359)]).then(n.bind(n,9151)),"@site/docs/enum/index.mdx",9151],"5e95c892":[()=>n.e(9647).then(n.bind(n,9486)),"@theme/DocsRoot",9486],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"66232fe5":[()=>n.e(5128).then(n.t.bind(n,1359,19)),"~blog/default/jelper-blog-tags-facebook-058.json",1359],"6875c492":[()=>Promise.all([n.e(1869),n.e(4278),n.e(222),n.e(4813)]).then(n.bind(n,9464)),"@theme/BlogTagsPostsPage",9464],"6b8f6986":[()=>n.e(5204).then(n.t.bind(n,462,19)),"~blog/default/jelper-blog-tags-facebook-058-list.json",462],"73664a40":[()=>n.e(1972).then(n.bind(n,1862)),"@site/blog/2019-05-29-long-blog-post.md",1862],"760f76c1":[()=>n.e(2929).then(n.t.bind(n,4452,19)),"~blog/default/jelper-blog-tags-hola-8b9-list.json",4452],"7661071f":[()=>n.e(8737).then(n.bind(n,1941)),"@site/blog/2021-08-26-welcome/index.md?truncated=true",1941],"814f3328":[()=>n.e(7472).then(n.t.bind(n,5513,19)),"~blog/default/blog-post-list-prop-default.json",5513],"8717b14a":[()=>n.e(3694).then(n.bind(n,1355)),"@site/blog/2019-05-29-long-blog-post.md?truncated=true",1355],"8af2aaa2":[()=>n.e(3241).then(n.t.bind(n,6920,19)),"~blog/default/jelper-blog-f9d.json",6920],"8f6cc927":[()=>Promise.all([n.e(1869),n.e(7133)]).then(n.bind(n,341)),"@site/docs/css/index.mdx",341],"925b3f96":[()=>n.e(8609).then(n.bind(n,9542)),"@site/blog/2019-05-28-first-blog-post.md?truncated=true",9542],"935f2afb":[()=>n.e(8581).then(n.t.bind(n,5610,19)),"~docs/default/version-current-metadata-prop-751.json",5610],"9e4087bc":[()=>n.e(2711).then(n.bind(n,4890)),"@theme/BlogArchivePage",4890],"9fa2a09a":[()=>n.e(6694).then(n.t.bind(n,9032,19)),"~blog/default/jelper-blog-archive-660.json",9032],"9fd9f156":[()=>n.e(6657).then(n.t.bind(n,9861,19)),"~blog/default/jelper-blog-tags-hola-8b9.json",9861],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(4278),n.e(222),n.e(7643)]).then(n.bind(n,3410)),"@theme/BlogListPage",3410],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,6171)),"@theme/DocVersionRoot",6171],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2861)),"@theme/DocRoot",2861],acecf23e:[()=>n.e(1903).then(n.t.bind(n,1912,19)),"~blog/default/blogMetadata-default.json",1912],b24dde81:[()=>Promise.all([n.e(1869),n.e(9863)]).then(n.bind(n,36)),"@site/docs/promise/index.mdx",36],b26bf03a:[()=>n.e(5389).then(n.t.bind(n,1966,19)),"/Users/jade/github/apathyjade/jelper/packages/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",1966],bbc8af6f:[()=>n.e(5003).then(n.t.bind(n,3952,19)),"~blog/default/jelper-blog-tags-hello-b3c.json",3952],c38eb2df:[()=>n.e(1986).then(n.bind(n,1596)),"@site/docs/hooks/index.mdx",1596],ccc49370:[()=>Promise.all([n.e(1869),n.e(4278),n.e(222),n.e(3249)]).then(n.bind(n,7046)),"@theme/BlogPostPage",7046],d9f32620:[()=>n.e(5557).then(n.bind(n,7779)),"@site/blog/2021-08-26-welcome/index.md",7779],dbb2b5fa:[()=>n.e(4469).then(n.bind(n,3179)),"@site/docs/hooks/useValue/index.mdx",3179],e273c56f:[()=>n.e(9328).then(n.bind(n,82)),"@site/blog/2019-05-28-first-blog-post.md",82],f4aa6a97:[()=>n.e(800).then(n.t.bind(n,2945,19)),"/Users/jade/github/apathyjade/jelper/packages/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",2945],f4f34a3a:[()=>n.e(3637).then(n.bind(n,1548)),"@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true",1548],f6a8db5d:[()=>Promise.all([n.e(1869),n.e(6997)]).then(n.bind(n,1721)),"@site/docs/css/flex/index.mdx",1721]};var l=n(678);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("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%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("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",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(1161),c=n(2798);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(1454).then(n.bind(n,1454)),modules:["@theme/NotFound"],webpack:()=>[1454],render(e,t){const n=e.default;return(0,l.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,u.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)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 o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(c.W,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const p=[{path:"/jelper/",component:d("/jelper/","f6a"),exact:!0},{path:"/jelper/blog",component:d("/jelper/blog","e09"),exact:!0},{path:"/jelper/blog/archive",component:d("/jelper/blog/archive","343"),exact:!0},{path:"/jelper/blog/first-blog-post",component:d("/jelper/blog/first-blog-post","8b2"),exact:!0},{path:"/jelper/blog/long-blog-post",component:d("/jelper/blog/long-blog-post","92d"),exact:!0},{path:"/jelper/blog/mdx-blog-post",component:d("/jelper/blog/mdx-blog-post","b5d"),exact:!0},{path:"/jelper/blog/tags",component:d("/jelper/blog/tags","066"),exact:!0},{path:"/jelper/blog/tags/docusaurus",component:d("/jelper/blog/tags/docusaurus","d30"),exact:!0},{path:"/jelper/blog/tags/facebook",component:d("/jelper/blog/tags/facebook","7bd"),exact:!0},{path:"/jelper/blog/tags/hello",component:d("/jelper/blog/tags/hello","787"),exact:!0},{path:"/jelper/blog/tags/hola",component:d("/jelper/blog/tags/hola","31d"),exact:!0},{path:"/jelper/blog/welcome",component:d("/jelper/blog/welcome","89c"),exact:!0},{path:"/jelper/markdown-page",component:d("/jelper/markdown-page","a97"),exact:!0},{path:"/jelper/docs",component:d("/jelper/docs","6b8"),routes:[{path:"/jelper/docs",component:d("/jelper/docs","82a"),routes:[{path:"/jelper/docs",component:d("/jelper/docs","b3c"),routes:[{path:"/jelper/docs/css/",component:d("/jelper/docs/css/","b25"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/css/color/",component:d("/jelper/docs/css/color/","d44"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/css/flex/",component:d("/jelper/docs/css/flex/","00e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/css/text/",component:d("/jelper/docs/css/text/","159"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/enum/",component:d("/jelper/docs/enum/","a74"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/handler/",component:d("/jelper/docs/handler/","1f3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/hooks/",component:d("/jelper/docs/hooks/","bdb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/hooks/useValue/",component:d("/jelper/docs/hooks/useValue/","199"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/promise/",component:d("/jelper/docs/promise/","91a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/jelper/docs/store/",component:d("/jelper/docs/store/","dee"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"*",component:d("*")}]},4904:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>_,yJ:()=>f,sC:()=>A,AO:()=>p});var r=n(2115);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),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(9481);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 p(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 f(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.A)({},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;rt?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=f(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(8795),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,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"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}}},6482:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},5349:(e,t,n)=>{"use strict";n.r(t)},1069:(e,t,n)=>{"use strict";n.r(t)},2396: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:'
'};function a(e,t,n){return en?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))&&f(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&&f(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:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(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)},162:(e,t,n)=>{var r=n(6482);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;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],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],g=n[2],h=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=m&&m!==g,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:h||o++,prefix:g||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(E)+"]+?"})}}return i{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 WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). 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 highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},1808:(e,t,n)=>{const r=n(3207),a=n(1498),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(3991).resolve(t)],delete Prism.languages[e],n(3991)(t),o.add(e)}))}i.silent=!1,e.exports=i},8782:()=>{!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=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],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var g=p.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];g&&b.push.apply(b,i([g])),b.push(h),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},3991:(e,t,n)=>{var r={"./":1808};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=3991},1498: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 "));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 p,f=r(s),m=c;a(m);){for(var g in p={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in f(y))if(b in c){p[y]=!0;break}for(var v in m=p)c[v]=!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 p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},8414:(e,t,n)=>{"use strict";var r=n(8533);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}},2300:(e,t,n)=>{e.exports=n(8414)()},8533:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6277:(e,t,n)=>{"use strict";var r=n(6166),a=n(8074);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n