From 3b6c8cd613af5f83b8af8ba33296a488e1e771c1 Mon Sep 17 00:00:00 2001 From: hpoepping Date: Mon, 11 Nov 2024 18:46:04 +0000 Subject: [PATCH] deploy: c997eef5e4ad77a42c92956f24fc9e4ee16aa340 --- 404.html | 6 ++-- ...tyles.94e5fcca.css => styles.5ca9736a.css} | 2 +- ...78505.9ef0b1b5.js => 1be78505.b683ec89.js} | 2 +- .../js/{345.60dd4772.js => 345.a86bf4db.js} | 2 +- ...65869.67ebab18.js => 48065869.6d67e777.js} | 2 +- assets/js/5558718b.42ba5b13.js | 1 + assets/js/5558718b.c2a14f3b.js | 1 - assets/js/641.11d5b860.js | 1 - assets/js/641.ab746112.js | 1 + ...n.782d9096.js => runtime~main.ac8a8fab.js} | 2 +- docs/commands/build/index.html | 6 ++-- docs/commands/dev/index.html | 6 ++-- docs/commands/lint/index.html | 6 ++-- docs/commands/test/index.html | 6 ++-- docs/configuration/development/index.html | 6 ++-- docs/configuration/output/index.html | 12 +++---- .../webpack-customization/index.html | 33 +++++++++---------- docs/contributing/index.html | 6 ++-- docs/features/assets/index.html | 6 ++-- docs/features/css/index.html | 6 ++-- docs/features/env-vars/index.html | 6 ++-- docs/features/eslint/index.html | 6 ++-- docs/features/react-devtools/index.html | 6 ++-- docs/features/typescript/index.html | 6 ++-- docs/index.html | 6 ++-- index.html | 6 ++-- search/index.html | 6 ++-- 27 files changed, 77 insertions(+), 78 deletions(-) rename assets/css/{styles.94e5fcca.css => styles.5ca9736a.css} (69%) rename assets/js/{1be78505.9ef0b1b5.js => 1be78505.b683ec89.js} (99%) rename assets/js/{345.60dd4772.js => 345.a86bf4db.js} (82%) rename assets/js/{48065869.67ebab18.js => 48065869.6d67e777.js} (73%) create mode 100644 assets/js/5558718b.42ba5b13.js delete mode 100644 assets/js/5558718b.c2a14f3b.js delete mode 100644 assets/js/641.11d5b860.js create mode 100644 assets/js/641.ab746112.js rename assets/js/{runtime~main.782d9096.js => runtime~main.ac8a8fab.js} (50%) diff --git a/404.html b/404.html index 855ef77..99b0a7d 100644 --- a/404.html +++ b/404.html @@ -4,14 +4,14 @@ -Page Not Found | chayns-toolkit - +Page Not Found | chayns-toolkit +
Skip to main content

Page Not Found

We could not find what you were looking for.

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

- + \ No newline at end of file diff --git a/assets/css/styles.94e5fcca.css b/assets/css/styles.5ca9736a.css similarity index 69% rename from assets/css/styles.94e5fcca.css rename to assets/css/styles.5ca9736a.css index d4d1f54..cbe3fce 100644 --- a/assets/css/styles.94e5fcca.css +++ b/assets/css/styles.5ca9736a.css @@ -22,4 +22,4 @@ --ifm-color-danger-darker );border-color:var( --ifm-color-danger-darker - )}.button-group{display:inline-flex}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:var(--ifm-button-group-margin)}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group>.button--active{z-index:1}.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}.card--full-height,body,html{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style-type: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)}.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{background:none;border:none;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)}.dropdown__menu,.menu__link,.menu__link:hover{transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus{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;transform:translateY(0);visibility:visible}.dropdown--right .dropdown__menu{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);list-style:none;max-height:calc(100vh - var(--ifm-navbar-height));min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:100%;transform:translateY(-10px);transition-property:opacity,transform,visibility;visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:10rem}.docItemContainer_oiyr header+*,.footer__item,.pills__item+.pills__item{margin-top:0}.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)}.footer__items{margin-bottom:0;padding-left: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{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0}.menu__list .menu__list{margin-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item{margin-top:.25rem}.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__link{border-radius:.25rem;display:flex;justify-content:space-between;line-height:1.25;padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal);position:relative}.menu__link,.menu__link:hover{color:var(--ifm-menu-color);transition-property:color,background}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;visibility:hidden;left:0;top:0}.menu__link:hover{background:var(--ifm-menu-color-background-hover);text-decoration:none}.menu__link--sublist:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;content:" ";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;min-width:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background:var(--ifm-menu-color-background-active)}.menu--responsive .menu__button{bottom:2rem;display:none;position:fixed;right:1rem;z-index:var(--ifm-z-index-fixed)}.menu--show{background:var(--ifm-background-surface-color);bottom:0;left:0;overscroll-behavior:contain;padding:1rem;position:fixed;right:0;top:0;z-index:var(--ifm-z-index-overlay)}.menu--show .menu__list{display:inherit;opacity:1;transition:opacity var(--ifm-transition-fast) linear}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal);width:100%}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{align-items:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;font-weight:700;height:2rem;margin-right:1rem;min-width:0}.navbar__brand:hover{color:inherit;text-decoration:none}.navbar__title{flex:1 1 auto;overflow:hidden}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{height:100%;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.codeBlock_rtdJ,.navbar__item.dropdown{padding:0}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{font-weight:var(--ifm-font-weight-semibold);padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal);position:relative;text-decoration:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-color:var(--ifm-color-white);--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-toggle-color:var(--ifm-color-white)}.navbar--dark .navbar__toggle{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-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{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);overflow:auto;position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translateZ(0)}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;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)}.pagination__item,.pagination__link{display:inline-block}.navbar-sidebar__items{padding:.5rem}.pagination{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:not(:first-child){margin-left:var(--ifm-pagination-page-spacing)}.pagination__item:not(:last-child){margin-right:var(--ifm-pagination-page-spacing)}.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);padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.docs-wrapper,.pagination-nav{display:flex}.pagination-nav__item{display:flex;flex:1 50%;max-width:50%}.pagination-nav__item--next{text-align:right}.pagination-nav__item+.pagination-nav__item{margin-left:var(--ifm-spacing-horizontal)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);flex-grow:1;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__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.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,.sidebarMenuCloseIcon_6kU2,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{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{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background-color:var(--ifm-pills-color-background-active)}.pills__item:not(:first-child){margin-left:var(--ifm-pills-spacing)}.pills__item:not(:last-child){margin-right:var(--ifm-pills-spacing)}.pills--block{display:flex;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 #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;margin:0;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active);border-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-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:#18191a;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--docsearch-text-color:#f5f6f7;--docsearch-container-background:#090a11cc;--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 #0304094d;--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.302);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 #494c6a80,0 -4px 8px 0 #0003;--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.docusaurus-highlight-code-line{background-color:#e4e4e7;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}html[data-theme=dark] .docusaurus-highlight-code-line{background-color:#374151}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:7}#nprogress .peg{box-shadow:0 0 10px #29d,0 0 5px #29d;height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}#docusaurus-base-url-issue-banner-container,.collapseSidebarButton_eoK2,.sidebarLogo_hmkv,.themedImage_TMUO,html[data-announcement-bar-initially-dismissed=true] .announcementBar_axC9{display:none}.skipToContent_OuoZ{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_OuoZ:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.announcementBar_axC9{background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);height:var(--docusaurus-announcement-bar-height);position:relative;width:100%}.announcementBarClose_A3A1{font-size:1.25rem;height:100%;position:absolute;right:0;top:0;width:55px}.announcementBarContent_6uhP{font-size:85%;padding:5px 0;text-align:center;width:100%}.announcementBarCloseable_y4cp{margin-right:55px}.announcementBarContent_6uhP a{color:inherit;text-decoration:underline}.react-toggle{cursor:pointer;position:relative;touch-action:pan-x;-webkit-user-select:none;user-select:none}.react-toggle-screenreader-only{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed}.react-toggle-track{background-color:#4d4d4d;border-radius:30px;height:24px;transition:.2s;width:50px}.react-toggle-track-check,.react-toggle-track-x{bottom:0;height:10px;margin:auto 0;top:0;position:absolute}.react-toggle-track-check{left:8px;opacity:0;transition:opacity .25s;width:14px}.react-toggle--checked .react-toggle-track-check,.react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-check{opacity:1;transition:opacity .25s}.react-toggle-track-x{right:10px;width:10px}.react-toggle--checked .react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-x{opacity:0}.react-toggle-thumb{background-color:#fafafa;border:1px solid #4d4d4d;border-radius:50%;height:22px;left:1px;position:absolute;top:1px;transition:.25s;width:22px}.react-toggle--checked .react-toggle-thumb,[data-theme=dark] .react-toggle .react-toggle-thumb{left:27px}.react-toggle--focus .react-toggle-thumb,.react-toggle:hover .react-toggle-thumb{box-shadow:0 0 2px 3px var(--ifm-color-primary)}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0 0 5px 5px var(--ifm-color-primary)}.toggle_iYfV{align-items:center;display:flex;height:10px;justify-content:center;width:10px}.toggle_iYfV:before{position:absolute}.iconExternalLink_wgqa{margin-left:.3rem;position:relative;top:1px}html[data-theme=dark] .themedImage--dark_uzRr,html[data-theme=light] .themedImage--light_4Vu1{display:initial}.navbarHideable_RReh{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_FBwS{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_SRtH{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.codeBlockContent_csEI:hover>.copyButton_M3SB,.codeBlockTitle_oQzk:hover+.codeBlockContent_csEI .copyButton_M3SB,.copyButton_M3SB:focus,.footerLogoLink_SRtH:hover,.hash-link:focus,:hover>.hash-link{opacity:1}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.main-wrapper{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}.tableOfContents_vrFS{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.iconEdit_mS5F{margin-right:.3em;vertical-align:sub}.sidebarMenuIcon_iZzd{vertical-align:middle}.sidebarMenuCloseIcon_6kU2{align-items:center;display:inline-flex;font-size:1.5rem;height:24px;justify-content:center;line-height:.9;width:24px}.menu__list .menu__list{overflow-y:hidden;transition:height var(--ifm-transition-fast) linear;will-change:height}.menu__list-item--collapsed .menu__list{overflow:hidden;height:0!important}.codeBlockContent_csEI{direction:ltr;position:relative}.codeBlockTitle_oQzk{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:var(--ifm-global-radius);border-top-right-radius:var(--ifm-global-radius);font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlockWithTitle_ZT05{border-top-left-radius:0;border-top-right-radius:0}.copyButton_M3SB{background:#0000004d;border-radius:var(--ifm-global-radius);color:var(--ifm-color-white);opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out;-webkit-user-select:none;user-select:none}.codeBlockLines_1zSZ{display:flex;flex-direction:column;float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.anchor{display:block;position:relative;top:-.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast)}.enhancedAnchor_WiXH{top:calc(var(--ifm-navbar-height)*-1 - .5rem)}.h1Heading_dC7a{font-size:3rem;margin-bottom:calc(var(--ifm-leading-desktop)*var(--ifm-leading))}.lastUpdated_wj\+Z{font-size:smaller;font-style:italic;margin-top:.2rem}.docMainContainer_r8cw,.docPage_lDyR{display:flex;width:100%}.searchQueryInput_4zAW,.searchVersionInput_ozis{background:var(--docsearch-searchbox-focus-background);border:2px solid var(--ifm-toc-border-color);border-radius:var(--ifm-global-radius);color:var(--docsearch-text-color);font:var(--ifm-font-size-base) var(--ifm-font-family-base);margin-bottom:.5rem;padding:.8rem;transition:border var(--ifm-transition-fast) ease;width:100%}.searchQueryInput_4zAW:focus,.searchVersionInput_ozis:focus{border-color:var(--docsearch-primary-color);outline:0}.searchQueryInput_4zAW::placeholder{color:var(--docsearch-muted-color)}.searchResultsColumn_7sbA{font-size:.9rem;font-weight:700}.algoliaLogo_ayeM{max-width:150px}.algoliaLogoPathFill_UrkK{fill:var(--ifm-font-color-base)}.searchResultItem_Hr8z{border-bottom:1px solid var(--ifm-toc-border-color);padding:1rem 0}.searchResultItemHeading_Ydj3{font-weight:400;margin-bottom:0}.searchResultItemPath_tbl0{--ifm-breadcrumb-separator-size-multiplier:1;color:var(--ifm-color-content-secondary);font-size:.8rem}.searchResultItemSummary_ESJ1{font-style:italic;margin:.5rem 0 0}.loadingSpinner_qctK{animation:1s linear infinite a;border:.4em solid #eee;border-radius:50%;border-top:.4em solid var(--ifm-color-primary);height:3rem;margin:0 auto;width:3rem}@keyframes a{to{transform:rotate(1turn)}}.loader_g07B{margin-top:2rem}.search-result-match{background:#ffd78e40;color:var(--docsearch-hit-color);padding:.09em 0}.tabItemActive_cw6a{animation:.5s ease-in-out 5 b}@keyframes b{0%{background-color:var(--ifm-hover-overlay)}to{background-color:#0000}}.heroBanner_4JBe{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_TK4-{justify-content:center}.DocSearch-Button,.DocSearch-Button-Container,.buttons_TK4-,.features_ENLn{align-items:center;display:flex}.features_ENLn{padding:2rem 0;width:100%}.featureImage_fOUF{height:200px;width:200px}.DocSearch-Button{background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;font-weight:500;height:36px;justify-content:space-between;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:0}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Hit-Tree,.DocSearch-Hit-action,.DocSearch-Hit-icon,.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:4}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:#0000;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:0;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Cancel,.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator,.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset{animation:.1s ease-in forwards c;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0}.DocSearch-Help,.DocSearch-HitsFooter,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:#0000}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}.DocSearch-Hit--deleting{opacity:0;transition:.25s linear}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:.25s linear .25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:2}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:0;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:5}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@keyframes c{0%{opacity:0}to{opacity:1}}.DocSearch-Button{margin:0;transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.DocSearch-Container{z-index:calc(var(--ifm-z-index-fixed) + 1)}@media (min-width:997px){.searchBox_NKBi{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.sidebar_a3j0{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_VlPv{padding-top:0}.sidebarHidden_OqfG{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_hmkv{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_hmkv img{height:2rem;margin-right:.5rem}.menu_cyFh{flex-grow:1;padding:.5rem}.menuLinkText_lRH\+{cursor:auto}.menuLinkText_lRH\+:hover{background:none}.menuWithAnnouncementBar_\+O1J{margin-bottom:var(--docusaurus-announcement-bar-height)}.collapseSidebarButton_eoK2{background-color:var(--ifm-button-background-color);border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_e\+kA{margin-top:4px;transform:rotate(180deg)}.expandSidebarButtonIcon_cxi8,html[dir=rtl] .collapseSidebarButtonIcon_e\+kA{transform:rotate(0)}html[data-theme=dark] .collapseSidebarButton_eoK2,html[data-theme=dark] .collapsedDocSidebar_zZpm:focus,html[data-theme=dark] .collapsedDocSidebar_zZpm:hover{background-color:var(--collapse-button-bg-color-dark)}.collapsedDocSidebar_zZpm:focus,.collapsedDocSidebar_zZpm:hover,html[data-theme=dark] .collapseSidebarButton_eoK2:focus,html[data-theme=dark] .collapseSidebarButton_eoK2:hover{background-color:var(--ifm-color-emphasis-200)}.docMainContainer_r8cw{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_SOUu{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docSidebarContainer_0YBq{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_Qlt2{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.collapsedDocSidebar_zZpm{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;position:sticky;top:0;transition:background-color var(--ifm-transition-fast) ease}html[dir=rtl] .expandSidebarButtonIcon_cxi8{transform:rotate(180deg)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media only screen and (min-width:997px){.docItemCol_zHA2{max-width:75%!important}.lastUpdated_wj\+Z{text-align:right}}@media screen and (min-width:1024px){:root{--docusaurus-announcement-bar-height:30px}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px){h1{--ifm-h1-font-size:calc(1.375rem + 1.5vw)}}@media screen and (max-width:997px){.displayOnlyInLargeViewport_cxYs{display:none!important}}@media (max-width:996px){.row .col.col.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0;max-width:var(--ifm-col-width)}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator,.navbar__item{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.menu--responsive .menu__button,.navbar__toggle{display:inherit}.menu--responsive:not(.menu--show) .menu__list{display:none;opacity:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.pills--block .pills__item:not(:first-child){margin-top:var(--ifm-pills-spacing)}.pills--block .pills__item:not(:last-child){margin-bottom:var(--ifm-pills-spacing)}.tabs--block .tabs__item:not(:first-child){margin-top:var(--ifm-tabs-spacing)}.tabs--block .tabs__item:not(:last-child){margin-bottom:var(--ifm-tabs-spacing)}.searchBox_NKBi{position:absolute;right:var(--ifm-navbar-padding-horizontal)}}@media only screen and (max-width:996px){.tableOfContents_vrFS{display:none}.docItemContainer_VKW9{padding:0 .3rem}.searchQueryColumn_\+SJI,.searchResultsColumn_7sbA{max-width:60%!important}.searchLogoColumn_CHXe,.searchVersionColumn_nDgT{max-width:40%!important}.searchLogoColumn_CHXe{padding-left:0!important}}@media screen and (max-width:966px){.heroBanner_4JBe{padding:2rem}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@media screen and (max-width:576px){.announcementBarClose_A3A1{width:35px}.announcementBarContent_6uhP{width:auto}.announcementBarCloseable_y4cp{margin-right:35px}.searchQueryColumn_\+SJI{max-width:100%!important}.searchVersionColumn_nDgT{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (pointer:fine){.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 screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_axC9,.footer,.menu,.navbar,.pagination-nav,.table-of-contents{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_1zSZ{white-space:pre-wrap}} \ No newline at end of file + )}.button-group{display:inline-flex}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:var(--ifm-button-group-margin)}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group>.button--active{z-index:1}.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}.card--full-height,body,html{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style-type: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)}.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{background:none;border:none;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)}.dropdown__menu,.menu__link,.menu__link:hover{transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus{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;transform:translateY(0);visibility:visible}.dropdown--right .dropdown__menu{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);list-style:none;max-height:calc(100vh - var(--ifm-navbar-height));min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:100%;transform:translateY(-10px);transition-property:opacity,transform,visibility;visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:10rem}.docItemContainer_oiyr header+*,.footer__item,.pills__item+.pills__item{margin-top:0}.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)}.footer__items{margin-bottom:0;padding-left: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{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0}.menu__list .menu__list{margin-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item{margin-top:.25rem}.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__link{border-radius:.25rem;display:flex;justify-content:space-between;line-height:1.25;padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal);position:relative}.menu__link,.menu__link:hover{color:var(--ifm-menu-color);transition-property:color,background}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;visibility:hidden;left:0;top:0}.menu__link:hover{background:var(--ifm-menu-color-background-hover);text-decoration:none}.menu__link--sublist:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;content:" ";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;min-width:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background:var(--ifm-menu-color-background-active)}.menu--responsive .menu__button{bottom:2rem;display:none;position:fixed;right:1rem;z-index:var(--ifm-z-index-fixed)}.menu--show{background:var(--ifm-background-surface-color);bottom:0;left:0;overscroll-behavior:contain;padding:1rem;position:fixed;right:0;top:0;z-index:var(--ifm-z-index-overlay)}.menu--show .menu__list{display:inherit;opacity:1;transition:opacity var(--ifm-transition-fast) linear}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal);width:100%}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{align-items:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;font-weight:700;height:2rem;margin-right:1rem;min-width:0}.navbar__brand:hover{color:inherit;text-decoration:none}.navbar__title{flex:1 1 auto;overflow:hidden}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{height:100%;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.codeBlock_rtdJ,.navbar__item.dropdown{padding:0}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{font-weight:var(--ifm-font-weight-semibold);padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal);position:relative;text-decoration:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-color:var(--ifm-color-white);--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-toggle-color:var(--ifm-color-white)}.navbar--dark .navbar__toggle{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-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{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);overflow:auto;position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translateZ(0)}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;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)}.pagination__item,.pagination__link{display:inline-block}.navbar-sidebar__items{padding:.5rem}.pagination{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:not(:first-child){margin-left:var(--ifm-pagination-page-spacing)}.pagination__item:not(:last-child){margin-right:var(--ifm-pagination-page-spacing)}.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);padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.docs-wrapper,.pagination-nav{display:flex}.pagination-nav__item{display:flex;flex:1 50%;max-width:50%}.pagination-nav__item--next{text-align:right}.pagination-nav__item+.pagination-nav__item{margin-left:var(--ifm-spacing-horizontal)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);flex-grow:1;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__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.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,.sidebarMenuCloseIcon_6kU2,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{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{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background-color:var(--ifm-pills-color-background-active)}.pills__item:not(:first-child){margin-left:var(--ifm-pills-spacing)}.pills__item:not(:last-child){margin-right:var(--ifm-pills-spacing)}.pills--block{display:flex;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 #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;margin:0;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active);border-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-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:#18191a;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--docsearch-text-color:#f5f6f7;--docsearch-container-background:#090a11cc;--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 #0304094d;--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 #494c6a80,0 -4px 8px 0 #0003;--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.docusaurus-highlight-code-line{background-color:#e4e4e7;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}html[data-theme=dark] .docusaurus-highlight-code-line{background-color:#374151}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:7}#nprogress .peg{box-shadow:0 0 10px #29d,0 0 5px #29d;height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}#docusaurus-base-url-issue-banner-container,.collapseSidebarButton_eoK2,.sidebarLogo_hmkv,.themedImage_TMUO,html[data-announcement-bar-initially-dismissed=true] .announcementBar_axC9{display:none}.skipToContent_OuoZ{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_OuoZ:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.announcementBar_axC9{background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);height:var(--docusaurus-announcement-bar-height);position:relative;width:100%}.announcementBarClose_A3A1{font-size:1.25rem;height:100%;position:absolute;right:0;top:0;width:55px}.announcementBarContent_6uhP{font-size:85%;padding:5px 0;text-align:center;width:100%}.announcementBarCloseable_y4cp{margin-right:55px}.announcementBarContent_6uhP a{color:inherit;text-decoration:underline}.react-toggle{cursor:pointer;position:relative;touch-action:pan-x;-webkit-user-select:none;user-select:none}.react-toggle-screenreader-only{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed}.react-toggle-track{background-color:#4d4d4d;border-radius:30px;height:24px;transition:.2s;width:50px}.react-toggle-track-check,.react-toggle-track-x{bottom:0;height:10px;margin:auto 0;top:0;position:absolute}.react-toggle-track-check{left:8px;opacity:0;transition:opacity .25s;width:14px}.react-toggle--checked .react-toggle-track-check,.react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-check{opacity:1;transition:opacity .25s}.react-toggle-track-x{right:10px;width:10px}.react-toggle--checked .react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-x{opacity:0}.react-toggle-thumb{background-color:#fafafa;border:1px solid #4d4d4d;border-radius:50%;height:22px;left:1px;position:absolute;top:1px;transition:.25s;width:22px}.react-toggle--checked .react-toggle-thumb,[data-theme=dark] .react-toggle .react-toggle-thumb{left:27px}.react-toggle--focus .react-toggle-thumb,.react-toggle:hover .react-toggle-thumb{box-shadow:0 0 2px 3px var(--ifm-color-primary)}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0 0 5px 5px var(--ifm-color-primary)}.toggle_iYfV{align-items:center;display:flex;height:10px;justify-content:center;width:10px}.toggle_iYfV:before{position:absolute}.iconExternalLink_wgqa{margin-left:.3rem;position:relative;top:1px}html[data-theme=dark] .themedImage--dark_uzRr,html[data-theme=light] .themedImage--light_4Vu1{display:initial}.navbarHideable_RReh{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_FBwS{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_SRtH{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.codeBlockContent_csEI:hover>.copyButton_M3SB,.codeBlockTitle_oQzk:hover+.codeBlockContent_csEI .copyButton_M3SB,.copyButton_M3SB:focus,.footerLogoLink_SRtH:hover,.hash-link:focus,:hover>.hash-link{opacity:1}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.main-wrapper{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}.tableOfContents_vrFS{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.iconEdit_mS5F{margin-right:.3em;vertical-align:sub}.sidebarMenuIcon_iZzd{vertical-align:middle}.sidebarMenuCloseIcon_6kU2{align-items:center;display:inline-flex;font-size:1.5rem;height:24px;justify-content:center;line-height:.9;width:24px}.menu__list .menu__list{overflow-y:hidden;transition:height var(--ifm-transition-fast) linear;will-change:height}.menu__list-item--collapsed .menu__list{overflow:hidden;height:0!important}.codeBlockContent_csEI{direction:ltr;position:relative}.codeBlockTitle_oQzk{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:var(--ifm-global-radius);border-top-right-radius:var(--ifm-global-radius);font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlockWithTitle_ZT05{border-top-left-radius:0;border-top-right-radius:0}.copyButton_M3SB{background:#0000004d;border-radius:var(--ifm-global-radius);color:var(--ifm-color-white);opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out;-webkit-user-select:none;user-select:none}.codeBlockLines_1zSZ{display:flex;flex-direction:column;float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.anchor{display:block;position:relative;top:-.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast)}.enhancedAnchor_WiXH{top:calc(var(--ifm-navbar-height)*-1 - .5rem)}.h1Heading_dC7a{font-size:3rem;margin-bottom:calc(var(--ifm-leading-desktop)*var(--ifm-leading))}.lastUpdated_wj\+Z{font-size:smaller;font-style:italic;margin-top:.2rem}.docMainContainer_r8cw,.docPage_lDyR{display:flex;width:100%}.searchQueryInput_4zAW,.searchVersionInput_ozis{background:var(--docsearch-searchbox-focus-background);border:2px solid var(--ifm-toc-border-color);border-radius:var(--ifm-global-radius);color:var(--docsearch-text-color);font:var(--ifm-font-size-base) var(--ifm-font-family-base);margin-bottom:.5rem;padding:.8rem;transition:border var(--ifm-transition-fast) ease;width:100%}.searchQueryInput_4zAW:focus,.searchVersionInput_ozis:focus{border-color:var(--docsearch-primary-color);outline:0}.searchQueryInput_4zAW::placeholder{color:var(--docsearch-muted-color)}.searchResultsColumn_7sbA{font-size:.9rem;font-weight:700}.algoliaLogo_ayeM{max-width:150px}.algoliaLogoPathFill_UrkK{fill:var(--ifm-font-color-base)}.searchResultItem_Hr8z{border-bottom:1px solid var(--ifm-toc-border-color);padding:1rem 0}.searchResultItemHeading_Ydj3{font-weight:400;margin-bottom:0}.searchResultItemPath_tbl0{--ifm-breadcrumb-separator-size-multiplier:1;color:var(--ifm-color-content-secondary);font-size:.8rem}.searchResultItemSummary_ESJ1{font-style:italic;margin:.5rem 0 0}.loadingSpinner_qctK{animation:1s linear infinite a;border:.4em solid #eee;border-radius:50%;border-top:.4em solid var(--ifm-color-primary);height:3rem;margin:0 auto;width:3rem}@keyframes a{to{transform:rotate(1turn)}}.loader_g07B{margin-top:2rem}.search-result-match{background:#ffd78e40;color:var(--docsearch-hit-color);padding:.09em 0}.tabItemActive_cw6a{animation:.5s ease-in-out 5 b}@keyframes b{0%{background-color:var(--ifm-hover-overlay)}to{background-color:#0000}}.heroBanner_4JBe{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_TK4-{justify-content:center}.DocSearch-Button,.DocSearch-Button-Container,.buttons_TK4-,.features_ENLn{align-items:center;display:flex}.features_ENLn{padding:2rem 0;width:100%}.featureImage_fOUF{height:200px;width:200px}.DocSearch-Button{background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;font-weight:500;height:36px;justify-content:space-between;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:0}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Hit-Tree,.DocSearch-Hit-action,.DocSearch-Hit-icon,.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:4}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:#0000;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:0;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Cancel,.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator,.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset{animation:.1s ease-in forwards c;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0}.DocSearch-Help,.DocSearch-HitsFooter,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:#0000}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}.DocSearch-Hit--deleting{opacity:0;transition:.25s linear}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:.25s linear .25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:2}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:0;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:5}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@keyframes c{0%{opacity:0}to{opacity:1}}.DocSearch-Button{margin:0;transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.DocSearch-Container{z-index:calc(var(--ifm-z-index-fixed) + 1)}@media (min-width:997px){.searchBox_NKBi{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.sidebar_a3j0{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_VlPv{padding-top:0}.sidebarHidden_OqfG{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_hmkv{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_hmkv img{height:2rem;margin-right:.5rem}.menu_cyFh{flex-grow:1;padding:.5rem}.menuLinkText_lRH\+{cursor:auto}.menuLinkText_lRH\+:hover{background:none}.menuWithAnnouncementBar_\+O1J{margin-bottom:var(--docusaurus-announcement-bar-height)}.collapseSidebarButton_eoK2{background-color:var(--ifm-button-background-color);border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_e\+kA{margin-top:4px;transform:rotate(180deg)}.expandSidebarButtonIcon_cxi8,html[dir=rtl] .collapseSidebarButtonIcon_e\+kA{transform:rotate(0)}html[data-theme=dark] .collapseSidebarButton_eoK2,html[data-theme=dark] .collapsedDocSidebar_zZpm:focus,html[data-theme=dark] .collapsedDocSidebar_zZpm:hover{background-color:var(--collapse-button-bg-color-dark)}.collapsedDocSidebar_zZpm:focus,.collapsedDocSidebar_zZpm:hover,html[data-theme=dark] .collapseSidebarButton_eoK2:focus,html[data-theme=dark] .collapseSidebarButton_eoK2:hover{background-color:var(--ifm-color-emphasis-200)}.docMainContainer_r8cw{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_SOUu{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docSidebarContainer_0YBq{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_Qlt2{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.collapsedDocSidebar_zZpm{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;position:sticky;top:0;transition:background-color var(--ifm-transition-fast) ease}html[dir=rtl] .expandSidebarButtonIcon_cxi8{transform:rotate(180deg)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media only screen and (min-width:997px){.docItemCol_zHA2{max-width:75%!important}.lastUpdated_wj\+Z{text-align:right}}@media screen and (min-width:1024px){:root{--docusaurus-announcement-bar-height:30px}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px){h1{--ifm-h1-font-size:calc(1.375rem + 1.5vw)}}@media screen and (max-width:997px){.displayOnlyInLargeViewport_cxYs{display:none!important}}@media (max-width:996px){.row .col.col.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0;max-width:var(--ifm-col-width)}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator,.navbar__item{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.menu--responsive .menu__button,.navbar__toggle{display:inherit}.menu--responsive:not(.menu--show) .menu__list{display:none;opacity:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.pills--block .pills__item:not(:first-child){margin-top:var(--ifm-pills-spacing)}.pills--block .pills__item:not(:last-child){margin-bottom:var(--ifm-pills-spacing)}.tabs--block .tabs__item:not(:first-child){margin-top:var(--ifm-tabs-spacing)}.tabs--block .tabs__item:not(:last-child){margin-bottom:var(--ifm-tabs-spacing)}.searchBox_NKBi{position:absolute;right:var(--ifm-navbar-padding-horizontal)}}@media only screen and (max-width:996px){.tableOfContents_vrFS{display:none}.docItemContainer_VKW9{padding:0 .3rem}.searchQueryColumn_\+SJI,.searchResultsColumn_7sbA{max-width:60%!important}.searchLogoColumn_CHXe,.searchVersionColumn_nDgT{max-width:40%!important}.searchLogoColumn_CHXe{padding-left:0!important}}@media screen and (max-width:966px){.heroBanner_4JBe{padding:2rem}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@media screen and (max-width:576px){.announcementBarClose_A3A1{width:35px}.announcementBarContent_6uhP{width:auto}.announcementBarCloseable_y4cp{margin-right:35px}.searchQueryColumn_\+SJI{max-width:100%!important}.searchVersionColumn_nDgT{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (pointer:fine){.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 screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_axC9,.footer,.menu,.navbar,.pagination-nav,.table-of-contents{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_1zSZ{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/1be78505.9ef0b1b5.js b/assets/js/1be78505.b683ec89.js similarity index 99% rename from assets/js/1be78505.9ef0b1b5.js rename to assets/js/1be78505.b683ec89.js index 7bdffdd..ea77bde 100644 --- a/assets/js/1be78505.9ef0b1b5.js +++ b/assets/js/1be78505.b683ec89.js @@ -1 +1 @@ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[714,90],{5680:(e,t,n)=>{"use strict";n.d(t,{xA:()=>d,yg:()=>h});var a=n(6540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),c=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(s.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=c(n),m=r,h=p["".concat(s,".").concat(m)]||p[m]||u[m]||o;return n?a.createElement(h,l(l({ref:t},d),{},{components:n})):a.createElement(h,l({ref:t},d))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,l=new Array(o);l[0]=m;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[p]="string"==typeof e?e:r,l[1]=i;for(var c=2;c{"use strict";n.r(t),n.d(t,{default:()=>ge});var a=n(6540),r=n(5680),o=n(4586),l=n(5920),i=n(3641),s=n(8168),c=n(53),d=n(3155),p=n(4911),u=n(9312),m=n(5515),h=n(4676),b=n(6654),y=n(1773);const g=e=>a.createElement("svg",(0,s.A)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})));var f=n(1952),v=n(6359),k=n(4798);const E="sidebar_a3j0",A="sidebarWithHideableNavbar_VlPv",C="sidebarHidden_OqfG",N="sidebarLogo_hmkv",T="menu_cyFh",_="menuLinkText_lRH+",S="menuWithAnnouncementBar_+O1J",x="collapseSidebarButton_eoK2",j="collapseSidebarButtonIcon_e+kA",O="sidebarMenuIcon_iZzd",w="sidebarMenuCloseIcon_6kU2",P=(e,t)=>"link"===e.type?(0,d.ys)(e.href,t):"category"===e.type&&e.items.some((e=>P(e,t))),B=(0,a.memo)((function(e){let{items:t,...n}=e;return t.map(((e,t)=>a.createElement(I,(0,s.A)({key:t,item:e},n))))}));function I(e){return"category"===e.item.type?a.createElement(D,e):a.createElement(R,e)}function D(e){let{item:t,onItemClick:n,collapsible:r,activePath:o,...l}=e;const{items:i,label:p}=t,u=P(t,o),m=(0,d.ZC)(u),[h,b]=(0,a.useState)((()=>!!r&&(!u&&t.collapsed))),y=(0,a.useRef)(null),[g,f]=(0,a.useState)(void 0),v=function(e){void 0===e&&(e=!0),f(e?`${y.current?.scrollHeight}px`:void 0)};(0,a.useEffect)((()=>{u&&!m&&h&&b(!1)}),[u,m,h]);const k=(0,a.useCallback)((e=>{e.preventDefault(),g||v(),setTimeout((()=>b((e=>!e))),100)}),[g]);return 0===i.length?null:a.createElement("li",{className:(0,c.A)("menu__list-item",{"menu__list-item--collapsed":h})},a.createElement("a",(0,s.A)({className:(0,c.A)("menu__link",{"menu__link--sublist":r,"menu__link--active":r&&u,[_]:!r}),onClick:r?k:void 0,href:r?"#":void 0},l),p),a.createElement("ul",{className:"menu__list",ref:y,style:{height:g},onTransitionEnd:()=>{h||v(!1)}},a.createElement(B,{items:i,tabIndex:h?"-1":"0",onItemClick:n,collapsible:r,activePath:o})))}function R(e){let{item:t,onItemClick:n,activePath:r,collapsible:o,...l}=e;const{href:i,label:d}=t,p=P(t,r);return a.createElement("li",{className:"menu__list-item",key:d},a.createElement(h.A,(0,s.A)({className:(0,c.A)("menu__link",{"menu__link--active":p}),to:i},(0,b.A)(i)&&{isNavLink:!0,exact:!0,onClick:n},l),(0,b.A)(i)?d:a.createElement("span",null,d,a.createElement(v.A,null))))}function L(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,k.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,c.A)("button button--secondary button--outline",x),onClick:t},a.createElement(g,{className:j}))}function M(e){let{responsiveSidebarOpened:t,onClick:n}=e;return a.createElement("button",{"aria-label":t?(0,k.T)({id:"theme.docs.sidebar.responsiveCloseButtonLabel",message:"Close menu",description:"The ARIA label for close button of mobile doc sidebar"}):(0,k.T)({id:"theme.docs.sidebar.responsiveOpenButtonLabel",message:"Open menu",description:"The ARIA label for open button of mobile doc sidebar"}),"aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:n},t?a.createElement("span",{className:(0,c.A)(O,w)},"\xd7"):a.createElement(f.A,{className:O,height:24,width:24}))}const $=function(e){let{path:t,sidebar:n,sidebarCollapsible:r=!0,onCollapse:o,isHidden:l}=e;const i=function(){const{isClosed:e}=(0,d.Mj)(),[t,n]=(0,a.useState)(!e);return(0,m.A)((t=>{let{scrollY:a}=t;e||n(0===a)})),t}(),{navbar:{hideOnScroll:s},hideableSidebar:h}=(0,d.pN)(),{isClosed:b}=(0,d.Mj)(),{showResponsiveSidebar:g,closeResponsiveSidebar:f,toggleResponsiveSidebar:v}=function(){const[e,t]=(0,a.useState)(!1);(0,p.A)(e);const n=(0,u.A)();return(0,a.useEffect)((()=>{n===u.X.desktop&&t(!1)}),[n]),{showResponsiveSidebar:e,closeResponsiveSidebar:(0,a.useCallback)((e=>{e.target.blur(),t(!1)}),[t]),toggleResponsiveSidebar:(0,a.useCallback)((()=>{t((e=>!e))}),[t])}}();return a.createElement("div",{className:(0,c.A)(E,{[A]:s,[C]:l})},s&&a.createElement(y.A,{tabIndex:-1,className:N}),a.createElement("nav",{className:(0,c.A)("menu","menu--responsive","thin-scrollbar",T,{"menu--show":g,[S]:!b&&i}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Sidebar navigation",description:"The ARIA label for documentation menu"})},a.createElement(M,{responsiveSidebarOpened:g,onClick:v}),a.createElement("ul",{className:"menu__list"},a.createElement(B,{items:n,onItemClick:f,collapsible:r,activePath:t}))),h&&a.createElement(L,{onClick:o}))};const H={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var z={Prism:n(1258).A,theme:H};function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(){return F=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)};function G(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}var J=function(e){function t(){for(var t=this,n=[],a=arguments.length;a--;)n[a]=arguments[a];e.apply(this,n),W(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,a=Object.create(null),r=e.styles.reduce((function(e,n){var a=n.languages,r=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=F({},e[t],r);e[t]=n})),e}),a);return r.root=n,r.plain=F({},n,{backgroundColor:null}),r}(e.theme,e.language):void 0;return t.themeDict=n})),W(this,"getLineProps",(function(e){var n=e.key,a=e.className,r=e.style,o=F({},G(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?F({},o.style,r):r),void 0!==n&&(o.key=n),a&&(o.className+=" "+a),o})),W(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,r=n.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===r&&!a)return o[n[0]];var l=a?{display:"inline-block"}:{},i=n.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(i))}})),W(this,"getTokenProps",(function(e){var n=e.key,a=e.className,r=e.style,o=e.token,l=F({},G(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?F({},l.style,r):r),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l})),W(this,"tokenize",(function(e,t,n,a){var r={code:t,grammar:n,language:a,tokens:[]};e.hooks.run("before-tokenize",r);var o=r.tokens=e.tokenize(r.code,r.grammar,r.language);return e.hooks.run("after-tokenize",r),o}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,r=e.children,o=this.getThemeDict(this.props),l=t.languages[n];return r({tokens:function(e){for(var t=[[]],n=[e],a=[0],r=[e.length],o=0,l=0,i=[],s=[i];l>-1;){for(;(o=a[l]++)0?d:["plain"],c=p):(d=V(d,p.type),p.alias&&(d=V(d,p.alias)),c=p.content),"string"==typeof c){var u=c.split(Z),m=u.length;i.push({types:d,content:u[0]});for(var h=1;h{const{prism:e}=(0,d.pN)(),{isDarkTheme:t}=(0,Y.A)(),n=e.theme||Q,a=e.darkTheme||n;return t?a:n},te="codeBlockContainer_J+bg",ne="codeBlockContent_csEI",ae="codeBlockTitle_oQzk",re="codeBlock_rtdJ",oe="codeBlockWithTitle_ZT05",le="copyButton_M3SB",ie="codeBlockLines_1zSZ",se=/{([\d,-]+)}/,ce=function(e){void 0===e&&(e=["js","jsBlock","jsx","python","html"]);const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},n=["highlight-next-line","highlight-start","highlight-end"].join("|"),a=e.map((e=>`(?:${t[e].start}\\s*(${n})\\s*${t[e].end})`)).join("|");return new RegExp(`^\\s*(?:${a})\\s*$`)};function de(e){let{children:t,className:n,metastring:r,title:o}=e;const{prism:l}=(0,d.pN)(),[i,p]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1);(0,a.useEffect)((()=>{m(!0)}),[]);const h=(0,d.wt)(r)||o,b=(0,a.useRef)(null);let y=[];const g=ee(),f=Array.isArray(t)?t.join(""):t;if(r&&se.test(r)){const e=r.match(se)[1];y=K()(e).filter((e=>e>0))}let v=n&&n.replace(/language-/,"");!v&&l.defaultLanguage&&(v=l.defaultLanguage);let E=f.replace(/\n$/,"");if(0===y.length&&void 0!==v){let e="";const t=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return ce(["js","jsBlock"]);case"jsx":case"tsx":return ce(["js","jsBlock","jsx"]);case"html":return ce(["js","jsBlock","html"]);case"python":case"py":return ce(["python"]);default:return ce()}})(v),n=f.replace(/\n$/,"").split("\n");let a;for(let r=0;re||t),void 0)){case"highlight-next-line":e+=`${o},`;break;case"highlight-start":a=o;break;case"highlight-end":e+=`${a}-${o-1},`}n.splice(r,1)}else r+=1}y=K()(e),E=n.join("\n")}const A=()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const a=document.createElement("textarea"),r=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";const o=document.getSelection(),l=o.rangeCount>0&&o.getRangeAt(0);n.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}a.remove(),l&&(o.removeAllRanges(),o.addRange(l)),r&&r.focus()}(E),p(!0),setTimeout((()=>p(!1)),2e3)};return a.createElement(X,(0,s.A)({},z,{key:String(u),theme:g,code:E,language:v}),(e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:l}=e;return a.createElement("div",{className:te},h&&a.createElement("div",{style:n,className:ae},h),a.createElement("div",{className:(0,c.A)(ne,v)},a.createElement("pre",{tabIndex:0,className:(0,c.A)(t,re,"thin-scrollbar",{[oe]:h}),style:n},a.createElement("code",{className:ie},r.map(((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const n=o({line:e,key:t});return y.includes(t+1)&&(n.className+=" docusaurus-highlight-code-line"),a.createElement("span",(0,s.A)({key:t},n),e.map(((e,t)=>a.createElement("span",(0,s.A)({key:t},l({token:e,key:t}))))))})))),a.createElement("button",{ref:b,type:"button","aria-label":(0,k.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),className:(0,c.A)(le,"clean-btn"),onClick:A},i?a.createElement(k.A,{id:"theme.CodeBlock.copied",description:"The copied button label on code blocks"},"Copied"):a.createElement(k.A,{id:"theme.CodeBlock.copy",description:"The copy button label on code blocks"},"Copy"))))}))}var pe=n(6287);const ue={code:e=>{const{children:t}=e;return(0,a.isValidElement)(t)?t:t.includes("\n")?a.createElement(de,e):a.createElement("code",e)},a:e=>a.createElement(h.A,e),pre:e=>{const{children:t}=e;return(0,a.isValidElement)(t?.props?.children)?t?.props.children:a.createElement(de,(0,a.isValidElement)(t)?t?.props:{children:t})},h1:(0,pe.A)("h1"),h2:(0,pe.A)("h2"),h3:(0,pe.A)("h3"),h4:(0,pe.A)("h4"),h5:(0,pe.A)("h5"),h6:(0,pe.A)("h6")};var me=n(9090),he=n(6347);const be={docPage:"docPage_lDyR",docMainContainer:"docMainContainer_r8cw",docMainContainerEnhanced:"docMainContainerEnhanced_SOUu",docSidebarContainer:"docSidebarContainer_0YBq",docSidebarContainerHidden:"docSidebarContainerHidden_Qlt2",collapsedDocSidebar:"collapsedDocSidebar_zZpm",expandSidebarButtonIcon:"expandSidebarButtonIcon_cxi8",docItemWrapperEnhanced:"docItemWrapperEnhanced_aT5H"};function ye(e){let{currentDocRoute:t,versionMetadata:n,children:l}=e;const{siteConfig:s,isClient:p}=(0,o.A)(),{pluginId:u,version:m}=n,{sidebarName:h,sidebar:b}=function(e){let{versionMetadata:t,currentDocRoute:n}=e;const{permalinkToSidebar:a,docsSidebars:r}=t,o=a[n.path]||a[(l=n.path,l.endsWith("/")?l:`${l}/`)]||a[function(e){return e.endsWith("/")?e.slice(0,-1):e}(n.path)];var l;return{sidebar:r[o],sidebarName:o}}({versionMetadata:n,currentDocRoute:t}),[y,f]=(0,a.useState)(!1),[v,E]=(0,a.useState)(!1),A=(0,a.useCallback)((()=>{v&&E(!1),f(!y)}),[v]);return a.createElement(i.A,{key:p,wrapperClassName:d.GN.wrapper.docPages,pageClassName:d.GN.page.docPage,searchMetadatas:{version:m,tag:(0,d.tU)(u,m)}},a.createElement("div",{className:be.docPage},b&&a.createElement("aside",{className:(0,c.A)(be.docSidebarContainer,{[be.docSidebarContainerHidden]:y}),onTransitionEnd:e=>{e.currentTarget.classList.contains(be.docSidebarContainer)&&y&&E(!0)}},a.createElement($,{key:h,sidebar:b,path:t.path,sidebarCollapsible:s.themeConfig?.sidebarCollapsible??!0,onCollapse:A,isHidden:v}),v&&a.createElement("div",{className:be.collapsedDocSidebar,title:(0,k.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:A,onClick:A},a.createElement(g,{className:be.expandSidebarButtonIcon}))),a.createElement("main",{className:(0,c.A)(be.docMainContainer,{[be.docMainContainerEnhanced]:y||!b})},a.createElement("div",{className:(0,c.A)("container padding-top--md padding-bottom--lg",be.docItemWrapper,{[be.docItemWrapperEnhanced]:y})},a.createElement(r.xA,{components:ue},l)))))}const ge=function(e){const{route:{routes:t},versionMetadata:n,location:r}=e,o=t.find((e=>(0,he.B6)(r.pathname,e)));return o?a.createElement(ye,{currentDocRoute:o,versionMetadata:n},(0,l.A)(t,{versionMetadata:n})):a.createElement(me.default,e)}},6287:(e,t,n)=>{"use strict";n.d(t,{e:()=>d,A:()=>p});var a=n(8168),r=n(6540),o=n(53),l=n(4798),i=n(3155);const s="enhancedAnchor_WiXH",c="h1Heading_dC7a",d=function(e){let{...t}=e;return r.createElement("header",null,r.createElement("h1",(0,a.A)({},t,{id:void 0,className:c}),t.children))},p=e=>{return"h1"===e?d:(t=e,function(e){let{id:n,...a}=e;const{navbar:{hideOnScroll:c}}=(0,i.pN)();return n?r.createElement(t,a,r.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:(0,o.A)("anchor",{[s]:!c}),id:n}),a.children,r.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,l.T)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"#")):r.createElement(t,a)});var t}},9090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var a=n(6540),r=n(3641),o=n(4798);const l=function(){return a.createElement(r.A,{title:(0,o.T)({id:"theme.NotFound.title",message:"Page Not Found"})},a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(o.A,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(o.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(o.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."))))))}},8426:(e,t)=>{function n(e){let t,n=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))n.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,r,o]=t;if(a&&o){a=parseInt(a),o=parseInt(o);const e=a{"use strict";n.d(t,{xA:()=>d,yg:()=>h});var a=n(6540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),c=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(s.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=c(n),m=r,h=p["".concat(s,".").concat(m)]||p[m]||u[m]||o;return n?a.createElement(h,l(l({ref:t},d),{},{components:n})):a.createElement(h,l({ref:t},d))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,l=new Array(o);l[0]=m;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[p]="string"==typeof e?e:r,l[1]=i;for(var c=2;c{"use strict";n.r(t),n.d(t,{default:()=>ge});var a=n(6540),r=n(5680),o=n(4586),l=n(5920),i=n(3641),s=n(8168),c=n(53),d=n(3155),p=n(4911),u=n(9312),m=n(5515),h=n(4676),b=n(6654),y=n(1773);const g=e=>a.createElement("svg",(0,s.A)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})));var f=n(1952),v=n(6359),k=n(4798);const E="sidebar_a3j0",A="sidebarWithHideableNavbar_VlPv",C="sidebarHidden_OqfG",N="sidebarLogo_hmkv",T="menu_cyFh",_="menuLinkText_lRH+",S="menuWithAnnouncementBar_+O1J",x="collapseSidebarButton_eoK2",j="collapseSidebarButtonIcon_e+kA",O="sidebarMenuIcon_iZzd",w="sidebarMenuCloseIcon_6kU2",P=(e,t)=>"link"===e.type?(0,d.ys)(e.href,t):"category"===e.type&&e.items.some((e=>P(e,t))),B=(0,a.memo)((function(e){let{items:t,...n}=e;return t.map(((e,t)=>a.createElement(I,(0,s.A)({key:t,item:e},n))))}));function I(e){return"category"===e.item.type?a.createElement(D,e):a.createElement(R,e)}function D(e){let{item:t,onItemClick:n,collapsible:r,activePath:o,...l}=e;const{items:i,label:p}=t,u=P(t,o),m=(0,d.ZC)(u),[h,b]=(0,a.useState)((()=>!!r&&(!u&&t.collapsed))),y=(0,a.useRef)(null),[g,f]=(0,a.useState)(void 0),v=function(e){void 0===e&&(e=!0),f(e?`${y.current?.scrollHeight}px`:void 0)};(0,a.useEffect)((()=>{u&&!m&&h&&b(!1)}),[u,m,h]);const k=(0,a.useCallback)((e=>{e.preventDefault(),g||v(),setTimeout((()=>b((e=>!e))),100)}),[g]);return 0===i.length?null:a.createElement("li",{className:(0,c.A)("menu__list-item",{"menu__list-item--collapsed":h})},a.createElement("a",(0,s.A)({className:(0,c.A)("menu__link",{"menu__link--sublist":r,"menu__link--active":r&&u,[_]:!r}),onClick:r?k:void 0,href:r?"#":void 0},l),p),a.createElement("ul",{className:"menu__list",ref:y,style:{height:g},onTransitionEnd:()=>{h||v(!1)}},a.createElement(B,{items:i,tabIndex:h?"-1":"0",onItemClick:n,collapsible:r,activePath:o})))}function R(e){let{item:t,onItemClick:n,activePath:r,collapsible:o,...l}=e;const{href:i,label:d}=t,p=P(t,r);return a.createElement("li",{className:"menu__list-item",key:d},a.createElement(h.A,(0,s.A)({className:(0,c.A)("menu__link",{"menu__link--active":p}),to:i},(0,b.A)(i)&&{isNavLink:!0,exact:!0,onClick:n},l),(0,b.A)(i)?d:a.createElement("span",null,d,a.createElement(v.A,null))))}function L(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,k.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,c.A)("button button--secondary button--outline",x),onClick:t},a.createElement(g,{className:j}))}function M(e){let{responsiveSidebarOpened:t,onClick:n}=e;return a.createElement("button",{"aria-label":t?(0,k.T)({id:"theme.docs.sidebar.responsiveCloseButtonLabel",message:"Close menu",description:"The ARIA label for close button of mobile doc sidebar"}):(0,k.T)({id:"theme.docs.sidebar.responsiveOpenButtonLabel",message:"Open menu",description:"The ARIA label for open button of mobile doc sidebar"}),"aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:n},t?a.createElement("span",{className:(0,c.A)(O,w)},"\xd7"):a.createElement(f.A,{className:O,height:24,width:24}))}const $=function(e){let{path:t,sidebar:n,sidebarCollapsible:r=!0,onCollapse:o,isHidden:l}=e;const i=function(){const{isClosed:e}=(0,d.Mj)(),[t,n]=(0,a.useState)(!e);return(0,m.A)((t=>{let{scrollY:a}=t;e||n(0===a)})),t}(),{navbar:{hideOnScroll:s},hideableSidebar:h}=(0,d.pN)(),{isClosed:b}=(0,d.Mj)(),{showResponsiveSidebar:g,closeResponsiveSidebar:f,toggleResponsiveSidebar:v}=function(){const[e,t]=(0,a.useState)(!1);(0,p.A)(e);const n=(0,u.A)();return(0,a.useEffect)((()=>{n===u.X.desktop&&t(!1)}),[n]),{showResponsiveSidebar:e,closeResponsiveSidebar:(0,a.useCallback)((e=>{e.target.blur(),t(!1)}),[t]),toggleResponsiveSidebar:(0,a.useCallback)((()=>{t((e=>!e))}),[t])}}();return a.createElement("div",{className:(0,c.A)(E,{[A]:s,[C]:l})},s&&a.createElement(y.A,{tabIndex:-1,className:N}),a.createElement("nav",{className:(0,c.A)("menu","menu--responsive","thin-scrollbar",T,{"menu--show":g,[S]:!b&&i}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Sidebar navigation",description:"The ARIA label for documentation menu"})},a.createElement(M,{responsiveSidebarOpened:g,onClick:v}),a.createElement("ul",{className:"menu__list"},a.createElement(B,{items:n,onItemClick:f,collapsible:r,activePath:t}))),h&&a.createElement(L,{onClick:o}))};const H={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var z={Prism:n(1258).A,theme:H};function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(){return F=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)};function G(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}var J=function(e){function t(){for(var t=this,n=[],a=arguments.length;a--;)n[a]=arguments[a];e.apply(this,n),W(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,a=Object.create(null),r=e.styles.reduce((function(e,n){var a=n.languages,r=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=F({},e[t],r);e[t]=n})),e}),a);return r.root=n,r.plain=F({},n,{backgroundColor:null}),r}(e.theme,e.language):void 0;return t.themeDict=n})),W(this,"getLineProps",(function(e){var n=e.key,a=e.className,r=e.style,o=F({},G(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?F({},o.style,r):r),void 0!==n&&(o.key=n),a&&(o.className+=" "+a),o})),W(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,r=n.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===r&&!a)return o[n[0]];var l=a?{display:"inline-block"}:{},i=n.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(i))}})),W(this,"getTokenProps",(function(e){var n=e.key,a=e.className,r=e.style,o=e.token,l=F({},G(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?F({},l.style,r):r),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l})),W(this,"tokenize",(function(e,t,n,a){var r={code:t,grammar:n,language:a,tokens:[]};e.hooks.run("before-tokenize",r);var o=r.tokens=e.tokenize(r.code,r.grammar,r.language);return e.hooks.run("after-tokenize",r),o}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,r=e.children,o=this.getThemeDict(this.props),l=t.languages[n];return r({tokens:function(e){for(var t=[[]],n=[e],a=[0],r=[e.length],o=0,l=0,i=[],s=[i];l>-1;){for(;(o=a[l]++)0?d:["plain"],c=p):(d=V(d,p.type),p.alias&&(d=V(d,p.alias)),c=p.content),"string"==typeof c){var u=c.split(Z),m=u.length;i.push({types:d,content:u[0]});for(var h=1;h{const{prism:e}=(0,d.pN)(),{isDarkTheme:t}=(0,Y.A)(),n=e.theme||Q,a=e.darkTheme||n;return t?a:n},te="codeBlockContainer_J+bg",ne="codeBlockContent_csEI",ae="codeBlockTitle_oQzk",re="codeBlock_rtdJ",oe="codeBlockWithTitle_ZT05",le="copyButton_M3SB",ie="codeBlockLines_1zSZ",se=/{([\d,-]+)}/,ce=function(e){void 0===e&&(e=["js","jsBlock","jsx","python","html"]);const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},n=["highlight-next-line","highlight-start","highlight-end"].join("|"),a=e.map((e=>`(?:${t[e].start}\\s*(${n})\\s*${t[e].end})`)).join("|");return new RegExp(`^\\s*(?:${a})\\s*$`)};function de(e){let{children:t,className:n,metastring:r,title:o}=e;const{prism:l}=(0,d.pN)(),[i,p]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1);(0,a.useEffect)((()=>{m(!0)}),[]);const h=(0,d.wt)(r)||o,b=(0,a.useRef)(null);let y=[];const g=ee(),f=Array.isArray(t)?t.join(""):t;if(r&&se.test(r)){const e=r.match(se)[1];y=K()(e).filter((e=>e>0))}let v=n&&n.replace(/language-/,"");!v&&l.defaultLanguage&&(v=l.defaultLanguage);let E=f.replace(/\n$/,"");if(0===y.length&&void 0!==v){let e="";const t=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return ce(["js","jsBlock"]);case"jsx":case"tsx":return ce(["js","jsBlock","jsx"]);case"html":return ce(["js","jsBlock","html"]);case"python":case"py":return ce(["python"]);default:return ce()}})(v),n=f.replace(/\n$/,"").split("\n");let a;for(let r=0;re||t),void 0)){case"highlight-next-line":e+=`${o},`;break;case"highlight-start":a=o;break;case"highlight-end":e+=`${a}-${o-1},`}n.splice(r,1)}else r+=1}y=K()(e),E=n.join("\n")}const A=()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const a=document.createElement("textarea"),r=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";const o=document.getSelection(),l=o.rangeCount>0&&o.getRangeAt(0);n.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}a.remove(),l&&(o.removeAllRanges(),o.addRange(l)),r&&r.focus()}(E),p(!0),setTimeout((()=>p(!1)),2e3)};return a.createElement(X,(0,s.A)({},z,{key:String(u),theme:g,code:E,language:v}),(e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:l}=e;return a.createElement("div",{className:te},h&&a.createElement("div",{style:n,className:ae},h),a.createElement("div",{className:(0,c.A)(ne,v)},a.createElement("pre",{tabIndex:0,className:(0,c.A)(t,re,"thin-scrollbar",{[oe]:h}),style:n},a.createElement("code",{className:ie},r.map(((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const n=o({line:e,key:t});return y.includes(t+1)&&(n.className+=" docusaurus-highlight-code-line"),a.createElement("span",(0,s.A)({key:t},n),e.map(((e,t)=>a.createElement("span",(0,s.A)({key:t},l({token:e,key:t}))))))})))),a.createElement("button",{ref:b,type:"button","aria-label":(0,k.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),className:(0,c.A)(le,"clean-btn"),onClick:A},i?a.createElement(k.A,{id:"theme.CodeBlock.copied",description:"The copied button label on code blocks"},"Copied"):a.createElement(k.A,{id:"theme.CodeBlock.copy",description:"The copy button label on code blocks"},"Copy"))))}))}var pe=n(6287);const ue={code:e=>{const{children:t}=e;return(0,a.isValidElement)(t)?t:t.includes("\n")?a.createElement(de,e):a.createElement("code",e)},a:e=>a.createElement(h.A,e),pre:e=>{const{children:t}=e;return(0,a.isValidElement)(t?.props?.children)?t?.props.children:a.createElement(de,(0,a.isValidElement)(t)?t?.props:{children:t})},h1:(0,pe.A)("h1"),h2:(0,pe.A)("h2"),h3:(0,pe.A)("h3"),h4:(0,pe.A)("h4"),h5:(0,pe.A)("h5"),h6:(0,pe.A)("h6")};var me=n(9090),he=n(6347);const be={docPage:"docPage_lDyR",docMainContainer:"docMainContainer_r8cw",docMainContainerEnhanced:"docMainContainerEnhanced_SOUu",docSidebarContainer:"docSidebarContainer_0YBq",docSidebarContainerHidden:"docSidebarContainerHidden_Qlt2",collapsedDocSidebar:"collapsedDocSidebar_zZpm",expandSidebarButtonIcon:"expandSidebarButtonIcon_cxi8",docItemWrapperEnhanced:"docItemWrapperEnhanced_aT5H"};function ye(e){let{currentDocRoute:t,versionMetadata:n,children:l}=e;const{siteConfig:s,isClient:p}=(0,o.A)(),{pluginId:u,version:m}=n,{sidebarName:h,sidebar:b}=function(e){let{versionMetadata:t,currentDocRoute:n}=e;const{permalinkToSidebar:a,docsSidebars:r}=t,o=a[n.path]||a[(l=n.path,l.endsWith("/")?l:`${l}/`)]||a[function(e){return e.endsWith("/")?e.slice(0,-1):e}(n.path)];var l;return{sidebar:r[o],sidebarName:o}}({versionMetadata:n,currentDocRoute:t}),[y,f]=(0,a.useState)(!1),[v,E]=(0,a.useState)(!1),A=(0,a.useCallback)((()=>{v&&E(!1),f(!y)}),[v]);return a.createElement(i.A,{key:p,wrapperClassName:d.GN.wrapper.docPages,pageClassName:d.GN.page.docPage,searchMetadatas:{version:m,tag:(0,d.tU)(u,m)}},a.createElement("div",{className:be.docPage},b&&a.createElement("aside",{className:(0,c.A)(be.docSidebarContainer,{[be.docSidebarContainerHidden]:y}),onTransitionEnd:e=>{e.currentTarget.classList.contains(be.docSidebarContainer)&&y&&E(!0)}},a.createElement($,{key:h,sidebar:b,path:t.path,sidebarCollapsible:s.themeConfig?.sidebarCollapsible??!0,onCollapse:A,isHidden:v}),v&&a.createElement("div",{className:be.collapsedDocSidebar,title:(0,k.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,k.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:A,onClick:A},a.createElement(g,{className:be.expandSidebarButtonIcon}))),a.createElement("main",{className:(0,c.A)(be.docMainContainer,{[be.docMainContainerEnhanced]:y||!b})},a.createElement("div",{className:(0,c.A)("container padding-top--md padding-bottom--lg",be.docItemWrapper,{[be.docItemWrapperEnhanced]:y})},a.createElement(r.xA,{components:ue},l)))))}const ge=function(e){const{route:{routes:t},versionMetadata:n,location:r}=e,o=t.find((e=>(0,he.B6)(r.pathname,e)));return o?a.createElement(ye,{currentDocRoute:o,versionMetadata:n},(0,l.A)(t,{versionMetadata:n})):a.createElement(me.default,e)}},6287:(e,t,n)=>{"use strict";n.d(t,{e:()=>d,A:()=>p});var a=n(8168),r=n(6540),o=n(53),l=n(4798),i=n(3155);const s="enhancedAnchor_WiXH",c="h1Heading_dC7a",d=function(e){let{...t}=e;return r.createElement("header",null,r.createElement("h1",(0,a.A)({},t,{id:void 0,className:c}),t.children))},p=e=>{return"h1"===e?d:(t=e,function(e){let{id:n,...a}=e;const{navbar:{hideOnScroll:c}}=(0,i.pN)();return n?r.createElement(t,a,r.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:(0,o.A)("anchor",{[s]:!c}),id:n}),a.children,r.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,l.T)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"#")):r.createElement(t,a)});var t}},9090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var a=n(6540),r=n(3641),o=n(4798);const l=function(){return a.createElement(r.A,{title:(0,o.T)({id:"theme.NotFound.title",message:"Page Not Found"})},a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(o.A,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(o.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(o.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."))))))}},8426:(e,t)=>{function n(e){let t,n=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))n.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,r,o]=t;if(a&&o){a=parseInt(a),o=parseInt(o);const e=a{r.d(t,{A:()=>f});var n=r(6540),o=r(4625),a=r(4586),s=r(6654),i=r(8193);const c=(0,n.createContext)({collectLink:()=>{}});var u=r(6025),l=r(440);const f=function(e){let{isNavLink:t,to:r,href:f,activeClassName:d,isActive:p,"data-noBrokenLinkCheck":v,autoAddBaseUrl:g=!0,...h}=e;var y;const{siteConfig:{trailingSlash:m,baseUrl:_}}=(0,a.A)(),{withBaseUrl:b}=(0,u.h)(),w=(0,n.useContext)(c),P=r||f,D=(0,s.A)(P),A=null==P?void 0:P.replace("pathname://","");let E=void 0!==A?(j=A,g&&(e=>e.startsWith("/"))(j)?b(j):j):void 0;var j;E&&D&&(E=(0,l.applyTrailingSlash)(E,{trailingSlash:m,baseUrl:_}));const O=(0,n.useRef)(!1),S=t?o.k2:o.N_,x=i.A.canUseIntersectionObserver;let V;(0,n.useEffect)((()=>(!x&&D&&null!=E&&window.docusaurus.prefetch(E),()=>{x&&V&&V.disconnect()})),[E,x,D]);const k=null!==(y=null==E?void 0:E.startsWith("#"))&&void 0!==y&&y,I=!E||!D||k;return E&&D&&!k&&!v&&w.collectLink(E),I?n.createElement("a",{href:E,...P&&!D&&{target:"_blank",rel:"noopener noreferrer"},...h}):n.createElement(S,{...h,onMouseEnter:()=>{O.current||null==E||(window.docusaurus.preload(E),O.current=!0)},innerRef:e=>{var t,r;x&&e&&D&&(t=e,r=()=>{null!=E&&window.docusaurus.prefetch(E)},V=new window.IntersectionObserver((e=>{e.forEach((e=>{t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(V.unobserve(t),V.disconnect(),r())}))})),V.observe(t))},to:E||"",...t&&{isActive:p,activeClassName:d}})}},4798:(e,t,r)=>{r.d(t,{A:()=>f,T:()=>l});var n=r(6540);const o=/{\w+}/g,a="{}";function s(e,t){const r=[],s=e.replace(o,(e=>{const o=e.substr(1,e.length-2),s=null==t?void 0:t[o];if(void 0!==s){const e=n.isValidElement(s)?s:String(s);return r.push(e),a}return e}));return 0===r.length?e:r.every((e=>"string"==typeof e))?s.split(a).reduce(((e,t,n)=>{var o;return e.concat(t).concat(null!==(o=r[n])&&void 0!==o?o:"")}),""):s.split(a).reduce(((e,t,o)=>[...e,n.createElement(n.Fragment,{key:o},t,r[o])]),[])}function i(e){let{children:t,values:r}=e;return s(t,r)}var c=r(2654);function u(e){let{id:t,message:r}=e;var n;return null!==(n=c[null!=t?t:r])&&void 0!==n?n:r}function l(e,t){let{message:r,id:n}=e;var o;return s(null!==(o=u({message:r,id:n}))&&void 0!==o?o:r,t)}function f(e){let{children:t,id:r,values:o}=e;var a;const s=null!==(a=u({message:t,id:r}))&&void 0!==a?a:t;return n.createElement(i,{values:o},s)}},6654:(e,t,r)=>{function n(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!n(e)}r.d(t,{A:()=>o,z:()=>n})},5567:(e,t,r)=>{r.r(t),r.d(t,{BrowserRouter:()=>n.Kd,HashRouter:()=>n.I9,Link:()=>n.N_,MemoryRouter:()=>n.fS,NavLink:()=>n.k2,Prompt:()=>n.XG,Redirect:()=>n.rd,Route:()=>n.qh,Router:()=>n.Ix,StaticRouter:()=>n.kO,Switch:()=>n.dO,generatePath:()=>n.tW,matchPath:()=>n.B6,useHistory:()=>n.W6,useLocation:()=>n.zy,useParams:()=>n.g,useRouteMatch:()=>n.W5,withRouter:()=>n.y});var n=r(4625)},6025:(e,t,r)=>{r.d(t,{A:()=>s,h:()=>a});var n=r(4586),o=r(6654);function a(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,n.A)();return{withBaseUrl:(r,n)=>function(e,t,r,n){let{forcePrependBaseUrl:a=!1,absolute:s=!1}=void 0===n?{}:n;if(!r)return r;if(r.startsWith("#"))return r;if((0,o.z)(r))return r;if(a)return t+r;const i=r.startsWith(t)?r:t+r.replace(/^\//,"");return s?e+i:i}(t,e,r,n)}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:r}=a();return r(e,t)}},6588:(e,t,r)=>{r.r(t),r.d(t,{default:()=>a,useAllPluginInstancesData:()=>s,usePluginData:()=>i});var n=r(4586);const o="default";function a(){const{globalData:e}=(0,n.A)();if(!e)throw new Error("Docusaurus global data not found.");return e}function s(e){const t=a()[e];if(!t)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return t}function i(e,t){void 0===t&&(t=o);const r=s(e)[t];if(!r)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return r}},4733:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;const n=r(5567);t.getActivePlugin=function(e,t,r){void 0===r&&(r={});const o=Object.entries(e).find((e=>{let[r,o]=e;return!!n.matchPath(t,{path:o.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&r.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 a};t.getLatestVersion=e=>e.versions.find((e=>e.isLast));t.getActiveVersion=(e,r)=>{const o=t.getLatestVersion(e);return[...e.versions.filter((e=>e!==o)),o].find((e=>!!n.matchPath(r,{path:e.path,exact:!1,strict:!1})))};t.getActiveDocContext=(e,r)=>{const o=t.getActiveVersion(e,r),a=null==o?void 0:o.docs.find((e=>!!n.matchPath(r,{path:e.path,exact:!0,strict:!1})));return{activeVersion:o,activeDoc:a,alternateDocVersions:a?function(t){const r={};return e.versions.forEach((e=>{e.docs.forEach((n=>{n.id===t&&(r[e.name]=n)}))})),r}(a.id):{}}};t.getDocVersionSuggestions=(e,r)=>{const n=t.getLatestVersion(e),o=t.getActiveDocContext(e,r);return{latestDocSuggestion:null==o?void 0:o.alternateDocVersions[n.name],latestVersionSuggestion:n}}},727:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;const n=r(1635),o=r(5567),a=n.__importStar(r(6588)),s=r(4733),i={};t.useAllDocsData=()=>{var e;return null!==(e=a.default()["docusaurus-plugin-content-docs"])&&void 0!==e?e:i};t.useDocsData=e=>a.usePluginData("docusaurus-plugin-content-docs",e);t.useActivePlugin=function(e){void 0===e&&(e={});const r=t.useAllDocsData(),{pathname:n}=o.useLocation();return s.getActivePlugin(r,n,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});const r=t.useActivePlugin(e),{pathname:n}=o.useLocation();if(r){return{activePlugin:r,activeVersion:s.getActiveVersion(r.pluginData,n)}}};t.useVersions=e=>t.useDocsData(e).versions;t.useLatestVersion=e=>{const r=t.useDocsData(e);return s.getLatestVersion(r)};t.useActiveVersion=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getActiveVersion(r,n)};t.useActiveDocContext=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getActiveDocContext(r,n)};t.useDocVersionSuggestions=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getDocVersionSuggestions(r,n)}},8139:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(6540),o=r(2602),a=r(3155),s=r(6025);function i(e){let{title:t,description:r,keywords:i,image:c}=e;const{image:u}=(0,a.pN)(),l=(0,a.s$)(t),f=(0,s.A)(c||u,{absolute:!0});return n.createElement(o.A,null,t&&n.createElement("title",null,l),t&&n.createElement("meta",{property:"og:title",content:l}),r&&n.createElement("meta",{name:"description",content:r}),r&&n.createElement("meta",{property:"og:description",content:r}),i&&n.createElement("meta",{name:"keywords",content:Array.isArray(i)?i.join(","):i}),f&&n.createElement("meta",{property:"og:image",content:f}),f&&n.createElement("meta",{name:"twitter:image",content:f}))}},4098:(e,t,r)=>{r.d(t,{Gy:()=>n.useAllDocsData,HW:()=>n.useDocVersionSuggestions,gk:()=>n.useActivePluginAndVersion,ht:()=>n.useDocsData,ir:()=>n.useActiveVersion,jh:()=>n.useVersions,r7:()=>n.useLatestVersion,vT:()=>n.useActivePlugin,zK:()=>n.useActiveDocContext});var n=r(727)},3155:(e,t,r)=>{r.d(t,{oq:()=>K,Cy:()=>g,VQ:()=>R,GN:()=>N,Wf:()=>u,tU:()=>h,ys:()=>_,Eo:()=>l,wt:()=>v,oK:()=>d,Mj:()=>q,g1:()=>M,XK:()=>F,$G:()=>S,Ww:()=>j,ZC:()=>O,pN:()=>o,s$:()=>b});var n=r(4586);function o(){return(0,n.A)().siteConfig.themeConfig}const a="localStorage";function s(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(r){return t=r,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const c={get:()=>null,set:()=>{},del:()=>{}};const 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}}(e);const r=s(null==t?void 0:t.persistence);return null===r?c:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function l(e){void 0===e&&(e=a);const t=s(e);if(!t)return[];const r=[];for(let n=0;n{const r=e=>!e||(null==e?void 0:e.endsWith("/"))?e:`${e}/`;return r(e)===r(t)},b=e=>{const{siteConfig:t={}}=(0,n.A)(),{title:r,titleDelimiter:o="|"}=t;return e&&e.trim().length?`${e.trim()} ${o} ${r}`:r};var w=r(6540);const P=["zero","one","two","few","many","other"];function D(e){return P.filter((t=>e.includes(t)))}const A={locale:"en",pluralForms:D(["one","other"]),select:e=>1===e?"one":"other"};function E(){const{i18n:{currentLocale:e}}=(0,n.A)();return(0,w.useMemo)((()=>{if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),A;try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:D(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n`),A}}),[e])}function j(){const e=E();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];{n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms}), but the message contains ${n.length} plural forms: ${e} `);const o=r.select(t),a=r.pluralForms.indexOf(o);return n[Math.min(a,n.length-1)]}}(r,t,e)}}function O(e){const t=(0,w.useRef)();return(0,w.useEffect)((()=>{t.current=e})),t.current}function S(e){const t=(0,f.zy)(),r=O(t),n=(0,w.useRef)(!0);(0,w.useEffect)((()=>{n.current?n.current=!1:e({location:t,previousLocation:r})}),[t])}const x=e=>`docs-preferred-version-${e}`,V={save:(e,t,r)=>{u(x(e),{persistence:t}).set(r)},read:(e,t)=>u(x(e),{persistence:t}).get(),clear:(e,t)=>{u(x(e),{persistence:t}).del()}};function k(e){let{pluginIds:t,versionPersistence:r,allDocsData:n}=e;const o={};return t.forEach((e=>{o[e]=function(e){const t=V.read(e,r);return n[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(V.clear(e,r),{preferredVersionName:null})}(e)})),o}function I(){const e=(0,y.Gy)(),t=o().docs.versionPersistence,r=(0,w.useMemo)((()=>Object.keys(e)),[e]),[n,a]=(0,w.useState)((()=>function(e){const t={};return e.forEach((e=>{t[e]={preferredVersionName:null}})),t}(r)));(0,w.useEffect)((()=>{a(k({allDocsData:e,versionPersistence:t,pluginIds:r}))}),[e,t,r]);return[n,(0,w.useMemo)((()=>({savePreferredVersion:function(e,r){V.save(e,t,r),a((t=>({...t,[e]:{preferredVersionName:r}})))}})),[a])]}const C=(0,w.createContext)(null);function R(e){let{children:t}=e;return m?w.createElement($,null,t):w.createElement(w.Fragment,null,t)}function $(e){let{children:t}=e;const r=I();return w.createElement(C.Provider,{value:r},t)}function L(){const e=(0,w.useContext)(C);if(!e)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return e}const T="default";function M(e){void 0===e&&(e=T);const t=(0,y.ht)(e),[r,n]=L(),{preferredVersionName:o}=r[e];return{preferredVersion:o?t.versions.find((e=>e.name===o)):null,savePreferredVersionName:(0,w.useCallback)((t=>{n.savePreferredVersion(e,t)}),[n])}}function F(){const e=(0,y.Gy)(),[t]=L();const r=Object.keys(e),n={};return r.forEach((r=>{n[r]=function(r){const n=e[r],{preferredVersionName:o}=t[r];return o?n.versions.find((e=>e.name===o)):null}(r)})),n}const N={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagsPostPage:"blog-tags-post-page",docPage:"doc-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docPages:"docs-wrapper",mdxPages:"mdx-wrapper"}},B=u("docusaurus.announcement.dismiss"),W=u("docusaurus.announcement.id"),U=()=>"true"===B.get(),G=e=>B.set(String(e)),z=(0,w.createContext)(null),K=e=>{let{children:t}=e;const r=(()=>{const{announcementBar:e}=o(),{isClient:t}=(0,n.A)(),[r,a]=(0,w.useState)((()=>!!t&&U()));(0,w.useEffect)((()=>{a(U())}),[]);const s=(0,w.useCallback)((()=>{G(!0),a(!0)}),[]);return(0,w.useEffect)((()=>{if(!e)return;const{id:t}=e;let r=W.get();"annoucement-bar"===r&&(r="announcement-bar");const n=t!==r;W.set(t),n&&G(!1),!n&&U()||a(!1)}),[]),(0,w.useMemo)((()=>({isClosed:r,close:s})),[r])})();return w.createElement(z.Provider,{value:r},t)},q=()=>{const e=(0,w.useContext)(z);if(!e)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return e}},2983:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:r,baseUrl:n}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;const[o]=e.split(/[#?]/),a="/"===o||o===n?o:(s=o,r?function(e){return e.endsWith("/")?e:`${e}/`}(s):function(e){return e.endsWith("/")?e.slice(0,-1):e}(s));var s;return e.replace(o,a)}},440:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.uniq=t.applyTrailingSlash=void 0;var o=r(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return n(o).default}});var a=r(5183);Object.defineProperty(t,"uniq",{enumerable:!0,get:function(){return n(a).default}})},5183:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.from(new Set(e))}},53:(e,t,r)=>{function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,r=0,o="";r{r.r(t),r.d(t,{__addDisposableResource:()=>R,__assign:()=>a,__asyncDelegator:()=>E,__asyncGenerator:()=>A,__asyncValues:()=>j,__await:()=>D,__awaiter:()=>v,__classPrivateFieldGet:()=>k,__classPrivateFieldIn:()=>C,__classPrivateFieldSet:()=>I,__createBinding:()=>h,__decorate:()=>i,__disposeResources:()=>L,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>o,__generator:()=>g,__importDefault:()=>V,__importStar:()=>x,__makeTemplateObject:()=>O,__metadata:()=>p,__param:()=>c,__propKey:()=>f,__read:()=>_,__rest:()=>s,__rewriteRelativeImportExtension:()=>T,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>P,__spreadArrays:()=>w,__values:()=>m,default:()=>M});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,a){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var i,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,p=r.length-1;p>=0;p--){var v={};for(var g in n)v[g]="access"===g?{}:n[g];for(var g in n.access)v.access[g]=n.access[g];v.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(s(e||null))};var h=(0,r[p])("accessor"===c?{get:f.get,set:f.set}:f[u],v);if("accessor"===c){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(i=s(h.get))&&(f.get=i),(i=s(h.set))&&(f.set=i),(i=s(h.init))&&o.unshift(i)}else(i=s(h))&&("field"===c?o.unshift(i):f[u]=i)}l&&Object.defineProperty(l,n.name,f),d=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(i){o={error:i}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function b(){for(var e=[],t=0;t1||i(e,t)}))},t&&(n[e]=t(n[e])))}function i(e,t){try{(r=o[e](t)).value instanceof D?Promise.resolve(r.value.v).then(c,u):l(a[0][2],r)}catch(n){l(a[0][3],n)}var r}function c(e){i("next",e)}function u(e){i("throw",e)}function l(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}}function E(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:D(e[n](t)),done:!1}:o?o(t):t}:o}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&h(t,e,r);return S(t,e),t}function V(e){return e&&e.__esModule?e:{default:e}}function k(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function I(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function C(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var $="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function L(e){function t(t){e.error=e.hasError?new $(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,(function(e){return t(e),o()}))}else n|=1}catch(s){t(s)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function T(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,o,a){return r?t?".jsx":".js":!n||o&&a?n+o+"."+a.toLowerCase()+"js":e})):e}const M={__extends:o,__assign:a,__rest:s,__decorate:i,__param:c,__esDecorate:u,__runInitializers:l,__propKey:f,__setFunctionName:d,__metadata:p,__awaiter:v,__generator:g,__createBinding:h,__exportStar:y,__values:m,__read:_,__spread:b,__spreadArrays:w,__spreadArray:P,__await:D,__asyncGenerator:A,__asyncDelegator:E,__asyncValues:j,__makeTemplateObject:O,__importStar:x,__importDefault:V,__classPrivateFieldGet:k,__classPrivateFieldSet:I,__classPrivateFieldIn:C,__addDisposableResource:R,__disposeResources:L,__rewriteRelativeImportExtension:T}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[345],{4676:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(6540),o=r(4625),a=r(4586),s=r(6654),i=r(8193);const c=(0,n.createContext)({collectLink:()=>{}});var u=r(6025),l=r(440);const f=function(e){let{isNavLink:t,to:r,href:f,activeClassName:d,isActive:p,"data-noBrokenLinkCheck":v,autoAddBaseUrl:g=!0,...h}=e;var y;const{siteConfig:{trailingSlash:m,baseUrl:_}}=(0,a.A)(),{withBaseUrl:b}=(0,u.h)(),w=(0,n.useContext)(c),P=r||f,D=(0,s.A)(P),A=null==P?void 0:P.replace("pathname://","");let E=void 0!==A?(O=A,g&&(e=>e.startsWith("/"))(O)?b(O):O):void 0;var O;E&&D&&(E=(0,l.applyTrailingSlash)(E,{trailingSlash:m,baseUrl:_}));const j=(0,n.useRef)(!1),S=t?o.k2:o.N_,x=i.A.canUseIntersectionObserver;let V;(0,n.useEffect)((()=>(!x&&D&&null!=E&&window.docusaurus.prefetch(E),()=>{x&&V&&V.disconnect()})),[E,x,D]);const k=null!==(y=null==E?void 0:E.startsWith("#"))&&void 0!==y&&y,I=!E||!D||k;return E&&D&&!k&&!v&&w.collectLink(E),I?n.createElement("a",{href:E,...P&&!D&&{target:"_blank",rel:"noopener noreferrer"},...h}):n.createElement(S,{...h,onMouseEnter:()=>{j.current||null==E||(window.docusaurus.preload(E),j.current=!0)},innerRef:e=>{var t,r;x&&e&&D&&(t=e,r=()=>{null!=E&&window.docusaurus.prefetch(E)},V=new window.IntersectionObserver((e=>{e.forEach((e=>{t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(V.unobserve(t),V.disconnect(),r())}))})),V.observe(t))},to:E||"",...t&&{isActive:p,activeClassName:d}})}},4798:(e,t,r)=>{r.d(t,{A:()=>f,T:()=>l});var n=r(6540);const o=/{\w+}/g,a="{}";function s(e,t){const r=[],s=e.replace(o,(e=>{const o=e.substr(1,e.length-2),s=null==t?void 0:t[o];if(void 0!==s){const e=n.isValidElement(s)?s:String(s);return r.push(e),a}return e}));return 0===r.length?e:r.every((e=>"string"==typeof e))?s.split(a).reduce(((e,t,n)=>{var o;return e.concat(t).concat(null!==(o=r[n])&&void 0!==o?o:"")}),""):s.split(a).reduce(((e,t,o)=>[...e,n.createElement(n.Fragment,{key:o},t,r[o])]),[])}function i(e){let{children:t,values:r}=e;return s(t,r)}var c=r(2654);function u(e){let{id:t,message:r}=e;var n;return null!==(n=c[null!=t?t:r])&&void 0!==n?n:r}function l(e,t){let{message:r,id:n}=e;var o;return s(null!==(o=u({message:r,id:n}))&&void 0!==o?o:r,t)}function f(e){let{children:t,id:r,values:o}=e;var a;const s=null!==(a=u({message:t,id:r}))&&void 0!==a?a:t;return n.createElement(i,{values:o},s)}},6654:(e,t,r)=>{function n(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!n(e)}r.d(t,{A:()=>o,z:()=>n})},5567:(e,t,r)=>{r.r(t),r.d(t,{BrowserRouter:()=>n.Kd,HashRouter:()=>n.I9,Link:()=>n.N_,MemoryRouter:()=>n.fS,NavLink:()=>n.k2,Prompt:()=>n.XG,Redirect:()=>n.rd,Route:()=>n.qh,Router:()=>n.Ix,StaticRouter:()=>n.kO,Switch:()=>n.dO,generatePath:()=>n.tW,matchPath:()=>n.B6,useHistory:()=>n.W6,useLocation:()=>n.zy,useParams:()=>n.g,useRouteMatch:()=>n.W5,withRouter:()=>n.y});var n=r(4625)},6025:(e,t,r)=>{r.d(t,{A:()=>s,h:()=>a});var n=r(4586),o=r(6654);function a(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,n.A)();return{withBaseUrl:(r,n)=>function(e,t,r,n){let{forcePrependBaseUrl:a=!1,absolute:s=!1}=void 0===n?{}:n;if(!r)return r;if(r.startsWith("#"))return r;if((0,o.z)(r))return r;if(a)return t+r;const i=r.startsWith(t)?r:t+r.replace(/^\//,"");return s?e+i:i}(t,e,r,n)}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:r}=a();return r(e,t)}},6588:(e,t,r)=>{r.r(t),r.d(t,{default:()=>a,useAllPluginInstancesData:()=>s,usePluginData:()=>i});var n=r(4586);const o="default";function a(){const{globalData:e}=(0,n.A)();if(!e)throw new Error("Docusaurus global data not found.");return e}function s(e){const t=a()[e];if(!t)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return t}function i(e,t){void 0===t&&(t=o);const r=s(e)[t];if(!r)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return r}},4733:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;const n=r(5567);t.getActivePlugin=function(e,t,r){void 0===r&&(r={});const o=Object.entries(e).find((e=>{let[r,o]=e;return!!n.matchPath(t,{path:o.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&r.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 a};t.getLatestVersion=e=>e.versions.find((e=>e.isLast));t.getActiveVersion=(e,r)=>{const o=t.getLatestVersion(e);return[...e.versions.filter((e=>e!==o)),o].find((e=>!!n.matchPath(r,{path:e.path,exact:!1,strict:!1})))};t.getActiveDocContext=(e,r)=>{const o=t.getActiveVersion(e,r),a=null==o?void 0:o.docs.find((e=>!!n.matchPath(r,{path:e.path,exact:!0,strict:!1})));return{activeVersion:o,activeDoc:a,alternateDocVersions:a?function(t){const r={};return e.versions.forEach((e=>{e.docs.forEach((n=>{n.id===t&&(r[e.name]=n)}))})),r}(a.id):{}}};t.getDocVersionSuggestions=(e,r)=>{const n=t.getLatestVersion(e),o=t.getActiveDocContext(e,r);return{latestDocSuggestion:null==o?void 0:o.alternateDocVersions[n.name],latestVersionSuggestion:n}}},727:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;const n=r(1635),o=r(5567),a=n.__importStar(r(6588)),s=r(4733),i={};t.useAllDocsData=()=>{var e;return null!==(e=a.default()["docusaurus-plugin-content-docs"])&&void 0!==e?e:i};t.useDocsData=e=>a.usePluginData("docusaurus-plugin-content-docs",e);t.useActivePlugin=function(e){void 0===e&&(e={});const r=t.useAllDocsData(),{pathname:n}=o.useLocation();return s.getActivePlugin(r,n,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});const r=t.useActivePlugin(e),{pathname:n}=o.useLocation();if(r){return{activePlugin:r,activeVersion:s.getActiveVersion(r.pluginData,n)}}};t.useVersions=e=>t.useDocsData(e).versions;t.useLatestVersion=e=>{const r=t.useDocsData(e);return s.getLatestVersion(r)};t.useActiveVersion=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getActiveVersion(r,n)};t.useActiveDocContext=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getActiveDocContext(r,n)};t.useDocVersionSuggestions=e=>{const r=t.useDocsData(e),{pathname:n}=o.useLocation();return s.getDocVersionSuggestions(r,n)}},8139:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(6540),o=r(2602),a=r(3155),s=r(6025);function i(e){let{title:t,description:r,keywords:i,image:c}=e;const{image:u}=(0,a.pN)(),l=(0,a.s$)(t),f=(0,s.A)(c||u,{absolute:!0});return n.createElement(o.A,null,t&&n.createElement("title",null,l),t&&n.createElement("meta",{property:"og:title",content:l}),r&&n.createElement("meta",{name:"description",content:r}),r&&n.createElement("meta",{property:"og:description",content:r}),i&&n.createElement("meta",{name:"keywords",content:Array.isArray(i)?i.join(","):i}),f&&n.createElement("meta",{property:"og:image",content:f}),f&&n.createElement("meta",{name:"twitter:image",content:f}))}},4098:(e,t,r)=>{r.d(t,{Gy:()=>n.useAllDocsData,HW:()=>n.useDocVersionSuggestions,gk:()=>n.useActivePluginAndVersion,ht:()=>n.useDocsData,ir:()=>n.useActiveVersion,jh:()=>n.useVersions,r7:()=>n.useLatestVersion,vT:()=>n.useActivePlugin,zK:()=>n.useActiveDocContext});var n=r(727)},3155:(e,t,r)=>{r.d(t,{oq:()=>K,Cy:()=>g,VQ:()=>R,GN:()=>F,Wf:()=>u,tU:()=>h,ys:()=>_,Eo:()=>l,wt:()=>v,oK:()=>d,Mj:()=>q,g1:()=>M,XK:()=>N,$G:()=>S,Ww:()=>O,ZC:()=>j,pN:()=>o,s$:()=>b});var n=r(4586);function o(){return(0,n.A)().siteConfig.themeConfig}const a="localStorage";function s(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(r){return t=r,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const c={get:()=>null,set:()=>{},del:()=>{}};const 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}}(e);const r=s(null==t?void 0:t.persistence);return null===r?c:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function l(e){void 0===e&&(e=a);const t=s(e);if(!t)return[];const r=[];for(let n=0;n{const r=e=>!e||(null==e?void 0:e.endsWith("/"))?e:`${e}/`;return r(e)===r(t)},b=e=>{const{siteConfig:t={}}=(0,n.A)(),{title:r,titleDelimiter:o="|"}=t;return e&&e.trim().length?`${e.trim()} ${o} ${r}`:r};var w=r(6540);const P=["zero","one","two","few","many","other"];function D(e){return P.filter((t=>e.includes(t)))}const A={locale:"en",pluralForms:D(["one","other"]),select:e=>1===e?"one":"other"};function E(){const{i18n:{currentLocale:e}}=(0,n.A)();return(0,w.useMemo)((()=>{if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),A;try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:D(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n`),A}}),[e])}function O(){const e=E();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];{n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms}), but the message contains ${n.length} plural forms: ${e} `);const o=r.select(t),a=r.pluralForms.indexOf(o);return n[Math.min(a,n.length-1)]}}(r,t,e)}}function j(e){const t=(0,w.useRef)();return(0,w.useEffect)((()=>{t.current=e})),t.current}function S(e){const t=(0,f.zy)(),r=j(t),n=(0,w.useRef)(!0);(0,w.useEffect)((()=>{n.current?n.current=!1:e({location:t,previousLocation:r})}),[t])}const x=e=>`docs-preferred-version-${e}`,V={save:(e,t,r)=>{u(x(e),{persistence:t}).set(r)},read:(e,t)=>u(x(e),{persistence:t}).get(),clear:(e,t)=>{u(x(e),{persistence:t}).del()}};function k(e){let{pluginIds:t,versionPersistence:r,allDocsData:n}=e;const o={};return t.forEach((e=>{o[e]=function(e){const t=V.read(e,r);return n[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(V.clear(e,r),{preferredVersionName:null})}(e)})),o}function I(){const e=(0,y.Gy)(),t=o().docs.versionPersistence,r=(0,w.useMemo)((()=>Object.keys(e)),[e]),[n,a]=(0,w.useState)((()=>function(e){const t={};return e.forEach((e=>{t[e]={preferredVersionName:null}})),t}(r)));(0,w.useEffect)((()=>{a(k({allDocsData:e,versionPersistence:t,pluginIds:r}))}),[e,t,r]);return[n,(0,w.useMemo)((()=>({savePreferredVersion:function(e,r){V.save(e,t,r),a((t=>({...t,[e]:{preferredVersionName:r}})))}})),[a])]}const C=(0,w.createContext)(null);function R(e){let{children:t}=e;return m?w.createElement($,null,t):w.createElement(w.Fragment,null,t)}function $(e){let{children:t}=e;const r=I();return w.createElement(C.Provider,{value:r},t)}function L(){const e=(0,w.useContext)(C);if(!e)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return e}const T="default";function M(e){void 0===e&&(e=T);const t=(0,y.ht)(e),[r,n]=L(),{preferredVersionName:o}=r[e];return{preferredVersion:o?t.versions.find((e=>e.name===o)):null,savePreferredVersionName:(0,w.useCallback)((t=>{n.savePreferredVersion(e,t)}),[n])}}function N(){const e=(0,y.Gy)(),[t]=L();const r=Object.keys(e),n={};return r.forEach((r=>{n[r]=function(r){const n=e[r],{preferredVersionName:o}=t[r];return o?n.versions.find((e=>e.name===o)):null}(r)})),n}const F={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagsPostPage:"blog-tags-post-page",docPage:"doc-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docPages:"docs-wrapper",mdxPages:"mdx-wrapper"}},B=u("docusaurus.announcement.dismiss"),W=u("docusaurus.announcement.id"),U=()=>"true"===B.get(),G=e=>B.set(String(e)),z=(0,w.createContext)(null),K=e=>{let{children:t}=e;const r=(()=>{const{announcementBar:e}=o(),{isClient:t}=(0,n.A)(),[r,a]=(0,w.useState)((()=>!!t&&U()));(0,w.useEffect)((()=>{a(U())}),[]);const s=(0,w.useCallback)((()=>{G(!0),a(!0)}),[]);return(0,w.useEffect)((()=>{if(!e)return;const{id:t}=e;let r=W.get();"annoucement-bar"===r&&(r="announcement-bar");const n=t!==r;W.set(t),n&&G(!1),!n&&U()||a(!1)}),[]),(0,w.useMemo)((()=>({isClosed:r,close:s})),[r])})();return w.createElement(z.Provider,{value:r},t)},q=()=>{const e=(0,w.useContext)(z);if(!e)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return e}},2983:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:r,baseUrl:n}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;const[o]=e.split(/[#?]/),a="/"===o||o===n?o:(s=o,r?function(e){return e.endsWith("/")?e:`${e}/`}(s):function(e){return e.endsWith("/")?e.slice(0,-1):e}(s));var s;return e.replace(o,a)}},440:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.uniq=t.applyTrailingSlash=void 0;var o=r(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return n(o).default}});var a=r(5183);Object.defineProperty(t,"uniq",{enumerable:!0,get:function(){return n(a).default}})},5183:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.from(new Set(e))}},53:(e,t,r)=>{function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,r=0,o="";r{r.r(t),r.d(t,{__addDisposableResource:()=>$,__assign:()=>a,__asyncDelegator:()=>E,__asyncGenerator:()=>A,__asyncValues:()=>O,__await:()=>D,__awaiter:()=>v,__classPrivateFieldGet:()=>I,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>C,__createBinding:()=>h,__decorate:()=>i,__disposeResources:()=>T,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>o,__generator:()=>g,__importDefault:()=>k,__importStar:()=>V,__makeTemplateObject:()=>j,__metadata:()=>p,__param:()=>c,__propKey:()=>f,__read:()=>_,__rest:()=>s,__rewriteRelativeImportExtension:()=>M,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>P,__spreadArrays:()=>w,__values:()=>m,default:()=>N});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,a){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var i,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,p=r.length-1;p>=0;p--){var v={};for(var g in n)v[g]="access"===g?{}:n[g];for(var g in n.access)v.access[g]=n.access[g];v.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(s(e||null))};var h=(0,r[p])("accessor"===c?{get:f.get,set:f.set}:f[u],v);if("accessor"===c){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(i=s(h.get))&&(f.get=i),(i=s(h.set))&&(f.set=i),(i=s(h.init))&&o.unshift(i)}else(i=s(h))&&("field"===c?o.unshift(i):f[u]=i)}l&&Object.defineProperty(l,n.name,f),d=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(i){o={error:i}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function b(){for(var e=[],t=0;t1||i(e,t)}))},t&&(n[e]=t(n[e])))}function i(e,t){try{(r=o[e](t)).value instanceof D?Promise.resolve(r.value.v).then(c,u):l(a[0][2],r)}catch(n){l(a[0][3],n)}var r}function c(e){i("next",e)}function u(e){i("throw",e)}function l(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}}function E(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:D(e[n](t)),done:!1}:o?o(t):t}:o}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function j(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},x=function(e){return x=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},x(e)};function V(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=x(e),n=0;n{n.d(t,{xA:()=>c,yg:()=>d});var o=n(6540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=o.createContext({}),s=function(e){var t=o.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},c=function(e){var t=s(e.components);return o.createElement(u.Provider,{value:t},e.children)},p="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},g=o.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),p=s(n),g=i,d=p["".concat(u,".").concat(g)]||p[g]||f[g]||r;return n?o.createElement(d,a(a({ref:t},c),{},{components:n})):o.createElement(d,a({ref:t},c))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,a=new Array(r);a[0]=g;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[p]="string"==typeof e?e:i,a[1]=l;for(var s=2;s{n.r(t),n.d(t,{contentTitle:()=>a,default:()=>p,frontMatter:()=>r,metadata:()=>l,toc:()=>u});var o=n(8168),i=(n(6540),n(5680));const r={title:"Output Options",slug:"output",sidebar_label:"Output"},a=void 0,l={unversionedId:"configuration/output",id:"configuration/output",isDocsHomePage:!1,title:"Output Options",description:"These options configure the build output generated by chayns-toolkit build.",source:"@site/docs/configuration/output.md",sourceDirName:"configuration",slug:"/configuration/output",permalink:"/chayns-toolkit/docs/configuration/output",editUrl:"https://github.com/TobitSoftware/chayns-toolkit/edit/main/docs/docs/configuration/output.md",version:"current",frontMatter:{title:"Output Options",slug:"output",sidebar_label:"Output"},sidebar:"docs",previous:{title:"Development",permalink:"/chayns-toolkit/docs/configuration/development"},next:{title:"Webpack Customization",permalink:"/chayns-toolkit/docs/configuration/webpack-customization"}},u=[{value:"Single File Builds",id:"single-file-builds",children:[]}],s={toc:u},c="wrapper";function p(e){let{components:t,...n}=e;return(0,i.yg)(c,(0,o.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("p",null,"These options configure the build output generated by ",(0,i.yg)("inlineCode",{parentName:"p"},"chayns-toolkit build"),"."),(0,i.yg)("p",null,"All options aswell as the ",(0,i.yg)("inlineCode",{parentName:"p"},"toolkit.config.js")," file itself are optional."),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n output: {\n /**\n * Toggles single-file build functionality. Read more below\n *\n * @type {boolean}\n */\n singleBundle: false,\n\n /**\n * Change the file-name your of primary output bundle. You can use any\n * of the [webpack substitutions](https://webpack.js.org/configuration/output/#template-strings)\n * as well as the `[package]` substitution, which will be replaced by\n * the package name specified in your `package.json`. Defaults to\n * `[package].[contenthash].js`.\n *\n * @type {string}\n */\n filename: "[package].[contenthash].js",\n\n /**\n * Set an absolute path where your output will be emitted to.\n *\n * @type {string}\n */\n path: "//my-qa-server/example-project",\n },\n // ... other options ...\n}\n')),(0,i.yg)("h2",{id:"single-file-builds"},"Single File Builds"),(0,i.yg)("p",null,"In single-file build mode, the compiler will inline all assets (CSS, images,\netc.) together with all JavaScript into a single bundle. This can be useful when\nbuilding smaller fragments of a UI, e.g. some kind of plugin."))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[685],{5680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>d});var o=n(6540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=o.createContext({}),s=function(e){var t=o.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=s(e.components);return o.createElement(u.Provider,{value:t},e.children)},c="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},g=o.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=s(n),g=i,d=c["".concat(u,".").concat(g)]||c[g]||f[g]||r;return n?o.createElement(d,a(a({ref:t},p),{},{components:n})):o.createElement(d,a({ref:t},p))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,a=new Array(r);a[0]=g;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[c]="string"==typeof e?e:i,a[1]=l;for(var s=2;s{n.r(t),n.d(t,{contentTitle:()=>a,default:()=>c,frontMatter:()=>r,metadata:()=>l,toc:()=>u});var o=n(8168),i=(n(6540),n(5680));const r={title:"Output Options",slug:"output",sidebar_label:"Output"},a=void 0,l={unversionedId:"configuration/output",id:"configuration/output",isDocsHomePage:!1,title:"Output Options",description:"These options configure the build output generated by chayns-toolkit build.",source:"@site/docs/configuration/output.md",sourceDirName:"configuration",slug:"/configuration/output",permalink:"/chayns-toolkit/docs/configuration/output",editUrl:"https://github.com/TobitSoftware/chayns-toolkit/edit/main/docs/docs/configuration/output.md",version:"current",frontMatter:{title:"Output Options",slug:"output",sidebar_label:"Output"},sidebar:"docs",previous:{title:"Development",permalink:"/chayns-toolkit/docs/configuration/development"},next:{title:"Webpack Customization",permalink:"/chayns-toolkit/docs/configuration/webpack-customization"}},u=[{value:"Single File Builds",id:"single-file-builds",children:[]}],s={toc:u},p="wrapper";function c(e){let{components:t,...n}=e;return(0,i.yg)(p,(0,o.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("p",null,"These options configure the build output generated by ",(0,i.yg)("inlineCode",{parentName:"p"},"chayns-toolkit build"),"."),(0,i.yg)("p",null,"All options aswell as the ",(0,i.yg)("inlineCode",{parentName:"p"},"toolkit.config.js")," file itself are optional."),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n output: {\n /**\n * Toggles single-file build functionality. Read more below\n *\n * @type {boolean}\n */\n singleBundle: false,\n\n /**\n * Change the file-name your of primary output bundle. You can use any\n * of the [webpack substitutions](https://webpack.js.org/configuration/output/#template-strings)\n * as well as the `[package]` substitution, which will be replaced by\n * the package name specified in your `package.json`. Defaults to\n * `[package].[contenthash].js`.\n *\n * @type {string}\n */\n filename: "[package].[contenthash].js",\n\n /**\n * Set an absolute path where your output will be emitted to.\n *\n * @type {string}\n */\n path: "//my-qa-server/example-project",\n entryPoints: {\n // key defines the name of the resulting html-file (here index.html)\n index: {\n pathIndex: "./src/index", // path to your entry point index.js/index.ts\n pathHtml: "./src/index.html", // path to the html template\n },\n },\n },\n // ... other options ...\n}\n')),(0,i.yg)("h2",{id:"single-file-builds"},"Single File Builds"),(0,i.yg)("p",null,"In single-file build mode, the compiler will inline all assets (CSS, images, etc.) together with all\nJavaScript into a single bundle. This can be useful when building smaller fragments of a UI, e.g.\nsome kind of plugin."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5558718b.42ba5b13.js b/assets/js/5558718b.42ba5b13.js new file mode 100644 index 0000000..be7215a --- /dev/null +++ b/assets/js/5558718b.42ba5b13.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[476],{5680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>d});var o=t(6540);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function r(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var c=o.createContext({}),p=function(e){var n=o.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):r(r({},n),e)),t},s=function(e){var n=p(e.components);return o.createElement(c.Provider,{value:n},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return o.createElement(o.Fragment,{},n)}},f=o.forwardRef((function(e,n){var t=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=p(t),f=i,d=u["".concat(c,".").concat(f)]||u[f]||g[f]||a;return t?o.createElement(d,r(r({ref:n},s),{},{components:t})):o.createElement(d,r({ref:n},s))}));function d(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var a=t.length,r=new Array(a);r[0]=f;var l={};for(var c in n)hasOwnProperty.call(n,c)&&(l[c]=n[c]);l.originalType=e,l[u]="string"==typeof e?e:i,r[1]=l;for(var p=2;p{t.r(n),t.d(n,{contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=t(8168),i=(t(6540),t(5680));const a={title:"Customizing the Webpack Configuration",slug:"webpack-customization",sidebar_label:"Webpack Customization"},r=void 0,l={unversionedId:"configuration/webpack",id:"configuration/webpack",isDocsHomePage:!1,title:"Customizing the Webpack Configuration",description:"Even though the included webpack configuration will handle most cases, we also provide the ability",source:"@site/docs/configuration/webpack.md",sourceDirName:"configuration",slug:"/configuration/webpack-customization",permalink:"/chayns-toolkit/docs/configuration/webpack-customization",editUrl:"https://github.com/TobitSoftware/chayns-toolkit/edit/main/docs/docs/configuration/webpack.md",version:"current",frontMatter:{title:"Customizing the Webpack Configuration",slug:"webpack-customization",sidebar_label:"Webpack Customization"},sidebar:"docs",previous:{title:"Output",permalink:"/chayns-toolkit/docs/configuration/output"},next:{title:"Contributing",permalink:"/chayns-toolkit/docs/contributing"}},c=[{value:"Examples",id:"examples",children:[{value:"Adding a Babel Plugin",id:"adding-a-babel-plugin",children:[]},{value:"Polyfilling a Node Module",id:"polyfilling-a-node-module",children:[]}]}],p={toc:c},s="wrapper";function u(e){let{components:n,...t}=e;return(0,i.yg)(s,(0,o.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,i.yg)("p",null,"Even though the included webpack configuration will handle most cases, we also provide the ability\nto modify it."),(0,i.yg)("blockquote",null,(0,i.yg)("p",{parentName:"blockquote"},"Please note that the webpack configuration does not follow semantic versioning and can change with\nany release.")),(0,i.yg)("p",null,"Use the ",(0,i.yg)("inlineCode",{parentName:"p"},"webpack")," property of the configuration object to specify a function that receives the\ndefault webpack configuration along with some other information. This modifier function has to\nreturn the modified configuration."),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'{5} title="/toolkit.config.js"',"{5}":!0,title:'"/toolkit.config.js"'},"module.exports = {\n webpack(config, options) {\n // ... do some modifications...\n\n return config\n },\n // ... other options ...\n}\n")),(0,i.yg)("p",null,"The modifier function receives two arguments. First is our default webpack configuration, second is\nan object with additional information and utilities, following this interface:"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-ts"},'interface Options {\n /**\n * The webpack module. To avoid version conflicts, you should not import\n * webpack on your own if you want to use one of the built-in plugins.\n */\n webpack: webpack\n\n /**\n * A boolean that specifies wether the configuration is for development or\n * production.\n */\n dev: boolean\n\n /**\n * Specifies if the current build is for client or server\n */\n target: "client" | "server"\n}\n')),(0,i.yg)("blockquote",null,(0,i.yg)("p",{parentName:"blockquote"},"If you find yourself modifying the webpack configuration often for a feature that you think\nbelongs in our default config, please\n",(0,i.yg)("a",{parentName:"p",href:"https://github.com/TobitSoftware/create-chayns-app/issues"},"open an issue")," to discuss it.")),(0,i.yg)("h2",{id:"examples"},"Examples"),(0,i.yg)("p",null,"\u26a0\ufe0f Below examples are not updated for v3 yet."),(0,i.yg)("h3",{id:"adding-a-babel-plugin"},"Adding a Babel Plugin"),(0,i.yg)("p",null,"This example shows how to add\n",(0,i.yg)("a",{parentName:"p",href:"https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator"},(0,i.yg)("inlineCode",{parentName:"a"},"@babel/plugin-proposal-pipeline-operator")),"\nto ",(0,i.yg)("inlineCode",{parentName:"p"},"babel-loader"),":"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n webpack(config) {\n const babelRule = config.module.rules.find(\n (rule) => rule.use.loader && rule.use.loader.includes("babel-loader")\n )\n\n if (!babelRule) return config\n\n const babelOptions = babelRule.use.options\n\n const pipelinePlugin = ["@babel/plugin-proposal-pipeline-operator", { proposal: "smart" }]\n\n if (Array.isArray(babelOptions.plugins)) {\n babelOptions.plugins.push(pipelinePlugin)\n } else {\n babelOptions.plugins = [pipelinePlugin]\n }\n\n return config\n },\n}\n')),(0,i.yg)("h3",{id:"polyfilling-a-node-module"},"Polyfilling a Node Module"),(0,i.yg)("p",null,"This example shows how to polyfill the Node.js ",(0,i.yg)("inlineCode",{parentName:"p"},"crypto")," module using a\n",(0,i.yg)("a",{parentName:"p",href:"https://webpack.js.org/configuration/resolve/#resolvefallback"},"resolve fallback"),":"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n webpack(config) {\n config.resolve.fallback.crypto = require.resolve("crypto-browserify")\n\n return config\n },\n}\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5558718b.c2a14f3b.js b/assets/js/5558718b.c2a14f3b.js deleted file mode 100644 index 543d5a3..0000000 --- a/assets/js/5558718b.c2a14f3b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[476],{5680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>d});var o=t(6540);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function r(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var c=o.createContext({}),p=function(e){var n=o.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):r(r({},n),e)),t},s=function(e){var n=p(e.components);return o.createElement(c.Provider,{value:n},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return o.createElement(o.Fragment,{},n)}},f=o.forwardRef((function(e,n){var t=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=p(t),f=i,d=u["".concat(c,".").concat(f)]||u[f]||g[f]||a;return t?o.createElement(d,r(r({ref:n},s),{},{components:t})):o.createElement(d,r({ref:n},s))}));function d(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var a=t.length,r=new Array(a);r[0]=f;var l={};for(var c in n)hasOwnProperty.call(n,c)&&(l[c]=n[c]);l.originalType=e,l[u]="string"==typeof e?e:i,r[1]=l;for(var p=2;p{t.r(n),t.d(n,{contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=t(8168),i=(t(6540),t(5680));const a={title:"Customizing the Webpack Configuration",slug:"webpack-customization",sidebar_label:"Webpack Customization"},r=void 0,l={unversionedId:"configuration/webpack",id:"configuration/webpack",isDocsHomePage:!1,title:"Customizing the Webpack Configuration",description:"Even though the included webpack configuration will handle most cases, we also",source:"@site/docs/configuration/webpack.md",sourceDirName:"configuration",slug:"/configuration/webpack-customization",permalink:"/chayns-toolkit/docs/configuration/webpack-customization",editUrl:"https://github.com/TobitSoftware/chayns-toolkit/edit/main/docs/docs/configuration/webpack.md",version:"current",frontMatter:{title:"Customizing the Webpack Configuration",slug:"webpack-customization",sidebar_label:"Webpack Customization"},sidebar:"docs",previous:{title:"Output",permalink:"/chayns-toolkit/docs/configuration/output"},next:{title:"Contributing",permalink:"/chayns-toolkit/docs/contributing"}},c=[{value:"Examples",id:"examples",children:[{value:"Adding a Babel Plugin",id:"adding-a-babel-plugin",children:[]},{value:"Polyfilling a Node Module",id:"polyfilling-a-node-module",children:[]}]}],p={toc:c},s="wrapper";function u(e){let{components:n,...t}=e;return(0,i.yg)(s,(0,o.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,i.yg)("p",null,"Even though the included webpack configuration will handle most cases, we also\nprovide the ability to modify it."),(0,i.yg)("blockquote",null,(0,i.yg)("p",{parentName:"blockquote"},"Please note that the webpack configuration does not follow semantic versioning\nand can change with any release.")),(0,i.yg)("p",null,"Use the ",(0,i.yg)("inlineCode",{parentName:"p"},"webpack")," property of the configuration object to specify a function\nthat receives the default webpack configuration along with some other\ninformation. This modifier function has to return the modified configuration."),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'{5} title="/toolkit.config.js"',"{5}":!0,title:'"/toolkit.config.js"'},"module.exports = {\n webpack(config, options) {\n // ... do some modifications...\n\n return config\n },\n // ... other options ...\n}\n")),(0,i.yg)("p",null,"The modifier function receives two arguments. First is our default webpack\nconfiguration, second is an object with additional information and utilities,\nfollowing this interface:"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-ts"},"interface Options {\n /**\n * The webpack module. To avoid version conflicts, you should not import\n * webpack on your own if you want to use one of the built-in plugins.\n */\n webpack: webpack\n\n /**\n * A boolean that specifies wether the configuration is for development or\n * production.\n */\n dev: boolean\n}\n")),(0,i.yg)("blockquote",null,(0,i.yg)("p",{parentName:"blockquote"},"If you find yourself modifying the webpack configuration often for a feature\nthat you think belongs in our default config, please\n",(0,i.yg)("a",{parentName:"p",href:"https://github.com/TobitSoftware/create-chayns-app/issues"},"open an issue")," to\ndiscuss it.")),(0,i.yg)("h2",{id:"examples"},"Examples"),(0,i.yg)("h3",{id:"adding-a-babel-plugin"},"Adding a Babel Plugin"),(0,i.yg)("p",null,"This example shows how to add\n",(0,i.yg)("a",{parentName:"p",href:"https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator"},(0,i.yg)("inlineCode",{parentName:"a"},"@babel/plugin-proposal-pipeline-operator")),"\nto ",(0,i.yg)("inlineCode",{parentName:"p"},"babel-loader"),":"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n webpack(config) {\n const babelRule = config.module.rules.find(\n (rule) =>\n rule.use.loader && rule.use.loader.includes("babel-loader")\n )\n\n if (!babelRule) return config\n\n const babelOptions = babelRule.use.options\n\n const pipelinePlugin = [\n "@babel/plugin-proposal-pipeline-operator",\n { proposal: "smart" },\n ]\n\n if (Array.isArray(babelOptions.plugins)) {\n babelOptions.plugins.push(pipelinePlugin)\n } else {\n babelOptions.plugins = [pipelinePlugin]\n }\n\n return config\n },\n}\n')),(0,i.yg)("h3",{id:"polyfilling-a-node-module"},"Polyfilling a Node Module"),(0,i.yg)("p",null,"This example shows how to polyfill the Node.js ",(0,i.yg)("inlineCode",{parentName:"p"},"crypto")," module using a\n",(0,i.yg)("a",{parentName:"p",href:"https://webpack.js.org/configuration/resolve/#resolvefallback"},"resolve fallback"),":"),(0,i.yg)("pre",null,(0,i.yg)("code",{parentName:"pre",className:"language-js",metastring:'title="/toolkit.config.js"',title:'"/toolkit.config.js"'},'module.exports = {\n webpack(config) {\n config.resolve.fallback.crypto = require.resolve("crypto-browserify")\n\n return config\n },\n}\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/641.11d5b860.js b/assets/js/641.11d5b860.js deleted file mode 100644 index d38718d..0000000 --- a/assets/js/641.11d5b860.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[641],{5600:(e,t,r)=>{r.d(t,{Bc:()=>v,E8:()=>Hr,a1:()=>Br});var n=r(6540);r(961);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],c=!0,i=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);c=!0);}catch(e){i=!0,o=e}finally{try{c||null==r.return||r.return()}finally{if(i)throw o}}return a}}(e,t)||m(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t=3||2===r&&n>=4||1===r&&n>=10);function a(t,r,n){if(o&&void 0!==n){var a=n[0].__autocomplete_algoliaCredentials,c={"X-Algolia-Application-Id":a.appId,"X-Algolia-API-Key":a.apiKey};e.apply(void 0,[t].concat(_(r),[{headers:c}]))}else e.apply(void 0,[t].concat(_(r)))}return{init:function(t,r){e("init",{appId:t,apiKey:r})},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("clickedObjectIDsAfterSearch",q(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("clickedObjectIDs",q(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&e.apply(void 0,["clickedFilters"].concat(r))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("convertedObjectIDsAfterSearch",q(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("convertedObjectIDs",q(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&e.apply(void 0,["convertedFilters"].concat(r))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&t.reduce((function(e,t){var r=t.items,n=x(t,C);return[].concat(_(e),_(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n0&&e.apply(void 0,["viewedFilters"].concat(r))}}}function B(e){var t=e.items.reduce((function(e,t){var r;return e[t.__autocomplete_indexName]=(null!==(r=e[t.__autocomplete_indexName])&&void 0!==r?r:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function H(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function U(e){return U="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},U(e)}function F(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return V(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)?V(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&J({onItemsChange:n,items:r,insights:i,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,r=e.onSelect,n=e.onActive;c("addAlgoliaAgent","insights-plugin"),t({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:i}}),r((function(e){var t=e.item,r=e.state,n=e.event;H(t)&&o({state:r,event:n,insights:i,item:t,insightsEvents:[$({eventName:"Item Selected"},A({item:t,items:l.current}))]})})),n((function(e){var t=e.item,r=e.state,n=e.event;H(t)&&a({state:r,event:n,insights:i,item:t,insightsEvents:[$({eventName:"Item Active"},A({item:t,items:l.current}))]})}))},onStateChange:function(e){var t=e.state;s({state:t})},__autocomplete_pluginOptions:e}}function Z(e,t){var r=t;return{then:function(t,n){return Z(e.then(Y(t,r,e),Y(n,r,e)),r)},catch:function(t){return Z(e.catch(Y(t,r,e)),r)},finally:function(t){return t&&r.onCancelList.push(t),Z(e.finally(Y(t&&function(){return r.onCancelList=[],t()},r,e)),r)},cancel:function(){r.isCanceled=!0;var e=r.onCancelList;r.onCancelList=[],e.forEach((function(e){e()}))},isCanceled:function(){return!0===r.isCanceled}}}function G(e){return Z(e,{isCanceled:!1,onCancelList:[]})}function Y(e,t,r){return e?function(r){return t.isCanceled?r:e(r)}:r}function X(e,t,r,n){if(!r)return null;if(e<0&&(null===t||null!==n&&0===t))return r+e;var o=(null===t?-1:t)+e;return o<=-1||o>=r?null===n?null:0:o}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0},reshape:function(e){return e.sources}},e),{},{id:null!==(r=e.id)&&void 0!==r?r:"autocomplete-".concat(S++),plugins:o,initialState:ve({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var r;null===(r=e.onStateChange)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onStateChange)||void 0===r?void 0:r.call(e,t)}))},onSubmit:function(t){var r;null===(r=e.onSubmit)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onSubmit)||void 0===r?void 0:r.call(e,t)}))},onReset:function(t){var r;null===(r=e.onReset)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onReset)||void 0===r?void 0:r.call(e,t)}))},getSources:function(r){return Promise.all([].concat(function(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pe(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)?pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var r=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,r.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));r.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:j,onResolve:j};Object.keys(t).forEach((function(e){t[e].__default=!0}));var n=te(te({},t),e);return Promise.resolve(n)})))}))}(e,r)}))).then((function(e){return b(e)})).then((function(e){return e.map((function(e){return ve(ve({},e),{},{onSelect:function(r){e.onSelect(r),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,r)}))},onActive:function(r){e.onActive(r),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,r)}))},onResolve:function(r){e.onResolve(r),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,r)}))}})}))}))},navigator:ve({navigate:function(e){var t=e.itemUrl;n.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,r=n.open(t,"_blank","noopener");null==r||r.focus()},navigateNewWindow:function(e){var t=e.itemUrl;n.open(t,"_blank","noopener")}},e.navigator)})}function be(e){return be="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},be(e)}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ne);Be&&o.environment.clearTimeout(Be);var s=l.setCollections,u=l.setIsOpen,m=l.setQuery,f=l.setActiveItemId,d=l.setStatus;if(m(a),f(o.defaultActiveItemId),!a&&!1===o.openOnFocus){var p,h=i.getState().collections.map((function(e){return Te(Te({},e),{},{items:[]})}));d("idle"),s(h),u(null!==(p=n.isOpen)&&void 0!==p?p:o.shouldPanelOpen({state:i.getState()}));var v=G(He(h).then((function(){return Promise.resolve()})));return i.pendingRequests.add(v)}d("loading"),Be=o.environment.setTimeout((function(){d("stalled")}),o.stallThreshold);var y=G(He(o.getSources(Te({query:a,refresh:c,state:i.getState()},l)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(Te({query:a,refresh:c,state:i.getState()},l))).then((function(t){return function(e,t,r){if(o=e,Boolean(null==o?void 0:o.execute)){var n="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(Pe(Object.keys(r.context).map((function(e){var t;return null===(t=r.context[e])||void 0===t?void 0:t.__algoliaSearchParameters}))))):{};return Ie(Ie({},e),{},{requests:e.queries.map((function(r){return{query:"algolia"===e.requesterId?Ie(Ie({},r),{},{params:Ie(Ie({},n),r.params)}):r,sourceId:t,transformResponse:e.transformResponse}}))})}var o;return{items:e,sourceId:t}}(t,e.sourceId,i.getState())}))}))).then(De).then((function(t){return function(e,t,r){return t.map((function(t){var n,o=e.filter((function(e){return e.sourceId===t.sourceId})),a=o.map((function(e){return e.items})),c=o[0].transformResponse,i=c?c({results:n=a,hits:n.map((function(e){return e.hits})).filter(Boolean),facetHits:n.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}):a;return t.onResolve({source:t,results:a,items:i,state:r.getState()}),i.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:i}}))}(t,e,i)})).then((function(e){return function(e){var t=e.props,r=e.state,n=e.collections.reduce((function(e,t){return Ee(Ee({},e),{},Oe({},t.source.sourceId,Ee(Ee({},t.source),{},{getItems:function(){return b(t.items)}})))}),{}),o=t.plugins.reduce((function(e,t){return t.reshape?t.reshape(e):e}),{sourcesBySourceId:n,state:r}).sourcesBySourceId;return b(t.reshape({sourcesBySourceId:o,sources:Object.values(o),state:r})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:o,state:i.getState()})}))})))).then((function(e){var r;d("idle"),s(e);var m=o.shouldPanelOpen({state:i.getState()});u(null!==(r=n.isOpen)&&void 0!==r?r:o.openOnFocus&&!a&&m||m);var f=oe(i.getState());if(null!==i.getState().activeItemId&&f){var p=f.item,h=f.itemInputValue,v=f.itemUrl,y=f.source;y.onActive(Te({event:t,item:p,itemInputValue:h,itemUrl:v,refresh:c,source:y,state:i.getState()},l))}})).finally((function(){d("idle"),Be&&o.environment.clearTimeout(Be)}));return i.pendingRequests.add(y)}function Fe(e){return Fe="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},Fe(e)}var Ve=["event","props","refresh","store"];function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $e(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function at(e){var t=e.props,r=e.refresh,n=e.store,o=ot(e,Je),a=function(e,t){return void 0!==t?"".concat(e,"-").concat(t):e};return{getEnvironmentProps:function(e){var r=e.inputElement,o=e.formElement,a=e.panelElement;function c(e){!n.getState().isOpen&&n.pendingRequests.isEmpty()||e.target===r||!1===[o,a].some((function(t){return(r=t)===(n=e.target)||r.contains(n);var r,n}))&&(n.dispatch("blur",null),t.debug||n.pendingRequests.cancelAll())}return rt({onTouchStart:c,onMouseDown:c,onTouchMove:function(e){!1!==n.getState().isOpen&&r===t.environment.document.activeElement&&e.target!==r&&r.blur()}},ot(e,Qe))},getRootProps:function(e){return rt({role:"combobox","aria-expanded":n.getState().isOpen,"aria-haspopup":"listbox","aria-owns":n.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},e)},getFormProps:function(e){return e.inputElement,rt({action:"",noValidate:!0,role:"search",onSubmit:function(a){var c;a.preventDefault(),t.onSubmit(rt({event:a,refresh:r,state:n.getState()},o)),n.dispatch("submit",null),null===(c=e.inputElement)||void 0===c||c.blur()},onReset:function(a){var c;a.preventDefault(),t.onReset(rt({event:a,refresh:r,state:n.getState()},o)),n.dispatch("reset",null),null===(c=e.inputElement)||void 0===c||c.focus()}},ot(e,Ze))},getLabelProps:function(e){var r=e||{},n=r.sourceIndex,o=ot(r,Ye);return rt({htmlFor:"".concat(a(t.id,n),"-input"),id:"".concat(a(t.id,n),"-label")},o)},getInputProps:function(e){var a;function c(e){(t.openOnFocus||Boolean(n.getState().query))&&Ue(rt({event:e,props:t,query:n.getState().completion||n.getState().query,refresh:r,store:n},o)),n.dispatch("focus",null)}var i=e||{},l=(i.inputElement,i.maxLength),s=void 0===l?512:l,u=ot(i,Ge),m=oe(n.getState()),f=function(e){return Boolean(e&&e.match(ae))}((null===(a=t.environment.navigator)||void 0===a?void 0:a.userAgent)||""),d=null!=m&&m.itemUrl&&!f?"go":"search";return rt({"aria-autocomplete":"both","aria-activedescendant":n.getState().isOpen&&null!==n.getState().activeItemId?"".concat(t.id,"-item-").concat(n.getState().activeItemId):void 0,"aria-controls":n.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:n.getState().completion||n.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:d,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:s,type:"search",onChange:function(e){Ue(rt({event:e,props:t,query:e.currentTarget.value.slice(0,s),refresh:r,store:n},o))},onKeyDown:function(e){!function(e){var t=e.event,r=e.props,n=e.refresh,o=e.store,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ve);if("ArrowUp"===t.key||"ArrowDown"===t.key){var c=function(){var e=r.environment.document.getElementById("".concat(r.id,"-item-").concat(o.getState().activeItemId));e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e.scrollIntoView(!1))},i=function(){var e=oe(o.getState());if(null!==o.getState().activeItemId&&e){var r=e.item,c=e.itemInputValue,i=e.itemUrl,l=e.source;l.onActive($e({event:t,item:r,itemInputValue:c,itemUrl:i,refresh:n,source:l,state:o.getState()},a))}};t.preventDefault(),!1===o.getState().isOpen&&(r.openOnFocus||Boolean(o.getState().query))?Ue($e({event:t,props:r,query:o.getState().query,refresh:n,store:o},a)).then((function(){o.dispatch(t.key,{nextActiveItemId:r.defaultActiveItemId}),i(),setTimeout(c,0)})):(o.dispatch(t.key,{}),i(),c())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(r.debug||o.pendingRequests.cancelAll());t.preventDefault();var l=oe(o.getState()),s=l.item,u=l.itemInputValue,m=l.itemUrl,f=l.source;if(t.metaKey||t.ctrlKey)void 0!==m&&(f.onSelect($e({event:t,item:s,itemInputValue:u,itemUrl:m,refresh:n,source:f,state:o.getState()},a)),r.navigator.navigateNewTab({itemUrl:m,item:s,state:o.getState()}));else if(t.shiftKey)void 0!==m&&(f.onSelect($e({event:t,item:s,itemInputValue:u,itemUrl:m,refresh:n,source:f,state:o.getState()},a)),r.navigator.navigateNewWindow({itemUrl:m,item:s,state:o.getState()}));else if(t.altKey);else{if(void 0!==m)return f.onSelect($e({event:t,item:s,itemInputValue:u,itemUrl:m,refresh:n,source:f,state:o.getState()},a)),void r.navigator.navigate({itemUrl:m,item:s,state:o.getState()});Ue($e({event:t,nextState:{isOpen:!1},props:r,query:u,refresh:n,store:o},a)).then((function(){f.onSelect($e({event:t,item:s,itemInputValue:u,itemUrl:m,refresh:n,source:f,state:o.getState()},a))}))}}}(rt({event:e,props:t,refresh:r,store:n},o))},onFocus:c,onBlur:j,onClick:function(r){e.inputElement!==t.environment.document.activeElement||n.getState().isOpen||c(r)}},u)},getPanelProps:function(e){return rt({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){n.dispatch("mouseleave",null)}},e)},getListProps:function(e){var r=e||{},n=r.sourceIndex,o=ot(r,Xe);return rt({role:"listbox","aria-labelledby":"".concat(a(t.id,n),"-label"),id:"".concat(a(t.id,n),"-list")},o)},getItemProps:function(e){var c=e.item,i=e.source,l=e.sourceIndex,s=ot(e,et);return rt({id:"".concat(a(t.id,l),"-item-").concat(c.__autocomplete_id),role:"option","aria-selected":n.getState().activeItemId===c.__autocomplete_id,onMouseMove:function(e){if(c.__autocomplete_id!==n.getState().activeItemId){n.dispatch("mousemove",c.__autocomplete_id);var t=oe(n.getState());if(null!==n.getState().activeItemId&&t){var a=t.item,i=t.itemInputValue,l=t.itemUrl,s=t.source;s.onActive(rt({event:e,item:a,itemInputValue:i,itemUrl:l,refresh:r,source:s,state:n.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var a=i.getItemInputValue({item:c,state:n.getState()}),l=i.getItemUrl({item:c,state:n.getState()});(l?Promise.resolve():Ue(rt({event:e,nextState:{isOpen:!1},props:t,query:a,refresh:r,store:n},o))).then((function(){i.onSelect(rt({event:e,item:c,itemInputValue:a,itemUrl:l,refresh:r,source:i,state:n.getState()},o))}))}},s)}}}function ct(e){return ct="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},ct(e)}function it(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lt(e){for(var t=1;t0&&n.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},n.createElement("p",{className:"DocSearch-Help"},s,":"),n.createElement("ul",null,h.slice(0,3).reduce((function(e,t){return[].concat(u(e),[n.createElement("li",{key:t},n.createElement("button",{className:"DocSearch-Prefill",key:t,type:"button",onClick:function(){o.setQuery(t.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},t))])}),[]))),o.getMissingResultsUrl&&n.createElement("p",{className:"DocSearch-Help"},"".concat(f," "),n.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},p)))}var Ht=["hit","attribute","tagName"];function Ut(e,t){return t.split(".").reduce((function(e,t){return null!=e&&e[t]?e[t]:null}),e)}function Ft(e){var t=e.hit,r=e.attribute,o=e.tagName,c=void 0===o?"span":o,i=l(e,Ht);return(0,n.createElement)(c,a(a({},i),{},{dangerouslySetInnerHTML:{__html:Ut(t,"_snippetResult.".concat(r,".value"))||Ut(t,r)}}))}function Vt(e){return e.collection&&0!==e.collection.items.length?n.createElement("section",{className:"DocSearch-Hits"},n.createElement("div",{className:"DocSearch-Hit-source"},e.title),n.createElement("ul",e.getListProps(),e.collection.items.map((function(t,r){return n.createElement(Kt,i({key:[e.title,t.objectID].join(":"),item:t,index:r},e))})))):null}function Kt(e){var t=e.item,r=e.index,o=e.renderIcon,a=e.renderAction,c=e.getItemProps,l=e.onItemClick,u=e.collection,m=e.hitComponent,f=s(n.useState(!1),2),d=f[0],p=f[1],h=s(n.useState(!1),2),v=h[0],y=h[1],g=n.useRef(null),b=m;return n.createElement("li",i({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",d&&"DocSearch-Hit--deleting",v&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){g.current&&g.current()}},c({item:t,source:u.source,onClick:function(e){l(t,e)}})),n.createElement(b,{hit:t},n.createElement("div",{className:"DocSearch-Hit-Container"},o({item:t,index:r}),t.hierarchy[t.type]&&"lvl1"===t.type&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(Ft,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&n.createElement(Ft,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(Ft,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),n.createElement(Ft,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(Ft,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),n.createElement(Ft,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),a({item:t,runDeleteTransition:function(e){p(!0),g.current=e},runFavoriteTransition:function(e){y(!0),g.current=e}}))))}function $t(e,t,r){return e.reduce((function(e,n){var o=t(n);return e.hasOwnProperty(o)||(e[o]=[]),e[o].length<(r||5)&&e[o].push(n),e}),{})}function zt(e){return e}function Wt(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function Jt(){}var Qt=/(|<\/mark>)/g,Zt=RegExp(Qt.source);function Gt(e){var t,r,n=e;if(!n.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var o=n.__docsearch_parent?null===(t=n.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(r=e._highlightResult)||void 0===r||null===(r=r.hierarchy)||void 0===r?void 0:r.lvl0;return o?o.value&&Zt.test(o.value)?o.value.replace(Qt,""):o.value:e.hierarchy.lvl0}function Yt(e){return n.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map((function(t){if(0===t.items.length)return null;var r=Gt(t.items[0]);return n.createElement(Vt,i({},e,{key:t.source.sourceId,title:r,collection:t,renderIcon:function(e){var r,o=e.item,a=e.index;return n.createElement(n.Fragment,null,o.__docsearch_parent&&n.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},n.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.__docsearch_parent!==(null===(r=t.items[a+1])||void 0===r?void 0:r.__docsearch_parent)?n.createElement("path",{d:"M8 6v21M20 27H8.3"}):n.createElement("path",{d:"M8 6v42M20 27H8.3"}))),n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(_t,{type:o.type})))},renderAction:function(){return n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement(Ct,null))}}))})),e.resultsFooterComponent&&n.createElement("section",{className:"DocSearch-HitsFooter"},n.createElement(e.resultsFooterComponent,{state:e.state})))}var Xt=["translations"];function er(e){var t=e.translations,r=void 0===t?{}:t,o=l(e,Xt),a=r.recentSearchesTitle,c=void 0===a?"Recent":a,s=r.noRecentSearchesText,u=void 0===s?"No recent searches":s,m=r.saveRecentSearchButtonTitle,f=void 0===m?"Save this search":m,d=r.removeRecentSearchButtonTitle,p=void 0===d?"Remove this search from history":d,h=r.favoriteSearchesTitle,v=void 0===h?"Favorite":h,y=r.removeFavoriteSearchButtonTitle,g=void 0===y?"Remove this search from favorites":y;return"idle"===o.state.status&&!1===o.hasCollections?o.disableUserPersonalization?null:n.createElement("div",{className:"DocSearch-StartScreen"},n.createElement("p",{className:"DocSearch-Help"},u)):!1===o.hasCollections?null:n.createElement("div",{className:"DocSearch-Dropdown-Container"},n.createElement(Vt,i({},o,{title:c,collection:o.state.collections[0],renderIcon:function(){return n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(Pt,null))},renderAction:function(e){var t=e.item,r=e.runFavoriteTransition,a=e.runDeleteTransition;return n.createElement(n.Fragment,null,n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),r((function(){o.favoriteSearches.add(t),o.recentSearches.remove(t),o.refresh()}))}},n.createElement(Tt,null))),n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a((function(){o.recentSearches.remove(t),o.refresh()}))}},n.createElement(kt,null))))}})),n.createElement(Vt,i({},o,{title:v,collection:o.state.collections[1],renderIcon:function(){return n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(Tt,null))},renderAction:function(e){var t=e.item,r=e.runDeleteTransition;return n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:g,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),r((function(){o.favoriteSearches.remove(t),o.refresh()}))}},n.createElement(kt,null)))}})))}var tr=["translations"],rr=n.memo((function(e){var t=e.translations,r=void 0===t?{}:t,o=l(e,tr);if("error"===o.state.status)return n.createElement(qt,{translations:null==r?void 0:r.errorScreen});var a=o.state.collections.some((function(e){return e.items.length>0}));return o.state.query?!1===a?n.createElement(Bt,i({},o,{translations:null==r?void 0:r.noResultsScreen})):n.createElement(Yt,o):n.createElement(er,i({},o,{hasCollections:a,translations:null==r?void 0:r.startScreen}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status})),nr=["translations"];function or(e){var t=e.translations,r=void 0===t?{}:t,o=l(e,nr),a=r.resetButtonTitle,c=void 0===a?"Clear the query":a,s=r.resetButtonAriaLabel,u=void 0===s?"Clear the query":s,m=r.cancelButtonText,f=void 0===m?"Cancel":m,d=r.cancelButtonAriaLabel,h=void 0===d?"Cancel":d,v=r.searchInputLabel,y=void 0===v?"Search":v,g=o.getFormProps({inputElement:o.inputRef.current}).onReset;return n.useEffect((function(){o.autoFocus&&o.inputRef.current&&o.inputRef.current.focus()}),[o.autoFocus,o.inputRef]),n.useEffect((function(){o.isFromSelection&&o.inputRef.current&&o.inputRef.current.select()}),[o.isFromSelection,o.inputRef]),n.createElement(n.Fragment,null,n.createElement("form",{className:"DocSearch-Form",onSubmit:function(e){e.preventDefault()},onReset:g},n.createElement("label",i({className:"DocSearch-MagnifierLabel"},o.getLabelProps()),n.createElement(p,null),n.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},y)),n.createElement("div",{className:"DocSearch-LoadingIndicator"},n.createElement(At,null)),n.createElement("input",i({className:"DocSearch-Input",ref:o.inputRef},o.getInputProps({inputElement:o.inputRef.current,autoFocus:o.autoFocus,maxLength:64}))),n.createElement("button",{type:"reset",title:c,className:"DocSearch-Reset","aria-label":u,hidden:!o.state.query},n.createElement(kt,null))),n.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":h,onClick:o.onClose},f))}var ar=["_highlightResult","_snippetResult"];function cr(e){var t=e.key,r=e.limit,n=void 0===r?5:r,o=function(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}(t),a=o.getItem().slice(0,n);return{add:function(e){var t=e,r=(t._highlightResult,t._snippetResult,l(t,ar)),c=a.findIndex((function(e){return e.objectID===r.objectID}));c>-1&&a.splice(c,1),a.unshift(r),a=a.slice(0,n),o.setItem(a)},remove:function(e){a=a.filter((function(t){return t.objectID!==e.objectID})),o.setItem(a)},getAll:function(){return a}}}function ir(e){const t=`algoliasearch-client-js-${e.key}`;let r;const n=()=>(void 0===r&&(r=e.localStorage||window.localStorage),r),o=()=>JSON.parse(n().getItem(t)||"{}"),a=e=>{n().setItem(t,JSON.stringify(e))};return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then((()=>{(()=>{const t=e.timeToLive?1e3*e.timeToLive:null,r=o(),n=Object.fromEntries(Object.entries(r).filter((([,e])=>void 0!==e.timestamp)));if(a(n),!t)return;const c=Object.fromEntries(Object.entries(n).filter((([,e])=>{const r=(new Date).getTime();return!(e.timestamp+tPromise.all([e?e.value:r(),void 0!==e]))).then((([e,t])=>Promise.all([e,t||n.miss(e)]))).then((([e])=>e)),set:(e,r)=>Promise.resolve().then((()=>{const a=o();return a[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:r},n().setItem(t,JSON.stringify(a)),r})),delete:e=>Promise.resolve().then((()=>{const r=o();delete r[JSON.stringify(e)],n().setItem(t,JSON.stringify(r))})),clear:()=>Promise.resolve().then((()=>{n().removeItem(t)}))}}function lr(e){const t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then((e=>Promise.all([e,r.miss(e)]))).then((([e])=>e)),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,o={miss:()=>Promise.resolve()})=>r.get(e,n,o).catch((()=>lr({caches:t}).get(e,n,o))),set:(e,n)=>r.set(e,n).catch((()=>lr({caches:t}).set(e,n))),delete:e=>r.delete(e).catch((()=>lr({caches:t}).delete(e))),clear:()=>r.clear().catch((()=>lr({caches:t}).clear()))}}function sr(e={serializable:!0}){let t={};return{get(r,n,o={miss:()=>Promise.resolve()}){const a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);const c=n(),i=o&&o.miss||(()=>Promise.resolve());return c.then((e=>i(e))).then((()=>c))},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function ur(e){let t=e.length-1;for(;t>0;t--){const r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function mr(e,t){return t?(Object.keys(t).forEach((r=>{e[r]=t[r](e)})),e):e}function fr(e,...t){let r=0;return e.replace(/%s/g,(()=>encodeURIComponent(t[r++])))}const dr={WithinQueryParameters:0,WithinHeaders:1};function pr(e,t){const r=e||{},n=r.data||{};return Object.keys(r).forEach((e=>{-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])})),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}const hr={Read:1,Write:2,Any:3};function vr(e,t=1){return{...e,status:t,lastUpdate:Date.now()}}function yr(e){return"string"==typeof e?{protocol:"https",url:e,accept:hr.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||hr.Any}}const gr="GET",br="POST";function Sr(e,t,r,n){const o=[],a=function(e,t){if(e.method===gr||void 0===e.data&&void 0===t.data)return;const r=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(r)}(r,n),c=function(e,t){const r={...e.headers,...t.headers},n={};return Object.keys(r).forEach((e=>{const t=r[e];n[e.toLowerCase()]=t})),n}(e,n),i=r.method,l=r.method!==gr?{}:{...r.data,...n.data},s={"x-algolia-agent":e.userAgent.value,...e.queryParameters,...l,...n.queryParameters};let u=0;const m=(t,l)=>{const f=t.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:jr(o)};const d={data:a,headers:c,method:i,url:Or(f,r.path,s),connectTimeout:l(u,e.timeouts.connect),responseTimeout:l(u,n.timeout)},p=e=>{const r={request:d,response:e,host:f,triesLeft:t.length};return o.push(r),r},h={onSuccess:e=>function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e),onRetry(r){const n=p(r);return r.isTimedOut&&u++,Promise.all([e.logger.info("Retryable failure",Ir(n)),e.hostsCache.set(f,vr(f,r.isTimedOut?3:2))]).then((()=>m(t,l)))},onFail(e){throw p(e),function({content:e,status:t},r){let n=e;try{n=JSON.parse(e).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(n,t,r)}(e,jr(o))}};return e.requester.send(d).then((e=>((e,t)=>(e=>{const t=e.status;return e.isTimedOut||(({isTimedOut:e,status:t})=>!e&&!~~t)(e)||2!=~~(t/100)&&4!=~~(t/100)})(e)?t.onRetry(e):(({status:e})=>2==~~(e/100))(e)?t.onSuccess(e):t.onFail(e))(e,h)))};return function(e,t){return Promise.all(t.map((t=>e.get(t,(()=>Promise.resolve(vr(t))))))).then((e=>{const r=e.filter((e=>function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}(e))),n=e.filter((e=>function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}(e))),o=[...r,...n];return{getTimeout:(e,t)=>(0===n.length&&0===e?1:n.length+3+e)*t,statelessHosts:o.length>0?o.map((e=>yr(e))):t}}))}(e.hostsCache,t).then((e=>m([...e.statelessHosts].reverse(),e.getTimeout)))}function Er(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}function Or(e,t,r){const n=wr(r);let o=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return n.length&&(o+=`?${n}`),o}function wr(e){return Object.keys(e).map((t=>{return fr("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function jr(e){return e.map((e=>Ir(e)))}function Ir(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}const Ar=e=>{const t=e.appId,r=function(e,t,r){const n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:()=>e===dr.WithinHeaders?n:{},queryParameters:()=>e===dr.WithinQueryParameters?n:{}}}(void 0!==e.authMode?e.authMode:dr.WithinHeaders,t,e.apiKey),n=function(e){const{hostsCache:t,logger:r,requester:n,requestsCache:o,responsesCache:a,timeouts:c,userAgent:i,hosts:l,queryParameters:s,headers:u}=e,m={hostsCache:t,logger:r,requester:n,requestsCache:o,responsesCache:a,timeouts:c,userAgent:i,headers:u,queryParameters:s,hosts:l.map((e=>yr(e))),read(e,t){const r=pr(t,m.timeouts.read),n=()=>Sr(m,m.hosts.filter((e=>!!(e.accept&hr.Read))),e,r);if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();const o={request:e,mappedRequestOptions:r,transporter:{queryParameters:m.queryParameters,headers:m.headers}};return m.responsesCache.get(o,(()=>m.requestsCache.get(o,(()=>m.requestsCache.set(o,n()).then((e=>Promise.all([m.requestsCache.delete(o),e])),(e=>Promise.all([m.requestsCache.delete(o),Promise.reject(e)]))).then((([e,t])=>t))))),{miss:e=>m.responsesCache.set(o,e)})},write:(e,t)=>Sr(m,m.hosts.filter((e=>!!(e.accept&hr.Write))),e,pr(t,m.timeouts.write))};return m}({hosts:[{url:`${t}-dsn.algolia.net`,accept:hr.Read},{url:`${t}.algolia.net`,accept:hr.Write}].concat(ur([{url:`${t}-1.algolianet.com`},{url:`${t}-2.algolianet.com`},{url:`${t}-3.algolianet.com`}])),...e,headers:{...r.headers(),"content-type":"application/x-www-form-urlencoded",...e.headers},queryParameters:{...r.queryParameters(),...e.queryParameters}}),o={transporter:n,appId:t,addAlgoliaAgent(e,t){n.userAgent.add({segment:e,version:t})},clearCache:()=>Promise.all([n.requestsCache.clear(),n.responsesCache.clear()]).then((()=>{}))};return mr(o,e.methods)},Pr=e=>(t,r)=>t.method===gr?e.transporter.read(t,r):e.transporter.write(t,r),kr=e=>(t,r={})=>mr({transporter:e.transporter,appId:e.appId,indexName:t},r.methods),Cr=e=>(t,r)=>{const n=t.map((e=>({...e,params:wr(e.params||{})})));return e.transporter.read({method:br,path:"1/indexes/*/queries",data:{requests:n},cacheable:!0},r)},Dr=e=>(t,r)=>Promise.all(t.map((t=>{const{facetName:n,facetQuery:o,...a}=t.params;return kr(e)(t.indexName,{methods:{searchForFacetValues:xr}}).searchForFacetValues(n,o,{...r,...a})}))),_r=e=>(t,r,n)=>e.transporter.read({method:br,path:fr("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n),Nr=e=>(t,r)=>e.transporter.read({method:br,path:fr("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r),xr=e=>(t,r,n)=>e.transporter.read({method:br,path:fr("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n),Tr=1,Lr=2,Rr=3;function qr(e,t,r){const n={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:e=>new Promise((t=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((t=>r.setRequestHeader(t,e.headers[t])));const n=(e,n)=>setTimeout((()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e),o=n(e.connectTimeout,"Connection timeout");let a;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===a&&(clearTimeout(o),a=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(o),clearTimeout(a),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(o),clearTimeout(a),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))},logger:(o=Rr,{debug:(e,t)=>(Tr>=o&&console.debug(e,t),Promise.resolve()),info:(e,t)=>(Lr>=o&&console.info(e,t),Promise.resolve()),error:(e,t)=>(console.error(e,t),Promise.resolve())}),responsesCache:sr(),requestsCache:sr({serializable:!1}),hostsCache:lr({caches:[ir({key:`4.19.1-${e}`}),sr()]}),userAgent:Er("4.19.1").add({segment:"Browser",version:"lite"}),authMode:dr.WithinQueryParameters};var o;return Ar({...n,...r,methods:{search:Cr,searchForFacetValues:Dr,multipleQueries:Cr,multipleSearchForFacetValues:Dr,customRequest:Pr,initIndex:e=>t=>kr(e)(t,{methods:{search:Nr,searchForFacetValues:xr,findAnswers:_r}})}})}qr.version="4.19.1";var Mr=["footer","searchBox"];function Br(e){var t=e.appId,r=e.apiKey,o=e.indexName,c=e.placeholder,u=void 0===c?"Search docs":c,m=e.searchParameters,f=e.maxResultsPerGroup,d=e.onClose,p=void 0===d?Jt:d,h=e.transformItems,v=void 0===h?zt:h,y=e.hitComponent,g=void 0===y?It:y,b=e.resultsFooterComponent,S=void 0===b?function(){return null}:b,E=e.navigator,O=e.initialScrollY,w=void 0===O?0:O,j=e.transformSearchClient,I=void 0===j?zt:j,A=e.disableUserPersonalization,P=void 0!==A&&A,k=e.initialQuery,C=void 0===k?"":k,D=e.translations,_=void 0===D?{}:D,N=e.getMissingResultsUrl,x=e.insights,T=void 0!==x&&x,L=_.footer,R=_.searchBox,q=l(_,Mr),M=s(n.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),B=M[0],H=M[1],U=n.useRef(null),F=n.useRef(null),V=n.useRef(null),K=n.useRef(null),$=n.useRef(null),z=n.useRef(10),W=n.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,J=n.useRef(C||W).current,Q=function(e,t,r){return n.useMemo((function(){var n=qr(e,t);return n.addAlgoliaAgent("docsearch","3.6.2"),!1===/docsearch.js \(.*\)/.test(n.transporter.userAgent.value)&&n.addAlgoliaAgent("docsearch-react","3.6.2"),r(n)}),[e,t,r])}(t,r,I),Z=n.useRef(cr({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,G=n.useRef(cr({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:0===Z.getAll().length?7:4})).current,Y=n.useCallback((function(e){if(!P){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===Z.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&G.add(t)}}),[Z,G,P]),X=n.useCallback((function(e){if(B.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t=e,r={eventName:"Item Selected",index:t.__autocomplete_indexName,items:[t],positions:[e.__autocomplete_id],queryID:t.__autocomplete_queryID};B.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(r)}}),[B.context.algoliaInsightsPlugin]),ee=n.useMemo((function(){return Et({id:"docsearch",defaultActiveItemId:0,placeholder:u,openOnFocus:!0,initialState:{query:J,context:{searchSuggestions:[]}},insights:T,navigator:E,onStateChange:function(e){H(e.state)},getSources:function(e){var n=e.query,c=e.state,i=e.setContext,l=e.setStatus;if(!n)return P?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,r=e.event;Y(t),Wt(r)||p()},getItemUrl:function(e){return e.item.url},getItems:function(){return G.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,r=e.event;Y(t),Wt(r)||p()},getItemUrl:function(e){return e.item.url},getItems:function(){return Z.getAll()}}];var s=Boolean(T);return Q.search([{query:n,indexName:o,params:a({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(z.current),"hierarchy.lvl2:".concat(z.current),"hierarchy.lvl3:".concat(z.current),"hierarchy.lvl4:".concat(z.current),"hierarchy.lvl5:".concat(z.current),"hierarchy.lvl6:".concat(z.current),"content:".concat(z.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20,clickAnalytics:s},m)}]).catch((function(e){throw"RetryError"===e.name&&l("error"),e})).then((function(e){var n=e.results[0],l=n.hits,u=n.nbHits,m=$t(l,(function(e){return Gt(e)}),f);c.context.searchSuggestions.length0&&(ne(),$.current&&$.current.focus())}),[J,ne]),n.useEffect((function(){function e(){if(F.current){var e=.01*window.innerHeight;F.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),n.createElement("div",i({ref:U},re({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===B.status&&"DocSearch-Container--Stalled","error"===B.status&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&p()}}),n.createElement("div",{className:"DocSearch-Modal",ref:F},n.createElement("header",{className:"DocSearch-SearchBar",ref:V},n.createElement(or,i({},ee,{state:B,autoFocus:0===J.length,inputRef:$,isFromSelection:Boolean(J)&&J===W,translations:R,onClose:p}))),n.createElement("div",{className:"DocSearch-Dropdown",ref:K},n.createElement(rr,i({},ee,{indexName:o,state:B,hitComponent:g,resultsFooterComponent:S,disableUserPersonalization:P,recentSearches:G,favoriteSearches:Z,inputRef:$,translations:q,getMissingResultsUrl:N,onItemClick:function(e,t){X(e),Y(e),Wt(t)||p()}}))),n.createElement("footer",{className:"DocSearch-Footer"},n.createElement(jt,{translations:L}))))}function Hr(e){var t=e.isOpen,r=e.onOpen,o=e.onClose,a=e.onInput,c=e.searchButtonRef;n.useEffect((function(){function e(e){var n;(27===e.keyCode&&t||"k"===(null===(n=e.key)||void 0===n?void 0:n.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,r=t.tagName;return t.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?o():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||r()),c&&c.current===document.activeElement&&a&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&a(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,r,o,a,c])}},6359:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(6540);const o="iconExternalLink_wgqa",a=e=>{let{width:t=13.5,height:r=13.5}=e;return n.createElement("svg",{width:t,height:r,"aria-hidden":"true",viewBox:"0 0 24 24",className:o},n.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},1952:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(8168),o=r(6540);const a=e=>{let{width:t=30,height:r=30,className:a,...c}=e;return o.createElement("svg",(0,n.A)({className:a,width:t,height:r,viewBox:"0 0 30 30","aria-hidden":"true"},c),o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}},3641:(e,t,r)=>{r.d(t,{A:()=>ke});var n=r(6540),o=r(53),a=r(6347),c=r(4798),i=r(3155);const l="skipToContent_OuoZ";function s(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}const u=function(){const e=(0,n.useRef)(null),{action:t}=(0,a.W6)();return(0,i.$G)((r=>{let{location:n}=r;e.current&&!n.hash&&"POP"!==t&&s(e.current)})),n.createElement("div",{ref:e},n.createElement("a",{href:"#",className:l,onClick:e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&s(t)}},n.createElement(c.A,{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"},"Skip to main content")))},m="announcementBar_axC9",f="announcementBarClose_A3A1",d="announcementBarContent_6uhP",p="announcementBarCloseable_y4cp";const h=function(){const{isClosed:e,close:t}=(0,i.Mj)(),{announcementBar:r}=(0,i.pN)();if(!r)return null;const{content:a,backgroundColor:l,textColor:s,isCloseable:u}=r;return!a||u&&e?null:n.createElement("div",{className:m,style:{backgroundColor:l,color:s},role:"banner"},n.createElement("div",{className:(0,o.A)(d,{[p]:u}),dangerouslySetInnerHTML:{__html:a}}),u?n.createElement("button",{type:"button",className:(0,o.A)(f,"clean-btn"),onClick:t,"aria-label":(0,c.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},n.createElement("span",{"aria-hidden":"true"},"\xd7")):null)};var v=r(8168),y=r(961),g=r(4586),b=r(6025),S=r(4676),E=r(2602),O=r(802),w=r(5600),j=r(4098);function I(){const{locale:e,tags:t}=function(){const{i18n:e}=(0,g.A)(),t=(0,j.Gy)(),r=(0,j.gk)(),n=(0,i.XK)(),o=[i.Cy,...Object.keys(t).map((function(e){const o=r?.activePlugin?.pluginId===e?r.activeVersion:void 0,a=n[e],c=t[e].versions.find((e=>e.isLast)),l=o??a??c;return(0,i.tU)(e,l.name)}))];return{locale:e.currentLocale,tags:o}}();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}const A="searchBox_NKBi";let P=null;function k(e){let{hit:t,children:r}=e;return n.createElement(S.A,{to:t.url},r)}function C(e){let{state:t,onClose:r}=e;const{generateSearchPageLink:o}=(0,O.A)();return n.createElement(S.A,{to:o(t.query),onClick:r},"See all ",t.context.nbHits," results")}function D(e){let{contextualSearch:t,...o}=e;const{siteMetadata:i}=(0,g.A)(),l=I(),s=o.searchParameters?.facetFilters??[],u=t?[...l,...s]:s,m={...o.searchParameters,facetFilters:u},{withBaseUrl:f}=(0,b.h)(),d=(0,a.W6)(),p=(0,n.useRef)(null),h=(0,n.useRef)(null),[S,O]=(0,n.useState)(!1),[j,D]=(0,n.useState)(null),_=(0,n.useCallback)((()=>P?Promise.resolve():Promise.all([r.e(158).then(r.bind(r,8158)),Promise.all([r.e(869),r.e(913)]).then(r.bind(r,8913)),Promise.all([r.e(869),r.e(197)]).then(r.bind(r,3197))]).then((e=>{let[{DocSearchModal:t}]=e;P=t}))),[]),N=(0,n.useCallback)((()=>{_().then((()=>{p.current=document.createElement("div"),document.body.insertBefore(p.current,document.body.firstChild),O(!0)}))}),[_,O]),x=(0,n.useCallback)((()=>{O(!1),p.current.remove()}),[O]),T=(0,n.useCallback)((e=>{_().then((()=>{O(!0),D(e.key)}))}),[_,O,D]),L=(0,n.useRef)({navigate(e){let{itemUrl:t}=e;d.push(t)}}).current,R=(0,n.useRef)((e=>e.map((e=>{const t=document.createElement("a");return t.href=e.url,{...e,url:f(`${t.pathname}${t.hash}`)}})))).current,q=(0,n.useMemo)((()=>e=>n.createElement(C,(0,v.A)({},e,{onClose:x}))),[x]),M=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);(0,w.E8)({isOpen:S,onOpen:N,onClose:x,onInput:T,searchButtonRef:h});const B=(0,c.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"});return n.createElement(n.Fragment,null,n.createElement(E.A,null,n.createElement("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement("div",{className:A},n.createElement(w.Bc,{onTouchStart:_,onFocus:_,onMouseOver:_,onClick:N,ref:h,translations:{buttonText:B,buttonAriaLabel:B}})),S&&(0,y.createPortal)(n.createElement(P,(0,v.A)({onClose:x,initialScrollY:window.scrollY,initialQuery:j,navigator:L,transformItems:R,hitComponent:k,resultsFooterComponent:q,transformSearchClient:M},o,{searchParameters:m})),p.current))}const _=function(){const{siteConfig:e}=(0,g.A)();return n.createElement(D,e.themeConfig.algolia)},N={toggle:"toggle_iYfV"},x=e=>{let{icon:t,style:r}=e;return n.createElement("span",{className:(0,o.A)(N.toggle,N.dark),style:r},t)},T=e=>{let{icon:t,style:r}=e;return n.createElement("span",{className:(0,o.A)(N.toggle,N.light),style:r},t)},L=(0,n.memo)((e=>{let{className:t,icons:r,checked:a,disabled:c,onChange:i}=e;const[l,s]=(0,n.useState)(a),[u,m]=(0,n.useState)(!1),f=(0,n.useRef)(null);return n.createElement("div",{className:(0,o.A)("react-toggle",t,{"react-toggle--checked":l,"react-toggle--focus":u,"react-toggle--disabled":c})},n.createElement("div",{className:"react-toggle-track",role:"button",tabIndex:-1,onClick:()=>f.current?.click()},n.createElement("div",{className:"react-toggle-track-check"},r.checked),n.createElement("div",{className:"react-toggle-track-x"},r.unchecked),n.createElement("div",{className:"react-toggle-thumb"})),n.createElement("input",{ref:f,checked:l,type:"checkbox",className:"react-toggle-screenreader-only","aria-label":"Switch between dark and light mode",onChange:i,onClick:()=>s(!l),onFocus:()=>m(!0),onBlur:()=>m(!1)}))}));function R(e){const{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:r,lightIcon:o,lightIconStyle:a}}}=(0,i.pN)(),{isClient:c}=(0,g.A)();return n.createElement(L,(0,v.A)({disabled:!c,icons:{checked:n.createElement(x,{icon:t,style:r}),unchecked:n.createElement(T,{icon:o,style:a})}},e))}var q=r(4785),M=r(5515);const B=e=>{const t=(0,a.zy)(),[r,o]=(0,n.useState)(e),c=(0,n.useRef)(!1),[l,s]=(0,n.useState)(0),u=(0,n.useCallback)((e=>{null!==e&&s(e.getBoundingClientRect().height)}),[]);return(0,M.A)(((t,r)=>{let{scrollY:n}=t,{scrollY:a}=r;if(!e)return;if(n=a?o(!1):n+s{e&&!t.location.hash&&o(!0)})),(0,n.useEffect)((()=>{e&&t.hash&&(c.current=!0)}),[t.hash]),{navbarRef:u,isNavbarVisible:r}};var H=r(4911),U=r(9312),F=r(3031);const V=e=>{let{width:t=20,height:r=20,...o}=e;return n.createElement("svg",(0,v.A)({viewBox:"0 0 20 20",width:t,height:r,"aria-hidden":"true"},o),n.createElement("path",{fill:"currentColor",d:"M19.753 10.909c-.624-1.707-2.366-2.726-4.661-2.726-.09 0-.176.002-.262.006l-.016-2.063 3.525-.607c.115-.019.133-.119.109-.231-.023-.111-.167-.883-.188-.976-.027-.131-.102-.127-.207-.109-.104.018-3.25.461-3.25.461l-.013-2.078c-.001-.125-.069-.158-.194-.156l-1.025.016c-.105.002-.164.049-.162.148l.033 2.307s-3.061.527-3.144.543c-.084.014-.17.053-.151.143.019.09.19 1.094.208 1.172.018.08.072.129.188.107l2.924-.504.035 2.018c-1.077.281-1.801.824-2.256 1.303-.768.807-1.207 1.887-1.207 2.963 0 1.586.971 2.529 2.328 2.695 3.162.387 5.119-3.06 5.769-4.715 1.097 1.506.256 4.354-2.094 5.98-.043.029-.098.129-.033.207l.619.756c.08.096.206.059.256.023 2.51-1.73 3.661-4.515 2.869-6.683zm-7.386 3.188c-.966-.121-.944-.914-.944-1.453 0-.773.327-1.58.876-2.156a3.21 3.21 0 011.229-.799l.082 4.277a2.773 2.773 0 01-1.243.131zm2.427-.553l.046-4.109c.084-.004.166-.01.252-.01.773 0 1.494.145 1.885.361.391.217-1.023 2.713-2.183 3.758zm-8.95-7.668a.196.196 0 00-.196-.145h-1.95a.194.194 0 00-.194.144L.008 16.916c-.017.051-.011.076.062.076h1.733c.075 0 .099-.023.114-.072l1.008-3.318h3.496l1.008 3.318c.016.049.039.072.113.072h1.734c.072 0 .078-.025.062-.076-.014-.05-3.083-9.741-3.494-11.04zm-2.618 6.318l1.447-5.25 1.447 5.25H3.226z"}))};function K(e){let{mobile:t,dropdownItemsBefore:r,dropdownItemsAfter:o,...a}=e;const{i18n:{currentLocale:c,locales:l,localeConfigs:s}}=(0,g.A)(),u=(0,i.oK)();function m(e){return s[e].label}const f=[...r,...l.map((e=>{const t=`pathname://${u.createUrl({locale:e,fullyQualified:!1})}`;return{isNavLink:!0,label:m(e),to:t,target:"_self",autoAddBaseUrl:!1,className:e===c?"dropdown__link--active":"",style:{textTransform:"capitalize"}}})),...o],d=t?"Languages":m(c);return n.createElement(F.A,(0,v.A)({},a,{href:"#",mobile:t,label:n.createElement("span",null,n.createElement(V,{style:{verticalAlign:"text-bottom",marginRight:5}}),n.createElement("span",null,d)),items:f}))}function $(e){let{mobile:t}=e;return t?null:n.createElement(_,null)}const z={default:()=>F.A,localeDropdown:()=>K,search:()=>$,docsVersion:()=>r(6467).A,docsVersionDropdown:()=>r(7754).A,doc:()=>r(8240).A};function W(e){let{type:t,...r}=e;const o=function(e){void 0===e&&(e="default");const t=z[e];if(!t)throw new Error(`No NavbarItem component found for type "${e}".`);return t()}(t);return n.createElement(o,r)}var J=r(1773),Q=r(1952);const Z="displayOnlyInLargeViewport_cxYs",G="navbarHideable_RReh",Y="navbarHidden_FBwS",X="right";const ee=function(){const{navbar:{items:e,hideOnScroll:t,style:r},colorMode:{disableSwitch:a}}=(0,i.pN)(),[c,l]=(0,n.useState)(!1),{isDarkTheme:s,setLightTheme:u,setDarkTheme:m}=(0,q.A)(),{navbarRef:f,isNavbarVisible:d}=B(t);(0,H.A)(c);const p=(0,n.useCallback)((()=>{l(!0)}),[l]),h=(0,n.useCallback)((()=>{l(!1)}),[l]),y=(0,n.useCallback)((e=>e.target.checked?m():u()),[u,m]),g=(0,U.A)();(0,n.useEffect)((()=>{g===U.X.desktop&&l(!1)}),[g]);const b=e.some((e=>"search"===e.type)),{leftItems:S,rightItems:E}=function(e){return{leftItems:e.filter((e=>"left"===(e.position??X))),rightItems:e.filter((e=>"right"===(e.position??X)))}}(e);return n.createElement("nav",{ref:f,className:(0,o.A)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":c,[G]:t,[Y]:t&&!d})},n.createElement("div",{className:"navbar__inner"},n.createElement("div",{className:"navbar__items"},null!=e&&0!==e.length&&n.createElement("button",{"aria-label":"Navigation bar toggle",className:"navbar__toggle clean-btn",type:"button",tabIndex:0,onClick:p,onKeyDown:p},n.createElement(Q.A,null)),n.createElement(J.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title"}),S.map(((e,t)=>n.createElement(W,(0,v.A)({},e,{key:t}))))),n.createElement("div",{className:"navbar__items navbar__items--right"},E.map(((e,t)=>n.createElement(W,(0,v.A)({},e,{key:t})))),!a&&n.createElement(R,{className:Z,checked:s,onChange:y}),!b&&n.createElement(_,null))),n.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:h}),n.createElement("div",{className:"navbar-sidebar"},n.createElement("div",{className:"navbar-sidebar__brand"},n.createElement(J.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:h}),!a&&c&&n.createElement(R,{checked:s,onChange:y})),n.createElement("div",{className:"navbar-sidebar__items"},n.createElement("div",{className:"menu"},n.createElement("ul",{className:"menu__list"},e.map(((e,t)=>n.createElement(W,(0,v.A)({mobile:!0},e,{onClick:h,key:t})))))))))};var te=r(6654);const re="footerLogoLink_SRtH";var ne=r(1101),oe=r(6359);function ae(e){let{to:t,href:r,label:o,prependBaseUrlToHref:a,...c}=e;const i=(0,b.A)(t),l=(0,b.A)(r,{forcePrependBaseUrl:!0});return n.createElement(S.A,(0,v.A)({className:"footer__link-item"},r?{href:a?l:r}:{to:i},c),r&&!(0,te.A)(r)?n.createElement("span",null,o,n.createElement(oe.A,null)):o)}const ce=e=>{let{sources:t,alt:r}=e;return n.createElement(ne.A,{className:"footer__logo",alt:r,sources:t})};const ie=function(){const{footer:e}=(0,i.pN)(),{copyright:t,links:r=[],logo:a={}}=e||{},c={light:(0,b.A)(a.src),dark:(0,b.A)(a.srcDark||a.src)};return e?n.createElement("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===e.style})},n.createElement("div",{className:"container"},r&&r.length>0&&n.createElement("div",{className:"row footer__links"},r.map(((e,t)=>n.createElement("div",{key:t,className:"col footer__col"},null!=e.title?n.createElement("div",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?n.createElement("ul",{className:"footer__items"},e.items.map(((e,t)=>e.html?n.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):n.createElement("li",{key:e.href||e.to,className:"footer__item"},n.createElement(ae,e))))):null)))),(a||t)&&n.createElement("div",{className:"footer__bottom text--center"},a&&(a.src||a.srcDark)&&n.createElement("div",{className:"margin-bottom--sm"},a.href?n.createElement(S.A,{href:a.href,className:re},n.createElement(ce,{alt:a.alt,sources:c})):n.createElement(ce,{alt:a.alt,sources:c})),t?n.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null};var le=r(8193);const se=(0,i.Wf)("theme"),ue="light",me="dark",fe=e=>e===me?me:ue,de=e=>{(0,i.Wf)("theme").set(fe(e))},pe=()=>{const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:r}}=(0,i.pN)(),[o,a]=(0,n.useState)((e=>le.A.canUseDOM?fe(document.documentElement.getAttribute("data-theme")):fe(e))(e)),c=(0,n.useCallback)((()=>{a(ue),de(ue)}),[]),l=(0,n.useCallback)((()=>{a(me),de(me)}),[]);return(0,n.useEffect)((()=>{document.documentElement.setAttribute("data-theme",fe(o))}),[o]),(0,n.useEffect)((()=>{if(!t)try{const e=se.get();null!==e&&a(fe(e))}catch(e){console.error(e)}}),[a]),(0,n.useEffect)((()=>{t&&!r||window.matchMedia("(prefers-color-scheme: dark)").addListener((e=>{let{matches:t}=e;a(t?me:ue)}))}),[]),{isDarkTheme:o===me,setLightTheme:c,setDarkTheme:l}};var he=r(493);const ve=function(e){const{isDarkTheme:t,setLightTheme:r,setDarkTheme:o}=pe();return n.createElement(he.A.Provider,{value:{isDarkTheme:t,setLightTheme:r,setDarkTheme:o}},e.children)},ye="docusaurus.tab.",ge=()=>{const[e,t]=(0,n.useState)({}),r=(0,n.useCallback)(((e,t)=>{(0,i.Wf)(`${ye}${e}`).set(t)}),[]);return(0,n.useEffect)((()=>{try{const e={};(0,i.Eo)().forEach((t=>{if(t.startsWith(ye)){const r=t.substring(15);e[r]=(0,i.Wf)(t).get()}})),t(e)}catch(e){console.error(e)}}),[]),{tabGroupChoices:e,setTabGroupChoices:(e,n)=>{t((t=>({...t,[e]:n}))),r(e,n)}}};var be=r(8555);const Se=function(e){const{tabGroupChoices:t,setTabGroupChoices:r}=ge();return n.createElement(be.A.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:r}},e.children)};function Ee(e){let{children:t}=e;return n.createElement(ve,null,n.createElement(i.oq,null,n.createElement(Se,null,n.createElement(i.VQ,null,t))))}function Oe(e){let{locale:t,version:r,tag:o}=e;const a=t;return n.createElement(E.A,null,a&&n.createElement("meta",{name:"docsearch:language",content:a}),r&&n.createElement("meta",{name:"docsearch:version",content:r}),o&&n.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}var we=r(8139);function je(){const{i18n:{defaultLocale:e,locales:t}}=(0,g.A)(),r=(0,i.oK)();return n.createElement(E.A,null,t.map((e=>n.createElement("link",{key:e,rel:"alternate",href:r.createUrl({locale:e,fullyQualified:!0}),hrefLang:e}))),n.createElement("link",{rel:"alternate",href:r.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function Ie(e){let{permalink:t}=e;const{siteConfig:{url:r}}=(0,g.A)(),o=function(){const{siteConfig:{url:e}}=(0,g.A)(),{pathname:t}=(0,a.zy)();return e+(0,b.A)(t)}(),c=t?`${r}${t}`:o;return n.createElement(E.A,null,n.createElement("meta",{property:"og:url",content:c}),n.createElement("link",{rel:"canonical",href:c}))}function Ae(e){const{siteConfig:{favicon:t,themeConfig:{metadatas:r,image:o}},i18n:{currentLocale:a,localeConfigs:c}}=(0,g.A)(),{title:l,description:s,image:u,keywords:m,searchMetadatas:f}=e,d=(0,b.A)(t),p=(0,i.s$)(l),h=a,y=c[a].direction;return n.createElement(n.Fragment,null,n.createElement(E.A,null,n.createElement("html",{lang:h,dir:y}),t&&n.createElement("link",{rel:"shortcut icon",href:d}),n.createElement("title",null,p),n.createElement("meta",{property:"og:title",content:p}),u||o&&n.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),n.createElement(we.A,{description:s,keywords:m,image:u}),n.createElement(Ie,null),n.createElement(je,null),n.createElement(Oe,(0,v.A)({tag:i.Cy,locale:a},f)),n.createElement(E.A,null,r.map(((e,t)=>n.createElement("meta",(0,v.A)({key:`metadata_${t}`},e))))))}const Pe=function(){(0,n.useEffect)((()=>{const e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),()=>{document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])};const ke=function(e){const{children:t,noFooter:r,wrapperClassName:a,pageClassName:c}=e;return Pe(),n.createElement(Ee,null,n.createElement(Ae,e),n.createElement(u,null),n.createElement(h,null),n.createElement(ee,null),n.createElement("div",{className:(0,o.A)(i.GN.wrapper.main,a,c)},t),!r&&n.createElement(ie,null))}},1773:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(8168),o=r(6540),a=r(4676),c=r(1101),i=r(6025),l=r(4586);const s=e=>{const{siteConfig:{title:t,themeConfig:{navbar:{title:r,logo:s={src:""}}}},isClient:u}=(0,l.A)(),{imageClassName:m,titleClassName:f,...d}=e,p=(0,i.A)(s.href||"/"),h={light:(0,i.A)(s.src),dark:(0,i.A)(s.srcDark||s.src)};return o.createElement(a.A,(0,n.A)({to:p},d,s.target&&{target:s.target}),s.src&&o.createElement(c.A,{key:u,className:m,sources:h,alt:s.alt||r||t}),null!=r&&o.createElement("b",{className:f},r))}},3031:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(8168),o=r(6540),a=r(53),c=r(4676),i=r(6025),l=r(6347),s=r(3155),u=r(6359),m=r(6654);const f="dropdown__link--active";function d(e){let{activeBasePath:t,activeBaseRegex:r,to:a,href:l,label:s,activeClassName:d="navbar__link--active",prependBaseUrlToHref:p,...h}=e;const v=(0,i.A)(a),y=(0,i.A)(t),g=(0,i.A)(l,{forcePrependBaseUrl:!0}),b=s&&l&&!(0,m.A)(l),S=d===f;return o.createElement(c.A,(0,n.A)({},l?{href:p?g:l}:{isNavLink:!0,activeClassName:d,to:v,...t||r?{isActive:(e,t)=>r?new RegExp(r).test(t.pathname):t.pathname.startsWith(y)}:null},h),b?o.createElement("span",null,s,o.createElement(u.A,S&&{width:12,height:12})):s)}function p(e){let{items:t,position:r,className:c,...i}=e;const l=(0,o.useRef)(null),s=(0,o.useRef)(null),[u,m]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&m(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[l]);const p=function(e,t){return void 0===t&&(t=!1),(0,a.A)({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?o.createElement("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===r,"dropdown--right":"right"===r,"dropdown--show":u})},o.createElement(d,(0,n.A)({className:p(c)},i,{onClick:i.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),m(!u))}}),i.children??i.label),o.createElement("ul",{ref:s,className:"dropdown__menu"},t.map(((e,r)=>{let{className:a,...c}=e;return o.createElement("li",{key:r},o.createElement(d,(0,n.A)({onKeyDown:e=>{if(r===t.length-1&&"Tab"===e.key){e.preventDefault(),m(!1);const t=l.current.nextElementSibling;t&&t.focus()}},activeClassName:f,className:p(a,!0)},c)))})))):o.createElement(d,(0,n.A)({className:p(c)},i))}function h(e){let{items:t,className:r,position:c,...i}=e;const u=(0,o.useRef)(null),{pathname:m}=(0,l.zy)(),[f,p]=(0,o.useState)((()=>!t?.some((e=>(0,s.ys)(e.to,m)))??!0)),h=function(e,t){return void 0===t&&(t=!1),(0,a.A)("menu__link",{"menu__link--sublist":t},e)};if(!t)return o.createElement("li",{className:"menu__list-item"},o.createElement(d,(0,n.A)({className:h(r)},i)));const v=u.current?.scrollHeight?`${u.current?.scrollHeight}px`:void 0;return o.createElement("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":f})},o.createElement(d,(0,n.A)({role:"button",className:h(r,!0)},i,{onClick:e=>{e.preventDefault(),p((e=>!e))}}),i.children??i.label),o.createElement("ul",{className:"menu__list",ref:u,style:{height:f?void 0:v}},t.map(((e,t)=>{let{className:r,...a}=e;return o.createElement("li",{className:"menu__list-item",key:t},o.createElement(d,(0,n.A)({activeClassName:"menu__link--active",className:h(r)},a,{onClick:i.onClick})))}))))}const v=function(e){let{mobile:t=!1,...r}=e;const n=t?h:p;return o.createElement(n,r)}},8240:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(8168),o=r(6540),a=r(3031),c=r(4098),i=r(53),l=r(3155),s=r(440);function u(e){let{docId:t,activeSidebarClassName:r,label:u,docsPluginId:m,...f}=e;const{activeVersion:d,activeDoc:p}=(0,c.zK)(m),{preferredVersion:h}=(0,l.g1)(m),v=(0,c.r7)(m),y=function(e,t){const r=[].concat(...e.map((e=>e.docs))),n=r.find((e=>e.id===t));if(!n){const n=r.map((e=>e.id)).join("\n- ");throw new Error(`DocNavbarItem: couldn't find any doc with id "${t}" in version${e.length?"s":""} ${e.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${n}`)}return n}((0,s.uniq)([d,h,v].filter(Boolean)),t);return o.createElement(a.A,(0,n.A)({exact:!0},f,{className:(0,i.A)(f.className,{[r]:p&&p.sidebar===y.sidebar}),label:u??y.id,to:y.path}))}},7754:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(8168),o=r(6540),a=r(3031),c=r(4098),i=r(3155);const l=e=>e.docs.find((t=>t.id===e.mainDocId));function s(e){let{mobile:t,docsPluginId:r,dropdownActiveClassDisabled:s,dropdownItemsBefore:u,dropdownItemsAfter:m,...f}=e;const d=(0,c.zK)(r),p=(0,c.jh)(r),h=(0,c.r7)(r),{preferredVersion:v,savePreferredVersionName:y}=(0,i.g1)(r);const g=function(){const e=p.map((e=>{const t=d?.alternateDocVersions[e.name]||l(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:()=>e===d?.activeVersion,onClick:()=>{y(e.name)}}})),t=[...u,...e,...m];if(!(t.length<=1))return t}(),b=d.activeVersion??v??h,S=t&&g?"Versions":b.label,E=t&&g?void 0:l(b).path;return o.createElement(a.A,(0,n.A)({},f,{mobile:t,label:S,to:E,items:g,isActive:s?()=>!1:void 0}))}},6467:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(8168),o=r(6540),a=r(3031),c=r(4098),i=r(3155);const l=e=>e.docs.find((t=>t.id===e.mainDocId));function s(e){let{label:t,to:r,docsPluginId:s,...u}=e;const m=(0,c.ir)(s),{preferredVersion:f}=(0,i.g1)(s),d=(0,c.r7)(s),p=m??f??d,h=t??p.label,v=r??l(p).path;return o.createElement(a.A,(0,n.A)({},u,{label:h,to:v}))}},493:(e,t,r)=>{r.d(t,{A:()=>n});const n=r(6540).createContext(void 0)},1101:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(8168),o=r(6540),a=r(53),c=r(4586),i=r(4785);const l={themedImage:"themedImage_TMUO","themedImage--light":"themedImage--light_4Vu1","themedImage--dark":"themedImage--dark_uzRr"},s=e=>{const{isClient:t}=(0,c.A)(),{isDarkTheme:r}=(0,i.A)(),{sources:s,className:u,alt:m="",...f}=e,d=t?r?["dark"]:["light"]:["light","dark"];return o.createElement(o.Fragment,null,d.map((e=>o.createElement("img",(0,n.A)({key:e,src:s[e],alt:m,className:(0,a.A)(l.themedImage,l[`themedImage--${e}`],u)},f)))))}},8555:(e,t,r)=>{r.d(t,{A:()=>n});const n=(0,r(6540).createContext)(void 0)},4911:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(6540);const o=function(e){void 0===e&&(e=!0),(0,n.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},5515:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(6540),o=r(8193);const a=()=>({scrollX:o.A.canUseDOM?window.pageXOffset:0,scrollY:o.A.canUseDOM?window.pageYOffset:0}),c=function(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(a()),o=()=>{const t=a();e&&e(t,r.current),r.current=t};(0,n.useEffect)((()=>{const e={passive:!0};return o(),window.addEventListener("scroll",o,e),()=>window.removeEventListener("scroll",o,e)}),t)}},4785:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(6540),o=r(493);const a=function(){const e=(0,n.useContext)(o.A);if(null==e)throw new Error('"useThemeContext" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#usethemecontext.');return e}},9312:(e,t,r)=>{r.d(t,{A:()=>c,X:()=>a});var n=r(6540),o=r(8193);const a={desktop:"desktop",mobile:"mobile"};const c=function(){const e=o.A.canUseDOM;function t(){if(e)return window.innerWidth>996?a.desktop:a.mobile}const[r,c]=(0,n.useState)(t);return(0,n.useEffect)((()=>{if(e)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){c(t())}}),[]),r}},802:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(6347),o=r(8193),a=r(4586);const c=function(){const e=(0,n.W6)(),t=(0,n.zy)(),{siteConfig:{baseUrl:r}={}}=(0,a.A)();return{searchValue:o.A.canUseDOM&&new URLSearchParams(t.search).get("q")||"",updateSearchPath:r=>{const n=new URLSearchParams(t.search);r?n.set("q",r):n.delete("q"),e.replace({search:n.toString()})},generateSearchPageLink:e=>`${r}search?q=${encodeURIComponent(e)}`}}}}]); \ No newline at end of file diff --git a/assets/js/641.ab746112.js b/assets/js/641.ab746112.js new file mode 100644 index 0000000..78bb15c --- /dev/null +++ b/assets/js/641.ab746112.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[641],{5600:(e,t,r)=>{r.d(t,{Bc:()=>k,E8:()=>Qr,a1:()=>Jr});var n=r(6540);r(961);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),h}},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;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.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)?o(e,t):void 0}}function O(e){var t="function"==typeof Map?new Map:void 0;return O=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&b(o,r.prototype),o}(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),b(r,e)},O(e)}function j(){return n.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},n.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function P(){return n.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},n.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var I=["translations"],A="Ctrl",k=n.forwardRef((function(e,t){var r=e.translations,o=void 0===r?{}:r,a=y(e,I),i=o.buttonText,c=void 0===i?"Search":i,l=o.buttonAriaLabel,u=void 0===l?"Search":l,s=E((0,n.useState)(null),2),m=s[0],p=s[1];return(0,n.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?p("\u2318"):p(A))}),[]),n.createElement("button",f({type:"button",className:"DocSearch DocSearch-Button","aria-label":u},a,{ref:t}),n.createElement("span",{className:"DocSearch-Button-Container"},n.createElement(P,null),n.createElement("span",{className:"DocSearch-Button-Placeholder"},c)),n.createElement("span",{className:"DocSearch-Button-Keys"},null!==m&&n.createElement(n.Fragment,null,n.createElement(_,{reactsToKey:m===A?A:"Meta"},m===A?n.createElement(j,null):m),n.createElement(_,{reactsToKey:"k"},"K"))))}));function _(e){var t=e.reactsToKey,r=e.children,o=E((0,n.useState)(!1),2),a=o[0],i=o[1];return(0,n.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",r),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",r)};function e(e){e.key===t&&i(!0)}function r(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),n.createElement("kbd",{className:a?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},r)}function C(e,t){var r=void 0;return function(){for(var n=arguments.length,o=new Array(n),a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t=3||2===r&&n>=4||1===r&&n>=10);function a(t,r,n){if(o&&void 0!==n){var a=n[0].__autocomplete_algoliaCredentials,i={"X-Algolia-Application-Id":a.appId,"X-Algolia-API-Key":a.apiKey};e.apply(void 0,[t].concat(V(r),[{headers:i}]))}else e.apply(void 0,[t].concat(V(r)))}return{init:function(t,r){e("init",{appId:t,apiKey:r})},setAuthenticatedUserToken:function(t){e("setAuthenticatedUserToken",t)},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("clickedObjectIDsAfterSearch",J(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("clickedObjectIDs",J(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&e.apply(void 0,["clickedFilters"].concat(r))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("convertedObjectIDsAfterSearch",J(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&a("convertedObjectIDs",J(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&e.apply(void 0,["convertedFilters"].concat(r))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&t.reduce((function(e,t){var r=t.items,n=z(t,U);return[].concat(V(e),V(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n0&&e.apply(void 0,["viewedFilters"].concat(r))}}}function Z(e){var t=e.items.reduce((function(e,t){var r;return e[t.__autocomplete_indexName]=(null!==(r=e[t.__autocomplete_indexName])&&void 0!==r?r:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function Y(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function X(e){return X="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},X(e)}function ee(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return te(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)?te(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&ce({onItemsChange:o,items:r,insights:u,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,r=e.onSelect,n=e.onActive,o=!1;function s(e){t({algoliaInsightsPlugin:{__algoliaSearchParameters:ne(ne({},c?{clickAnalytics:!0}:{}),e?{userToken:se(e)}:{}),insights:u}})}l("addAlgoliaAgent","insights-plugin"),s(),l("onUserTokenChange",(function(e){o||s(e)})),l("getUserToken",null,(function(e,t){o||s(t)})),l("onAuthenticatedUserTokenChange",(function(e){e?(o=!0,s(e)):(o=!1,l("getUserToken",null,(function(e,t){return s(t)})))})),l("getAuthenticatedUserToken",null,(function(e,t){t&&(o=!0,s(t))})),r((function(e){var t=e.item,r=e.state,n=e.event,o=e.source;Y(t)&&a({state:r,event:n,insights:u,item:t,insightsEvents:[ne({eventName:"Item Selected"},M({item:t,items:o.getItems().filter(Y)}))]})})),n((function(e){var t=e.item,r=e.source,n=e.state,o=e.event;Y(t)&&i({state:n,event:o,insights:u,item:t,insightsEvents:[ne({eventName:"Item Active"},M({item:t,items:r.getItems().filter(Y)}))]})}))},onStateChange:function(e){var t=e.state;f({state:t})},__autocomplete_pluginOptions:e}}function ue(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(ee(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),["autocomplete-internal"],ee(null!==(e=t.algoliaInsightsPlugin)&&void 0!==e&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function se(e){return"number"==typeof e?e.toString():e}function fe(e,t){var r=t;return{then:function(t,n){return fe(e.then(pe(t,r,e),pe(n,r,e)),r)},catch:function(t){return fe(e.catch(pe(t,r,e)),r)},finally:function(t){return t&&r.onCancelList.push(t),fe(e.finally(pe(t&&function(){return r.onCancelList=[],t()},r,e)),r)},cancel:function(){r.isCanceled=!0;var e=r.onCancelList;r.onCancelList=[],e.forEach((function(e){e()}))},isCanceled:function(){return!0===r.isCanceled}}}function me(e){return fe(e,{isCanceled:!1,onCancelList:[]})}function pe(e,t,r){return e?function(r){return t.isCanceled?r:e(r)}:r}function de(e,t,r,n){if(!r)return null;if(e<0&&(null===t||null!==n&&0===t))return r+e;var o=(null===t?-1:t)+e;return o<=-1||o>=r?null===n?null:0:o}function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0},reshape:function(e){return e.sources}},e),{},{id:null!==(r=e.id)&&void 0!==r?r:"autocomplete-".concat(N++),plugins:o,initialState:xe({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var r;null===(r=e.onStateChange)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onStateChange)||void 0===r?void 0:r.call(e,t)}))},onSubmit:function(t){var r;null===(r=e.onSubmit)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onSubmit)||void 0===r?void 0:r.call(e,t)}))},onReset:function(t){var r;null===(r=e.onReset)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onReset)||void 0===r?void 0:r.call(e,t)}))},getSources:function(r){return Promise.all([].concat(function(e){return function(e){if(Array.isArray(e))return De(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return De(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)?De(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var r=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,r.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));r.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:R,onResolve:R};Object.keys(t).forEach((function(e){t[e].__default=!0}));var n=he(he({},t),e);return Promise.resolve(n)})))}))}(e,r)}))).then((function(e){return D(e)})).then((function(e){return e.map((function(e){return xe(xe({},e),{},{onSelect:function(r){e.onSelect(r),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,r)}))},onActive:function(r){e.onActive(r),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,r)}))},onResolve:function(r){e.onResolve(r),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,r)}))}})}))}))},navigator:xe({navigate:function(e){var t=e.itemUrl;n.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,r=n.open(t,"_blank","noopener");null==r||r.focus()},navigateNewWindow:function(e){var t=e.itemUrl;n.open(t,"_blank","noopener")}},e.navigator)})}function Re(e){return Re="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},Re(e)}function qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Me(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Je);rt&&o.environment.clearTimeout(rt);var u=l.setCollections,s=l.setIsOpen,f=l.setQuery,m=l.setActiveItemId,p=l.setStatus,d=l.setContext;if(f(a),m(o.defaultActiveItemId),!a&&!1===o.openOnFocus){var v,h=c.getState().collections.map((function(e){return Ze(Ze({},e),{},{items:[]})}));p("idle"),u(h),s(null!==(v=n.isOpen)&&void 0!==v?v:o.shouldPanelOpen({state:c.getState()}));var y=me(nt(h).then((function(){return Promise.resolve()})));return c.pendingRequests.add(y)}p("loading"),rt=o.environment.setTimeout((function(){p("stalled")}),o.stallThreshold);var g=me(nt(o.getSources(Ze({query:a,refresh:i,state:c.getState()},l)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(Ze({query:a,refresh:i,state:c.getState()},l))).then((function(t){return function(e,t,r){if(o=e,Boolean(null==o?void 0:o.execute)){var n="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(Ke(Object.keys(r.context).map((function(e){var t;return null===(t=r.context[e])||void 0===t?void 0:t.__algoliaSearchParameters}))))):{};return Fe(Fe({},e),{},{requests:e.queries.map((function(r){return{query:"algolia"===e.requesterId?Fe(Fe({},r),{},{params:Fe(Fe({},n),r.params)}):r,sourceId:t,transformResponse:e.transformResponse}}))})}var o;return{items:e,sourceId:t}}(t,e.sourceId,c.getState())}))}))).then(We).then((function(t){var r,n=t.some((function(e){return function(e){return!Array.isArray(e)&&Boolean(null==e?void 0:e._automaticInsights)}(e.items)}));return n&&d({algoliaInsightsPlugin:Ze(Ze({},(null===(r=c.getState().context)||void 0===r?void 0:r.algoliaInsightsPlugin)||{}),{},{__automaticInsights:n})}),function(e,t,r){return t.map((function(t){var n,o=e.filter((function(e){return e.sourceId===t.sourceId})),a=o.map((function(e){return e.items})),i=o[0].transformResponse,c=i?i({results:n=a,hits:n.map((function(e){return e.hits})).filter(Boolean),facetHits:n.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}):a;return t.onResolve({source:t,results:a,items:c,state:r.getState()}),c.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:c}}))}(t,e,c)})).then((function(e){return function(e){var t=e.props,r=e.state,n=e.collections.reduce((function(e,t){return Me(Me({},e),{},Be({},t.source.sourceId,Me(Me({},t.source),{},{getItems:function(){return D(t.items)}})))}),{}),o=t.plugins.reduce((function(e,t){return t.reshape?t.reshape(e):e}),{sourcesBySourceId:n,state:r}).sourcesBySourceId;return D(t.reshape({sourcesBySourceId:o,sources:Object.values(o),state:r})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:o,state:c.getState()})}))})))).then((function(e){var r;p("idle"),u(e);var f=o.shouldPanelOpen({state:c.getState()});s(null!==(r=n.isOpen)&&void 0!==r?r:o.openOnFocus&&!a&&f||f);var m=be(c.getState());if(null!==c.getState().activeItemId&&m){var d=m.item,v=m.itemInputValue,h=m.itemUrl,y=m.source;y.onActive(Ze({event:t,item:d,itemInputValue:v,itemUrl:h,refresh:i,source:y,state:c.getState()},l))}})).finally((function(){p("idle"),rt&&o.environment.clearTimeout(rt)}));return c.pendingRequests.add(g)}function at(e){return at="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},at(e)}var it=["event","props","refresh","store"];function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lt(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function St(e){var t=e.props,r=e.refresh,n=e.store,o=Et(e,ft);return{getEnvironmentProps:function(e){var r=e.inputElement,o=e.formElement,a=e.panelElement;function i(e){!n.getState().isOpen&&n.pendingRequests.isEmpty()||e.target===r||!1===[o,a].some((function(t){return(r=t)===(n=e.target)||r.contains(n);var r,n}))&&(n.dispatch("blur",null),t.debug||n.pendingRequests.cancelAll())}return gt({onTouchStart:i,onMouseDown:i,onTouchMove:function(e){!1!==n.getState().isOpen&&r===t.environment.document.activeElement&&e.target!==r&&r.blur()}},Et(e,mt))},getRootProps:function(e){return gt({role:"combobox","aria-expanded":n.getState().isOpen,"aria-haspopup":"listbox","aria-controls":n.getState().isOpen?n.getState().collections.map((function(e){var r=e.source;return Ee(t.id,"list",r)})).join(" "):void 0,"aria-labelledby":Ee(t.id,"label")},e)},getFormProps:function(e){return e.inputElement,gt({action:"",noValidate:!0,role:"search",onSubmit:function(a){var i;a.preventDefault(),t.onSubmit(gt({event:a,refresh:r,state:n.getState()},o)),n.dispatch("submit",null),null===(i=e.inputElement)||void 0===i||i.blur()},onReset:function(a){var i;a.preventDefault(),t.onReset(gt({event:a,refresh:r,state:n.getState()},o)),n.dispatch("reset",null),null===(i=e.inputElement)||void 0===i||i.focus()}},Et(e,pt))},getLabelProps:function(e){return gt({htmlFor:Ee(t.id,"input"),id:Ee(t.id,"label")},e)},getInputProps:function(e){var a;function i(e){(t.openOnFocus||Boolean(n.getState().query))&&ot(gt({event:e,props:t,query:n.getState().completion||n.getState().query,refresh:r,store:n},o)),n.dispatch("focus",null)}var c=e||{};c.inputElement;var l=c.maxLength,u=void 0===l?512:l,s=Et(c,dt),f=be(n.getState()),m=function(e){return Boolean(e&&e.match(Se))}((null===(a=t.environment.navigator)||void 0===a?void 0:a.userAgent)||""),p=t.enterKeyHint||(null!=f&&f.itemUrl&&!m?"go":"search");return gt({"aria-autocomplete":"both","aria-activedescendant":n.getState().isOpen&&null!==n.getState().activeItemId?Ee(t.id,"item-".concat(n.getState().activeItemId),null==f?void 0:f.source):void 0,"aria-controls":n.getState().isOpen?n.getState().collections.map((function(e){var r=e.source;return Ee(t.id,"list",r)})).join(" "):void 0,"aria-labelledby":Ee(t.id,"label"),value:n.getState().completion||n.getState().query,id:Ee(t.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:p,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(e){var a=e.currentTarget.value;t.ignoreCompositionEvents&&we(e).isComposing?o.setQuery(a):ot(gt({event:e,props:t,query:a.slice(0,u),refresh:r,store:n},o))},onCompositionEnd:function(e){ot(gt({event:e,props:t,query:e.currentTarget.value.slice(0,u),refresh:r,store:n},o))},onKeyDown:function(e){we(e).isComposing||function(e){var t=e.event,r=e.props,n=e.refresh,o=e.store,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,it);if("ArrowUp"===t.key||"ArrowDown"===t.key){var i=function(){var e=be(o.getState()),t=r.environment.document.getElementById(Ee(r.id,"item-".concat(o.getState().activeItemId),null==e?void 0:e.source));t&&(t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView(!1))},c=function(){var e=be(o.getState());if(null!==o.getState().activeItemId&&e){var r=e.item,i=e.itemInputValue,c=e.itemUrl,l=e.source;l.onActive(lt({event:t,item:r,itemInputValue:i,itemUrl:c,refresh:n,source:l,state:o.getState()},a))}};t.preventDefault(),!1===o.getState().isOpen&&(r.openOnFocus||Boolean(o.getState().query))?ot(lt({event:t,props:r,query:o.getState().query,refresh:n,store:o},a)).then((function(){o.dispatch(t.key,{nextActiveItemId:r.defaultActiveItemId}),c(),setTimeout(i,0)})):(o.dispatch(t.key,{}),c(),i())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(r.debug||o.pendingRequests.cancelAll());t.preventDefault();var l=be(o.getState()),u=l.item,s=l.itemInputValue,f=l.itemUrl,m=l.source;if(t.metaKey||t.ctrlKey)void 0!==f&&(m.onSelect(lt({event:t,item:u,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},a)),r.navigator.navigateNewTab({itemUrl:f,item:u,state:o.getState()}));else if(t.shiftKey)void 0!==f&&(m.onSelect(lt({event:t,item:u,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},a)),r.navigator.navigateNewWindow({itemUrl:f,item:u,state:o.getState()}));else if(t.altKey);else{if(void 0!==f)return m.onSelect(lt({event:t,item:u,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},a)),void r.navigator.navigate({itemUrl:f,item:u,state:o.getState()});ot(lt({event:t,nextState:{isOpen:!1},props:r,query:s,refresh:n,store:o},a)).then((function(){m.onSelect(lt({event:t,item:u,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},a))}))}}}(gt({event:e,props:t,refresh:r,store:n},o))},onFocus:i,onBlur:R,onClick:function(r){e.inputElement!==t.environment.document.activeElement||n.getState().isOpen||i(r)}},s)},getPanelProps:function(e){return gt({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){n.dispatch("mouseleave",null)}},e)},getListProps:function(e){var r=e||{},n=r.source,o=Et(r,vt);return gt({role:"listbox","aria-labelledby":Ee(t.id,"label"),id:Ee(t.id,"list",n)},o)},getItemProps:function(e){var a=e.item,i=e.source,c=Et(e,ht);return gt({id:Ee(t.id,"item-".concat(a.__autocomplete_id),i),role:"option","aria-selected":n.getState().activeItemId===a.__autocomplete_id,onMouseMove:function(e){if(a.__autocomplete_id!==n.getState().activeItemId){n.dispatch("mousemove",a.__autocomplete_id);var t=be(n.getState());if(null!==n.getState().activeItemId&&t){var i=t.item,c=t.itemInputValue,l=t.itemUrl,u=t.source;u.onActive(gt({event:e,item:i,itemInputValue:c,itemUrl:l,refresh:r,source:u,state:n.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var c=i.getItemInputValue({item:a,state:n.getState()}),l=i.getItemUrl({item:a,state:n.getState()});(l?Promise.resolve():ot(gt({event:e,nextState:{isOpen:!1},props:t,query:c,refresh:r,store:n},o))).then((function(){i.onSelect(gt({event:e,item:a,itemInputValue:c,itemUrl:l,refresh:r,source:i,state:n.getState()},o))}))}},c)}}}function wt(e){return wt="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},wt(e)}function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t0&&n.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},n.createElement("p",{className:"DocSearch-Help"},l,":"),n.createElement("ul",null,p.slice(0,3).reduce((function(e,t){return[].concat(S(e),[n.createElement("li",{key:t},n.createElement("button",{className:"DocSearch-Prefill",key:t,type:"button",onClick:function(){o.setQuery(t.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},t))])}),[]))),o.getMissingResultsUrl&&n.createElement("p",{className:"DocSearch-Help"},"".concat(s," "),n.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},m)))}var rr=["hit","attribute","tagName"];function nr(e,t){return t.split(".").reduce((function(e,t){return null!=e&&e[t]?e[t]:null}),e)}function or(e){var t=e.hit,r=e.attribute,o=e.tagName,a=void 0===o?"span":o,i=y(e,rr);return(0,n.createElement)(a,h(h({},i),{},{dangerouslySetInnerHTML:{__html:nr(t,"_snippetResult.".concat(r,".value"))||nr(t,r)}}))}function ar(e){return e.collection&&0!==e.collection.items.length?n.createElement("section",{className:"DocSearch-Hits"},n.createElement("div",{className:"DocSearch-Hit-source"},e.title),n.createElement("ul",e.getListProps(),e.collection.items.map((function(t,r){return n.createElement(ir,f({key:[e.title,t.objectID].join(":"),item:t,index:r},e))})))):null}function ir(e){var t=e.item,r=e.index,o=e.renderIcon,a=e.renderAction,i=e.getItemProps,c=e.onItemClick,l=e.collection,u=e.hitComponent,s=E(n.useState(!1),2),m=s[0],p=s[1],d=E(n.useState(!1),2),v=d[0],h=d[1],y=n.useRef(null),g=u;return n.createElement("li",f({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",m&&"DocSearch-Hit--deleting",v&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){y.current&&y.current()}},i({item:t,source:l.source,onClick:function(e){c(t,e)}})),n.createElement(g,{hit:t},n.createElement("div",{className:"DocSearch-Hit-Container"},o({item:t,index:r}),t.hierarchy[t.type]&&"lvl1"===t.type&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(or,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&n.createElement(or,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(or,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),n.createElement(or,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&n.createElement("div",{className:"DocSearch-Hit-content-wrapper"},n.createElement(or,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),n.createElement(or,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),a({item:t,runDeleteTransition:function(e){p(!0),y.current=e},runFavoriteTransition:function(e){h(!0),y.current=e}}))))}function cr(e,t,r){return e.reduce((function(e,n){var o=t(n);return e.hasOwnProperty(o)||(e[o]=[]),e[o].length<(r||5)&&e[o].push(n),e}),{})}function lr(e){return e}function ur(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function sr(){}var fr=/(|<\/mark>)/g,mr=RegExp(fr.source);function pr(e){var t,r,n=e;if(!n.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var o=n.__docsearch_parent?null===(t=n.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(r=e._highlightResult)||void 0===r||null===(r=r.hierarchy)||void 0===r?void 0:r.lvl0;return o?o.value&&mr.test(o.value)?o.value.replace(fr,""):o.value:e.hierarchy.lvl0}function dr(e){return n.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map((function(t){if(0===t.items.length)return null;var r=pr(t.items[0]);return n.createElement(ar,f({},e,{key:t.source.sourceId,title:r,collection:t,renderIcon:function(e){var r,o=e.item,a=e.index;return n.createElement(n.Fragment,null,o.__docsearch_parent&&n.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},n.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.__docsearch_parent!==(null===(r=t.items[a+1])||void 0===r?void 0:r.__docsearch_parent)?n.createElement("path",{d:"M8 6v21M20 27H8.3"}):n.createElement("path",{d:"M8 6v42M20 27H8.3"}))),n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(Wt,{type:o.type})))},renderAction:function(){return n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement(zt,null))}}))})),e.resultsFooterComponent&&n.createElement("section",{className:"DocSearch-HitsFooter"},n.createElement(e.resultsFooterComponent,{state:e.state})))}var vr=["translations"];function hr(e){var t=e.translations,r=void 0===t?{}:t,o=y(e,vr),a=r.recentSearchesTitle,i=void 0===a?"Recent":a,c=r.noRecentSearchesText,l=void 0===c?"No recent searches":c,u=r.saveRecentSearchButtonTitle,s=void 0===u?"Save this search":u,m=r.removeRecentSearchButtonTitle,p=void 0===m?"Remove this search from history":m,d=r.favoriteSearchesTitle,v=void 0===d?"Favorite":d,h=r.removeFavoriteSearchButtonTitle,g=void 0===h?"Remove this search from favorites":h;return"idle"===o.state.status&&!1===o.hasCollections?o.disableUserPersonalization?null:n.createElement("div",{className:"DocSearch-StartScreen"},n.createElement("p",{className:"DocSearch-Help"},l)):!1===o.hasCollections?null:n.createElement("div",{className:"DocSearch-Dropdown-Container"},n.createElement(ar,f({},o,{title:i,collection:o.state.collections[0],renderIcon:function(){return n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(Vt,null))},renderAction:function(e){var t=e.item,r=e.runFavoriteTransition,a=e.runDeleteTransition;return n.createElement(n.Fragment,null,n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:s,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),r((function(){o.favoriteSearches.add(t),o.recentSearches.remove(t),o.refresh()}))}},n.createElement(Qt,null))),n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a((function(){o.recentSearches.remove(t),o.refresh()}))}},n.createElement(Kt,null))))}})),n.createElement(ar,f({},o,{title:v,collection:o.state.collections[1],renderIcon:function(){return n.createElement("div",{className:"DocSearch-Hit-icon"},n.createElement(Qt,null))},renderAction:function(e){var t=e.item,r=e.runDeleteTransition;return n.createElement("div",{className:"DocSearch-Hit-action"},n.createElement("button",{className:"DocSearch-Hit-action-button",title:g,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),r((function(){o.favoriteSearches.remove(t),o.refresh()}))}},n.createElement(Kt,null)))}})))}var yr=["translations"],gr=n.memo((function(e){var t=e.translations,r=void 0===t?{}:t,o=y(e,yr);if("error"===o.state.status)return n.createElement(Xt,{translations:null==r?void 0:r.errorScreen});var a=o.state.collections.some((function(e){return e.items.length>0}));return o.state.query?!1===a?n.createElement(tr,f({},o,{translations:null==r?void 0:r.noResultsScreen})):n.createElement(dr,o):n.createElement(hr,f({},o,{hasCollections:a,translations:null==r?void 0:r.startScreen}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status})),br=["translations"];function Er(e){var t=e.translations,r=void 0===t?{}:t,o=y(e,br),a=r.resetButtonTitle,i=void 0===a?"Clear the query":a,c=r.resetButtonAriaLabel,l=void 0===c?"Clear the query":c,u=r.cancelButtonText,s=void 0===u?"Cancel":u,m=r.cancelButtonAriaLabel,p=void 0===m?"Cancel":m,d=r.searchInputLabel,v=void 0===d?"Search":d,h=o.getFormProps({inputElement:o.inputRef.current}).onReset;return n.useEffect((function(){o.autoFocus&&o.inputRef.current&&o.inputRef.current.focus()}),[o.autoFocus,o.inputRef]),n.useEffect((function(){o.isFromSelection&&o.inputRef.current&&o.inputRef.current.select()}),[o.isFromSelection,o.inputRef]),n.createElement(n.Fragment,null,n.createElement("form",{className:"DocSearch-Form",onSubmit:function(e){e.preventDefault()},onReset:h},n.createElement("label",f({className:"DocSearch-MagnifierLabel"},o.getLabelProps()),n.createElement(P,null),n.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},v)),n.createElement("div",{className:"DocSearch-LoadingIndicator"},n.createElement(Ft,null)),n.createElement("input",f({className:"DocSearch-Input",ref:o.inputRef},o.getInputProps({inputElement:o.inputRef.current,autoFocus:o.autoFocus,maxLength:64}))),n.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":l,hidden:!o.state.query},n.createElement(Kt,null))),n.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":p,onClick:o.onClose},s))}var Sr=["_highlightResult","_snippetResult"];function wr(e){var t=e.key,r=e.limit,n=void 0===r?5:r,o=function(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}(t),a=o.getItem().slice(0,n);return{add:function(e){var t=e;t._highlightResult,t._snippetResult;var r=y(t,Sr),i=a.findIndex((function(e){return e.objectID===r.objectID}));i>-1&&a.splice(i,1),a.unshift(r),a=a.slice(0,n),o.setItem(a)},remove:function(e){a=a.filter((function(t){return t.objectID!==e.objectID})),o.setItem(a)},getAll:function(){return a}}}function Or(e){var t,r="algolia-client-js-".concat(e.key);function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(n().getItem(r)||"{}")}function a(e){n().setItem(r,JSON.stringify(e))}return{get:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r,n,i;return r=e.timeToLive?1e3*e.timeToLive:null,n=o(),a(i=Object.fromEntries(Object.entries(n).filter((function(e){return void 0!==E(e,2)[1].timestamp})))),r&&a(Object.fromEntries(Object.entries(i).filter((function(e){var t=E(e,2)[1],n=(new Date).getTime();return!(t.timestamp+r2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return E(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,o).catch((function(){return jr({caches:t}).get(e,n,o)}))},set:function(e,n){return r.set(e,n).catch((function(){return jr({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return jr({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return jr({caches:t}).clear()}))}}}function Pr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=n();return i.then((function(e){return o.miss(e)})).then((function(){return i}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Ir(e){var t=e.algoliaAgents,r=e.client,n=e.version,o=function(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}(n).add({segment:r,version:n});return t.forEach((function(e){return o.add(e)})),o}var Ar=12e4;function kr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",r=Date.now();return h(h({},e),{},{status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>Ar},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=Ar}})}var _r=function(){function e(t,r){var n;return l(this,e),s(n=c(this,e,[t]),"name","AlgoliaError"),r&&(n.name=r),n}return p(e,O(Error)),u(e)}(),Cr=function(){function e(t,r,n){var o;return l(this,e),s(o=c(this,e,[t,n]),"stackTrace",void 0),o.stackTrace=r,o}return p(e,_r),u(e)}(),Dr=function(){function e(t){return l(this,e),c(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",t,"RetryError"])}return p(e,Cr),u(e)}(),Nr=function(){function e(t,r,n){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ApiError";return l(this,e),s(o=c(this,e,[t,n,a]),"status",void 0),o.status=r,o}return p(e,Cr),u(e)}(),xr=function(){function e(t,r){var n;return l(this,e),s(n=c(this,e,[t,"DeserializationError"]),"response",void 0),n.response=r,n}return p(e,_r),u(e)}(),Tr=function(){function e(t,r,n,o){var a;return l(this,e),s(a=c(this,e,[t,r,o,"DetailedApiError"]),"error",void 0),a.error=n,a}return p(e,Nr),u(e)}();function Lr(e,t,r){var n,o=(n=r,Object.keys(n).filter((function(e){return void 0!==n[e]})).sort().map((function(e){return"".concat(e,"=").concat(encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replace(/\+/g,"%20"))})).join("&")),a="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat("/"===t.charAt(0)?t.substring(1):t);return o.length&&(a+="?".concat(o)),a}function Rr(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var r=Array.isArray(e.data)?e.data:h(h({},e.data),t.data);return JSON.stringify(r)}}function qr(e,t,r){var n=h(h(h({Accept:"application/json"},e),t),r),o={};return Object.keys(n).forEach((function(e){var t=n[e];o[e.toLowerCase()]=t})),o}function Mr(e){try{return JSON.parse(e.content)}catch(t){throw new xr(t.message,e)}}function Br(e,t){var r=e.content,n=e.status;try{var o=JSON.parse(r);return"error"in o?new Tr(o.message,n,o.error,t):new Nr(o.message,n,t)}catch(e){}return new Nr(r,n,t)}function Hr(e){return e.map((function(e){return Ur(e)}))}function Ur(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return h(h({},e),{},{request:h(h({},e.request),{},{headers:h(h({},e.request.headers),t)})})}var Fr=["appId","apiKey","authMode","algoliaAgents"],Vr=["params"],Kr="5.12.0";function zr(e){return[{url:"".concat(e,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(e,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var t=e,r=e.length-1;r>0;r--){var n=Math.floor(Math.random()*(r+1)),o=e[r];t[r]=e[n],t[n]=o}return t}([{url:"".concat(e,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var $r="3.7.0";function Wr(e,t,r){return n.useMemo((function(){var n=function(e,t){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function(e){var t=e.appId,r=e.apiKey,n=e.authMode,o=e.algoliaAgents,a=y(e,Fr),c=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WithinHeaders",n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:function(){return"WithinHeaders"===r?n:{}},queryParameters:function(){return"WithinQueryParameters"===r?n:{}}}}(t,r,n),l=function(e){var t=e.hosts,r=e.hostsCache,n=e.baseHeaders,o=e.logger,a=e.baseQueryParameters,c=e.algoliaAgent,l=e.timeouts,u=e.requester,s=e.requestsCache,f=e.responsesCache;function m(e){return p.apply(this,arguments)}function p(){return(p=i(g().mark((function e(t){var n,o,a,i,c;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map((function(e){return r.get(e,(function(){return Promise.resolve(kr(e))}))})));case 2:return n=e.sent,o=n.filter((function(e){return e.isUp()})),a=n.filter((function(e){return e.isTimedOut()})),i=[].concat(S(o),S(a)),c=i.length>0?i:t,e.abrupt("return",{hosts:c,getTimeout:function(e,t){return(0===a.length&&0===e?1:a.length+3+e)*t}});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e,t){return v.apply(this,arguments)}function v(){return v=i(g().mark((function e(s,f){var p,d,v,y,b,E,w,O,j,P,I,A,k,_=arguments;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=!(_.length>2&&void 0!==_[2])||_[2],d=[],v=Rr(s,f),y=qr(n,s.headers,f.headers),b="GET"===s.method?h(h({},s.data),f.data):{},E=h(h(h({},a),s.queryParameters),b),c.value&&(E["x-algolia-agent"]=c.value),f&&f.queryParameters)for(w=0,O=Object.keys(f.queryParameters);w1&&void 0!==arguments[1]?arguments[1]:{},r=e.useReadTransporter||"GET"===e.method;if(!r)return d(e,t,r);var o=function(){return d(e,t)};if(!0!==(t.cacheable||e.cacheable))return o();var i={request:e,requestOptions:t,transporter:{queryParameters:a,headers:n}};return f.get(i,(function(){return s.get(i,(function(){return s.set(i,o()).then((function(e){return Promise.all([s.delete(i),e])}),(function(e){return Promise.all([s.delete(i),Promise.reject(e)])})).then((function(e){var t=E(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.set(i,e)}})},requestsCache:s,responsesCache:f}}(h(h({hosts:zr(t)},a),{},{algoliaAgent:Ir({algoliaAgents:o,client:"Lite",version:Kr}),baseHeaders:h(h({"content-type":"text/plain"},c.headers()),a.baseHeaders),baseQueryParameters:h(h({},c.queryParameters()),a.baseQueryParameters)}));return{transporter:l,appId:t,clearCache:function(){return Promise.all([l.requestsCache.clear(),l.responsesCache.clear()]).then((function(){}))},get _ua(){return l.algoliaAgent.value},addAlgoliaAgent:function(e,t){l.algoliaAgent.add({segment:e,version:t})},setClientApiKey:function(e){var t=e.apiKey;n&&"WithinHeaders"!==n?l.baseQueryParameters["x-algolia-api-key"]=t:l.baseHeaders["x-algolia-api-key"]=t},searchForHits:function(e,t){return this.search(e,t)},searchForFacets:function(e,t){return this.search(e,t)},customPost:function(e,t){var r=e.path,n=e.parameters,o=e.body;if(!r)throw new Error("Parameter `path` is required when calling `customPost`.");var a={method:"POST",path:"/{path}".replace("{path}",r),queryParameters:n||{},headers:{},data:o||{}};return l.request(a,t)},getRecommendations:function(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return l.request(r,t)},search:function(e,t){if(e&&Array.isArray(e)){var r={requests:e.map((function(e){var t=e.params,r=y(e,Vr);return"facet"===r.type?h(h(h({},r),t),{},{type:"facet"}):h(h(h({},r),t),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}))};e=r}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var n={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return l.request(n,t)}}}(h({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return Promise.resolve()}},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,o=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),e)},a=o(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=o(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Pr(),requestsCache:Pr({serializable:!1}),hostsCache:jr({caches:[Or({key:"".concat(Kr,"-").concat(e)}),Pr()]})},void 0))}(e,t);return n.addAlgoliaAgent("docsearch",$r),!1===/docsearch.js \(.*\)/.test(n.transporter.algoliaAgent.value)&&n.addAlgoliaAgent("docsearch-react",$r),r(n)}),[e,t,r])}var Gr=["footer","searchBox"];function Jr(e){var t=e.appId,r=e.apiKey,o=e.indexName,a=e.placeholder,i=void 0===a?"Search docs":a,c=e.searchParameters,l=e.maxResultsPerGroup,u=e.onClose,s=void 0===u?sr:u,m=e.transformItems,p=void 0===m?lr:m,d=e.hitComponent,v=void 0===d?Ut:d,g=e.resultsFooterComponent,b=void 0===g?function(){return null}:g,S=e.navigator,w=e.initialScrollY,O=void 0===w?0:w,j=e.transformSearchClient,P=void 0===j?lr:j,I=e.disableUserPersonalization,A=void 0!==I&&I,k=e.initialQuery,_=void 0===k?"":k,C=e.translations,D=void 0===C?{}:C,N=e.getMissingResultsUrl,x=e.insights,T=void 0!==x&&x,L=D.footer,R=D.searchBox,q=y(D,Gr),M=E(n.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),B=M[0],H=M[1],U=n.useRef(null),F=n.useRef(null),V=n.useRef(null),K=n.useRef(null),z=n.useRef(null),$=n.useRef(10),W=n.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,G=n.useRef(_||W).current,J=Wr(t,r,P),Q=n.useRef(wr({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,Z=n.useRef(wr({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:0===Q.getAll().length?7:4})).current,Y=n.useCallback((function(e){if(!A){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===Q.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&Z.add(t)}}),[Q,Z,A]),X=n.useCallback((function(e){if(B.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t=e,r={eventName:"Item Selected",index:t.__autocomplete_indexName,items:[t],positions:[e.__autocomplete_id],queryID:t.__autocomplete_queryID};B.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(r)}}),[B.context.algoliaInsightsPlugin]),ee=n.useMemo((function(){return qt({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:G,context:{searchSuggestions:[]}},insights:T,navigator:S,onStateChange:function(e){H(e.state)},getSources:function(e){var n=e.query,a=e.state,i=e.setContext,u=e.setStatus;if(!n)return A?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,r=e.event;Y(t),ur(r)||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return Z.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,r=e.event;Y(t),ur(r)||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return Q.getAll()}}];var f=Boolean(T);return J.search({requests:[h({query:n,indexName:o,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat($.current),"hierarchy.lvl2:".concat($.current),"hierarchy.lvl3:".concat($.current),"hierarchy.lvl4:".concat($.current),"hierarchy.lvl5:".concat($.current),"hierarchy.lvl6:".concat($.current),"content:".concat($.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20,clickAnalytics:f},c)]}).catch((function(e){throw"RetryError"===e.name&&u("error"),e})).then((function(e){var n=e.results[0],c=n.hits,u=n.nbHits,m=cr(c,(function(e){return pr(e)}),l);a.context.searchSuggestions.length0&&(ne(),z.current&&z.current.focus())}),[G,ne]),n.useEffect((function(){function e(){if(F.current){var e=.01*window.innerHeight;F.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),n.createElement("div",f({ref:U},re({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===B.status&&"DocSearch-Container--Stalled","error"===B.status&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&s()}}),n.createElement("div",{className:"DocSearch-Modal",ref:F},n.createElement("header",{className:"DocSearch-SearchBar",ref:V},n.createElement(Er,f({},ee,{state:B,autoFocus:0===G.length,inputRef:z,isFromSelection:Boolean(G)&&G===W,translations:R,onClose:s}))),n.createElement("div",{className:"DocSearch-Dropdown",ref:K},n.createElement(gr,f({},ee,{indexName:o,state:B,hitComponent:v,resultsFooterComponent:b,disableUserPersonalization:A,recentSearches:Z,favoriteSearches:Q,inputRef:z,translations:q,getMissingResultsUrl:N,onItemClick:function(e,t){X(e),Y(e),ur(t)||s()}}))),n.createElement("footer",{className:"DocSearch-Footer"},n.createElement(Ht,{translations:L}))))}function Qr(e){var t=e.isOpen,r=e.onOpen,o=e.onClose,a=e.onInput,i=e.searchButtonRef;n.useEffect((function(){function e(e){var n;if("Escape"===e.code&&t||"k"===(null===(n=e.key)||void 0===n?void 0:n.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,r=t.tagName;return t.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r}(e)&&"/"===e.key&&!t)return e.preventDefault(),void(t?o():document.body.classList.contains("DocSearch--active")||r());i&&i.current===document.activeElement&&a&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&a(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,r,o,a,i])}},6359:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(6540);const o="iconExternalLink_wgqa",a=e=>{let{width:t=13.5,height:r=13.5}=e;return n.createElement("svg",{width:t,height:r,"aria-hidden":"true",viewBox:"0 0 24 24",className:o},n.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},1952:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(8168),o=r(6540);const a=e=>{let{width:t=30,height:r=30,className:a,...i}=e;return o.createElement("svg",(0,n.A)({className:a,width:t,height:r,viewBox:"0 0 30 30","aria-hidden":"true"},i),o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}},3641:(e,t,r)=>{r.d(t,{A:()=>ke});var n=r(6540),o=r(53),a=r(6347),i=r(4798),c=r(3155);const l="skipToContent_OuoZ";function u(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}const s=function(){const e=(0,n.useRef)(null),{action:t}=(0,a.W6)();return(0,c.$G)((r=>{let{location:n}=r;e.current&&!n.hash&&"POP"!==t&&u(e.current)})),n.createElement("div",{ref:e},n.createElement("a",{href:"#",className:l,onClick:e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&u(t)}},n.createElement(i.A,{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"},"Skip to main content")))},f="announcementBar_axC9",m="announcementBarClose_A3A1",p="announcementBarContent_6uhP",d="announcementBarCloseable_y4cp";const v=function(){const{isClosed:e,close:t}=(0,c.Mj)(),{announcementBar:r}=(0,c.pN)();if(!r)return null;const{content:a,backgroundColor:l,textColor:u,isCloseable:s}=r;return!a||s&&e?null:n.createElement("div",{className:f,style:{backgroundColor:l,color:u},role:"banner"},n.createElement("div",{className:(0,o.A)(p,{[d]:s}),dangerouslySetInnerHTML:{__html:a}}),s?n.createElement("button",{type:"button",className:(0,o.A)(m,"clean-btn"),onClick:t,"aria-label":(0,i.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},n.createElement("span",{"aria-hidden":"true"},"\xd7")):null)};var h=r(8168),y=r(961),g=r(4586),b=r(6025),E=r(4676),S=r(2602),w=r(802),O=r(5600),j=r(4098);function P(){const{locale:e,tags:t}=function(){const{i18n:e}=(0,g.A)(),t=(0,j.Gy)(),r=(0,j.gk)(),n=(0,c.XK)(),o=[c.Cy,...Object.keys(t).map((function(e){const o=r?.activePlugin?.pluginId===e?r.activeVersion:void 0,a=n[e],i=t[e].versions.find((e=>e.isLast)),l=o??a??i;return(0,c.tU)(e,l.name)}))];return{locale:e.currentLocale,tags:o}}();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}const I="searchBox_NKBi";let A=null;function k(e){let{hit:t,children:r}=e;return n.createElement(E.A,{to:t.url},r)}function _(e){let{state:t,onClose:r}=e;const{generateSearchPageLink:o}=(0,w.A)();return n.createElement(E.A,{to:o(t.query),onClick:r},"See all ",t.context.nbHits," results")}function C(e){let{contextualSearch:t,...o}=e;const{siteMetadata:c}=(0,g.A)(),l=P(),u=o.searchParameters?.facetFilters??[],s=t?[...l,...u]:u,f={...o.searchParameters,facetFilters:s},{withBaseUrl:m}=(0,b.h)(),p=(0,a.W6)(),d=(0,n.useRef)(null),v=(0,n.useRef)(null),[E,w]=(0,n.useState)(!1),[j,C]=(0,n.useState)(null),D=(0,n.useCallback)((()=>A?Promise.resolve():Promise.all([r.e(158).then(r.bind(r,8158)),Promise.all([r.e(869),r.e(913)]).then(r.bind(r,8913)),Promise.all([r.e(869),r.e(197)]).then(r.bind(r,3197))]).then((e=>{let[{DocSearchModal:t}]=e;A=t}))),[]),N=(0,n.useCallback)((()=>{D().then((()=>{d.current=document.createElement("div"),document.body.insertBefore(d.current,document.body.firstChild),w(!0)}))}),[D,w]),x=(0,n.useCallback)((()=>{w(!1),d.current.remove()}),[w]),T=(0,n.useCallback)((e=>{D().then((()=>{w(!0),C(e.key)}))}),[D,w,C]),L=(0,n.useRef)({navigate(e){let{itemUrl:t}=e;p.push(t)}}).current,R=(0,n.useRef)((e=>e.map((e=>{const t=document.createElement("a");return t.href=e.url,{...e,url:m(`${t.pathname}${t.hash}`)}})))).current,q=(0,n.useMemo)((()=>e=>n.createElement(_,(0,h.A)({},e,{onClose:x}))),[x]),M=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",c.docusaurusVersion),e)),[c.docusaurusVersion]);(0,O.E8)({isOpen:E,onOpen:N,onClose:x,onInput:T,searchButtonRef:v});const B=(0,i.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"});return n.createElement(n.Fragment,null,n.createElement(S.A,null,n.createElement("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement("div",{className:I},n.createElement(O.Bc,{onTouchStart:D,onFocus:D,onMouseOver:D,onClick:N,ref:v,translations:{buttonText:B,buttonAriaLabel:B}})),E&&(0,y.createPortal)(n.createElement(A,(0,h.A)({onClose:x,initialScrollY:window.scrollY,initialQuery:j,navigator:L,transformItems:R,hitComponent:k,resultsFooterComponent:q,transformSearchClient:M},o,{searchParameters:f})),d.current))}const D=function(){const{siteConfig:e}=(0,g.A)();return n.createElement(C,e.themeConfig.algolia)},N={toggle:"toggle_iYfV"},x=e=>{let{icon:t,style:r}=e;return n.createElement("span",{className:(0,o.A)(N.toggle,N.dark),style:r},t)},T=e=>{let{icon:t,style:r}=e;return n.createElement("span",{className:(0,o.A)(N.toggle,N.light),style:r},t)},L=(0,n.memo)((e=>{let{className:t,icons:r,checked:a,disabled:i,onChange:c}=e;const[l,u]=(0,n.useState)(a),[s,f]=(0,n.useState)(!1),m=(0,n.useRef)(null);return n.createElement("div",{className:(0,o.A)("react-toggle",t,{"react-toggle--checked":l,"react-toggle--focus":s,"react-toggle--disabled":i})},n.createElement("div",{className:"react-toggle-track",role:"button",tabIndex:-1,onClick:()=>m.current?.click()},n.createElement("div",{className:"react-toggle-track-check"},r.checked),n.createElement("div",{className:"react-toggle-track-x"},r.unchecked),n.createElement("div",{className:"react-toggle-thumb"})),n.createElement("input",{ref:m,checked:l,type:"checkbox",className:"react-toggle-screenreader-only","aria-label":"Switch between dark and light mode",onChange:c,onClick:()=>u(!l),onFocus:()=>f(!0),onBlur:()=>f(!1)}))}));function R(e){const{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:r,lightIcon:o,lightIconStyle:a}}}=(0,c.pN)(),{isClient:i}=(0,g.A)();return n.createElement(L,(0,h.A)({disabled:!i,icons:{checked:n.createElement(x,{icon:t,style:r}),unchecked:n.createElement(T,{icon:o,style:a})}},e))}var q=r(4785),M=r(5515);const B=e=>{const t=(0,a.zy)(),[r,o]=(0,n.useState)(e),i=(0,n.useRef)(!1),[l,u]=(0,n.useState)(0),s=(0,n.useCallback)((e=>{null!==e&&u(e.getBoundingClientRect().height)}),[]);return(0,M.A)(((t,r)=>{let{scrollY:n}=t,{scrollY:a}=r;if(!e)return;if(n=a?o(!1):n+u{e&&!t.location.hash&&o(!0)})),(0,n.useEffect)((()=>{e&&t.hash&&(i.current=!0)}),[t.hash]),{navbarRef:s,isNavbarVisible:r}};var H=r(4911),U=r(9312),F=r(3031);const V=e=>{let{width:t=20,height:r=20,...o}=e;return n.createElement("svg",(0,h.A)({viewBox:"0 0 20 20",width:t,height:r,"aria-hidden":"true"},o),n.createElement("path",{fill:"currentColor",d:"M19.753 10.909c-.624-1.707-2.366-2.726-4.661-2.726-.09 0-.176.002-.262.006l-.016-2.063 3.525-.607c.115-.019.133-.119.109-.231-.023-.111-.167-.883-.188-.976-.027-.131-.102-.127-.207-.109-.104.018-3.25.461-3.25.461l-.013-2.078c-.001-.125-.069-.158-.194-.156l-1.025.016c-.105.002-.164.049-.162.148l.033 2.307s-3.061.527-3.144.543c-.084.014-.17.053-.151.143.019.09.19 1.094.208 1.172.018.08.072.129.188.107l2.924-.504.035 2.018c-1.077.281-1.801.824-2.256 1.303-.768.807-1.207 1.887-1.207 2.963 0 1.586.971 2.529 2.328 2.695 3.162.387 5.119-3.06 5.769-4.715 1.097 1.506.256 4.354-2.094 5.98-.043.029-.098.129-.033.207l.619.756c.08.096.206.059.256.023 2.51-1.73 3.661-4.515 2.869-6.683zm-7.386 3.188c-.966-.121-.944-.914-.944-1.453 0-.773.327-1.58.876-2.156a3.21 3.21 0 011.229-.799l.082 4.277a2.773 2.773 0 01-1.243.131zm2.427-.553l.046-4.109c.084-.004.166-.01.252-.01.773 0 1.494.145 1.885.361.391.217-1.023 2.713-2.183 3.758zm-8.95-7.668a.196.196 0 00-.196-.145h-1.95a.194.194 0 00-.194.144L.008 16.916c-.017.051-.011.076.062.076h1.733c.075 0 .099-.023.114-.072l1.008-3.318h3.496l1.008 3.318c.016.049.039.072.113.072h1.734c.072 0 .078-.025.062-.076-.014-.05-3.083-9.741-3.494-11.04zm-2.618 6.318l1.447-5.25 1.447 5.25H3.226z"}))};function K(e){let{mobile:t,dropdownItemsBefore:r,dropdownItemsAfter:o,...a}=e;const{i18n:{currentLocale:i,locales:l,localeConfigs:u}}=(0,g.A)(),s=(0,c.oK)();function f(e){return u[e].label}const m=[...r,...l.map((e=>{const t=`pathname://${s.createUrl({locale:e,fullyQualified:!1})}`;return{isNavLink:!0,label:f(e),to:t,target:"_self",autoAddBaseUrl:!1,className:e===i?"dropdown__link--active":"",style:{textTransform:"capitalize"}}})),...o],p=t?"Languages":f(i);return n.createElement(F.A,(0,h.A)({},a,{href:"#",mobile:t,label:n.createElement("span",null,n.createElement(V,{style:{verticalAlign:"text-bottom",marginRight:5}}),n.createElement("span",null,p)),items:m}))}function z(e){let{mobile:t}=e;return t?null:n.createElement(D,null)}const $={default:()=>F.A,localeDropdown:()=>K,search:()=>z,docsVersion:()=>r(6467).A,docsVersionDropdown:()=>r(7754).A,doc:()=>r(8240).A};function W(e){let{type:t,...r}=e;const o=function(e){void 0===e&&(e="default");const t=$[e];if(!t)throw new Error(`No NavbarItem component found for type "${e}".`);return t()}(t);return n.createElement(o,r)}var G=r(1773),J=r(1952);const Q="displayOnlyInLargeViewport_cxYs",Z="navbarHideable_RReh",Y="navbarHidden_FBwS",X="right";const ee=function(){const{navbar:{items:e,hideOnScroll:t,style:r},colorMode:{disableSwitch:a}}=(0,c.pN)(),[i,l]=(0,n.useState)(!1),{isDarkTheme:u,setLightTheme:s,setDarkTheme:f}=(0,q.A)(),{navbarRef:m,isNavbarVisible:p}=B(t);(0,H.A)(i);const d=(0,n.useCallback)((()=>{l(!0)}),[l]),v=(0,n.useCallback)((()=>{l(!1)}),[l]),y=(0,n.useCallback)((e=>e.target.checked?f():s()),[s,f]),g=(0,U.A)();(0,n.useEffect)((()=>{g===U.X.desktop&&l(!1)}),[g]);const b=e.some((e=>"search"===e.type)),{leftItems:E,rightItems:S}=function(e){return{leftItems:e.filter((e=>"left"===(e.position??X))),rightItems:e.filter((e=>"right"===(e.position??X)))}}(e);return n.createElement("nav",{ref:m,className:(0,o.A)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":i,[Z]:t,[Y]:t&&!p})},n.createElement("div",{className:"navbar__inner"},n.createElement("div",{className:"navbar__items"},null!=e&&0!==e.length&&n.createElement("button",{"aria-label":"Navigation bar toggle",className:"navbar__toggle clean-btn",type:"button",tabIndex:0,onClick:d,onKeyDown:d},n.createElement(J.A,null)),n.createElement(G.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title"}),E.map(((e,t)=>n.createElement(W,(0,h.A)({},e,{key:t}))))),n.createElement("div",{className:"navbar__items navbar__items--right"},S.map(((e,t)=>n.createElement(W,(0,h.A)({},e,{key:t})))),!a&&n.createElement(R,{className:Q,checked:u,onChange:y}),!b&&n.createElement(D,null))),n.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:v}),n.createElement("div",{className:"navbar-sidebar"},n.createElement("div",{className:"navbar-sidebar__brand"},n.createElement(G.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:v}),!a&&i&&n.createElement(R,{checked:u,onChange:y})),n.createElement("div",{className:"navbar-sidebar__items"},n.createElement("div",{className:"menu"},n.createElement("ul",{className:"menu__list"},e.map(((e,t)=>n.createElement(W,(0,h.A)({mobile:!0},e,{onClick:v,key:t})))))))))};var te=r(6654);const re="footerLogoLink_SRtH";var ne=r(1101),oe=r(6359);function ae(e){let{to:t,href:r,label:o,prependBaseUrlToHref:a,...i}=e;const c=(0,b.A)(t),l=(0,b.A)(r,{forcePrependBaseUrl:!0});return n.createElement(E.A,(0,h.A)({className:"footer__link-item"},r?{href:a?l:r}:{to:c},i),r&&!(0,te.A)(r)?n.createElement("span",null,o,n.createElement(oe.A,null)):o)}const ie=e=>{let{sources:t,alt:r}=e;return n.createElement(ne.A,{className:"footer__logo",alt:r,sources:t})};const ce=function(){const{footer:e}=(0,c.pN)(),{copyright:t,links:r=[],logo:a={}}=e||{},i={light:(0,b.A)(a.src),dark:(0,b.A)(a.srcDark||a.src)};return e?n.createElement("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===e.style})},n.createElement("div",{className:"container"},r&&r.length>0&&n.createElement("div",{className:"row footer__links"},r.map(((e,t)=>n.createElement("div",{key:t,className:"col footer__col"},null!=e.title?n.createElement("div",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?n.createElement("ul",{className:"footer__items"},e.items.map(((e,t)=>e.html?n.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):n.createElement("li",{key:e.href||e.to,className:"footer__item"},n.createElement(ae,e))))):null)))),(a||t)&&n.createElement("div",{className:"footer__bottom text--center"},a&&(a.src||a.srcDark)&&n.createElement("div",{className:"margin-bottom--sm"},a.href?n.createElement(E.A,{href:a.href,className:re},n.createElement(ie,{alt:a.alt,sources:i})):n.createElement(ie,{alt:a.alt,sources:i})),t?n.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null};var le=r(8193);const ue=(0,c.Wf)("theme"),se="light",fe="dark",me=e=>e===fe?fe:se,pe=e=>{(0,c.Wf)("theme").set(me(e))},de=()=>{const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:r}}=(0,c.pN)(),[o,a]=(0,n.useState)((e=>le.A.canUseDOM?me(document.documentElement.getAttribute("data-theme")):me(e))(e)),i=(0,n.useCallback)((()=>{a(se),pe(se)}),[]),l=(0,n.useCallback)((()=>{a(fe),pe(fe)}),[]);return(0,n.useEffect)((()=>{document.documentElement.setAttribute("data-theme",me(o))}),[o]),(0,n.useEffect)((()=>{if(!t)try{const e=ue.get();null!==e&&a(me(e))}catch(e){console.error(e)}}),[a]),(0,n.useEffect)((()=>{t&&!r||window.matchMedia("(prefers-color-scheme: dark)").addListener((e=>{let{matches:t}=e;a(t?fe:se)}))}),[]),{isDarkTheme:o===fe,setLightTheme:i,setDarkTheme:l}};var ve=r(493);const he=function(e){const{isDarkTheme:t,setLightTheme:r,setDarkTheme:o}=de();return n.createElement(ve.A.Provider,{value:{isDarkTheme:t,setLightTheme:r,setDarkTheme:o}},e.children)},ye="docusaurus.tab.",ge=()=>{const[e,t]=(0,n.useState)({}),r=(0,n.useCallback)(((e,t)=>{(0,c.Wf)(`${ye}${e}`).set(t)}),[]);return(0,n.useEffect)((()=>{try{const e={};(0,c.Eo)().forEach((t=>{if(t.startsWith(ye)){const r=t.substring(15);e[r]=(0,c.Wf)(t).get()}})),t(e)}catch(e){console.error(e)}}),[]),{tabGroupChoices:e,setTabGroupChoices:(e,n)=>{t((t=>({...t,[e]:n}))),r(e,n)}}};var be=r(8555);const Ee=function(e){const{tabGroupChoices:t,setTabGroupChoices:r}=ge();return n.createElement(be.A.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:r}},e.children)};function Se(e){let{children:t}=e;return n.createElement(he,null,n.createElement(c.oq,null,n.createElement(Ee,null,n.createElement(c.VQ,null,t))))}function we(e){let{locale:t,version:r,tag:o}=e;const a=t;return n.createElement(S.A,null,a&&n.createElement("meta",{name:"docsearch:language",content:a}),r&&n.createElement("meta",{name:"docsearch:version",content:r}),o&&n.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}var Oe=r(8139);function je(){const{i18n:{defaultLocale:e,locales:t}}=(0,g.A)(),r=(0,c.oK)();return n.createElement(S.A,null,t.map((e=>n.createElement("link",{key:e,rel:"alternate",href:r.createUrl({locale:e,fullyQualified:!0}),hrefLang:e}))),n.createElement("link",{rel:"alternate",href:r.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function Pe(e){let{permalink:t}=e;const{siteConfig:{url:r}}=(0,g.A)(),o=function(){const{siteConfig:{url:e}}=(0,g.A)(),{pathname:t}=(0,a.zy)();return e+(0,b.A)(t)}(),i=t?`${r}${t}`:o;return n.createElement(S.A,null,n.createElement("meta",{property:"og:url",content:i}),n.createElement("link",{rel:"canonical",href:i}))}function Ie(e){const{siteConfig:{favicon:t,themeConfig:{metadatas:r,image:o}},i18n:{currentLocale:a,localeConfigs:i}}=(0,g.A)(),{title:l,description:u,image:s,keywords:f,searchMetadatas:m}=e,p=(0,b.A)(t),d=(0,c.s$)(l),v=a,y=i[a].direction;return n.createElement(n.Fragment,null,n.createElement(S.A,null,n.createElement("html",{lang:v,dir:y}),t&&n.createElement("link",{rel:"shortcut icon",href:p}),n.createElement("title",null,d),n.createElement("meta",{property:"og:title",content:d}),s||o&&n.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),n.createElement(Oe.A,{description:u,keywords:f,image:s}),n.createElement(Pe,null),n.createElement(je,null),n.createElement(we,(0,h.A)({tag:c.Cy,locale:a},m)),n.createElement(S.A,null,r.map(((e,t)=>n.createElement("meta",(0,h.A)({key:`metadata_${t}`},e))))))}const Ae=function(){(0,n.useEffect)((()=>{const e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),()=>{document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])};const ke=function(e){const{children:t,noFooter:r,wrapperClassName:a,pageClassName:i}=e;return Ae(),n.createElement(Se,null,n.createElement(Ie,e),n.createElement(s,null),n.createElement(v,null),n.createElement(ee,null),n.createElement("div",{className:(0,o.A)(c.GN.wrapper.main,a,i)},t),!r&&n.createElement(ce,null))}},1773:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(8168),o=r(6540),a=r(4676),i=r(1101),c=r(6025),l=r(4586);const u=e=>{const{siteConfig:{title:t,themeConfig:{navbar:{title:r,logo:u={src:""}}}},isClient:s}=(0,l.A)(),{imageClassName:f,titleClassName:m,...p}=e,d=(0,c.A)(u.href||"/"),v={light:(0,c.A)(u.src),dark:(0,c.A)(u.srcDark||u.src)};return o.createElement(a.A,(0,n.A)({to:d},p,u.target&&{target:u.target}),u.src&&o.createElement(i.A,{key:s,className:f,sources:v,alt:u.alt||r||t}),null!=r&&o.createElement("b",{className:m},r))}},3031:(e,t,r)=>{r.d(t,{A:()=>h});var n=r(8168),o=r(6540),a=r(53),i=r(4676),c=r(6025),l=r(6347),u=r(3155),s=r(6359),f=r(6654);const m="dropdown__link--active";function p(e){let{activeBasePath:t,activeBaseRegex:r,to:a,href:l,label:u,activeClassName:p="navbar__link--active",prependBaseUrlToHref:d,...v}=e;const h=(0,c.A)(a),y=(0,c.A)(t),g=(0,c.A)(l,{forcePrependBaseUrl:!0}),b=u&&l&&!(0,f.A)(l),E=p===m;return o.createElement(i.A,(0,n.A)({},l?{href:d?g:l}:{isNavLink:!0,activeClassName:p,to:h,...t||r?{isActive:(e,t)=>r?new RegExp(r).test(t.pathname):t.pathname.startsWith(y)}:null},v),b?o.createElement("span",null,u,o.createElement(s.A,E&&{width:12,height:12})):u)}function d(e){let{items:t,position:r,className:i,...c}=e;const l=(0,o.useRef)(null),u=(0,o.useRef)(null),[s,f]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[l]);const d=function(e,t){return void 0===t&&(t=!1),(0,a.A)({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?o.createElement("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===r,"dropdown--right":"right"===r,"dropdown--show":s})},o.createElement(p,(0,n.A)({className:d(i)},c,{onClick:c.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!s))}}),c.children??c.label),o.createElement("ul",{ref:u,className:"dropdown__menu"},t.map(((e,r)=>{let{className:a,...i}=e;return o.createElement("li",{key:r},o.createElement(p,(0,n.A)({onKeyDown:e=>{if(r===t.length-1&&"Tab"===e.key){e.preventDefault(),f(!1);const t=l.current.nextElementSibling;t&&t.focus()}},activeClassName:m,className:d(a,!0)},i)))})))):o.createElement(p,(0,n.A)({className:d(i)},c))}function v(e){let{items:t,className:r,position:i,...c}=e;const s=(0,o.useRef)(null),{pathname:f}=(0,l.zy)(),[m,d]=(0,o.useState)((()=>!t?.some((e=>(0,u.ys)(e.to,f)))??!0)),v=function(e,t){return void 0===t&&(t=!1),(0,a.A)("menu__link",{"menu__link--sublist":t},e)};if(!t)return o.createElement("li",{className:"menu__list-item"},o.createElement(p,(0,n.A)({className:v(r)},c)));const h=s.current?.scrollHeight?`${s.current?.scrollHeight}px`:void 0;return o.createElement("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":m})},o.createElement(p,(0,n.A)({role:"button",className:v(r,!0)},c,{onClick:e=>{e.preventDefault(),d((e=>!e))}}),c.children??c.label),o.createElement("ul",{className:"menu__list",ref:s,style:{height:m?void 0:h}},t.map(((e,t)=>{let{className:r,...a}=e;return o.createElement("li",{className:"menu__list-item",key:t},o.createElement(p,(0,n.A)({activeClassName:"menu__link--active",className:v(r)},a,{onClick:c.onClick})))}))))}const h=function(e){let{mobile:t=!1,...r}=e;const n=t?v:d;return o.createElement(n,r)}},8240:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(8168),o=r(6540),a=r(3031),i=r(4098),c=r(53),l=r(3155),u=r(440);function s(e){let{docId:t,activeSidebarClassName:r,label:s,docsPluginId:f,...m}=e;const{activeVersion:p,activeDoc:d}=(0,i.zK)(f),{preferredVersion:v}=(0,l.g1)(f),h=(0,i.r7)(f),y=function(e,t){const r=[].concat(...e.map((e=>e.docs))),n=r.find((e=>e.id===t));if(!n){const n=r.map((e=>e.id)).join("\n- ");throw new Error(`DocNavbarItem: couldn't find any doc with id "${t}" in version${e.length?"s":""} ${e.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${n}`)}return n}((0,u.uniq)([p,v,h].filter(Boolean)),t);return o.createElement(a.A,(0,n.A)({exact:!0},m,{className:(0,c.A)(m.className,{[r]:d&&d.sidebar===y.sidebar}),label:s??y.id,to:y.path}))}},7754:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(8168),o=r(6540),a=r(3031),i=r(4098),c=r(3155);const l=e=>e.docs.find((t=>t.id===e.mainDocId));function u(e){let{mobile:t,docsPluginId:r,dropdownActiveClassDisabled:u,dropdownItemsBefore:s,dropdownItemsAfter:f,...m}=e;const p=(0,i.zK)(r),d=(0,i.jh)(r),v=(0,i.r7)(r),{preferredVersion:h,savePreferredVersionName:y}=(0,c.g1)(r);const g=function(){const e=d.map((e=>{const t=p?.alternateDocVersions[e.name]||l(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:()=>e===p?.activeVersion,onClick:()=>{y(e.name)}}})),t=[...s,...e,...f];if(!(t.length<=1))return t}(),b=p.activeVersion??h??v,E=t&&g?"Versions":b.label,S=t&&g?void 0:l(b).path;return o.createElement(a.A,(0,n.A)({},m,{mobile:t,label:E,to:S,items:g,isActive:u?()=>!1:void 0}))}},6467:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(8168),o=r(6540),a=r(3031),i=r(4098),c=r(3155);const l=e=>e.docs.find((t=>t.id===e.mainDocId));function u(e){let{label:t,to:r,docsPluginId:u,...s}=e;const f=(0,i.ir)(u),{preferredVersion:m}=(0,c.g1)(u),p=(0,i.r7)(u),d=f??m??p,v=t??d.label,h=r??l(d).path;return o.createElement(a.A,(0,n.A)({},s,{label:v,to:h}))}},493:(e,t,r)=>{r.d(t,{A:()=>n});const n=r(6540).createContext(void 0)},1101:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(8168),o=r(6540),a=r(53),i=r(4586),c=r(4785);const l={themedImage:"themedImage_TMUO","themedImage--light":"themedImage--light_4Vu1","themedImage--dark":"themedImage--dark_uzRr"},u=e=>{const{isClient:t}=(0,i.A)(),{isDarkTheme:r}=(0,c.A)(),{sources:u,className:s,alt:f="",...m}=e,p=t?r?["dark"]:["light"]:["light","dark"];return o.createElement(o.Fragment,null,p.map((e=>o.createElement("img",(0,n.A)({key:e,src:u[e],alt:f,className:(0,a.A)(l.themedImage,l[`themedImage--${e}`],s)},m)))))}},8555:(e,t,r)=>{r.d(t,{A:()=>n});const n=(0,r(6540).createContext)(void 0)},4911:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(6540);const o=function(e){void 0===e&&(e=!0),(0,n.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},5515:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(6540),o=r(8193);const a=()=>({scrollX:o.A.canUseDOM?window.pageXOffset:0,scrollY:o.A.canUseDOM?window.pageYOffset:0}),i=function(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(a()),o=()=>{const t=a();e&&e(t,r.current),r.current=t};(0,n.useEffect)((()=>{const e={passive:!0};return o(),window.addEventListener("scroll",o,e),()=>window.removeEventListener("scroll",o,e)}),t)}},4785:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(6540),o=r(493);const a=function(){const e=(0,n.useContext)(o.A);if(null==e)throw new Error('"useThemeContext" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#usethemecontext.');return e}},9312:(e,t,r)=>{r.d(t,{A:()=>i,X:()=>a});var n=r(6540),o=r(8193);const a={desktop:"desktop",mobile:"mobile"};const i=function(){const e=o.A.canUseDOM;function t(){if(e)return window.innerWidth>996?a.desktop:a.mobile}const[r,i]=(0,n.useState)(t);return(0,n.useEffect)((()=>{if(e)return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r);function r(){i(t())}}),[]),r}},802:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(6347),o=r(8193),a=r(4586);const i=function(){const e=(0,n.W6)(),t=(0,n.zy)(),{siteConfig:{baseUrl:r}={}}=(0,a.A)();return{searchValue:o.A.canUseDOM&&new URLSearchParams(t.search).get("q")||"",updateSearchPath:r=>{const n=new URLSearchParams(t.search);r?n.set("q",r):n.delete("q"),e.replace({search:n.toString()})},generateSearchPageLink:e=>`${r}search?q=${encodeURIComponent(e)}`}}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.782d9096.js b/assets/js/runtime~main.ac8a8fab.js similarity index 50% rename from assets/js/runtime~main.782d9096.js rename to assets/js/runtime~main.ac8a8fab.js index c7f1d7f..ae115ea 100644 --- a/assets/js/runtime~main.782d9096.js +++ b/assets/js/runtime~main.ac8a8fab.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,a,o,n={},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=d,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(s=0;s=o)&&Object.keys(f.O).every((e=>f.O[e](r[c])))?r.splice(c--,1):(d=!1,o0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[r,a,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&a&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(o,n),o},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({72:"028ba8ce",103:"3f2928f0",139:"002dd66f",141:"3007c687",220:"a6d98209",266:"c3133907",401:"17896441",428:"a6a0cecd",459:"4d54d076",476:"5558718b",531:"6c0b3cb7",581:"935f2afb",617:"9dd8a0d2",635:"0063e3c4",685:"48065869",714:"1be78505",757:"67ac6351",776:"8418cd27",815:"510a9026",924:"d589d3a7"}[e]||e)+"."+{72:"f28b1a8d",90:"2e3b1153",103:"e009baed",139:"c83449be",141:"5010d430",158:"03c0eadb",197:"97e04caf",220:"8e2720a8",266:"09991e31",345:"60dd4772",401:"0021ab76",428:"61908f22",459:"eef9fc12",476:"c2a14f3b",531:"7c3f9248",581:"69c1ea53",617:"76d383fa",635:"e94c37dc",641:"11d5b860",685:"67ebab18",714:"9ef0b1b5",757:"e1a07944",776:"aa531acb",815:"12517197",913:"d346004d",924:"335e0fc8"}[e]+".js",f.miniCssF=e=>"assets/css/styles.94e5fcca.css",f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",f.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var d,c;if(void 0!==r)for(var i=document.getElementsByTagName("script"),s=0;s{d.onerror=d.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),c&&document.head.appendChild(d)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/chayns-toolkit/",f.gca=function(e){return e={17896441:"401",48065869:"685","028ba8ce":"72","3f2928f0":"103","002dd66f":"139","3007c687":"141",a6d98209:"220",c3133907:"266",a6a0cecd:"428","4d54d076":"459","5558718b":"476","6c0b3cb7":"531","935f2afb":"581","9dd8a0d2":"617","0063e3c4":"635","1be78505":"714","67ac6351":"757","8418cd27":"776","510a9026":"815",d589d3a7:"924"}[e]||e,f.p+f.u(e)},(()=>{var e={354:0,869:0};f.f.j=(t,r)=>{var a=f.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=f.p+f.u(t),d=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],d=r[1],c=r[2],i=0;if(n.some((t=>0!==e[t]))){for(a in d)f.o(d,a)&&(f.m[a]=d[a]);if(c)var s=c(f)}for(t&&t(r);i{"use strict";var e,t,r,a,o,n={},d={};function c(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=n,c.c=d,e=[],c.O=(t,r,a,o)=>{if(!r){var n=1/0;for(s=0;s=o)&&Object.keys(c.O).every((e=>c.O[e](r[f])))?r.splice(f--,1):(d=!1,o0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&a&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,c.d(o,n),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({72:"028ba8ce",103:"3f2928f0",139:"002dd66f",141:"3007c687",220:"a6d98209",266:"c3133907",401:"17896441",428:"a6a0cecd",459:"4d54d076",476:"5558718b",531:"6c0b3cb7",581:"935f2afb",617:"9dd8a0d2",635:"0063e3c4",685:"48065869",714:"1be78505",757:"67ac6351",776:"8418cd27",815:"510a9026",924:"d589d3a7"}[e]||e)+"."+{72:"f28b1a8d",90:"2e3b1153",103:"e009baed",139:"c83449be",141:"5010d430",158:"03c0eadb",197:"97e04caf",220:"8e2720a8",266:"09991e31",345:"a86bf4db",401:"0021ab76",428:"61908f22",459:"eef9fc12",476:"42ba5b13",531:"7c3f9248",581:"69c1ea53",617:"76d383fa",635:"e94c37dc",641:"ab746112",685:"6d67e777",714:"b683ec89",757:"e1a07944",776:"aa531acb",815:"12517197",913:"d346004d",924:"335e0fc8"}[e]+".js",c.miniCssF=e=>"assets/css/styles.5ca9736a.css",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="website:",c.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var d,f;if(void 0!==r)for(var i=document.getElementsByTagName("script"),s=0;s{d.onerror=d.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),f&&document.head.appendChild(d)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/chayns-toolkit/",c.gca=function(e){return e={17896441:"401",48065869:"685","028ba8ce":"72","3f2928f0":"103","002dd66f":"139","3007c687":"141",a6d98209:"220",c3133907:"266",a6a0cecd:"428","4d54d076":"459","5558718b":"476","6c0b3cb7":"531","935f2afb":"581","9dd8a0d2":"617","0063e3c4":"635","1be78505":"714","67ac6351":"757","8418cd27":"776","510a9026":"815",d589d3a7:"924"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=c.p+c.u(t),d=new Error;c.l(n,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],d=r[1],f=r[2],i=0;if(n.some((t=>0!==e[t]))){for(a in d)c.o(d,a)&&(c.m[a]=d[a]);if(f)var s=f(c)}for(t&&t(r);i -Build Command | chayns-toolkit - +Build Command | chayns-toolkit + @@ -17,7 +17,7 @@ long as you keep the terminal process alive.

Parameters#

ParametersFunction
-a, --analyzeAnalyze your bundle with webpack-bundle-analyzer after compilation. Read more

Browser Support#

Your code is transpiled to work with browsers matching the following browserslist query:

>0.5%not deadnot op_mini all

You can check the exact browsers and versions this matches at any time by running

npx browserslist ">0.5%, not dead, not op_mini all"
- + \ No newline at end of file diff --git a/docs/commands/dev/index.html b/docs/commands/dev/index.html index 2af7437..f9b4588 100644 --- a/docs/commands/dev/index.html +++ b/docs/commands/dev/index.html @@ -4,8 +4,8 @@ -Dev Command | chayns-toolkit - +Dev Command | chayns-toolkit + @@ -18,7 +18,7 @@ configuration file:

/toolkit.config.js
module.exports = {    development: {        host: "123.4.5.6",        port: 1337,        cert: "/path/to/cert.crt",        key: "/path/to/key.key",    },    // ...}
info

To achieve faster (re-)build times during development this command only transpiles your code to work with the latest versions of Chrome, Safari and Firefox.

Parameters#

ParametersFunction
-d, --devtoolsDebug your application with the standalone React Devtools. Read more
- + \ No newline at end of file diff --git a/docs/commands/lint/index.html b/docs/commands/lint/index.html index c8c035f..32e2715 100644 --- a/docs/commands/lint/index.html +++ b/docs/commands/lint/index.html @@ -4,8 +4,8 @@ -Lint Command | chayns-toolkit - +Lint Command | chayns-toolkit + @@ -13,7 +13,7 @@

Lint Command

chayns-toolkit lint

Lints your JavaScript and TypeScript source code with ESLint to report any warnings or errors and automatically fix them if possible.

We recommend to use our included ESLint configuration.

- + \ No newline at end of file diff --git a/docs/commands/test/index.html b/docs/commands/test/index.html index 3a843cb..92c9ab7 100644 --- a/docs/commands/test/index.html +++ b/docs/commands/test/index.html @@ -4,8 +4,8 @@ -Test Command | chayns-toolkit - +Test Command | chayns-toolkit + @@ -31,7 +31,7 @@ (currently) does not receive additional information about the build. This modifier function has to return the modified configuration.

/toolkit.config.js
module.exports = {    jest(config) {        config.transformIgnorePatterns = [            // required for node_modules with es6 syntax            "/node_modules/(?!lodash-es).+\\.js$",        ]
         return config    },}
- + \ No newline at end of file diff --git a/docs/configuration/development/index.html b/docs/configuration/development/index.html index df00005..3e575bc 100644 --- a/docs/configuration/development/index.html +++ b/docs/configuration/development/index.html @@ -4,8 +4,8 @@ -Development Options | chayns-toolkit - +Development Options | chayns-toolkit + @@ -15,7 +15,7 @@ /** * The port the development server will run on. Defaults to `1234`. * * @type {number} */ port: 1337, /** * The path to a SSL certificate file for your development server. Not * specified by default. * * @type {string} */ cert: "//path/to/ssl/cert", /** * The path to a SSL key file for your development server. Not specified * by default. * * @type {string} */ key: "//path/to/ssl/key", }, // ... other options ...}
- + \ No newline at end of file diff --git a/docs/configuration/output/index.html b/docs/configuration/output/index.html index f907d54..ba53789 100644 --- a/docs/configuration/output/index.html +++ b/docs/configuration/output/index.html @@ -4,18 +4,18 @@ -Output Options | chayns-toolkit - +Output Options | chayns-toolkit +

Output Options

These options configure the build output generated by chayns-toolkit build.

All options aswell as the toolkit.config.js file itself are optional.

/toolkit.config.js
module.exports = {    output: {        /**         * Toggles single-file build functionality. Read more below         *         * @type {boolean}         */        singleBundle: false,
         /**         * Change the file-name your of primary output bundle. You can use any         * of the [webpack substitutions](https://webpack.js.org/configuration/output/#template-strings)         * as well as the `[package]` substitution, which will be replaced by         * the package name specified in your `package.json`. Defaults to         * `[package].[contenthash].js`.         *         * @type {string}         */        filename: "[package].[contenthash].js",
-        /**         * Set an absolute path where your output will be emitted to.         *         * @type {string}         */        path: "//my-qa-server/example-project",    },    // ... other options ...}

Single File Builds#

In single-file build mode, the compiler will inline all assets (CSS, images, -etc.) together with all JavaScript into a single bundle. This can be useful when -building smaller fragments of a UI, e.g. some kind of plugin.

- + /** * Set an absolute path where your output will be emitted to. * * @type {string} */ path: "//my-qa-server/example-project", entryPoints: { // key defines the name of the resulting html-file (here index.html) index: { pathIndex: "./src/index", // path to your entry point index.js/index.ts pathHtml: "./src/index.html", // path to the html template }, }, }, // ... other options ...}

Single File Builds#

In single-file build mode, the compiler will inline all assets (CSS, images, etc.) together with all +JavaScript into a single bundle. This can be useful when building smaller fragments of a UI, e.g. +some kind of plugin.

+ \ No newline at end of file diff --git a/docs/configuration/webpack-customization/index.html b/docs/configuration/webpack-customization/index.html index be7039a..7aedcbc 100644 --- a/docs/configuration/webpack-customization/index.html +++ b/docs/configuration/webpack-customization/index.html @@ -4,34 +4,33 @@ -Customizing the Webpack Configuration | chayns-toolkit - +Customizing the Webpack Configuration | chayns-toolkit +
-

Customizing the Webpack Configuration

Even though the included webpack configuration will handle most cases, we also -provide the ability to modify it.

Please note that the webpack configuration does not follow semantic versioning -and can change with any release.

Use the webpack property of the configuration object to specify a function -that receives the default webpack configuration along with some other -information. This modifier function has to return the modified configuration.

/toolkit.config.js
module.exports = {    webpack(config, options) {        // ... do some modifications...
-        return config    },    // ... other options ...}

The modifier function receives two arguments. First is our default webpack -configuration, second is an object with additional information and utilities, -following this interface:

interface Options {    /**     * The webpack module. To avoid version conflicts, you should not import     * webpack on your own if you want to use one of the built-in plugins.     */    webpack: webpack
-    /**     * A boolean that specifies wether the configuration is for development or     * production.     */    dev: boolean}

If you find yourself modifying the webpack configuration often for a feature -that you think belongs in our default config, please -open an issue to -discuss it.

Examples#

Adding a Babel Plugin#

This example shows how to add +

Customizing the Webpack Configuration

Even though the included webpack configuration will handle most cases, we also provide the ability +to modify it.

Please note that the webpack configuration does not follow semantic versioning and can change with +any release.

Use the webpack property of the configuration object to specify a function that receives the +default webpack configuration along with some other information. This modifier function has to +return the modified configuration.

/toolkit.config.js
module.exports = {    webpack(config, options) {        // ... do some modifications...
+        return config    },    // ... other options ...}

The modifier function receives two arguments. First is our default webpack configuration, second is +an object with additional information and utilities, following this interface:

interface Options {    /**     * The webpack module. To avoid version conflicts, you should not import     * webpack on your own if you want to use one of the built-in plugins.     */    webpack: webpack
+    /**     * A boolean that specifies wether the configuration is for development or     * production.     */    dev: boolean
+    /**     * Specifies if the current build is for client or server     */    target: "client" | "server"}

If you find yourself modifying the webpack configuration often for a feature that you think +belongs in our default config, please +open an issue to discuss it.

Examples#

⚠️ Below examples are not updated for v3 yet.

Adding a Babel Plugin#

This example shows how to add @babel/plugin-proposal-pipeline-operator -to babel-loader:

/toolkit.config.js
module.exports = {    webpack(config) {        const babelRule = config.module.rules.find(            (rule) =>                rule.use.loader && rule.use.loader.includes("babel-loader")        )
+to babel-loader:

/toolkit.config.js
module.exports = {    webpack(config) {        const babelRule = config.module.rules.find(            (rule) => rule.use.loader && rule.use.loader.includes("babel-loader")        )
         if (!babelRule) return config
         const babelOptions = babelRule.use.options
-        const pipelinePlugin = [            "@babel/plugin-proposal-pipeline-operator",            { proposal: "smart" },        ]
+        const pipelinePlugin = ["@babel/plugin-proposal-pipeline-operator", { proposal: "smart" }]
         if (Array.isArray(babelOptions.plugins)) {            babelOptions.plugins.push(pipelinePlugin)        } else {            babelOptions.plugins = [pipelinePlugin]        }
         return config    },}

Polyfilling a Node Module#

This example shows how to polyfill the Node.js crypto module using a resolve fallback:

/toolkit.config.js
module.exports = {    webpack(config) {        config.resolve.fallback.crypto = require.resolve("crypto-browserify")
         return config    },}
- + \ No newline at end of file diff --git a/docs/contributing/index.html b/docs/contributing/index.html index ec7c746..ecdf5f9 100644 --- a/docs/contributing/index.html +++ b/docs/contributing/index.html @@ -4,8 +4,8 @@ -Contributing | chayns-toolkit - +Contributing | chayns-toolkit + @@ -18,7 +18,7 @@ build chayns-toolkit first. For that you can run npm run build or let npm run watch run in the background to continously build it.

Now you can open a shell in the example/ directory and use chayns-toolkit just like you would on any other project.

Releasing a new version#

If you have enough permissions on GitHub and NPM you can release a new version.

  1. Use npm version (patch|minor|major) to increase the version.
  2. Use npm publish to release the new version.

You do not have to build the project beforehand, that will be done pre-publish.

- + \ No newline at end of file diff --git a/docs/features/assets/index.html b/docs/features/assets/index.html index 792ee37..2ccc0c6 100644 --- a/docs/features/assets/index.html +++ b/docs/features/assets/index.html @@ -4,8 +4,8 @@ -Images and Assets | chayns-toolkit - +Images and Assets | chayns-toolkit + @@ -21,7 +21,7 @@ activated, all images will be inlined.

SVG Support#

Importing a .svg-file automatically convert it into a React component. You can pass them any props a regular <svg>-element would take:

import Icon from "./my-icon.svg"
 export function MyIcon() {    return <Icon className="icon" />}
- + \ No newline at end of file diff --git a/docs/features/css/index.html b/docs/features/css/index.html index 96b5e30..9cd2b1f 100644 --- a/docs/features/css/index.html +++ b/docs/features/css/index.html @@ -4,8 +4,8 @@ -CSS & Sass Support | chayns-toolkit - +CSS & Sass Support | chayns-toolkit + @@ -16,7 +16,7 @@ class names from the module like so:

import styles from "./styles.css"
 export function MyComponent() {    return <div className={styles.box}>I am styled with CSS modules!</div>}
Learn More

For more information on CSS Modules check out this article.

- + \ No newline at end of file diff --git a/docs/features/env-vars/index.html b/docs/features/env-vars/index.html index c28ed74..480d214 100644 --- a/docs/features/env-vars/index.html +++ b/docs/features/env-vars/index.html @@ -4,8 +4,8 @@ -Environment Variables | chayns-toolkit - +Environment Variables | chayns-toolkit + @@ -23,7 +23,7 @@ available environment variables and do a string replacement if it can find one.

In other words this means that you cannot access the variables with any other syntax. Only process.env.VAR_NAME will be replaced, but other syntax like const { VAR_NAME } = process.env will not be detected.

- + \ No newline at end of file diff --git a/docs/features/eslint/index.html b/docs/features/eslint/index.html index ebcd787..182ce50 100644 --- a/docs/features/eslint/index.html +++ b/docs/features/eslint/index.html @@ -4,8 +4,8 @@ -ESLint | chayns-toolkit - +ESLint | chayns-toolkit + @@ -19,7 +19,7 @@ adjusted, please consider opening an issue to discuss the suggested change instead of changing your local configuration.

- + \ No newline at end of file diff --git a/docs/features/react-devtools/index.html b/docs/features/react-devtools/index.html index c6840c1..1d8a0fe 100644 --- a/docs/features/react-devtools/index.html +++ b/docs/features/react-devtools/index.html @@ -4,8 +4,8 @@ -Using React Devtools | chayns-toolkit - +Using React Devtools | chayns-toolkit + @@ -16,7 +16,7 @@ NPM-package. To use it, first install it as a dev dependency of your project:

yarn add react-devtools -D

Now you can pass the -d (or --devtools) option to the chayns-toolkit dev command. It then starts the React Devtools window, which will connect to your application once it has loaded in the browser.

- + \ No newline at end of file diff --git a/docs/features/typescript/index.html b/docs/features/typescript/index.html index a656a52..75fbece 100644 --- a/docs/features/typescript/index.html +++ b/docs/features/typescript/index.html @@ -4,8 +4,8 @@ -TypeScript Support | chayns-toolkit - +TypeScript Support | chayns-toolkit + @@ -27,7 +27,7 @@ and paths check the TypeScript docs.

- + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index aab4b1e..51ba413 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,8 +4,8 @@ -Getting Started | chayns-toolkit - +Getting Started | chayns-toolkit + @@ -14,7 +14,7 @@ create-chayns-app command line tool. It will set up an optimal development environment for you in one command.

- + \ No newline at end of file diff --git a/index.html b/index.html index 703fba8..c8230f0 100644 --- a/index.html +++ b/index.html @@ -4,14 +4,14 @@ -Hello from chayns-toolkit | chayns-toolkit - +Hello from chayns-toolkit | chayns-toolkit +

chayns-toolkit

A zero-config toolchain for developing chayns® apps.

Zero Config

Zero Config

Automatic compilation and bundling. Optimized for production from the start.

TypeScript support

TypeScript support

Automatic TypeScript configuration and compilation.

Fast Refresh

Fast Refresh

Fast, reliable live-editing experience, as proven at Facebook scale.

- + \ No newline at end of file diff --git a/search/index.html b/search/index.html index 83b01c8..f1345ea 100644 --- a/search/index.html +++ b/search/index.html @@ -4,14 +4,14 @@ -Search the documentation | chayns-toolkit - +Search the documentation | chayns-toolkit +

Search the documentation

- + \ No newline at end of file