diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..294db26c --- /dev/null +++ b/404.html @@ -0,0 +1,14 @@ + + + + + +Page Not Found | Docusaurus Search + + + + + +
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.13dc8b47.css b/assets/css/styles.13dc8b47.css new file mode 100644 index 00000000..c1feaf8f --- /dev/null +++ b/assets/css/styles.13dc8b47.css @@ -0,0 +1 @@ +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_HA4k,html{-webkit-tap-highlight-color:transparent}*,.loadingRing_MTs2 div{box-sizing:border-box}.clean-list,.containsTaskList_FA68,.details_KJn4>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#46cbae;--ifm-color-primary-lighter:#66d4bd;--ifm-color-primary-lightest:#92e0d0;--ifm-code-font-size:95%;--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_ckrM article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_kCh2,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:transparent;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_Eejg .wordWrapButtonIcon_IIsw{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_dLsS,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after,.searchBarContainer_nwld.searchIndexLoading_TSh5 .searchBarLoadingRing_RHN6{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.content_jqJ1 a,.hitFooter_MyWu a,.suggestion_m3ms.cursor_qOAr mark{text-decoration:underline}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_D4w5:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;pointer-events:none;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.sidebar_Tfnr,.tableOfContents_odbd{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_s2DS article>:first-child,.docItemContainer_s2DS header+*,.footer__item{margin-top:0}.admonitionContent_Izui>:last-child,.cardContainer_R7by :last-child,.collapsibleContent_pIWv p:last-child,.details_KJn4>summary>p:last-child,.footer__items,.searchResultItem_gF5N>h2{margin-bottom:0}.codeBlockStandalone_Zx9w,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.title_LFnH{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_KJn4[data-collapsed=false].isBrowser_Unbb>summary:before,.details_KJn4[open]:not(.isBrowser_Unbb)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_hYVY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.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)}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover,.sidebarItemLink_zGe6:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_FA68>li)>.containsTaskList_FA68{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}.docusaurus-highlight-code-line{background-color:#484d5b;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_l1sK,.hideAction_DX6M>svg,.navbarSearchContainer_bYhf:not(:has(>*)),.sidebarLogo_y82R,.themedComponent_lAfP,[data-theme=dark] .lightToggleIcon_tTRg,[data-theme=light] .darkToggleIcon_i3Jm,html[data-announcement-bar-initially-dismissed=true] .announcementBar_lHnW{display:none}.skipToContent__7wj{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__7wj:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_zp99{line-height:0;padding:0}.content_jqJ1{font-size:85%;padding:5px 0;text-align:center}.content_jqJ1 a{color:inherit}.announcementBar_lHnW{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_wKiJ{flex:0 0 10px}.announcementBarClose_NRWR{align-self:stretch;flex:0 0 30px}.toggle_QpWG{height:2rem;width:2rem}.toggleButton_HA4k{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_HA4k:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_Am9_{cursor:not-allowed}.darkNavbarColorModeToggle_MELe:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_kBbf,[data-theme=light] .themedComponent--light_XB4J,html:not([data-theme]) .themedComponent--light_XB4J{display:initial}.iconExternalLink_Olb8{margin-left:.3rem}.iconLanguage_RUbi{margin-right:5px;vertical-align:text-bottom}.searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,#f5f6f7);border-radius:6px;box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64);left:auto!important;margin-top:8px;padding:var(--search-local-spacing,12px);position:relative;right:0!important;width:var(--search-local-modal-width,560px)}html[data-theme=dark] .searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,var(--ifm-background-color));box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309)}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms{align-items:center;background:var(--search-local-hit-background,#fff);border-radius:4px;box-shadow:var(--search-local-hit-shadow,0 1px 3px 0 #d4d9e1);color:var(--search-local-hit-color,#444950);cursor:pointer;display:flex;flex-direction:row;height:var(--search-local-hit-height,56px);padding:0 var(--search-local-spacing,12px);width:100%}.buttons_pzbO,.features_keug,.hitTree_TD98,.noResults_iR5T{align-items:center;display:flex}html[data-theme=dark] .dropdownMenu_KI5l .suggestion_m3ms{background:var(--search-local-hit-background,var(--ifm-color-emphasis-100));box-shadow:var(--search-local-hit-shadow,none);color:var(--search-local-hit-color,var(--ifm-font-color-base))}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms:not(:last-child){margin-bottom:4px}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms.cursor_qOAr{background-color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitFooter_MyWu a,.hitIcon_fMx6,.hitPath_nPSC,.hitTree_TD98,.noResultsIcon_UhOM{color:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .hitIcon_fMx6,html[data-theme=dark] .hitPath_nPSC,html[data-theme=dark] .hitTree_TD98,html[data-theme=dark] .noResultsIcon_UhOM{color:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}.hitTree_TD98>svg{height:var(--search-local-hit-height,56px);opacity:.5;width:24px}.hitIcon_fMx6,.hitTree_TD98>svg{stroke-width:var(--search-local-icon-stroke-width,1.4)}.hitAction_Dksg,.hitIcon_fMx6{height:20px;width:20px}.hitWrapper_FGPj{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;margin:0 8px;overflow-x:hidden;width:80%}.hitWrapper_FGPj mark{background:none;color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitTitle_jvEB{font-size:.9em}.hitPath_nPSC{font-size:.75em}.hitPath_nPSC,.hitTitle_jvEB{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.noResults_iR5T{flex-direction:column;justify-content:center;padding:var(--search-local-spacing,12px) 0}.noResultsIcon_UhOM{margin-bottom:var(--search-local-spacing,12px)}.hitFooter_MyWu{font-size:.85em;margin-top:var(--search-local-spacing,12px);text-align:center}.cursor_qOAr .hideAction_DX6M>svg,.tocCollapsibleContent_P7EO a{display:block}.suggestion_m3ms.cursor_qOAr,.suggestion_m3ms.cursor_qOAr .hitIcon_fMx6,.suggestion_m3ms.cursor_qOAr .hitPath_nPSC,.suggestion_m3ms.cursor_qOAr .hitTree_TD98,.suggestion_m3ms.cursor_qOAr mark{color:var(--search-local-hit-active-color,var(--ifm-color-white))!important}.searchBarContainer_nwld{margin-left:16px}.searchBarContainer_nwld .searchBarLoadingRing_RHN6{display:none;left:10px;position:absolute;top:6px}.searchBarContainer_nwld .searchClearButton_A9Ts{background:none;border:none;line-height:1rem;padding:0;position:absolute;right:.8rem;top:50%;transform:translateY(-50%)}.navbar__search{position:relative}.searchIndexLoading_TSh5 .navbar__search-input{background-image:none}.searchHintContainer_yMUd{align-items:center;display:flex;gap:4px;height:100%;justify-content:center;pointer-events:none;position:absolute;right:10px;top:0}.searchHint_CJly{background-color:var(--ifm-navbar-search-input-background-color);border:1px solid var(--ifm-color-emphasis-500);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-500);color:var(--ifm-navbar-search-input-placeholder-color)}.loadingRing_MTs2{display:inline-block;height:20px;opacity:var(--search-local-loading-icon-opacity,.5);position:relative;width:20px}.loadingRing_MTs2 div{animation:1.2s cubic-bezier(.5,0,.5,1) infinite a;border:2px solid var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color));border-color:var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color)) transparent transparent transparent;border-radius:50%;display:block;height:16px;margin:2px;position:absolute;width:16px}.loadingRing_MTs2 div:first-child{animation-delay:-.45s}.loadingRing_MTs2 div:nth-child(2){animation-delay:-.3s}.loadingRing_MTs2 div:nth-child(3){animation-delay:-.15s}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.navbarHideable_w2xG{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_bQ_v{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_Aej3{color:red;white-space:pre-wrap}.errorBoundaryFallback_Bfw0{color:red;padding:.55rem}.footerLogoLink_TWN7{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_TWN7:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_vYcL{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_x1aE{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_se6T{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_Tfnr{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_qWx9{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_W46p,.sidebarItemList_FqE9{font-size:.9rem}.sidebarItem_w3b1{margin-top:.7rem}.sidebarItemLink_zGe6{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_PILC{color:var(--ifm-color-primary)!important}.cardContainer_R7by{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 rgba(0,0,0,.15);transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_R7by:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 rgba(0,0,0,.2)}.cardTitle_itJd{font-size:1.2rem}.cardDescription_OB3x{font-size:.8rem}.searchContextInput_IYNQ,.searchQueryInput_Rfes{background:var(--ifm-background-color);border:var(--ifm-global-border-width) solid var(--ifm-color-content-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-font-color-base);font-size:var(--ifm-font-size-base);margin-bottom:1rem;padding:.5rem;width:100%}.searchResultItem_gF5N{border-bottom:1px solid #dfe3e8;padding:1rem 0}.searchResultItemPath__vrn{color:var(--ifm-color-content-secondary);font-size:.8rem;margin:.5rem 0 0}.searchResultItemSummary_Kts6{font-style:italic;margin:.5rem 0 0}.authorCol_L2ln{flex-grow:1!important;max-width:inherit!important}.imageOnlyAuthorRow_pXm5{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_IIuY{margin-left:.3rem;margin-right:.3rem}.backToTopButton_xjLX{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup_Ux1A button,.codeBlockContainer_pqmR{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_xjLX:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_KuKn{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_IlcQ{display:none;margin:0}.docMainContainer_B_M8,.docRoot_hERl{display:flex;width:100%}.docsWrapper_sfhw{display:flex;flex:1 0 auto}.heroBanner_UJJx{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.codeBlockContainer_pqmR{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_qIvM{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_d1g5{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_fX_E{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_d1g5+.codeBlockContent_qIvM .codeBlock_fX_E{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_Qt9w{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_kJoj{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_Ux1A{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_Ux1A button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_Ux1A button:focus-visible,.buttonGroup_Ux1A button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_Ux1A button{opacity:.4}.iconEdit_yCMb{margin-right:.3em;vertical-align:sub}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_L2TN{counter-increment:a;display:table-row}.codeLineNumber_D4w5{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_D4w5:before{content:counter(a);opacity:.4}.codeLineContent_NH88{padding-right:var(--ifm-pre-padding)}.tag_TpAi{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_TpAi:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_ha55{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_mjGL{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_mjGL:after,.tagWithCount_mjGL:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_mjGL:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_mjGL:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_mjGL span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_BmfI{display:inline-block;margin:.5rem .5rem 0 1rem}.theme-code-block:hover .copyButtonCopied_dpE0{opacity:1!important}.copyButtonIcons_Za_O{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_INP8,.copyButtonSuccessIcon_IO9w{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_IO9w{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_dpE0 .copyButtonIcon_INP8{opacity:0;transform:scale(.33)}.copyButtonCopied_dpE0 .copyButtonSuccessIcon_IO9w{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.tags_e_7e{display:inline}.tag_YEUc{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vR6z{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_udMZ{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_udMZ:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_NZ_u:after,.tocCollapsibleExpanded_tJ0U{transform:none}.tocCollapsible_bciC{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_P7EO>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_P7EO ul li{margin:.4rem .8rem}.wordWrapButtonIcon_IIsw{height:1.2rem;width:1.2rem}.details_KJn4{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_KJn4>summary{cursor:pointer;padding-left:1rem;position:relative}.details_KJn4>summary::-webkit-details-marker{display:none}.details_KJn4>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_pIWv{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_Zfkn{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_hkHc{height:auto}.admonition_QpPJ{margin-bottom:1em}.admonitionHeading_dLsS{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_dLsS:not(:last-child){margin-bottom:.3rem}.admonitionHeading_dLsS code{text-transform:none}.admonitionIcon_m6FF{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_m6FF svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.blogPostFooterDetailsFull_DBmw{flex-direction:column}.tableOfContents_odbd{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.breadcrumbHomeIcon_w6td{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_CzDA{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_p3ls{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media (min-width:997px){.collapseSidebarButton_IlcQ,.expandButton_zsBQ{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_NRWR,.announcementBarPlaceholder_wKiJ{flex-basis:50px}.navbarSearchContainer_bYhf{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_IlcQ{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_iyaO{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_DvE8,[dir=rtl] .collapseSidebarButtonIcon_iyaO{transform:rotate(0)}.collapseSidebarButton_IlcQ:focus,.collapseSidebarButton_IlcQ:hover,.expandButton_zsBQ:focus,.expandButton_zsBQ:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_ts5c{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_ficN{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_ficN{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_X2D6{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_s7Pv{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_bLvr{padding-top:0}.sidebarHidden_L71x{opacity:0;visibility:hidden}.sidebarLogo_y82R{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_y82R img{height:2rem;margin-right:.5rem}.expandButton_zsBQ{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_DvE8{transform:rotate(180deg)}.docSidebarContainer_l1sK{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_kDwv{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_GvwI{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_B_M8{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_L9NF{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_ZTSi{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.lastUpdated_vR6z{text-align:right}.tocMobile_LBM1{display:none}.docItemCol_TLyc,.generatedIndexPage_EoU2{max-width:75%!important}.list_ckrM article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_A5xQ,.footer__link-separator,.navbar__item,.sidebar_Tfnr,.tableOfContents_odbd{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_bYhf{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_V8qf{padding:0 .3rem}}@media not (max-width:996px){.searchBar_ZNED.searchBarLeft_ylsZ .dropdownMenu_KI5l{left:0!important;right:auto!important}}@media only screen and (max-width:996px){.searchQueryColumn__pwE{max-width:60%!important}.searchContextColumn_B1IM{max-width:40%!important}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}.navbar__search-input:not(:focus){width:2rem}.searchBar_ZNED .dropdownMenu_KI5l{max-width:calc(100vw - var(--ifm-navbar-padding-horizontal)*2);width:var(--search-local-modal-width-sm,340px)}.searchBarContainer_nwld:not(.focused_xMO5) .searchClearButton_A9Ts,.searchHintContainer_yMUd{display:none}.title_LFnH{font-size:2rem}}@media screen and (max-width:576px){.searchQueryColumn__pwE{max-width:100%!important}.searchContextColumn_B1IM{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (hover:hover){.backToTopButton_xjLX:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_lHnW,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_LBM1{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_Qt9w{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 00000000..97e41646 Binary files /dev/null and b/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 00000000..e257edc1 Binary files /dev/null and b/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/assets/js/01a85c17.cf6da810.js b/assets/js/01a85c17.cf6da810.js new file mode 100644 index 00000000..47d3915a --- /dev/null +++ b/assets/js/01a85c17.cf6da810.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4013],{1809:function(e,t,s){s.d(t,{Z:function(){return x}});var a=s(3900),i=s(7515),n=s(2786),r=s(879),l=s(3707),c=s(1207),o=s(382),m=s(4064);function d(e){const{pathname:t}=(0,o.TH)();return(0,a.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var u={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},g=s(966);function b(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("aside",{className:"col col--3",children:(0,g.jsxs)("nav",{className:(0,i.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,c.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,g.jsx)("div",{className:(0,i.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,g.jsx)("ul",{className:(0,i.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,g.jsx)("li",{className:u.sidebarItem,children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var h=s(3943);function p(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,g.jsx)("li",{className:"menu__list-item",children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,g.jsx)(h.Zo,{component:p,props:e})}function f(e){let{sidebar:t}=e;const s=(0,r.i)();return null!=t&&t.items.length?"mobile"===s?(0,g.jsx)(j,{sidebar:t}):(0,g.jsx)(b,{sidebar:t}):null}function x(e){const{sidebar:t,toc:s,children:a,...r}=e,l=t&&t.items.length>0;return(0,g.jsx)(n.Z,{...r,children:(0,g.jsx)("div",{className:"container margin-vert--lg",children:(0,g.jsxs)("div",{className:"row",children:[(0,g.jsx)(f,{sidebar:t}),(0,g.jsx)("main",{className:(0,i.Z)("col",{"col--7":l,"col--9 col--offset-1":!l}),itemScope:!0,itemType:"https://schema.org/Blog",children:a}),s&&(0,g.jsx)("div",{className:"col col--2",children:s})]})})})}},5538:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});s(3900);var a=s(7515),i=s(2678),n=s(4181),r=s(8512),l=s(1809),c=s(5123),o=s(3806),m=s(4974),d=s(966);function u(e){let{tags:t,sidebar:s}=e;const u=(0,i.M)();return(0,d.jsxs)(n.FG,{className:(0,a.Z)(r.k.wrapper.blogPages,r.k.page.blogTagsListPage),children:[(0,d.jsx)(n.d,{title:u}),(0,d.jsx)(o.Z,{tag:"blog_tags_list"}),(0,d.jsxs)(l.Z,{sidebar:s,children:[(0,d.jsx)(m.Z,{as:"h1",children:u}),(0,d.jsx)(c.Z,{tags:t})]})]})}},1254:function(e,t,s){s.d(t,{Z:function(){return l}});s(3900);var a=s(7515),i=s(3707),n={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},r=s(966);function l(e){let{permalink:t,label:s,count:l}=e;return(0,r.jsxs)(i.Z,{href:t,className:(0,a.Z)(n.tag,l?n.tagWithCount:n.tagRegular),children:[s,l&&(0,r.jsx)("span",{children:l})]})}},5123:function(e,t,s){s.d(t,{Z:function(){return o}});s(3900);var a=s(2678),i=s(1254),n=s(4974),r={tag:"tag_BmfI"},l=s(966);function c(e){let{letterEntry:t}=e;return(0,l.jsxs)("article",{children:[(0,l.jsx)(n.Z,{as:"h2",id:t.letter,children:t.letter}),(0,l.jsx)("ul",{className:"padding--none",children:t.tags.map((e=>(0,l.jsx)("li",{className:r.tag,children:(0,l.jsx)(i.Z,{...e})},e.permalink)))}),(0,l.jsx)("hr",{})]})}function o(e){let{tags:t}=e;const s=(0,a.P)(t);return(0,l.jsx)("section",{className:"margin-vert--lg",children:s.map((e=>(0,l.jsx)(c,{letterEntry:e},e.letter)))})}},2678:function(e,t,s){s.d(t,{M:function(){return i},P:function(){return n}});var a=s(1207);const i=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function n(e){const t={};return Object.values(e).forEach((e=>{const s=function(e){return e[0].toUpperCase()}(e.label);null!=t[s]||(t[s]=[]),t[s].push(e)})),Object.entries(t).sort(((e,t)=>{let[s]=e,[a]=t;return s.localeCompare(a)})).map((e=>{let[t,s]=e;return{letter:t,tags:s.sort(((e,t)=>e.label.localeCompare(t.label)))}}))}}}]); \ No newline at end of file diff --git a/assets/js/041f6c3c.fcb60041.js b/assets/js/041f6c3c.fcb60041.js new file mode 100644 index 00000000..545a0b41 --- /dev/null +++ b/assets/js/041f6c3c.fcb60041.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4871],{3462:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/blog/tags/docusaurus","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/0e384e19.a2c9a125.js b/assets/js/0e384e19.a2c9a125.js new file mode 100644 index 00000000..ac72cf88 --- /dev/null +++ b/assets/js/0e384e19.a2c9a125.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9671],{6133:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var r=n(966),s=n(1015);const o={sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},i="Tutorial Intro",a={id:"intro",title:"Tutorial Intro",description:"This is description in front matter",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/docusaurus-search-local/docs/next/intro",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/intro.md",tags:[{label:"Test",permalink:"/docusaurus-search-local/docs/next/tags/test"},{label:"Keywords",permalink:"/docusaurus-search-local/docs/next/tags/keywords"},{label:"Front matter",permalink:"/docusaurus-search-local/docs/next/tags/front-matter"}],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},sidebar:"tutorialSidebar",next:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/docs/next/category/tutorial---basics"}},c={},l=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"}),"\n",(0,r.jsxs)(t.p,{children:["Let's discover ",(0,r.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Or ",(0,r.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,r.jsx)(t.strong,{children:(0,r.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 14 or above:","\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,r.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,r.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,r.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,r.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,r.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,r.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,r.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,r.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Open ",(0,r.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,r.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var r=n(3900);const s={},o=r.createContext(s);function i(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.f3087745.js b/assets/js/14eb3368.f3087745.js new file mode 100644 index 00000000..2f8278ac --- /dev/null +++ b/assets/js/14eb3368.f3087745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9817],{3225:function(e,n,t){t.d(n,{Z:function(){return p}});t(3900);var i=t(7515),s=t(8512),r=t(3025),a=t(4064),c=t(3707),l=t(1207),o=t(3373),d=t(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,o.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(c.Z,{"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var b={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function x(e){let{children:n,href:t,isLast:i}=e;const s="breadcrumbs__link";return i?(0,d.jsx)("span",{className:s,itemProp:"name",children:n}):t?(0,d.jsx)(c.Z,{className:s,href:t,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:n})}):(0,d.jsx)("span",{className:s,children:n})}function v(e){let{children:n,active:t,index:s,addMicrodata:r}=e;return(0,d.jsxs)("li",{...r&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":t}),children:[n,(0,d.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function p(){const e=(0,r.s1)(),n=(0,a.Ns)();return e?(0,d.jsx)("nav",{className:(0,i.Z)(s.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[n&&(0,d.jsx)(h,{}),e.map(((n,t)=>{const i=t===e.length-1,s="category"===n.type&&n.linkUnlisted?void 0:n.href;return(0,d.jsx)(v,{active:i,index:t,addMicrodata:!!s,children:(0,d.jsx)(x,{href:s,isLast:i,children:n.label})},t)}))]})}):null}},2260:function(e,n,t){t.r(n),t.d(n,{default:function(){return y}});t(3900);var i=t(4181),s=t(3025),r=t(3373),a=t(7515),c=t(3707),l=t(6843),o=t(1207),d=t(4974),u={cardContainer:"cardContainer_R7by",cardTitle:"cardTitle_itJd",cardDescription:"cardDescription_OB3x"},m=t(966);function h(e){let{href:n,children:t}=e;return(0,m.jsx)(c.Z,{href:n,className:(0,a.Z)("card padding--lg",u.cardContainer),children:t})}function b(e){let{href:n,icon:t,title:i,description:s}=e;return(0,m.jsxs)(h,{href:n,children:[(0,m.jsxs)(d.Z,{as:"h2",className:(0,a.Z)("text--truncate",u.cardTitle),title:i,children:[t," ",i]}),s&&(0,m.jsx)("p",{className:(0,a.Z)("text--truncate",u.cardDescription),title:s,children:s})]})}function x(e){var n;let{item:t}=e;const i=(0,s.LM)(t);return i?(0,m.jsx)(b,{href:i,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:null!=(n=t.description)?n:(0,o.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){var n,t;let{item:i}=e;const r=(0,l.Z)(i.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",a=(0,s.xz)(null!=(n=i.docId)?n:void 0);return(0,m.jsx)(b,{href:i.href,icon:r,title:i.label,description:null!=(t=i.description)?t:null==a?void 0:a.description})}function p(e){let{item:n}=e;switch(n.type){case"link":return(0,m.jsx)(v,{item:n});case"category":return(0,m.jsx)(x,{item:n});default:throw new Error("unknown item type "+JSON.stringify(n))}}function g(e){let{className:n}=e;const t=(0,s.jA)();return(0,m.jsx)(j,{items:t.items,className:n})}function j(e){const{items:n,className:t}=e;if(!n)return(0,m.jsx)(g,{...e});const i=(0,s.MN)(n);return(0,m.jsx)("section",{className:(0,a.Z)("row",t),children:i.map(((e,n)=>(0,m.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,m.jsx)(p,{item:e})},n)))})}var f=t(8608),N=t(6819),Z=t(657),L=t(3225),_={generatedIndexPage:"generatedIndexPage_EoU2",list:"list_ckrM",title:"title_p3ls"};function k(e){let{categoryGeneratedIndex:n}=e;return(0,m.jsx)(i.d,{title:n.title,description:n.description,keywords:n.keywords,image:(0,r.Z)(n.image)})}function T(e){let{categoryGeneratedIndex:n}=e;const t=(0,s.jA)();return(0,m.jsxs)("div",{className:_.generatedIndexPage,children:[(0,m.jsx)(N.Z,{}),(0,m.jsx)(L.Z,{}),(0,m.jsx)(Z.Z,{}),(0,m.jsxs)("header",{children:[(0,m.jsx)(d.Z,{as:"h1",className:_.title,children:n.title}),n.description&&(0,m.jsx)("p",{children:n.description})]}),(0,m.jsx)("article",{className:"margin-top--lg",children:(0,m.jsx)(j,{items:t.items,className:_.list})}),(0,m.jsx)("footer",{className:"margin-top--lg",children:(0,m.jsx)(f.Z,{previous:n.navigation.previous,next:n.navigation.next})})]})}function y(e){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(k,{...e}),(0,m.jsx)(T,{...e})]})}},8608:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(1207),s=t(1554),r=t(966);function a(e){const{previous:n,next:t}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[n&&(0,r.jsx)(s.Z,{...n,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),t&&(0,r.jsx)(s.Z,{...t,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,n,t){t.d(n,{Z:function(){return l}});t(3900);var i=t(7515),s=t(1207),r=t(8512),a=t(7924),c=t(966);function l(e){let{className:n}=e;const t=(0,a.E)();return t.badge?(0,c.jsx)("span",{className:(0,i.Z)(n,r.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.jsx)(s.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:t.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,n,t){t.d(n,{Z:function(){return v}});t(3900);var i=t(7515),s=t(2442),r=t(3707),a=t(1207),c=t(304),l=t(8512),o=t(4924),d=t(7924),u=t(966);const m={unreleased:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const n=m[e.versionMetadata.banner];return(0,u.jsx)(n,{...e})}function b(e){let{versionLabel:n,to:t,onClick:i}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:n,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(r.Z,{to:t,onClick:i,children:(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let{className:n,versionMetadata:t}=e;const{siteConfig:{title:r}}=(0,s.Z)(),{pluginId:a}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,o.J)(a),{latestDocSuggestion:m,latestVersionSuggestion:x}=(0,c.Jo)(a),v=null!=m?m:(p=x).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,i.Z)(n,l.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:r,versionMetadata:t})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:x.label,to:v.path,onClick:()=>d(x.name)})})]})}function v(e){let{className:n}=e;const t=(0,d.E)();return t.banner?(0,u.jsx)(x,{className:n,versionMetadata:t}):null}},1554:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(7515),s=t(3707),r=t(966);function a(e){const{permalink:n,title:t,subLabel:a,isNext:c}=e;return(0,r.jsxs)(s.Z,{className:(0,i.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[a&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,r.jsx)("div",{className:"pagination-nav__label",children:t})]})}}}]); \ No newline at end of file diff --git a/assets/js/17896441.2342e34f.js b/assets/js/17896441.2342e34f.js new file mode 100644 index 00000000..6b0fde10 --- /dev/null +++ b/assets/js/17896441.2342e34f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7918],{3225:function(e,t,n){n.d(t,{Z:function(){return p}});n(3900);var s=n(7515),a=n(8512),i=n(3025),l=n(4064),o=n(3707),r=n(1207),c=n(3373),d=n(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,c.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(o.Z,{"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var v={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function b(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,d.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,d.jsx)(o.Z,{className:a,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:a,children:t})}function x(e){let{children:t,active:n,index:a,addMicrodata:i}=e;return(0,d.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function p(){const e=(0,i.s1)(),t=(0,l.Ns)();return e?(0,d.jsx)("nav",{className:(0,s.Z)(a.k.docs.docBreadcrumbs,v.breadcrumbsContainer),"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(b,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},6820:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var s=n(3900),a=n(4181),i=n(5158),l=n(966);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){var e;const{metadata:t,frontMatter:n,assets:s}=c();return(0,l.jsx)(a.d,{title:t.title,description:t.description,keywords:n.keywords,image:null!=(e=s.image)?e:n.image})}var u=n(7515),m=n(879),h=n(8608);function v(){const{metadata:e}=c();return(0,l.jsx)(h.Z,{previous:e.previous,next:e.next})}var b=n(6819),x=n(657),p=n(8512),f=n(1207);function g(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function j(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function L(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:p.k.common.lastUpdated,children:[(0,l.jsx)(f.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(g,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(j,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var C=n(8427),N=n(3714),Z={lastUpdated:"lastUpdated_vR6z"};function k(e){return(0,l.jsx)("div",{className:(0,u.Z)(p.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(N.Z,{...e})})})}function _(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(C.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",Z.lastUpdated),children:(n||s)&&(0,l.jsx)(L,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function T(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(k,{tags:i}),r&&(0,l.jsx)(_,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var U=n(3663),H=n(8001),y={tocCollapsibleButton:"tocCollapsibleButton_udMZ",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_NZ_u"};function A(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",y.tocCollapsibleButton,!t&&y.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(f.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}var w={tocCollapsible:"tocCollapsible_bciC",tocCollapsibleContent:"tocCollapsibleContent_P7EO",tocCollapsibleExpanded:"tocCollapsibleExpanded_tJ0U"};function M(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,U.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(w.tocCollapsible,!i&&w.tocCollapsibleExpanded,n),children:[(0,l.jsx)(A,{collapsed:i,onClick:o}),(0,l.jsx)(U.z,{lazy:!0,className:w.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(H.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}var B={tocMobile:"tocMobile_LBM1"};function I(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(M,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,B.tocMobile)})}var E=n(2151);function O(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(E.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var S=n(4974),V=n(4265);function D(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(S.Z,{as:"h1",children:n})}),(0,l.jsx)(V.Z,{children:t})]})}var P=n(3225),R=n(9843),z={docItemContainer:"docItemContainer_s2DS",docItemCol:"docItemCol_TLyc"};function F(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(I,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(O,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&z.docItemCol),children:[s&&(0,l.jsx)(R.Z,{}),(0,l.jsx)(b.Z,{}),(0,l.jsxs)("div",{className:z.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(P.Z,{}),(0,l.jsx)(x.Z,{}),n.mobile,(0,l.jsx)(D,{children:t}),(0,l.jsx)(T,{})]}),(0,l.jsx)(v,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function q(e){const t="docs-doc-id-"+e.content.metadata.id,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(F,{children:(0,l.jsx)(n,{})})]})})}},8608:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var s=n(1207),a=n(1554),i=n(966);function l(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(a.Z,{...t,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(a.Z,{...n,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7515),a=n(1207),i=n(8512),l=n(7924),o=n(966);function r(e){let{className:t}=e;const n=(0,l.E)();return n.badge?(0,o.jsx)("span",{className:(0,s.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,o.jsx)(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,t,n){n.d(t,{Z:function(){return x}});n(3900);var s=n(7515),a=n(2442),i=n(3707),l=n(1207),o=n(304),r=n(8512),c=n(4924),d=n(7924),u=n(966);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function v(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(i.Z,{to:n,onClick:s,children:(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:i}}=(0,a.Z)(),{pluginId:l}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,c.J)(l),{latestDocSuggestion:m,latestVersionSuggestion:b}=(0,o.Jo)(l),x=null!=m?m:(p=b).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,s.Z)(t,r.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:i,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(v,{versionLabel:b.label,to:x.path,onClick:()=>d(b.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.E)();return n.banner?(0,u.jsx)(b,{className:t,versionMetadata:n}):null}},2151:function(e,t,n){n.d(t,{Z:function(){return c}});n(3900);var s=n(7515),a=n(8001),i={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},l=n(966);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},8001:function(e,t,n){n.d(t,{Z:function(){return b}});var s=n(3900),a=n(4715);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){var n;let{anchorTopOffset:s}=t;const a=e.find((e=>o(e).top>=s));if(a){var i;return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push("h"+a+".anchor");return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3707),m=n(966);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=s?s:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}var v=s.memo(h);function b(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const b=(0,a.L)(),x=null!=c?c:b.tableOfContents.minHeadingLevel,p=null!=u?u:b.tableOfContents.maxHeadingLevel,f=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:x,maxHeadingLevel:p});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:p}}),[o,r,x,p])),(0,m.jsx)(v,{toc:f,className:n,linkClassName:o,...h})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),l=n(966);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(8512),u=n(5085);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/18c41134.92eeac29.js b/assets/js/18c41134.92eeac29.js new file mode 100644 index 00000000..e3979058 --- /dev/null +++ b/assets/js/18c41134.92eeac29.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2859],{70:function(e,n,s){s.r(n),s.d(n,{Highlight:function(){return d},assets:function(){return c},contentTitle:function(){return o},default:function(){return h},frontMatter:function(){return a},metadata:function(){return i},toc:function(){return l}});var r=s(966),t=s(1015);const a={sidebar_position:4},o="Markdown Features",i={id:"tutorial-basics/markdown-features",title:"Markdown Features",description:"Docusaurus supports Markdown and a few additional features.",source:"@site/docs/tutorial-basics/markdown-features.mdx",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/markdown-features",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/markdown-features.mdx",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post"},next:{title:"Deploy your site",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site"}},c={},l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}],d=({children:e,color:n})=>{const s={span:"span",...(0,t.a)()};return(0,r.jsx)(s.span,{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e})};function u(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"}),"\n",(0,r.jsxs)(n.p,{children:["Docusaurus supports ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,r.jsx)(n.strong,{children:"additional features"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,r.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,r.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my-doc-id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,r.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create-a-page).\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create-a-page.md).\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page",children:"Create a page"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,r.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,r.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Docusaurus logo",src:s(766).Z+"",width:"200",height:"200"})}),"\n",(0,r.jsxs)(n.p,{children:["You can reference images relative to the current file as well, as shown in ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions",children:"the extra guides"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,r.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return (\n

Hello, Docusaurus!

\n )\n}\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

Hello, Docusaurus!

;\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,r.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,r.jsx)(n.p,{children:":::tip My tip"}),"\n",(0,r.jsx)(n.p,{children:"Use this awesome feature option"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.p,{children:":::danger Take care"}),"\n",(0,r.jsx)(n.p,{children:"This action is dangerous"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,r.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,r.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,r.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,r.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,r.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,r.jsx)(n.strong,{children:"React components inside Markdown"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n"})}),"\n","\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},766:function(e,n){n.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},1015:function(e,n,s){s.d(n,{Z:function(){return i},a:function(){return o}});var r=s(3900);const t={},a=r.createContext(t);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1a4922cc.629d2820.js b/assets/js/1a4922cc.629d2820.js new file mode 100644 index 00000000..49857998 --- /dev/null +++ b/assets/js/1a4922cc.629d2820.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8293],{3129:function(e,i,t){t.r(i),t.d(i,{assets:function(){return o},contentTitle:function(){return r},default:function(){return m},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return l}});var s=t(966),u=t(1015);const n={id:"doc3",title:"This is Document Number 3"},r=void 0,a={id:"doc3",title:"This is Document Number 3",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",source:"@site/versioned_docs/version-1.0.0/doc3.md",sourceDirName:".",slug:"/doc3",permalink:"/docusaurus-search-local/docs/doc3",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc3.md",tags:[],version:"1.0.0",frontMatter:{id:"doc3",title:"This is Document Number 3"},sidebar:"someSidebar",previous:{title:"Document Number 2",permalink:"/docusaurus-search-local/docs/doc2"},next:{title:"Powered by MDX",permalink:"/docusaurus-search-local/docs/mdx"}},o={},l=[];function c(e){const i={p:"p",...(0,u.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),"\n",(0,s.jsx)(i.p,{children:"Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique."}),"\n",(0,s.jsx)(i.p,{children:"Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis."}),"\n",(0,s.jsx)(i.p,{children:"Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor."}),"\n",(0,s.jsx)(i.p,{children:"Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur."})]})}function m(e={}){const{wrapper:i}={...(0,u.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},1015:function(e,i,t){t.d(i,{Z:function(){return a},a:function(){return r}});var s=t(3900);const u={},n=s.createContext(u);function r(e){const i=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(u):e.components||u:r(e.components),s.createElement(n.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1a4e3797.61d2a7de.js b/assets/js/1a4e3797.61d2a7de.js new file mode 100644 index 00000000..931b0ccc --- /dev/null +++ b/assets/js/1a4e3797.61d2a7de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7920],{960:function(e,t,r){r.d(t,{c:function(){return u}});var s=r(3900),a=r(2442);const n=["zero","one","two","few","many","other"];function c(e){return n.filter((t=>e.includes(t)))}const l={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(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 the default (English) implementation.\nError: '+t.message+"\n"),l}}),[e])}function u(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const a=r.select(t),n=r.pluralForms.indexOf(a);return s[Math.min(n,s.length-1)]}(r,t,e)}}},8713:function(e,t,r){r.r(t),r.d(t,{default:function(){return b}});var s=r(3900),a=r(2442),n=r(2786),c=r(743),l=r(3707),o=r(1207),u=r(960),h=r(7515),i=r(382),m=r(5106),d=r(3771);var p=function(){const e=(0,m.Z)(),t=(0,i.k6)(),r=(0,i.TH)(),{siteConfig:{baseUrl:s}}=(0,a.Z)(),n=e?new URLSearchParams(r.search):null,c=(null==n?void 0:n.get("q"))||"",l=(null==n?void 0:n.get("ctx"))||"",o=(null==n?void 0:n.get("version"))||"",u=e=>{const t=new URLSearchParams(r.search);return e?t.set("q",e):t.delete("q"),t};return{searchValue:c,searchContext:l&&Array.isArray(d.Kc)&&d.Kc.some((e=>"string"==typeof e?e===l:e.path===l))?l:"",searchVersion:o,updateSearchPath:e=>{const r=u(e);t.replace({search:r.toString()})},updateSearchContext:e=>{const s=new URLSearchParams(r.search);s.set("ctx",e),t.replace({search:s.toString()})},generateSearchPageLink:e=>{const t=u(e);return s+"search?"+t.toString()}}},g=r(1316),f=r(6329),x=r(557),y=r(7833),S=r(596),C=r(6481),I=r(6192),j=r(5486),v={searchContextInput:"searchContextInput_IYNQ",searchQueryInput:"searchQueryInput_Rfes",searchResultItem:"searchResultItem_gF5N",searchResultItemPath:"searchResultItemPath__vrn",searchResultItemSummary:"searchResultItemSummary_Kts6",searchQueryColumn:"searchQueryColumn__pwE",searchContextColumn:"searchContextColumn_B1IM"},w=r(7208),P=r(966);function R(){const{siteConfig:{baseUrl:e},i18n:{currentLocale:t}}=(0,a.Z)(),{selectMessage:r}=(0,u.c)(),{searchValue:n,searchContext:l,searchVersion:i,updateSearchPath:m,updateSearchContext:x}=p(),[y,S]=(0,s.useState)(n),[C,j]=(0,s.useState)(),[R,b]=(0,s.useState)(),A=""+e+i,F=(0,s.useMemo)((()=>y?(0,o.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:y}):(0,o.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[y]);(0,s.useEffect)((()=>{m(y),C&&(y?C(y,(e=>{b(e)})):b(void 0))}),[y,C]);const N=(0,s.useCallback)((e=>{S(e.target.value)}),[]);return(0,s.useEffect)((()=>{n&&n!==y&&S(n)}),[n]),(0,s.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=!Array.isArray(d.Kc)||l||d.pQ?await(0,g.w)(A,l):{wrappedIndexes:[],zhDictionary:[]};j((()=>(0,f.v)(e,t,100)))}()}),[l,A]),(0,P.jsxs)(s.Fragment,{children:[(0,P.jsxs)(c.Z,{children:[(0,P.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,P.jsx)("title",{children:F})]}),(0,P.jsxs)("div",{className:"container margin-vert--lg",children:[(0,P.jsx)("h1",{children:F}),(0,P.jsxs)("div",{className:"row",children:[(0,P.jsx)("div",{className:(0,h.Z)("col",{[v.searchQueryColumn]:Array.isArray(d.Kc),"col--9":Array.isArray(d.Kc),"col--12":!Array.isArray(d.Kc)}),children:(0,P.jsx)("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:N,value:y,autoComplete:"off",autoFocus:!0})}),Array.isArray(d.Kc)?(0,P.jsx)("div",{className:(0,h.Z)("col","col--3","padding-left--none",v.searchContextColumn),children:(0,P.jsxs)("select",{name:"search-context",className:v.searchContextInput,id:"context-selector",value:l,onChange:e=>x(e.target.value),children:[d.pQ&&(0,P.jsx)("option",{value:"",children:(0,o.I)({id:"theme.SearchPage.searchContext.everywhere",message:"everywhere"})}),d.Kc.map((e=>{const{label:r,path:s}=(0,w._)(e,t);return(0,P.jsx)("option",{value:s,children:r},s)}))]})}):null]}),!C&&y&&(0,P.jsx)("div",{children:(0,P.jsx)(I.Z,{})}),R&&(R.length>0?(0,P.jsx)("p",{children:r(R.length,(0,o.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:R.length}))}):(0,P.jsx)("p",{children:(0,o.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,P.jsx)("section",{children:R&&R.map((e=>(0,P.jsx)(_,{searchResult:e},e.document.i)))})]})]})}function _(e){let{searchResult:{document:t,type:r,page:s,tokens:a,metadata:n}}=e;const c=r===x.P.Title,o=r===x.P.Keywords,u=r===x.P.Description,h=u||o,i=c||h,m=r===x.P.Content,p=(c?t.b:s.b).slice(),g=m||h?t.s:t.t;i||p.push(s.t);let f="";if(d.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append("_highlight",t);f="?"+e.toString()}return(0,P.jsxs)("article",{className:v.searchResultItem,children:[(0,P.jsx)("h2",{children:(0,P.jsx)(l.Z,{to:t.u+f+(t.h||""),dangerouslySetInnerHTML:{__html:m||h?(0,y.C)(g,a):(0,S.o)(g,(0,C.m)(n,"t"),a,100)}})}),p.length>0&&(0,P.jsx)("p",{className:v.searchResultItemPath,children:(0,j.e)(p)}),(m||u)&&(0,P.jsx)("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,S.o)(t.t,(0,C.m)(n,"t"),a,100)}})]})}var b=function(){return(0,P.jsx)(n.Z,{children:(0,P.jsx)(R,{})})}}}]); \ No newline at end of file diff --git a/assets/js/1cbf0e34.209620b2.js b/assets/js/1cbf0e34.209620b2.js new file mode 100644 index 00000000..a522a39b --- /dev/null +++ b/assets/js/1cbf0e34.209620b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7195],{2776:function(e){e.exports=JSON.parse('{"name":"@easyops-cn/docusaurus-search-local","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/1e4232ab.227ac5d0.js b/assets/js/1e4232ab.227ac5d0.js new file mode 100644 index 00000000..e7f97ac9 --- /dev/null +++ b/assets/js/1e4232ab.227ac5d0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8818],{1567:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var s=n(966),r=n(1015);const o={sidebar_position:2},i="Create a Document",a={id:"tutorial-basics/create-a-document",title:"Create a Document",description:"Documents are groups of pages connected through:",source:"@site/docs/tutorial-basics/create-a-document.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-document",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-document.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a Page",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page"},next:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post"}},c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"}),"\n",(0,s.jsxs)(t.p,{children:["Documents are ",(0,s.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["a ",(0,s.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,s.jsxs)(t.p,{children:["Create a markdown file at ",(0,s.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["A new document is now available at ",(0,s.jsx)(t.code,{children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,s.jsxs)(t.p,{children:["Docusaurus automatically ",(0,s.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,s.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,s.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,s.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"module.exports = {\n tutorialSidebar: [\n {\n type: 'category',\n label: 'Tutorial',\n // highlight-next-line\n items: ['hello'],\n },\n ],\n};\n"})})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var s=n(3900);const r={},o=s.createContext(r);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2118.a37a5fbb.js b/assets/js/2118.a37a5fbb.js new file mode 100644 index 00000000..adefc633 --- /dev/null +++ b/assets/js/2118.a37a5fbb.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2118],{5085:function(e,n,t){"use strict";t.d(n,{Z:function(){return E}});var s=t(3900),o=t(966);function a(e){var n;const{mdxAdmonitionTitle:t,rest:a}=function(e){const n=s.Children.toArray(e),t=n.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:a.length>0?(0,o.jsx)(o.Fragment,{children:a}):null}}(e.children),i=null!=(n=e.title)?n:t;return{...e,...i&&{title:i},children:a}}var i=t(7515),c=t(1207),r=t(8512),l={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:s}=e;return(0,o.jsx)("div",{className:(0,i.Z)(r.k.common.admonition,r.k.common.admonitionType(n),l.admonition,t),children:s})}function u(e){let{icon:n,title:t}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:n}),t]})}function m(e){let{children:n}=e;return n?(0,o.jsx)("div",{className:l.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:s,children:a,className:i}=e;return(0,o.jsxs)(d,{type:n,className:i,children:[(0,o.jsx)(u,{title:s,icon:t}),(0,o.jsx)(m,{children:a})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,o.jsx)(h,{...f,...e,className:(0,i.Z)("alert alert--secondary",e.className),children:e.children})}function x(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const j={icon:(0,o.jsx)(x,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function b(e){return(0,o.jsx)(h,{...j,...e,className:(0,i.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,i.Z)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function w(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const B={icon:(0,o.jsx)(w,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Z={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var L={...{note:g,tip:b,info:k,warning:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...B,...e,className:(0,i.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(g,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(b,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...Z,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})}}};function E(e){const n=a(e),t=(s=n.type,L[s]||(console.warn('No admonition component found for admonition type "'+s+'". Using Info as fallback.'),L.info));var s;return(0,o.jsx)(t,{...n})}},8427:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});t(3900);var s=t(1207),o=t(8512),a=t(3707),i=t(7515),c={iconEdit:"iconEdit_yCMb"},r=t(966);function l(e){let{className:n,...t}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,i.Z)(c.iconEdit,n),"aria-hidden":"true",...t,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:n}=e;return(0,r.jsxs)(a.Z,{to:n,className:o.k.common.editThisPage,children:[(0,r.jsx)(l,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},4265:function(e,n,t){"use strict";t.d(n,{Z:function(){return se}});var s=t(3900),o=t(1015),a=t(743),i=t(5106),c=t(7515),r=t(8408),l=t(4715);function d(){const{prism:e}=(0,l.L)(),{colorMode:n}=(0,r.I)(),t=e.theme,s=e.darkTheme||t;return"dark"===n?s:t}var u=t(8512),m=t(8485),h=t.n(m);const p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,g={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function x(e,n){const t=e.map((e=>{const{start:t,end:s}=g[e];return"(?:"+t+"\\s*("+n.flatMap((e=>{var n,t;return[e.line,null==(n=e.block)?void 0:n.start,null==(t=e.block)?void 0:t.end].filter(Boolean)})).join("|")+")\\s*"+s+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")}function j(e,n){let t=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:a}=n;if(a&&f.test(a)){const e=a.match(f).groups.range;if(0===o.length)throw new Error("A highlight range has been given in code block's metastring (``` "+a+"), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.");const n=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[n]]));return{lineClassNames:Object.fromEntries(s),code:t}}if(void 0===s)return{lineClassNames:{},code:t};const i=function(e,n){switch(e){case"js":case"javascript":case"ts":case"typescript":return x(["js","jsBlock"],n);case"jsx":case"tsx":return x(["js","jsBlock","jsx"],n);case"html":return x(["js","jsBlock","html"],n);case"python":case"py":case"bash":return x(["bash"],n);case"markdown":case"md":return x(["html","jsx","bash"],n);case"tex":case"latex":case"matlab":return x(["tex"],n);case"lua":case"haskell":case"sql":return x(["lua"],n);case"wasm":return x(["wasm"],n);default:return x(Object.keys(g).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),n)}}(s,o),c=t.split("\n"),r=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:n,line:t}=e;return[t,n]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.start,n]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.end,n]})));for(let h=0;h<c.length;){const e=c[h].match(i);if(!e){h+=1;continue}const n=e.slice(1).find((e=>void 0!==e));l[n]?r[l[n]].range+=h+",":d[n]?r[d[n]].start=h:u[n]&&(r[u[n]].range+=r[u[n]].start+"-"+(h-1)+","),c.splice(h,1)}t=c.join("\n");const m={};return Object.entries(r).forEach((e=>{let[n,{range:t}]=e;h()(t).forEach((e=>{null!=m[e]||(m[e]=[]),m[e].push(n)}))})),{lineClassNames:m,code:t}}var b={codeBlockContainer:"codeBlockContainer_pqmR"},v=t(966);function N(e){let{as:n,...t}=e;const s=function(e){const n={color:"--prism-color",backgroundColor:"--prism-background-color"},t={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const a=n[s];a&&"string"==typeof o&&(t[a]=o)})),t}(d());return(0,v.jsx)(n,{...t,style:s,className:(0,c.Z)(t.className,b.codeBlockContainer,u.k.common.codeBlock)})}var k={codeBlockContent:"codeBlockContent_qIvM",codeBlockTitle:"codeBlockTitle_d1g5",codeBlock:"codeBlock_fX_E",codeBlockStandalone:"codeBlockStandalone_Zx9w",codeBlockLines:"codeBlockLines_Qt9w",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_kJoj",buttonGroup:"buttonGroup_Ux1A"};function y(e){let{children:n,className:t}=e;return(0,v.jsx)(N,{as:"pre",tabIndex:0,className:(0,c.Z)(k.codeBlockStandalone,"thin-scrollbar",t),children:(0,v.jsx)("code",{className:k.codeBlockLines,children:n})})}var C=t(5158);const w={attributes:!0,characterData:!0,childList:!0,subtree:!0};function B(e,n){const[t,o]=(0,s.useState)(),a=(0,s.useCallback)((()=>{var n;o(null==(n=e.current)?void 0:n.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{a()}),[a]),function(e,n,t){void 0===t&&(t=w);const o=(0,C.zX)(n),a=(0,C.Ql)(t);(0,s.useEffect)((()=>{const n=new MutationObserver(o);return e&&n.observe(e,a),()=>n.disconnect()}),[e,o,a])}(t,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(n(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Z=t(8334),L={codeLine:"codeLine_L2TN",codeLineNumber:"codeLineNumber_D4w5",codeLineContent:"codeLineContent_NH88"};function E(e){let{line:n,classNames:t,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===n.length&&"\n"===n[0].content&&(n[0].content="");const i=o({line:n,className:(0,c.Z)(t,s&&L.codeLine)}),r=n.map(((e,n)=>(0,v.jsx)("span",{...a({token:e,key:n})},n)));return(0,v.jsxs)("span",{...i,children:[s?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("span",{className:L.codeLineNumber}),(0,v.jsx)("span",{className:L.codeLineContent,children:r})]}):r,(0,v.jsx)("br",{})]})}var _=t(1207);function T(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function I(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}var z={copyButtonCopied:"copyButtonCopied_dpE0",copyButtonIcons:"copyButtonIcons_Za_O",copyButtonIcon:"copyButtonIcon_INP8",copyButtonSuccessIcon:"copyButtonSuccessIcon_IO9w"};function A(e){let{code:n,className:t}=e;const[o,a]=(0,s.useState)(!1),i=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,n){let{target:t=document.body}=void 0===n?{}:n;if("string"!=typeof e)throw new TypeError("Expected parameter `text` to be a `string`, got `"+typeof e+"`.");const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const a=document.getSelection(),i=a.rangeCount>0&&a.getRangeAt(0);t.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let c=!1;try{c=document.execCommand("copy")}catch{}s.remove(),i&&(a.removeAllRanges(),a.addRange(i)),o&&o.focus()}(n),a(!0),i.current=window.setTimeout((()=>{a(!1)}),1e3)}),[n]);return(0,s.useEffect)((()=>()=>window.clearTimeout(i.current)),[]),(0,v.jsx)("button",{type:"button","aria-label":o?(0,_.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,_.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,_.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.Z)("clean-btn",t,z.copyButton,o&&z.copyButtonCopied),onClick:r,children:(0,v.jsxs)("span",{className:z.copyButtonIcons,"aria-hidden":"true",children:[(0,v.jsx)(T,{className:z.copyButtonIcon}),(0,v.jsx)(I,{className:z.copyButtonSuccessIcon})]})})}function S(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}var M={wordWrapButtonIcon:"wordWrapButtonIcon_IIsw",wordWrapButtonEnabled:"wordWrapButtonEnabled_Eejg"};function H(e){let{className:n,onClick:t,isEnabled:s}=e;const o=(0,_.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,v.jsx)("button",{type:"button",onClick:t,className:(0,c.Z)("clean-btn",n,s&&M.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,v.jsx)(S,{className:M.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){var n;let{children:t,className:o="",metastring:a,title:i,showLineNumbers:r,language:u}=e;const{prism:{defaultLanguage:m,magicComments:h}}=(0,l.L)(),f=function(e){return null==e?void 0:e.toLowerCase()}(null!=(n=null!=u?u:function(e){const n=e.split(" ").find((e=>e.startsWith("language-")));return null==n?void 0:n.replace(/language-/,"")}(o))?n:m),g=d(),x=function(){const[e,n]=(0,s.useState)(!1),[t,o]=(0,s.useState)(!1),a=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const t=a.current.querySelector("code");e?t.removeAttribute("style"):(t.style.whiteSpace="pre-wrap",t.style.overflowWrap="anywhere"),n((e=>!e))}),[a,e]),c=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:n}=a.current,t=e>n||a.current.querySelector("code").hasAttribute("style");o(t)}),[a]);return B(a,c),(0,s.useEffect)((()=>{c()}),[e,c]),(0,s.useEffect)((()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)})),[c]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:t,toggle:i}}(),b=function(e){var n,t;return null!=(n=null==e||null==(t=e.match(p))?void 0:t.groups.title)?n:""}(a)||i,{lineClassNames:y,code:C}=j(t,{metastring:a,language:f,magicComments:h}),w=null!=r?r:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(a);return(0,v.jsxs)(N,{as:"div",className:(0,c.Z)(o,f&&!o.includes("language-"+f)&&"language-"+f),children:[b&&(0,v.jsx)("div",{className:k.codeBlockTitle,children:b}),(0,v.jsxs)("div",{className:k.codeBlockContent,children:[(0,v.jsx)(Z.y$,{theme:g,code:C,language:null!=f?f:"text",children:e=>{let{className:n,style:t,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,v.jsx)("pre",{tabIndex:0,ref:x.codeBlockRef,className:(0,c.Z)(n,k.codeBlock,"thin-scrollbar"),style:t,children:(0,v.jsx)("code",{className:(0,c.Z)(k.codeBlockLines,w&&k.codeBlockLinesWithNumbering),children:s.map(((e,n)=>(0,v.jsx)(E,{line:e,getLineProps:o,getTokenProps:a,classNames:y[n],showLineNumbers:w},n)))})})}}),(0,v.jsxs)("div",{className:k.buttonGroup,children:[(x.isEnabled||x.isCodeScrollable)&&(0,v.jsx)(H,{className:k.codeButton,onClick:()=>x.toggle(),isEnabled:x.isEnabled}),(0,v.jsx)(A,{className:k.codeButton,code:C})]})]})]})}function W(e){let{children:n,...t}=e;const o=(0,i.Z)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(n),c="string"==typeof a?R:y;return(0,v.jsx)(c,{...t,children:a},String(o))}var V=t(3707);var P=t(3663),O={details:"details_KJn4",isBrowser:"isBrowser_Unbb",collapsibleContent:"collapsibleContent_pIWv"};function D(e){return!!e&&("SUMMARY"===e.tagName||D(e.parentElement))}function F(e,n){return!!e&&(e===n||F(e.parentElement,n))}function q(e){let{summary:n,children:t,...o}=e;const a=(0,i.Z)(),r=(0,s.useRef)(null),{collapsed:l,setCollapsed:d}=(0,P.u)({initialState:!o.open}),[u,m]=(0,s.useState)(o.open),h=s.isValidElement(n)?n:(0,v.jsx)("summary",{children:null!=n?n:"Details"});return(0,v.jsxs)("details",{...o,ref:r,open:u,"data-collapsed":l,className:(0,c.Z)(O.details,a&&O.isBrowser,o.className),onMouseDown:e=>{D(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const n=e.target;D(n)&&F(n,r.current)&&(e.preventDefault(),l?(d(!1),m(!0)):d(!0))},children:[h,(0,v.jsx)(P.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,v.jsx)("div",{className:O.collapsibleContent,children:t})})]})}var U={details:"details_Zfkn"};const $="alert alert--info";function G(e){let{...n}=e;return(0,v.jsx)(q,{...n,className:(0,c.Z)($,U.details,n.className)})}function J(e){const n=s.Children.toArray(e.children),t=n.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,v.jsx)(v.Fragment,{children:n.filter((e=>e!==t))});return(0,v.jsx)(G,{...e,summary:t,children:o})}var Q=t(4974);function X(e){return(0,v.jsx)(Q.Z,{...e})}var Y={containsTaskList:"containsTaskList_FA68"};function K(e){if(void 0!==e)return(0,c.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&Y.containsTaskList)}var ee={img:"img_hkHc"};var ne=t(5085);var te={Head:a.Z,details:J,Details:J,code:function(e){return s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))?(0,v.jsx)("code",{...e}):(0,v.jsx)(W,{...e})},a:function(e){return(0,v.jsx)(V.Z,{...e})},pre:function(e){return(0,v.jsx)(v.Fragment,{children:e.children})},ul:function(e){return(0,v.jsx)("ul",{...e,className:K(e.className)})},img:function(e){return(0,v.jsx)("img",{loading:"lazy",...e,className:(n=e.className,(0,c.Z)(n,ee.img))});var n},h1:e=>(0,v.jsx)(X,{as:"h1",...e}),h2:e=>(0,v.jsx)(X,{as:"h2",...e}),h3:e=>(0,v.jsx)(X,{as:"h3",...e}),h4:e=>(0,v.jsx)(X,{as:"h4",...e}),h5:e=>(0,v.jsx)(X,{as:"h5",...e}),h6:e=>(0,v.jsx)(X,{as:"h6",...e}),admonition:ne.Z,mermaid:()=>null};function se(e){let{children:n}=e;return(0,v.jsx)(o.Z,{components:te,children:n})}},1554:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});t(3900);var s=t(7515),o=t(3707),a=t(966);function i(e){const{permalink:n,title:t,subLabel:i,isNext:c}=e;return(0,a.jsxs)(o.Z,{className:(0,s.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[i&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,a.jsx)("div",{className:"pagination-nav__label",children:t})]})}},1254:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});t(3900);var s=t(7515),o=t(3707),a={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},i=t(966);function c(e){let{permalink:n,label:t,count:c}=e;return(0,i.jsxs)(o.Z,{href:n,className:(0,s.Z)(a.tag,c?a.tagWithCount:a.tagRegular),children:[t,c&&(0,i.jsx)("span",{children:c})]})}},3714:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});t(3900);var s=t(7515),o=t(1207),a=t(1254),i={tags:"tags_e_7e",tag:"tag_YEUc"},c=t(966);function r(e){let{tags:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("b",{children:(0,c.jsx)(o.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,c.jsx)("ul",{className:(0,s.Z)(i.tags,"padding--none","margin-left--sm"),children:n.map((e=>{let{label:n,permalink:t}=e;return(0,c.jsx)("li",{className:i.tag,children:(0,c.jsx)(a.Z,{label:n,permalink:t})},t)}))})]})}},8485:function(e,n){function t(e){let n,t=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))t.push(parseInt(s,10));else if(n=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,a]=n;if(s&&a){s=parseInt(s),a=parseInt(a);const e=s<a?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(a+=e);for(let n=s;n!==a;n+=e)t.push(n)}}return t}n.default=t,e.exports=t},1015:function(e,n,t){"use strict";t.d(n,{Z:function(){return c},a:function(){return i}});var s=t(3900);const o={},a=s.createContext(o);function i(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/269baefd.cc35dd8b.js b/assets/js/269baefd.cc35dd8b.js new file mode 100644 index 00000000..979bc3c4 --- /dev/null +++ b/assets/js/269baefd.cc35dd8b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8611],{1112:function(n,e,t){t.r(e),t.d(e,{Highlight:function(){return d},assets:function(){return u},contentTitle:function(){return c},default:function(){return m},frontMatter:function(){return s},metadata:function(){return i},toc:function(){return a}});var r=t(966),o=t(1015);const s={id:"mdx",title:"Powered by MDX"},c=void 0,i={id:"mdx",title:"Powered by MDX",description:"You can write JSX and use React components within your Markdown thanks to MDX.",source:"@site/versioned_docs/version-1.0.0/mdx.mdx",sourceDirName:".",slug:"/mdx",permalink:"/docusaurus-search-local/docs/mdx",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/mdx.mdx",tags:[],version:"1.0.0",frontMatter:{id:"mdx",title:"Powered by MDX"},sidebar:"someSidebar",previous:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/docs/doc3"}},u={},a=[],d=({children:n,color:e})=>{const t={span:"span",...(0,o.a)()};return(0,r.jsx)(t.span,{style:{backgroundColor:e,borderRadius:"2px",color:"#fff",padding:"0.2rem"},children:n})};function l(n){const e={a:"a",em:"em",p:"p",strong:"strong",...(0,o.a)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["You can write JSX and use React components within your Markdown thanks to ",(0,r.jsx)(e.a,{href:"https://mdxjs.com/",children:"MDX"}),"."]}),"\n","\n",(0,r.jsxs)(e.p,{children:[(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," and ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," are my favorite colors."]}),"\n",(0,r.jsxs)(e.p,{children:["I can write ",(0,r.jsx)(e.strong,{children:"Markdown"})," alongside my ",(0,r.jsx)(e.em,{children:"JSX"}),"!"]})]})}function m(n={}){const{wrapper:e}={...(0,o.a)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(l,{...n})}):l(n)}},1015:function(n,e,t){t.d(e,{Z:function(){return i},a:function(){return c}});var r=t(3900);const o={},s=r.createContext(o);function c(n){const e=r.useContext(s);return r.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:c(n.components),r.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/2868cdab.98cddbb5.js b/assets/js/2868cdab.98cddbb5.js new file mode 100644 index 00000000..758d433e --- /dev/null +++ b/assets/js/2868cdab.98cddbb5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4061],{6586:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"May 30, 2019",tags:[{label:"facebook",permalink:"/docusaurus-search-local/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/337aaa52.d3510490.js b/assets/js/337aaa52.d3510490.js new file mode 100644 index 00000000..0303581b --- /dev/null +++ b/assets/js/337aaa52.d3510490.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4854],{4937:function(t,n,e){e.r(n),e.d(n,{assets:function(){return c},contentTitle:function(){return r},default:function(){return a},frontMatter:function(){return i},metadata:function(){return u},toc:function(){return d}});var s=e(966),o=e(1015);const i={unlisted:!0},r="Unlisted Post",u={id:"unlisted-post",title:"Unlisted Post",description:'This unlisted blog post should be "hidden" in production, but remain accessible.',source:"@site/docs/unlisted-post.md",sourceDirName:".",slug:"/unlisted-post",permalink:"/docusaurus-search-local/docs/next/unlisted-post",draft:!1,unlisted:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/unlisted-post.md",tags:[],version:"current",frontMatter:{unlisted:!0},sidebar:"tutorialSidebar"},c={},d=[];function l(t){const n={h1:"h1",p:"p",...(0,o.a)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"unlisted-post",children:"Unlisted Post"}),"\n",(0,s.jsx)(n.p,{children:'This unlisted blog post should be "hidden" in production, but remain accessible.'}),"\n",(0,s.jsx)(n.p,{children:"It is filtered from the sidebar, sitemap, SEO indexation..."})]})}function a(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,s.jsx)(n,{...t,children:(0,s.jsx)(l,{...t})}):l(t)}},1015:function(t,n,e){e.d(n,{Z:function(){return u},a:function(){return r}});var s=e(3900);const o={},i=s.createContext(o);function r(t){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function u(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:r(t.components),s.createElement(i.Provider,{value:n},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/3570154c.f773715e.js b/assets/js/3570154c.f773715e.js new file mode 100644 index 00000000..32b8ddff --- /dev/null +++ b/assets/js/3570154c.f773715e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3707],{98:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return n},default:function(){return h},frontMatter:function(){return a},metadata:function(){return s},toc:function(){return c}});var u=o(966),r=o(1015);const a={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},n=void 0,s={permalink:"/docusaurus-search-local/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"May 29, 2019",tags:[{label:"hello",permalink:"/docusaurus-search-local/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/blog/hola"}},l={authorsImageUrls:[void 0]},c=[];function i(t){const e={a:"a",p:"p",strong:"strong",...(0,r.a)(),...t.components};return(0,u.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,u.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,u.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]})}function h(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(i,{...t})}):i(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return s},a:function(){return n}});var u=o(3900);const r={},a=u.createContext(r);function n(t){const e=u.useContext(a);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:n(t.components),u.createElement(a.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/3720c009.696eeede.js b/assets/js/3720c009.696eeede.js new file mode 100644 index 00000000..a015812a --- /dev/null +++ b/assets/js/3720c009.696eeede.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3751],{3821:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});n(3900);var a=n(7515),s=n(4181),r=n(8512),l=n(2678),i=n(5123),c=n(3806),u=n(4974),o=n(966);function g(t){let{title:e}=t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.d,{title:e}),(0,o.jsx)(c.Z,{tag:"doc_tags_list"})]})}function h(t){let{tags:e,title:n}=t;return(0,o.jsx)(s.FG,{className:(0,a.Z)(r.k.page.docsTagsListPage),children:(0,o.jsx)("div",{className:"container margin-vert--lg",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,o.jsx)(u.Z,{as:"h1",children:n}),(0,o.jsx)(i.Z,{tags:e})]})})})})}function d(t){const e=(0,l.M)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...t,title:e}),(0,o.jsx)(h,{...t,title:e})]})}},1254:function(t,e,n){n.d(e,{Z:function(){return i}});n(3900);var a=n(7515),s=n(3707),r={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},l=n(966);function i(t){let{permalink:e,label:n,count:i}=t;return(0,l.jsxs)(s.Z,{href:e,className:(0,a.Z)(r.tag,i?r.tagWithCount:r.tagRegular),children:[n,i&&(0,l.jsx)("span",{children:i})]})}},5123:function(t,e,n){n.d(e,{Z:function(){return u}});n(3900);var a=n(2678),s=n(1254),r=n(4974),l={tag:"tag_BmfI"},i=n(966);function c(t){let{letterEntry:e}=t;return(0,i.jsxs)("article",{children:[(0,i.jsx)(r.Z,{as:"h2",id:e.letter,children:e.letter}),(0,i.jsx)("ul",{className:"padding--none",children:e.tags.map((t=>(0,i.jsx)("li",{className:l.tag,children:(0,i.jsx)(s.Z,{...t})},t.permalink)))}),(0,i.jsx)("hr",{})]})}function u(t){let{tags:e}=t;const n=(0,a.P)(e);return(0,i.jsx)("section",{className:"margin-vert--lg",children:n.map((t=>(0,i.jsx)(c,{letterEntry:t},t.letter)))})}},2678:function(t,e,n){n.d(e,{M:function(){return s},P:function(){return r}});var a=n(1207);const s=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function r(t){const e={};return Object.values(t).forEach((t=>{const n=function(t){return t[0].toUpperCase()}(t.label);null!=e[n]||(e[n]=[]),e[n].push(t)})),Object.entries(e).sort(((t,e)=>{let[n]=t,[a]=e;return n.localeCompare(a)})).map((t=>{let[e,n]=t;return{letter:e,tags:n.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}}}]); \ No newline at end of file diff --git a/assets/js/3836748f.42d86f30.js b/assets/js/3836748f.42d86f30.js new file mode 100644 index 00000000..d9707245 --- /dev/null +++ b/assets/js/3836748f.42d86f30.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7157],{473:function(s){s.exports=JSON.parse('{"label":"Keywords","permalink":"/docusaurus-search-local/docs/next/tags/keywords","allTagsPath":"/docusaurus-search-local/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/3a35335b.63019cfe.js b/assets/js/3a35335b.63019cfe.js new file mode 100644 index 00000000..8f4f7bd8 --- /dev/null +++ b/assets/js/3a35335b.63019cfe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5322],{9679:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"June 15, 2019",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/4ef90ec5.526b61e6.js b/assets/js/4ef90ec5.526b61e6.js new file mode 100644 index 00000000..51d34d8d --- /dev/null +++ b/assets/js/4ef90ec5.526b61e6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3977],{7505:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/blog/tags/hola","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/5130.49147aff.js b/assets/js/5130.49147aff.js new file mode 100644 index 00000000..8fe55b7f --- /dev/null +++ b/assets/js/5130.49147aff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5130],{1809:function(e,t,r){r.d(t,{Z:function(){return j}});var s=r(3900),n=r(7515),a=r(2786),l=r(879),i=r(3707),o=r(1207),c=r(382),m=r(4064);function u(e){const{pathname:t}=(0,c.TH)();return(0,s.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var d={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},h=r(966);function g(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,n.Z)(d.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,n.Z)(d.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,n.Z)(d.sidebarItemList,"clean-list"),children:r.map((e=>(0,h.jsx)("li",{className:d.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:d.sidebarItemLink,activeClassName:d.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=r(3943);function x(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:r.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function f(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const r=(0,l.i)();return null!=t&&t.items.length?"mobile"===r?(0,h.jsx)(f,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function j(e){const{sidebar:t,toc:r,children:s,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(a.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,n.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:s}),r&&(0,h.jsx)("div",{className:"col col--2",children:r})]})})})}},87:function(e,t,r){r.d(t,{Z:function(){return y}});r(3900);var s=r(7515),n=r(7138),a=r(3373),l=r(966);function i(e){var t,r;let{children:s,className:i}=e;const{frontMatter:o,assets:c,metadata:{description:m}}=(0,n.C)(),{withBaseUrl:u}=(0,a.C)(),d=null!=(t=c.image)?t:o.image,h=null!=(r=o.keywords)?r:[];return(0,l.jsxs)("article",{className:i,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[m&&(0,l.jsx)("meta",{itemProp:"description",content:m}),d&&(0,l.jsx)("link",{itemProp:"image",href:u(d,{absolute:!0})}),h.length>0&&(0,l.jsx)("meta",{itemProp:"keywords",content:h.join(",")}),s]})}var o=r(3707),c={title:"title_LFnH"};function m(e){let{className:t}=e;const{metadata:r,isBlogPostPage:a}=(0,n.C)(),{permalink:i,title:m}=r,u=a?"h1":"h2";return(0,l.jsx)(u,{className:(0,s.Z)(c.title,t),itemProp:"headline",children:a?m:(0,l.jsx)(o.Z,{itemProp:"url",to:i,children:m})})}var u=r(1207),d=r(960),h={container:"container_W46p"};function g(e){let{readingTime:t}=e;const r=function(){const{selectMessage:e}=(0,d.c)();return t=>{const r=Math.ceil(t);return e(r,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return(0,l.jsx)(l.Fragment,{children:r(t)})}function p(e){let{date:t,formattedDate:r}=e;return(0,l.jsx)("time",{dateTime:t,itemProp:"datePublished",children:r})}function x(){return(0,l.jsx)(l.Fragment,{children:" \xb7 "})}function f(e){let{className:t}=e;const{metadata:r}=(0,n.C)(),{date:a,formattedDate:i,readingTime:o}=r;return(0,l.jsxs)("div",{className:(0,s.Z)(h.container,"margin-vert--md",t),children:[(0,l.jsx)(p,{date:a,formattedDate:i}),void 0!==o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(x,{}),(0,l.jsx)(g,{readingTime:o})]})]})}function b(e){return e.href?(0,l.jsx)(o.Z,{...e}):(0,l.jsx)(l.Fragment,{children:e.children})}function j(e){let{author:t,className:r}=e;const{name:n,title:a,url:i,imageURL:o,email:c}=t,m=i||c&&"mailto:"+c||void 0;return(0,l.jsxs)("div",{className:(0,s.Z)("avatar margin-bottom--sm",r),children:[o&&(0,l.jsx)(b,{href:m,className:"avatar__photo-link",children:(0,l.jsx)("img",{className:"avatar__photo",src:o,alt:n,itemProp:"image"})}),n&&(0,l.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,l.jsx)("div",{className:"avatar__name",children:(0,l.jsx)(b,{href:m,itemProp:"url",children:(0,l.jsx)("span",{itemProp:"name",children:n})})}),a&&(0,l.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:a})]})]})}var v={authorCol:"authorCol_L2ln",imageOnlyAuthorRow:"imageOnlyAuthorRow_pXm5",imageOnlyAuthorCol:"imageOnlyAuthorCol_IIuY"};function P(e){let{className:t}=e;const{metadata:{authors:r},assets:a}=(0,n.C)();if(0===r.length)return null;const i=r.every((e=>{let{name:t}=e;return!t}));return(0,l.jsx)("div",{className:(0,s.Z)("margin-top--md margin-bottom--sm",i?v.imageOnlyAuthorRow:"row",t),children:r.map(((e,t)=>{var r;return(0,l.jsx)("div",{className:(0,s.Z)(!i&&"col col--6",i?v.imageOnlyAuthorCol:v.authorCol),children:(0,l.jsx)(j,{author:{...e,imageURL:null!=(r=a.authorsImageUrls[t])?r:e.imageURL}})},t)}))})}function N(){return(0,l.jsxs)("header",{children:[(0,l.jsx)(m,{}),(0,l.jsx)(f,{}),(0,l.jsx)(P,{})]})}var _=r(181),k=r(4265);function Z(e){let{children:t,className:r}=e;const{isBlogPostPage:a}=(0,n.C)();return(0,l.jsx)("div",{id:a?_.blogPostContainerID:void 0,className:(0,s.Z)("markdown",r),itemProp:"articleBody",children:(0,l.jsx)(k.Z,{children:t})})}var I=r(8427),w=r(3714);function C(){return(0,l.jsx)("b",{children:(0,l.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function T(e){const{blogPostTitle:t,...r}=e;return(0,l.jsx)(o.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...r,children:(0,l.jsx)(C,{})})}var F={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_DBmw"};function L(){const{metadata:e,isBlogPostPage:t}=(0,n.C)(),{tags:r,title:a,editUrl:i,hasTruncateMarker:o}=e,c=!t&&o,m=r.length>0;return m||c||i?(0,l.jsxs)("footer",{className:(0,s.Z)("row docusaurus-mt-lg",t&&F.blogPostFooterDetailsFull),children:[m&&(0,l.jsx)("div",{className:(0,s.Z)("col",{"col--9":c}),children:(0,l.jsx)(w.Z,{tags:r})}),t&&i&&(0,l.jsx)("div",{className:"col margin-top--sm",children:(0,l.jsx)(I.Z,{editUrl:i})}),c&&(0,l.jsx)("div",{className:(0,s.Z)("col text--right",{"col--3":m}),children:(0,l.jsx)(T,{blogPostTitle:a,to:e.permalink})})]}):null}function y(e){let{children:t,className:r}=e;const a=function(){const{isBlogPostPage:e}=(0,n.C)();return e?void 0:"margin-bottom--xl"}();return(0,l.jsxs)(i,{className:(0,s.Z)(a,r),children:[(0,l.jsx)(N,{}),(0,l.jsx)(Z,{children:t}),(0,l.jsx)(L,{})]})}},7138:function(e,t,r){r.d(t,{C:function(){return o},n:function(){return i}});var s=r(3900),n=r(5158),a=r(966);const l=s.createContext(null);function i(e){let{children:t,content:r,isBlogPostPage:n=!1}=e;const i=function(e){let{content:t,isBlogPostPage:r}=e;return(0,s.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:r})),[t,r])}({content:r,isBlogPostPage:n});return(0,a.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,s.useContext)(l);if(null===e)throw new n.i6("BlogPostProvider");return e}},960:function(e,t,r){r.d(t,{c:function(){return c}});var s=r(3900),n=r(2442);const a=["zero","one","two","few","many","other"];function l(e){return a.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:l(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 the default (English) implementation.\nError: '+t.message+"\n"),i}}),[e])}function c(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const n=r.select(t),a=r.pluralForms.indexOf(n);return s[Math.min(a,s.length-1)]}(r,t,e)}}}}]); \ No newline at end of file diff --git a/assets/js/51ff1c5c.33a34467.js b/assets/js/51ff1c5c.33a34467.js new file mode 100644 index 00000000..aea51d98 --- /dev/null +++ b/assets/js/51ff1c5c.33a34467.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8870],{141:function(t){t.exports=JSON.parse('{"label":"Front matter","permalink":"/docusaurus-search-local/docs/next/tags/front-matter","allTagsPath":"/docusaurus-search-local/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/533a09ca.dc937638.js b/assets/js/533a09ca.dc937638.js new file mode 100644 index 00000000..ee4f0422 --- /dev/null +++ b/assets/js/533a09ca.dc937638.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4607],{3089:function(e,t,s){s.r(t),s.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var r=s(966),n=s(1015);const o={sidebar_position:3},a="Create a Blog Post",i={id:"tutorial-basics/create-a-blog-post",title:"Create a Blog Post",description:"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...",source:"@site/docs/tutorial-basics/create-a-blog-post.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-blog-post",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-blog-post.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Create a Document",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document"},next:{title:"Markdown Features",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features"}},c={},u=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"}),"\n",(0,r.jsxs)(t.p,{children:["Docusaurus creates a ",(0,r.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,r.jsx)(t.strong,{children:"blog index page"}),", a ",(0,r.jsx)(t.strong,{children:"tag system"}),", an ",(0,r.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,r.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,r.jsxs)(t.p,{children:["Create a file at ",(0,r.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much you like.\n"})}),"\n",(0,r.jsxs)(t.p,{children:["A new blog post is now available at ",(0,r.jsx)(t.code,{children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1015:function(e,t,s){s.d(t,{Z:function(){return i},a:function(){return a}});var r=s(3900);const n={},o=r.createContext(n);function a(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/55526312.0222eb50.js b/assets/js/55526312.0222eb50.js new file mode 100644 index 00000000..89006c45 --- /dev/null +++ b/assets/js/55526312.0222eb50.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3408],{3321:function(e,t,n){n.r(t),n.d(t,{assets:function(){return u},contentTitle:function(){return s},default:function(){return l},frontMatter:function(){return c},metadata:function(){return i},toc:function(){return a}});var o=n(966),r=n(1015);const c={id:"doc2",title:"Document Number 2"},s=void 0,i={id:"doc2",title:"Document Number 2",description:"This is a link to another document. This is a link to an external page.",source:"@site/versioned_docs/version-1.0.0/doc2.md",sourceDirName:".",slug:"/doc2",permalink:"/docusaurus-search-local/docs/doc2",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc2.md",tags:[],version:"1.0.0",frontMatter:{id:"doc2",title:"Document Number 2"},sidebar:"someSidebar",previous:{title:"Style Guide",permalink:"/docusaurus-search-local/docs/"},next:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/docs/doc3"}},u={},a=[];function d(e){const t={a:"a",p:"p",...(0,r.a)(),...e.components};return(0,o.jsxs)(t.p,{children:["This is a link to ",(0,o.jsx)(t.a,{href:"/docusaurus-search-local/docs/doc3",children:"another document."})," This is a link to an ",(0,o.jsx)(t.a,{href:"http://www.example.com/",children:"external page."})]})}function l(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return s}});var o=n(3900);const r={},c=o.createContext(r);function s(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/55960ee5.1acddca7.js b/assets/js/55960ee5.1acddca7.js new file mode 100644 index 00000000..78f3dcf5 --- /dev/null +++ b/assets/js/55960ee5.1acddca7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4121],{8070:function(e){e.exports=JSON.parse('[{"label":"Test","permalink":"/docusaurus-search-local/docs/next/tags/test","count":1},{"label":"Keywords","permalink":"/docusaurus-search-local/docs/next/tags/keywords","count":1},{"label":"Front matter","permalink":"/docusaurus-search-local/docs/next/tags/front-matter","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/576345ff.3979271c.js b/assets/js/576345ff.3979271c.js new file mode 100644 index 00000000..74c9f551 --- /dev/null +++ b/assets/js/576345ff.3979271c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2449],{3973:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/blog/tags/facebook","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/5920.83d9a30f.js b/assets/js/5920.83d9a30f.js new file mode 100644 index 00000000..855d8373 --- /dev/null +++ b/assets/js/5920.83d9a30f.js @@ -0,0 +1,2 @@ +/*! For license information please see 5920.83d9a30f.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5920],{5920:function(t,e,n){"use strict";t.exports=n(1251)},3765:function(t,e,n){"use strict";var i=n(4632),s={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(s.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&i.isMsie()<=7&&i.mixin(s.input,{marginTop:"-1px"}),t.exports=s},100:function(t,e,n){"use strict";var i="aaDataset",s="aaValue",r="aaDatum",o=n(4632),a=n(9446),u=n(9928),c=n(3765),l=n(1649);function h(t){var e;(t=t||{}).templates=t.templates||{},t.source||o.error("missing source"),t.name&&(e=t.name,!/^[_a-zA-Z0-9-]+$/.test(e))&&o.error("invalid dataset name: "+t.name),this.query=null,this._isEmpty=!0,this.highlight=!!t.highlight,this.name=void 0===t.name||null===t.name?o.getUniqueId():t.name,this.source=t.source,this.displayFn=function(t){return t=t||"value",o.isFunction(t)?t:e;function e(e){return e[t]}}(t.display||t.displayKey),this.debounce=t.debounce,this.cache=!1!==t.cache,this.templates=function(t,e){return{empty:t.empty&&o.templatify(t.empty),header:t.header&&o.templatify(t.header),footer:t.footer&&o.templatify(t.footer),suggestion:t.suggestion||n};function n(t){return"<p>"+e(t)+"</p>"}}(t.templates,this.displayFn),this.css=o.mixin({},c,t.appendTo?c.appendTo:{}),this.cssClasses=t.cssClasses=o.mixin({},c.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var n=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=t.$menu&&t.$menu.find(n+"-"+this.name).length>0?a.element(t.$menu.find(n+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=t.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(t){return a.element(t).data(i)},h.extractValue=function(t){return a.element(t).data(s)},h.extractDatum=function(t){var e=a.element(t).data(r);return"string"==typeof e&&(e=JSON.parse(e)),e},o.mixin(h.prototype,l,{_render:function(t,e){if(this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=e&&e.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!0}].concat(e),c.templates.empty.apply(this,e)}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html(function(){var t,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return t=a.element(p).css(this.css.suggestions),n=o.map(e,f),t.append.apply(t,n),t;function f(t){var e,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(e=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[t].concat(l)))).data(i,c.name),e.data(s,c.displayFn(t)||void 0),e.data(r,JSON.stringify(t)),e.children().each((function(){a.element(this).css(h.css.suggestionChild)})),e}}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(e&&!Array.isArray(e))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",t)}function h(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.header.apply(this,e)}function p(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.footer.apply(this,e)}},getRoot:function(){return this.$el},update:function(t){function e(e){if(!this.canceled&&t===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(t,e,n),this._render.apply(this,[t,e].concat(n))}}if(this.query=t,this.canceled=!1,this.shouldFetchFromCache(t))e.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(t,e.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){n.debounceTimeout=null,i()}),this.debounce)}else i()}},cacheSuggestions:function(t,e,n){this.cachedQuery=t,this.cachedSuggestions=e,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(t){return this.cache&&this.cachedQuery===t&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),t.exports=h},4410:function(t,e,n){"use strict";var i=n(4632),s=n(9446),r=n(1649),o=n(100),a=n(3765);function u(t){var e,n,r,o=this;(t=t||{}).menu||i.error("menu is required"),i.isArray(t.datasets)||i.isObject(t.datasets)||i.error("1 or more datasets required"),t.datasets||i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=t.minLength||0,this.templates={},this.appendTo=t.appendTo||!1,this.css=i.mixin({},a,t.appendTo?a.appendTo:{}),this.cssClasses=t.cssClasses=i.mixin({},a.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),e=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),r=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=s.element(t.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,r).on("click.aa",c,e),this.$container=t.appendTo?t.wrapper:this.$menu,t.templates&&t.templates.header&&(this.templates.header=i.templatify(t.templates.header),this.$menu.prepend(this.templates.header())),t.templates&&t.templates.empty&&(this.templates.empty=i.templatify(t.templates.empty),this.$empty=s.element('<div class="'+i.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(t.datasets,(function(e){return function(t,e,n){return new u.Dataset(i.mixin({$menu:t,cssClasses:n},e))}(o.$menu,e,t.cssClasses)})),i.each(this.datasets,(function(t){var e=t.getRoot();e&&0===e.parent().length&&o.$menu.append(e),t.onSync("rendered",o._onRendered,o)})),t.templates&&t.templates.footer&&(this.templates.footer=i.templatify(t.templates.footer),this.$menu.append(this.templates.footer()));var l=this;s.element(window).resize((function(){l._redraw()}))}i.mixin(u.prototype,r,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",s.element(t.currentTarget))},_onSuggestionMouseEnter:function(t){var e=s.element(t.currentTarget);if(!e.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout((function(){n._setCursor(e,!1)}),0)}},_onSuggestionMouseLeave:function(t){if(t.relatedTarget&&s.element(t.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(t,e){if(this.isEmpty=i.every(this.datasets,(function(t){return t.isEmpty()})),this.isEmpty)if(e.length>=this.minLength&&this.trigger("empty"),this.$empty)if(e.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else i.any(this.datasets,(function(t){return t.templates&&t.templates.empty}))?e.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),e.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(t,e){t.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",e)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(t){var e,n,i,s;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(s=e.eq(i),!0),this._ensureVisible(s)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,s;n=(e=t.position().top)+t.height()+parseInt(t.css("margin-top"),10)+parseInt(t.css("margin-bottom"),10),i=this.$menu.scrollTop(),s=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),e<0?this.$menu.scrollTop(i+e):s<n&&this.$menu.scrollTop(i+(n-s))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:o.extractDatum(t),value:o.extractValue(t),datasetName:o.extractDatasetName(t)}),e},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(t){i.each(this.datasets,(function(e){e.update(t)}))},empty:function(){i.each(this.datasets,(function(t){t.clear()})),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,i.each(this.datasets,(function(t){t.destroy()}))}}),u.Dataset=o,t.exports=u},8142:function(t,e,n){"use strict";var i=n(4632),s=n(9446);function r(t){t&&t.el||i.error("EventBus initialized without el"),this.$el=s.element(t.el)}i.mixin(r.prototype,{trigger:function(t,e,n,s){var r=i.Event("autocomplete:"+t);return this.$el.trigger(r,[e,n,s]),r}}),t.exports=r},1649:function(t,e,n){"use strict";var i=n(5818),s=/\s+/;function r(t,e,n,i){var r;if(!n)return this;for(e=e.split(s),n=i?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};r=e.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][t].push(n);return this}function o(t,e,n){return function(){for(var i,s=0,r=t.length;!i&&s<r;s+=1)i=!1===t[s].apply(e,n);return!i}}t.exports={onSync:function(t,e,n){return r.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return r.call(this,"async",t,e,n)},off:function(t){var e;if(!this._callbacks)return this;t=t.split(s);for(;e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,r,a,u;if(!this._callbacks)return this;t=t.split(s),r=[].slice.call(arguments,1);for(;(e=t.shift())&&(n=this._callbacks[e]);)a=o(n.sync,this,[e].concat(r)),u=o(n.async,this,[e].concat(r)),a()&&i(u);return this}}},9928:function(t){"use strict";t.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},3236:function(t,e,n){"use strict";var i;i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var s=n(4632),r=n(9446),o=n(1649);function a(t){var e,n,o,a,u,c=this;(t=t||{}).input||s.error("input is missing"),e=s.bind(this._onBlur,this),n=s.bind(this._onFocus,this),o=s.bind(this._onKeydown,this),a=s.bind(this._onInput,this),this.$hint=r.element(t.hint),this.$input=r.element(t.input).on("blur.aa",e).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=s.noop),s.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",(function(t){i[t.which||t.keyCode]||s.defer(s.bind(c._onInput,c,t))})):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,r.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}function u(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}a.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},s.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=i[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,s;switch(t){case"tab":i=this.getHint(),s=this.getInputValue(),n=i&&i!==s&&!u(e);break;case"up":case"down":n=!u(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;if("tab"===t)n=!u(e);else n=!0;return n},_checkInputValue:function(){var t,e,n,i,s;t=this.getInputValue(),i=t,s=this.query,n=!(!(e=a.normalizeQuery(i)===a.normalizeQuery(s))||!this.query)&&this.query.length!==t.length,this.query=t,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){void 0===t&&(t=this.query),this.$input.val(t),e?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(t){this.$input.attr("aria-activedescendant",t)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),""!==t&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,e,n;return t=this.$input.val().length,e=this.$input[0].selectionStart,s.isNumber(e)?e===t:!document.selection||((n=document.selection.createRange()).moveStart("character",-t),t===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),t.exports=a},9487:function(t,e,n){"use strict";var i="aaAttrs",s=n(4632),r=n(9446),o=n(8142),a=n(3236),u=n(4410),c=n(9928),l=n(3765);function h(t){var e,n;if((t=t||{}).input||s.error("missing input"),this.isActivated=!1,this.debug=!!t.debug,this.autoselect=!!t.autoselect,this.autoselectOnBlur=!!t.autoselectOnBlur,this.openOnFocus=!!t.openOnFocus,this.minLength=s.isNumber(t.minLength)?t.minLength:1,this.autoWidth=void 0===t.autoWidth||!!t.autoWidth,this.clearOnSelected=!!t.clearOnSelected,this.tabAutocomplete=void 0===t.tabAutocomplete||!!t.tabAutocomplete,t.hint=!!t.hint,t.hint&&t.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=t.css=s.mixin({},l,t.appendTo?l.appendTo:{}),this.cssClasses=t.cssClasses=s.mixin({},l.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix=s.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=t.listboxId=[this.cssClasses.root,"listbox",s.getUniqueId()].join("-");var a=function(t){var e,n,o,a;e=r.element(t.input),n=r.element(c.wrapper.replace("%ROOT%",t.cssClasses.root)).css(t.css.wrapper),t.appendTo||"block"!==e.css("display")||"table"!==e.parent().css("display")||n.css("display","table-cell");var u=c.dropdown.replace("%PREFIX%",t.cssClasses.prefix).replace("%DROPDOWN_MENU%",t.cssClasses.dropdownMenu);o=r.element(u).css(t.css.dropdown).attr({role:"listbox",id:t.listboxId}),t.templates&&t.templates.dropdownMenu&&o.html(s.templatify(t.templates.dropdownMenu)());a=e.clone().css(t.css.hint).css(function(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}(e)),a.val("").addClass(s.className(t.cssClasses.prefix,t.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData();e.data(i,{"aria-autocomplete":e.attr("aria-autocomplete"),"aria-expanded":e.attr("aria-expanded"),"aria-owns":e.attr("aria-owns"),autocomplete:e.attr("autocomplete"),dir:e.attr("dir"),role:e.attr("role"),spellcheck:e.attr("spellcheck"),style:e.attr("style"),type:e.attr("type")}),e.addClass(s.className(t.cssClasses.prefix,t.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":t.datasets&&t.datasets[0]&&t.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":t.ariaLabel,"aria-owns":t.listboxId}).css(t.hint?t.css.input:t.css.inputWithNoHint);try{e.attr("dir")||e.attr("dir","auto")}catch(l){}return n=t.appendTo?n.appendTo(r.element(t.appendTo).eq(0)).eq(0):e.wrap(n).parent(),n.prepend(t.hint?a:null).append(o),{wrapper:n,input:e,hint:a,menu:o}}(t);this.$node=a.wrapper;var u=this.$input=a.input;e=a.menu,n=a.hint,t.dropdownMenuContainer&&r.element(t.dropdownMenuContainer).css("position","relative").append(e.css("top","0")),u.on("blur.aa",(function(t){var n=document.activeElement;s.isMsie()&&(e[0]===n||e[0].contains(n))&&(t.preventDefault(),t.stopImmediatePropagation(),s.defer((function(){u.focus()})))})),e.on("mousedown.aa",(function(t){t.preventDefault()})),this.eventBus=t.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:t.appendTo,wrapper:this.$node,menu:e,datasets:t.datasets,templates:t.templates,cssClasses:t.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(t),this._setLanguageDirection()}s.mixin(h.prototype,{_bindKeyboardShortcuts:function(t){if(t.keyboardShortcuts){var e=this.$input,n=[];s.each(t.keyboardShortcuts,(function(t){"string"==typeof t&&(t=t.toUpperCase().charCodeAt(0)),n.push(t)})),r.element(document).keydown((function(t){var i=t.target||t.srcElement,s=i.tagName;if(!i.isContentEditable&&"INPUT"!==s&&"SELECT"!==s&&"TEXTAREA"!==s){var r=t.which||t.keyCode;-1!==n.indexOf(r)&&(e.focus(),t.stopPropagation(),t.preventDefault())}}))}},_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(t,e){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(e&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var t=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",t.width+"px");var e=this.$node[0].getBoundingClientRect(),n=t.bottom-e.top;this.$node.css("top",n+"px");var i=t.left-e.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var t=this.input.getQuery();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var t,e;t=this.dropdown.getDatumForCursor(),e=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&t?this._select(t,n):this.autoselectOnBlur&&e?this._select(e,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var s={selectionMethod:"enterKey"};n?(this._select(n,s),e.preventDefault()):this.autoselect&&i&&(this._select(i,s),e.preventDefault())},_onTabKeyed:function(t,e){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),e.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t=this.input.getLanguageDirection();this.dir!==t&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,e,n,i,r;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(e=this.input.getInputValue(),n=a.normalizeQuery(e),i=s.escapeRegExChars(n),(r=new RegExp("^(?:"+i+")(.+$)","i").exec(t.value))?this.input.setHint(e+r[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,i,s;e=this.input.getHint(),n=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),e&&n!==e&&i&&((s=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(s.value),this.eventBus.trigger("autocompleted",s.raw,s.datasetName))},_select:function(t,e){void 0!==t.value&&this.input.setQuery(t.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(t.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",t.raw,t.datasetName,e).isDefaultPrevented()&&(this.dropdown.close(),s.defer(s.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var t=this.input.getInputValue();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=s.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(t,e){var n=t.find(s.className(e.prefix,e.input));s.each(n.data(i),(function(t,e){void 0===t?n.removeAttr(e):n.attr(e,t)})),n.detach().removeClass(s.className(e.prefix,e.input,!0)).insertAfter(t),n.removeData&&n.removeData(i);t.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=a,h.sources=n(3909),t.exports=h},9446:function(t){"use strict";t.exports={element:null}},5585:function(t){"use strict";t.exports=function(t){var e=t.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||t.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(e)return[e[1],e[2],e[3]]}},4632:function(t,e,n){"use strict";var i,s=n(4725),r=n(9446);function o(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(t){if(void 0===t&&(t=navigator.userAgent),/(msie|trident)/i.test(t)){var e=t.match(/(msie |rv:)(\d+(.\d+)?)/i);if(e)return e[2]}return!1},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(t){return"number"==typeof t},toStr:function(t){return null==t?"":t+""},cloneDeep:function(t){var e=this.mixin({},t),n=this;return this.each(e,(function(t,i){t&&(n.isArray(t)?e[i]=[].concat(t):n.isObject(t)&&(e[i]=n.cloneDeep(t)))})),e},error:function(t){throw new Error(t)},every:function(t,e){var n=!0;return t?(this.each(t,(function(i,s){n&&(n=e.call(null,i,s,t)&&n)})),!!n):n},any:function(t,e){var n=!1;return t?(this.each(t,(function(i,s){if(e.call(null,i,s,t))return n=!0,!1})),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(t){if(this.isFunction(t))return t;var e=r.element(t);return"SCRIPT"===e.prop("tagName")?function(){return e.text()}:function(){return String(t)}},defer:function(t){setTimeout(t,0)},noop:function(){},formatPrefix:function(t,e){return e?"":t+"-"},className:function(t,e,n){return n?t+e:"."+s(t+e,{isIdentifier:!0})},escapeHighlightedString:function(t,e,n){e=e||"<em>";var i=document.createElement("div");i.appendChild(document.createTextNode(e)),n=n||"</em>";var s=document.createElement("div");s.appendChild(document.createTextNode(n));var r=document.createElement("div");return r.appendChild(document.createTextNode(t)),r.innerHTML.replace(RegExp(o(i.innerHTML),"g"),e).replace(RegExp(o(s.innerHTML),"g"),n)}}},2701:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);var o,a,u=(o=[],a=window.Promise.resolve(),function(t,e){return function(n,s){(function(t,e){return window.Promise.resolve().then((function(){return o.length&&(a=t.search(o),o=[]),a})).then((function(t){if(t)return t.results[e]}))})(t.as,o.push({indexName:t.indexName,query:n,params:e})-1).then((function(t){t&&s(t.hits,t)})).catch((function(t){i.error(t.message)}))}});t.exports=function(t,e){var n=r(t.as._ua);if(n&&n[0]>=3&&n[1]>20){var i="autocomplete.js "+s;-1===t.as._ua.indexOf(i)&&(t.as._ua+="; "+i)}return u(t,e)}},3909:function(t,e,n){"use strict";t.exports={hits:n(2701),popularIn:n(3303)}},3303:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);t.exports=function(t,e,n,o){var a=r(t.as._ua);if(a&&a[0]>=3&&a[1]>20&&((e=e||{}).additionalUA="autocomplete.js "+s),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(t){return t[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){t.search(a,e,(function(t,a){if(t)i.error(t.message);else{if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var f=r(c.as._ua);return f&&f[0]>=3&&f[1]>20&&(e.additionalUA="autocomplete.js "+s),void c.search(u(h),p,(function(t,e){if(t)i.error(t.message);else{var n=[];if(o.includeAll){var s=o.allTitle||"All departments";n.push(i.mixin({facet:{value:s,count:e.nbHits}},i.cloneDeep(h)))}i.each(e.facets,(function(t,e){i.each(t,(function(t,s){n.push(i.mixin({facet:{facet:e,value:s,count:t}},i.cloneDeep(h)))}))}));for(var r=1;r<a.hits.length;++r)n.push(a.hits[r]);l(n,a)}}))}l([])}}))}}},1251:function(t,e,n){"use strict";var i=n(9525);n(9446).element=i;var s=n(4632);s.isArray=i.isArray,s.isFunction=i.isFunction,s.isObject=i.isPlainObject,s.bind=i.proxy,s.each=function(t,e){i.each(t,(function(t,n){return e(n,t)}))},s.map=i.map,s.mixin=i.extend,s.Event=i.Event;var r="aaAutocomplete",o=n(9487),a=n(8142);function u(t,e,n,u){n=s.isArray(n)?n:[].slice.call(arguments,2);var c=i(t).each((function(t,s){var c=i(s),l=new a({el:c}),h=u||new o({input:c,eventBus:l,dropdownMenuContainer:e.dropdownMenuContainer,hint:void 0===e.hint||!!e.hint,minLength:e.minLength,autoselect:e.autoselect,autoselectOnBlur:e.autoselectOnBlur,tabAutocomplete:e.tabAutocomplete,openOnFocus:e.openOnFocus,templates:e.templates,debug:e.debug,clearOnSelected:e.clearOnSelected,cssClasses:e.cssClasses,datasets:n,keyboardShortcuts:e.keyboardShortcuts,appendTo:e.appendTo,autoWidth:e.autoWidth,ariaLabel:e.ariaLabel||s.getAttribute("aria-label")});c.data(r,h)}));return c.autocomplete={},s.each(["open","close","getVal","setVal","destroy","getWrapper"],(function(t){c.autocomplete[t]=function(){var e,n=arguments;return c.each((function(s,o){var a=i(o).data(r);e=a[t].apply(a,n)})),e}})),c}u.sources=o.sources,u.escapeHighlightedString=s.escapeHighlightedString;var c="autocomplete"in window,l=window.autocomplete;u.noConflict=function(){return c?window.autocomplete=l:delete window.autocomplete,u},t.exports=u},5900:function(t){t.exports="0.38.1"},9525:function(t){var e;e=window,t.exports=function(t){var e,n,i=function(){var e,n,i,s,r,o,a=[],u=a.concat,c=a.filter,l=a.slice,h=t.document,p={},f={},d={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,y=/^(?:body|html)$/i,w=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],C=["after","prepend","before","append"],x=h.createElement("table"),_=h.createElement("tr"),S={tr:h.createElement("tbody"),tbody:x,thead:x,tfoot:x,td:_,th:_,"*":h.createElement("div")},E=/complete|loaded|interactive/,A=/^[\w-]*$/,$={},T=$.toString,O={},D=h.createElement("div"),N={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},k=Array.isArray||function(t){return t instanceof Array};function I(t){return null==t?String(t):$[T.call(t)]||"object"}function P(t){return"function"==I(t)}function L(t){return null!=t&&t==t.window}function M(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function F(t){return"object"==I(t)}function R(t){return F(t)&&!L(t)&&Object.getPrototypeOf(t)==Object.prototype}function q(t){var e=!!t&&"length"in t&&t.length,n=i.type(t);return"function"!=n&&!L(t)&&("array"==n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function V(t){return c.call(t,(function(t){return null!=t}))}function H(t){return t.length>0?i.fn.concat.apply([],t):t}function B(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function K(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function j(t,e){return"number"!=typeof e||d[B(t)]?e:e+"px"}function z(t){var e,n;return p[t]||(e=h.createElement(t),h.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),p[t]=n),p[t]}function U(t){return"children"in t?l.call(t.children):i.map(t.childNodes,(function(t){if(1==t.nodeType)return t}))}function Q(t,e){var n,i=t?t.length:0;for(n=0;n<i;n++)this[n]=t[n];this.length=i,this.selector=e||""}function W(t,i,s){for(n in i)s&&(R(i[n])||k(i[n]))?(R(i[n])&&!R(t[n])&&(t[n]={}),k(i[n])&&!k(t[n])&&(t[n]=[]),W(t[n],i[n],s)):i[n]!==e&&(t[n]=i[n])}function Z(t,e){return null==e?i(t):i(t).filter(e)}function X(t,e,n,i){return P(e)?e.call(t,n,i):e}function G(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function J(t,n){var i=t.className||"",s=i&&i.baseVal!==e;if(n===e)return s?i.baseVal:i;s?i.baseVal=n:t.className=n}function Y(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?i.parseJSON(t):t):t}catch(e){return t}}function tt(t,e){e(t);for(var n=0,i=t.childNodes.length;n<i;n++)tt(t.childNodes[n],e)}return O.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,s=t.parentNode,r=!s;return r&&(s=D).appendChild(t),i=~O.qsa(s,e).indexOf(t),r&&D.removeChild(t),i},r=function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},o=function(t){return c.call(t,(function(e,n){return t.indexOf(e)==n}))},O.fragment=function(t,n,s){var r,o,a;return m.test(t)&&(r=i(h.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(v,"<$1></$2>")),n===e&&(n=g.test(t)&&RegExp.$1),n in S||(n="*"),(a=S[n]).innerHTML=""+t,r=i.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),R(s)&&(o=i(r),i.each(s,(function(t,e){b.indexOf(t)>-1?o[t](e):o.attr(t,e)}))),r},O.Z=function(t,e){return new Q(t,e)},O.isZ=function(t){return t instanceof O.Z},O.init=function(t,n){var s;if(!t)return O.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&g.test(t))s=O.fragment(t,RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}else{if(P(t))return i(h).ready(t);if(O.isZ(t))return t;if(k(t))s=V(t);else if(F(t))s=[t],t=null;else if(g.test(t))s=O.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}}return O.Z(s,t)},(i=function(t,e){return O.init(t,e)}).extend=function(t){var e,n=l.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach((function(n){W(t,n,e)})),t},O.qsa=function(t,e){var n,i="#"==e[0],s=!i&&"."==e[0],r=i||s?e.slice(1):e,o=A.test(r);return t.getElementById&&o&&i?(n=t.getElementById(r))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:l.call(o&&!i&&t.getElementsByClassName?s?t.getElementsByClassName(r):t.getElementsByTagName(e):t.querySelectorAll(e))},i.contains=h.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},i.type=I,i.isFunction=P,i.isWindow=L,i.isArray=k,i.isPlainObject=R,i.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},i.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},i.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},i.camelCase=r,i.trim=function(t){return null==t?"":String.prototype.trim.call(t)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(t,e){var n,i,s,r=[];if(q(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&r.push(n);else for(s in t)null!=(n=e(t[s],s))&&r.push(n);return H(r)},i.each=function(t,e){var n,i;if(q(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},i.grep=function(t,e){return c.call(t,e)},t.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){$["[object "+e+"]"]=e.toLowerCase()})),i.fn={constructor:O.Z,length:0,forEach:a.forEach,reduce:a.reduce,push:a.push,sort:a.sort,splice:a.splice,indexOf:a.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=O.isZ(e)?e.toArray():e;return u.apply(O.isZ(this)?this.toArray():this,n)},map:function(t){return i(i.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return i(l.apply(this,arguments))},ready:function(t){return E.test(h.readyState)&&h.body?t(i):h.addEventListener("DOMContentLoaded",(function(){t(i)}),!1),this},get:function(t){return t===e?l.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(t){return a.every.call(this,(function(e,n){return!1!==t.call(e,n,e)})),this},filter:function(t){return P(t)?this.not(this.not(t)):i(c.call(this,(function(e){return O.matches(e,t)})))},add:function(t,e){return i(o(this.concat(i(t,e))))},is:function(t){return this.length>0&&O.matches(this[0],t)},not:function(t){var n=[];if(P(t)&&t.call!==e)this.each((function(e){t.call(this,e)||n.push(this)}));else{var s="string"==typeof t?this.filter(t):q(t)&&P(t.item)?l.call(t):i(t);this.forEach((function(t){s.indexOf(t)<0&&n.push(t)}))}return i(n)},has:function(t){return this.filter((function(){return F(t)?i.contains(this,t):i(this).find(t).size()}))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!F(t)?t:i(t)},last:function(){var t=this[this.length-1];return t&&!F(t)?t:i(t)},find:function(t){var e=this;return t?"object"==typeof t?i(t).filter((function(){var t=this;return a.some.call(e,(function(e){return i.contains(e,t)}))})):1==this.length?i(O.qsa(this[0],t)):this.map((function(){return O.qsa(this,t)})):i()},closest:function(t,e){var n=[],s="object"==typeof t&&i(t);return this.each((function(i,r){for(;r&&!(s?s.indexOf(r)>=0:O.matches(r,t));)r=r!==e&&!M(r)&&r.parentNode;r&&n.indexOf(r)<0&&n.push(r)})),i(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=i.map(n,(function(t){if((t=t.parentNode)&&!M(t)&&e.indexOf(t)<0)return e.push(t),t}));return Z(e,t)},parent:function(t){return Z(o(this.pluck("parentNode")),t)},children:function(t){return Z(this.map((function(){return U(this)})),t)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(t){return Z(this.map((function(t,e){return c.call(U(e.parentNode),(function(t){return t!==e}))})),t)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(t){return i.map(this,(function(e){return e[t]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=z(this.nodeName))}))},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=P(t);if(this[0]&&!e)var n=i(t).get(0),s=n.parentNode||this.length>1;return this.each((function(r){i(this).wrapAll(e?t.call(this,r):s?n.cloneNode(!0):n)}))},wrapAll:function(t){if(this[0]){var e;for(i(this[0]).before(t=i(t));(e=t.children()).length;)t=e.first();i(t).append(this)}return this},wrapInner:function(t){var e=P(t);return this.each((function(n){var s=i(this),r=s.contents(),o=e?t.call(this,n):t;r.length?r.wrapAll(o):s.append(o)}))},unwrap:function(){return this.parent().each((function(){i(this).replaceWith(i(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(t){return this.each((function(){var n=i(this);(t===e?"none"==n.css("display"):t)?n.show():n.hide()}))},prev:function(t){return i(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return i(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each((function(e){var n=this.innerHTML;i(this).empty().append(X(this,t,e,n))})):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each((function(e){var n=X(this,t,e,this.textContent);this.textContent=null==n?"":""+n})):0 in this?this.pluck("textContent").join(""):null},attr:function(t,i){var s;return"string"!=typeof t||1 in arguments?this.each((function(e){if(1===this.nodeType)if(F(t))for(n in t)G(this,n,t[n]);else G(this,t,X(this,i,e,this.getAttribute(t)))})):0 in this&&1==this[0].nodeType&&null!=(s=this[0].getAttribute(t))?s:e},removeAttr:function(t){return this.each((function(){1===this.nodeType&&t.split(" ").forEach((function(t){G(this,t)}),this)}))},prop:function(t,e){return t=N[t]||t,1 in arguments?this.each((function(n){this[t]=X(this,e,n,this[t])})):this[0]&&this[0][t]},removeProp:function(t){return t=N[t]||t,this.each((function(){delete this[t]}))},data:function(t,n){var i="data-"+t.replace(w,"-$1").toLowerCase(),s=1 in arguments?this.attr(i,n):this.attr(i);return null!==s?Y(s):e},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each((function(e){this.value=X(this,t,e,this.value)}))):this[0]&&(this[0].multiple?i(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(t){var n=i(this),s=X(this,e,t,n.offset()),r=n.offsetParent().offset(),o={top:s.top-r.top,left:s.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)}));if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+t.pageXOffset,top:n.top+t.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(t,e){if(arguments.length<2){var s=this[0];if("string"==typeof t){if(!s)return;return s.style[r(t)]||getComputedStyle(s,"").getPropertyValue(t)}if(k(t)){if(!s)return;var o={},a=getComputedStyle(s,"");return i.each(t,(function(t,e){o[e]=s.style[r(e)]||a.getPropertyValue(e)})),o}}var u="";if("string"==I(t))e||0===e?u=B(t)+":"+j(t,e):this.each((function(){this.style.removeProperty(B(t))}));else for(n in t)t[n]||0===t[n]?u+=B(n)+":"+j(n,t[n])+";":this.each((function(){this.style.removeProperty(B(n))}));return this.each((function(){this.style.cssText+=";"+u}))},index:function(t){return t?this.indexOf(i(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&a.some.call(this,(function(t){return this.test(J(t))}),K(t))},addClass:function(t){return t?this.each((function(e){if("className"in this){s=[];var n=J(this);X(this,t,e,n).split(/\s+/g).forEach((function(t){i(this).hasClass(t)||s.push(t)}),this),s.length&&J(this,n+(n?" ":"")+s.join(" "))}})):this},removeClass:function(t){return this.each((function(n){if("className"in this){if(t===e)return J(this,"");s=J(this),X(this,t,n,s).split(/\s+/g).forEach((function(t){s=s.replace(K(t)," ")})),J(this,s.trim())}}))},toggleClass:function(t,n){return t?this.each((function(s){var r=i(this);X(this,t,s,J(this)).split(/\s+/g).forEach((function(t){(n===e?!r.hasClass(t):n)?r.addClass(t):r.removeClass(t)}))})):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),s=y.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(i(t).css("margin-top"))||0,n.left-=parseFloat(i(t).css("margin-left"))||0,s.top+=parseFloat(i(e[0]).css("border-top-width"))||0,s.left+=parseFloat(i(e[0]).css("border-left-width"))||0,{top:n.top-s.top,left:n.left-s.left}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||h.body;t&&!y.test(t.nodeName)&&"static"==i(t).css("position");)t=t.offsetParent;return t}))}},i.fn.detach=i.fn.remove,["width","height"].forEach((function(t){var n=t.replace(/./,(function(t){return t[0].toUpperCase()}));i.fn[t]=function(s){var r,o=this[0];return s===e?L(o)?o["inner"+n]:M(o)?o.documentElement["scroll"+n]:(r=this.offset())&&r[t]:this.each((function(e){(o=i(this)).css(t,X(this,s,e,o[t]()))}))}})),C.forEach((function(n,s){var r=s%2;i.fn[n]=function(){var n,o,a=i.map(arguments,(function(t){var s=[];return"array"==(n=I(t))?(t.forEach((function(t){return t.nodeType!==e?s.push(t):i.zepto.isZ(t)?s=s.concat(t.get()):void(s=s.concat(O.fragment(t)))})),s):"object"==n||null==t?t:O.fragment(t)})),u=this.length>1;return a.length<1?this:this.each((function(e,n){o=r?n:n.parentNode,n=0==s?n.nextSibling:1==s?n.firstChild:2==s?n:null;var c=i.contains(h.documentElement,o);a.forEach((function(e){if(u)e=e.cloneNode(!0);else if(!o)return i(e).remove();o.insertBefore(e,n),c&&tt(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var n=e.ownerDocument?e.ownerDocument.defaultView:t;n.eval.call(n,e.innerHTML)}}))}))}))},i.fn[r?n+"To":"insert"+(s?"Before":"After")]=function(t){return i(t)[n](this),this}})),O.Z.prototype=Q.prototype=i.fn,O.uniq=o,O.deserializeValue=Y,i.zepto=O,i}();return function(e){var n,i=1,s=Array.prototype.slice,r=e.isFunction,o=function(t){return"string"==typeof t},a={},u={},c="onfocusin"in t,l={focus:"focusin",blur:"focusout"},h={mouseenter:"mouseover",mouseleave:"mouseout"};function p(t){return t._zid||(t._zid=i++)}function f(t,e,n,i){if((e=d(e)).ns)var s=g(e.ns);return(a[p(t)]||[]).filter((function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||s.test(t.ns))&&(!n||p(t.fn)===p(n))&&(!i||t.sel==i)}))}function d(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function g(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function m(t,e){return t.del&&!c&&t.e in l||!!e}function v(t){return h[t]||c&&l[t]||t}function y(t,i,s,r,o,u,c){var l=p(t),f=a[l]||(a[l]=[]);i.split(/\s/).forEach((function(i){if("ready"==i)return e(document).ready(s);var a=d(i);a.fn=s,a.sel=o,a.e in h&&(s=function(t){var n=t.relatedTarget;if(!n||n!==this&&!e.contains(this,n))return a.fn.apply(this,arguments)}),a.del=u;var l=u||s;a.proxy=function(e){if(!(e=S(e)).isImmediatePropagationStopped()){try{var i=Object.getOwnPropertyDescriptor(e,"data");i&&!i.writable||(e.data=r)}catch(e){}var s=l.apply(t,e._args==n?[e]:[e].concat(e._args));return!1===s&&(e.preventDefault(),e.stopPropagation()),s}},a.i=f.length,f.push(a),"addEventListener"in t&&t.addEventListener(v(a.e),a.proxy,m(a,c))}))}function w(t,e,n,i,s){var r=p(t);(e||"").split(/\s/).forEach((function(e){f(t,e,n,i).forEach((function(e){delete a[r][e.i],"removeEventListener"in t&&t.removeEventListener(v(e.e),e.proxy,m(e,s))}))}))}u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",e.event={add:y,remove:w},e.proxy=function(t,n){var i=2 in arguments&&s.call(arguments,2);if(r(t)){var a=function(){return t.apply(n,i?i.concat(s.call(arguments)):arguments)};return a._zid=p(t),a}if(o(n))return i?(i.unshift(t[n],t),e.proxy.apply(null,i)):e.proxy(t[n],t);throw new TypeError("expected function")},e.fn.bind=function(t,e,n){return this.on(t,e,n)},e.fn.unbind=function(t,e){return this.off(t,e)},e.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var b=function(){return!0},C=function(){return!1},x=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,_={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function S(t,i){if(i||!t.isDefaultPrevented){i||(i=t),e.each(_,(function(e,n){var s=i[e];t[e]=function(){return this[n]=b,s&&s.apply(i,arguments)},t[n]=C}));try{t.timeStamp||(t.timeStamp=Date.now())}catch(s){}(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(t.isDefaultPrevented=b)}return t}function E(t){var e,i={originalEvent:t};for(e in t)x.test(e)||t[e]===n||(i[e]=t[e]);return S(i,t)}e.fn.delegate=function(t,e,n){return this.on(e,t,n)},e.fn.undelegate=function(t,e,n){return this.off(e,t,n)},e.fn.live=function(t,n){return e(document.body).delegate(this.selector,t,n),this},e.fn.die=function(t,n){return e(document.body).undelegate(this.selector,t,n),this},e.fn.on=function(t,i,a,u,c){var l,h,p=this;return t&&!o(t)?(e.each(t,(function(t,e){p.on(t,i,a,e,c)})),p):(o(i)||r(u)||!1===u||(u=a,a=i,i=n),u!==n&&!1!==a||(u=a,a=n),!1===u&&(u=C),p.each((function(n,r){c&&(l=function(t){return w(r,t.type,u),u.apply(this,arguments)}),i&&(h=function(t){var n,o=e(t.target).closest(i,r).get(0);if(o&&o!==r)return n=e.extend(E(t),{currentTarget:o,liveFired:r}),(l||u).apply(o,[n].concat(s.call(arguments,1)))}),y(r,t,u,a,i,h||l)})))},e.fn.off=function(t,i,s){var a=this;return t&&!o(t)?(e.each(t,(function(t,e){a.off(t,i,e)})),a):(o(i)||r(s)||!1===s||(s=i,i=n),!1===s&&(s=C),a.each((function(){w(this,t,s,i)})))},e.fn.trigger=function(t,n){return(t=o(t)||e.isPlainObject(t)?e.Event(t):S(t))._args=n,this.each((function(){t.type in l&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,n)}))},e.fn.triggerHandler=function(t,n){var i,s;return this.each((function(r,a){(i=E(o(t)?e.Event(t):t))._args=n,i.target=a,e.each(f(a,t.type||t),(function(t,e){if(s=e.proxy(i),i.isImmediatePropagationStopped())return!1}))})),s},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(t,e){o(t)||(t=(e=t).type);var n=document.createEvent(u[t]||"Events"),i=!0;if(e)for(var s in e)"bubbles"==s?i=!!e[s]:n[s]=e[s];return n.initEvent(t,i,!0),S(n)}}(i),n=[],i.fn.remove=function(){return this.each((function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout((function(){n=[]}),6e4)),this.parentNode.removeChild(this))}))},function(t){var e={},n=t.fn.data,i=t.camelCase,s=t.expando="Zepto"+ +new Date,r=[];function o(r,o){var u=r[s],c=u&&e[u];if(void 0===o)return c||a(r);if(c){if(o in c)return c[o];var l=i(o);if(l in c)return c[l]}return n.call(t(r),o)}function a(n,r,o){var a=n[s]||(n[s]=++t.uuid),c=e[a]||(e[a]=u(n));return void 0!==r&&(c[i(r)]=o),c}function u(e){var n={};return t.each(e.attributes||r,(function(e,s){0==s.name.indexOf("data-")&&(n[i(s.name.replace("data-",""))]=t.zepto.deserializeValue(s.value))})),n}t.fn.data=function(e,n){return void 0===n?t.isPlainObject(e)?this.each((function(n,i){t.each(e,(function(t,e){a(i,t,e)}))})):0 in this?o(this[0],e):void 0:this.each((function(){a(this,e,n)}))},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(n){var i=n[s],r=i&&e[i];return!!r&&!t.isEmptyObject(r)},t.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each((function(){var r=this[s],o=r&&e[r];o&&t.each(n||o,(function(t){delete o[n?i(this):t]}))}))},["remove","empty"].forEach((function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}}))}(i),i}(e)},4725:function(t){"use strict";var e={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,r=function t(r,o){"single"!=(o=function(t,n){if(!t)return n;var i={};for(var s in n)i[s]=e.call(t,s)?t[s]:n[s];return i}(o,t.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var a="double"==o.quotes?'"':"'",u=o.isIdentifier,c=r.charAt(0),l="",h=0,p=r.length;h<p;){var f=r.charAt(h++),d=f.charCodeAt(),g=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&h<p){var m=r.charCodeAt(h++);56320==(64512&m)?d=((1023&d)<<10)+(1023&m)+65536:h--}g="\\"+d.toString(16).toUpperCase()+" "}else g=o.escapeEverything?n.test(f)?"\\"+f:"\\"+d.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?"\\"+d.toString(16).toUpperCase()+" ":"\\"==f||!u&&('"'==f&&a==f||"'"==f&&a==f)||u&&i.test(f)?"\\"+f:f;l+=g}return u&&(/^-[-\d]/.test(l)?l="\\-"+l.slice(1):/\d/.test(c)&&(l="\\3"+c+" "+l.slice(1))),l=l.replace(s,(function(t,e,n){return e&&e.length%2?t:(e||"")+n})),!u&&o.wrap?a+l+a:l};r.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},r.version="3.0.0",t.exports=r},5818:function(t,e,n){"use strict";var i,s,r,o=[n(8133),n(2063),n(2232),n(6197),n(8578),n(1297)],a=-1,u=[],c=!1;function l(){i&&s&&(i=!1,s.length?u=s.concat(u):a=-1,u.length&&h())}function h(){if(!i){c=!1,i=!0;for(var t=u.length,e=setTimeout(l);t;){for(s=u,u=[];s&&++a<t;)s[a].run();a=-1,t=u.length}s=null,a=-1,i=!1,clearTimeout(e)}}for(var p=-1,f=o.length;++p<f;)if(o[p]&&o[p].test&&o[p].test()){r=o[p].install(h);break}function d(t,e){this.fun=t,this.array=e}d.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),c||i||(c=!0,r())}},6197:function(t,e,n){"use strict";e.test=function(){return!n.g.setImmediate&&void 0!==n.g.MessageChannel},e.install=function(t){var e=new n.g.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}},2232:function(t,e,n){"use strict";var i=n.g.MutationObserver||n.g.WebKitMutationObserver;e.test=function(){return i},e.install=function(t){var e=0,s=new i(t),r=n.g.document.createTextNode("");return s.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}},2063:function(t,e,n){"use strict";e.test=function(){return"function"==typeof n.g.queueMicrotask},e.install=function(t){return function(){n.g.queueMicrotask(t)}}},8578:function(t,e,n){"use strict";e.test=function(){return"document"in n.g&&"onreadystatechange"in n.g.document.createElement("script")},e.install=function(t){return function(){var e=n.g.document.createElement("script");return e.onreadystatechange=function(){t(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},n.g.document.documentElement.appendChild(e),t}}},1297:function(t,e){"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}}}]); \ No newline at end of file diff --git a/assets/js/5920.83d9a30f.js.LICENSE.txt b/assets/js/5920.83d9a30f.js.LICENSE.txt new file mode 100644 index 00000000..4f7ccd8a --- /dev/null +++ b/assets/js/5920.83d9a30f.js.LICENSE.txt @@ -0,0 +1 @@ +/*! https://mths.be/cssesc v3.0.0 by @mathias */ diff --git a/assets/js/5c868d36.1e9548b1.js b/assets/js/5c868d36.1e9548b1.js new file mode 100644 index 00000000..e81227e0 --- /dev/null +++ b/assets/js/5c868d36.1e9548b1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5589],{3408:function(e,a,t){t.r(a),t.d(a,{assets:function(){return i},contentTitle:function(){return c},default:function(){return u},frontMatter:function(){return s},metadata:function(){return o},toc:function(){return l}});var r=t(966),n=t(1015);const s={sidebar_position:1},c="Create a Page",o={id:"tutorial-basics/create-a-page",title:"Create a Page",description:"Add Markdown or React files to src/pages to create a standalone page:",source:"@site/docs/tutorial-basics/create-a-page.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-page",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-page.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/docs/next/category/tutorial---basics"},next:{title:"Create a Document",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document"}},i={},l=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function d(e){const a={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h1,{id:"create-a-page",children:"Create a Page"}),"\n",(0,r.jsxs)(a.p,{children:["Add ",(0,r.jsx)(a.strong,{children:"Markdown or React"})," files to ",(0,r.jsx)(a.code,{children:"src/pages"})," to create a ",(0,r.jsx)(a.strong,{children:"standalone page"}),":"]}),"\n",(0,r.jsxs)(a.ul,{children:["\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/index.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo.md"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo/bar.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n <Layout>\n <h1>My React page</h1>\n <p>This is a React page</p>\n </Layout>\n );\n}\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function u(e={}){const{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,r.jsx)(a,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,a,t){t.d(a,{Z:function(){return o},a:function(){return c}});var r=t(3900);const n={},s=r.createContext(n);function c(e){const a=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(a):{...a,...e}}),[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(s.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d47c0b1.325ded44.js b/assets/js/5d47c0b1.325ded44.js new file mode 100644 index 00000000..98feff51 --- /dev/null +++ b/assets/js/5d47c0b1.325ded44.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4811],{4851:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/blog/tags/hello","page":1,"postsPerPage":10,"totalPages":1,"totalCount":2,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.18f37c2a.js b/assets/js/5e95c892.18f37c2a.js new file mode 100644 index 00000000..5314f03d --- /dev/null +++ b/assets/js/5e95c892.18f37c2a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9661],{1013:function(e,s,r){r.r(s),r.d(s,{default:function(){return f}});r(3900);var n=r(7515),t=r(4181),u=r(8512),c=r(4518),a=r(2786),i=r(966);function f(e){return(0,i.jsx)(t.FG,{className:(0,n.Z)(u.k.wrapper.docsPages),children:(0,i.jsx)(a.Z,{children:(0,c.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/62e81aa6.e3152b8b.js b/assets/js/62e81aa6.e3152b8b.js new file mode 100644 index 00000000..d8d6dbc4 --- /dev/null +++ b/assets/js/62e81aa6.e3152b8b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5329],{4421:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"1.0.0","label":"1.0.0","banner":null,"badge":true,"noIndex":false,"className":"docs-version-1.0.0","isLast":true,"docsSidebars":{"someSidebar":[{"type":"category","label":"Docusaurus","items":[{"type":"link","label":"Style Guide","href":"/docusaurus-search-local/docs/","docId":"doc1","unlisted":false},{"type":"link","label":"Document Number 2","href":"/docusaurus-search-local/docs/doc2","docId":"doc2","unlisted":false},{"type":"link","label":"This is Document Number 3","href":"/docusaurus-search-local/docs/doc3","docId":"doc3","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Features","items":[{"type":"link","label":"Powered by MDX","href":"/docusaurus-search-local/docs/mdx","docId":"mdx","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"doc-in-pt":{"id":"doc-in-pt","title":"A Document in Portuguese","description":"A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas\\""},"doc1":{"id":"doc1","title":"Style Guide","description":"You can write content using GitHub-flavored Markdown syntax.","sidebar":"someSidebar"},"doc2":{"id":"doc2","title":"Document Number 2","description":"This is a link to another document. This is a link to an external page.","sidebar":"someSidebar"},"doc3":{"id":"doc3","title":"This is Document Number 3","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","sidebar":"someSidebar"},"mdx":{"id":"mdx","title":"Powered by MDX","description":"You can write JSX and use React components within your Markdown thanks to MDX.","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/6875c492.45c8fa40.js b/assets/js/6875c492.45c8fa40.js new file mode 100644 index 00000000..7d690c43 --- /dev/null +++ b/assets/js/6875c492.45c8fa40.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8610],{6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(1207),a=n(1554),i=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,i.jsxs)("nav",{className:"pagination-nav","aria-label":(0,s.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,i.jsx)(a.Z,{permalink:n,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,i.jsx)(a.Z,{permalink:r,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7138),a=n(87),i=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,i.jsx)(i.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,i.jsx)(s.n,{content:t,children:(0,i.jsx)(n,{children:(0,i.jsx)(t,{})})},t.metadata.permalink)}))})}},9829:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});n(3900);var s=n(7515),a=n(1207),i=n(960),r=n(4181),l=n(8512),o=n(3707),c=n(1809),u=n(6357),g=n(3806),d=n(2264),h=n(9843),p=n(4974),m=n(966);function x(e){const t=function(){const{selectMessage:e}=(0,i.c)();return t=>e(t,(0,a.I)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,a.I)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function j(e){let{tag:t}=e;const n=x(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(r.d,{title:n}),(0,m.jsx)(g.Z,{tag:"blog_tags_posts"})]})}function b(e){let{tag:t,items:n,sidebar:s,listMetadata:i}=e;const r=x(t);return(0,m.jsxs)(c.Z,{sidebar:s,children:[t.unlisted&&(0,m.jsx)(h.Z,{}),(0,m.jsxs)("header",{className:"margin-bottom--xl",children:[(0,m.jsx)(p.Z,{as:"h1",children:r}),(0,m.jsx)(o.Z,{href:t.allTagsPath,children:(0,m.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,m.jsx)(d.Z,{items:n}),(0,m.jsx)(u.Z,{metadata:i})]})}function f(e){return(0,m.jsxs)(r.FG,{className:(0,s.Z)(l.k.wrapper.blogPages,l.k.page.blogTagPostListPage),children:[(0,m.jsx)(j,{...e}),(0,m.jsx)(b,{...e})]})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),r=n(966);function l(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function o(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,r.jsx)(i.Z,{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var u=n(8512),g=n(5085);function d(e){let{className:t}=e;return(0,r.jsx)(g.Z,{type:"caution",title:(0,r.jsx)(l,{}),className:(0,s.Z)(t,u.k.common.unlistedBanner),children:(0,r.jsx)(o,{})})}function h(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{}),(0,r.jsx)(d,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/69d5d12f.4665fb89.js b/assets/js/69d5d12f.4665fb89.js new file mode 100644 index 00000000..00477b93 --- /dev/null +++ b/assets/js/69d5d12f.4665fb89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4337],{5347:function(t){t.exports=JSON.parse('{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/docusaurus-search-local/docs/next/category/tutorial---basics","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/docusaurus-search-local/docs/next/intro"},"next":{"title":"Create a Page","permalink":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page"}}}')}}]); \ No newline at end of file diff --git a/assets/js/6b3775fa.8589a71f.js b/assets/js/6b3775fa.8589a71f.js new file mode 100644 index 00000000..3f19aeb8 --- /dev/null +++ b/assets/js/6b3775fa.8589a71f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4484],{3769:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/7024.b093103e.js b/assets/js/7024.b093103e.js new file mode 100644 index 00000000..96cda135 --- /dev/null +++ b/assets/js/7024.b093103e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7024],{8724:function(e,t,n){n.d(t,{Z:function(){return a}});n(3900);var i=n(7515),o=n(1207),s=n(4974),r=n(966);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},7024:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});n(3900);var i=n(1207),o=n(4181),s=n(2786),r=n(8724),a=n(966);function c(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/73eb52ae.9c098b9d.js b/assets/js/73eb52ae.9c098b9d.js new file mode 100644 index 00000000..35abb01d --- /dev/null +++ b/assets/js/73eb52ae.9c098b9d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7437],{5436:function(a){a.exports=JSON.parse('{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/docusaurus-search-local/docs/next/category/tutorial---extras","navigation":{"previous":{"title":"Congratulations!","permalink":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions"}}}')}}]); \ No newline at end of file diff --git a/assets/js/7acd0c93.9a73f146.js b/assets/js/7acd0c93.9a73f146.js new file mode 100644 index 00000000..f81f8235 --- /dev/null +++ b/assets/js/7acd0c93.9a73f146.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3125],{5745:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/807d5d2d.bbfd5abc.js b/assets/js/807d5d2d.bbfd5abc.js new file mode 100644 index 00000000..00488fec --- /dev/null +++ b/assets/js/807d5d2d.bbfd5abc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1528],{5220:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"June 15, 2019",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/8133.a27696f3.js b/assets/js/8133.a27696f3.js new file mode 100644 index 00000000..344ff530 --- /dev/null +++ b/assets/js/8133.a27696f3.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8133],{8133:function(){}}]); \ No newline at end of file diff --git a/assets/js/814f3328.f610ea2c.js b/assets/js/814f3328.f610ea2c.js new file mode 100644 index 00000000..fd0588db --- /dev/null +++ b/assets/js/814f3328.f610ea2c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2535],{5641:function(e){e.exports=JSON.parse('{"title":"Recent posts","items":[{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/blog/writing-good-unit-tests","unlisted":false},{"title":"Welcome","permalink":"/docusaurus-search-local/blog/welcome","unlisted":false},{"title":"Hello","permalink":"/docusaurus-search-local/blog/hello-world","unlisted":false},{"title":"Hola","permalink":"/docusaurus-search-local/blog/hola","unlisted":false}]}')}}]); \ No newline at end of file diff --git a/assets/js/822bd8ab.1fa5353c.js b/assets/js/822bd8ab.1fa5353c.js new file mode 100644 index 00000000..0ccbd775 --- /dev/null +++ b/assets/js/822bd8ab.1fa5353c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6504],{3932:function(s,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var e=n(966),r=n(1015);const o={sidebar_position:6},a="Congratulations!",i={id:"tutorial-basics/congratulations",title:"Congratulations!",description:"You have just learned the basics of Docusaurus and made some changes to the initial template.",source:"@site/docs/tutorial-basics/congratulations.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/congratulations",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/congratulations",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/congratulations.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Deploy your site",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site"},next:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/docs/next/category/tutorial---extras"}},c={},u=[{value:"What's next?",id:"whats-next",level:2}];function l(s){const t={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...s.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.h1,{id:"congratulations",children:"Congratulations!"}),"\n",(0,e.jsxs)(t.p,{children:["You have just learned the ",(0,e.jsx)(t.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,e.jsx)(t.strong,{children:"initial template"}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Docusaurus has ",(0,e.jsx)(t.strong,{children:"much more to offer"}),"!"]}),"\n",(0,e.jsxs)(t.p,{children:["Have ",(0,e.jsx)(t.strong,{children:"5 more minutes"}),"? Take a look at ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions",children:"versioning"})})," and ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site",children:"i18n"})}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Anything ",(0,e.jsx)(t.strong,{children:"unclear"})," or ",(0,e.jsx)(t.strong,{children:"buggy"})," in this tutorial? ",(0,e.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,e.jsx)(t.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,e.jsxs)(t.ul,{children:["\n",(0,e.jsxs)(t.li,{children:["Read the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/",children:"official documentation"}),"."]}),"\n",(0,e.jsxs)(t.li,{children:["Add a custom ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,e.jsxs)(t.li,{children:["Add a ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,e.jsxs)(t.li,{children:["Find inspirations in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,e.jsxs)(t.li,{children:["Get involved in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function d(s={}){const{wrapper:t}={...(0,r.a)(),...s.components};return t?(0,e.jsx)(t,{...s,children:(0,e.jsx)(l,{...s})}):l(s)}},1015:function(s,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var e=n(3900);const r={},o=e.createContext(r);function a(s){const t=e.useContext(o);return e.useMemo((function(){return"function"==typeof s?s(t):{...t,...s}}),[t,s])}function i(s){let t;return t=s.disableParentContext?"function"==typeof s.components?s.components(r):s.components||r:a(s.components),e.createElement(o.Provider,{value:t},s.children)}}}]); \ No newline at end of file diff --git a/assets/js/833c5ef7.9582b04d.js b/assets/js/833c5ef7.9582b04d.js new file mode 100644 index 00000000..e9b82540 --- /dev/null +++ b/assets/js/833c5ef7.9582b04d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1611],{8496:function(s){s.exports=JSON.parse('{"label":"hola","permalink":"/docusaurus-search-local/blog/tags/hola","allTagsPath":"/docusaurus-search-local/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/8e9f0a8a.b76993dc.js b/assets/js/8e9f0a8a.b76993dc.js new file mode 100644 index 00000000..fc41f4a8 --- /dev/null +++ b/assets/js/8e9f0a8a.b76993dc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4035],{4562:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"May 28, 2019",tags:[{label:"hola",permalink:"/docusaurus-search-local/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.46e410f4.js b/assets/js/935f2afb.46e410f4.js new file mode 100644 index 00000000..1d9913b5 --- /dev/null +++ b/assets/js/935f2afb.46e410f4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(a){a.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":"unreleased","badge":true,"noIndex":false,"className":"docs-version-current","isLast":false,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docusaurus-search-local/docs/next/intro","docId":"intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","docId":"tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","docId":"tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","docId":"tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","docId":"tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","docId":"tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","docId":"tutorial-basics/congratulations","unlisted":false}],"href":"/docusaurus-search-local/docs/next/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","docId":"tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","docId":"tutorial-extras/translate-your-site","unlisted":false}],"href":"/docusaurus-search-local/docs/next/category/tutorial---extras"},{"type":"link","label":"Unlisted Post","href":"/docusaurus-search-local/docs/next/unlisted-post","docId":"unlisted-post","unlisted":true}]},"docs":{"intro":{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","sidebar":"tutorialSidebar"},"tutorial-basics/congratulations":{"id":"tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-blog-post":{"id":"tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-document":{"id":"tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-page":{"id":"tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"tutorial-basics/deploy-your-site":{"id":"tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"tutorial-basics/markdown-features":{"id":"tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"tutorialSidebar"},"tutorial-extras/manage-docs-versions":{"id":"tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"tutorial-extras/translate-your-site":{"id":"tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"unlisted-post":{"id":"unlisted-post","title":"Unlisted Post","description":"This unlisted blog post should be \\"hidden\\" in production, but remain accessible.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9e4087bc.395afb6f.js b/assets/js/9e4087bc.395afb6f.js new file mode 100644 index 00000000..214dadfc --- /dev/null +++ b/assets/js/9e4087bc.395afb6f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3608],{4160:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});r(3900);var s=r(3707),a=r(1207),i=r(4181),n=r(2786),c=r(4974),l=r(966);function h(e){let{year:t,posts:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{as:"h3",id:t,children:t}),(0,l.jsx)("ul",{children:r.map((e=>(0,l.jsx)("li",{children:(0,l.jsxs)(s.Z,{to:e.metadata.permalink,children:[e.metadata.formattedDate," - ",e.metadata.title]})},e.metadata.date)))})]})}function d(e){let{years:t}=e;return(0,l.jsx)("section",{className:"margin-vert--lg",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:t.map(((e,t)=>(0,l.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,l.jsx)(h,{...e})},t)))})})})}function o(e){let{archive:t}=e;const r=(0,a.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),s=(0,a.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),h=function(e){const t=e.reduce(((e,t)=>{var r;const s=t.metadata.date.split("-")[0],a=null!=(r=e.get(s))?r:[];return e.set(s,[t,...a])}),new Map);return Array.from(t,(e=>{let[t,r]=e;return{year:t,posts:r}}))}(t.blogPosts);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.d,{title:r,description:s}),(0,l.jsxs)(n.Z,{children:[(0,l.jsx)("header",{className:"hero hero--primary",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(c.Z,{as:"h1",className:"hero__title",children:r}),(0,l.jsx)("p",{className:"hero__subtitle",children:s})]})}),(0,l.jsx)("main",{children:h.length>0&&(0,l.jsx)(d,{years:h})})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.e31ab401.js b/assets/js/a6aa9e1f.e31ab401.js new file mode 100644 index 00000000..13b3980b --- /dev/null +++ b/assets/js/a6aa9e1f.e31ab401.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3089],{3705:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});n(3900);var i=n(7515),a=n(2442),s=n(4181),r=n(8512),o=n(1809),l=n(6357),c=n(3806),g=n(2264),d=n(966);function p(e){const{metadata:t}=e,{siteConfig:{title:n}}=(0,a.Z)(),{blogDescription:i,blogTitle:r,permalink:o}=t,l="/"===o?n:r;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.d,{title:l,description:i}),(0,d.jsx)(c.Z,{tag:"blog_posts_list"})]})}function u(e){const{metadata:t,items:n,sidebar:i}=e;return(0,d.jsxs)(o.Z,{sidebar:i,children:[(0,d.jsx)(g.Z,{items:n}),(0,d.jsx)(l.Z,{metadata:t})]})}function b(e){return(0,d.jsxs)(s.FG,{className:(0,i.Z)(r.k.wrapper.blogPages,r.k.page.blogListPage),children:[(0,d.jsx)(p,{...e}),(0,d.jsx)(u,{...e})]})}},6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(1207),a=n(1554),s=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,s.jsxs)("nav",{className:"pagination-nav","aria-label":(0,i.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,s.jsx)(a.Z,{permalink:n,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,s.jsx)(a.Z,{permalink:r,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(7138),a=n(87),s=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,s.jsx)(s.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,s.jsx)(i.n,{content:t,children:(0,s.jsx)(n,{children:(0,s.jsx)(t,{})})},t.metadata.permalink)}))})}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.aef66c49.js b/assets/js/a7bd4aaa.aef66c49.js new file mode 100644 index 00000000..a897a776 --- /dev/null +++ b/assets/js/a7bd4aaa.aef66c49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8518],{9741:function(n,e,s){s.r(e),s.d(e,{default:function(){return d}});s(3900);var r=s(4181),t=s(488),o=s(7924),i=s(4518),c=s(3806),u=s(966);function a(n){const{version:e}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.Z,{version:e.version,tag:(0,t.os)(e.pluginId,e.version)}),(0,u.jsx)(r.d,{children:e.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){const{version:e,route:s}=n;return(0,u.jsx)(r.FG,{className:e.className,children:(0,u.jsx)(o.q,{version:e,children:(0,i.H)(s.routes)})})}function d(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a918e87f.42f6744f.js b/assets/js/a918e87f.42f6744f.js new file mode 100644 index 00000000..cf33e453 --- /dev/null +++ b/assets/js/a918e87f.42f6744f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6025],{8777:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":4,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.68bf235f.js b/assets/js/a94703ab.68bf235f.js new file mode 100644 index 00000000..aa08bf34 --- /dev/null +++ b/assets/js/a94703ab.68bf235f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4368],{5578:function(e,t,n){n.r(t),n.d(t,{default:function(){return be}});var a=n(3900),i=n(7515),o=n(4181),s=n(8512),l=n(3025),r=n(9888),c=n(1207),d=n(9611),u=n(8257);var m={backToTopButton:"backToTopButton_xjLX",backToTopButtonShow:"backToTopButtonShow_KuKn"},b=n(966);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,i]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=null==n?void 0:n.scrollY;s&&(o.current?o.current=!1:a>=s?(l(),i(!1)):a<t?i(!1):a+window.innerHeight<document.documentElement.scrollHeight&&i(!0))})),(0,u.S)((e=>{e.location.hash&&(o.current=!0,i(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(7525),x=n(382),v=n(879),f=n(4715),j=n(266);function k(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("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"}),(0,b.jsx)("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 _={collapseSidebarButton:"collapseSidebarButton_IlcQ",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_iyaO"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.Z)("button button--secondary button--outline",_.collapseSidebarButton),onClick:t,children:(0,b.jsx)(k,{className:_.collapseSidebarButtonIcon})})}var C=n(3308),S=n(5158);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,i]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:i})),[n]);return(0,b.jsx)(N.Provider,{value:o,children:t})}var B=n(3663),Z=n(4064),L=n(3707),y=n(5106);function w(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function A(e){let{item:t,onItemClick:n,activePath:o,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:v}}}=(0,f.L)(),j=function(e){const t=(0,y.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),k=(0,l._F)(t,o),_=(0,Z.Mg)(x,o),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!k&&t.collapsed)}),{expandedItem:T,setExpandedItem:A}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),A(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:i}=e;const o=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&i(!1)}),[t,o,n,i])}({isActive:k,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&v&&C(!0)}),[h,T,c,C,v]),(0,b.jsxs)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,i.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_}),children:[(0,b.jsx)(L.Z,{className:(0,i.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{null==n||n(t),x?E(!1):(e.preventDefault(),E())}:()=>{null==n||n(t)},"aria-current":_?"page":void 0,"aria-expanded":h?!g:void 0,href:h?null!=j?j:"#":j,...d,children:m}),x&&h&&(0,b.jsx)(w,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:o,level:r+1})})]})}var E=n(6843),H=n(4153),M={menuExternalLink:"menuExternalLink_kCh2"};function R(e){let{item:t,onItemClick:n,activePath:a,level:o,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(o),"menu__list-item",m),children:(0,b.jsxs)(L.Z,{className:(0,i.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}var D={menuHtmlItem:"menuHtmlItem_ts5c"};function F(e){let{item:t,level:n,index:a}=e;const{value:o,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[D.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:o}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(A,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function W(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}var V=(0,a.memo)(W),z={menu:"menu_ficN",menuWithAnnouncementBar:"menuWithAnnouncementBar_X2D6"};function K(e){let{path:t,sidebar:n,className:o}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.Z)("menu thin-scrollbar",z.menu,l&&z.menuWithAnnouncementBar,o),children:(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}var U="sidebar_s7Pv",Y="sidebarWithHideableNavbar_bLvr",G="sidebarHidden_L71x",O="sidebarLogo_y82R";function Q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:o}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,f.L)();return(0,b.jsxs)("div",{className:(0,i.Z)(U,s&&Y,o&&G),children:[s&&(0,b.jsx)(j.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}var X=a.memo(Q),q=n(3943),J=n(3215);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,J.e)();return(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(q.Zo,{component:$,props:e})}var te=a.memo(ee);function ne(e){const t=(0,v.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(X,{...e}),a&&(0,b.jsx)(te,{...e})]})}var ae={expandButton:"expandButton_zsBQ",expandButtonIcon:"expandButtonIcon_DvE8"};function ie(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(k,{className:ae.expandButtonIcon})})}var oe={docSidebarContainer:"docSidebarContainer_l1sK",docSidebarContainerHidden:"docSidebarContainerHidden_kDwv",sidebarViewport:"sidebarViewport_GvwI"};function se(e){var t;let{children:n}=e;const i=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:n},null!=(t=null==i?void 0:i.name)?t:"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),o((e=>!e))}),[o,r]);return(0,b.jsx)("aside",{className:(0,i.Z)(s.k.docs.docSidebarContainer,oe.docSidebarContainer,n&&oe.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(oe.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,i.Z)(oe.sidebarViewport,r&&oe.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(ie,{toggleSidebar:d})]})})})}var re={docMainContainer:"docMainContainer_B_M8",docMainContainerEnhanced:"docMainContainerEnhanced_L9NF",docItemWrapperEnhanced:"docItemWrapperEnhanced_ZTSi"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,i.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,i.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}var de={docRoot:"docRoot_hERl",docsWrapper:"docsWrapper_sfhw"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[i,o]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:i,setHiddenSidebarContainer:o}),(0,b.jsx)(ce,{hiddenSidebarContainer:i,children:t})]})]})}var me=n(8724);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(o.FG,{className:(0,i.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},8724:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var a=n(7515),i=n(1207),o=n(4974),s=n(966);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(i.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/aafb6b19.7473a543.js b/assets/js/aafb6b19.7473a543.js new file mode 100644 index 00000000..79ef3565 --- /dev/null +++ b/assets/js/aafb6b19.7473a543.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[36],{7606:function(s){s.exports=JSON.parse('{"label":"docusaurus","permalink":"/docusaurus-search-local/blog/tags/docusaurus","allTagsPath":"/docusaurus-search-local/blog/tags","count":3,"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/af172acd.65d0e938.js b/assets/js/af172acd.65d0e938.js new file mode 100644 index 00000000..e30ff7ab --- /dev/null +++ b/assets/js/af172acd.65d0e938.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1449],{9322:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"May 30, 2019",tags:[{label:"facebook",permalink:"/docusaurus-search-local/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bdd709f1.9a45c4f7.js b/assets/js/bdd709f1.9a45c4f7.js new file mode 100644 index 00000000..9cad3bd3 --- /dev/null +++ b/assets/js/bdd709f1.9a45c4f7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4694],{846:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"May 28, 2019",tags:[{label:"hola",permalink:"/docusaurus-search-local/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/bee82b8a.2a25af70.js b/assets/js/bee82b8a.2a25af70.js new file mode 100644 index 00000000..48dfa324 --- /dev/null +++ b/assets/js/bee82b8a.2a25af70.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2550],{3307:function(s){s.exports=JSON.parse('{"label":"Test","permalink":"/docusaurus-search-local/docs/next/tags/test","allTagsPath":"/docusaurus-search-local/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.c5786715.js b/assets/js/c4f5d8e4.c5786715.js new file mode 100644 index 00000000..1289aa73 --- /dev/null +++ b/assets/js/c4f5d8e4.c5786715.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4195],{9750:function(e,s,t){t.r(s),t.d(s,{default:function(){return h}});t(3900);var r=t(7515),a=t(2786),n=t(3707),i=t(2442),l=t(3373),c={heroBanner:"heroBanner_UJJx",buttons:"buttons_pzbO",features:"features_keug",featureImage:"featureImage_yA8i"},o=t(966);const u=[{title:"\ud83d\udcaa Written in TypeScript",imageUrl:"img/undraw_docusaurus_mountain.svg",description:(0,o.jsx)(o.Fragment,{children:"A Result You Can Trust."})},{title:"\ud83c\udf0e Multi Languages Supported",imageUrl:"img/undraw_docusaurus_tree.svg",description:(0,o.jsx)(o.Fragment,{children:"Dozens of languages supported, including \u4e2d\u6587\u5206\u8bcd \ud83c\udde8\ud83c\uddf3."})},{title:"\ud83d\udc85 Styles polished",imageUrl:"img/undraw_docusaurus_react.svg",description:(0,o.jsx)(o.Fragment,{children:"Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website."})}];function d(e){let{imageUrl:s,title:t,description:a}=e;const n=(0,l.Z)(s);return(0,o.jsxs)("div",{className:(0,r.Z)("col col--4",c.feature),children:[n&&(0,o.jsx)("div",{className:"text--center",children:(0,o.jsx)("img",{className:c.featureImage,src:n,alt:t})}),(0,o.jsx)("h3",{children:t}),(0,o.jsx)("p",{children:a})]})}var h=function(){const e=(0,i.Z)(),{siteConfig:s={}}=e;return(0,o.jsxs)(a.Z,{title:"Hello from "+s.title,description:"Description will go into a meta tag in <head />",children:[(0,o.jsx)("header",{className:(0,r.Z)("hero hero--primary",c.heroBanner),children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)("h1",{className:"hero__title",children:s.title}),(0,o.jsxs)("p",{className:"hero__subtitle",children:["An offline/local search example using"," ",(0,o.jsx)("a",{href:"https://github.com/easyops-cn/docusaurus-search-local",style:{color:"var(--ifm-hero-text-color)"},children:"@easyops-cn/docusaurus-search-local"}),"."]}),(0,o.jsx)("div",{className:c.buttons,children:(0,o.jsx)(n.Z,{className:(0,r.Z)("button button--outline button--secondary button--lg",c.getStarted),to:"#",children:"Try the search bar on the top-right corner."})})]})}),(0,o.jsx)("main",{children:u&&u.length>0&&(0,o.jsx)("section",{className:c.features,children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:u.map(((e,s)=>(0,o.jsx)(d,{...e},s)))})})})})]})}}}]); \ No newline at end of file diff --git a/assets/js/c7798012.01c985f5.js b/assets/js/c7798012.01c985f5.js new file mode 100644 index 00000000..9a6dd6aa --- /dev/null +++ b/assets/js/c7798012.01c985f5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5560],{4361:function(e,o,a){a.r(o),a.d(o,{assets:function(){return c},contentTitle:function(){return i},default:function(){return m},frontMatter:function(){return s},metadata:function(){return r},toc:function(){return d}});var n=a(966),t=a(1015);const s={title:"A Document in Portuguese"},i=void 0,r={id:"doc-in-pt",title:"A Document in Portuguese",description:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"',source:"@site/versioned_docs/version-1.0.0/doc-in-pt.md",sourceDirName:".",slug:"/doc-in-pt",permalink:"/docusaurus-search-local/docs/doc-in-pt",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc-in-pt.md",tags:[],version:"1.0.0",frontMatter:{title:"A Document in Portuguese"}},c={},d=[];function u(e){const o={p:"p",...(0,t.a)(),...e.components};return(0,n.jsx)(o.p,{children:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"'})}function m(e={}){const{wrapper:o}={...(0,t.a)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1015:function(e,o,a){a.d(o,{Z:function(){return r},a:function(){return i}});var n=a(3900);const t={},s=n.createContext(t);function i(e){const o=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),n.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c84e3717.f959aba9.js b/assets/js/c84e3717.f959aba9.js new file mode 100644 index 00000000..2f269c9d --- /dev/null +++ b/assets/js/c84e3717.f959aba9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3237],{7332:function(t){t.exports=JSON.parse('{"blogPosts":[{"id":"writing-good-unit-tests","metadata":{"permalink":"/docusaurus-search-local/blog/writing-good-unit-tests","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md","source":"@site/blog/2019-06-15-writing-good-unit-tests.md","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","description":"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002","date":"2019-06-15T00:00:00.000Z","formattedDate":"June 15, 2019","tags":[],"readingTime":7.49,"hasTruncateMarker":false,"authors":[{"name":"Wang Shenwei","url":"https://github.com/weareoutman","imageURL":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],"frontMatter":{"slug":"writing-good-unit-tests","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","author":"Wang Shenwei","author_url":"https://github.com/weareoutman","author_image_url":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},"unlisted":false,"nextItem":{"title":"Welcome","permalink":"/docusaurus-search-local/blog/welcome"}},"content":":::note\\n\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002\\n:::\\n\\n> \u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d\\n\\n\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e [TypeScript], [Jest], [React], [Enzyme] \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002\\n\\n## \u57fa\u672c\u65b9\u6cd5\\n\\n\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\\n2. \u8fd0\u884c\\n3. \u65ad\u8a00\u8f93\u51fa\\n\\n\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a\\n\\n- \u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f\\n- \u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00\\n\\n\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `add.ts`\\nfunction add(a: number, b: number): number {\\n return a + b;\\n}\\n```\\n\\n```ts\\n// `add.spec.ts`\\ntest(\\"add(1, 2) should return 3\\", () => {\\n expect(add(1, 2)).toBe(3);\\n});\\n```\\n\\n\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\uff1a`1`, `2`\\n2. \u8fd0\u884c\uff1a `add(...)`\\n3. \u65ad\u8a00\u8f93\u51fa\uff1a`expect(...).toBe(3)`\\n\\n\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002\\n\\n- \u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f\\n- \u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\\n\\n> \u8fd9\u91cc\u63d0\u5230\u7684*\u8f93\u5165*\u3001*\u8f93\u51fa*\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002\\n\\n\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002\\n\\n## \u8f93\u5165\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u53c2\u6570\\n- \u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6\\n- GUI \u64cd\u4f5c\u4e8b\u4ef6\\n\\n\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5916\u90e8\u4e8b\u4ef6*\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a*\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210*\u7ed9\u5b9a\u8f93\u5165*\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002\\n\\n\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.ts`\\nwindow.addEventListener(\\"resize\\", () => { ... });\\n```\\n\\n\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.ts`\\ntest(\\"MyComponent\\", () => {\\n window.dispatchEvent(new Event(\\"resize\\"));\\n // ...\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleChange = (value: string): void => { ... };\\nreturn <Editor onChange={handleChange} />\\n```\\n\\n\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow(<MyComponent />);\\n wrapper.find(Editor).invoke(\\"onChange\\")(\\"faked value\\");\\n // ...\\n});\\n```\\n\\n## \u8f93\u51fa\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u8f93\u51fa\\n- GUI \u7684\u53d8\u5316\\n- \u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528\\n\\n\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002\\n\\n\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `handleClick.ts`\\nfunction handleClick(): void {\\n history.push(\\"/next/url\\");\\n}\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n handleClick();\\n expect(history.location.pathname).toBe(\\"/next/url\\");\\n});\\n```\\n\\n\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab _Mocked_\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n const spyOnHistoryPush = jest.spyOn(history, \\"push\\");\\n expect(spyOnHistoryPush).toBeCalledWith(\\"/next/url\\");\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleValidation = (valid: boolean): void => {\\n this.setState({ valid });\\n};\\nreturn (\\n <Form.Item className={this.state.valid ? \\"valid\\" : \\"invalid\\"}>\\n <Input />\\n </Form.Item>\\n);\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow(<MyComponent />);\\n // ... after something trigger `handleValidation()`\\n expect(wrapper.find(Form.Item).prop(\\"className\\")).toBe(\\"invalid\\");\\n});\\n```\\n\\n\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002\\n\\n\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f*\u5bf9\u5916\u7684\u5f71\u54cd*\uff0c\u800c\u4e0d\u662f*\u5185\u90e8\u72b6\u6001*\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684*\u8f93\u51fa*\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.bad.spec.tsx`\\nexpect(wrapper.instance().state.valid).toBe(\\"invalid\\");\\n```\\n\\n## \u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002\\n\\n**\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206**\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, [Redux] \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684[\u5355\u5411\u6570\u636e\u6d41]\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002\\n\\n## \u603b\u7ed3\\n\\n\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a\\n\\n- \u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\\n- \u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5\\n- \u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002\\n\\n[typescript]: https://www.typescriptlang.org/\\n[jest]: https://jestjs.io/\\n[react]: https://reactjs.org/\\n[enzyme]: https://airbnb.io/enzyme/\\n[redux]: https://redux.js.org/\\n[\u5355\u5411\u6570\u636e\u6d41]: https://flaviocopes.com/react-unidirectional-data-flow/\\n[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]: https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95"},{"id":"welcome","metadata":{"permalink":"/docusaurus-search-local/blog/welcome","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md","source":"@site/blog/2019-05-30-welcome.md","title":"Welcome","description":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","date":"2019-05-30T00:00:00.000Z","formattedDate":"May 30, 2019","tags":[{"label":"facebook","permalink":"/docusaurus-search-local/blog/tags/facebook"},{"label":"hello","permalink":"/docusaurus-search-local/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/blog/tags/docusaurus"}],"readingTime":0.175,"hasTruncateMarker":false,"authors":[{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],"frontMatter":{"slug":"welcome","title":"Welcome","author":"Yangshun Tay","author_title":"Front End Engineer @ Facebook","author_url":"https://github.com/yangshun","author_image_url":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4","tags":["facebook","hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/blog/writing-good-unit-tests"},"nextItem":{"title":"Hello","permalink":"/docusaurus-search-local/blog/hello-world"}},"content":"Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!\\n\\nDelete the whole directory if you don\'t want the blog features. As simple as that!"},{"id":"hello-world","metadata":{"permalink":"/docusaurus-search-local/blog/hello-world","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md","source":"@site/blog/2019-05-29-hello-world.md","title":"Hello","description":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","date":"2019-05-29T00:00:00.000Z","formattedDate":"May 29, 2019","tags":[{"label":"hello","permalink":"/docusaurus-search-local/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":true,"authors":[{"name":"Endilie Yacop Sucipto","title":"Maintainer of Docusaurus","url":"https://github.com/endiliey","imageURL":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],"frontMatter":{"slug":"hello-world","title":"Hello","author":"Endilie Yacop Sucipto","author_title":"Maintainer of Docusaurus","author_url":"https://github.com/endiliey","author_image_url":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/docusaurus-search-local/blog/welcome"},"nextItem":{"title":"Hola","permalink":"/docusaurus-search-local/blog/hola"}},"content":"Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).\\n\\n\x3c!--truncate--\x3e\\n\\nThis is a test post.\\n\\nA whole bunch of other information."},{"id":"hola","metadata":{"permalink":"/docusaurus-search-local/blog/hola","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md","source":"@site/blog/2019-05-28-hola.md","title":"Hola","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","date":"2019-05-28T00:00:00.000Z","formattedDate":"May 28, 2019","tags":[{"label":"hola","permalink":"/docusaurus-search-local/blog/tags/hola"},{"label":"docusaurus","permalink":"/docusaurus-search-local/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":false,"authors":[{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","imageURL":"https://avatars1.githubusercontent.com/u/2055384?v=4"}],"frontMatter":{"slug":"hola","title":"Hola","author":"Gao Wei","author_title":"Docusaurus Core Team","author_url":"https://github.com/wgao19","author_image_url":"https://avatars1.githubusercontent.com/u/2055384?v=4","tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Hello","permalink":"/docusaurus-search-local/blog/hello-world"}},"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}')}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.3766cae8.js b/assets/js/ccc49370.3766cae8.js new file mode 100644 index 00000000..86510887 --- /dev/null +++ b/assets/js/ccc49370.3766cae8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6103],{3378:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(3900);var i=t(7515),a=t(4181),l=t(8512),o=t(7138),s=t(1809),r=t(87),c=t(1207),d=t(1554),u=t(966);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.Z,{...t,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,u.jsx)(d.Z,{...n,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older Post"}),isNext:!0})]})}function f(){var e;const{assets:n,metadata:t}=(0,o.C)(),{title:i,description:l,date:s,tags:r,authors:c,frontMatter:d}=t,{keywords:m}=d,f=null!=(e=n.image)?e:d.image;return(0,u.jsxs)(a.d,{title:i,description:l,keywords:m,image:f,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:s}),c.some((e=>e.url))&&(0,u.jsx)("meta",{property:"article:author",content:c.map((e=>e.url)).filter(Boolean).join(",")}),r.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:r.map((e=>e.label)).join(",")})]})}var g=t(2151),h=t(9843);function v(e){let{sidebar:n,children:t}=e;const{metadata:i,toc:a}=(0,o.C)(),{nextItem:l,prevItem:c,frontMatter:d,unlisted:f}=i,{hide_table_of_contents:v,toc_min_heading_level:p,toc_max_heading_level:x}=d;return(0,u.jsxs)(s.Z,{sidebar:n,toc:!v&&a.length>0?(0,u.jsx)(g.Z,{toc:a,minHeadingLevel:p,maxHeadingLevel:x}):void 0,children:[f&&(0,u.jsx)(h.Z,{}),(0,u.jsx)(r.Z,{children:t}),(l||c)&&(0,u.jsx)(m,{nextItem:l,prevItem:c})]})}function p(e){const n=e.content;return(0,u.jsx)(o.n,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(a.FG,{className:(0,i.Z)(l.k.wrapper.blogPages,l.k.page.blogPostPage),children:[(0,u.jsx)(f,{}),(0,u.jsx)(v,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},2151:function(e,n,t){t.d(n,{Z:function(){return c}});t(3900);var i=t(7515),a=t(8001),l={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},o=t(966);const s="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,o.jsx)("div",{className:(0,i.Z)(l.tableOfContents,"thin-scrollbar",n),children:(0,o.jsx)(a.Z,{...t,linkClassName:s,linkActiveClassName:r})})}},8001:function(e,n,t){t.d(n,{Z:function(){return h}});var i=t(3900),a=t(4715);function l(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):i.push(a)})),i}function o(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=o({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function s(e){const n=e.getBoundingClientRect();return n.top===n.bottom?s(e.parentNode):n}function r(e,n){var t;let{anchorTopOffset:i}=n;const a=e.find((e=>s(e).top>=i));if(a){var l;return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(s(a))?a:null!=(l=e[e.indexOf(a)-1])?l:null}return null!=(t=e[e.length-1])?t:null}function c(){const e=(0,i.useRef)(0),{navbar:{hideOnScroll:n}}=(0,a.L)();return(0,i.useEffect)((()=>{e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=c();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:a,minHeadingLevel:l,maxHeadingLevel:o}=e;function s(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),s=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let a=n;a<=t;a+=1)i.push("h"+a+".anchor");return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:l,maxHeadingLevel:o}),c=r(s,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[e,t])}var u=t(3707),m=t(966);function f(e){let{toc:n,className:t,linkClassName:i,isChild:a}=e;return n.length?(0,m.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=i?i:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(f,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}var g=i.memo(f);function h(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...f}=e;const h=(0,a.L)(),v=null!=c?c:h.tableOfContents.minHeadingLevel,p=null!=u?u:h.tableOfContents.maxHeadingLevel,x=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,i.useMemo)((()=>o({toc:l(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:v,maxHeadingLevel:p});return d((0,i.useMemo)((()=>{if(s&&r)return{linkClassName:s,linkActiveClassName:r,minHeadingLevel:v,maxHeadingLevel:p}}),[s,r,v,p])),(0,m.jsx)(g,{toc:x,className:t,linkClassName:s,...f})}},9843:function(e,n,t){t.d(n,{Z:function(){return f}});t(3900);var i=t(7515),a=t(1207),l=t(743),o=t(966);function s(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,o.jsx)(l.Z,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function m(e){let{className:n}=e;return(0,o.jsx)(u.Z,{type:"caution",title:(0,o.jsx)(s,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,o.jsx)(r,{})})}function f(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/cd2a3a9a.247781cd.js b/assets/js/cd2a3a9a.247781cd.js new file mode 100644 index 00000000..70372c0d --- /dev/null +++ b/assets/js/cd2a3a9a.247781cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8998],{1247:function(s){s.exports=JSON.parse('{"label":"facebook","permalink":"/docusaurus-search-local/blog/tags/facebook","allTagsPath":"/docusaurus-search-local/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/d3609805.382f25ff.js b/assets/js/d3609805.382f25ff.js new file mode 100644 index 00000000..4d4c0276 --- /dev/null +++ b/assets/js/d3609805.382f25ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8864],{4469:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/d610846f.761c308f.js b/assets/js/d610846f.761c308f.js new file mode 100644 index 00000000..12456052 --- /dev/null +++ b/assets/js/d610846f.761c308f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6176],{1940:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return i}});var r=o(966),u=o(1015);const n={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},s=void 0,a={permalink:"/docusaurus-search-local/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"May 29, 2019",tags:[{label:"hello",permalink:"/docusaurus-search-local/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/blog/hola"}},l={authorsImageUrls:[void 0]},i=[];function c(t){const e={a:"a",p:"p",strong:"strong",...(0,u.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,r.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,r.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]}),"\n",(0,r.jsx)(e.p,{children:"This is a test post."}),"\n",(0,r.jsx)(e.p,{children:"A whole bunch of other information."})]})}function h(t={}){const{wrapper:e}={...(0,u.a)(),...t.components};return e?(0,r.jsx)(e,{...t,children:(0,r.jsx)(c,{...t})}):c(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return a},a:function(){return s}});var r=o(3900);const u={},n=r.createContext(u);function s(t){const e=r.useContext(n);return r.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(u):t.components||u:s(t.components),r.createElement(n.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/df203c0f.3452c979.js b/assets/js/df203c0f.3452c979.js new file mode 100644 index 00000000..47125b5e --- /dev/null +++ b/assets/js/df203c0f.3452c979.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9924],{5085:function(e,n,t){t.d(n,{Z:function(){return k}});var i=t(3900),s=t(966);function o(e){var n;const{mdxAdmonitionTitle:t,rest:o}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),o=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:o.length>0?(0,s.jsx)(s.Fragment,{children:o}):null}}(e.children),l=null!=(n=e.title)?n:t;return{...e,...l&&{title:l},children:o}}var l=t(7515),r=t(1207),a=t(8512),c={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,l.Z)(a.k.common.admonition,a.k.common.admonitionType(n),c.admonition,t),children:i})}function u(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:c.admonitionHeading,children:[(0,s.jsx)("span",{className:c.admonitionIcon,children:n}),t]})}function h(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:c.admonitionContent,children:n}):null}function m(e){const{type:n,icon:t,title:i,children:o,className:l}=e;return(0,s.jsxs)(d,{type:n,className:l,children:[(0,s.jsx)(u,{title:i,icon:t}),(0,s.jsx)(h,{children:o})]})}function g(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(g,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,s.jsx)(m,{...f,...e,className:(0,l.Z)("alert alert--secondary",e.className),children:e.children})}function j(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const p={icon:(0,s.jsx)(j,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function v(e){return(0,s.jsx)(m,{...p,...e,className:(0,l.Z)("alert alert--success",e.className),children:e.children})}function N(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const Z={icon:(0,s.jsx)(N,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function w(e){return(0,s.jsx)(m,{...Z,...e,className:(0,l.Z)("alert alert--info",e.className),children:e.children})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const b={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function z(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const y={icon:(0,s.jsx)(z,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const C={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var F={...{note:x,tip:v,info:w,warning:function(e){return(0,s.jsx)(m,{...b,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(m,{...y,...e,className:(0,l.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(x,{title:"secondary",...e}),important:e=>(0,s.jsx)(w,{title:"important",...e}),success:e=>(0,s.jsx)(v,{title:"success",...e}),caution:function(e){return(0,s.jsx)(m,{...C,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})}}};function k(e){const n=o(e),t=(i=n.type,F[i]||(console.warn('No admonition component found for admonition type "'+i+'". Using Info as fallback.'),F.info));var i;return(0,s.jsx)(t,{...n})}},2883:function(e,n,t){t.r(n),t.d(n,{default:function(){return j}});t(3900);var i=t(7515),s=t(3707),o=t(960),l=t(4181),r=t(8512),a=t(1207),c=t(3806),d=t(9843),u=t(4974),h=t(966);function m(e){const n=function(){const{selectMessage:e}=(0,o.c)();return n=>e(n,(0,a.I)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,a.I)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}function g(e){let{doc:n}=e;return(0,h.jsxs)("article",{className:"margin-vert--lg",children:[(0,h.jsx)(s.Z,{to:n.permalink,children:(0,h.jsx)(u.Z,{as:"h2",children:n.title})}),n.description&&(0,h.jsx)("p",{children:n.description})]})}function f(e){let{title:n}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.d,{title:n}),(0,h.jsx)(c.Z,{tag:"doc_tag_doc_list"})]})}function x(e){let{tag:n,title:t}=e;return(0,h.jsx)(l.FG,{className:(0,i.Z)(r.k.page.docsTagDocListPage),children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsx)("div",{className:"row",children:(0,h.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,h.jsx)(d.Z,{}),(0,h.jsxs)("header",{className:"margin-bottom--xl",children:[(0,h.jsx)(u.Z,{as:"h1",children:t}),(0,h.jsx)(s.Z,{href:n.allTagsPath,children:(0,h.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,h.jsx)("section",{className:"margin-vert--lg",children:n.items.map((e=>(0,h.jsx)(g,{doc:e},e.id)))})]})})})})}function j(e){const n=m(e);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(f,{...e,title:n}),(0,h.jsx)(x,{...e,title:n})]})}},9843:function(e,n,t){t.d(n,{Z:function(){return m}});t(3900);var i=t(7515),s=t(1207),o=t(743),l=t(966);function r(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function a(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(o.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function h(e){let{className:n}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(r,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(a,{})})}function m(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(h,{...e})]})}},960:function(e,n,t){t.d(n,{c:function(){return c}});var i=t(3900),s=t(2442);const o=["zero","one","two","few","many","other"];function l(e){return o.filter((n=>e.includes(n)))}const r={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function a(){const{i18n:{currentLocale:e}}=(0,s.Z)();return(0,i.useMemo)((()=>{try{return function(e){const n=new Intl.PluralRules(e);return{locale:e,pluralForms:l(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error('Failed to use Intl.PluralRules for locale "'+e+'".\nDocusaurus will fallback to the default (English) implementation.\nError: '+n.message+"\n"),r}}),[e])}function c(){const e=a();return{selectMessage:(n,t)=>function(e,n,t){const i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error("For locale="+t.locale+", a maximum of "+t.pluralForms.length+" plural forms are expected ("+t.pluralForms.join(",")+"), but the message contains "+i.length+": "+e);const s=t.select(n),o=t.pluralForms.indexOf(s);return i[Math.min(o,i.length-1)]}(t,n,e)}}}}]); \ No newline at end of file diff --git a/assets/js/dff1c289.90177b6d.js b/assets/js/dff1c289.90177b6d.js new file mode 100644 index 00000000..3402350e --- /dev/null +++ b/assets/js/dff1c289.90177b6d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3792],{9309:function(e,n,s){s.r(n),s.d(n,{assets:function(){return a},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return t},metadata:function(){return c},toc:function(){return d}});var o=s(966),r=s(1015);const t={sidebar_position:1},i="Manage Docs Versions",c={id:"tutorial-extras/manage-docs-versions",title:"Manage Docs Versions",description:"Docusaurus can manage multiple versions of your docs.",source:"@site/docs/tutorial-extras/manage-docs-versions.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/manage-docs-versions",permalink:"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/manage-docs-versions.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/docs/next/category/tutorial---extras"},next:{title:"Translate your site",permalink:"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site"}},a={},d=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"}),"\n",(0,o.jsx)(n.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,o.jsx)(n.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,o.jsx)(n.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,o.jsxs)(n.p,{children:["The ",(0,o.jsx)(n.code,{children:"docs"})," folder is copied into ",(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0"})," and ",(0,o.jsx)(n.code,{children:"versions.json"})," is created."]}),"\n",(0,o.jsx)(n.p,{children:"Your docs now have 2 versions:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"1.0"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"current"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,o.jsx)(n.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,o.jsx)(n.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,o.jsxs)(n.p,{children:["Modify the ",(0,o.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'docsVersionDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,o.jsx)(n.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{alt:"Docs Version Dropdown",src:s(2480).Z+"",width:"370",height:"302"})}),"\n",(0,o.jsx)(n.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,o.jsx)(n.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"docs/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},2480:function(e,n,s){n.Z=s.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},1015:function(e,n,s){s.d(n,{Z:function(){return c},a:function(){return i}});var o=s(3900);const r={},t=o.createContext(r);function i(e){const n=o.useContext(t);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e44a2883.92449a25.js b/assets/js/e44a2883.92449a25.js new file mode 100644 index 00000000..e31b348a --- /dev/null +++ b/assets/js/e44a2883.92449a25.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6755],{7701:function(e,n,t){t.r(n),t.d(n,{assets:function(){return l},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return c}});var r=t(966),s=t(1015);const o={sidebar_position:2},i="Translate your site",a={id:"tutorial-extras/translate-your-site",title:"Translate your site",description:"Let's translate docs/intro.md to French.",source:"@site/docs/tutorial-extras/translate-your-site.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/translate-your-site",permalink:"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/translate-your-site.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Manage Docs Versions",permalink:"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions"}},l={},c=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function d(e){const n={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"}),"\n",(0,r.jsxs)(n.p,{children:["Let's translate ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,r.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,r.jsxs)(n.p,{children:["Modify ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,r.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,r.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,r.jsxs)(n.p,{children:["Copy the ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,r.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Translate ",(0,r.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,r.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,r.jsx)(n.code,{children:"http://localhost:3000/fr/"})," and the ",(0,r.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,r.jsx)(n.admonition,{type:"caution",children:(0,r.jsx)(n.p,{children:"In development, you can only use one locale at a same time."})}),"\n",(0,r.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,r.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,r.jsxs)(n.p,{children:["Modify the ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,r.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Locale Dropdown",src:t(3412).Z+"",width:"370",height:"302"})}),"\n",(0,r.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,r.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},3412:function(e,n,t){n.Z=t.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},1015:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var r=t(3900);const s={},o=r.createContext(s);function i(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f054516d.271fd5e6.js b/assets/js/f054516d.271fd5e6.js new file mode 100644 index 00000000..5b52fa5d --- /dev/null +++ b/assets/js/f054516d.271fd5e6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1771],{5679:function(M,e,t){t.r(e),t.d(e,{assets:function(){return u},contentTitle:function(){return s},default:function(){return g},frontMatter:function(){return n},metadata:function(){return L},toc:function(){return l}});var i=t(966),j=t(1015);const n={id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},s=void 0,L={id:"doc1",title:"Style Guide",description:"You can write content using GitHub-flavored Markdown syntax.",source:"@site/versioned_docs/version-1.0.0/doc1.md",sourceDirName:".",slug:"/",permalink:"/docusaurus-search-local/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc1.md",tags:[],version:"1.0.0",frontMatter:{id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},sidebar:"someSidebar",next:{title:"Document Number 2",permalink:"/docusaurus-search-local/docs/doc2"}},u={},l=[{value:"Markdown Syntax",id:"markdown-syntax",level:2},{value:"Headers",id:"headers",level:2},{value:"H2 - Create the best documentation",id:"h2---create-the-best-documentation",level:2},{value:"H3 - Create the best documentation",id:"h3---create-the-best-documentation",level:3},{value:"H4 - Create the best documentation",id:"h4---create-the-best-documentation",level:4},{value:"H5 - Create the best documentation",id:"h5---create-the-best-documentation",level:5},{value:"H6 - Create the best documentation",id:"h6---create-the-best-documentation",level:6},{value:"Emphasis",id:"emphasis",level:2},{value:"Lists",id:"lists",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code",id:"code",level:2},{value:"Tables",id:"tables",level:2},{value:"Blockquotes",id:"blockquotes",level:2},{value:"Inline HTML",id:"inline-html",level:2},{value:"Line Breaks",id:"line-breaks",level:2},{value:"Admonitions",id:"admonitions",level:2}];function r(M){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",del:"del",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,j.a)(),...M.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(e.p,{children:["You can write content using ",(0,i.jsx)(e.a,{href:"https://github.github.com/gfm/",children:"GitHub-flavored Markdown syntax"}),"."]}),"\n",(0,i.jsx)(e.h2,{id:"markdown-syntax",children:"Markdown Syntax"}),"\n",(0,i.jsx)(e.p,{children:"To serve as an example page when styling markdown based Docusaurus sites."}),"\n",(0,i.jsx)(e.h2,{id:"headers",children:"Headers"}),"\n",(0,i.jsx)(e.h1,{id:"h1---create-the-best-documentation",children:"H1 - Create the best documentation"}),"\n",(0,i.jsx)(e.h2,{id:"h2---create-the-best-documentation",children:"H2 - Create the best documentation"}),"\n",(0,i.jsx)(e.h3,{id:"h3---create-the-best-documentation",children:"H3 - Create the best documentation"}),"\n",(0,i.jsx)(e.h4,{id:"h4---create-the-best-documentation",children:"H4 - Create the best documentation"}),"\n",(0,i.jsx)(e.h5,{id:"h5---create-the-best-documentation",children:"H5 - Create the best documentation"}),"\n",(0,i.jsx)(e.h6,{id:"h6---create-the-best-documentation",children:"H6 - Create the best documentation"}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"emphasis",children:"Emphasis"}),"\n",(0,i.jsxs)(e.p,{children:["Emphasis, aka italics, with ",(0,i.jsx)(e.em,{children:"asterisks"})," or ",(0,i.jsx)(e.em,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strong emphasis, aka bold, with ",(0,i.jsx)(e.strong,{children:"asterisks"})," or ",(0,i.jsx)(e.strong,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Combined emphasis with ",(0,i.jsxs)(e.strong,{children:["asterisks and ",(0,i.jsx)(e.em,{children:"underscores"})]}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strikethrough uses two tildes. ",(0,i.jsx)(e.del,{children:"Scratch this."})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"lists",children:"Lists"}),"\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"First ordered list item"}),"\n",(0,i.jsxs)(e.li,{children:["Another item","\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered sub-list."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(e.li,{children:["Actual numbers don't matter, just that it's a number","\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"Ordered sub-list"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(e.li,{children:"And another item."}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered list can use asterisks"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or minuses"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or pluses"}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"links",children:"Links"}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",children:"I'm an inline-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",title:"Google's Homepage",children:"I'm an inline-style link with title"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.mozilla.org/",children:"I'm a reference-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"http://slashdot.org/",children:"You can use numbers for reference-style link definitions"})}),"\n",(0,i.jsxs)(e.p,{children:["Or leave it empty and use the ",(0,i.jsx)(e.a,{href:"http://www.reddit.com/",children:"link text itself"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["URLs and URLs in angle brackets will automatically get turned into links. ",(0,i.jsx)(e.a,{href:"http://www.example.com/",children:"http://www.example.com/"})," and sometimes example.com (but not on GitHub, for example)."]}),"\n",(0,i.jsx)(e.p,{children:"Some text to show that the reference links can follow later."}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"images",children:"Images"}),"\n",(0,i.jsx)(e.p,{children:"Here's our logo (hover to see the title text):"}),"\n",(0,i.jsxs)(e.p,{children:["Inline-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 1"})]}),"\n",(0,i.jsxs)(e.p,{children:["Reference-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 2"})]}),"\n",(0,i.jsx)(e.p,{children:"Images from any folder can be used by providing path to file. Path should be relative to markdown file."}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.img,{alt:"img",src:t(47).Z+"",width:"200",height:"200"})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"code",children:"Code"}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-javascript",children:'var s = "JavaScript syntax highlighting";\nalert(s);\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-python",children:'s = "Python syntax highlighting"\nprint(s)\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{children:"No language indicated, so no syntax highlighting.\nBut let's throw in a <b>tag</b>.\n"})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-js",metastring:"{2}",children:'function highlightMe() {\n console.log("This line can be highlighted!");\n}\n'})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"tables",children:"Tables"}),"\n",(0,i.jsx)(e.p,{children:"Colons can be used to align columns."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Tables"}),(0,i.jsx)(e.th,{style:{textAlign:"center"},children:"Are"}),(0,i.jsx)(e.th,{style:{textAlign:"right"},children:"Cool"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 3 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"right-aligned"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1600"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 2 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"centered"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$12"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"zebra stripes"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"are neat"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1"})]})]})]}),"\n",(0,i.jsx)(e.p,{children:"There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Markdown"}),(0,i.jsx)(e.th,{children:"Less"}),(0,i.jsx)(e.th,{children:"Pretty"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:(0,i.jsx)(e.em,{children:"Still"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.code,{children:"renders"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.strong,{children:"nicely"})})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"1"}),(0,i.jsx)(e.td,{children:"2"}),(0,i.jsx)(e.td,{children:"3"})]})]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"blockquotes",children:"Blockquotes"}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsx)(e.p,{children:"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote."}),"\n"]}),"\n",(0,i.jsx)(e.p,{children:"Quote break."}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsxs)(e.p,{children:["This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can ",(0,i.jsx)(e.em,{children:"put"})," ",(0,i.jsx)(e.strong,{children:"Markdown"})," into a blockquote."]}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"inline-html",children:"Inline HTML"}),"\n",(0,i.jsxs)("dl",{children:[(0,i.jsx)("dt",{children:"Definition list"}),(0,i.jsx)("dd",{children:"Is something people use sometimes."}),(0,i.jsx)("dt",{children:"Markdown in HTML"}),(0,i.jsxs)("dd",{children:["Does ",(0,i.jsx)(e.em,{children:"not"})," work ",(0,i.jsx)(e.strong,{children:"very"})," well. Use HTML ",(0,i.jsx)("em",{children:"tags"}),"."]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"line-breaks",children:"Line Breaks"}),"\n",(0,i.jsx)(e.p,{children:"Here's a line for us to start with."}),"\n",(0,i.jsxs)(e.p,{children:["This line is separated from the one above by two newlines, so it will be a ",(0,i.jsx)(e.em,{children:"separate paragraph"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the ",(0,i.jsx)(e.em,{children:"same paragraph"}),"."]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,i.jsx)(e.admonition,{type:"note",children:(0,i.jsx)(e.p,{children:"This is a note"})}),"\n",(0,i.jsx)(e.admonition,{type:"tip",children:(0,i.jsx)(e.p,{children:"This is a tip"})}),"\n",(0,i.jsx)(e.admonition,{type:"important",children:(0,i.jsx)(e.p,{children:"This is important"})}),"\n",(0,i.jsx)(e.admonition,{type:"caution",children:(0,i.jsx)(e.p,{children:"This is a caution"})}),"\n",(0,i.jsx)(e.admonition,{type:"warning",children:(0,i.jsx)(e.p,{children:"This is a warning"})})]})}function g(M={}){const{wrapper:e}={...(0,j.a)(),...M.components};return e?(0,i.jsx)(e,{...M,children:(0,i.jsx)(r,{...M})}):r(M)}},47:function(M,e){e.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjRkZGIiBkPSJNOTkgNTJoODR2MzRIOTl6Ii8+PHBhdGggZD0iTTIzIDE2M2MtNy4zOTggMC0xMy44NDMtNC4wMjctMTcuMzAzLTEwQTE5Ljg4NiAxOS44ODYgMCAwIDAgMyAxNjNjMCAxMS4wNDYgOC45NTQgMjAgMjAgMjBoMjB2LTIwSDIzeiIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGQ9Ik0xMTIuOTggNTcuMzc2TDE4MyA1M1Y0M2MwLTExLjA0Ni04Ljk1NC0yMC0yMC0yMEg3M2wtMi41LTQuMzNjLTEuMTEyLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw2MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw1MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw0MyAyM2MtLjAyMiAwLS4wNDIuMDAzLS4wNjUuMDAzbC00LjE0Mi00LjE0MWMtMS41Ny0xLjU3MS00LjI1Mi0uODUzLTQuODI4IDEuMjk0bC0xLjM2OSA1LjEwNC01LjE5Mi0xLjM5MmMtMi4xNDgtLjU3NS00LjExMSAxLjM4OS0zLjUzNSAzLjUzNmwxLjM5IDUuMTkzLTUuMTAyIDEuMzY3Yy0yLjE0OC41NzYtMi44NjcgMy4yNTktMS4yOTYgNC44M2w0LjE0MiA0LjE0MmMwIC4wMjEtLjAwMy4wNDItLjAwMy4wNjRsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNzNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgODNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgOTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTAzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDExM2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxMjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTMzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDE0M2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTYzYzAgMTEuMDQ2IDguOTU0IDIwIDIwIDIwaDEyMGMxMS4wNDYgMCAyMC04Ljk1NCAyMC0yMFY4M2wtNzAuMDItNC4zNzZBMTAuNjQ1IDEwLjY0NSAwIDAgMSAxMDMgNjhjMC01LjYyMSA0LjM3LTEwLjI3MyA5Ljk4LTEwLjYyNCIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNDMgMTgzaDMwdi00MGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxOTAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNTMgMTIzaDMwdi0yMGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxMTUuNWEyLjUgMi41IDAgMSAwIDAtNWMtLjEwOSAwLS4yMTQuMDE5LS4zMTkuMDMyLS4wMi0uMDc1LS4wMzctLjE1LS4wNTgtLjIyNWEyLjUwMSAyLjUwMSAwIDAgMC0uOTYzLTQuODA3Yy0uNTY5IDAtMS4wODguMTk3LTEuNTA4LjUxOGE2LjY1MyA2LjY1MyAwIDAgMC0uMTY4LS4xNjhjLjMxNC0uNDE3LjUwNi0uOTMxLjUwNi0xLjQ5NGEyLjUgMi41IDAgMCAwLTQuOC0uOTc5QTkuOTg3IDkuOTg3IDAgMCAwIDE4MyAxMDNjLTUuNTIyIDAtMTAgNC40NzgtMTAgMTBzNC40NzggMTAgMTAgMTBjLjkzNCAwIDEuODMzLS4xMzggMi42OS0uMzc3YTIuNSAyLjUgMCAwIDAgNC44LS45NzljMC0uNTYzLS4xOTItMS4wNzctLjUwNi0xLjQ5NC4wNTctLjA1NS4xMTMtLjExMS4xNjgtLjE2OC40Mi4zMjEuOTM5LjUxOCAxLjUwOC41MThhMi41IDIuNSAwIDAgMCAuOTYzLTQuODA3Yy4wMjEtLjA3NC4wMzgtLjE1LjA1OC0uMjI1LjEwNS4wMTMuMjEuMDMyLjMxOS4wMzIiIGZpbGw9IiM0NEQ4NjAiLz48cGF0aCBkPSJNNjMgNTUuNWEyLjUgMi41IDAgMCAxLTIuNS0yLjVjMC00LjEzNi0zLjM2NC03LjUtNy41LTcuNXMtNy41IDMuMzY0LTcuNSA3LjVhMi41IDIuNSAwIDEgMS01IDBjMC02Ljg5MyA1LjYwNy0xMi41IDEyLjUtMTIuNVM2NS41IDQ2LjEwNyA2NS41IDUzYTIuNSAyLjUgMCAwIDEtMi41IDIuNSIgZmlsbD0iIzAwMCIvPjxwYXRoIGQ9Ik0xMDMgMTgzaDYwYzExLjA0NiAwIDIwLTguOTU0IDIwLTIwVjkzaC02MGMtMTEuMDQ2IDAtMjAgOC45NTQtMjAgMjB2NzB6IiBmaWxsPSIjRkZGRjUwIi8+PHBhdGggZD0iTTE2OC4wMiAxMjRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAyMGgtNTAuMDRhMSAxIDAgMSAxIDAtMmg1MC4wNGExIDEgMCAxIDEgMCAybTAtNDkuODE0aC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAxOS44MTRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJNMTgzIDYxLjYxMWMtLjAxMiAwLS4wMjItLjAwNi0uMDM0LS4wMDUtMy4wOS4xMDUtNC41NTIgMy4xOTYtNS44NDIgNS45MjMtMS4zNDYgMi44NS0yLjM4NyA0LjcwMy00LjA5MyA0LjY0Ny0xLjg4OS0uMDY4LTIuOTY5LTIuMjAyLTQuMTEzLTQuNDYtMS4zMTQtMi41OTQtMi44MTQtNS41MzYtNS45NjMtNS40MjYtMy4wNDYuMTA0LTQuNTEzIDIuNzk0LTUuODA3IDUuMTY3LTEuMzc3IDIuNTI4LTIuMzE0IDQuMDY1LTQuMTIxIDMuOTk0LTEuOTI3LS4wNy0yLjk1MS0xLjgwNS00LjEzNi0zLjgxMy0xLjMyMS0yLjIzNi0yLjg0OC00Ljc1LTUuOTM2LTQuNjY0LTIuOTk0LjEwMy00LjQ2NSAyLjM4NS01Ljc2MyA0LjQtMS4zNzMgMi4xMy0yLjMzNSAzLjQyOC00LjE2NSAzLjM1MS0xLjk3My0uMDctMi45OTItMS41MS00LjE3MS0zLjE3Ny0xLjMyNC0xLjg3My0yLjgxNi0zLjk5My01Ljg5NS0zLjg5LTIuOTI4LjEtNC4zOTkgMS45Ny01LjY5NiAzLjYxOC0xLjIzMiAxLjU2NC0yLjE5NCAyLjgwMi00LjIyOSAyLjcyNGExIDEgMCAwIDAtLjA3MiAyYzMuMDE3LjEwMSA0LjU0NS0xLjggNS44NzItMy40ODcgMS4xNzctMS40OTYgMi4xOTMtMi43ODcgNC4xOTMtMi44NTUgMS45MjYtLjA4MiAyLjgyOSAxLjExNSA0LjE5NSAzLjA0NSAxLjI5NyAxLjgzNCAyLjc2OSAzLjkxNCA1LjczMSA0LjAyMSAzLjEwMy4xMDQgNC41OTYtMi4yMTUgNS45MTgtNC4yNjcgMS4xODItMS44MzQgMi4yMDItMy40MTcgNC4xNS0zLjQ4NCAxLjc5My0uMDY3IDIuNzY5IDEuMzUgNC4xNDUgMy42ODEgMS4yOTcgMi4xOTcgMi43NjYgNC42ODYgNS43ODcgNC43OTYgMy4xMjUuMTA4IDQuNjM0LTIuNjIgNS45NDktNS4wMzUgMS4xMzktMi4wODggMi4yMTQtNC4wNiA0LjExOS00LjEyNiAxLjc5My0uMDQyIDIuNzI4IDEuNTk1IDQuMTExIDQuMzMgMS4yOTIgMi41NTMgMi43NTcgNS40NDUgNS44MjUgNS41NTZsLjE2OS4wMDNjMy4wNjQgMCA0LjUxOC0zLjA3NSA1LjgwNS01Ljc5NCAxLjEzOS0yLjQxIDIuMjE3LTQuNjggNC4wNjctNC43NzN2LTJ6IiBmaWxsPSIjMDAwIi8+PHBhdGggZmlsbD0iIzNFQ0M1RiIgZD0iTTgzIDE4M2g0MHYtNDBIODN6Ii8+PHBhdGggZD0iTTE0MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxNDAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik04MyAxMjNoNDB2LTIwSDgzeiIvPjxwYXRoIGQ9Ik0xMzMgMTE1LjVhMi41IDIuNSAwIDEgMCAwLTVjLS4xMDkgMC0uMjE0LjAxOS0uMzE5LjAzMi0uMDItLjA3NS0uMDM3LS4xNS0uMDU4LS4yMjVhMi41MDEgMi41MDEgMCAwIDAtLjk2My00LjgwN2MtLjU2OSAwLTEuMDg4LjE5Ny0xLjUwOC41MThhNi42NTMgNi42NTMgMCAwIDAtLjE2OC0uMTY4Yy4zMTQtLjQxNy41MDYtLjkzMS41MDYtMS40OTRhMi41IDIuNSAwIDAgMC00LjgtLjk3OUE5Ljk4NyA5Ljk4NyAwIDAgMCAxMjMgMTAzYy01LjUyMiAwLTEwIDQuNDc4LTEwIDEwczQuNDc4IDEwIDEwIDEwYy45MzQgMCAxLjgzMy0uMTM4IDIuNjktLjM3N2EyLjUgMi41IDAgMCAwIDQuOC0uOTc5YzAtLjU2My0uMTkyLTEuMDc3LS41MDYtMS40OTQuMDU3LS4wNTUuMTEzLS4xMTEuMTY4LS4xNjguNDIuMzIxLjkzOS41MTggMS41MDguNTE4YTIuNSAyLjUgMCAwIDAgLjk2My00LjgwN2MuMDIxLS4wNzQuMDM4LS4xNS4wNTgtLjIyNS4xMDUuMDEzLjIxLjAzMi4zMTkuMDMyIiBmaWxsPSIjNDREODYwIi8+PHBhdGggZD0iTTE0MyA0MS43NWMtLjE2IDAtLjMzLS4wMi0uNDktLjA1YTIuNTIgMi41MiAwIDAgMS0uNDctLjE0Yy0uMTUtLjA2LS4yOS0uMTQtLjQzMS0uMjMtLjEzLS4wOS0uMjU5LS4yLS4zOC0uMzEtLjEwOS0uMTItLjIxOS0uMjQtLjMwOS0uMzhzLS4xNy0uMjgtLjIzMS0uNDNhMi42MTkgMi42MTkgMCAwIDEtLjE4OS0uOTZjMC0uMTYuMDItLjMzLjA1LS40OS4wMy0uMTYuMDgtLjMxLjEzOS0uNDcuMDYxLS4xNS4xNDEtLjI5LjIzMS0uNDMuMDktLjEzLjItLjI2LjMwOS0uMzguMTIxLS4xMS4yNS0uMjIuMzgtLjMxLjE0MS0uMDkuMjgxLS4xNy40MzEtLjIzLjE0OS0uMDYuMzEtLjExLjQ3LS4xNC4zMi0uMDcuNjUtLjA3Ljk4IDAgLjE1OS4wMy4zMi4wOC40Ny4xNC4xNDkuMDYuMjkuMTQuNDMuMjMuMTMuMDkuMjU5LjIuMzguMzEuMTEuMTIuMjIuMjUuMzEuMzguMDkuMTQuMTcuMjguMjMuNDMuMDYuMTYuMTEuMzEuMTQuNDcuMDI5LjE2LjA1LjMzLjA1LjQ5IDAgLjY2LS4yNzEgMS4zMS0uNzMgMS43Ny0uMTIxLjExLS4yNS4yMi0uMzguMzEtLjE0LjA5LS4yODEuMTctLjQzLjIzYTIuNTY1IDIuNTY1IDAgMCAxLS45Ni4xOW0yMC0xLjI1Yy0uNjYgMC0xLjMtLjI3LTEuNzcxLS43M2EzLjgwMiAzLjgwMiAwIDAgMS0uMzA5LS4zOGMtLjA5LS4xNC0uMTctLjI4LS4yMzEtLjQzYTIuNjE5IDIuNjE5IDAgMCAxLS4xODktLjk2YzAtLjY2LjI3LTEuMy43MjktMS43Ny4xMjEtLjExLjI1LS4yMi4zOC0uMzEuMTQxLS4wOS4yODEtLjE3LjQzMS0uMjMuMTQ5LS4wNi4zMS0uMTEuNDctLjE0LjMyLS4wNy42Ni0uMDcuOTggMCAuMTU5LjAzLjMyLjA4LjQ3LjE0LjE0OS4wNi4yOS4xNC40My4yMy4xMy4wOS4yNTkuMi4zOC4zMS40NTkuNDcuNzMgMS4xMS43MyAxLjc3IDAgLjE2LS4wMjEuMzMtLjA1LjQ5LS4wMy4xNi0uMDguMzItLjE0LjQ3LS4wNy4xNS0uMTQuMjktLjIzLjQzLS4wOS4xMy0uMi4yNi0uMzEuMzgtLjEyMS4xMS0uMjUuMjItLjM4LjMxLS4xNC4wOS0uMjgxLjE3LS40My4yM2EyLjU2NSAyLjU2NSAwIDAgMS0uOTYuMTkiIGZpbGw9IiMwMDAiLz48L2c+PC9zdmc+"},1015:function(M,e,t){t.d(e,{Z:function(){return L},a:function(){return s}});var i=t(3900);const j={},n=i.createContext(j);function s(M){const e=i.useContext(n);return i.useMemo((function(){return"function"==typeof M?M(e):{...e,...M}}),[e,M])}function L(M){let e;return e=M.disableParentContext?"function"==typeof M.components?M.components(j):M.components||j:s(M.components),i.createElement(n.Provider,{value:e},M.children)}}}]); \ No newline at end of file diff --git a/assets/js/f32c3125.5ae342d7.js b/assets/js/f32c3125.5ae342d7.js new file mode 100644 index 00000000..39bab18d --- /dev/null +++ b/assets/js/f32c3125.5ae342d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9279],{9705:function(s){s.exports=JSON.parse('{"label":"hello","permalink":"/docusaurus-search-local/blog/tags/hello","allTagsPath":"/docusaurus-search-local/blog/tags","count":2,"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/f55d3e7a.94d6f701.js b/assets/js/f55d3e7a.94d6f701.js new file mode 100644 index 00000000..e575b3be --- /dev/null +++ b/assets/js/f55d3e7a.94d6f701.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4193],{622:function(e,s,t){t.r(s),t.d(s,{assets:function(){return l},contentTitle:function(){return i},default:function(){return d},frontMatter:function(){return o},metadata:function(){return c},toc:function(){return a}});var r=t(966),n=t(1015);const o={sidebar_position:5},i="Deploy your site",c={id:"tutorial-basics/deploy-your-site",title:"Deploy your site",description:"Docusaurus is a static-site-generator (also called Jamstack).",source:"@site/docs/tutorial-basics/deploy-your-site.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/deploy-your-site",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/deploy-your-site.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Markdown Features",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features"},next:{title:"Congratulations!",permalink:"/docusaurus-search-local/docs/next/tutorial-basics/congratulations"}},l={},a=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function u(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"}),"\n",(0,r.jsxs)(s.p,{children:["Docusaurus is a ",(0,r.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,r.jsxs)(s.p,{children:["It builds your site as simple ",(0,r.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,r.jsxs)(s.p,{children:["Build your site ",(0,r.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The static files are generated in the ",(0,r.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,r.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,r.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.code,{children:"build"})," folder is now served at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(s.p,{children:["You can now deploy the ",(0,r.jsx)(s.code,{children:"build"})," folder ",(0,r.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,r.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function d(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1015:function(e,s,t){t.d(s,{Z:function(){return c},a:function(){return i}});var r=t(3900);const n={},o=r.createContext(n);function i(e){const s=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fc6a3ea1.73eed0a5.js b/assets/js/fc6a3ea1.73eed0a5.js new file mode 100644 index 00000000..3eb2ea12 --- /dev/null +++ b/assets/js/fc6a3ea1.73eed0a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7317],{2649:function(a){a.exports=JSON.parse('[{"label":"facebook","permalink":"/docusaurus-search-local/blog/tags/facebook","count":1},{"label":"hello","permalink":"/docusaurus-search-local/blog/tags/hello","count":2},{"label":"docusaurus","permalink":"/docusaurus-search-local/blog/tags/docusaurus","count":3},{"label":"hola","permalink":"/docusaurus-search-local/blog/tags/hola","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/main.ee94d906.js b/assets/js/main.ee94d906.js new file mode 100644 index 00000000..9c9c331e --- /dev/null +++ b/assets/js/main.ee94d906.js @@ -0,0 +1,2 @@ +/*! For license information please see main.ee94d906.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{537:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},773:function(e,t,n){"use strict";var r=n(3900),o=n(4932),a=n(3525),i=n(7782),s=n(3043),l=[n(4553),n(6633),n(6797),n(8306)],u=n(9850),c=n(382),d=n(4518),f=n(966);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(743),m=n(2442),g=n(3373),y=n(4715),v=n(4181),b=n(5028),w=n(3936),k=n(488),x=n(181),S=n(3806);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,b.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(h.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},"meta-og-"+e.htmlLang)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?""+n+t:r;return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(v.d,{image:n}),(0,f.jsx)(C,{}),(0,f.jsx)(E,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(h.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function L(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var j=n(537),R=n(1347),N=n(2194);function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=l.map((t=>{var r,o;const a=null!=(r=null==(o=t.default)?void 0:o[e])?r:t[e];return null==a?void 0:a(...n)}));return()=>o.forEach((e=>null==e?void 0:e()))}var P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,N.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class I extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(c.AW,{location:t,render:()=>e})})}}var D=I;const F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return"\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '"+F+"';\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="'+M+'" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+z+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('"+z+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function U(){const{siteConfig:{baseUrl:e}}=(0,m.Z)();return(0,f.jsx)(f.Fragment,{children:!s.Z.canUseDOM&&(0,f.jsx)(h.Z,{children:(0,f.jsx)("script",{children:B(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?(0,f.jsx)(U,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:o}}=(0,m.Z)(),a=(0,g.Z)(e),{htmlLang:i,direction:s}=o[r];return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:a})]})}var H=n(9933),Q=n(5106);function W(){const e=(0,Q.Z)();return(0,f.jsx)(h.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function Z(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return(0,f.jsx)(H.Z,{children:(0,f.jsx)(R.M,{children:(0,f.jsxs)(j.t,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(q,{}),(0,f.jsx)(_,{}),(0,f.jsx)($,{}),(0,f.jsx)(D,{location:L(t),children:e})]}),(0,f.jsx)(W,{})]})})})}var V=n(6887);const G=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r,o;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const i=null!=(r=document.getElementsByTagName("head")[0])?r:null==(o=document.getElementsByName("script")[0])?void 0:o.parentNode;null==i||i.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(7126);const Y=new Set,X=new Set,J=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?G(t).catch((()=>{})):Promise.resolve()})))},preload(e){return!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))}};var te=Object.freeze(ee);const ne=Boolean(!0);if(s.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.B6,{children:(0,f.jsx)(a.VK,{children:(0,f.jsx)(Z,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(s)}},1347:function(e,t,n){"use strict";n.d(t,{_:function(){return d},M:function(){return f}});var r=n(3900),o=n(6809),a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docusaurus-search-local/docs","versions":[{"name":"current","label":"Next","isLast":false,"path":"/docusaurus-search-local/docs/next","mainDocId":"intro","docs":[{"id":"intro","path":"/docusaurus-search-local/docs/next/intro","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/congratulations","path":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-blog-post","path":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-document","path":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-page","path":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/deploy-your-site","path":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/markdown-features","path":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/manage-docs-versions","path":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/translate-your-site","path":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","sidebar":"tutorialSidebar"},{"id":"unlisted-post","path":"/docusaurus-search-local/docs/next/unlisted-post","unlisted":true,"sidebar":"tutorialSidebar"},{"id":"/category/tutorial---basics","path":"/docusaurus-search-local/docs/next/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/docusaurus-search-local/docs/next/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docusaurus-search-local/docs/next/intro","label":"intro"}}}},{"name":"1.0.0","label":"1.0.0","isLast":true,"path":"/docusaurus-search-local/docs","mainDocId":"doc1","docs":[{"id":"doc-in-pt","path":"/docusaurus-search-local/docs/doc-in-pt"},{"id":"doc1","path":"/docusaurus-search-local/docs/","sidebar":"someSidebar"},{"id":"doc2","path":"/docusaurus-search-local/docs/doc2","sidebar":"someSidebar"},{"id":"doc3","path":"/docusaurus-search-local/docs/doc3","sidebar":"someSidebar"},{"id":"mdx","path":"/docusaurus-search-local/docs/mdx","sidebar":"someSidebar"}],"draftIds":[],"sidebars":{"someSidebar":{"link":{"path":"/docusaurus-search-local/docs/","label":"doc1"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en","zh-CN","zh-TW"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"},"zh-CN":{"label":"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09","direction":"ltr","htmlLang":"zh-CN","calendar":"gregory","path":"zh-CN"},"zh-TW":{"label":"\u4e2d\u6587\uff08\u53f0\u7063\uff09","direction":"ltr","htmlLang":"zh-TW","calendar":"gregory","path":"zh-TW"}}}'),s=n(7529),l=JSON.parse('{"docusaurusVersion":"3.0.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.0.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.41.0"}}}'),u=n(966);const c={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(c);function f(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},9933:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3043),a=n(743),i=n(346),s=n(2786),l=n(966);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(a.Z,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){var n;const e={error:t,tryAgain:()=>this.setState({error:null})};return(null!=(n=this.props.fallback)?n:f)(e)}return null!=e?e:null}}},3043:function(e,t){"use strict";const n="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,r={canUseDOM:n,canUseEventListeners:n&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:n&&"IntersectionObserver"in window,canUseViewport:n&&"screen"in window};t.Z=r},743:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(7782),o=n(966);function a(e){return(0,o.jsx)(r.ql,{...e})}},3707:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3525),a=n(346),i=n(2442),s=n(6843),l=n(3043),u=n(966);const c=r.createContext({collectLink:()=>{}});var d=n(3373);function f(e,t){var n,f;let{isNavLink:p,to:h,href:m,activeClassName:g,isActive:y,"data-noBrokenLinkCheck":v,autoAddBaseUrl:b=!0,...w}=e;const{siteConfig:{trailingSlash:k,baseUrl:x}}=(0,i.Z)(),{withBaseUrl:S}=(0,d.C)(),E=(0,r.useContext)(c),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>C.current));const _=h||m;const T=(0,s.Z)(_),L=null==_?void 0:_.replace("pathname://","");let j=void 0!==L?(R=L,b&&(e=>e.startsWith("/"))(R)?S(R):R):void 0;var R;j&&T&&(j=(0,a.applyTrailingSlash)(j,{trailingSlash:k,baseUrl:x}));const N=(0,r.useRef)(!1),A=p?o.OL:o.rU,P=l.Z.canUseIntersectionObserver,O=(0,r.useRef)(),I=()=>{N.current||null==j||(window.docusaurus.preload(j),N.current=!0)};(0,r.useEffect)((()=>(!P&&T&&null!=j&&window.docusaurus.prefetch(j),()=>{P&&O.current&&O.current.disconnect()})),[O,j,P,T]);const D=null!=(n=null==(f=j)?void 0:f.startsWith("#"))&&n,F=!j||!T||D;return F||v||E.collectLink(j),F?(0,u.jsx)("a",{ref:C,href:j,..._&&!T&&{target:"_blank",rel:"noopener noreferrer"},...w}):(0,u.jsx)(A,{...w,onMouseEnter:I,onTouchStart:I,innerRef:e=>{C.current=e,P&&e&&T&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),O.current.observe(e))},to:j,...p&&{isActive:y,activeClassName:g}})}var p=r.forwardRef(f)},1207:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return l}});var r=n(3900),o=n(966);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function s(e){var t,n;let{id:r,message:o}=e;if(void 0===r&&void 0===o)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=i[null!=r?r:o])?n:o)?t:r}function l(e,t){let{message:n,id:r}=e;return a(s({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},63:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r="default"},6843:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return o},b:function(){return r}})},3373:function(e,t,n){"use strict";n.d(t,{C:function(){return i},Z:function(){return s}});var r=n(3900),o=n(2442),a=n(6843);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},2442:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(1347);function a(){return(0,r.useContext)(o._)}},5019:function(e,t,n){"use strict";n.d(t,{OD:function(){return a},eZ:function(){return i}});var r=n(2442),o=n(63);function a(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}function i(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=a(e),i=null==r?void 0:r[t];if(!i&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return i}},5106:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(537);function a(){return(0,r.useContext)(o._)}},2194:function(e,t,n){"use strict";var r=n(3900);const o=n(3043).Z.canUseDOM?r.useLayoutEffect:r.useEffect;t.Z=o},7126:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?o+"."+a:a;r(i)?e(i,s):t[s]=i}))}(e),t}},778:function(e,t,n){"use strict";n.d(t,{_:function(){return a},z:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},8213:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},_r:function(){return l},zh:function(){return u},yW:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){const t=u(e);return a(t)}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}},304:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},Jo:function(){return p},gB:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){return u(e).versions}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function p(e){const t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=a(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},5009:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(3900),l=n(5401),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=d(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function g(){return m||(m=e(h.loader)),m.promise}return u.push(g),"function"==typeof h.webpack&&c.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return a(o(o(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(h.loader),r._loadModule()})),g(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),a(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function m(e){return h(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}a(g,"propTypes",{report:l.func.isRequired}),a(g,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),m.Capture=g,m.preloadAll=function(){return new Promise((function(e,t){y(u).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){y(c).then(e,e)}))},e.exports=m},6797:function(e,t,n){"use strict";n.r(t);var r=n(2130),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}};t.default=a},6633:function(e,t,n){"use strict";n.r(t);var r=n(8334),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(4266),n(4453)("./prism-"+e)})),delete globalThis.Prism}(r.p1)},4974:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});n(3900);var r=n(7515),o=n(1207),a=n(4715),i=n(3707),s={anchorWithStickyNavbar:"anchorWithStickyNavbar_vYcL",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_x1aE"},l=n(966);function u(e){let{as:t,id:n,...u}=e;const{navbar:{hideOnScroll:c}}=(0,a.L)();if("h1"===t||!n)return(0,l.jsx)(t,{...u,id:void 0});const d=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,l.jsxs)(t,{...u,className:(0,r.Z)("anchor",c?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,l.jsx)(i.Z,{className:"hash-link",to:"#"+n,"aria-label":d,title:d,children:"\u200b"})]})}},4153:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r={iconExternalLink:"iconExternalLink_Olb8"},o=n(966);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2786:function(e,t,n){"use strict";n.d(t,{Z:function(){return It}});var r=n(3900),o=n(7515),a=n(9933),i=n(4181),s=n(382),l=n(1207),u=n(8257),c=n(966);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=null!=(n=document.querySelector("main:first-of-type"))?n:document.getElementById(d);var n;t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){var t;const n=null!=(t=e.children)?t:h,{containerRef:r,onClick:o}=p();return(0,c.jsx)("div",{ref:r,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:"#"+d,onClick:o,children:n})})}var g=n(8512),y=n(3936),v={skipToContent:"skipToContent__7wj"};function b(){return(0,c.jsx)(m,{className:v.skipToContent})}var w=n(4715),k=n(3308);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:o,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}var S={closeButton:"closeButton_zp99"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}var C={content:"content_jqJ1"};function _(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}var T={announcementBar:"announcementBar_lHnW",announcementBarPlaceholder:"announcementBarPlaceholder_wKiJ",announcementBarClose:"announcementBarClose_NRWR",announcementBarContent:"announcementBarContent_hYVY"};function L(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,c.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,c.jsx)("div",{className:T.announcementBarPlaceholder}),(0,c.jsx)(_,{className:T.announcementBarContent}),a&&(0,c.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var j=n(3215),R=n(9611);var N=n(5158),A=n(3943);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,j.e)(),t=(0,A.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,N.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(P);if(!e)throw new N.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,A.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(8408),z=n(5106);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function U(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}var $={toggle:"toggle_QpWG",toggleButton:"toggleButton_HA4k",darkToggleIcon:"darkToggleIcon_i3Jm",lightToggleIcon:"lightToggleIcon_tTRg",toggleButtonDisabled:"toggleButtonDisabled_Am9_"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,z.Z)(),s=(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,c.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,c.jsx)(U,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}var H=r.memo(q),Q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_MELe"};function W(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.I)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?Q.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var Z=n(266);function V(){return(0,c.jsx)(Z.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,j.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(V,{}),(0,c.jsx)(W,{className:"margin-right--md"}),(0,c.jsx)(G,{})]})}var Y=n(3707),X=n(3373),J=n(6843);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(4153);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...u}=e;const d=(0,X.Z)(r),f=(0,X.Z)(t),p=(0,X.Z)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,J.Z)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[a,h&&(0,c.jsx)(te.Z,{...s&&{width:12,height:12}})]})};return o?(0,c.jsx)(Y.Z,{href:l?p:o,...u,...m}):(0,c.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...u,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,c.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){var t;let{mobile:n=!1,position:r,...o}=e;const a=n?oe:re;return(0,c.jsx)(a,{...o,activeClassName:null!=(t=o.activeClassName)?t:n?"menu__link--active":"navbar__link--active"})}var ie=n(3663),se=n(4064),le=n(2442);function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ce(e){var t;let{items:n,position:a,className:i,onClick:s,...l}=e;const u=(0,r.useRef)(null),[d,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[u]),(0,c.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===a,"dropdown--show":d}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":d,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!d))},children:null!=(t=l.children)?t:l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:n.map(((e,t)=>(0,r.createElement)(Ze,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function de(e){var t;let{items:n,className:a,position:i,onClick:l,...u}=e;const d=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),f=ue(n,d),{collapsed:p,toggleCollapsed:h,setCollapsed:m}=(0,ie.u)({initialState:()=>!f});return(0,r.useEffect)((()=>{f&&m(!f)}),[d,f,m]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,o.Z)("menu__link menu__link--sublist menu__link--sublist-caret",a),...u,onClick:e=>{e.preventDefault(),h()},children:null!=(t=u.children)?t:u.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:n.map(((e,t)=>(0,r.createElement)(Ze,{mobile:!0,isDropdownItem:!0,onClick:l,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?de:ce;return(0,c.jsx)(r,{...n})}var pe=n(5028);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}var me="iconLanguage_RUbi";var ge=n(3771),ye=n(4924),ve=n(8213),be=n(1316),we=n(6329),ke=n(557),xe=n(5486),Se=n(6481),Ee=n(7833),Ce=n(596);const _e='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',Te='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>',Le='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 5H3h14zm0 5H3h14zm0 5H3h14z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',je='<svg width="20" height="20" viewBox="0 0 20 20"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M18 3v4c0 2-2 4-4 4H2"></path><path d="M8 17l-6-6 6-6"></path></g></svg>',Re='<svg width="40" height="40" viewBox="0 0 20 20" fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"></path></svg>',Ne='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v42M20 27H8.3"></path></g></svg>',Ae='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v21M20 27H8.3"></path></g></svg>';var Pe={searchBar:"searchBar_ZNED",dropdownMenu:"dropdownMenu_KI5l",searchBarLeft:"searchBarLeft_ylsZ",suggestion:"suggestion_m3ms",cursor:"cursor_qOAr",hitTree:"hitTree_TD98",hitIcon:"hitIcon_fMx6",hitPath:"hitPath_nPSC",noResultsIcon:"noResultsIcon_UhOM",hitFooter:"hitFooter_MyWu",hitWrapper:"hitWrapper_FGPj",hitTitle:"hitTitle_jvEB",hitAction:"hitAction_Dksg",hideAction:"hideAction_DX6M",noResults:"noResults_iR5T",searchBarContainer:"searchBarContainer_nwld",searchBarLoadingRing:"searchBarLoadingRing_RHN6",searchClearButton:"searchClearButton_A9Ts",searchIndexLoading:"searchIndexLoading_TSh5",searchHintContainer:"searchHintContainer_yMUd",searchHint:"searchHint_CJly",focused:"focused_xMO5",input:"input_klxF",hint:"hint_rKnm",suggestions:"suggestions_dbK7",dataset:"dataset_sVTZ",empty:"empty_u4uY"};function Oe(e){let{document:t,type:n,page:r,metadata:o,tokens:a,isInterOfTree:i,isLastOfTree:s}=e;const l=n===ke.P.Title,u=n===ke.P.Keywords,c=l||u,d=n===ke.P.Heading,f=[];i?f.push(Ne):s&&f.push(Ae);const p=f.map((e=>'<span class="'+Pe.hitTree+'">'+e+"</span>")),h='<span class="'+Pe.hitIcon+'">'+(c?_e:d?Te:Le)+"</span>",m=['<span class="'+Pe.hitTitle+'">'+(u?(0,Ee.C)(t.s,a):(0,Ce.o)(t.t,(0,Se.m)(o,"t"),a))+"</span>"];if(!i&&!s&&ge.H6){var g;const e=r?null==(g=r.b)?void 0:g.concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;m.push('<span class="'+Pe.hitPath+'">'+(0,xe.e)(null!=e?e:[])+"</span>")}else c||m.push('<span class="'+Pe.hitPath+'">'+(0,Ee.C)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),a)+"</span>");const y='<span class="'+Pe.hitAction+'">'+je+"</span>";return[...p,h,'<span class="'+Pe.hitWrapper+'">',...m,"</span>",y].join("")}function Ie(){return'<span class="'+Pe.noResults+'"><span class="'+Pe.noResultsIcon+'">'+Re+"</span><span>"+(0,l.I)({id:"theme.SearchBar.noResultsText",message:"No results"})+"</span></span>"}var De=n(6192),Fe=n(7208);async function Me(){const e=await Promise.all([n.e(5920),n.e(8133)]).then(n.t.bind(n,5920,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const ze="_highlight";var Be=function(e){var t,n;let{handleSearchBarToggle:a}=e;const i=(0,z.Z)(),{siteConfig:{baseUrl:u},i18n:{currentLocale:d}}=(0,le.Z)(),f=(0,ve.gA)();let p=u;try{var h;const{preferredVersion:e}=(0,ye.J)(null!=(h=null==f?void 0:f.pluginId)?h:ge.gQ);e&&!e.isLast&&(p=e.path+"/")}catch($){if(ge.l9&&!($ instanceof N.i6))throw $}const m=(0,s.k6)(),g=(0,s.TH)(),y=(0,r.useRef)(null),v=(0,r.useRef)(new Map),b=(0,r.useRef)(!1),[w,k]=(0,r.useState)(!1),[x,S]=(0,r.useState)(!1),[E,C]=(0,r.useState)(""),_=(0,r.useRef)(null),T=(0,r.useRef)(""),[L,j]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(ge.Kc))return;let e="";if(g.pathname.startsWith(p)){const t=g.pathname.substring(p.length);let n;for(const e of ge.Kc){const r="string"==typeof e?e:e.path;if(t===r||t.startsWith(r+"/")){n=r;break}}n&&(e=n)}T.current!==e&&(v.current.delete(e),T.current=e),j(e)}),[g.pathname,p]);const R=!!ge.hG&&Array.isArray(ge.Kc)&&""===L,A=(0,r.useCallback)((async()=>{var e;if(R||v.current.get(L))return;v.current.set(L,"loading"),null==(e=_.current)||e.autocomplete.destroy(),k(!0);const[{wrappedIndexes:t,zhDictionary:n},r]=await Promise.all([(0,be.w)(p,L),Me()]);if(_.current=r(y.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,o.Z)(Pe.searchBar,{[Pe.searchBarLeft]:"left"===ge.pu}),noPrefix:!0,dropdownMenu:Pe.dropdownMenu,input:Pe.input,hint:Pe.hint,suggestions:Pe.suggestions,suggestion:Pe.suggestion,cursor:Pe.cursor,dataset:Pe.dataset,empty:Pe.empty}},[{source:(0,we.v)(t,n,ge.qo),templates:{suggestion:Oe,empty:Ie,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&(!L||!ge.pQ))return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),o=new URLSearchParams;let a;if(o.set("q",t),L){const e=L&&Array.isArray(ge.Kc)?ge.Kc.find((e=>"string"==typeof e?e===L:e.path===L)):L,t=e?(0,Fe._)(e,d).label:L;a=ge.pQ&&n?(0,l.I)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:t}):(0,l.I)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:t})}else a=(0,l.I)({id:"theme.SearchBar.seeAll",message:"See all results"});if(!L||!Array.isArray(ge.Kc)||ge.pQ&&n||o.set("ctx",L),p!==u){if(!p.startsWith(u))throw new Error("Version url '"+p+"' does not start with base url '"+u+"', this is a bug of `@easyops-cn/docusaurus-search-local`, please report it.");o.set("version",p.substring(u.length))}const i=u+"search?"+o.toString();return r.href=i,r.textContent=a,r.addEventListener("click",(e=>{var t;e.ctrlKey||e.metaKey||(e.preventDefault(),null==(t=_.current)||t.autocomplete.close(),m.push(i))})),r})({query:t,isEmpty:n}),o=document.createElement("div");return o.className=Pe.hitFooter,o.appendChild(r),o}}}]).on("autocomplete:selected",(function(e,t){var n;let{document:{u:r,h:o},tokens:a}=t;null==(n=y.current)||n.blur();let i=r;if(ge.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append(ze,t);i+="?"+e.toString()}o&&(i+=o),m.push(i)})).on("autocomplete:closed",(()=>{var e;null==(e=y.current)||e.blur()})),v.current.set(L,"done"),k(!1),b.current){const e=y.current;var a;if(e.value)null==(a=_.current)||a.autocomplete.open();e.focus()}}),[R,L,p,u,m]);(0,r.useEffect)((()=>{if(!ge.vc)return;const e=i?new URLSearchParams(g.search).getAll(ze):[];setTimeout((()=>{var t;const n=document.querySelector("article");if(!n)return;const r=new ge.vc(n);r.unmark(),0!==e.length&&r.mark(e),C(e.join(" ")),null==(t=_.current)||t.autocomplete.setVal(e.join(" "))}))}),[i,g.search,g.pathname]);const[P,O]=(0,r.useState)(!1),I=(0,r.useCallback)((()=>{b.current=!0,A(),O(!0),null==a||a(!0)}),[a,A]),D=(0,r.useCallback)((()=>{O(!1),null==a||a(!1)}),[a]),F=(0,r.useCallback)((()=>{A()}),[A]),M=(0,r.useCallback)((e=>{C(e.target.value),e.target.value&&S(!0)}),[]),B=!!i&&/mac/i.test(null!=(t=null==(n=navigator.userAgentData)?void 0:n.platform)?t:navigator.platform);(0,r.useEffect)((()=>{if(!ge.AY)return;const e=e=>{var t;!(B?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),null==(t=y.current)||t.focus(),I())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[B,I]);const U=(0,r.useCallback)((()=>{var e;const t=new URLSearchParams(g.search);t.delete(ze);const n=t.toString(),r=g.pathname+(""!=n?"?"+n:"")+g.hash;r!=g.pathname+g.search+g.hash&&m.push(r),C(""),null==(e=_.current)||e.autocomplete.setVal("")}),[g.pathname,g.search,g.hash,m]);return(0,c.jsxs)("div",{className:(0,o.Z)("navbar__search",Pe.searchBarContainer,{[Pe.searchIndexLoading]:w&&x,[Pe.focused]:P}),hidden:R,children:[(0,c.jsx)("input",{placeholder:(0,l.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:F,onFocus:I,onBlur:D,onChange:M,ref:y,value:E}),(0,c.jsx)(De.Z,{className:Pe.searchBarLoadingRing}),ge.AY&&ge.t_&&(""!==E?(0,c.jsx)("button",{className:Pe.searchClearButton,onClick:U,children:"\u2715"}):i&&(0,c.jsxs)("div",{className:Pe.searchHintContainer,children:[(0,c.jsx)("kbd",{className:Pe.searchHint,children:B?"\u2318":"ctrl"}),(0,c.jsx)("kbd",{className:Pe.searchHint,children:"K"})]}))]})},Ue={navbarSearchContainer:"navbarSearchContainer_bYhf"};function $e(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(n,Ue.navbarSearchContainer),children:t})}var qe=n(304),He=n(3025);const Qe=e=>e.docs.find((t=>t.id===e.mainDocId));var We={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,le.Z)(),f=(0,pe.l)(),{search:p,hash:h}=(0,s.TH)(),m=[...n,...u.map((e=>{const n=""+("pathname://"+f.createUrl({locale:e,fullyQualified:!1}))+p+h+o;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...a,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)($e,{className:n,children:(0,c.jsx)(Be,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,c.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,qe.Iw)(r),i=(0,He.vY)(t,r),s=(null==a?void 0:a.path)===(null==i?void 0:i.path);return null===i||i.unlisted&&!s?null:(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>s||!(null==a||!a.sidebar)&&a.sidebar===i.sidebar,label:null!=n?n:i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,qe.Iw)(r),i=(0,He.oz)(t,r).link;if(!i)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>(null==a?void 0:a.sidebar)===t,label:null!=n?n:i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,He.lO)(r)[0],i=null!=t?t:a.label,s=null!=n?n:(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,c.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:u,hash:d}=(0,s.TH)(),f=(0,qe.Iw)(n),p=(0,qe.gB)(n),{savePreferredVersionName:h}=(0,ye.J)(n),m=[...o,...p.map((e=>{var t;const n=null!=(t=f.alternateDocVersions[e.name])?t:Qe(e);return{label:e.label,to:""+n.path+u+d,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}})),...a],g=(0,He.lO)(n)[0],y=t&&m.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,v=t&&m.length>1?void 0:Qe(g).path;return m.length<=1?(0,c.jsx)(ae,{...i,mobile:t,label:y,to:v,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:v,items:m,isActive:r?()=>!1:void 0})}};function Ze(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=We[r];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return(0,c.jsx)(o,{...n})}function Ve(){const e=(0,j.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ze,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ge(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ke(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Ge,{onClick:()=>t.hide()}),t.content]})}function Ye(){const e=(0,j.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(F,{header:(0,c.jsx)(K,{}),primaryMenu:(0,c.jsx)(Ve,{}),secondaryMenu:(0,c.jsx)(Ke,{})}):null}var Xe={navbarHideable:"navbarHideable_w2xG",navbarHidden:"navbarHidden_bQ_v"};function Je(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function et(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,w.L)(),i=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,R.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<a.current)return void n(!0);if(o.current)return void(o.current=!1);const s=null==r?void 0:r.scrollY,l=document.documentElement.scrollHeight-a.current,u=window.innerHeight;s&&i>=s?n(!1):i+u<l&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:s,"aria-label":(0,l.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Xe.navbarHideable,!d&&Xe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Je,{onClick:i.toggle}),(0,c.jsx)(Ye,{})]})}var tt=n(346),nt={errorBoundaryError:"errorBoundaryError_Aej3",errorBoundaryFallback:"errorBoundaryFallback_Bfw0"};function rt(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function ot(e){let{error:t}=e;const n=(0,tt.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:nt.errorBoundaryError,children:n})}class at extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const it="right";function st(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function lt(){const{toggle:e,shown:t}=(0,j.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,l.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(st,{})})}var ut={colorModeToggle:"colorModeToggle_A5xQ"};function ct(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(at,{onError:t=>new Error("A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n"+JSON.stringify(e,null,2),{cause:t}),children:(0,c.jsx)(Ze,{...e})},t)))})}function dt(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function ft(){const e=(0,j.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){var t;return"left"===(null!=(t=e.position)?t:it)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(dt,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(lt,{}),(0,c.jsx)(V,{}),(0,c.jsx)(ct,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ct,{items:r}),(0,c.jsx)(W,{className:ut.colorModeToggle}),!o&&(0,c.jsx)($e,{children:(0,c.jsx)(Be,{})})]})})}function pt(){return(0,c.jsx)(et,{children:(0,c.jsx)(ft,{})})}function ht(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,X.Z)(n),l=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function mt(e){var t;let{item:n}=e;return n.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(ht,{item:n})},null!=(t=n.href)?t:n.to)}function gt(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(mt,{item:e},t)))})]})}function yt(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(gt,{column:e},t)))})}function vt(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function bt(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(ht,{item:t})}function wt(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(bt,{item:e}),t.length!==n+1&&(0,c.jsx)(vt,{})]},n)))})})}function kt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(yt,{columns:t}):(0,c.jsx)(wt,{links:t})}var xt=n(3108),St={footerLogoLink:"footerLogoLink_TWN7"};function Et(e){var t;let{logo:n}=e;const{withBaseUrl:r}=(0,X.C)(),a={light:r(n.src),dark:r(null!=(t=n.srcDark)?t:n.src)};return(0,c.jsx)(xt.Z,{className:(0,o.Z)("footer__logo",n.className),alt:n.alt,sources:a,width:n.width,height:n.height,style:n.style})}function Ct(e){let{logo:t}=e;return t.href?(0,c.jsx)(Y.Z,{href:t.href,className:St.footerLogoLink,target:t.target,children:(0,c.jsx)(Et,{logo:t})}):(0,c.jsx)(Et,{logo:t})}function _t(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Tt(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function Lt(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(Tt,{style:o,links:n&&n.length>0&&(0,c.jsx)(kt,{links:n}),logo:r&&(0,c.jsx)(Ct,{logo:r}),copyright:t&&(0,c.jsx)(_t,{copyright:t})})}var jt=r.memo(Lt);const Rt=(0,N.Qc)([M.S,k.pl,R.OC,ye.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(A.n2,{children:(0,c.jsx)(j.M,{children:(0,c.jsx)(O,{children:t})})})}]);function Nt(e){let{children:t}=e;return(0,c.jsx)(Rt,{children:t})}var At=n(4974);function Pt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(At.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(rt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(ot,{error:t})})]})})})}var Ot={mainWrapper:"mainWrapper_se6T"};function It(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,y.t)(),(0,c.jsxs)(Nt,{children:[(0,c.jsx)(i.d,{title:s,description:l}),(0,c.jsx)(b,{}),(0,c.jsx)(L,{}),(0,c.jsx)(pt,{}),(0,c.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,Ot.mainWrapper,r),children:(0,c.jsx)(a.Z,{fallback:e=>(0,c.jsx)(Pt,{...e}),children:t})}),!n&&(0,c.jsx)(jt,{})]})}},266:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(3900);var r=n(3707),o=n(3373),a=n(2442),i=n(4715),s=n(3108),l=n(966);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,l.jsx)(s.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function c(e){var t;const{siteConfig:{title:n}}=(0,a.Z)(),{navbar:{title:s,logo:c}}=(0,i.L)(),{imageClassName:d,titleClassName:f,...p}=e,h=(0,o.Z)((null==c?void 0:c.href)||"/"),m=s?"":n,g=null!=(t=null==c?void 0:c.alt)?t:m;return(0,l.jsxs)(r.Z,{to:h,...p,...(null==c?void 0:c.target)&&{target:c.target},children:[c&&(0,l.jsx)(u,{logo:c,alt:g,imageClassName:d}),null!=s&&(0,l.jsx)("b",{className:f,children:s})]})}},3806:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(743),o=n(966);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},3108:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(3900),o=n(7515),a=n(5106),i=n(8408),s={themedComponent:"themedComponent_lAfP","themedComponent--light":"themedComponent--light_XB4J","themedComponent--dark":"themedComponent--dark_kBbf"},l=n(966);function u(e){let{className:t,children:n}=e;const u=(0,a.Z)(),{colorMode:c}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s["themedComponent--"+e])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},3663:function(e,t,n){"use strict";n.d(t,{u:function(){return u},z:function(){return y}});var r=n(3900),o=n(3043),a=n(2194),i=n(7525),s=n(966);const l="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(null!=t&&t),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){var t,n;const r=e.scrollHeight,a=null!=(t=null==o?void 0:o.duration)?t:function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(r);return{transition:"height "+a+"ms "+(null!=(n=null==o?void 0:o.easing)?n:l),height:r+"px"}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return f(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.Z.canUseDOM)return e?c:d}function m(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:c,style:u?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(c.current,n),null==i||i(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,u]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&u(t)}),[o,t]),o?(0,s.jsx)(m,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},3308:function(e,t,n){"use strict";n.d(t,{nT:function(){return m},pl:function(){return h}});var r=n(3900),o=n(5106),a=n(4780),i=n(5158),s=n(4715),l=n(966);const u=(0,a.WA)("docusaurus.announcement.dismiss"),c=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&f(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},8408:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return g}});var r=n(3900),o=n(3043),a=n(5158),i=n(4780),s=n(4715),l=n(966);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[o,a]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&m(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[o,i])}();return(0,l.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4924:function(e,t,n){"use strict";n.d(t,{J:function(){return b},L5:function(){return y}});var r=n(3900),o=n(8213),a=n(63),i=n(4715),s=n(3025),l=n(5158),u=n(4780),c=n(966);const d=e=>"docs-preferred-version-"+e,f={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,c.jsx)(h.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.cE?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function v(){const e=(0,r.useContext)(h);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function b(e){var t;void 0===e&&(e=a.m);const n=(0,o.zh)(e),[i,s]=v(),{preferredVersionName:l}=i[e];return{preferredVersion:null!=(t=n.versions.find((e=>e.name===l)))?t:null,savePreferredVersionName:(0,r.useCallback)((t=>{s.savePreferredVersion(e,t)}),[s,e])}}},9888:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return l}});var r=n(3900),o=n(5158),a=n(966);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},7924:function(e,t,n){"use strict";n.d(t,{E:function(){return l},q:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},3215:function(e,t,n){"use strict";n.d(t,{M:function(){return p},e:function(){return h}});var r=n(3900),o=n(3943),a=n(879),i=n(382),s=n(5158);function l(e){!function(e){const t=(0,i.k6)(),n=(0,s.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(4715),c=n(966);const d=r.createContext(void 0);function f(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const c=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function p(e){let{children:t}=e;const n=f();return(0,c.jsx)(d.Provider,{value:n,children:t})}function h(){const e=r.useContext(d);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3943:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},Zo:function(){return u},n2:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Ql)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},3936:function(e,t,n){"use strict";n.d(t,{h:function(){return o},t:function(){return a}});var r=n(3900);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},879:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(3900),o=n(3043);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(){const[e,t]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){t(function(){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?a.desktop:a.mobile}())}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},8512:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>"theme-admonition-"+e},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>"theme-doc-sidebar-item-category-level-"+e,docSidebarItemLinkLevel:e=>"theme-doc-sidebar-item-link-level-"+e},blog:{}}},7525:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},3025:function(e,t,n){"use strict";n.d(t,{MN:function(){return T},LM:function(){return h},_F:function(){return v},cE:function(){return f},jA:function(){return m},xz:function(){return p},SN:function(){return _},lO:function(){return S},vY:function(){return C},oz:function(){return E},s1:function(){return x},f:function(){return w}});var r=n(3900),o=n(382),a=n(4518),i=n(8213),s=n(4924),l=n(7924),u=n(9888);function c(e){return Array.from(new Set(e))}var d=n(4064);const f=!!i._r;function p(e){const t=(0,l.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error("no version doc found by id="+e);return n}function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=h(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,o.TH)(),t=(0,u.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(e+" is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.");return n}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),y=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||y(e.items,t))}function b(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||v(e,t);default:return!1}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function x(){var e;const t=(0,u.V)(),{pathname:n}=(0,o.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?k({sidebarItems:t.items,pathname:n}):null}function S(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,s.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((e=>e.name)).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((e=>e[0])).join("\n- "));return r[1]}),[e,n])}function C(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((e=>e.name)).join(", ")+'".\nAvailable doc ids are:\n- '+c(t.map((e=>e.id))).join("\n- "))}return r}),[e,n])}function _(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,l.E)(),i=t.routes,s=i.find((e=>(0,o.LX)(n.pathname,e)));if(!s)return null;const u=s.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.H)(i),sidebarName:u,sidebarItems:c}}function T(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!h(e)))}},4181:function(e,t,n){"use strict";n.d(t,{FG:function(){return p},d:function(){return d},VC:function(){return h}});var r=n(3900),o=n(7515),a=n(743),i=n(778);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(3373),u=n(2442);var c=n(966);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),{withBaseUrl:d}=(0,l.C)(),f=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.Z,{children:[t&&(0,c.jsx)("title",{children:s}),t&&(0,c.jsx)("meta",{property:"og:title",content:s}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,o.Z)(i,t);return(0,c.jsxs)(f.Provider,{value:s,children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"");const a="plugin-id-"+n.plugin.id;return(0,c.jsx)(p,{className:(0,o.Z)(r,a),children:t})}},5158:function(e,t,n){"use strict";n.d(t,{D9:function(){return s},Qc:function(){return c},Ql:function(){return u},i6:function(){return l},zX:function(){return i}});var r=n(3900),o=n(2194),a=n(966);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r;super(),this.name="ReactContextError",this.message="Hook "+(null!=(n=null==(r=this.stack)||null==(r=r.split("\n")[1])||null==(r=r.match(/at (?:\w+\.)?(?<name>\w+)/))?void 0:r.groups.name)?n:"")+" is called outside the <"+e+">. "+(null!=t?t:"")}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},4064:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return s}});var r=n(3900),o=n(9850),a=n(2442);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>{var t;return null!=(t=e.routes)?t:[]})))}(n)}({routes:o.Z,baseUrl:e})),[e])}},9611:function(e,t,n){"use strict";n.d(t,{Ct:function(){return p},OC:function(){return u},RF:function(){return f}});var r=n(3900),o=n(3043),a=n(5106),i=(n(2194),n(5158)),s=n(966);const l=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},488:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},os:function(){return o}});n(2442);const r="default";function o(e,t){return"docs-"+e+"-"+t}},4780:function(e,t,n){"use strict";n.d(t,{WA:function(){return l}});n(3900);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);const n=a(null==t?void 0:t.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error("Docusaurus storage error, can't listen for changes of key="+e,r),()=>{}}}}}},5028:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2442),o=n(382),a=n(346);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,o.TH)(),u=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),c=s===i?e:e.replace("/"+s+"/","/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return""+(r?t:"")+function(e){return e===i?""+c:""+c+e+"/"}(n)+d}}}},8257:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(3900),o=n(382),a=n(5158);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},4715:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2442);function o(){return(0,r.Z)().siteConfig.themeConfig}},4848:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},346:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(4848);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(231);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},1054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},710:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},181:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(1054);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(710);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},6192:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(3900);var r=n(7515),o={loadingRing:"loadingRing_MTs2","loading-ring":"loading-ring_ymXU"},a=n(966);function i(e){let{className:t}=e;return(0,a.jsxs)("div",{className:(0,r.Z)(o.loadingRing,t),children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]})}},1316:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(8355),o=n.n(r),a=n(3771);const i=new Map;function s(e,t){const n=""+e+t;let r=i.get(n);return r||(r=async function(e,t){{const n=""+e+a.J.replace("{dir}",t?"-"+t.replace(/\//g,"-"):"");if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:o().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},6329:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(8355),o=n.n(r);var a=n(3771);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:o().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?o().Query.wildcard.TRAILING:o().Query.wildcard.NONE})))})))}var l=n(557);function u(e,t,n){return function(r,s){const u=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return o()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,a.dK);if(0===u.length)return void s([]);const c=function(e,t){const n=function(e,t){const n=[];return function e(r,o){if(0===r.length)return void n.push(o);const a=r[0];if(/\p{Unified_Ideograph}/u.test(a)){const n=function(e,t){const n=[];return function e(r,o){let a=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:o.missed,term:o.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>a;t-=1){const l=s.substr(0,t);if(r.substr(0,t)===l){a=t;const s={missed:o.missed,term:o.term.concat({value:l,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:o.missed+1,term:o.term}):o.term.length>0&&n.push(o))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(a,t);for(const t of n){const n=o.concat(...t);e(r.slice(1),n)}}else{const t=o.concat({value:a});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:o().Query.presence.REQUIRED,wildcard:o().Query.wildcard.LEADING|o().Query.wildcard.TRAILING})))}];for(const o of n)o[o.length-1].maybeTyping=!0;const r=[];for(const i of a.dK)if("en"===i)a._k||r.unshift(o().stopWordFilter);else{const e=o()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length<r.length&&n.length>0&&t.push(n)}n.push(...t)}else s=n.slice();const l=[];for(const o of s)if(o.length>2)for(let e=o.length-1;e>=0;e-=1)l.push(o.slice(0,e).concat(o.slice(e+1)));return i(n).concat(i(l))}(u,t),d=[];e:for(const{term:t,tokens:o}of c)for(const{documents:r,index:a,type:i}of e)if(d.push(...a.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!d.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-d.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:i!==l.P.Title&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:o,score:t.score}}))),d.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type!==l.P.Heading&&t.type!==l.P.Content&&t.type!==l.P.Description||!t.page?t.index:e.findIndex((e=>e.document===t.page)),o=n.type!==l.P.Heading&&n.type!==l.P.Content&&n.type!==l.P.Description||!n.page?n.index:e.findIndex((e=>e.document===n.page));if(-1===r&&(r=t.index),-1===o&&(o=n.index),r===o){const e=(0===n.type?1:0)-(0===t.type?1:0);return 0===e?t.index-n.index:e}return r-o}))}(d),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.slice(0,n).some((e=>(e.type===l.P.Keywords?e.page:e.document)===t.page))&&(n<e.length-1&&e[n+1].page===t.page?t.isInterOfTree=!0:t.isLastOfTree=!0)}))}(d),s(d)}}},5486:function(e,t,n){"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{e:function(){return r}})},1071:function(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{X:function(){return r}})},6481:function(e,t,n){"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{m:function(){return r}})},7833:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(1071);function o(e,t,n){const a=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&a.push(o(e.substr(0,n),t)),a.push("<mark>"+(0,r.X)(e.substr(n,i.length))+"</mark>");const s=n+i.length;s<e.length&&a.push(o(e.substr(s),t));break}}return 0===a.length?n?"<mark>"+(0,r.X)(e)+"</mark>":(0,r.X)(e):a.join("")}},596:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});var r=n(1071),o=n(7833);const a=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const o=r.match(a);if(!o){t.push(r);break}o.index>0&&t.push(r.substring(0,o.index)),t.push(o[0]),n+=o.index+o[0].length,r=e.substring(n)}return t}var s=n(3771);function l(e,t,n,a){void 0===a&&(a=s.Hk);const{chunkIndex:l,chunks:u}=function(e,t,n){const a=[];let s=0,l=0,u=-1;for(;s<t.length;){const[c,d]=t[s];if(s+=1,!(c<l)){if(c>l){const t=i(e.substring(l,c)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}-1===u&&(u=a.length),l=c+d,a.push({html:(0,o.C)(e.substring(c,l),n,!0),textLength:d})}}if(l<e.length){const t=i(e.substring(l)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}return{chunkIndex:u,chunks:a}}(e,t,n),c=u.slice(0,l),d=u[l],f=[d.html],p=u.slice(l+1);let h=d.textLength,m=0,g=0,y=!1,v=!1;for(;h<a;)if((m<=g||0===p.length)&&c.length>0){const e=c.pop();h+e.textLength<=a?(f.unshift(e.html),m+=e.textLength,h+=e.textLength):(y=!0,c.length=0)}else{if(!(p.length>0))break;{const e=p.shift();h+e.textLength<=a?(f.push(e.html),g+=e.textLength,h+=e.textLength):(v=!0,p.length=0)}}return(y||c.length>0)&&f.unshift("\u2026"),(v||p.length>0)&&f.push("\u2026"),f.join("")}},7208:function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{const{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{_:function(){return r}})},3771:function(e,t,n){"use strict";n.d(t,{vc:function(){return i()},gQ:function(){return g},H6:function(){return f},hG:function(){return b},l9:function(){return y},dK:function(){return s},_k:function(){return l},pu:function(){return m},AY:function(){return p},t_:function(){return h},Kc:function(){return v},J:function(){return u},Hk:function(){return d},qo:function(){return c},pQ:function(){return w}});var r=n(8355),o=n.n(r),a=n(7179),i=n.n(a);n(1651)(o()),n(5634).w(o()),n(5654)(o());const s=["en","zh"],l=!1,u="search-index{dir}.json?_=2cfa5a27",c=8,d=50,f=!0,p=!0,h=!0,m="right",g=void 0,y=!0,v=null,b=!1,w=!1},557:function(e,t,n){"use strict";var r;n.d(t,{P:function(){return r}}),function(e){e[e.Title=0]="Title",e[e.Heading=1]="Heading",e[e.Description=2]="Description",e[e.Keywords=3]="Keywords",e[e.Content=4]="Content"}(r||(r={}))},5634:function(e,t,n){"use strict";function r(e){const t=new RegExp("^[^"+e+"]+","u"),n=new RegExp("[^"+e+"]+$","u");return function(e){return e.update((function(e){return e.replace(t,"").replace(n,"")}))}}function o(e,t){e.trimmerSupport.generateTrimmer=r,e.zh=function(){this.pipeline.reset(),this.pipeline.add(e.zh.trimmer,e.zh.stopWordFilter),t&&(this.tokenizer=t)},t&&(e.zh.tokenizer=t),e.zh.wordCharacters="\\u3400-\\u4DBF\\u4E00-\\u9FFC\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29\\u{20000}-\\u{2A6DD}\\u{2A700}-\\u{2B734}\\u{2B740}-\\u{2B81D}\\u{2B820}-\\u{2CEA1}\\u{2CEB0}-\\u{2EBE0}\\u{30000}-\\u{3134A}",e.zh.trimmer=e.trimmerSupport.generateTrimmer(e.zh.wordCharacters),e.Pipeline.registerFunction(e.zh.trimmer,"trimmer-zh"),e.zh.stopWordFilter=e.generateStopWordFilter("\u7684 \u4e00 \u4e0d \u5728 \u4eba \u6709 \u662f \u4e3a \u4ee5 \u4e8e \u4e0a \u4ed6 \u800c \u540e \u4e4b \u6765 \u53ca \u4e86 \u56e0 \u4e0b \u53ef \u5230 \u7531 \u8fd9 \u4e0e \u4e5f \u6b64 \u4f46 \u5e76 \u4e2a \u5176 \u5df2 \u65e0 \u5c0f \u6211 \u4eec \u8d77 \u6700 \u518d \u4eca \u53bb \u597d \u53ea \u53c8 \u6216 \u5f88 \u4ea6 \u67d0 \u628a \u90a3 \u4f60 \u4e43 \u5b83 \u5427 \u88ab \u6bd4 \u522b \u8d81 \u5f53 \u4ece \u5230 \u5f97 \u6253 \u51e1 \u513f \u5c14 \u8be5 \u5404 \u7ed9 \u8ddf \u548c \u4f55 \u8fd8 \u5373 \u51e0 \u65e2 \u770b \u636e \u8ddd \u9760 \u5566 \u4e86 \u53e6 \u4e48 \u6bcf \u4eec \u561b \u62ff \u54ea \u90a3 \u60a8 \u51ed \u4e14 \u5374 \u8ba9 \u4ecd \u5565 \u5982 \u82e5 \u4f7f \u8c01 \u867d \u968f \u540c \u6240 \u5979 \u54c7 \u55e1 \u5f80 \u54ea \u4e9b \u5411 \u6cbf \u54df \u7528 \u4e8e \u54b1 \u5219 \u600e \u66fe \u81f3 \u81f4 \u7740 \u8bf8 \u81ea".split(" ")),e.Pipeline.registerFunction(e.zh.stopWordFilter,"stopWordFilter-zh")}n.d(t,{w:function(){return o}})},9850:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});n(3900);var r=n(5009),o=n.n(r),a=n(6887),i={"01a85c17":[()=>Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,5538)),"@theme/BlogTagsListPage",5538],"041f6c3c":[()=>n.e(4871).then(n.t.bind(n,3462,19)),"~blog/default/docusaurus-search-local-blog-tags-docusaurus-193-list.json",3462],"0e384e19":[()=>n.e(9671).then(n.bind(n,6133)),"@site/docs/intro.md",6133],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,2260)),"@theme/DocCategoryGeneratedIndexPage",2260],17896441:[()=>Promise.all([n.e(532),n.e(2118),n.e(7918)]).then(n.bind(n,6820)),"@theme/DocItem",6820],"18c41134":[()=>n.e(2859).then(n.bind(n,70)),"@site/docs/tutorial-basics/markdown-features.mdx",70],"1a4922cc":[()=>n.e(8293).then(n.bind(n,3129)),"@site/versioned_docs/version-1.0.0/doc3.md",3129],"1a4e3797":[()=>Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,8713)),"@theme/SearchPage",8713],"1cbf0e34":[()=>n.e(7195).then(n.t.bind(n,2776,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/@easyops-cn/docusaurus-search-local/default/plugin-route-context-module-100.json",2776],"1e4232ab":[()=>n.e(8818).then(n.bind(n,1567)),"@site/docs/tutorial-basics/create-a-document.md",1567],"269baefd":[()=>n.e(8611).then(n.bind(n,1112)),"@site/versioned_docs/version-1.0.0/mdx.mdx",1112],"2868cdab":[()=>n.e(4061).then(n.bind(n,6586)),"@site/blog/2019-05-30-welcome.md",6586],"337aaa52":[()=>n.e(4854).then(n.bind(n,4937)),"@site/docs/unlisted-post.md",4937],"3570154c":[()=>n.e(3707).then(n.bind(n,98)),"@site/blog/2019-05-29-hello-world.md?truncated=true",98],"3720c009":[()=>Promise.all([n.e(532),n.e(3751)]).then(n.bind(n,3821)),"@theme/DocTagsListPage",3821],"3836748f":[()=>n.e(7157).then(n.t.bind(n,473,19)),"~docs/default/tag-docusaurus-search-local-docs-next-tags-keywords-ff0.json",473],"3a35335b":[()=>n.e(5322).then(n.bind(n,9679)),"@site/blog/2019-06-15-writing-good-unit-tests.md",9679],"4ef90ec5":[()=>n.e(3977).then(n.t.bind(n,7505,19)),"~blog/default/docusaurus-search-local-blog-tags-hola-b64-list.json",7505],"51ff1c5c":[()=>n.e(8870).then(n.t.bind(n,141,19)),"~docs/default/tag-docusaurus-search-local-docs-next-tags-front-matter-d0f.json",141],"533a09ca":[()=>n.e(4607).then(n.bind(n,3089)),"@site/docs/tutorial-basics/create-a-blog-post.md",3089],55526312:[()=>n.e(3408).then(n.bind(n,3321)),"@site/versioned_docs/version-1.0.0/doc2.md",3321],"55960ee5":[()=>n.e(4121).then(n.t.bind(n,8070,19)),"~docs/default/tags-list-current-prop-15a.json",8070],"576345ff":[()=>n.e(2449).then(n.t.bind(n,3973,19)),"~blog/default/docusaurus-search-local-blog-tags-facebook-f3a-list.json",3973],"5c868d36":[()=>n.e(5589).then(n.bind(n,3408)),"@site/docs/tutorial-basics/create-a-page.md",3408],"5d47c0b1":[()=>n.e(4811).then(n.t.bind(n,4851,19)),"~blog/default/docusaurus-search-local-blog-tags-hello-f13-list.json",4851],"5e95c892":[()=>n.e(9661).then(n.bind(n,1013)),"@theme/DocsRoot",1013],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"62e81aa6":[()=>n.e(5329).then(n.t.bind(n,4421,19)),"~docs/default/version-1-0-0-metadata-prop-608.json",4421],"6875c492":[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(8610)]).then(n.bind(n,9829)),"@theme/BlogTagsPostsPage",9829],"69d5d12f":[()=>n.e(4337).then(n.t.bind(n,5347,19)),"~docs/default/category-docusaurus-search-localdocsnext-tutorialsidebar-category-tutorial-basics-e17.json",5347],"6b3775fa":[()=>n.e(4484).then(n.t.bind(n,3769,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"73eb52ae":[()=>n.e(7437).then(n.t.bind(n,5436,19)),"~docs/default/category-docusaurus-search-localdocsnext-tutorialsidebar-category-tutorial-extras-8fa.json",5436],"7acd0c93":[()=>n.e(3125).then(n.t.bind(n,5745,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"807d5d2d":[()=>n.e(1528).then(n.bind(n,5220)),"@site/blog/2019-06-15-writing-good-unit-tests.md?truncated=true",5220],"814f3328":[()=>n.e(2535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"822bd8ab":[()=>n.e(6504).then(n.bind(n,3932)),"@site/docs/tutorial-basics/congratulations.md",3932],"833c5ef7":[()=>n.e(1611).then(n.t.bind(n,8496,19)),"~blog/default/docusaurus-search-local-blog-tags-hola-b64.json",8496],"8e9f0a8a":[()=>n.e(4035).then(n.bind(n,4562)),"@site/blog/2019-05-28-hola.md?truncated=true",4562],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"9e4087bc":[()=>n.e(3608).then(n.bind(n,4160)),"@theme/BlogArchivePage",4160],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(3089)]).then(n.bind(n,3705)),"@theme/BlogListPage",3705],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,9741)),"@theme/DocVersionRoot",9741],a918e87f:[()=>n.e(6025).then(n.t.bind(n,8777,19)),"~blog/default/docusaurus-search-local-blog-1c1.json",8777],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,5578)),"@theme/DocRoot",5578],aafb6b19:[()=>n.e(36).then(n.t.bind(n,7606,19)),"~blog/default/docusaurus-search-local-blog-tags-docusaurus-193.json",7606],af172acd:[()=>n.e(1449).then(n.bind(n,9322)),"@site/blog/2019-05-30-welcome.md?truncated=true",9322],bdd709f1:[()=>n.e(4694).then(n.bind(n,846)),"@site/blog/2019-05-28-hola.md",846],bee82b8a:[()=>n.e(2550).then(n.t.bind(n,3307,19)),"~docs/default/tag-docusaurus-search-local-docs-next-tags-test-ca5.json",3307],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,9750)),"@site/src/pages/index.js",9750],c7798012:[()=>n.e(5560).then(n.bind(n,4361)),"@site/versioned_docs/version-1.0.0/doc-in-pt.md",4361],c84e3717:[()=>n.e(3237).then(n.t.bind(n,7332,19)),"~blog/default/docusaurus-search-local-blog-archive-e49.json",7332],ccc49370:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(6103)]).then(n.bind(n,3378)),"@theme/BlogPostPage",3378],cd2a3a9a:[()=>n.e(8998).then(n.t.bind(n,1247,19)),"~blog/default/docusaurus-search-local-blog-tags-facebook-f3a.json",1247],d3609805:[()=>n.e(8864).then(n.t.bind(n,4469,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],d610846f:[()=>n.e(6176).then(n.bind(n,1940)),"@site/blog/2019-05-29-hello-world.md",1940],df203c0f:[()=>Promise.all([n.e(532),n.e(9924)]).then(n.bind(n,2883)),"@theme/DocTagDocListPage",2883],dff1c289:[()=>n.e(3792).then(n.bind(n,9309)),"@site/docs/tutorial-extras/manage-docs-versions.md",9309],e44a2883:[()=>n.e(6755).then(n.bind(n,7701)),"@site/docs/tutorial-extras/translate-your-site.md",7701],f054516d:[()=>n.e(1771).then(n.bind(n,5679)),"@site/versioned_docs/version-1.0.0/doc1.md",5679],f32c3125:[()=>n.e(9279).then(n.t.bind(n,9705,19)),"~blog/default/docusaurus-search-local-blog-tags-hello-f13.json",9705],f55d3e7a:[()=>n.e(4193).then(n.bind(n,622)),"@site/docs/tutorial-basics/deploy-your-site.md",622],fc6a3ea1:[()=>n.e(7317).then(n.t.bind(n,2649,19)),"~blog/default/docusaurus-search-local-blog-tags-tags-722.json",2649]},s=n(966);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7126),c=n(778);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(7024).then(n.bind(n,7024)),modules:["@theme/NotFound"],webpack:()=>[7024],render(e,t){const n=e.default;return(0,s.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[e+"-"+t],d={},f=[],p=[],h=(0,u.Z)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),o().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,s.jsx)(c.z,{value:i,children:(0,s.jsx)(a,{...o,...n})})}})}var f=[{path:"/docusaurus-search-local/blog",component:d("/docusaurus-search-local/blog","56b"),exact:!0},{path:"/docusaurus-search-local/blog/archive",component:d("/docusaurus-search-local/blog/archive","abc"),exact:!0},{path:"/docusaurus-search-local/blog/hello-world",component:d("/docusaurus-search-local/blog/hello-world","35e"),exact:!0},{path:"/docusaurus-search-local/blog/hola",component:d("/docusaurus-search-local/blog/hola","ca7"),exact:!0},{path:"/docusaurus-search-local/blog/tags",component:d("/docusaurus-search-local/blog/tags","7e7"),exact:!0},{path:"/docusaurus-search-local/blog/tags/docusaurus",component:d("/docusaurus-search-local/blog/tags/docusaurus","c58"),exact:!0},{path:"/docusaurus-search-local/blog/tags/facebook",component:d("/docusaurus-search-local/blog/tags/facebook","769"),exact:!0},{path:"/docusaurus-search-local/blog/tags/hello",component:d("/docusaurus-search-local/blog/tags/hello","c5e"),exact:!0},{path:"/docusaurus-search-local/blog/tags/hola",component:d("/docusaurus-search-local/blog/tags/hola","7dc"),exact:!0},{path:"/docusaurus-search-local/blog/welcome",component:d("/docusaurus-search-local/blog/welcome","35d"),exact:!0},{path:"/docusaurus-search-local/blog/writing-good-unit-tests",component:d("/docusaurus-search-local/blog/writing-good-unit-tests","e19"),exact:!0},{path:"/docusaurus-search-local/search",component:d("/docusaurus-search-local/search","8aa"),exact:!0},{path:"/docusaurus-search-local/docs",component:d("/docusaurus-search-local/docs","149"),routes:[{path:"/docusaurus-search-local/docs/next",component:d("/docusaurus-search-local/docs/next","7b8"),routes:[{path:"/docusaurus-search-local/docs/next/tags",component:d("/docusaurus-search-local/docs/next/tags","057"),exact:!0},{path:"/docusaurus-search-local/docs/next/tags/front-matter",component:d("/docusaurus-search-local/docs/next/tags/front-matter","1da"),exact:!0},{path:"/docusaurus-search-local/docs/next/tags/keywords",component:d("/docusaurus-search-local/docs/next/tags/keywords","cac"),exact:!0},{path:"/docusaurus-search-local/docs/next/tags/test",component:d("/docusaurus-search-local/docs/next/tags/test","110"),exact:!0},{path:"/docusaurus-search-local/docs/next",component:d("/docusaurus-search-local/docs/next","f4f"),routes:[{path:"/docusaurus-search-local/docs/next/category/tutorial---basics",component:d("/docusaurus-search-local/docs/next/category/tutorial---basics","08e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/category/tutorial---extras",component:d("/docusaurus-search-local/docs/next/category/tutorial---extras","963"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/intro",component:d("/docusaurus-search-local/docs/next/intro","952"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/congratulations",component:d("/docusaurus-search-local/docs/next/tutorial-basics/congratulations","7c7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post",component:d("/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","196"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document",component:d("/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","235"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page",component:d("/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","bc7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site",component:d("/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","310"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features",component:d("/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","017"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions",component:d("/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","be5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site",component:d("/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","6ef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/docs/next/unlisted-post",component:d("/docusaurus-search-local/docs/next/unlisted-post","880"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/docusaurus-search-local/docs",component:d("/docusaurus-search-local/docs","aed"),routes:[{path:"/docusaurus-search-local/docs",component:d("/docusaurus-search-local/docs","473"),routes:[{path:"/docusaurus-search-local/docs/",component:d("/docusaurus-search-local/docs/","8bf"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/docs/doc-in-pt",component:d("/docusaurus-search-local/docs/doc-in-pt","5e4"),exact:!0},{path:"/docusaurus-search-local/docs/doc2",component:d("/docusaurus-search-local/docs/doc2","b02"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/docs/doc3",component:d("/docusaurus-search-local/docs/doc3","cd5"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/docs/mdx",component:d("/docusaurus-search-local/docs/mdx","09b"),exact:!0,sidebar:"someSidebar"}]}]}]},{path:"/docusaurus-search-local/",component:d("/docusaurus-search-local/","c6d"),exact:!0},{path:"*",component:d("*")}]},4553:function(e,t,n){"use strict";n.r(t)},8306:function(e,t,n){"use strict";n.r(t)},600:function(e,t,n){"use strict";var r=n(3900),o=n(4179);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,F=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function U(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function V(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&V(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Le(e,t){return e(t)}function je(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Le(e,t,n)}finally{Re=!1,(null!==Se||null!==Ee)&&(je(),Te())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Pe=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Pe=!1}function Ie(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,Fe=null,Me=!1,ze=null,Be={onError:function(e){De=!0,Fe=e}};function Ue(e,t,n,r,o,a,i,s,l){De=!1,Fe=null,Ie.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(a(188))}function Qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return He(o),e;if(i===r)return He(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ze=o.unstable_scheduleCallback,Ve=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~o;0!==s?r=dt(s):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,Ct,_t=!1,Tt=[],Lt=null,jt=null,Rt=null,Nt=new Map,At=new Map,Pt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Lt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=bo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Mt(e)&&n.delete(t)}function Bt(){_t=!1,null!==Lt&&Mt(Lt)&&(Lt=null),null!==jt&&Mt(jt)&&(jt=null),null!==Rt&&Mt(Rt)&&(Rt=null),Nt.forEach(zt),At.forEach(zt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Lt&&Ut(Lt,e),null!==jt&&Ut(jt,e),null!==Rt&&Ut(Rt,e),Nt.forEach(t),At.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Qt(e,t,n,r){var o=bt,a=qt.transition;qt.transition=null;try{bt=1,Zt(e,t,n,r)}finally{bt=o,qt.transition=a}}function Wt(e,t,n,r){var o=bt,a=qt.transition;qt.transition=null;try{bt=4,Zt(e,t,n,r)}finally{bt=o,qt.transition=a}}function Zt(e,t,n,r){if(Ht){var o=Gt(e,t,n,r);if(null===o)Hr(e,t,r,Vt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Lt=Dt(Lt,e,t,n,r,o),!0;case"dragenter":return jt=Dt(jt,e,t,n,r,o),!0;case"mouseover":return Rt=Dt(Rt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Nt.set(a,Dt(Nt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,At.set(a,Dt(At.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&kt(a),null===(a=Gt(e,t,n,r))&&Hr(e,t,r,Vt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Vt=null;function Gt(e,t,n,r){if(Vt=null,null!==(e=bo(e=ke(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=F({},un,{view:0,detail:0}),fn=on(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(F({},pn,{dataTransfer:0})),gn=on(F({},dn,{relatedTarget:0})),yn=on(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(F({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var _n=F({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(_n),Ln=on(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=on(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=on(Nn),Pn=[9,13,27,32],On=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,Fn=c&&(!On||In&&8<In&&11>=In),Mn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Qn(e,t,n,r){_e(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Zn=null;function Vn(e){Mr(e,0)}function Gn(e){if(Z(ko(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Zn=Wn=null)}function nr(e){if("value"===e.propertyName&&Gn(Zn)){var t=[];Qn(t,Zn,e,ke(e)),Ne(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Zn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=V();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=V((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==V(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Wr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),Lr=Cr("animationstart"),jr=Cr("transitionend"),Rr=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Rr.set(e,t),l(t,[e])}for(var Pr=0;Pr<Nr.length;Pr++){var Or=Nr[Pr];Ar(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Ar(_r,"onAnimationEnd"),Ar(Tr,"onAnimationIteration"),Ar(Lr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(jr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if(Ue.apply(this,arguments),De){if(!De)throw Error(a(198));var c=Fe;De=!1,Fe=null,Me||(Me=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Fr(o,s,u),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Fr(o,s,u),a=l}}}if(Me)throw e=ze,Me=!1,ze=null,e}function zr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Kt(t)){case 1:var o=Qt;break;case 4:o=Wt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=bo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Ne((function(){var r=a,o=ke(n),i=[];e:{var s=Rr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":u="focus",l=gn;break;case"focusout":u="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=jn;break;case _r:case Tr:case Lr:l=yn;break;case jr:l=Rn;break;case"scroll":l=fn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ln}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ae(h,f))&&c.push(Qr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),i.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=$e(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ln,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:ko(l),p=null==u?s:ko(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Zr(p))h++;for(p=0,m=f;m;m=Zr(m))p++;for(;0<h-p;)c=Zr(c),h--;for(;0<p-h;)f=Zr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Zr(c),f=Zr(f)}c=null}else c=null;null!==l&&Vr(i,s,l,c,!1),null!==u&&null!==d&&Vr(i,d,u,c,!0)}if("select"===(l=(s=r?ko(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Hn(s))if(Yn)g=ir;else{g=or;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?Qn(i,g,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?ko(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,vr=null);break;case"focusout":vr=yr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,o)}var v;if(On)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else $n?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&($n||"onCompositionStart"!==b?"onCompositionEnd"===b&&$n&&(v=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,$n=!0)),0<(y=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:y}),v?b.data=v:null!==(v=Un(n))&&(b.data=v))),(v=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(zn=!0,Mn);case"textInput":return(e=t.data)===Mn&&zn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v))}Mr(i,t)}))}function Qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ae(e,n))&&r.unshift(Qr(e,a,o)),null!=(a=Ae(e,t))&&r.push(Qr(e,a,o))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Ae(n,a))&&i.unshift(Qr(n,l,s)):o||null!=(l=Ae(n,a))&&i.push(Qr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,yo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ko(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[ho]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function To(e,t){Eo++,So[Eo]=e.current,e.current=t}var Lo={},jo=Co(Lo),Ro=Co(!1),No=Lo;function Ao(e,t){var n=e.type.contextTypes;if(!n)return Lo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Po(e){return null!=(e=e.childContextTypes)}function Oo(){_o(Ro),_o(jo)}function Io(e,t,n){if(jo.current!==Lo)throw Error(a(168));To(jo,t),To(Ro,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lo,No=jo.current,To(jo,e),To(Ro,Ro.current),!0}function Mo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,_o(Ro),_o(jo),To(jo,e)):_o(Ro),To(Ro,n)}var zo=null,Bo=!1,Uo=!1;function $o(e){null===zo?zo=[e]:zo.push(e)}function qo(){if(!Uo&&null!==zo){Uo=!0;var e=0,t=bt;try{var n=zo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zo=null,Bo=!1}catch(o){throw null!==zo&&(zo=zo.slice(e+1)),Ze(Je,qo),o}finally{bt=t,Uo=!1}}return null}var Ho=[],Qo=0,Wo=null,Zo=0,Vo=[],Go=0,Ko=null,Yo=1,Xo="";function Jo(e,t){Ho[Qo++]=Zo,Ho[Qo++]=Wo,Wo=e,Zo=t}function ea(e,t,n){Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Ko=e;var r=Yo;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Yo=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Wo;)Wo=Ho[--Qo],Ho[Qo]=null,Zo=Ho[--Qo],Ho[Qo]=null;for(;e===Ko;)Ko=Vo[--Go],Vo[Go]=null,Xo=Vo[--Go],Vo[Go]=null,Yo=Vo[--Go],Vo[Go]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,t){var n=Au(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function la(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Au(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!la(e,t)){if(ua(e))throw Error(a(418));t=uo(n.nextSibling);var r=ra;t&&la(e,t)?sa(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw pa(),Error(a(418));for(;t;)sa(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var ga=w.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var va=Co(null),ba=null,wa=null,ka=null;function xa(){ka=wa=ba=null}function Sa(e){var t=va.current;_o(va),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){ba=e,ka=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ws=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===ba)throw Error(a(308));wa=e,ba.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var Ta=null;function La(e){null===Ta?Ta=[e]:Ta.push(e)}function ja(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,La(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ra(e,r)}function Ra(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Na=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&jl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ra(e,n)}return null===(o=r.interleaved)?(t.next=t,La(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ra(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Fa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ma(e,t,n,r){var o=e.updateQueue;Na=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=F({},d,f);break e;case 2:Na=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Fl|=i,e.lanes=i,e.memoizedState=d}}function za(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $a={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Oa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ia(e,o,r))&&(ru(t,e,r,n),Da(t,e,r))}};function qa(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,a))}function Ha(e,t,n){var r=!1,o=Lo,a=t.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=Po(t)?No:jo.current,a=(r=null!=(r=t.contextTypes))?Ao(e,o):Lo),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$a,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Qa(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$a.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=Po(t)?No:jo.current,o.context=Ao(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$a.enqueueReplaceState(o,o.state,null),Ma(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Za(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ga(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&Ga(a)===t.type)?((r=o(t,n.props)).ref=Za(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Za(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Du(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Za(e,null,t),n.return=e,n;case x:return(t=zu(t,e.mode,n)).return=e,t;case A:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;Va(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case A:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Va(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Va(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(o,d),aa&&Jo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Jo(o,m),u}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,m),u}function g(o,s,l,u){var c=I(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,g=s=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),aa&&Jo(o,g),c;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(o,v.value,u))&&(s=i(v,s,g),null===d?c=v:d.sibling=v,d=v);return aa&&Jo(o,g),c}for(m=r(o,m);!v.done;g++,v=l.next())null!==(v=h(m,o,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=i(v,s,g),null===d?c=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(o,e)})),aa&&Jo(o,g),c}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===A&&Ga(u)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Za(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Du(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Iu(i.type,i.key,i.props,null,r.mode,l)).ref=Za(r,a,i),l.return=r,r=l)}return s(r);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=zu(i,r.mode,l)).return=r,r=a}return s(r);case A:return e(r,a,(c=i._init)(i._payload),l)}if(te(i))return m(r,a,i,l);if(I(i))return g(r,a,i,l);Va(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Mu(i,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ya=Ka(!0),Xa=Ka(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(To(ni,t),To(ti,e),To(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),To(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(To(ti,e),To(ei,n))}function si(e){ti.current===e&&(_o(ei),_o(ti))}var li=Co(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,mi=null,gi=null,yi=null,vi=!1,bi=!1,wi=0,ki=0;function xi(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),bi){i=0;do{if(bi=!1,wi=0,25<=i)throw Error(a(301));i+=1,yi=gi=null,t.updateQueue=null,fi.current=us,e=n(r,o)}while(bi)}if(fi.current=is,t=null!==gi&&null!==gi.next,hi=0,yi=gi=mi=null,vi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?mi.memoizedState=yi=e:yi=yi.next=e,yi}function Ti(){if(null===gi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===yi?mi.memoizedState:yi.next;if(null!==t)yi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===yi?mi.memoizedState=yi=e:yi=yi.next=e}return yi}function Li(e,t){return"function"==typeof t?t(e):t}function ji(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,mi.lanes|=d,Fl|=d}c=c.next}while(null!==c&&c!==i);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,mi.lanes|=i,Fl|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ri(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ni(){}function Ai(e,t){var n=mi,r=Ti(),o=t(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,ws=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,zi(9,Oi.bind(null,n,r,o,t),void 0,null),null===Rl)throw Error(a(349));0!=(30&hi)||Pi(n,t,o)}return o}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Ii(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Fi(e){var t=Ra(e,1);null!==t&&ru(t,e,1,-1)}function Mi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Li,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,mi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function Ui(e,t,n,r){var o=_i();mi.flags|=e,o.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var o=Ti();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=zi(t,n,a,r))}mi.flags|=e,o.memoizedState=zi(1|t,n,a,r)}function qi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return $i(2048,8,e,t)}function Qi(e,t){return $i(4,2,e,t)}function Wi(e,t){return $i(4,4,e,t)}function Zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Zi.bind(null,t,e),n)}function Gi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),mi.lanes|=n,Fl|=n,e.baseState=!0),t)}function Ji(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function es(){return Ti().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=ja(e,t,n,r))){ru(n,e,r,tu()),as(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(o.next=o,La(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=ja(e,t,o,r))&&(ru(n,e,r,o=tu()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function os(e,t){bi=vi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var is={readContext:_a,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ss={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Mi,useDebugValue:Gi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Mi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Rl)throw Error(a(349));0!=(30&hi)||Pi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Rl.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Vi,useInsertionEffect:Qi,useLayoutEffect:Wi,useMemo:Yi,useReducer:ji,useRef:Bi,useState:function(){return ji(Li)},useDebugValue:Gi,useDeferredValue:function(e){return Xi(Ti(),gi.memoizedState,e)},useTransition:function(){return[ji(Li)[0],Ti().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Ai,useId:es,unstable_isNewReconciler:!1},us={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Vi,useInsertionEffect:Qi,useLayoutEffect:Wi,useMemo:Yi,useReducer:Ri,useRef:Bi,useState:function(){return Ri(Li)},useDebugValue:Gi,useDeferredValue:function(e){var t=Ti();return null===gi?t.memoizedState=e:Xi(t,gi.memoizedState,e)},useTransition:function(){return[Ri(Li)[0],Ti().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Ai,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ql||(Ql=!0,Wl=r),fs(0,t)},n}function ms(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Ia(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=w.ReactCurrentOwner,ws=!1;function ks(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ya(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||ws?(aa&&n&&ta(t),t.flags|=1,ks(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qs(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Pu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Qs(e,t,o)}return t.flags|=1,(e=Ou(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Qs(e,t,o);0!=(131072&e.flags)&&(ws=!0)}}return Ts(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Ol,Pl),Pl|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Ol,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,To(Ol,Pl),Pl|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,To(Ol,Pl),Pl|=r;return ks(e,t,o,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,o){var a=Po(n)?No:jo.current;return a=Ao(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||ws?(aa&&r&&ta(t),t.flags|=1,ks(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qs(e,t,o))}function Ls(e,t,n,r,o){if(Po(n)){var a=!0;Fo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hs(e,t),Ha(t,n,r),Wa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=_a(u):u=Ao(t,u=Po(n)?No:jo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==u)&&Qa(t,i,r,u),Na=!1;var f=t.memoizedState;i.state=f,Ma(t,r,i,o),l=t.memoizedState,s!==r||f!==l||Ro.current||Na?("function"==typeof c&&(Ua(t,n,c,r),l=t.memoizedState),(s=Na||qa(t,n,s,r,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pa(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ya(t.type,s),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=_a(l):l=Ao(t,l=Po(n)?No:jo.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Qa(t,i,r,l),Na=!1,f=t.memoizedState,i.state=f,Ma(t,r,i,o);var h=t.memoizedState;s!==d||f!==h||Ro.current||Na?("function"==typeof p&&(Ua(t,n,p,r),h=t.memoizedState),(u=Na||qa(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return js(e,t,n,r,a,o)}function js(e,t,n,r,o,a){_s(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Mo(t,n,!1),Qs(e,t,a);r=t.stateNode,bs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,s,a)):ks(e,t,s,a),t.memoizedState=r.state,o&&Mo(t,n,!0),t.child}function Rs(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oi(e,t.containerInfo)}function Ns(e,t,n,r,o){return ha(),ma(o),t.flags|=256,ks(e,t,n,r),t.child}var As,Ps,Os,Is,Ds={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,n){var r,o=t.pendingProps,i=li.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),To(li,1&i),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Fu(l,o,0,null),e=Du(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=Ds,e):zs(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,Bs(e,t,s,r=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Fu({mode:"visible",children:r.children},o,0,null),(i=Du(i,o,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ya(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Ds,i);if(0==(1&t.mode))return Bs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Bs(e,t,s,r=ds(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),ws||l){if(null!==(r=Rl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Ra(e,o),ru(r,e,o,-1))}return gu(),Bs(e,t,s,r=ds(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Lu.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=uo(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Yo=e.id,Xo=e.overflow,Ko=t),t=zs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(s){s=o.fallback,l=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ou(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ou(r,s):(s=Du(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Ou(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function zs(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bs(e,t,n,r){return null!==r&&ma(r),Ya(t,e.child,null,n),(e=zs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function $s(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function qs(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(ks(e,t,r.children,n),0!=(2&(r=li.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(li,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$s(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$s(t,!0,n,null,a);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Po(t.type)&&Oo(),Zs(t),null;case 3:return r=t.stateNode,ai(),_o(Ro),_o(jo),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(su(ia),ia=null))),Ps(e,t),Zs(t),null;case 5:si(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Zs(t),null}if(e=ri(ei.current),fa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":oe(r,i),zr("invalid",r)}for(var l in ve(n,i),o=null,i)if(i.hasOwnProperty(l)){var u=i[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&zr("scroll",r)}switch(n){case"input":W(r),J(r,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,As(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],e);o=r;break;case"source":zr("error",e),o=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),o=r;break;case"details":zr("toggle",e),o=r;break;case"input":K(e,r),o=G(e,r),zr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),zr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),zr("invalid",e)}for(i in ve(n,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&b(e,i,c,l))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Zs(t),null;case 13:if(_o(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),i=!1}else null!==ia&&(su(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&li.current)?0===Il&&(Il=3):gu())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return ai(),Ps(e,t),null===e&&$r(t.stateNode.containerInfo),Zs(t),null;case 10:return Sa(t.type._context),Zs(t),null;case 19:if(_o(li),null===(i=t.memoizedState))return Zs(t),null;if(r=0!=(128&t.flags),null===(l=i.rendering))if(r)Ws(i,!1);else{if(0!==Il||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ui(e))){for(t.flags|=128,Ws(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>ql&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Zs(t),null}else 2*Ye()-i.renderingStartTime>ql&&1073741824!==n&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=li.current,To(li,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gs(e,t){switch(na(t),t.tag){case 1:return Po(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(Ro),_o(jo),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(_o(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(li),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}As=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ps=function(){},Os=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=G(e,o),r=G(e,r),i=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in ve(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||l===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Ys=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&tl(t,n,a)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[yo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Ys||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),$t(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&tl(n,t,i),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Ys&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cu(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,pl(e,t,n),Ys=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=ju.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(a(160));hl(i,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Cu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yl(t,e),t=t.sibling}function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),vl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(g){Cu(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Cu(e,e.return,g)}}break;case 1:gl(t,e),vl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),vl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(g){Cu(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Y(o,i),be(l,s);var c=be(l,i);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(l){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(g){Cu(e,e.return,g)}}break;case 6:if(gl(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Cu(e,e.return,g)}}break;case 3:if(gl(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){Cu(e,e.return,g)}break;case 4:default:gl(t,e),vl(e);break;case 13:gl(t,e),vl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||($l=Ye())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(c=Ys)||d,gl(t,e),Ys=c):gl(t,e),vl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Cu(r,n,g)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Js=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(g){Cu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Cu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),vl(e),4&r&&ml(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;ul(e,ll(e),i);break;default:throw Error(a(161))}}catch(s){Cu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var o=Js,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ks;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Ks;var u=Ys;if(Ks=i,(Ys=l)&&!u)for(Js=o;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?Sl(o):null!==l?(l.return=i,Js=l):Sl(o);for(;null!==a;)Js=a,wl(a,t,n),a=a.sibling;Js=o,Ks=s,Ys=u}kl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Js=a):kl(e)}}function kl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ys||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&za(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}za(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(a(163))}Ys||512&t.flags&&al(t)}catch(p){Cu(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Cu(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Cu(t,o,l)}}var a=t.return;try{al(t)}catch(l){Cu(t,a,l)}break;case 5:var i=t.return;try{al(t)}catch(l){Cu(t,i,l)}}}catch(l){Cu(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,Cl=Math.ceil,_l=w.ReactCurrentDispatcher,Tl=w.ReactCurrentOwner,Ll=w.ReactCurrentBatchConfig,jl=0,Rl=null,Nl=null,Al=0,Pl=0,Ol=Co(0),Il=0,Dl=null,Fl=0,Ml=0,zl=0,Bl=null,Ul=null,$l=0,ql=1/0,Hl=null,Ql=!1,Wl=null,Zl=null,Vl=!1,Gl=null,Kl=0,Yl=0,Xl=null,Jl=-1,eu=0;function tu(){return 0!=(6&jl)?Ye():-1!==Jl?Jl:Jl=Ye()}function nu(e){return 0==(1&e.mode)?1:0!=(2&jl)&&0!==Al?Al&-Al:null!==ga.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Yl)throw Yl=0,Xl=null,Error(a(185));yt(e,n,r),0!=(2&jl)&&e===Rl||(e===Rl&&(0==(2&jl)&&(Ml|=n),4===Il&&lu(e,Al)),ou(e,r),1===n&&0===jl&&0==(1&t.mode)&&(ql=Ye()+500,Bo&&qo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),s=1<<i,l=o[i];-1===l?0!=(s&n)&&0==(s&r)||(o[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=ft(e,e===Rl?Al:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Bo=!0,$o(e)}(uu.bind(null,e)):$o(uu.bind(null,e)),io((function(){0==(6&jl)&&qo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ru(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Jl=-1,eu=0,0!=(6&jl))throw Error(a(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Rl?Al:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var o=jl;jl|=2;var i=mu();for(Rl===e&&Al===t||(Hl=null,ql=Ye()+500,pu(e,t));;)try{bu();break}catch(l){hu(e,l)}xa(),_l.current=i,jl=o,null!==Nl?t=0:(Rl=null,Al=0,t=Il)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t)throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=yu(e,r))&&(0!==(i=ht(e))&&(r=i,t=iu(e,i))),1===t))throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,Ul,Hl);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=$l+500-Ye())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,Ul,Hl),t);break}xu(e,Ul,Hl);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,Ul,Hl),r);break}xu(e,Ul,Hl);break;default:throw Error(a(329))}}}return ou(e,Ye()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=Ul,Ul=n,null!==t&&su(t)),e}function su(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function lu(e,t){for(t&=~zl,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&jl))throw Error(a(327));Su();var t=ft(e,0);if(0==(1&t))return ou(e,Ye()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Dl,pu(e,0),lu(e,t),ou(e,Ye()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Ul,Hl),ou(e,Ye()),null}function cu(e,t){var n=jl;jl|=1;try{return e(t)}finally{0===(jl=n)&&(ql=Ye()+500,Bo&&qo())}}function du(e){null!==Gl&&0===Gl.tag&&0==(6&jl)&&Su();var t=jl;jl|=1;var n=Ll.transition,r=bt;try{if(Ll.transition=null,bt=1,e)return e()}finally{bt=r,Ll.transition=n,0==(6&(jl=t))&&qo()}}function fu(){Pl=Ol.current,_o(Ol)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Nl)for(n=Nl.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ai(),_o(Ro),_o(jo),di();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:_o(li);break;case 10:Sa(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Rl=e,Nl=e=Ou(e.current,null),Al=Pl=t,Il=0,Dl=null,zl=Ml=Fl=0,Ul=Bl=null,null!==Ta){for(t=0;t<Ta.length;t++)if(null!==(r=(n=Ta[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ta=null}return e}function hu(e,t){for(;;){var n=Nl;try{if(xa(),fi.current=is,vi){for(var r=mi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}vi=!1}if(hi=0,yi=gi=mi=null,bi=!1,wi=0,Tl.current=null,null===n||null===n.return){Il=1,Dl=t,Nl=null;break}e:{var i=e,s=n.return,l=n,u=t;if(t=Al,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,vs(h,s,l,0,t),1&h.mode&&gs(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){gs(i,c,t),gu();break e}u=Error(a(426))}else if(aa&&1&l.mode){var y=ys(s);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),vs(y,s,l,0,t),ma(cs(u,l));break e}}i=u=cs(u,l),4!==Il&&(Il=2),null===Bl?Bl=[i]:Bl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fa(i,hs(0,u,t));break e;case 1:l=u;var v=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Zl||!Zl.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Fa(i,ms(i,l,t));break e}}i=i.return}while(null!==i)}ku(n)}catch(w){t=w,Nl===n&&null!==n&&(Nl=n=n.return);continue}break}}function mu(){var e=_l.current;return _l.current=is,null===e?is:e}function gu(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===Rl||0==(268435455&Fl)&&0==(268435455&Ml)||lu(Rl,Al)}function yu(e,t){var n=jl;jl|=2;var r=mu();for(Rl===e&&Al===t||(Hl=null,pu(e,t));;)try{vu();break}catch(o){hu(e,o)}if(xa(),jl=n,_l.current=r,null!==Nl)throw Error(a(261));return Rl=null,Al=0,Il}function vu(){for(;null!==Nl;)wu(Nl)}function bu(){for(;null!==Nl&&!Ge();)wu(Nl)}function wu(e){var t=El(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?ku(e):Nl=t,Tl.current=null}function ku(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Vs(n,t,Pl)))return void(Nl=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Nl=n);if(null===e)return Il=6,void(Nl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Nl=t);Nl=t=e}while(null!==t);0===Il&&(Il=5)}function xu(e,t,n){var r=bt,o=Ll.transition;try{Ll.transition=null,bt=1,function(e,t,n,r){do{Su()}while(null!==Gl);if(0!=(6&jl))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Rl&&(Nl=Rl=null,Al=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Vl||(Vl=!0,Ru(tt,(function(){return Su(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ll.transition,Ll.transition=null;var s=bt;bt=1;var l=jl;jl|=4,Tl.current=null,function(e,t){if(eo=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==i||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===i&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ya(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(k){Cu(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),yl(n,e),hr(to),Ht=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ke(),jl=l,bt=s,Ll.transition=i}else e.current=n;if(Vl&&(Vl=!1,Gl=e,Kl=o),i=e.pendingLanes,0===i&&(Zl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ql)throw Ql=!1,e=Wl,Wl=null,e;0!=(1&Kl)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Xl?Yl++:(Yl=0,Xl=e):Yl=0,qo()}(e,t,n,r)}finally{Ll.transition=o,bt=r}return null}function Su(){if(null!==Gl){var e=wt(Kl),t=Ll.transition,n=bt;try{if(Ll.transition=null,bt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Kl=0,0!=(6&jl))throw Error(a(331));var o=jl;for(jl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(0!=(16&Js.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===c){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Js=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(0!=(2048&(i=Js).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Js=v;break e}Js=i.return}}var b=e.current;for(Js=b;null!==Js;){var w=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=b;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(x){Cu(l,l.return,x)}if(l===s){Js=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Js=k;break e}Js=l.return}}if(jl=o,qo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(x){}r=!0}return r}finally{bt=n,Ll.transition=t}}return!1}function Eu(e,t,n){e=Ia(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),ou(e,t))}function Cu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Ia(t,e=ms(t,e=cs(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),ou(t,e));break}}t=t.return}}function _u(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Rl===e&&(Al&n)===n&&(4===Il||3===Il&&(130023424&Al)===Al&&500>Ye()-$l?pu(e,0):zl|=n),ou(e,t)}function Tu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Ra(e,t))&&(yt(e,t,n),ou(e,n))}function Lu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function ju(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Tu(e,n)}function Ru(e,t){return Ze(e,t)}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Au(e,t,n,r){return new Nu(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Au(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Pu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Du(n.children,o,i,t);case E:s=8,o|=8;break;case C:return(e=Au(12,n,t,2|o)).elementType=C,e.lanes=i,e;case j:return(e=Au(13,n,t,o)).elementType=j,e.lanes=i,e;case R:return(e=Au(19,n,t,o)).elementType=R,e.lanes=i,e;case P:return Fu(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case T:s=9;break e;case L:s=11;break e;case N:s=14;break e;case A:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Au(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Au(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Au(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Au(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Au(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,a,i,s,l){return e=new Bu(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Au(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function $u(e){if(!e)return Lo;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Po(n))return Do(e,n,t)}return t}function qu(e,t,n,r,o,a,i,s,l){return(e=Uu(n,r,!0,e,0,a,0,s,l)).context=$u(null),n=e.current,(a=Oa(r=tu(),o=nu(n))).callback=null!=t?t:null,Ia(n,a,o),e.current.lanes=o,yt(e,o,r),ou(e,r),e}function Hu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ia(o,t,i))&&(ru(e,o,i,a),Da(e,o,i)),i}function Qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)ws=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:Rs(t),ha();break;case 5:ii(t);break;case 1:Po(t.type)&&Fo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(va,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(li,1&li.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ms(e,t,n):(To(li,1&li.current),null!==(e=Qs(e,t,n))?e.sibling:null);To(li,1&li.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return qs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Qs(e,t,n)}(e,t,n);ws=0!=(131072&e.flags)}else ws=!1,aa&&0!=(1048576&t.flags)&&ea(t,Zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var o=Ao(t,jo.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Po(r)?(i=!0,Fo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Aa(t),o.updater=$a,t.stateNode=o,o._reactInternals=t,Wa(t,r,e,n),t=js(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),ks(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===N)return 14}return 2}(r),e=ya(r,e),o){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=Ls(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ya(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ls(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 3:e:{if(Rs(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Pa(e,t),Ma(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ns(e,t,r,n,o=cs(Error(a(423)),t));break e}if(r!==o){t=Ns(e,t,r,n,o=cs(Error(a(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=Qs(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==i&&no(r,i)&&(t.flags|=32),_s(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Ms(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,To(va,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!Ro.current){t=Qs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Oa(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ea(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ea(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ks(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=_a(o)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return o=ya(r=t.type,t.pendingProps),Ss(e,t,r,o=ya(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ya(r,o),Hs(e,t),t.tag=1,Po(r)?(e=!0,Fo(t)):e=!1,Ca(t,n),Ha(t,r,o),Wa(t,r,o,n),js(null,t,r,!0,e,n);case 19:return qs(e,t,n);case 22:return Cs(e,t,n)}throw Error(a(156,t.tag))};var Vu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Qu(i);s.call(e)}}Hu(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Qu(i);a.call(e)}}var i=qu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[mo]=i.current,$r(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Qu(l);s.call(e)}}var l=Uu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[mo]=l.current,$r(8===e.nodeType?e.parentNode:e),du((function(){Hu(t,l,n,r)})),l}(n,t,e,o,r);return Qu(i)}Ku.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hu(e,t,null,null)},Ku.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Hu(null,e,null,null)})),t[mo]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Ft(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),ou(t,Ye()),0==(6&jl)&&(ql=Ye()+500,qo()))}break;case 13:du((function(){var t=Ra(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Zu(e,1)}},xt=function(e){if(13===e.tag){var t=Ra(e,134217728);if(null!==t)ru(t,e,134217728,tu());Zu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Ra(e,t);if(null!==n)ru(n,e,t,tu());Zu(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));Z(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Le=cu,je=du;var tc={usingClientEntryPoint:!1,Events:[wo,ko,xo,_e,Te,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(a(299));var n=!1,r="",o=Vu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,$r(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Vu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=qu(t,null,e,1,null!=n?n:null,o,0,i,s),e[mo]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ku(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(a(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},4932:function(e,t,n){"use strict";var r=n(3951);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3951:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(600)},7782:function(e,t,n){"use strict";n.d(t,{B6:function(){return Q},ql:function(){return J}});var r=n(3900),o=n(5401),a=n.n(o),i=n(2227),s=n.n(i),l=n(5479),u=n.n(l),c=n(9494),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},b={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},L=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var s=a[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var s=a[i],l=f({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},j=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},R=function(e){return Array.isArray(e)?e.join(""):e},N=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},A=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},M=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=D(n,o),[r.createElement(g.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=I(n),a=R(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=N(e.metaTags,b),a=N(t,y),i=N(n,v);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,o.priority),F(g.LINK,a.priority),F(g.SCRIPT,i.priority))},toString:function(){return M(g.META,o.priority,r)+" "+M(g.LINK,a.priority,r)+" "+M(g.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);p=h.priorityMethods,c=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:M(g.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",o,r),link:M(g.LINK,c,r),meta:M(g.META,d,r),noscript:M(g.NOSCRIPT,a,r),script:M(g.SCRIPT,f,r),style:M(g.STYLE,i,r),title:M(g.TITLE,{title:l,titleAttributes:u},r)}},B=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),H="undefined"!=typeof document,Q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Q.canUseDOM=H,Q.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},Q.defaultProps={context:{}},Q.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},Z=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===o.indexOf(l)&&o.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;Z(g.BODY,e.bodyAttributes),Z(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=R(e)),Z(g.TITLE,t)}(c,d);var f={baseTag:W(g.BASE,n),linkTags:W(g.LINK,o),metaTags:W(g.META,a),noscriptTags:W(g.NOSCRIPT,i),scriptTags:W(g.SCRIPT,l),styleTags:W(g.STYLE,u)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},G=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:L(g.LINK,["rel","href"],e),metaTags:L(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:L(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:L(g.SCRIPT,["src","innerHTML"],e),styleTags:L(g.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:j(e,"prioritizeSeoTags")});Q.canUseDOM?(t=a,G&&cancelAnimationFrame(G),t.defer?G=requestAnimationFrame((function(){V(t,(function(){G=null}))})):(V(t),G=null)):z&&(o=z(a)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:q.isRequired},K.displayName="HelmetDispatcher";var Y=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(A(this.props,"helmetData"),A(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},o,((t={})[r.type]=i,t.titleAttributes=f({},a),t));case g.BODY:return f({},o,{bodyAttributes:f({},a)});case g.HTML:return f({},o,{htmlAttributes:f({},a)});default:return f({},o,((n={})[r.type]=f({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=m(r,Y),s=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,a),l){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,X),o=f({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof U||(a=new U(a.context,a.instances)),a?r.createElement(K,f({},o,{context:a.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(K,f({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},4518:function(e,t,n){"use strict";n.d(t,{H:function(){return s},f:function(){return i}});var r=n(382),o=n(922),a=n(3900);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},3525:function(e,t,n){"use strict";n.d(t,{OL:function(){return b},VK:function(){return c},rU:function(){return g}});var r=n(382),o=n(7535),a=n(3900),i=n(470),s=n(922),l=n(1360),u=n(3546),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},h=a.forwardRef;void 0===h&&(h=p);var m=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,s.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.createElement("a",c)}));var g=h((function(e,t){var n=e.component,o=void 0===n?m:n,c=e.replace,g=e.to,y=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.Z)({},v,{href:l,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==h?m.ref=t||y:m.innerRef=y,a.createElement(o,m)}))})),y=function(e){return e},v=a.forwardRef;void 0===v&&(v=y);var b=v((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,h=e.className,m=e.exact,b=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(E,n),n),l=i.pathname,T=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),L=T?(0,r.LX)(n.pathname,{path:T,exact:m,sensitive:k,strict:x}):null,j=!!(b?b(L,n):L),R="function"==typeof h?h(j):h,N="function"==typeof S?S(j):S;j&&(R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(R,c),N=(0,s.Z)({},N,p));var A=(0,s.Z)({"aria-current":j&&o||null,className:R,style:N,to:i},_);return y!==v?A.ref=t||C:A.innerRef=C,a.createElement(g,A)}))}))},382:function(e,t,n){"use strict";n.d(t,{AW:function(){return E},F0:function(){return b},LX:function(){return S},TH:function(){return P},k6:function(){return A},rs:function(){return R},s6:function(){return v}});var r=n(7535),o=n(3900),a=n(5401),i=n.n(a),s=n(470),l=n(3546),u=n(922),c=n(7837),d=n.n(c),f=(n(3585),n(1360)),p=(n(850),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var m=o.createContext||function(e,t){var n,a,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((a={})[s]=i().object,a),{Provider:l,Consumer:u}},g=function(e){var t=m();return t.displayName=e,t},y=g("Router-History"),v=g("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,s=void 0!==i&&i,l=n.sensitive,u=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var o=[],a={regexp:d()(e,o,t),keys:o};return x<k&&(r[e]=a,x++),a}(n,{end:a,strict:s,sensitive:u}),o=r.regexp,i=r.keys,l=o.exec(e);if(!l)return null;var c=l[0],f=l.slice(1),p=e===c;return a&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(v.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,a=(0,u.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,c=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(v.Provider,{value:a},a.match?s?"function"==typeof s?s(a):s:c?o.createElement(c,a):d?d(a):null:"function"==typeof s?s(a):null)}))},t}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,s.Ep)(e)}function L(e){return function(){(0,l.Z)(!1)}}function j(){}o.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(v.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);var N=o.useContext;function A(){return N(y)}function P(){return N(v).location}},7515:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},470:function(e,t,n){"use strict";n.d(t,{lX:function(){return w},q_:function(){return _},ob:function(){return p},PP:function(){return L},Ep:function(){return f}});var r=n(922);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),u=s||l;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?a(i,f):".."===p?(a(i,f),d++):d&&(a(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h},s=n(3546);function l(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",v="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(l(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=c(a,C)),p(a,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var L=h();function j(e){(0,r.Z)(U,e),U.length=n.length,L.notifyListeners(U.location,U.action)}function R(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(_(e.state))}function N(){P(_(b()))}var A=!1;function P(e){if(A)A=!1,j();else{L.confirmTransitionTo(e,"POP",x,(function(t){t?j({action:"POP",location:e}):function(e){var t=U.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,F(o))}(e)}))}}var O=_(b()),I=[O.key];function D(e){return C+f(e)}function F(e){n.go(e)}var M=0;function z(e){1===(M+=e)&&1===e?(window.addEventListener(y,R),a&&window.addEventListener(v,N)):0===M&&(window.removeEventListener(y,R),a&&window.removeEventListener(v,N))}var B=!1;var U={length:n.length,action:"POP",location:O,createHref:D,push:function(e,t){var r="PUSH",a=p(e,t,T(),U.location);L.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.pushState({key:i,state:s},null,t),w)window.location.href=t;else{var l=I.indexOf(U.location.key),u=I.slice(0,l+1);u.push(a.key),I=u,j({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,T(),U.location);L.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.replaceState({key:i,state:s},null,t),w)window.location.replace(t);else{var l=I.indexOf(U.location.key);-1!==l&&(I[l]=a.key),j({action:r,location:a})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=L.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=L.appendListener(e);return z(1),function(){z(-1),t()}}};return U}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?g:o,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(l(e.basename)):"",v=x[u],b=v.encodePath,w=v.decodePath;function _(){var e=w(E());return y&&(e=c(e,y)),p(e)}var T=h();function L(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var j=!1,R=null;function N(){var e,t,n=E(),r=b(n);if(n!==r)C(r);else{var o=_(),i=B.location;if(!j&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===f(o))return;R=null,function(e){if(j)j=!1,L();else{var t="POP";T.confirmTransitionTo(e,t,a,(function(n){n?L({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var o=n-r;o&&(j=!0,D(o))}(e)}))}}(o)}}var A=E(),P=b(A);A!==P&&C(P);var O=_(),I=[f(O)];function D(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(k,N):0===F&&window.removeEventListener(k,N)}var z=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(y+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=b(y+t);if(E()!==o){R=t,function(e){window.location.hash=e}(o);var a=I.lastIndexOf(f(B.location)),i=I.slice(0,a+1);i.push(t),I=i,L({action:n,location:r})}else L()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=b(y+t);E()!==o&&(R=t,C(o));var a=I.indexOf(f(B.location));-1!==a&&(I[a]=t),L({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=T.appendListener(e);return M(1),function(){M(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function L(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,u=void 0===l?6:l,c=h();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,u)}var g=T(s,0,a.length-1),y=a.map((function(e){return p(e,void 0,"string"==typeof e?m():e.key||m())})),v=f;function b(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:v,push:function(e,t){var r="PUSH",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},850:function(e,t,n){"use strict";var r=n(3585),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=f(n,y);try{u(t,y,v)}catch(b){}}}}return t}},5479:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},8161:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},5654:function(e,t,n){var r,o;r=function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),n=t.join("-"),r="",o=[],a=[],i=0;i<t.length;++i)"en"==t[i]?(r+="\\w",o.unshift(e.stopWordFilter),o.push(e.stemmer),a.push(e.stemmer)):(r+=e[t[i]].wordCharacters,e[t[i]].stopWordFilter&&o.unshift(e[t[i]].stopWordFilter),e[t[i]].stemmer&&(o.push(e[t[i]].stemmer),a.push(e[t[i]].stemmer)));var s=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(s,"lunr-multi-trimmer-"+n),o.unshift(s),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,o),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,a))}}}},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},1651:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){return function(e){e.stemmerSupport={Among:function(e,t,n,r){if(this.toCharArray=function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},!e&&""!=e||!t&&0!=t||!n)throw"Bad Among initialisation: s:"+e+", substring_i: "+t+", result: "+n;this.s_size=e.length,this.s=this.toCharArray(e),this.substring_i=t,this.result=n,this.method=r},SnowballProgram:function(){var e;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){e=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=e;return e=null,t},in_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o>r||o<n)return this.cursor++,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o>r||o<n)return this.cursor--,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor+r)!=n.charCodeAt(r))return!1;return this.cursor+=t,!0},eq_s_b:function(t,n){if(this.cursor-this.limit_backward<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor-t+r)!=n.charCodeAt(r))return!1;return this.cursor-=t,!0},find_among:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=t[c],h=f;h<p.s_size;h++){if(a+f==i){d=-1;break}if(d=e.charCodeAt(a+f)-p.s[h])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){if(s>=(p=t[r]).s_size){if(this.cursor=a+p.s_size,!p.method)return p.result;var m=p.method();if(this.cursor=a+p.s_size,m)return p.result}if((r=p.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit_backward,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=(h=t[c]).s_size-1-f;p>=0;p--){if(a-f==i){d=-1;break}if(d=e.charCodeAt(a-1-f)-h.s[p])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){var h;if(s>=(h=t[r]).s_size){if(this.cursor=a-h.s_size,!h.method)return h.result;var m=h.method();if(this.cursor=a-h.s_size,m)return h.result}if((r=h.substring_i)<0)return 0}},replace_s:function(t,n,r){var o=r.length-(n-t),a=e.substring(0,t),i=e.substring(n);return e=a+r+i,this.limit+=o,this.cursor>=n?this.cursor+=o:this.cursor>t&&(this.cursor=t),o},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=o)},8355:function(e,t,n){var r,o;!function(){var a,i,s,l,u,c,d,f,p,h,m,g,y,v,b,w,k,x,S,E,C,_,T,L,j,R,N,A,P,O,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.9",I.utils={},I.utils.warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],a=e[o];if(Array.isArray(a))t[o]=a.slice();else{if("string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a)throw new TypeError("clone is not deep and does not support nested objects");t[o]=a}}return t},I.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},I.FieldRef.joiner="/",I.FieldRef.fromString=function(e){var t=e.indexOf(I.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new I.FieldRef(r,n,e)},I.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+I.FieldRef.joiner+this.docRef),this._stringValue},I.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},I.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},I.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},I.Set.prototype.contains=function(e){return!!this.elements[e]},I.Set.prototype.intersect=function(e){var t,n,r,o=[];if(e===I.Set.complete)return this;if(e===I.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var a=0;a<r.length;a++){var i=r[a];i in n.elements&&o.push(i)}return new I.Set(o)},I.Set.prototype.union=function(e){return e===I.Set.complete?I.Set.complete:e===I.Set.empty?this:new I.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},I.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},I.Token=function(e,t){this.str=e||"",this.metadata=t||{}},I.Token.prototype.toString=function(){return this.str},I.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},I.Token.prototype.clone=function(e){return e=e||function(e){return e},new I.Token(e(this.str,this.metadata),this.metadata)},I.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new I.Token(I.utils.asString(e).toLowerCase(),I.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,o=[],a=0,i=0;a<=r;a++){var s=a-i;if(n.charAt(a).match(I.tokenizer.separator)||a==r){if(s>0){var l=I.utils.clone(t)||{};l.position=[i,s],l.index=o.length,o.push(new I.Token(n.slice(i,a),l))}i=a+1}}return o},I.tokenizer.separator=/[\s\-]+/,I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],a=0;a<e.length;a++){var i=r(e[a],a,e);if(null!=i&&""!==i)if(Array.isArray(i))for(var s=0;s<i.length;s++)o.push(i[s]);else o.push(i)}e=o}return e},I.Pipeline.prototype.runString=function(e,t){var n=new I.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},I.Pipeline.prototype.reset=function(){this._stack=[]},I.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return I.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},I.Vector=function(e){this._magnitude=0,this.elements=e||[]},I.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),a=this.elements[2*o];r>1&&(a<e&&(t=o),a>e&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:a<e?2*(o+1):void 0},I.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},I.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},I.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},I.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,a=r.length,i=0,s=0,l=0,u=0;l<o&&u<a;)(i=n[l])<(s=r[u])?l+=2:i>s?u+=2:i==s&&(t+=n[l+1]*r[u+1],l+=2,u+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},I.Vector.prototype.toJSON=function(){return this.elements},I.stemmer=(i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},s={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},d="^("+(u="[^aeiou][^aeiouy]*")+")?"+(c=(l="[aeiouy]")+"[aeiou]*")+u+"("+c+")?$",f="^("+u+")?"+c+u+c+u,p="^("+u+")?"+l,h=new RegExp("^("+u+")?"+c+u),m=new RegExp(f),g=new RegExp(d),y=new RegExp(p),v=/^(.+?)(ss|i)es$/,b=/^(.+?)([^s])s$/,w=/^(.+?)eed$/,k=/^(.+?)(ed|ing)$/,x=/.$/,S=/(at|bl|iz)$/,E=new RegExp("([^aeiouylsz])\\1$"),C=new RegExp("^"+u+l+"[^aeiouwxy]$"),_=/^(.+?[^aeiou])y$/,T=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,L=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,j=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,R=/^(.+?)(s|t)(ion)$/,N=/^(.+?)e$/,A=/ll$/,P=new RegExp("^"+u+l+"[^aeiouwxy]$"),O=function(e){var t,n,r,o,a,l,u;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),a=b,(o=v).test(e)?e=e.replace(o,"$1$2"):a.test(e)&&(e=e.replace(a,"$1$2")),a=k,(o=w).test(e)){var c=o.exec(e);(o=h).test(c[1])&&(o=x,e=e.replace(o,""))}else a.test(e)&&(t=(c=a.exec(e))[1],(a=y).test(t)&&(l=E,u=C,(a=S).test(e=t)?e+="e":l.test(e)?(o=x,e=e.replace(o,"")):u.test(e)&&(e+="e")));return(o=_).test(e)&&(e=(t=(c=o.exec(e))[1])+"i"),(o=T).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+i[n])),(o=L).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+s[n])),a=R,(o=j).test(e)?(t=(c=o.exec(e))[1],(o=m).test(t)&&(e=t)):a.test(e)&&(t=(c=a.exec(e))[1]+c[2],(a=m).test(t)&&(e=t)),(o=N).test(e)&&(t=(c=o.exec(e))[1],a=g,l=P,((o=m).test(t)||a.test(t)&&!l.test(t))&&(e=t)),a=m,(o=A).test(e)&&a.test(e)&&(o=x,e=e.replace(o,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update(O)}),I.Pipeline.registerFunction(I.stemmer,"stemmer"),I.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},I.stopWordFilter=I.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),I.Pipeline.registerFunction(I.stopWordFilter,"stopWordFilter"),I.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},I.Pipeline.registerFunction(I.trimmer,"trimmer"),I.TokenSet=function(){this.final=!1,this.edges={},this.id=I.TokenSet._nextId,I.TokenSet._nextId+=1},I.TokenSet._nextId=1,I.TokenSet.fromArray=function(e){for(var t=new I.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},I.TokenSet.fromClause=function(e){return"editDistance"in e?I.TokenSet.fromFuzzyString(e.term,e.editDistance):I.TokenSet.fromString(e.term)},I.TokenSet.fromFuzzyString=function(e,t){for(var n=new I.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o=r.pop();if(o.str.length>0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new I.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new I.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new I.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?u=o.node.edges[d]:(u=new I.TokenSet,o.node.edges[d]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r<o;r++){var a=e[r],i=r==o-1;if("*"==a)t.edges[a]=t,t.final=i;else{var s=new I.TokenSet;s.final=i,t.edges[a]=s,t=s}}return n},I.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var a=0;a<o;a++){var i=r[a];t.push({prefix:n.prefix.concat(i),node:n.node.edges[i]})}}return e},I.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},I.TokenSet.prototype.intersect=function(e){for(var t=new I.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),a=o.length,i=Object.keys(n.node.edges),s=i.length,l=0;l<a;l++)for(var u=o[l],c=0;c<s;c++){var d=i[c];if(d==u||"*"==u){var f=n.node.edges[d],p=n.qNode.edges[u],h=f.final&&p.final,m=void 0;d in n.output.edges?(m=n.output.edges[d]).final=m.final||h:((m=new I.TokenSet).final=h,n.output.edges[d]=m),r.push({qNode:p,output:m,node:f})}}}return t},I.TokenSet.Builder=function(){this.previousWord="",this.root=new I.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},I.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var o=new I.TokenSet,a=e[r];t.edges[a]=o,this.uncheckedNodes.push({parent:t,char:a,child:o}),t=o}t.final=!0,this.previousWord=e},I.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},I.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),s=0;s<this.fields.length;s++)r[this.fields[s]]=new I.Vector;e.call(t,t);for(s=0;s<t.clauses.length;s++){var l=t.clauses[s],u=null,c=I.Set.empty;u=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var d=0;d<u.length;d++){var f=u[d];l.term=f;var p=I.TokenSet.fromClause(l),h=this.tokenSet.intersect(p).toArray();if(0===h.length&&l.presence===I.Query.presence.REQUIRED){for(var m=0;m<l.fields.length;m++){a[N=l.fields[m]]=I.Set.empty}break}for(var g=0;g<h.length;g++){var y=h[g],v=this.invertedIndex[y],b=v._index;for(m=0;m<l.fields.length;m++){var w=v[N=l.fields[m]],k=Object.keys(w),x=y+"/"+N,S=new I.Set(k);if(l.presence==I.Query.presence.REQUIRED&&(c=c.union(S),void 0===a[N]&&(a[N]=I.Set.complete)),l.presence!=I.Query.presence.PROHIBITED){if(r[N].upsert(b,l.boost,(function(e,t){return e+t})),!o[x]){for(var E=0;E<k.length;E++){var C,_=k[E],T=new I.FieldRef(_,N),L=w[_];void 0===(C=n[T])?n[T]=new I.MatchData(y,N,L):C.add(y,N,L)}o[x]=!0}}else void 0===i[N]&&(i[N]=I.Set.empty),i[N]=i[N].union(S)}}}if(l.presence===I.Query.presence.REQUIRED)for(m=0;m<l.fields.length;m++){a[N=l.fields[m]]=a[N].intersect(c)}}var j=I.Set.complete,R=I.Set.empty;for(s=0;s<this.fields.length;s++){var N;a[N=this.fields[s]]&&(j=j.intersect(a[N])),i[N]&&(R=R.union(i[N]))}var A=Object.keys(n),P=[],O=Object.create(null);if(t.isNegated()){A=Object.keys(this.fieldVectors);for(s=0;s<A.length;s++){T=A[s];var D=I.FieldRef.fromString(T);n[T]=new I.MatchData}}for(s=0;s<A.length;s++){var F=(D=I.FieldRef.fromString(A[s])).docRef;if(j.contains(F)&&!R.contains(F)){var M,z=this.fieldVectors[D],B=r[D.fieldName].similarity(z);if(void 0!==(M=O[F]))M.score+=B,M.matchData.combine(n[D]);else{var U={ref:F,score:B,matchData:n[D]};O[F]=U,P.push(U)}}}return P.sort((function(e,t){return t.score-e.score}))},I.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:I.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},I.Index.load=function(e){var t={},n={},r=e.fieldVectors,o=Object.create(null),a=e.invertedIndex,i=new I.TokenSet.Builder,s=I.Pipeline.load(e.pipeline);e.version!=I.version&&I.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+I.version+"' does not match serialized index '"+e.version+"'");for(var l=0;l<r.length;l++){var u=(d=r[l])[0],c=d[1];n[u]=new I.Vector(c)}for(l=0;l<a.length;l++){var d,f=(d=a[l])[0],p=d[1];i.insert(f),o[f]=p}return i.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=i.root,t.pipeline=s,new I.Index(t)},I.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=I.tokenizer,this.pipeline=new I.Pipeline,this.searchPipeline=new I.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},I.Builder.prototype.ref=function(e){this._ref=e},I.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},I.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o<r.length;o++){var a=r[o],i=this._fields[a].extractor,s=i?i(e):e[a],l=this.tokenizer(s,{fields:[a]}),u=this.pipeline.run(l),c=new I.FieldRef(n,a),d=Object.create(null);this.fieldTermFrequencies[c]=d,this.fieldLengths[c]=0,this.fieldLengths[c]+=u.length;for(var f=0;f<u.length;f++){var p=u[f];if(null==d[p]&&(d[p]=0),d[p]+=1,null==this.invertedIndex[p]){var h=Object.create(null);h._index=this.termIndex,this.termIndex+=1;for(var m=0;m<r.length;m++)h[r[m]]=Object.create(null);this.invertedIndex[p]=h}null==this.invertedIndex[p][a][n]&&(this.invertedIndex[p][a][n]=Object.create(null));for(var g=0;g<this.metadataWhitelist.length;g++){var y=this.metadataWhitelist[g],v=p.metadata[y];null==this.invertedIndex[p][a][n][y]&&(this.invertedIndex[p][a][n][y]=[]),this.invertedIndex[p][a][n][y].push(v)}}}},I.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var a=I.FieldRef.fromString(e[o]),i=a.fieldName;r[i]||(r[i]=0),r[i]+=1,n[i]||(n[i]=0),n[i]+=this.fieldLengths[a]}var s=Object.keys(this._fields);for(o=0;o<s.length;o++){var l=s[o];n[l]=n[l]/r[l]}this.averageFieldLength=n},I.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var a=I.FieldRef.fromString(t[o]),i=a.fieldName,s=this.fieldLengths[a],l=new I.Vector,u=this.fieldTermFrequencies[a],c=Object.keys(u),d=c.length,f=this._fields[i].boost||1,p=this._documents[a.docRef].boost||1,h=0;h<d;h++){var m,g,y,v=c[h],b=u[v],w=this.invertedIndex[v]._index;void 0===r[v]?(m=I.idf(this.invertedIndex[v],this.documentCount),r[v]=m):m=r[v],g=m*((this._k1+1)*b)/(this._k1*(1-this._b+this._b*(s/this.averageFieldLength[i]))+b),g*=f,g*=p,y=Math.round(1e3*g)/1e3,l.insert(w,y)}e[a]=l}this.fieldVectors=e},I.Builder.prototype.createTokenSet=function(){this.tokenSet=I.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},I.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new I.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},I.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},I.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n||{}),a=0;a<o.length;a++){var i=o[a];r[i]=n[i].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},I.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var a=0;a<o.length;a++){var i=o[a],s=Object.keys(e.metadata[r][i]);null==this.metadata[r][i]&&(this.metadata[r][i]=Object.create(null));for(var l=0;l<s.length;l++){var u=s[l];null==this.metadata[r][i][u]?this.metadata[r][i][u]=e.metadata[r][i][u]:this.metadata[r][i][u]=this.metadata[r][i][u].concat(e.metadata[r][i][u])}}}},I.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o];a in this.metadata[e][t]?this.metadata[e][t][a]=this.metadata[e][t][a].concat(n[a]):this.metadata[e][t][a]=n[a]}else this.metadata[e][t]=n},I.Query=function(e){this.clauses=[],this.allFields=e},I.Query.wildcard=new String("*"),I.Query.wildcard.NONE=0,I.Query.wildcard.LEADING=1,I.Query.wildcard.TRAILING=2,I.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},I.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=I.Query.wildcard.NONE),e.wildcard&I.Query.wildcard.LEADING&&e.term.charAt(0)!=I.Query.wildcard&&(e.term="*"+e.term),e.wildcard&I.Query.wildcard.TRAILING&&e.term.slice(-1)!=I.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=I.Query.presence.OPTIONAL),this.clauses.push(e),this},I.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=I.Query.presence.PROHIBITED)return!1;return!0},I.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,I.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},I.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},I.QueryParseError.prototype=new Error,I.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},I.QueryLexer.prototype.run=function(){for(var e=I.QueryLexer.lexText;e;)e=e(this)},I.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},I.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},I.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},I.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos<this.length},I.QueryLexer.EOS="EOS",I.QueryLexer.FIELD="FIELD",I.QueryLexer.TERM="TERM",I.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",I.QueryLexer.BOOST="BOOST",I.QueryLexer.PRESENCE="PRESENCE",I.QueryLexer.lexField=function(e){return e.backup(),e.emit(I.QueryLexer.FIELD),e.ignore(),I.QueryLexer.lexText},I.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new I.QueryParseError(n,t.start,t.end)}switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new I.QueryParseError(r,t.start,t.end)}if(o.type===I.QueryLexer.TERM)return I.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return I})?r.call(t,n,t,e):r)||(e.exports=o)}()},7179:function(e){e.exports=function(){"use strict";var e="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},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=a}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(a){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,a=null,i=function i(){if(!o){o=!0,clearTimeout(a);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var o=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);var u=function(){--s<=0&&a(l)};s||u(),i.forEach((function(t){e.matches(t,o.exclude)?u():o.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),u()}),u)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,a=!1;return r.forEach((function(e,t){e.val===n&&(o=t,a=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==o||a?!1===o||a||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach((function(e){e.handled||o.getIframeContents(e.val,(function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var a=this,i=this.createIterator(t,e,r),s=[],l=[],u=void 0,c=void 0,d=function(){var e=a.getIteratorNode(i);return c=e.prevNode,u=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return a.checkIframeFilter(u,c,e,s)}),(function(t){a.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),r)})),l.push(u);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),o()}},{key:"forEachNode",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=this.getContexts(),i=a.length;i||o(),a.forEach((function(a){var s=function(){r.iterateThroughNodes(e,a,t,n,(function(){--i<=0&&o()}))};r.iframes?r.waitForIframes(a,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var o=!1;return n.every((function(t){return!r.call(e,t)||(o=!0,!1)})),o}return!1}}]),e}(),a=function(){function a(e){t(this,a),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(a,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(o){n.every((function(n){if(-1!==n.indexOf(o)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,o="string"==typeof r?r:r.value,a="string"==typeof r?[]:r.limiters,i="";switch(a.forEach((function(e){i+="|"+t.escapeStr(e)})),o){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var o=t.callNoMatchOnInvalidRanges(e,r),a=o.start,i=o.end;o.valid&&(e.start=a,e.length=i-a,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,o=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?o=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:o}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,o=!0,a=n.length,i=t-a,s=parseInt(e.start,10)-i;return(r=(s=s>a?a:s)+parseInt(e.length,10))>a&&(r=a,this.log("End range automatically set to the max value of "+a)),s<0||r-s<0||s>a||r>a?(o=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(o=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:o}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return o.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",o=e.splitText(t),a=o.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=o.textContent,o.parentNode.replaceChild(i,o),a}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,o){var a=this;e.nodes.every((function(i,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=a.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=c),e.nodes[n].end-=c)})),n-=c,o(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var o=void 0;null!==(o=e.exec(t.textContent))&&""!==o[i];)if(n(o[i],t)){var s=o.index;if(0!==i)for(var l=1;l<i;l++)s+=o[l].length;t=a.wrapRangeInTextNode(t,s,s+o[i].length),r(t.previousSibling),e.lastIndex=0}})),o()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[i];){var l=s.index;if(0!==i)for(var u=1;u<i;u++)l+=s[u].length;var c=l+s[i].length;a.wrapRangeInMappedTextNode(t,l,c,(function(e){return n(s[i],e)}),(function(t,n){e.lastIndex=n,r(t)}))}o()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var o=this;this.getTextNodes((function(a){var i=a.value.length;e.forEach((function(e,r){var s=o.checkWhitespaceRanges(e,i,a.value),l=s.start,u=s.end;s.valid&&o.wrapRangeInMappedTextNode(a,l,u,(function(n){return t(n,e,a.value.substring(l,u),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,o="wrapMatches",a=function(e){r++,n.opt.each(e)};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),this[o](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),a,(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,o="wrapMatches",a=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=a.keywords,s=a.length,l=this.opt.caseSensitive?"":"i",u=function e(t){var a=new RegExp(n.createRegExp(t),"gm"+l),u=0;n.log('Searching with expression "'+a+'"'),n[o](a,1,(function(e,o){return n.opt.filter(o,t,r,u)}),(function(e){u++,r++,n.opt.each(e)}),(function(){0===u&&n.opt.noMatch(t),i[s-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),0===s?this.opt.done(r):u(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,o=this.checkRanges(e);o&&o.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(o)),this.wrapRangeFromIndex(o,(function(e,t,r,o){return n.opt.filter(e,t,r,o)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=o.matches(e,n),a=t.matchesExclude(e);return!r||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new o(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),a}();function i(e){var t=this,n=new a(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}return i}()},2130:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,i(e,c,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},7837:function(e,t,n){var r=n(8161);e.exports=p,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,s="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],m=n[2],g=n[3],y=n[4],v=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,E=n[2]||c,C=y||v;r.push({name:g||a++,prefix:m||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var a="",s=t||{},l=(o||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=s[c.name];if(null==f){if(c.optional){c.partial&&(a+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');a+=c.prefix+d}}else a+=c}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",s=0;s<e.length;s++){var u=e[s];if("string"==typeof u)i+=l(u);else{var f=l(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),m=i.slice(-h.length)===h;return o||(i=(m?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":o&&m?"":"(?="+h+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(a(e,n),t,n)}(e,t,n)}},1875:function(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2570:function(e,t,n){const r=n(1875),o=n(9246),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(4453).resolve(t)],delete Prism.languages[e],n(4453)(t),a.add(e)}))}i.silent=!1,e.exports=i},4266:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(o>=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),h=f.indexOf(p);if(h>-1){++o;var m=f.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),v=[];m&&v.push.apply(v,i([m])),v.push(g),y&&v.push.apply(v,i([y])),"string"==typeof u?s.splice.apply(s,[l,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(Prism)},4453:function(e,t,n){var r={"./":2570};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=4453},9246:function(e){"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function o(r,a){if(!(r in n)){a.push(r);var i=a.indexOf(r);if(i<a.length-1)throw new Error("Circular dependency: "+a.slice(i).join(" -> "));var s={},l=e[r];if(l){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in o(t,a),s[t]=!0,n[t])s[i]=!0}t(l.require,u),t(l.optional,u),t(l.modify,u)}n[r]=s,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(l);i=i.map(u),s=(s||[]).map(u);var c=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(l),h=c;o(h);){for(var m in f={},h){var g=l[m];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in c))for(var v in p(y))if(v in c){f[y]=!0;break}for(var b in h=f)c[b]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,s={},l={};function u(e){if(e in s)return s[e];l[e]=!0;var o,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)o=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete l[e],t})));a?o=a(f,(function(){return r(e)})):r(e)}return s[e]=o}for(var c in n)u(c);var d=[];for(var f in l)d.push(s[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},4404:function(e,t,n){"use strict";var r=n(1986);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5401:function(e,t,n){e.exports=n(4404)()},1986:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2227:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!a(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],i[u[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},7959:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},3585:function(e,t,n){"use strict";e.exports=n(7959)},3407:function(e,t,n){"use strict";var r=n(3900),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},5674:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:s,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===a?"."+L(l,0):a,k(i)?(o="",null!=e&&(o=e.replace(T,"$&/")+"/"),j(i,t,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(l=0,a=""===a?".":a+":",k(e))for(var u=0;u<e.length;u++){var c=a+L(s=e[u],u);l+=j(s,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=j(s=s.value,t,o,c=a+L(s,u++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function R(e,t,n){if(null==e)return e;var r=[],o=0;return j(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},P={transition:null},O={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.2.0"},3900:function(e,t,n){"use strict";e.exports=n(5674)},966:function(e,t,n){"use strict";e.exports=n(3407)},1107:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<o&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,P(x);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,v(_),_=-1),h=!0;var a=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!j());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&O(k,d.startTime-n),l=!1}return l}finally{f=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,T=5,L=-1;function j(){return!(t.unstable_now()-L<T)}function R(){if(null!==C){var e=t.unstable_now();L=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof b)S=function(){b(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,A=N.port2;N.port1.onmessage=R,S=function(){A.postMessage(null)}}else S=function(){y(R,0)};function P(e){C=e,E||(E=!0,S())}function O(e,n){_=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(v(_),_=-1):g=!0,O(k,a-i))):(e.sortIndex=s,n(u,e),m||h||(m=!0,P(x))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4179:function(e,t,n){"use strict";e.exports=n(1107)},9494:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var u=a[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},3546:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t;throw new Error(n?o+": "+n:o)}}},8334:function(e,t,n){"use strict";n.d(t,{p1:function(){return T},y$:function(){return ee}});var r,o,a,i,s,l,u,c=n(3900),d=n(7515),f=Object.create,p=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,b=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(v)for(var n of v(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>h(e,g(t)),C=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&v)for(var r of v(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=a[s])}var u=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var l=t[s],u=r.util.type(l);"Object"!==u||a[i(l)]?"Array"!==u||a[i(l)]||(a[i(l)]=!0,e(l,n,s,a)):(a[i(l)]=!0,e(l,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,s,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],g=m.inside,y=!!m.lookbehind,v=!!m.greedy,b=m.alias;if(v&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var k=m.pattern||m,x=s.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(v){if(!(C=a(k,S,e,y))||C.index>=e.length)break;var T=C.index,L=C.index+C[0].length,j=S;for(j+=x.value.length;T>=j;)j+=(x=x.next).value.length;if(S=j-=x.value.length,x.value instanceof o)continue;for(var R=x;R!==t.tail&&(j<L||"string"==typeof R.value);R=R.next)_++,j+=R.value.length;_--,E=e.slice(S,j),C.index-=S}else if(!(C=a(k,0,E,y)))continue;T=C.index;var N=C[0],A=E.slice(0,T),P=E.slice(T+N.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var I=x.prev;if(A&&(I=l(t,I,A),S+=A.length),u(t,I,_),x=l(t,I,new o(f,g?r.tokenize(N,g):N,b,N)),P&&l(t,x,P),_>1){var D={cause:f+","+h,reach:O};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return o||(0,r[y(r)[0]])((o={exports:{}}).exports,o),o.exports}),T=((e,t,n)=>(n=null!=e?f(b(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of y(t))w.call(e,o)||o===n||p(e,o,{get:()=>t[o],enumerable:!(r=m(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(_());a=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var a=f(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),o.push(i.content))}n=a+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),0<o.length)){var s=f(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var u=t[l];"variable"===u.type&&0<=o.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),u=0,c={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var a=0;a<n.length;a++){if(u>=d.length)return;var i,l,f,p,h,m,g,y=n[a];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(i))&&(++u,l=m.substring(0,g),h=c[i],f=void 0,(p={})["interpolation-punctuation"]=o,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,s(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=m.substring(g+i.length),h=[],l&&h.push(l),h.push(f),p&&(t(m=[p]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[a,1].concat(h)),a+=h.length-1):y.content=h)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,s,u=n[r];"string"!=typeof u&&(a=u.content,Array.isArray(a)?"template-string"===u.type?(u=a[1],3===a.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,s=e.languages[u])&&(a[1]=l(i,s,u))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=s(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=s(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T);((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>L,duotoneDark:()=>j,duotoneLight:()=>R,github:()=>N,jettwaveDark:()=>H,jettwaveLight:()=>Q,nightOwl:()=>A,nightOwlLight:()=>P,oceanicNext:()=>D,okaidia:()=>F,oneDark:()=>W,oneLight:()=>Z,palenight:()=>M,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>U,vsDark:()=>$,vsLight:()=>q});var L={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},j={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"}}]},R={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},N={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},A={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},P={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},F={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},M={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},U={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},q={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Q={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},Z={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},V=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),o);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},G=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,u=t[i];const c=n[i][a];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=Y(u,c.type),c.alias&&(u=Y(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(G),f=d.length;s.push({types:u,content:d[0]});for(let t=1;t<f;t++)K(s),l.push(s=[]),s.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return K(s),l},J=({children:e,language:t,code:n,theme:r,prism:o})=>{const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(V(t,e)),o=(0,c.useRef)(),a=(0,c.useRef)();return(0,c.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(V(t,e)))}),[e,t]),n})(a,r),s=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=C(n,["className","style","line"]);const s=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=S(S({},s.style||{}),o)),s}),[e]))(i),l=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=C(n,["token","className","style"]);const s=E(S({},i),{className:(0,d.Z)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(s.style=S(S({},s.style||{}),a)),s}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:u,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},922:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},7535:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},1360:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},6809:function(e,t,n){"use strict";n.r(t),t.default={title:"Docusaurus Search",tagline:"An offline/local search example using @easyops-cn/docusaurus-search-local",url:"https://easyops-cn.github.io",baseUrl:"/docusaurus-search-local/",onBrokenLinks:"throw",favicon:"img/favicon.ico",organizationName:"easyops-cn",projectName:"docusaurus-search-local",i18n:{defaultLocale:"en",locales:["en","zh-CN","zh-TW"],path:"i18n",localeConfigs:{}},themeConfig:{navbar:{title:"Docusaurus Search",logo:{alt:"My Site Logo",src:"img/logo.svg"},items:[{to:"docs/",activeBasePath:"docs",label:"Docs",position:"left"},{to:"blog",label:"Blog",position:"left"},{href:"https://github.com/easyops-cn/docusaurus-search-local",label:"GitHub",position:"right"},{type:"localeDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]},{type:"docsVersionDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Style Guide",to:"docs/"},{label:"Second Doc",to:"docs/doc2/"}]},{title:"Community",items:[{label:"Stack Overflow",href:"https://stackoverflow.com/questions/tagged/docusaurus"},{label:"Discord",href:"https://discordapp.com/invite/docusaurus"},{label:"Twitter",href:"https://twitter.com/docusaurus"}]},{title:"More",items:[{label:"Blog",to:"blog"},{label:"GitHub",href:"https://github.com/easyops-cn/docusaurus-search-local"}]}],copyright:"Copyright \xa9 2024 My Project, Inc. Built with Docusaurus."},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],prism:{additionalLanguages:[],theme:{plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/sidebars.js",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},blog:{showReadingTime:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},theme:{customCss:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/src/css/custom.css"}}]],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en","zh"],highlightSearchTermsOnTargetPage:!0,explicitSearchResultPath:!0}]],baseUrlIssueBanner:!0,onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7529:function(e){"use strict";e.exports={}},6887:function(e){"use strict";e.exports=JSON.parse('{"/docusaurus-search-local/blog-56b":{"__comp":"a6aa9e1f","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"807d5d2d"},{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"metadata":"a918e87f"},"/docusaurus-search-local/blog/archive-abc":{"__comp":"9e4087bc","__context":{"plugin":"d3609805"},"archive":"c84e3717"},"/docusaurus-search-local/blog/hello-world-35e":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"d610846f"},"/docusaurus-search-local/blog/hola-ca7":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"bdd709f1"},"/docusaurus-search-local/blog/tags-7e7":{"__comp":"01a85c17","__context":{"plugin":"d3609805"},"sidebar":"814f3328","tags":"fc6a3ea1"},"/docusaurus-search-local/blog/tags/docusaurus-c58":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"tag":"aafb6b19","listMetadata":"041f6c3c"},"/docusaurus-search-local/blog/tags/facebook-769":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"}],"tag":"cd2a3a9a","listMetadata":"576345ff"},"/docusaurus-search-local/blog/tags/hello-c5e":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"}],"tag":"f32c3125","listMetadata":"5d47c0b1"},"/docusaurus-search-local/blog/tags/hola-7dc":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"8e9f0a8a"}],"tag":"833c5ef7","listMetadata":"4ef90ec5"},"/docusaurus-search-local/blog/welcome-35d":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"2868cdab"},"/docusaurus-search-local/blog/writing-good-unit-tests-e19":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"3a35335b"},"/docusaurus-search-local/search-8aa":{"__comp":"1a4e3797","__context":{"plugin":"1cbf0e34"}},"/docusaurus-search-local/docs-149":{"__comp":"5e95c892","__context":{"plugin":"6b3775fa"}},"/docusaurus-search-local/docs/next-7b8":{"__comp":"a7bd4aaa","version":"935f2afb"},"/docusaurus-search-local/docs/next/tags-057":{"__comp":"3720c009","tags":"55960ee5"},"/docusaurus-search-local/docs/next/tags/front-matter-1da":{"__comp":"df203c0f","tag":"51ff1c5c"},"/docusaurus-search-local/docs/next/tags/keywords-cac":{"__comp":"df203c0f","tag":"3836748f"},"/docusaurus-search-local/docs/next/tags/test-110":{"__comp":"df203c0f","tag":"bee82b8a"},"/docusaurus-search-local/docs/next-f4f":{"__comp":"a94703ab"},"/docusaurus-search-local/docs/next/category/tutorial---basics-08e":{"__comp":"14eb3368","categoryGeneratedIndex":"69d5d12f"},"/docusaurus-search-local/docs/next/category/tutorial---extras-963":{"__comp":"14eb3368","categoryGeneratedIndex":"73eb52ae"},"/docusaurus-search-local/docs/next/intro-952":{"__comp":"17896441","content":"0e384e19"},"/docusaurus-search-local/docs/next/tutorial-basics/congratulations-7c7":{"__comp":"17896441","content":"822bd8ab"},"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post-196":{"__comp":"17896441","content":"533a09ca"},"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document-235":{"__comp":"17896441","content":"1e4232ab"},"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page-bc7":{"__comp":"17896441","content":"5c868d36"},"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site-310":{"__comp":"17896441","content":"f55d3e7a"},"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features-017":{"__comp":"17896441","content":"18c41134"},"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions-be5":{"__comp":"17896441","content":"dff1c289"},"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site-6ef":{"__comp":"17896441","content":"e44a2883"},"/docusaurus-search-local/docs/next/unlisted-post-880":{"__comp":"17896441","content":"337aaa52"},"/docusaurus-search-local/docs-aed":{"__comp":"a7bd4aaa","version":"62e81aa6"},"/docusaurus-search-local/docs-473":{"__comp":"a94703ab"},"/docusaurus-search-local/docs/-8bf":{"__comp":"17896441","content":"f054516d"},"/docusaurus-search-local/docs/doc-in-pt-5e4":{"__comp":"17896441","content":"c7798012"},"/docusaurus-search-local/docs/doc2-b02":{"__comp":"17896441","content":"55526312"},"/docusaurus-search-local/docs/doc3-cd5":{"__comp":"17896441","content":"1a4922cc"},"/docusaurus-search-local/docs/mdx-09b":{"__comp":"17896441","content":"269baefd"},"/docusaurus-search-local/-c6d":{"__comp":"c4f5d8e4","__context":{"plugin":"7acd0c93"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,[532],(function(){return t=773,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.ee94d906.js.LICENSE.txt b/assets/js/main.ee94d906.js.LICENSE.txt new file mode 100644 index 00000000..89312577 --- /dev/null +++ b/assets/js/main.ee94d906.js.LICENSE.txt @@ -0,0 +1,142 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ + +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ + +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/assets/js/runtime~main.d445cd71.js b/assets/js/runtime~main.d445cd71.js new file mode 100644 index 00000000..4ede0273 --- /dev/null +++ b/assets/js/runtime~main.d445cd71.js @@ -0,0 +1 @@ +!function(){"use strict";var e,a,c,t,f,n={},r={};function o(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(c.exports,c,c.exports,o),c.loaded=!0,c.exports}o.m=n,o.c=r,e=[],o.O=function(a,c,t,f){if(!c){var n=1/0;for(i=0;i<e.length;i++){c=e[i][0],t=e[i][1],f=e[i][2];for(var r=!0,d=0;d<c.length;d++)(!1&f||n>=f)&&Object.keys(o.O).every((function(e){return o.O[e](c[d])}))?c.splice(d--,1):(r=!1,f<n&&(n=f));if(r){e.splice(i--,1);var u=t();void 0!==u&&(a=u)}}return a}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,t,f]},o.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(a,{a:a}),a},c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var f=Object.create(null);o.r(f);var n={};a=a||[null,c({}),c([]),c(c)];for(var r=2&t&&e;"object"==typeof r&&!~a.indexOf(r);r=c(r))Object.getOwnPropertyNames(r).forEach((function(a){n[a]=function(){return e[a]}}));return n.default=function(){return e},o.d(f,n),f},o.d=function(e,a){for(var c in a)o.o(a,c)&&!o.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(a,c){return o.f[c](e,a),a}),[]))},o.u=function(e){return"assets/js/"+({36:"aafb6b19",53:"935f2afb",1449:"af172acd",1528:"807d5d2d",1611:"833c5ef7",1771:"f054516d",2449:"576345ff",2535:"814f3328",2550:"bee82b8a",2859:"18c41134",3089:"a6aa9e1f",3125:"7acd0c93",3237:"c84e3717",3408:"55526312",3608:"9e4087bc",3707:"3570154c",3751:"3720c009",3792:"dff1c289",3977:"4ef90ec5",4013:"01a85c17",4035:"8e9f0a8a",4061:"2868cdab",4121:"55960ee5",4193:"f55d3e7a",4195:"c4f5d8e4",4337:"69d5d12f",4368:"a94703ab",4484:"6b3775fa",4607:"533a09ca",4694:"bdd709f1",4811:"5d47c0b1",4854:"337aaa52",4871:"041f6c3c",5322:"3a35335b",5329:"62e81aa6",5560:"c7798012",5589:"5c868d36",6025:"a918e87f",6103:"ccc49370",6176:"d610846f",6504:"822bd8ab",6755:"e44a2883",7157:"3836748f",7195:"1cbf0e34",7317:"fc6a3ea1",7437:"73eb52ae",7918:"17896441",7920:"1a4e3797",8293:"1a4922cc",8518:"a7bd4aaa",8610:"6875c492",8611:"269baefd",8818:"1e4232ab",8864:"d3609805",8870:"51ff1c5c",8998:"cd2a3a9a",9279:"f32c3125",9661:"5e95c892",9671:"0e384e19",9817:"14eb3368",9924:"df203c0f"}[e]||e)+"."+{36:"7473a543",53:"46e410f4",1449:"65d0e938",1528:"bbfd5abc",1611:"9582b04d",1771:"271fd5e6",2118:"a37a5fbb",2449:"3979271c",2535:"f610ea2c",2550:"2a25af70",2859:"92eeac29",3089:"e31ab401",3125:"9a73f146",3237:"f959aba9",3408:"0222eb50",3608:"395afb6f",3707:"f773715e",3751:"696eeede",3792:"90177b6d",3977:"526b61e6",4013:"cf6da810",4035:"b76993dc",4061:"98cddbb5",4121:"1acddca7",4193:"94d6f701",4195:"c5786715",4337:"4665fb89",4368:"68bf235f",4484:"8589a71f",4607:"dc937638",4694:"9a45c4f7",4811:"325ded44",4854:"d3510490",4871:"fcb60041",5130:"49147aff",5322:"63019cfe",5329:"e3152b8b",5560:"01c985f5",5589:"1e9548b1",5920:"83d9a30f",6025:"42f6744f",6103:"3766cae8",6176:"761c308f",6504:"1fa5353c",6755:"92449a25",7024:"b093103e",7157:"42d86f30",7195:"209620b2",7317:"73eed0a5",7437:"9c098b9d",7918:"2342e34f",7920:"61d2a7de",8133:"a27696f3",8293:"629d2820",8518:"aef66c49",8610:"45c8fa40",8611:"cc35dd8b",8818:"227ac5d0",8864:"382f25ff",8870:"33a34467",8998:"247781cd",9279:"5ae342d7",9661:"18f37c2a",9671:"a2c9a125",9817:"f3087745",9924:"3452c979"}[e]+".js"},o.miniCssF=function(e){},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t={},f="website:",o.l=function(e,a,c,n){if(t[e])t[e].push(a);else{var r,d;if(void 0!==c)for(var u=document.getElementsByTagName("script"),i=0;i<u.length;i++){var b=u[i];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==f+c){r=b;break}}r||(d=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",f+c),r.src=e),t[e]=[a];var l=function(a,c){r.onerror=r.onload=null,clearTimeout(s);var f=t[e];if(delete t[e],r.parentNode&&r.parentNode.removeChild(r),f&&f.forEach((function(e){return e(c)})),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),d&&document.head.appendChild(r)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/docusaurus-search-local/",o.gca=function(e){return e={17896441:"7918",55526312:"3408",aafb6b19:"36","935f2afb":"53",af172acd:"1449","807d5d2d":"1528","833c5ef7":"1611",f054516d:"1771","576345ff":"2449","814f3328":"2535",bee82b8a:"2550","18c41134":"2859",a6aa9e1f:"3089","7acd0c93":"3125",c84e3717:"3237","9e4087bc":"3608","3570154c":"3707","3720c009":"3751",dff1c289:"3792","4ef90ec5":"3977","01a85c17":"4013","8e9f0a8a":"4035","2868cdab":"4061","55960ee5":"4121",f55d3e7a:"4193",c4f5d8e4:"4195","69d5d12f":"4337",a94703ab:"4368","6b3775fa":"4484","533a09ca":"4607",bdd709f1:"4694","5d47c0b1":"4811","337aaa52":"4854","041f6c3c":"4871","3a35335b":"5322","62e81aa6":"5329",c7798012:"5560","5c868d36":"5589",a918e87f:"6025",ccc49370:"6103",d610846f:"6176","822bd8ab":"6504",e44a2883:"6755","3836748f":"7157","1cbf0e34":"7195",fc6a3ea1:"7317","73eb52ae":"7437","1a4e3797":"7920","1a4922cc":"8293",a7bd4aaa:"8518","6875c492":"8610","269baefd":"8611","1e4232ab":"8818",d3609805:"8864","51ff1c5c":"8870",cd2a3a9a:"8998",f32c3125:"9279","5e95c892":"9661","0e384e19":"9671","14eb3368":"9817",df203c0f:"9924"}[e]||e,o.p+o.u(e)},function(){var e={1303:0,532:0};o.f.j=function(a,c){var t=o.o(e,a)?e[a]:void 0;if(0!==t)if(t)c.push(t[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise((function(c,f){t=e[a]=[c,f]}));c.push(t[2]=f);var n=o.p+o.u(a),r=new Error;o.l(n,(function(c){if(o.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var f=c&&("load"===c.type?"missing":c.type),n=c&&c.target&&c.target.src;r.message="Loading chunk "+a+" failed.\n("+f+": "+n+")",r.name="ChunkLoadError",r.type=f,r.request=n,t[1](r)}}),"chunk-"+a,a)}},o.O.j=function(a){return 0===e[a]};var a=function(a,c){var t,f,n=c[0],r=c[1],d=c[2],u=0;if(n.some((function(a){return 0!==e[a]}))){for(t in r)o.o(r,t)&&(o.m[t]=r[t]);if(d)var i=d(o)}for(a&&a(c);u<n.length;u++)f=n[u],o.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return o.O(i)},c=self.webpackChunkwebsite=self.webpackChunkwebsite||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))}()}(); \ No newline at end of file diff --git a/blog/archive/index.html b/blog/archive/index.html new file mode 100644 index 00000000..0cc60d72 --- /dev/null +++ b/blog/archive/index.html @@ -0,0 +1,14 @@ +<!doctype html> +<html lang="en" dir="ltr" class="plugin-blog plugin-id-default" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.0.0"> +<title data-rh="true">Archive | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/blog/atom.xml b/blog/atom.xml new file mode 100644 index 00000000..2d8ecdae --- /dev/null +++ b/blog/atom.xml @@ -0,0 +1,150 @@ + + + https://easyops-cn.github.io/docusaurus-search-local/blog + Docusaurus Search Blog + 2019-06-15T00:00:00.000Z + https://github.com/jpmonette/feed + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/img/favicon.ico + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/writing-good-unit-tests + + 2019-06-15T00:00:00.000Z + +
note
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+ + Wang Shenwei + https://github.com/weareoutman + +
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/welcome + + 2019-05-30T00:00:00.000Z + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ + Yangshun Tay + https://github.com/yangshun + + + + +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/hello-world + + 2019-05-29T00:00:00.000Z + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ + Endilie Yacop Sucipto + https://github.com/endiliey + + + +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/hola + + 2019-05-28T00:00:00.000Z + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ + Gao Wei + https://github.com/wgao19 + + + +
+
\ No newline at end of file diff --git a/blog/hello-world/index.html b/blog/hello-world/index.html new file mode 100644 index 00000000..f6ea5e85 --- /dev/null +++ b/blog/hello-world/index.html @@ -0,0 +1,16 @@ + + + + + +Hello | Docusaurus Search + + + + + +
Skip to main content
+ + \ No newline at end of file diff --git a/blog/hola/index.html b/blog/hola/index.html new file mode 100644 index 00000000..3766754f --- /dev/null +++ b/blog/hola/index.html @@ -0,0 +1,14 @@ + + + + + +Hola | Docusaurus Search + + + + + +
Skip to main content

Hola

· One min read
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 00000000..4a56b2ed --- /dev/null +++ b/blog/index.html @@ -0,0 +1,97 @@ + + + + + +Blog | Docusaurus Search + + + + + +
Skip to main content

· 8 min read
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

· One min read
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· One min read
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/blog/rss.xml b/blog/rss.xml new file mode 100644 index 00000000..0fe78507 --- /dev/null +++ b/blog/rss.xml @@ -0,0 +1,136 @@ + + + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/blog + Docusaurus Search Blog + Sat, 15 Jun 2019 00:00:00 GMT + https://validator.w3.org/feed/docs/rss2.html + https://github.com/jpmonette/feed + en + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/writing-good-unit-tests + https://easyops-cn.github.io/docusaurus-search-local/blog/writing-good-unit-tests + Sat, 15 Jun 2019 00:00:00 GMT + +
note
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/welcome + https://easyops-cn.github.io/docusaurus-search-local/blog/welcome + Thu, 30 May 2019 00:00:00 GMT + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ facebook + hello + docusaurus +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/hello-world + https://easyops-cn.github.io/docusaurus-search-local/blog/hello-world + Wed, 29 May 2019 00:00:00 GMT + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ hello + docusaurus +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/blog/hola + https://easyops-cn.github.io/docusaurus-search-local/blog/hola + Tue, 28 May 2019 00:00:00 GMT + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ hola + docusaurus +
+
+
\ No newline at end of file diff --git a/blog/tags/docusaurus/index.html b/blog/tags/docusaurus/index.html new file mode 100644 index 00000000..a3da7d58 --- /dev/null +++ b/blog/tags/docusaurus/index.html @@ -0,0 +1,15 @@ + + + + + +3 posts tagged with "docusaurus" | Docusaurus Search + + + + + +
Skip to main content

3 posts tagged with "docusaurus"

View All Tags

· One min read
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· One min read
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/blog/tags/facebook/index.html b/blog/tags/facebook/index.html new file mode 100644 index 00000000..ae0aa39c --- /dev/null +++ b/blog/tags/facebook/index.html @@ -0,0 +1,15 @@ + + + + + +One post tagged with "facebook" | Docusaurus Search + + + + + +
Skip to main content

One post tagged with "facebook"

View All Tags

· One min read
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/blog/tags/hello/index.html b/blog/tags/hello/index.html new file mode 100644 index 00000000..089617f6 --- /dev/null +++ b/blog/tags/hello/index.html @@ -0,0 +1,15 @@ + + + + + +2 posts tagged with "hello" | Docusaurus Search + + + + + +
Skip to main content

2 posts tagged with "hello"

View All Tags

· One min read
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/blog/tags/hola/index.html b/blog/tags/hola/index.html new file mode 100644 index 00000000..e10f13c1 --- /dev/null +++ b/blog/tags/hola/index.html @@ -0,0 +1,14 @@ + + + + + +One post tagged with "hola" | Docusaurus Search + + + + + +
Skip to main content

One post tagged with "hola"

View All Tags

· One min read
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/blog/tags/index.html b/blog/tags/index.html new file mode 100644 index 00000000..0cfa4621 --- /dev/null +++ b/blog/tags/index.html @@ -0,0 +1,14 @@ + + + + + +Tags | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/blog/welcome/index.html b/blog/welcome/index.html new file mode 100644 index 00000000..2a08677c --- /dev/null +++ b/blog/welcome/index.html @@ -0,0 +1,15 @@ + + + + + +Welcome | Docusaurus Search + + + + + +
Skip to main content

Welcome

· One min read
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/blog/writing-good-unit-tests/index.html b/blog/writing-good-unit-tests/index.html new file mode 100644 index 00000000..ccfad657 --- /dev/null +++ b/blog/writing-good-unit-tests/index.html @@ -0,0 +1,96 @@ + + + + + +编写良好的单元测试 | Docusaurus Search + + + + + +
Skip to main content

编写良好的单元测试

· 8 min read
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

+ + \ No newline at end of file diff --git a/docs/doc-in-pt/index.html b/docs/doc-in-pt/index.html new file mode 100644 index 00000000..671806b8 --- /dev/null +++ b/docs/doc-in-pt/index.html @@ -0,0 +1,14 @@ + + + + + +A Document in Portuguese | Docusaurus Search + + + + + +
Skip to main content
Version: 1.0.0

A Document in Portuguese

A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas"

+ + \ No newline at end of file diff --git a/docs/doc2/index.html b/docs/doc2/index.html new file mode 100644 index 00000000..d5b9c3f8 --- /dev/null +++ b/docs/doc2/index.html @@ -0,0 +1,14 @@ + + + + + +Document Number 2 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/docs/doc3/index.html b/docs/doc3/index.html new file mode 100644 index 00000000..d6815661 --- /dev/null +++ b/docs/doc3/index.html @@ -0,0 +1,18 @@ + + + + + +This is Document Number 3 | Docusaurus Search + + + + + +
Skip to main content
Version: 1.0.0

This is Document Number 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.

+

Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.

+

Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.

+

Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.

+ + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..5ada878a --- /dev/null +++ b/docs/index.html @@ -0,0 +1,106 @@ + + + + + +Style Guide | Docusaurus Search + + + + + +
Skip to main content
Version: 1.0.0

Style Guide

You can write content using GitHub-flavored Markdown syntax.

+

Markdown Syntax

+

To serve as an example page when styling markdown based Docusaurus sites.

+

Headers

+

H1 - Create the best documentation

+

H2 - Create the best documentation

+

H3 - Create the best documentation

+

H4 - Create the best documentation

+
H5 - Create the best documentation
+
H6 - Create the best documentation
+
+

Emphasis

+

Emphasis, aka italics, with asterisks or underscores.

+

Strong emphasis, aka bold, with asterisks or underscores.

+

Combined emphasis with asterisks and underscores.

+

Strikethrough uses two tildes. Scratch this.

+
+

Lists

+
    +
  1. First ordered list item
  2. +
  3. Another item +
      +
    • Unordered sub-list.
    • +
    +
  4. +
  5. Actual numbers don't matter, just that it's a number +
      +
    1. Ordered sub-list
    2. +
    +
  6. +
  7. And another item.
  8. +
+
    +
  • Unordered list can use asterisks
  • +
+
    +
  • Or minuses
  • +
+
    +
  • Or pluses
  • +
+
+ +

I'm an inline-style link

+

I'm an inline-style link with title

+

I'm a reference-style link

+

You can use numbers for reference-style link definitions

+

Or leave it empty and use the link text itself.

+

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example).

+

Some text to show that the reference links can follow later.

+
+

Images

+

Here's our logo (hover to see the title text):

+

Inline-style: alt text

+

Reference-style: alt text

+

Images from any folder can be used by providing path to file. Path should be relative to markdown file.

+

img

+
+

Code

+
var s = "JavaScript syntax highlighting";
alert(s);
+
s = "Python syntax highlighting"
print(s)
+
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
+
function highlightMe() {
console.log("This line can be highlighted!");
}
+
+

Tables

+

Colons can be used to align columns.

+
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1
+

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

+
MarkdownLessPretty
Stillrendersnicely
123
+
+

Blockquotes

+
+

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

+
+

Quote break.

+
+

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

+
+
+

Inline HTML

+
Definition list
Is something people use sometimes.
Markdown in HTML
Does not work very well. Use HTML tags.
+
+

Line Breaks

+

Here's a line for us to start with.

+

This line is separated from the one above by two newlines, so it will be a separate paragraph.

+

This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.

+
+

Admonitions

+
note

This is a note

+
tip

This is a tip

+
important

This is important

+
caution

This is a caution

+
warning

This is a warning

+ + \ No newline at end of file diff --git a/docs/mdx/index.html b/docs/mdx/index.html new file mode 100644 index 00000000..a75b3567 --- /dev/null +++ b/docs/mdx/index.html @@ -0,0 +1,17 @@ + + + + + +Powered by MDX | Docusaurus Search + + + + + +
Skip to main content
Version: 1.0.0

Powered by MDX

You can write JSX and use React components within your Markdown thanks to MDX.

+ +

Docusaurus green and Facebook blue are my favorite colors.

+

I can write Markdown alongside my JSX!

+ + \ No newline at end of file diff --git a/docs/next/category/tutorial---basics/index.html b/docs/next/category/tutorial---basics/index.html new file mode 100644 index 00000000..cf50cb88 --- /dev/null +++ b/docs/next/category/tutorial---basics/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Basics | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/docs/next/category/tutorial---extras/index.html b/docs/next/category/tutorial---extras/index.html new file mode 100644 index 00000000..093c5f19 --- /dev/null +++ b/docs/next/category/tutorial---extras/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Extras | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/docs/next/intro/index.html b/docs/next/intro/index.html new file mode 100644 index 00000000..733f4525 --- /dev/null +++ b/docs/next/intro/index.html @@ -0,0 +1,38 @@ + + + + + +Tutorial Intro | Docusaurus Search + + + + + +
Skip to main content
Version: Next

Tutorial Intro

+

Let's discover Docusaurus in less than 5 minutes.

+

Getting Started

+

Get started by creating a new site.

+

Or try Docusaurus immediately with docusaurus.new.

+

What you'll need

+
    +
  • Node.js version 14 or above: +
      +
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
    • +
    +
  • +
+

Generate a new site

+

Generate a new Docusaurus site using the classic template.

+

The classic template will automatically be added to your project after you run the command:

+
npm init docusaurus@latest my-website classic
+

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

+

The command also installs all necessary dependencies you need to run Docusaurus.

+

Start your site

+

Run the development server:

+
cd my-website
npm run start
+

The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

+

The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

+

Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

+ + \ No newline at end of file diff --git a/docs/next/search-index.json b/docs/next/search-index.json new file mode 100644 index 00000000..ca53f688 --- /dev/null +++ b/docs/next/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":1,"t":"","u":"/docusaurus-search-local/blog/archive","b":["Blog"]},{"i":2,"t":"Hola","u":"/docusaurus-search-local/blog/hola","b":["Blog"]},{"i":4,"t":"Hello","u":"/docusaurus-search-local/blog/hello-world","b":["Blog"]},{"i":6,"t":"Welcome","u":"/docusaurus-search-local/blog/welcome","b":["Blog"]},{"i":8,"t":"Tutorial Intro","u":"/docusaurus-search-local/docs/next/intro","b":["Docs"]},{"i":18,"t":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","b":["Blog"]},{"i":30,"t":"Create a Blog Post","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","b":["Docs","Tutorial - Basics"]},{"i":34,"t":"Deploy your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","b":["Docs","Tutorial - Basics"]},{"i":39,"t":"Create a Document","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","b":["Docs","Tutorial - Basics"]},{"i":45,"t":"Create a Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","b":["Docs","Tutorial - Basics"]},{"i":51,"t":"Markdown Features","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","b":["Docs","Tutorial - Basics"]},{"i":65,"t":"Translate your site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","b":["Docs","Tutorial - Extras"]},{"i":77,"t":"Manage Docs Versions","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","b":["Docs","Tutorial - Extras"]},{"i":85,"t":"Congratulations!","u":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","b":["Docs","Tutorial - Basics"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[]],["t/2",[0,2.808]],["t/4",[1,2.808]],["t/6",[2,2.808]],["t/8",[3,2.195,4,2.195]],["t/18",[5,1.801,6,1.801,7,1.801]],["t/30",[8,1.139,9,1.801,10,1.801]],["t/34",[11,2.195,12,1.708]],["t/39",[8,1.387,13,2.195]],["t/45",[8,1.387,14,2.195]],["t/51",[15,2.195,16,2.195]],["t/65",[12,1.708,17,2.195]],["t/77",[18,1.801,19,1.801,20,1.801]],["t/85",[21,2.808]]],"invertedIndex":[["blog",{"_index":9,"t":{"30":{"position":[[9,4]]}}}],["congratul",{"_index":21,"t":{"85":{"position":[[0,15]]}}}],["creat",{"_index":8,"t":{"30":{"position":[[0,6]]},"39":{"position":[[0,6]]},"45":{"position":[[0,6]]}}}],["deploy",{"_index":11,"t":{"34":{"position":[[0,6]]}}}],["doc",{"_index":19,"t":{"77":{"position":[[7,4]]}}}],["document",{"_index":13,"t":{"39":{"position":[[9,8]]}}}],["featur",{"_index":16,"t":{"51":{"position":[[9,8]]}}}],["hello",{"_index":1,"t":{"4":{"position":[[0,5]]}}}],["hola",{"_index":0,"t":{"2":{"position":[[0,4]]}}}],["intro",{"_index":4,"t":{"8":{"position":[[9,5]]}}}],["manag",{"_index":18,"t":{"77":{"position":[[0,6]]}}}],["markdown",{"_index":15,"t":{"51":{"position":[[0,8]]}}}],["page",{"_index":14,"t":{"45":{"position":[[9,4]]}}}],["post",{"_index":10,"t":{"30":{"position":[[14,4]]}}}],["site",{"_index":12,"t":{"34":{"position":[[12,4]]},"65":{"position":[[15,4]]}}}],["translat",{"_index":17,"t":{"65":{"position":[[0,9]]}}}],["tutori",{"_index":3,"t":{"8":{"position":[[0,8]]}}}],["version",{"_index":20,"t":{"77":{"position":[[12,8]]}}}],["welcom",{"_index":2,"t":{"6":{"position":[[0,7]]}}}],["单元测试",{"_index":7,"t":{"18":{"position":[[5,4]]}}}],["编写",{"_index":5,"t":{"18":{"position":[[0,2]]}}}],["良好",{"_index":6,"t":{"18":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":10,"t":"Getting Started","u":"/docusaurus-search-local/docs/next/intro","h":"#getting-started","p":8},{"i":12,"t":"What you'll need","u":"/docusaurus-search-local/docs/next/intro","h":"#what-youll-need","p":8},{"i":14,"t":"Generate a new site","u":"/docusaurus-search-local/docs/next/intro","h":"#generate-a-new-site","p":8},{"i":16,"t":"Start your site","u":"/docusaurus-search-local/docs/next/intro","h":"#start-your-site","p":8},{"i":20,"t":"基本方法","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#基本方法","p":18},{"i":22,"t":"输入","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输入","p":18},{"i":24,"t":"输出","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输出","p":18},{"i":26,"t":"重构与拆分","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#重构与拆分","p":18},{"i":28,"t":"总结","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#总结","p":18},{"i":32,"t":"Create your first Post","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":30},{"i":36,"t":"Build your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":34},{"i":41,"t":"Create your first Doc","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":39},{"i":43,"t":"Configure the Sidebar","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":39},{"i":47,"t":"Create your first React Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":45},{"i":49,"t":"Create your first Markdown Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":45},{"i":53,"t":"Front Matter","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":51},{"i":55,"t":"Links","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#links","p":51},{"i":57,"t":"Images","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#images","p":51},{"i":59,"t":"Code Blocks","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":51},{"i":61,"t":"Admonitions","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":51},{"i":63,"t":"MDX and React Components","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":51},{"i":67,"t":"Configure i18n","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":65},{"i":69,"t":"Translate a doc","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":65},{"i":71,"t":"Start your localized site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":65},{"i":73,"t":"Add a Locale Dropdown","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":65},{"i":75,"t":"Build your localized site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":65},{"i":79,"t":"Create a docs version","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":77},{"i":81,"t":"Add a Version Dropdown","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":77},{"i":83,"t":"Update an existing version","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":77},{"i":87,"t":"What's next?","u":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":85}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/10",[0,3.182,1,2.292]],["t/12",[2,3.182,3,3.182]],["t/14",[4,2.675,5,2.675,6,1.527]],["t/16",[1,2.292,6,1.817]],["t/20",[7,3.182,8,3.182]],["t/22",[9,3.926]],["t/24",[10,3.926]],["t/26",[11,3.182,12,3.182]],["t/28",[13,3.926]],["t/32",[14,1.527,15,1.704,16,2.675]],["t/36",[6,1.817,17,2.645]],["t/41",[14,1.527,15,1.704,18,1.926]],["t/43",[19,2.645,20,3.182]],["t/47",[14,1.317,15,1.47,21,1.918,22,1.918]],["t/49",[14,1.317,15,1.47,22,1.918,23,2.307]],["t/53",[24,3.182,25,3.182]],["t/55",[26,3.926]],["t/57",[27,3.926]],["t/59",[28,3.182,29,3.182]],["t/61",[30,3.926]],["t/63",[21,2.223,31,2.675,32,2.675]],["t/67",[19,2.645,33,3.182]],["t/69",[18,2.292,34,3.182]],["t/71",[1,1.926,6,1.527,35,1.926]],["t/73",[35,1.926,36,2.223,37,2.223]],["t/75",[6,1.527,17,2.223,35,1.926]],["t/79",[14,1.527,18,1.926,38,1.926]],["t/81",[36,2.223,37,2.223,38,1.926]],["t/83",[38,1.926,39,2.675,40,2.675]],["t/87",[41,3.182,42,3.182]]],"invertedIndex":[["add",{"_index":36,"t":{"73":{"position":[[0,3]]},"81":{"position":[[0,3]]}}}],["admonit",{"_index":30,"t":{"61":{"position":[[0,11]]}}}],["block",{"_index":29,"t":{"59":{"position":[[5,6]]}}}],["build",{"_index":17,"t":{"36":{"position":[[0,5]]},"75":{"position":[[0,5]]}}}],["code",{"_index":28,"t":{"59":{"position":[[0,4]]}}}],["compon",{"_index":32,"t":{"63":{"position":[[14,10]]}}}],["configur",{"_index":19,"t":{"43":{"position":[[0,9]]},"67":{"position":[[0,9]]}}}],["creat",{"_index":14,"t":{"32":{"position":[[0,6]]},"41":{"position":[[0,6]]},"47":{"position":[[0,6]]},"49":{"position":[[0,6]]},"79":{"position":[[0,6]]}}}],["doc",{"_index":18,"t":{"41":{"position":[[18,3]]},"69":{"position":[[12,3]]},"79":{"position":[[9,4]]}}}],["dropdown",{"_index":37,"t":{"73":{"position":[[13,8]]},"81":{"position":[[14,8]]}}}],["exist",{"_index":40,"t":{"83":{"position":[[10,8]]}}}],["first",{"_index":15,"t":{"32":{"position":[[12,5]]},"41":{"position":[[12,5]]},"47":{"position":[[12,5]]},"49":{"position":[[12,5]]}}}],["front",{"_index":24,"t":{"53":{"position":[[0,5]]}}}],["gener",{"_index":4,"t":{"14":{"position":[[0,8]]}}}],["get",{"_index":0,"t":{"10":{"position":[[0,7]]}}}],["i18n",{"_index":33,"t":{"67":{"position":[[10,4]]}}}],["imag",{"_index":27,"t":{"57":{"position":[[0,6]]}}}],["link",{"_index":26,"t":{"55":{"position":[[0,5]]}}}],["ll",{"_index":2,"t":{"12":{"position":[[9,2]]}}}],["local",{"_index":35,"t":{"71":{"position":[[11,9]]},"73":{"position":[[6,6]]},"75":{"position":[[11,9]]}}}],["markdown",{"_index":23,"t":{"49":{"position":[[18,8]]}}}],["matter",{"_index":25,"t":{"53":{"position":[[6,6]]}}}],["mdx",{"_index":31,"t":{"63":{"position":[[0,3]]}}}],["need",{"_index":3,"t":{"12":{"position":[[12,4]]}}}],["new",{"_index":5,"t":{"14":{"position":[[11,3]]}}}],["next",{"_index":42,"t":{"87":{"position":[[7,4]]}}}],["page",{"_index":22,"t":{"47":{"position":[[24,4]]},"49":{"position":[[27,4]]}}}],["post",{"_index":16,"t":{"32":{"position":[[18,4]]}}}],["react",{"_index":21,"t":{"47":{"position":[[18,5]]},"63":{"position":[[8,5]]}}}],["s",{"_index":41,"t":{"87":{"position":[[5,1]]}}}],["sidebar",{"_index":20,"t":{"43":{"position":[[14,7]]}}}],["site",{"_index":6,"t":{"14":{"position":[[15,4]]},"16":{"position":[[11,4]]},"36":{"position":[[11,4]]},"71":{"position":[[21,4]]},"75":{"position":[[21,4]]}}}],["start",{"_index":1,"t":{"10":{"position":[[8,7]]},"16":{"position":[[0,5]]},"71":{"position":[[0,5]]}}}],["translat",{"_index":34,"t":{"69":{"position":[[0,9]]}}}],["updat",{"_index":39,"t":{"83":{"position":[[0,6]]}}}],["version",{"_index":38,"t":{"79":{"position":[[14,7]]},"81":{"position":[[6,7]]},"83":{"position":[[19,7]]}}}],["基本",{"_index":7,"t":{"20":{"position":[[0,2]]}}}],["总结",{"_index":13,"t":{"28":{"position":[[0,2]]}}}],["拆分",{"_index":12,"t":{"26":{"position":[[3,2]]}}}],["方法",{"_index":8,"t":{"20":{"position":[[2,2]]}}}],["输入",{"_index":9,"t":{"22":{"position":[[0,2]]}}}],["输出",{"_index":10,"t":{"24":{"position":[[0,2]]}}}],["重构",{"_index":11,"t":{"26":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":1,"t":"Archive","s":"","u":"/docusaurus-search-local/blog/archive","p":1},{"i":2,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/blog/hola","p":2},{"i":4,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/blog/hello-world","p":4},{"i":6,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/blog/welcome","p":6},{"i":8,"t":"This is description in front matter","s":"Tutorial Intro","u":"/docusaurus-search-local/docs/next/intro","p":8},{"i":18,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","p":18},{"i":30,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","p":30},{"i":34,"t":"Docusaurus is a static-site-generator (also called Jamstack).","s":"Deploy your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","p":34},{"i":39,"t":"Documents are groups of pages connected through:","s":"Create a Document","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","p":39},{"i":45,"t":"Add Markdown or React files to src/pages to create a standalone page:","s":"Create a Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","p":45},{"i":51,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","p":51},{"i":65,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","p":65},{"i":77,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","p":77},{"i":85,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template.","s":"Congratulations!","u":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","p":85}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,3.591]],["t/2",[1,2.046,2,2.553,3,2.046,4,2.046,5,2.046,6,1.282,7,1.282,8,1.282,9,1.282,10,1.282,11,1.282,12,1.282,13,1.282,14,1.282,15,1.282,16,1.282,17,1.282,18,1.282]],["t/4",[19,2.443,20,2.083,21,1.544,22,0.887,23,2.443,24,2.443]],["t/6",[20,2.028,25,1.44,26,1.851,27,1.851,28,1.851,29,1.44,30,1.44,31,1.851,32,1.44,33,1.44,34,1.851]],["t/8",[35,3.105,36,3.105,37,3.105]],["t/18",[38,2.208,39,2.208,40,2.208,41,2.208,42,2.208,43,2.208,44,2.208,45,2.208,46,2.208]],["t/30",[20,1.714,21,1.17,22,0.672,33,1.44,47,1.714,48,1.851,49,1.851,50,1.851,51,1.851,52,1.851,53,1.851]],["t/34",[22,0.937,54,2.58,55,2.58,56,2.58,57,2.58,58,2.58]],["t/39",[47,1.728,59,2.734,60,2.734,61,2.734,62,2.734]],["t/45",[21,1.395,29,1.718,30,1.718,47,1.943,63,1.718,64,2.208,65,2.208,66,2.208]],["t/51",[22,0.937,25,2.008,32,2.008,63,2.008,67,2.58,68,2.58]],["t/65",[69,2.58,70,2.58,71,2.008,72,2.58,73,2.58,74,2.58]],["t/77",[22,0.993,71,2.128,75,2.734,76,2.734,77,2.734]],["t/85",[22,0.887,78,2.443,79,2.443,80,2.443,81,2.443,82,2.443,83,2.443]]],"invertedIndex":[["2",{"_index":23,"t":{"4":{"position":[[59,1]]}}}],["add",{"_index":29,"t":{"6":{"position":[[53,3]]},"45":{"position":[[0,3]]}}}],["addit",{"_index":68,"t":{"51":{"position":[[39,10]]}}}],["adipisc",{"_index":7,"t":{"2":{"position":[[40,10]]}}}],["aliquam",{"_index":17,"t":{"2":{"position":[[133,7]]}}}],["alpha",{"_index":24,"t":{"4":{"position":[[61,5]]}}}],["amet",{"_index":5,"t":{"2":{"position":[[22,4],[174,4]]}}}],["archiv",{"_index":0,"t":{"1":{"position":[[0,7]]}}}],["basic",{"_index":79,"t":{"85":{"position":[[26,6]]}}}],["blog",{"_index":20,"t":{"4":{"position":[[16,4],[27,4]]},"6":{"position":[[0,4],[33,4],[70,4]]},"30":{"position":[[35,4],[57,4]]}}}],["call",{"_index":57,"t":{"34":{"position":[[44,6]]}}}],["chang",{"_index":81,"t":{"85":{"position":[[61,7]]}}}],["com",{"_index":42,"t":{"18":{"position":[[26,3]]}}}],["connect",{"_index":61,"t":{"39":{"position":[[30,9]]}}}],["consectetur",{"_index":6,"t":{"2":{"position":[[28,11]]}}}],["consequat",{"_index":18,"t":{"2":{"position":[[141,9]]}}}],["creat",{"_index":21,"t":{"4":{"position":[[35,7]]},"30":{"position":[[11,7]]},"45":{"position":[[44,6]]}}}],["descript",{"_index":35,"t":{"8":{"position":[[8,11]]}}}],["dignissim",{"_index":11,"t":{"2":{"position":[[80,9]]}}}],["directori",{"_index":31,"t":{"6":{"position":[[75,9]]}}}],["doc",{"_index":71,"t":{"65":{"position":[[16,4]]},"77":{"position":[[48,4]]}}}],["document",{"_index":59,"t":{"39":{"position":[[0,9]]}}}],["docusauru",{"_index":22,"t":{"4":{"position":[[48,10]]},"30":{"position":[[0,10]]},"34":{"position":[[0,10]]},"51":{"position":[[0,10]]},"77":{"position":[[0,10]]},"85":{"position":[[36,10]]}}}],["dolor",{"_index":3,"t":{"2":{"position":[[12,5],[164,5]]}}}],["each",{"_index":48,"t":{"30":{"position":[[30,4]]}}}],["elementum",{"_index":10,"t":{"2":{"position":[[70,9]]}}}],["elit",{"_index":8,"t":{"2":{"position":[[51,4]]}}}],["ero",{"_index":16,"t":{"2":{"position":[[128,4]]}}}],["featur",{"_index":25,"t":{"6":{"position":[[5,8]]},"51":{"position":[[50,8]]}}}],["feed",{"_index":53,"t":{"30":{"position":[[95,4]]}}}],["few",{"_index":67,"t":{"51":{"position":[[35,3]]}}}],["file",{"_index":30,"t":{"6":{"position":[[57,5]]},"45":{"position":[[22,5]]}}}],["french",{"_index":74,"t":{"65":{"position":[[33,6]]}}}],["front",{"_index":36,"t":{"8":{"position":[[23,5]]}}}],["fusc",{"_index":13,"t":{"2":{"position":[[101,5]]}}}],["gener",{"_index":56,"t":{"34":{"position":[[28,9]]}}}],["good",{"_index":44,"t":{"18":{"position":[[38,4]]}}}],["group",{"_index":60,"t":{"39":{"position":[[14,6]]}}}],["http",{"_index":40,"t":{"18":{"position":[[6,5]]}}}],["index",{"_index":50,"t":{"30":{"position":[[62,5]]}}}],["initi",{"_index":82,"t":{"85":{"position":[[76,7]]}}}],["intro",{"_index":72,"t":{"65":{"position":[[21,5]]}}}],["ipsum",{"_index":2,"t":{"2":{"position":[[6,5],[115,5],[158,5]]}}}],["jamstack",{"_index":58,"t":{"34":{"position":[[51,8]]}}}],["learn",{"_index":78,"t":{"85":{"position":[[14,7]]}}}],["lorem",{"_index":1,"t":{"2":{"position":[[0,5],[152,5]]}}}],["made",{"_index":80,"t":{"85":{"position":[[51,4]]}}}],["manag",{"_index":75,"t":{"77":{"position":[[15,6]]}}}],["markdown",{"_index":63,"t":{"45":{"position":[[4,8]]},"51":{"position":[[20,8]]}}}],["matter",{"_index":37,"t":{"8":{"position":[[29,6]]}}}],["md",{"_index":73,"t":{"65":{"position":[[27,2]]}}}],["multipl",{"_index":76,"t":{"77":{"position":[[22,8]]}}}],["page",{"_index":47,"t":{"30":{"position":[[21,4],[68,4]]},"39":{"position":[[24,5]]},"45":{"position":[[35,5],[64,4]]}}}],["pellentesqu",{"_index":9,"t":{"2":{"position":[[57,12]]}}}],["plugin",{"_index":27,"t":{"6":{"position":[[38,6]]}}}],["post",{"_index":49,"t":{"30":{"position":[[40,4]]}}}],["power",{"_index":26,"t":{"6":{"position":[[18,7]]}}}],["react",{"_index":64,"t":{"45":{"position":[[16,5]]}}}],["rhoncu",{"_index":14,"t":{"2":{"position":[[107,7]]}}}],["rss",{"_index":52,"t":{"30":{"position":[[91,3]]}}}],["s",{"_index":69,"t":{"65":{"position":[[4,1]]}}}],["simpli",{"_index":28,"t":{"6":{"position":[[46,6]]}}}],["sit",{"_index":4,"t":{"2":{"position":[[18,3],[170,3]]}}}],["site",{"_index":55,"t":{"34":{"position":[[23,4]]}}}],["src",{"_index":65,"t":{"45":{"position":[[31,3]]}}}],["standalon",{"_index":66,"t":{"45":{"position":[[53,10]]}}}],["static",{"_index":54,"t":{"34":{"position":[[16,6]]}}}],["support",{"_index":32,"t":{"6":{"position":[[89,8]]},"51":{"position":[[11,8]]}}}],["system",{"_index":51,"t":{"30":{"position":[[80,6]]}}}],["tag",{"_index":33,"t":{"6":{"position":[[98,4]]},"30":{"position":[[76,3]]}}}],["templat",{"_index":83,"t":{"85":{"position":[[84,8]]}}}],["tempor",{"_index":15,"t":{"2":{"position":[[121,6]]}}}],["test",{"_index":46,"t":{"18":{"position":[[48,5]]}}}],["through",{"_index":62,"t":{"39":{"position":[[40,7]]}}}],["translat",{"_index":70,"t":{"65":{"position":[[6,9]]}}}],["ultrici",{"_index":12,"t":{"2":{"position":[[90,9]]}}}],["unit",{"_index":45,"t":{"18":{"position":[[43,4]]}}}],["version",{"_index":77,"t":{"77":{"position":[[31,8]]}}}],["wangshenwei",{"_index":41,"t":{"18":{"position":[[14,11]]}}}],["welcom",{"_index":19,"t":{"4":{"position":[[0,7]]}}}],["well",{"_index":34,"t":{"6":{"position":[[106,4]]}}}],["write",{"_index":43,"t":{"18":{"position":[[30,7]]}}}],["本文",{"_index":38,"t":{"18":{"position":[[0,2]]}}}],["转载自",{"_index":39,"t":{"18":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":8,"t":"Keywords,intro,front matter,template","s":"Tutorial Intro","u":"/docusaurus-search-local/docs/next/intro","p":8}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/8",[0,0.288,1,0.288,2,0.288,3,0.288,4,0.288]]],"invertedIndex":[["front",{"_index":2,"t":{"8":{"position":[[15,5]]}}}],["intro",{"_index":1,"t":{"8":{"position":[[9,5]]}}}],["keyword",{"_index":0,"t":{"8":{"position":[[0,8]]}}}],["matter",{"_index":3,"t":{"8":{"position":[[21,6]]}}}],["templat",{"_index":4,"t":{"8":{"position":[[28,8]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":3,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/blog/hola","h":"","p":2},{"i":5,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/blog/hello-world","h":"","p":4},{"i":7,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/blog/welcome","h":"","p":6},{"i":9,"t":"Let's discover Docusaurus in less than 5 minutes.","s":"Tutorial Intro","u":"/docusaurus-search-local/docs/next/intro","h":"","p":8},{"i":11,"t":"Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new.","s":"Getting Started","u":"/docusaurus-search-local/docs/next/intro","h":"#getting-started","p":8},{"i":13,"t":"Node.js version 14 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies.","s":"What you'll need","u":"/docusaurus-search-local/docs/next/intro","h":"#what-youll-need","p":8},{"i":15,"t":"Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus.","s":"Generate a new site","u":"/docusaurus-search-local/docs/next/intro","h":"#generate-a-new-site","p":8},{"i":17,"t":"Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.","s":"Start your site","u":"/docusaurus-search-local/docs/next/intro","h":"#start-your-site","p":8},{"i":19,"t":"note 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"","p":18},{"i":21,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#基本方法","p":18},{"i":23,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输入","p":18},{"i":25,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输出","p":18},{"i":27,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#重构与拆分","p":18},{"i":29,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#总结","p":18},{"i":31,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","h":"","p":30},{"i":33,"t":"Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. A new blog post is now available at http://localhost:3000/blog/greetings.","s":"Create your first Post","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":30},{"i":35,"t":"Docusaurus is a static-site-generator (also called Jamstack). It builds your site as simple static HTML, JavaScript and CSS files.","s":"Deploy your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","h":"","p":34},{"i":37,"t":"Build your site for production: npm run build The static files are generated in the build folder.","s":"Build your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":34},{"i":38,"t":"Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).","s":"Deploy your site","u":"/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-site","h":"#deploy-your-site-1","p":34},{"i":40,"t":"Documents are groups of pages connected through: a sidebar previous/next navigation versioning","s":"Create a Document","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","h":"","p":39},{"i":42,"t":"Create a markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello.","s":"Create your first Doc","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":39},{"i":44,"t":"Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js module.exports = { tutorialSidebar: [ { type: 'category', label: 'Tutorial', items: ['hello'], }, ], };","s":"Configure the Sidebar","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":39},{"i":46,"t":"Add Markdown or React files to src/pages to create a standalone page: src/pages/index.js -> localhost:3000/ src/pages/foo.md -> localhost:3000/foo src/pages/foo/bar.js -> localhost:3000/foo/bar","s":"Create a Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","h":"","p":45},{"i":48,"t":"Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return (

My React page

This is a React page

); } A new page is now available at http://localhost:3000/my-react-page.","s":"Create your first React Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":45},{"i":50,"t":"Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page.","s":"Create your first Markdown Page","u":"/docusaurus-search-local/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":45},{"i":52,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"","p":51},{"i":54,"t":"Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my-doc-id title: My document title description: My document description slug: /my-custom-url --- ## Markdown heading Markdown text with [links](./hello.md)","s":"Front Matter","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":51},{"i":56,"t":"Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create-a-page). Let's see how to [Create a page](./create-a-page.md). Result: Let's see how to Create a page.","s":"Links","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#links","p":51},{"i":58,"t":"Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well, as shown in the extra guides.","s":"Images","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#images","p":51},{"i":60,"t":"Markdown code blocks are supported with Syntax highlighting. src/components/HelloDocusaurus.js function HelloDocusaurus() { return (

Hello, Docusaurus!

) } src/components/HelloDocusaurus.js function HelloDocusaurus() { return

Hello, Docusaurus!

; }","s":"Code Blocks","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":51},{"i":62,"t":"Docusaurus has a special syntax to create admonitions and callouts: :::tip My tip Use this awesome feature option ::: :::danger Take care This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous","s":"Admonitions","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":51},{"i":64,"t":"MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( { alert(`You clicked the color ${color} with label ${children}`) }}> {children} ); This is Docusaurus green ! This is Docusaurus green ! This is Facebook blue !","s":"MDX and React Components","u":"/docusaurus-search-local/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":51},{"i":66,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"","p":65},{"i":68,"t":"Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js module.exports = { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, };","s":"Configure i18n","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":65},{"i":70,"t":"Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.","s":"Translate a doc","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":65},{"i":72,"t":"Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. caution In development, you can only use one locale at a same time.","s":"Start your localized site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":65},{"i":74,"t":"To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar:","s":"Add a Locale Dropdown","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":65},{"i":76,"t":"Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build","s":"Build your localized site","u":"/docusaurus-search-local/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":65},{"i":78,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"","p":77},{"i":80,"t":"Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docs current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs","s":"Create a docs version","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":77},{"i":82,"t":"To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'docsVersionDropdown', }, ], }, }, }; The docs version dropdown appears in your navbar:","s":"Add a Version Dropdown","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":77},{"i":84,"t":"It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello docs/hello.md updates http://localhost:3000/docs/next/hello","s":"Update an existing version","u":"/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":77},{"i":86,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template. Docusaurus has much more to offer! Have 5 more minutes? Take a look at versioning and i18n. Anything unclear or buggy in this tutorial? Please report it!","s":"Congratulations!","u":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","h":"","p":85},{"i":88,"t":"Read the official documentation. Add a custom Design and Layout Add a search bar Find inspirations in the Docusaurus showcase Get involved in the Docusaurus Community","s":"What's next?","u":"/docusaurus-search-local/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":85}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/3",[0,5.235,1,5.817,2,5.235,3,5.235,4,5.235,5,4.026,6,4.026,7,4.026,8,4.026,9,4.026,10,4.026,11,4.026,12,4.026,13,4.026,14,4.026,15,4.026,16,4.026,17,4.026]],["t/5",[18,4.738,19,3.928,20,1.677,21,0.905,22,3.557,23,4.738,24,2.695,25,3.557,26,4.026,27,4.738,28,4.738]],["t/7",[19,4.211,26,3.509,29,3.996,30,4.129,31,3.509,32,4.129,33,2.023,34,1.462,35,3.996,36,2.349,37,3.1,38,3.509,39,4.129,40,4.129,41,4.129,42,4.129,43,3.509]],["t/9",[21,0.993,44,3.519,45,5.197,46,5.197,47,4.417,48,4.417]],["t/11",[20,1.755,21,1.139,49,3.722,50,3.142,51,2.611,52,4.957,53,4.957]],["t/13",[54,5.75,55,2.818,56,2.46,57,4.669,58,4.669,59,3.968,60,4.669,61,4.669,62,4.669,63,4.669,64,3.968]],["t/15",[21,1.03,50,1.824,51,1.824,59,2.942,64,2.942,65,2.6,66,1.969,67,5.394,68,4.023,69,2.6,70,3.462,71,2.942,72,2.494,73,4.928,74,1.824,75,3.462,76,3.462,77,2.942,78,2.344,79,3.462,80,3.462,81,4.023,82,3.462,83,2.942,84,2.942,85,3.462,86,2.942]],["t/17",[20,1.055,21,0.569,35,2.238,49,3.201,51,2.246,69,2.238,72,2.622,73,3.623,74,2.246,77,3.623,81,2.533,86,2.533,87,3.623,88,4.263,89,4.263,90,3.623,91,2.98,92,4.263,93,2.98,94,2.98,95,2.98,96,2.018,97,1.842,98,1.696,99,2.533,100,2.533,101,2.98,102,2.98,103,1.275,104,1.275,105,1.275,106,2.98,107,1.275,108,2.238,109,1.196,110,1.46,111,2.238,112,2.98,113,2.98,114,2.98]],["t/19",[24,1.888,103,1.42,115,3.319,116,5.276,117,3.319,118,3.319,119,2.821,120,3.319,121,3.319,122,3.319,123,3.319,124,3.319,125,3.319,126,3.319,127,2.051,128,3.572,129,3.319,130,3.319,131,3.319,132,2.492,133,2.051,134,2.492,135,2.492,136,2.821,137,3.319,138,3.319,139,3.319,140,2.821,141,1.888,142,3.319,143,3.319,144,3.319,145,3.319,146,3.319,147,3.319,148,2.821,149,3.319]],["t/21",[22,2.182,24,0.744,33,2.052,127,2.12,128,2.323,133,1.796,134,0.982,136,2.916,148,1.111,150,2.226,151,2.47,152,1.307,153,1.892,154,3.441,155,2.916,156,2.889,157,3.441,158,1.507,159,1.307,160,2.182,161,0.982,162,2.47,163,1.111,164,1.307,165,1.671,166,1.671,167,0.885,168,2.907,169,2.226,170,1.376,171,0.982,172,1.968,173,2.47,174,1.892,175,1.892,176,2.605,177,1.307,178,1.307,179,1.307,180,1.307,181,1.307,182,1.111,183,1.671,184,2.378,185,1.111,186,1.307,187,1.307,188,2.907,189,1.111,190,1.892,191,1.671,192,1.671,193,2.907,194,1.111,195,2.907,196,1.671,197,1.111,198,2.226,199,1.892,200,2.907,201,1.892,202,2.226,203,0.982,204,1.307,205,2.226,206,1.307,207,1.307,208,1.671,209,2.182,210,1.307,211,1.307,212,1.507,213,2.226,214,1.307,215,1.307,216,1.111,217,1.307,218,1.307,219,0.885,220,1.307,221,1.307,222,1.307,223,1.307,224,1.307,225,1.307,226,0.982,227,0.808,228,1.307,229,1.111,230,1.892,231,1.892,232,1.307,233,0.885]],["t/23",[24,1.531,50,0.865,84,2.288,127,1.664,132,2.021,133,1.014,135,1.232,153,1.395,154,2.317,158,1.822,160,2.973,161,1.232,162,1.395,165,2.021,166,2.021,170,1.014,171,2.021,176,2.681,183,1.232,184,1.014,189,1.395,191,1.232,192,2.021,194,2.908,196,2.57,197,4.401,203,1.232,212,1.111,216,1.395,219,2.317,226,1.232,227,1.014,233,1.111,234,1.641,235,2.021,236,1.395,237,1.641,238,1.395,239,1.395,240,1.395,241,2.288,242,2.908,243,2.692,244,1.395,245,1.641,246,1.395,247,1.395,248,1.395,249,1.395,250,1.395,251,1.395,252,1.641,253,1.395,254,2.288,255,1.395,256,1.641,257,2.288,258,1.395,259,1.641,260,1.641,261,1.395,262,1.395,263,2.288,264,1.641,265,4.215,266,2.692,267,1.641,268,2.692,269,2.692,270,1.395,271,1.641,272,1.641,273,2.288,274,2.021,275,2.692,276,2.692,277,1.641,278,1.395,279,2.692,280,2.021,281,1.641,282,2.288,283,1.395,284,1.232,285,1.641,286,1.641]],["t/25",[24,1.48,127,1.607,132,1.473,135,0.847,140,0.959,141,0.642,155,1.667,156,3.594,157,2.382,158,1.761,161,0.847,163,0.959,165,1.953,166,1.953,167,0.764,170,0.697,171,2.333,174,2.641,175,2.21,176,2.613,183,1.473,184,1.607,191,0.847,192,1.473,196,0.847,199,0.959,201,2.21,203,3.114,208,2.642,209,1.473,212,0.764,219,2.104,226,0.847,227,0.697,233,0.764,235,0.847,239,0.959,240,0.959,241,1.667,242,2.21,244,0.959,246,0.959,247,0.959,248,0.959,249,0.959,250,0.959,251,0.959,253,2.21,254,1.667,255,0.959,257,0.959,258,0.959,261,0.959,262,0.959,263,0.959,265,2.991,273,2.21,274,1.953,278,1.667,280,1.473,282,2.21,283,0.959,284,0.847,287,0.959,288,1.667,289,0.847,290,1.961,291,1.961,292,1.128,293,2.641,294,1.128,295,1.128,296,4.147,297,2.601,298,1.961,299,1.761,300,1.761,301,1.128,302,1.128,303,1.128,304,1.128,305,1.128,306,1.128,307,1.128,308,1.128,309,1.128,310,1.128,311,1.961,312,1.128,313,1.128,314,1.961,315,3.519,316,1.128,317,1.128,318,2.601,319,1.761,320,1.961,321,1.961,322,2.601,323,1.128,324,1.128,325,1.128,326,1.128,327,1.128,328,1.128,329,1.128,330,1.128,331,1.128,332,1.128,333,1.128,334,1.961,335,1.667,336,1.961,337,1.128,338,1.128,339,1.128,340,1.128]],["t/27",[127,1.3,128,2.734,133,2.496,141,1.196,154,2.223,157,2.223,158,1.424,176,1.424,182,1.787,184,1.3,185,2.79,190,1.787,208,1.579,212,1.424,219,2.223,227,1.3,231,1.787,233,1.424,235,3.427,236,1.787,238,1.787,270,1.787,280,3.717,287,1.787,288,2.79,289,1.579,335,1.787,341,2.103,342,2.103,343,2.103,344,2.103,345,3.283,346,2.103,347,2.103,348,2.103,349,3.283,350,2.103,351,3.283,352,2.103,353,2.103,354,1.787,355,1.787,356,2.79,357,2.103,358,2.103,359,2.103,360,2.103,361,2.103,362,2.103,363,2.103,364,2.103,365,2.103,366,2.103,367,2.103,368,2.103,369,2.103,370,2.103,371,2.103,372,2.103,373,2.103,374,2.103,375,2.103,376,2.103,377,2.103,378,2.103,379,2.103,380,2.103,381,2.103,382,2.103,383,2.103,384,2.103,385,2.103,386,2.103,387,2.103,388,2.103,389,2.103,390,2.103]],["t/29",[128,2.535,133,2.314,134,2.812,151,3.182,154,3.379,156,2.812,157,3.379,160,2.812,184,2.314,209,2.812,227,2.314,229,3.182,230,3.182,289,2.812,293,3.182,354,3.182,355,3.182,356,3.182,391,3.744,392,3.744,393,3.744,394,3.744,395,3.744,396,3.744,397,3.744,398,3.744,399,3.744,400,3.744]],["t/31",[19,3.893,20,1.653,21,0.892,25,3.506,37,3.506,110,2.818,401,4.669,402,3.968,403,4.669,404,4.669,405,4.669]],["t/33",[19,3.263,20,0.825,21,0.679,25,3.236,34,0.825,37,1.751,44,1.579,50,1.228,103,2.221,104,0.998,105,0.998,109,1.426,111,1.751,119,4.097,172,1.579,300,3.263,406,3.556,407,3.556,408,3.556,409,5.469,410,1.982,411,3.662,412,2.332,413,3.556,414,2.332,415,2.332,416,2.332,417,2.332,418,4.309,419,3.556,420,3.556,421,3.022,422,3.022,423,2.332,424,2.332,425,2.332,426,2.332,427,2.332,428,2.332,429,1.982,430,1.751,431,2.332,432,1.982,433,2.332,434,2.332,435,1.982,436,1.228,437,1.579]],["t/35",[21,0.879,34,1.629,43,3.911,51,3.002,65,3.456,97,2.844,438,4.279,439,3.911,440,4.602,441,4.602,442,4.602,443,4.602]],["t/37",[34,1.702,51,2.533,65,3.611,72,2.533,74,2.533,97,3.901,438,3.611,444,4.086,445,2.736]],["t/38",[24,2.207,72,2.044,74,2.044,97,3.531,98,2.207,99,4.343,103,1.66,104,1.66,105,1.66,432,3.297,436,2.692,444,3.297,445,2.907,446,5.11,447,3.88,448,3.88,449,3.88,450,3.88,451,3.88,452,3.297,453,3.297]],["t/40",[56,2.572,96,3.305,100,4.148,110,2.392,299,3.305,454,2.777,455,4.882,456,4.882,457,4.148,458,4.882]],["t/42",[20,1.462,21,0.789,34,1.462,50,2.175,103,1.767,104,1.767,105,1.767,107,2.52,109,2.135,430,3.1,436,2.175,437,2.795,454,3.027,459,1.888,460,3.844]],["t/44",[20,1.594,21,0.86,33,1.577,55,2.206,69,2.417,78,2.179,107,1.926,109,1.291,173,2.736,319,2.179,430,2.417,445,1.831,454,1.831,457,5.347,460,3.208,461,2.736,462,2.417,463,4.411,464,4.502,465,3.219,466,3.219,467,3.219,468,2.736,469,3.219,470,2.179,471,1.831,472,3.219,473,3.219,474,2.736]],["t/46",[20,1.31,33,1.814,34,1.31,55,2.427,104,2.388,105,2.388,109,1.485,110,3.044,141,2.106,402,3.145,459,1.693,475,4.035,476,3.701,477,5.96,478,4.209]],["t/48",[20,1.151,34,1.151,50,1.713,55,2.221,103,1.391,104,1.391,105,1.391,110,3.154,141,3.59,167,2.201,170,2.01,436,1.713,437,2.201,471,1.85,475,3.069,479,4.533,480,4.798,481,3.252,482,3.252,483,3.252,484,3.853,485,3.853]],["t/50",[20,1.407,34,1.407,50,2.094,103,1.701,104,1.701,105,1.701,109,2.083,110,3.302,436,2.094,437,2.692,459,2.909,475,3.515]],["t/52",[21,0.993,29,3.903,36,2.957,459,2.377,486,5.197,487,5.197]],["t/54",[107,2.169,109,2.034,300,2.595,410,3.258,411,4.308,439,3.258,454,3.231,459,2.598,460,2.369,461,3.258,462,2.879,488,3.834,489,3.834,490,3.834,491,5.07,492,5.07,493,3.834,494,3.834,495,3.258]],["t/56",[20,2.225,34,1.357,36,2.181,44,3.846,66,2.181,109,1.538,110,3.08,300,2.595,459,1.753,495,3.258,496,3.258,497,4.308,498,3.258,499,5.68,500,3.834]],["t/58",[21,1.079,34,1.341,35,2.845,36,2.155,38,3.219,66,2.155,421,4.799,422,4.275,438,3.777,453,3.219,459,1.732,496,3.219,497,3.219,498,3.219,501,3.788,502,5.03,503,5.03,504,3.788,505,2.845,506,3.788,507,3.788]],["t/60",[21,0.968,36,2.181,55,2.484,83,3.258,167,3.432,170,3.133,459,1.753,460,3.133,475,3.432,484,5.137,508,3.834,509,3.258,510,3.258,511,4.308,512,6.044]],["t/62",[20,1.39,21,0.75,29,3.868,66,2.93,509,3.337,513,3.927,514,3.927,515,3.927,516,5.748,517,5.151,518,5.151,519,5.748,520,4.377,521,5.151,522,5.151]],["t/64",[21,0.842,66,1.778,141,1.778,274,2.347,454,1.778,459,1.429,463,2.656,471,1.778,510,4.341,511,2.656,523,3.125,524,3.125,525,2.656,526,3.125,527,3.125,528,3.125,529,5.109,530,6.072,531,4.409,532,3.125,533,3.125,534,3.125,535,3.125,536,3.125,537,3.125,538,3.125,539,3.125,540,3.125,541,3.125,542,3.125,543,3.125,544,3.125,545,4.409,546,3.125,547,3.125]],["t/66",[44,3.519,107,2.224,108,3.903,109,2.085,548,3.903,549,3.903]],["t/68",[21,1.042,33,2.104,36,2.443,55,2.674,98,3.104,470,2.907,471,2.443,550,3.225,551,4.098,552,3.694,553,3.225,554,4.295,555,5.457]],["t/70",[21,1.008,31,4.484,34,1.175,107,2.559,108,4.277,109,2.285,445,1.888,485,2.821,505,3.962,548,2.492,549,2.492,552,3.856,553,4.277,556,2.821,557,3.319,558,5.276,559,3.319]],["t/72",[49,4.291,51,2.692,66,2.207,72,2.044,74,2.044,87,3.297,98,3.455,103,1.66,104,1.66,105,1.66,110,1.901,548,2.913,549,2.913,552,3.459,560,3.88,561,3.88,562,3.88,563,3.88,564,3.88,565,3.88]],["t/74",[21,0.984,33,1.924,34,1.39,55,2.524,78,2.659,96,2.659,98,2.93,319,2.659,436,2.069,470,2.659,471,2.234,550,2.949,551,3.868,566,3.337,567,3.927,568,4.377,569,3.337,570,4.377,571,3.927,572,3.337]],["t/76",[51,2.924,72,2.924,74,2.924,97,3.939,98,3.455,552,2.987,573,4.413,574,4.413,575,4.413]],["t/78",[21,1.009,56,2.783,107,2.26,576,5.283,577,5.283]],["t/80",[20,1.106,21,0.597,22,2.347,56,3.287,71,2.656,72,1.646,74,1.646,103,1.887,104,1.887,105,1.887,107,2.726,172,3.961,299,2.116,436,1.646,445,1.778,505,2.347,556,2.656,578,3.125,579,4.972,580,2.656,581,3.125,582,3.125,583,3.125]],["t/82",[21,0.984,33,1.924,34,1.39,55,2.524,56,3.028,78,2.659,96,2.659,107,1.68,319,2.659,470,2.659,471,2.234,550,2.949,551,3.868,566,3.337,568,4.377,569,3.337,570,4.377,572,3.337,584,3.927]],["t/84",[56,2.958,103,2.136,104,2.136,105,2.136,107,2.669,109,2.002,111,2.812,172,2.535,299,2.535,445,2.13,460,3.701,468,3.182,579,3.182,580,3.182,585,3.744,586,4.991]],["t/86",[21,1,47,3.421,48,3.421,56,2.121,68,3.421,90,3.421,429,3.421,435,3.421,474,3.421,520,3.421,525,4.449,553,3.023,587,4.026,588,4.026,589,4.026,590,4.026,591,4.026,592,4.026,593,4.026,594,4.026,595,4.026,596,4.026]],["t/88",[21,1.06,33,2.72,284,3.313,452,3.75,454,2.51,462,3.313,478,3.75,480,3.75,597,4.413,598,4.413,599,4.413,600,4.413,601,4.413,602,4.413,603,4.413]]],"invertedIndex":[["0",{"_index":579,"t":{"80":{"position":[[20,1],[73,1],[131,1],[196,1],[247,1]]},"84":{"position":[[91,1]]}}}],["02",{"_index":407,"t":{"33":{"position":[[27,2],[57,2]]}}}],["1",{"_index":172,"t":{"21":{"position":[[179,1],[222,1],[262,1]]},"33":{"position":[[175,1]]},"80":{"position":[[18,1],[71,1],[129,1],[194,1],[245,1]]},"84":{"position":[[89,1]]}}}],["10px",{"_index":538,"t":{"64":{"position":[[240,4]]}}}],["14",{"_index":57,"t":{"13":{"position":[[16,2]]}}}],["2",{"_index":22,"t":{"5":{"position":[[59,1]]},"21":{"position":[[182,1],[225,1],[265,1]]},"80":{"position":[[182,1]]}}}],["2021",{"_index":406,"t":{"33":{"position":[[22,4],[52,4]]}}}],["20px",{"_index":535,"t":{"64":{"position":[[208,4]]}}}],["25c2a0",{"_index":544,"t":{"64":{"position":[[402,6]]}}}],["28",{"_index":408,"t":{"33":{"position":[[30,2],[60,2]]}}}],["3",{"_index":173,"t":{"21":{"position":[[199,1],[234,1],[302,1]]},"44":{"position":[[180,1]]}}}],["3000",{"_index":105,"t":{"17":{"position":[[356,4]]},"33":{"position":[[571,4]]},"38":{"position":[[101,4]]},"42":{"position":[[157,4]]},"46":{"position":[[102,4],[138,4],[181,4]]},"48":{"position":[[307,4]]},"50":{"position":[[169,4]]},"72":{"position":[[121,4]]},"80":{"position":[[218,4],[282,4]]},"84":{"position":[[127,4],[182,4]]}}}],["5",{"_index":47,"t":{"9":{"position":[[39,1]]},"86":{"position":[[134,1]]}}}],["abov",{"_index":58,"t":{"13":{"position":[[22,5]]}}}],["absolut",{"_index":501,"t":{"58":{"position":[[51,8]]}}}],["access",{"_index":560,"t":{"72":{"position":[[90,10]]}}}],["action",{"_index":522,"t":{"62":{"position":[[143,6],[221,6]]}}}],["ad",{"_index":70,"t":{"15":{"position":[[102,5]]}}}],["add",{"_index":33,"t":{"7":{"position":[[53,3]]},"21":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]},"44":{"position":[[65,3]]},"46":{"position":[[0,3]]},"68":{"position":[[31,3]]},"74":{"position":[[41,3]]},"82":{"position":[[40,3]]},"88":{"position":[[33,3],[64,3]]}}}],["addeventlisten",{"_index":267,"t":{"23":{"position":[[215,16]]}}}],["addit",{"_index":487,"t":{"52":{"position":[[39,10]]}}}],["adipisc",{"_index":6,"t":{"3":{"position":[[40,10]]}}}],["admonit",{"_index":514,"t":{"62":{"position":[[42,11]]}}}],["alert",{"_index":542,"t":{"64":{"position":[[286,5]]}}}],["aliquam",{"_index":16,"t":{"3":{"position":[[133,7]]}}}],["allow",{"_index":527,"t":{"64":{"position":[[53,6]]}}}],["alpha",{"_index":23,"t":{"5":{"position":[[61,5]]}}}],["amet",{"_index":4,"t":{"3":{"position":[[22,4],[174,4]]}}}],["anyth",{"_index":592,"t":{"86":{"position":[[186,8]]}}}],["anywher",{"_index":447,"t":{"38":{"position":[[151,8]]}}}],["appear",{"_index":572,"t":{"74":{"position":[[241,7]]},"82":{"position":[[248,7]]}}}],["around",{"_index":434,"t":{"33":{"position":[[474,6]]}}}],["author",{"_index":412,"t":{"33":{"position":[[114,7]]}}}],["automat",{"_index":69,"t":{"15":{"position":[[85,13]]},"17":{"position":[[432,13]]},"44":{"position":[[11,13]]}}}],["avail",{"_index":437,"t":{"33":{"position":[[541,9]]},"42":{"position":[[127,9]]},"48":{"position":[[277,9]]},"50":{"position":[[139,9]]}}}],["awesom",{"_index":517,"t":{"62":{"position":[[91,7],[183,7]]}}}],["b",{"_index":169,"t":{"21":{"position":[[115,1],[147,1]]}}}],["backgroundcolor",{"_index":533,"t":{"64":{"position":[[169,15]]}}}],["bad",{"_index":339,"t":{"25":{"position":[[1164,3]]}}}],["bar",{"_index":478,"t":{"46":{"position":[[161,3],[190,3]]},"88":{"position":[[77,3]]}}}],["basic",{"_index":588,"t":{"86":{"position":[[26,6]]}}}],["bastien",{"_index":423,"t":{"33":{"position":[[267,7]]}}}],["block",{"_index":508,"t":{"60":{"position":[[14,6]]}}}],["blog",{"_index":19,"t":{"5":{"position":[[16,4],[27,4]]},"7":{"position":[[0,4],[33,4],[70,4],[161,4]]},"31":{"position":[[35,4],[57,4]]},"33":{"position":[[17,4],[47,4],[524,4],[576,4]]}}}],["blue",{"_index":547,"t":{"64":{"position":[[485,4]]}}}],["boolean",{"_index":316,"t":{"25":{"position":[[691,7]]}}}],["borderradiu",{"_index":534,"t":{"64":{"position":[[193,12]]}}}],["buggi",{"_index":594,"t":{"86":{"position":[[206,5]]}}}],["build",{"_index":97,"t":{"17":{"position":[[242,6]]},"35":{"position":[[65,6]]},"37":{"position":[[0,5],[40,5],[84,5]]},"38":{"position":[[21,5],[54,5],[131,5]]},"76":{"position":[[0,5],[47,5],[71,5],[131,5]]}}}],["bunch",{"_index":27,"t":{"5":{"position":[[97,5]]}}}],["call",{"_index":439,"t":{"35":{"position":[[44,6]]},"54":{"position":[[44,6]]}}}],["callout",{"_index":515,"t":{"62":{"position":[[58,8]]}}}],["care",{"_index":521,"t":{"62":{"position":[[133,4],[211,4]]}}}],["categori",{"_index":473,"t":{"44":{"position":[[365,8]]}}}],["caution",{"_index":562,"t":{"72":{"position":[[174,7]]}}}],["cd",{"_index":89,"t":{"17":{"position":[[28,2],[60,2]]}}}],["chang",{"_index":90,"t":{"17":{"position":[[71,7],[464,7]]},"86":{"position":[[61,7]]}}}],["check",{"_index":61,"t":{"13":{"position":[[77,5]]}}}],["checkbox",{"_index":62,"t":{"13":{"position":[[87,10]]}}}],["children",{"_index":529,"t":{"64":{"position":[[131,8],[337,8],[354,8]]}}}],["classic",{"_index":67,"t":{"15":{"position":[[41,7],[63,7],[189,7]]}}}],["classnam",{"_index":320,"t":{"25":{"position":[[760,9],[1039,9]]}}}],["click",{"_index":543,"t":{"64":{"position":[[297,7]]}}}],["co",{"_index":416,"t":{"33":{"position":[[150,2]]}}}],["code",{"_index":83,"t":{"15":{"position":[[307,4]]},"60":{"position":[[9,4]]}}}],["color",{"_index":530,"t":{"64":{"position":[[141,5],[186,5],[215,5],[309,5],[317,5],[394,5]]}}}],["com",{"_index":119,"t":{"19":{"position":[[31,3]]},"33":{"position":[[197,3],[238,3],[340,3],[370,3]]}}}],["command",{"_index":73,"t":{"15":{"position":[[142,7],[215,7],[228,7],[324,7]]},"17":{"position":[[63,7],[234,7]]}}}],["commun",{"_index":603,"t":{"88":{"position":[[157,9]]}}}],["compon",{"_index":511,"t":{"60":{"position":[[65,10],[169,10]]},"64":{"position":[[76,10]]}}}],["config",{"_index":551,"t":{"68":{"position":[[18,6],[73,6]]},"74":{"position":[[86,6],[113,6]]},"82":{"position":[[86,6],[113,6]]}}}],["congratul",{"_index":428,"t":{"33":{"position":[[408,15]]}}}],["connect",{"_index":456,"t":{"40":{"position":[[30,9]]}}}],["consectetur",{"_index":5,"t":{"3":{"position":[[28,11]]}}}],["consequat",{"_index":17,"t":{"3":{"position":[[141,9]]}}}],["const",{"_index":274,"t":{"23":{"position":[[409,5],[587,5]]},"25":{"position":[[507,5],[658,5],[908,5]]},"64":{"position":[[111,5]]}}}],["content",{"_index":558,"t":{"70":{"position":[[86,7],[151,7],[217,7]]}}}],["copi",{"_index":556,"t":{"70":{"position":[[0,4]]},"80":{"position":[[94,6]]}}}],["cost",{"_index":451,"t":{"38":{"position":[[191,4]]}}}],["cp",{"_index":559,"t":{"70":{"position":[[108,2]]}}}],["creat",{"_index":20,"t":{"5":{"position":[[35,7]]},"11":{"position":[[15,8]]},"17":{"position":[[147,7]]},"31":{"position":[[11,7]]},"33":{"position":[[0,6]]},"42":{"position":[[0,6]]},"44":{"position":[[25,7],[259,6]]},"46":{"position":[[44,6]]},"48":{"position":[[0,6]]},"50":{"position":[[0,6]]},"56":{"position":[[96,6],[112,6],[146,6],[163,6],[207,6]]},"62":{"position":[[35,6]]},"80":{"position":[[154,7]]}}}],["creator",{"_index":417,"t":{"33":{"position":[[153,7]]}}}],["css",{"_index":443,"t":{"35":{"position":[[120,3]]}}}],["current",{"_index":505,"t":{"58":{"position":[[220,7]]},"70":{"position":[[99,7],[164,7],[230,7]]},"80":{"position":[[254,7]]}}}],["cursor",{"_index":539,"t":{"64":{"position":[[247,6]]}}}],["custom",{"_index":462,"t":{"44":{"position":[[81,9]]},"54":{"position":[[165,6]]},"88":{"position":[[39,6]]}}}],["danger",{"_index":519,"t":{"62":{"position":[[121,6],[153,9],[231,9]]}}}],["default",{"_index":482,"t":{"48":{"position":[[142,7]]}}}],["defaultlocal",{"_index":554,"t":{"68":{"position":[[110,13]]}}}],["delet",{"_index":39,"t":{"7":{"position":[[112,6]]}}}],["depend",{"_index":64,"t":{"13":{"position":[[109,12]]},"15":{"position":[[360,12]]}}}],["deploy",{"_index":446,"t":{"38":{"position":[[120,6],[206,10]]}}}],["descript",{"_index":492,"t":{"54":{"position":[[118,11],[143,11]]}}}],["design",{"_index":598,"t":{"88":{"position":[[46,6]]}}}],["develop",{"_index":87,"t":{"17":{"position":[[8,11],[294,11]]},"72":{"position":[[185,11]]}}}],["dignissim",{"_index":10,"t":{"3":{"position":[[80,9]]}}}],["directori",{"_index":35,"t":{"7":{"position":[[75,9],[129,9]]},"17":{"position":[[83,9]]},"58":{"position":[[100,9]]}}}],["discov",{"_index":45,"t":{"9":{"position":[[6,8]]}}}],["dispatchev",{"_index":271,"t":{"23":{"position":[[333,13]]}}}],["display",{"_index":114,"t":{"17":{"position":[[450,8]]}}}],["doc",{"_index":107,"t":{"17":{"position":[[368,4]]},"42":{"position":[[26,4],[41,4],[162,4]]},"44":{"position":[[52,4],[123,4]]},"54":{"position":[[68,3],[86,3]]},"66":{"position":[[16,4]]},"70":{"position":[[9,4],[94,4],[111,4],[159,4],[225,4]]},"78":{"position":[[48,4]]},"80":{"position":[[58,4],[79,4],[116,4],[168,4],[223,4],[249,4],[287,4],[327,4]]},"82":{"position":[[226,4]]},"84":{"position":[[33,4],[76,4],[132,4],[143,4],[187,4]]}}}],["docsversiondropdown",{"_index":584,"t":{"82":{"position":[[185,19]]}}}],["document",{"_index":454,"t":{"40":{"position":[[0,9]]},"42":{"position":[[93,8],[111,8]]},"44":{"position":[[224,8]]},"54":{"position":[[9,9],[103,8],[134,8]]},"64":{"position":[[18,13]]},"88":{"position":[[18,13]]}}}],["docusauru",{"_index":21,"t":{"5":{"position":[[48,10]]},"9":{"position":[[15,10]]},"11":{"position":[[43,10],[71,10]]},"15":{"position":[[15,10],[160,10],[389,10]]},"17":{"position":[[155,10]]},"31":{"position":[[0,10]]},"33":{"position":[[164,10],[289,10]]},"35":{"position":[[0,10]]},"42":{"position":[[82,10]]},"44":{"position":[[0,10],[213,10]]},"52":{"position":[[0,10]]},"58":{"position":[[122,10],[141,10],[163,10]]},"60":{"position":[[144,10],[246,10]]},"62":{"position":[[0,10]]},"64":{"position":[[410,10],[449,10]]},"68":{"position":[[7,10],[62,10]]},"70":{"position":[[68,10],[133,10],[199,10]]},"74":{"position":[[75,10],[102,10]]},"78":{"position":[[0,10]]},"80":{"position":[[47,10]]},"82":{"position":[[75,10],[102,10]]},"86":{"position":[[36,10],[94,10]]},"88":{"position":[[106,10],[146,10]]}}}],["dolor",{"_index":2,"t":{"3":{"position":[[12,5],[164,5]]}}}],["don",{"_index":40,"t":{"7":{"position":[[146,3]]}}}],["dropdown",{"_index":568,"t":{"74":{"position":[[54,8],[228,8]]},"82":{"position":[[54,8],[239,8]]}}}],["each",{"_index":401,"t":{"31":{"position":[[30,4]]}}}],["easili",{"_index":448,"t":{"38":{"position":[[160,6]]}}}],["edit",{"_index":111,"t":{"17":{"position":[[398,4]]},"33":{"position":[[485,4]]},"84":{"position":[[18,4]]}}}],["editor",{"_index":84,"t":{"15":{"position":[[312,6]]},"23":{"position":[[472,6],[642,6]]}}}],["elementum",{"_index":9,"t":{"3":{"position":[[70,9]]}}}],["elit",{"_index":7,"t":{"3":{"position":[[51,4]]}}}],["en",{"_index":555,"t":{"68":{"position":[[126,2],[142,2]]}}}],["enzym",{"_index":142,"t":{"19":{"position":[[138,6]]}}}],["ero",{"_index":15,"t":{"3":{"position":[[128,4]]}}}],["event",{"_index":272,"t":{"23":{"position":[[351,5]]}}}],["expect",{"_index":174,"t":{"21":{"position":[[211,6],[285,6]]},"25":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["explicitli",{"_index":469,"t":{"44":{"position":[[279,10]]}}}],["export",{"_index":471,"t":{"44":{"position":[[325,7]]},"48":{"position":[[135,6]]},"64":{"position":[[104,6]]},"68":{"position":[[90,7]]},"74":{"position":[[130,7]]},"82":{"position":[[130,7]]}}}],["extra",{"_index":507,"t":{"58":{"position":[[258,5]]}}}],["facebook",{"_index":546,"t":{"64":{"position":[[476,8]]}}}],["fake",{"_index":286,"t":{"23":{"position":[[670,5]]}}}],["featur",{"_index":29,"t":{"7":{"position":[[5,8],[166,8]]},"52":{"position":[[50,8]]},"62":{"position":[[99,7],[191,7]]}}}],["feed",{"_index":405,"t":{"31":{"position":[[95,4]]}}}],["feel",{"_index":431,"t":{"33":{"position":[[456,4]]}}}],["few",{"_index":486,"t":{"52":{"position":[[35,3]]}}}],["fff",{"_index":536,"t":{"64":{"position":[[224,3]]}}}],["file",{"_index":34,"t":{"7":{"position":[[57,5]]},"33":{"position":[[9,4]]},"35":{"position":[[124,5]]},"37":{"position":[[57,5]]},"42":{"position":[[18,4]]},"46":{"position":[[22,5]]},"48":{"position":[[9,4]]},"50":{"position":[[9,4]]},"56":{"position":[[66,4]]},"58":{"position":[[228,4]]},"70":{"position":[[23,4]]},"74":{"position":[[96,4]]},"82":{"position":[[96,4]]}}}],["find",{"_index":284,"t":{"23":{"position":[[637,4]]},"25":{"position":[[1017,4]]},"88":{"position":[[81,4]]}}}],["first",{"_index":430,"t":{"33":{"position":[[444,5]]},"42":{"position":[[76,5]]},"44":{"position":[[207,5]]}}}],["folder",{"_index":445,"t":{"37":{"position":[[90,6]]},"38":{"position":[[60,6],[137,6]]},"44":{"position":[[57,6]]},"70":{"position":[[43,6]]},"80":{"position":[[84,6]]},"84":{"position":[[58,6]]}}}],["foo",{"_index":477,"t":{"46":{"position":[[118,3],[143,3],[157,3],[186,3]]}}}],["form",{"_index":318,"t":{"25":{"position":[[750,4],[824,4],[1022,4]]}}}],["fr",{"_index":552,"t":{"68":{"position":[[51,2],[148,2]]},"70":{"position":[[40,2],[65,2],[130,2],[196,2]]},"72":{"position":[[64,2],[126,2]]},"76":{"position":[[65,2]]}}}],["free",{"_index":432,"t":{"33":{"position":[[461,4]]},"38":{"position":[[172,4]]}}}],["french",{"_index":549,"t":{"66":{"position":[[33,6]]},"70":{"position":[[250,6]]},"72":{"position":[[23,6]]}}}],["front",{"_index":489,"t":{"54":{"position":[[51,5]]}}}],["function",{"_index":167,"t":{"21":{"position":[[91,8]]},"25":{"position":[[192,8]]},"48":{"position":[[150,8]]},"60":{"position":[[95,8],[199,8]]}}}],["fusc",{"_index":12,"t":{"3":{"position":[[101,5]]}}}],["gener",{"_index":65,"t":{"15":{"position":[[0,8]]},"35":{"position":[[28,9]]},"37":{"position":[[67,9]]}}}],["get",{"_index":561,"t":{"72":{"position":[[138,7]]}}}],["github",{"_index":418,"t":{"33":{"position":[[190,6],[231,6],[363,6]]}}}],["good",{"_index":121,"t":{"19":{"position":[[43,4]]}}}],["green",{"_index":545,"t":{"64":{"position":[[421,5],[460,5]]}}}],["greet",{"_index":409,"t":{"33":{"position":[[33,9],[63,9],[86,9],[103,9],[393,9],[581,9]]}}}],["group",{"_index":455,"t":{"40":{"position":[[14,6]]}}}],["gui",{"_index":244,"t":{"23":{"position":[[58,3]]},"25":{"position":[[44,3]]}}}],["guid",{"_index":453,"t":{"38":{"position":[[217,5]]},"58":{"position":[[264,6]]}}}],["h1",{"_index":484,"t":{"48":{"position":[[194,2],[212,2]]},"60":{"position":[[134,2],[157,2],[236,2],[259,2]]}}}],["handlechang",{"_index":275,"t":{"23":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":296,"t":{"25":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":314,"t":{"25":{"position":[[664,16],[982,16]]}}}],["head",{"_index":493,"t":{"54":{"position":[[192,7]]}}}],["hello",{"_index":460,"t":{"42":{"position":[[31,5],[46,5],[57,5],[167,5]]},"44":{"position":[[128,5],[188,5],[404,5]]},"54":{"position":[[229,5]]},"60":{"position":[[137,5],[239,5]]},"84":{"position":[[93,5],[137,5],[148,5],[197,5]]}}}],["hellodocusauru",{"_index":512,"t":{"60":{"position":[[76,15],[104,15],[180,15],[208,15]]}}}],["hi",{"_index":466,"t":{"44":{"position":[[157,2]]}}}],["highlight",{"_index":510,"t":{"60":{"position":[[47,12]]},"64":{"position":[[117,9],[384,9],[428,9]]}}}],["histori",{"_index":297,"t":{"25":{"position":[[223,7],[348,7],[543,7]]}}}],["html",{"_index":441,"t":{"35":{"position":[[99,4]]}}}],["http",{"_index":103,"t":{"17":{"position":[[339,4]]},"19":{"position":[[11,5]]},"33":{"position":[[182,5],[223,5],[316,5],[355,5],[554,4]]},"38":{"position":[[84,4]]},"42":{"position":[[140,4]]},"48":{"position":[[290,4]]},"50":{"position":[[152,4]]},"72":{"position":[[104,4]]},"80":{"position":[[201,4],[265,4]]},"84":{"position":[[110,4],[165,4]]}}}],["i18n",{"_index":553,"t":{"68":{"position":[[102,4]]},"70":{"position":[[35,4],[60,4],[125,4],[191,4]]},"86":{"position":[[180,4]]}}}],["id",{"_index":491,"t":{"54":{"position":[[79,2],[90,2]]}}}],["imag",{"_index":421,"t":{"33":{"position":[[212,5],[344,5]]},"58":{"position":[[17,6],[79,6],[197,6]]}}}],["image_url",{"_index":420,"t":{"33":{"position":[[212,9],[344,9]]}}}],["img",{"_index":503,"t":{"58":{"position":[[118,3],[159,3]]}}}],["immedi",{"_index":53,"t":{"11":{"position":[[54,11]]}}}],["import",{"_index":479,"t":{"48":{"position":[[72,6],[99,6]]}}}],["includ",{"_index":574,"t":{"76":{"position":[[90,7]]}}}],["index",{"_index":402,"t":{"31":{"position":[[62,5]]},"46":{"position":[[80,5]]}}}],["inform",{"_index":28,"t":{"5":{"position":[[112,11]]}}}],["init",{"_index":75,"t":{"15":{"position":[[155,4]]}}}],["initi",{"_index":589,"t":{"86":{"position":[[76,7]]}}}],["input",{"_index":323,"t":{"25":{"position":[[813,5]]}}}],["insid",{"_index":528,"t":{"64":{"position":[[87,6]]}}}],["inspir",{"_index":600,"t":{"88":{"position":[[86,12]]}}}],["instal",{"_index":59,"t":{"13":{"position":[[34,10]]},"15":{"position":[[337,8]]}}}],["instanc",{"_index":340,"t":{"25":{"position":[[1193,8]]}}}],["integr",{"_index":82,"t":{"15":{"position":[[279,10]]}}}],["interact",{"_index":526,"t":{"64":{"position":[[37,11]]}}}],["intro",{"_index":108,"t":{"17":{"position":[[373,5]]},"66":{"position":[[21,5]]},"70":{"position":[[14,5],[116,5],[172,5],[238,5]]}}}],["invalid",{"_index":322,"t":{"25":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":285,"t":{"23":{"position":[[650,6]]}}}],["involv",{"_index":602,"t":{"88":{"position":[[130,8]]}}}],["ipsum",{"_index":1,"t":{"3":{"position":[[6,5],[115,5],[158,5]]}}}],["item",{"_index":319,"t":{"25":{"position":[[755,4],[829,4],[1027,4]]},"44":{"position":[[395,5]]},"74":{"position":[[167,5]]},"82":{"position":[[167,5]]}}}],["jamstack",{"_index":440,"t":{"35":{"position":[[51,8]]}}}],["javascript",{"_index":442,"t":{"35":{"position":[[105,10]]}}}],["jest",{"_index":140,"t":{"19":{"position":[[125,4]]},"25":{"position":[[532,4]]}}}],["joel",{"_index":414,"t":{"33":{"position":[[131,4]]}}}],["joelmarcey",{"_index":419,"t":{"33":{"position":[[201,10],[242,10]]}}}],["js",{"_index":55,"t":{"13":{"position":[[5,2],[50,2]]},"44":{"position":[[302,2],[315,2]]},"46":{"position":[[86,2],[165,2]]},"48":{"position":[[41,2],[69,2]]},"60":{"position":[[92,2],[196,2]]},"68":{"position":[[25,2],[80,2]]},"74":{"position":[[93,2],[120,2]]},"82":{"position":[[93,2],[120,2]]}}}],["json",{"_index":581,"t":{"80":{"position":[[146,4]]}}}],["label",{"_index":463,"t":{"44":{"position":[[103,5],[149,5],[376,5]]},"64":{"position":[[329,5]]}}}],["languag",{"_index":567,"t":{"74":{"position":[[30,9]]}}}],["latest",{"_index":76,"t":{"15":{"position":[[171,6]]}}}],["layout",{"_index":480,"t":{"48":{"position":[[106,6],[126,6],[185,6],[246,6]]},"88":{"position":[[57,6]]}}}],["learn",{"_index":587,"t":{"86":{"position":[[14,7]]}}}],["less",{"_index":46,"t":{"9":{"position":[[29,4]]}}}],["line",{"_index":112,"t":{"17":{"position":[[408,5]]}}}],["link",{"_index":495,"t":{"54":{"position":[[220,5]]},"56":{"position":[[17,5]]}}}],["ll",{"_index":95,"t":{"17":{"position":[[176,2]]}}}],["local",{"_index":98,"t":{"17":{"position":[[262,7]]},"38":{"position":[[27,7]]},"68":{"position":[[54,6],[131,7]]},"72":{"position":[[30,6],[57,6],[72,9],[219,6]]},"74":{"position":[[47,6],[221,6]]},"76":{"position":[[31,6],[58,6],[106,7]]}}}],["localedropdown",{"_index":571,"t":{"74":{"position":[[185,14]]}}}],["localhost",{"_index":104,"t":{"17":{"position":[[346,9]]},"33":{"position":[[561,9]]},"38":{"position":[[91,9]]},"42":{"position":[[147,9]]},"46":{"position":[[92,9],[128,9],[171,9]]},"48":{"position":[[297,9]]},"50":{"position":[[159,9]]},"72":{"position":[[111,9]]},"80":{"position":[[208,9],[272,9]]},"84":{"position":[[117,9],[172,9]]}}}],["locat",{"_index":301,"t":{"25":{"position":[[356,8]]}}}],["logo",{"_index":504,"t":{"58":{"position":[[152,4]]}}}],["look",{"_index":591,"t":{"86":{"position":[[157,4]]}}}],["lorber",{"_index":424,"t":{"33":{"position":[[275,6]]}}}],["lorem",{"_index":0,"t":{"3":{"position":[[0,5],[152,5]]}}}],["made",{"_index":429,"t":{"33":{"position":[[434,4]]},"86":{"position":[[51,4]]}}}],["maintain",{"_index":425,"t":{"33":{"position":[[300,10]]}}}],["make",{"_index":524,"t":{"64":{"position":[[8,4]]}}}],["manag",{"_index":576,"t":{"78":{"position":[[15,6]]}}}],["marcey",{"_index":415,"t":{"33":{"position":[[136,6]]}}}],["markdown",{"_index":459,"t":{"42":{"position":[[9,8]]},"46":{"position":[[4,8]]},"50":{"position":[[30,8],[61,8],[83,8],[107,8],[177,8]]},"52":{"position":[[20,8]]},"54":{"position":[[0,8],[183,8],[200,8]]},"56":{"position":[[8,8]]},"58":{"position":[[8,8]]},"60":{"position":[[0,8]]},"64":{"position":[[94,8]]}}}],["matter",{"_index":490,"t":{"54":{"position":[[57,6]]}}}],["md",{"_index":109,"t":{"17":{"position":[[379,2]]},"33":{"position":[[43,2],[73,2]]},"42":{"position":[[37,2],[52,2]]},"44":{"position":[[134,2]]},"46":{"position":[[122,2]]},"50":{"position":[[44,2],[75,2]]},"54":{"position":[[72,2],[235,2]]},"56":{"position":[[177,2]]},"66":{"position":[[27,2]]},"70":{"position":[[20,2],[122,2],[178,2],[244,2]]},"84":{"position":[[99,2],[154,2]]}}}],["mdx",{"_index":523,"t":{"64":{"position":[[0,3]]}}}],["metadata",{"_index":461,"t":{"44":{"position":[[69,8]]},"54":{"position":[[24,8]]}}}],["minut",{"_index":48,"t":{"9":{"position":[[41,7]]},"86":{"position":[[141,7]]}}}],["mkdir",{"_index":557,"t":{"70":{"position":[[51,5]]}}}],["mock",{"_index":305,"t":{"25":{"position":[[421,6]]}}}],["modifi",{"_index":550,"t":{"68":{"position":[[0,6]]},"74":{"position":[[64,6]]},"82":{"position":[[64,6]]}}}],["modul",{"_index":470,"t":{"44":{"position":[[318,6]]},"68":{"position":[[83,6]]},"74":{"position":[[123,6]]},"82":{"position":[[123,6]]}}}],["more",{"_index":525,"t":{"64":{"position":[[32,4]]},"86":{"position":[[114,4],[136,4]]}}}],["much",{"_index":435,"t":{"33":{"position":[[503,4]]},"86":{"position":[[109,4]]}}}],["multipl",{"_index":577,"t":{"78":{"position":[[22,8]]}}}],["mycompon",{"_index":265,"t":{"23":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"25":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["myreactpag",{"_index":483,"t":{"48":{"position":[[159,11]]}}}],["name",{"_index":413,"t":{"33":{"position":[[125,4],[259,4]]}}}],["navbar",{"_index":570,"t":{"74":{"position":[[157,6],[257,6]]},"82":{"position":[[157,6],[264,6]]}}}],["navig",{"_index":96,"t":{"17":{"position":[[187,8]]},"40":{"position":[[73,10]]},"74":{"position":[[3,8]]},"82":{"position":[[3,8]]}}}],["necessari",{"_index":85,"t":{"15":{"position":[[350,9]]}}}],["need",{"_index":86,"t":{"15":{"position":[[377,4]]},"17":{"position":[[179,4]]}}}],["new",{"_index":50,"t":{"11":{"position":[[26,3],[82,3]]},"15":{"position":[[11,3]]},"23":{"position":[[347,3]]},"33":{"position":[[520,3]]},"42":{"position":[[107,3]]},"48":{"position":[[261,3]]},"50":{"position":[[123,3]]}}}],["newli",{"_index":94,"t":{"17":{"position":[[141,5]]}}}],["next",{"_index":299,"t":{"25":{"position":[[238,4],[382,4],[603,4]]},"40":{"position":[[68,4]]},"80":{"position":[[292,4]]},"84":{"position":[[192,4]]}}}],["node",{"_index":54,"t":{"13":{"position":[[0,4],[45,4]]}}}],["note",{"_index":115,"t":{"19":{"position":[[0,4]]}}}],["now",{"_index":436,"t":{"33":{"position":[[537,3]]},"38":{"position":[[70,3],[116,3]]},"42":{"position":[[123,3]]},"48":{"position":[[273,3]]},"50":{"position":[[135,3]]},"74":{"position":[[237,3]]},"80":{"position":[[173,3]]}}}],["npm",{"_index":74,"t":{"15":{"position":[[151,3]]},"17":{"position":[[42,3],[220,3]]},"37":{"position":[[32,3]]},"38":{"position":[[36,3]]},"72":{"position":[[38,3]]},"76":{"position":[[39,3],[123,3]]},"80":{"position":[[39,3]]}}}],["number",{"_index":168,"t":{"21":{"position":[[107,6],[118,6],[127,6]]}}}],["offer",{"_index":590,"t":{"86":{"position":[[122,5]]}}}],["offici",{"_index":597,"t":{"88":{"position":[[9,8]]}}}],["on",{"_index":563,"t":{"72":{"position":[[215,3]]}}}],["onc",{"_index":575,"t":{"76":{"position":[[117,4]]}}}],["onchang",{"_index":279,"t":{"23":{"position":[[479,8],[658,8]]}}}],["onclick",{"_index":541,"t":{"64":{"position":[[269,7]]}}}],["open",{"_index":106,"t":{"17":{"position":[[363,4]]}}}],["option",{"_index":518,"t":{"62":{"position":[[107,6],[199,6]]}}}],["order",{"_index":93,"t":{"17":{"position":[[117,5]]}}}],["p",{"_index":485,"t":{"48":{"position":[[217,1],[241,1]]},"70":{"position":[[58,1]]}}}],["pad",{"_index":537,"t":{"64":{"position":[[230,7]]}}}],["page",{"_index":110,"t":{"17":{"position":[[388,4]]},"31":{"position":[[21,4],[68,4]]},"40":{"position":[[24,5]]},"46":{"position":[[35,5],[64,4],[74,5],[112,5],[151,5]]},"48":{"position":[[21,5],[36,4],[49,5],[64,4],[206,4],[235,4],[265,4],[321,4]]},"50":{"position":[[21,5],[39,4],[52,5],[70,4],[92,4],[116,4],[127,4],[186,4]]},"56":{"position":[[105,4],[121,4],[155,4],[172,4],[216,4]]},"72":{"position":[[154,4]]}}}],["path",{"_index":497,"t":{"56":{"position":[[48,5],[71,5]]},"58":{"position":[[60,5]]}}}],["pathnam",{"_index":302,"t":{"25":{"position":[[365,8]]}}}],["pellentesqu",{"_index":8,"t":{"3":{"position":[[57,12]]}}}],["play",{"_index":433,"t":{"33":{"position":[[469,4]]}}}],["pleas",{"_index":595,"t":{"86":{"position":[[230,6]]}}}],["plugin",{"_index":31,"t":{"7":{"position":[[38,6]]},"70":{"position":[[79,6],[144,6],[210,6]]}}}],["png",{"_index":422,"t":{"33":{"position":[[253,3],[382,3]]},"58":{"position":[[133,3],[174,3]]}}}],["pointer",{"_index":540,"t":{"64":{"position":[[256,7]]}}}],["posit",{"_index":464,"t":{"44":{"position":[[113,8],[170,8]]}}}],["possibl",{"_index":468,"t":{"44":{"position":[[247,8]]},"84":{"position":[[6,8]]}}}],["post",{"_index":25,"t":{"5":{"position":[[83,4]]},"31":{"position":[[40,4]]},"33":{"position":[[450,4],[495,4],[529,4]]}}}],["power",{"_index":30,"t":{"7":{"position":[[18,7]]}}}],["powershel",{"_index":80,"t":{"15":{"position":[[244,10]]}}}],["previou",{"_index":458,"t":{"40":{"position":[[59,8]]}}}],["product",{"_index":444,"t":{"37":{"position":[[20,10]]},"38":{"position":[[10,10]]}}}],["project",{"_index":71,"t":{"15":{"position":[[116,7]]},"80":{"position":[[30,7]]}}}],["prompt",{"_index":79,"t":{"15":{"position":[[236,6]]}}}],["prop",{"_index":327,"t":{"25":{"position":[[1033,4]]}}}],["push",{"_index":298,"t":{"25":{"position":[[231,4],[553,4]]}}}],["re",{"_index":91,"t":{"17":{"position":[[97,2]]}}}],["react",{"_index":141,"t":{"19":{"position":[[131,5]]},"25":{"position":[[624,5]]},"27":{"position":[[162,5]]},"46":{"position":[[16,5]]},"48":{"position":[[30,5],[58,5],[79,5],[91,5],[200,5],[229,5],[315,5]]},"64":{"position":[[70,5]]}}}],["read",{"_index":452,"t":{"38":{"position":[[197,4]]},"88":{"position":[[0,4]]}}}],["readi",{"_index":101,"t":{"17":{"position":[[314,5]]}}}],["recommend",{"_index":60,"t":{"13":{"position":[[62,11]]}}}],["redux",{"_index":370,"t":{"27":{"position":[[169,5]]}}}],["refer",{"_index":502,"t":{"58":{"position":[[69,9],[187,9]]}}}],["regular",{"_index":496,"t":{"56":{"position":[[0,7]]},"58":{"position":[[0,7]]}}}],["rel",{"_index":498,"t":{"56":{"position":[[57,8]]},"58":{"position":[[204,8]]}}}],["relat",{"_index":63,"t":{"13":{"position":[[98,7]]}}}],["releas",{"_index":578,"t":{"80":{"position":[[0,7]]}}}],["reload",{"_index":113,"t":{"17":{"position":[[424,7]]}}}],["report",{"_index":596,"t":{"86":{"position":[[237,6]]}}}],["resiz",{"_index":268,"t":{"23":{"position":[[233,6],[358,6]]}}}],["respect",{"_index":585,"t":{"84":{"position":[[47,10]]}}}],["result",{"_index":500,"t":{"56":{"position":[[182,6]]}}}],["return",{"_index":170,"t":{"21":{"position":[[136,6],[192,6]]},"23":{"position":[[464,6]]},"25":{"position":[[740,6]]},"48":{"position":[[175,6]]},"60":{"position":[[124,6],[228,6]]}}}],["rhoncu",{"_index":13,"t":{"3":{"position":[[107,7]]}}}],["rss",{"_index":404,"t":{"31":{"position":[[91,3]]}}}],["run",{"_index":72,"t":{"15":{"position":[[134,3],[385,3]]},"17":{"position":[[0,3],[46,3],[224,3]]},"37":{"position":[[36,3]]},"38":{"position":[[40,3]]},"72":{"position":[[42,3]]},"76":{"position":[[43,3],[127,3]]},"80":{"position":[[43,3]]}}}],["s",{"_index":44,"t":{"9":{"position":[[4,1]]},"33":{"position":[[265,1]]},"56":{"position":[[82,1],[132,1],[194,1]]},"66":{"position":[[4,1]]}}}],["same",{"_index":564,"t":{"72":{"position":[[231,4]]}}}],["seamlessli",{"_index":566,"t":{"74":{"position":[[12,10]]},"82":{"position":[[12,10]]}}}],["search",{"_index":599,"t":{"88":{"position":[[70,6]]}}}],["sebastienlorb",{"_index":426,"t":{"33":{"position":[[324,15]]}}}],["see",{"_index":499,"t":{"56":{"position":[[84,3],[134,3],[196,3]]}}}],["serv",{"_index":99,"t":{"17":{"position":[[274,6]]},"38":{"position":[[44,5],[74,6]]}}}],["server",{"_index":88,"t":{"17":{"position":[[20,6],[306,6]]}}}],["setstat",{"_index":317,"t":{"25":{"position":[[716,8]]}}}],["shallow",{"_index":283,"t":{"23":{"position":[[603,7]]},"25":{"position":[[924,7]]}}}],["showcas",{"_index":601,"t":{"88":{"position":[[117,8]]}}}],["shown",{"_index":506,"t":{"58":{"position":[[245,5]]}}}],["sidebar",{"_index":457,"t":{"40":{"position":[[51,7]]},"44":{"position":[[35,7],[95,7],[141,7],[162,7],[271,7],[293,8],[306,8]]}}}],["sidebar_label",{"_index":465,"t":{"44":{"position":[[141,13]]}}}],["sidebar_posit",{"_index":467,"t":{"44":{"position":[[162,16]]}}}],["simpl",{"_index":43,"t":{"7":{"position":[[179,6]]},"35":{"position":[[85,6]]}}}],["simpli",{"_index":32,"t":{"7":{"position":[[46,6]]}}}],["sit",{"_index":3,"t":{"3":{"position":[[18,3],[170,3]]}}}],["site",{"_index":51,"t":{"11":{"position":[[30,4]]},"15":{"position":[[26,4]]},"17":{"position":[[166,4],[419,4]]},"35":{"position":[[23,4],[77,4]]},"37":{"position":[[11,4]]},"72":{"position":[[11,4],[82,4]]},"76":{"position":[[11,4],[82,4]]}}}],["slorber",{"_index":427,"t":{"33":{"position":[[374,7]]}}}],["slug",{"_index":410,"t":{"33":{"position":[[80,4]]},"54":{"position":[[155,4]]}}}],["small",{"_index":450,"t":{"38":{"position":[[185,5]]}}}],["someth",{"_index":325,"t":{"25":{"position":[[963,9]]}}}],["span",{"_index":531,"t":{"64":{"position":[[155,4],[366,4]]}}}],["spec",{"_index":171,"t":{"21":{"position":[[160,4]]},"23":{"position":[[289,4],[549,4]]},"25":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["special",{"_index":513,"t":{"62":{"position":[[17,7]]}}}],["specif",{"_index":573,"t":{"76":{"position":[[22,8]]}}}],["spyon",{"_index":312,"t":{"25":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":311,"t":{"25":{"position":[[513,16],[568,16]]}}}],["src",{"_index":475,"t":{"46":{"position":[[31,3],[70,3],[108,3],[147,3]]},"48":{"position":[[17,3],[45,3]]},"50":{"position":[[17,3],[48,3]]},"60":{"position":[[61,3],[165,3]]}}}],["standalon",{"_index":476,"t":{"46":{"position":[[53,10]]}}}],["start",{"_index":49,"t":{"11":{"position":[[4,7]]},"17":{"position":[[50,5],[228,5]]},"72":{"position":[[0,5],[46,5],[146,7]]}}}],["state",{"_index":321,"t":{"25":{"position":[[776,5],[1204,5]]}}}],["static",{"_index":438,"t":{"35":{"position":[[16,6],[92,6]]},"37":{"position":[[50,6]]},"58":{"position":[[93,6],[111,6]]}}}],["string",{"_index":277,"t":{"23":{"position":[[438,6]]}}}],["style",{"_index":532,"t":{"64":{"position":[[160,5]]}}}],["support",{"_index":36,"t":{"7":{"position":[[89,8]]},"52":{"position":[[11,8]]},"56":{"position":[[27,9]]},"58":{"position":[[28,9]]},"60":{"position":[[25,9]]},"68":{"position":[[35,7]]}}}],["syntax",{"_index":509,"t":{"60":{"position":[[40,6]]},"62":{"position":[[25,6]]}}}],["system",{"_index":403,"t":{"31":{"position":[[80,6]]}}}],["t",{"_index":41,"t":{"7":{"position":[[150,1]]}}}],["tag",{"_index":37,"t":{"7":{"position":[[98,4]]},"31":{"position":[[76,3]]},"33":{"position":[[386,4]]}}}],["take",{"_index":520,"t":{"62":{"position":[[128,4],[206,4]]},"86":{"position":[[150,4]]}}}],["templat",{"_index":68,"t":{"15":{"position":[[49,8],[71,8]]},"86":{"position":[[84,8]]}}}],["tempor",{"_index":14,"t":{"3":{"position":[[121,6]]}}}],["termin",{"_index":81,"t":{"15":{"position":[[256,8],[290,8]]},"17":{"position":[[200,8]]}}}],["test",{"_index":24,"t":{"5":{"position":[[78,4]]},"19":{"position":[[53,5]]},"21":{"position":[[169,4]]},"23":{"position":[[298,4],[559,4]]},"25":{"position":[[298,4],[479,4],[880,4]]},"38":{"position":[[0,4]]}}}],["text",{"_index":494,"t":{"54":{"position":[[209,4]]}}}],["theme",{"_index":481,"t":{"48":{"position":[[120,5]]}}}],["themeconfig",{"_index":569,"t":{"74":{"position":[[142,11]]},"82":{"position":[[142,11]]}}}],["through",{"_index":100,"t":{"17":{"position":[[284,7]]},"40":{"position":[[40,7]]}}}],["time",{"_index":565,"t":{"72":{"position":[[236,4]]}}}],["tip",{"_index":516,"t":{"62":{"position":[[71,3],[78,3],[170,3]]}}}],["titl",{"_index":411,"t":{"33":{"position":[[96,5],[143,5],[282,5]]},"54":{"position":[[93,5],[112,5]]}}}],["tobe",{"_index":175,"t":{"21":{"position":[[229,4],[297,4]]},"25":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":313,"t":{"25":{"position":[[586,14]]}}}],["top",{"_index":488,"t":{"54":{"position":[[40,3]]}}}],["translat",{"_index":548,"t":{"66":{"position":[[6,9]]},"70":{"position":[[181,9]]},"72":{"position":[[162,10]]}}}],["tri",{"_index":52,"t":{"11":{"position":[[39,3]]}}}],["trigger",{"_index":326,"t":{"25":{"position":[[973,7]]}}}],["ts",{"_index":166,"t":{"21":{"position":[[87,2],[165,2]]},"23":{"position":[[204,2],[294,2]]},"25":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":273,"t":{"23":{"position":[[404,3],[554,3]]},"25":{"position":[[653,3],[875,3],[1173,3]]}}}],["tutori",{"_index":474,"t":{"44":{"position":[[384,8]]},"86":{"position":[[220,8]]}}}],["tutorialsidebar",{"_index":472,"t":{"44":{"position":[[337,15]]}}}],["type",{"_index":78,"t":{"15":{"position":[[205,4]]},"44":{"position":[[358,4]]},"74":{"position":[[178,4]]},"82":{"position":[[178,4]]}}}],["typescript",{"_index":139,"t":{"19":{"position":[[113,10]]}}}],["ultrici",{"_index":11,"t":{"3":{"position":[[90,9]]}}}],["unclear",{"_index":593,"t":{"86":{"position":[[195,7]]}}}],["unit",{"_index":122,"t":{"19":{"position":[[48,4]]}}}],["unreleas",{"_index":583,"t":{"80":{"position":[[316,10]]}}}],["upcom",{"_index":582,"t":{"80":{"position":[[306,8]]}}}],["updat",{"_index":586,"t":{"84":{"position":[[102,7],[157,7]]}}}],["url",{"_index":300,"t":{"25":{"position":[[243,3],[387,3],[608,3]]},"33":{"position":[[177,3],[218,3],[311,3],[350,3]]},"54":{"position":[[172,3]]},"56":{"position":[[44,3]]}}}],["us",{"_index":66,"t":{"15":{"position":[[31,5]]},"56":{"position":[[38,5]]},"58":{"position":[[47,3]]},"62":{"position":[[82,3],[174,3]]},"64":{"position":[[60,5]]},"72":{"position":[[211,3]]}}}],["valid",{"_index":315,"t":{"25":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":276,"t":{"23":{"position":[[431,5],[676,5]]}}}],["veri",{"_index":449,"t":{"38":{"position":[[180,4]]}}}],["version",{"_index":56,"t":{"13":{"position":[[8,7]]},"40":{"position":[[84,10]]},"78":{"position":[[31,8]]},"80":{"position":[[10,7],[63,7],[106,9],[121,7],[137,8],[184,8],[237,7]]},"82":{"position":[[30,8],[46,7],[231,7]]},"84":{"position":[[23,9],[66,9],[81,7]]},"86":{"position":[[165,10]]}}}],["versioned_doc",{"_index":580,"t":{"80":{"position":[[106,14]]},"84":{"position":[[66,14]]}}}],["view",{"_index":102,"t":{"17":{"position":[[331,4]]}}}],["void",{"_index":278,"t":{"23":{"position":[[447,4]]},"25":{"position":[[216,4],[701,4]]}}}],["wangshenwei",{"_index":118,"t":{"19":{"position":[[19,11]]}}}],["want",{"_index":42,"t":{"7":{"position":[[152,4]]}}}],["websit",{"_index":77,"t":{"15":{"position":[[181,7]]},"17":{"position":[[34,7],[254,7]]}}}],["welcom",{"_index":18,"t":{"5":{"position":[[0,7]]}}}],["well",{"_index":38,"t":{"7":{"position":[[106,4]]},"58":{"position":[[236,4]]}}}],["whole",{"_index":26,"t":{"5":{"position":[[91,5]]},"7":{"position":[[123,5]]}}}],["window",{"_index":266,"t":{"23":{"position":[[208,6],[326,6]]}}}],["work",{"_index":92,"t":{"17":{"position":[[100,7],[126,4]]}}}],["wrapper",{"_index":282,"t":{"23":{"position":[[593,7],[629,7]]},"25":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":120,"t":{"19":{"position":[[35,7]]}}}],["一个",{"_index":158,"t":{"21":{"position":[[32,2],[69,2]]},"23":{"position":[[179,2],[382,2]]},"25":{"position":[[163,2],[621,2],[1139,2]]},"27":{"position":[[196,2]]}}}],["万物",{"_index":123,"t":{"19":{"position":[[63,2]]}}}],["三条",{"_index":393,"t":{"29":{"position":[[15,2]]}}}],["上述",{"_index":187,"t":{"21":{"position":[[332,2]]}}}],["下来",{"_index":392,"t":{"29":{"position":[[11,2]]}}}],["不再",{"_index":206,"t":{"21":{"position":[[434,2]]}}}],["不同",{"_index":230,"t":{"21":{"position":[[575,2],[585,2]]},"29":{"position":[[34,2]]}}}],["不断",{"_index":345,"t":{"27":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":334,"t":{"25":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":182,"t":{"21":{"position":[[317,2]]},"27":{"position":[[35,2]]}}}],["中",{"_index":292,"t":{"25":{"position":[[63,1]]}}}],["主动",{"_index":269,"t":{"23":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":372,"t":{"27":{"position":[[176,2]]}}}],["主要",{"_index":137,"t":{"19":{"position":[[108,2]]}}}],["之后",{"_index":217,"t":{"21":{"position":[[505,2]]}}}],["事件",{"_index":197,"t":{"21":{"position":[[368,2]]},"23":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":384,"t":{"27":{"position":[[226,2]]}}}],["以上",{"_index":396,"t":{"29":{"position":[[64,2]]}}}],["以下",{"_index":135,"t":{"19":{"position":[[105,2]]},"23":{"position":[[35,2]]},"25":{"position":[[31,2]]}}}],["任务",{"_index":260,"t":{"23":{"position":[[145,2]]}}}],["例子",{"_index":165,"t":{"21":{"position":[[75,2],[334,2]]},"23":{"position":[[184,2],[384,2]]},"25":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":247,"t":{"23":{"position":[[79,2]]},"25":{"position":[[75,2]]}}}],["依然",{"_index":264,"t":{"23":{"position":[[176,2]]}}}],["依赖",{"_index":242,"t":{"23":{"position":[[50,2],[510,2],[524,2]]},"25":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":390,"t":{"27":{"position":[[250,2]]}}}],["值",{"_index":294,"t":{"25":{"position":[[121,1]]}}}],["做",{"_index":226,"t":{"21":{"position":[[554,1]]},"23":{"position":[[159,1]]},"25":{"position":[[139,1]]}}}],["充分",{"_index":164,"t":{"21":{"position":[[61,2]]}}}],["关于",{"_index":145,"t":{"19":{"position":[[150,2]]}}}],["关键",{"_index":359,"t":{"27":{"position":[[106,2]]}}}],["其中",{"_index":379,"t":{"27":{"position":[[194,2]]}}}],["其它",{"_index":250,"t":{"23":{"position":[[90,2]]},"25":{"position":[[86,2]]}}}],["其实",{"_index":152,"t":{"21":{"position":[[11,2]]}}}],["内容",{"_index":397,"t":{"29":{"position":[[66,2]]}}}],["内部",{"_index":335,"t":{"25":{"position":[[1117,2],[1124,2]]},"27":{"position":[[46,2]]}}}],["几种",{"_index":240,"t":{"23":{"position":[[37,2]]},"25":{"position":[[33,2]]}}}],["函数",{"_index":193,"t":{"21":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":232,"t":{"21":{"position":[[599,2]]}}}],["判断",{"_index":324,"t":{"25":{"position":[[843,2]]}}}],["前端",{"_index":361,"t":{"27":{"position":[[113,2]]}}}],["前面",{"_index":223,"t":{"21":{"position":[[526,2]]}}}],["副作用",{"_index":203,"t":{"21":{"position":[[409,3]]},"23":{"position":[[113,3]]},"25":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":262,"t":{"23":{"position":[[164,2]]},"25":{"position":[[144,2]]}}}],["化",{"_index":362,"t":{"27":{"position":[[117,1]]}}}],["化繁为简",{"_index":220,"t":{"21":{"position":[[513,4]]}}}],["单一化",{"_index":383,"t":{"27":{"position":[[222,3]]}}}],["单元",{"_index":185,"t":{"21":{"position":[[328,2]]},"27":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":128,"t":{"19":{"position":[[82,4],[100,4],[152,4]]},"21":{"position":[[2,4],[36,4],[246,4],[547,4]]},"27":{"position":[[22,4],[76,4],[232,4]]},"29":{"position":[[5,4]]}}}],["单向",{"_index":376,"t":{"27":{"position":[[186,2]]}}}],["即可",{"_index":258,"t":{"23":{"position":[[136,2]]},"25":{"position":[[122,2]]}}}],["厘清",{"_index":228,"t":{"21":{"position":[[558,2]]}}}],["原因",{"_index":380,"t":{"27":{"position":[[198,2]]}}}],["参数",{"_index":194,"t":{"21":{"position":[[358,2]]},"23":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":243,"t":{"23":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":290,"t":{"25":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":367,"t":{"27":{"position":[[150,2]]}}}],["变量",{"_index":241,"t":{"23":{"position":[[43,2],[121,2]]},"25":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":330,"t":{"25":{"position":[[1098,2]]}}}],["可以",{"_index":219,"t":{"21":{"position":[[511,2]]},"23":{"position":[[10,2],[93,2],[103,2]]},"25":{"position":[[10,2],[89,2],[259,2],[432,2]]},"27":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":195,"t":{"21":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":382,"t":{"27":{"position":[[208,2]]}}}],["合理",{"_index":365,"t":{"27":{"position":[[127,2]]}}}],["同时",{"_index":386,"t":{"27":{"position":[[240,2]]}}}],["回归",{"_index":222,"t":{"21":{"position":[[523,2]]}}}],["因为",{"_index":337,"t":{"25":{"position":[[1122,2]]}}}],["因此",{"_index":198,"t":{"21":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":211,"t":{"21":{"position":[[467,2]]}}}],["地",{"_index":288,"t":{"25":{"position":[[15,1],[116,1]]},"27":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":162,"t":{"21":{"position":[[56,2],[319,2],[379,2]]},"23":{"position":[[24,2]]}}}],["基于",{"_index":138,"t":{"19":{"position":[[110,2]]}}}],["基本",{"_index":150,"t":{"21":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":146,"t":{"19":{"position":[[157,4]]}}}],["增大",{"_index":248,"t":{"23":{"position":[[81,2]]},"25":{"position":[[77,2]]}}}],["增长",{"_index":346,"t":{"27":{"position":[[41,2]]}}}],["复杂",{"_index":188,"t":{"21":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":348,"t":{"27":{"position":[[52,3]]}}}],["复杂度",{"_index":246,"t":{"23":{"position":[[76,3]]},"25":{"position":[[72,3]]}}}],["外界",{"_index":253,"t":{"23":{"position":[[110,2]]},"25":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":196,"t":{"21":{"position":[[365,2],[465,2]]},"23":{"position":[[48,2],[97,2],[151,2]]},"25":{"position":[[52,2]]}}}],["多",{"_index":189,"t":{"21":{"position":[[339,1]]},"23":{"position":[[22,1]]}}}],["多样化",{"_index":350,"t":{"27":{"position":[[67,3]]}}}],["大家",{"_index":398,"t":{"29":{"position":[[69,2]]}}}],["大致",{"_index":239,"t":{"23":{"position":[[32,2]]},"25":{"position":[[28,2]]}}}],["大道至简",{"_index":125,"t":{"19":{"position":[[68,4]]}}}],["如下",{"_index":178,"t":{"21":{"position":[[253,2]]}}}],["如今",{"_index":360,"t":{"27":{"position":[[110,2]]}}}],["如何",{"_index":132,"t":{"19":{"position":[[93,2]]},"23":{"position":[[258,2],[506,2]]},"25":{"position":[[252,2],[838,2]]}}}],["始",{"_index":124,"t":{"19":{"position":[[66,1]]}}}],["始终",{"_index":328,"t":{"25":{"position":[[1073,2]]}}}],["它们",{"_index":233,"t":{"21":{"position":[[603,2]]},"23":{"position":[[73,2]]},"25":{"position":[[65,2]]},"27":{"position":[[202,2]]}}}],["完成",{"_index":259,"t":{"23":{"position":[[138,2]]}}}],["实际",{"_index":342,"t":{"27":{"position":[[30,2]]}}}],["容易",{"_index":287,"t":{"25":{"position":[[13,2]]},"27":{"position":[[15,2]]}}}],["对",{"_index":293,"t":{"25":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"29":{"position":[[68,1]]}}}],["对于",{"_index":254,"t":{"23":{"position":[[117,2],[149,2]]},"25":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":333,"t":{"25":{"position":[[1108,2]]}}}],["对外部",{"_index":202,"t":{"21":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":209,"t":{"21":{"position":[[460,2],[481,2],[562,2]]},"25":{"position":[[1082,2],[1133,2]]},"29":{"position":[[23,2]]}}}],["将",{"_index":136,"t":{"19":{"position":[[107,1]]},"21":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":236,"t":{"23":{"position":[[14,1]]},"27":{"position":[[153,1]]}}}],["尝试",{"_index":126,"t":{"19":{"position":[[76,2]]}}}],["尤为重要",{"_index":364,"t":{"27":{"position":[[122,4]]}}}],["就",{"_index":218,"t":{"21":{"position":[[510,1]]}}}],["就是",{"_index":227,"t":{"21":{"position":[[556,2]]},"23":{"position":[[161,2]]},"25":{"position":[[141,2]]},"27":{"position":[[200,2]]},"29":{"position":[[13,2]]}}}],["工具",{"_index":374,"t":{"27":{"position":[[181,2]]}}}],["巧妙",{"_index":381,"t":{"27":{"position":[[204,2]]}}}],["希望",{"_index":395,"t":{"29":{"position":[[62,2]]}}}],["帮助",{"_index":400,"t":{"29":{"position":[[73,2]]}}}],["应该",{"_index":332,"t":{"25":{"position":[[1105,2]]}}}],["当然",{"_index":180,"t":{"21":{"position":[[312,2]]}}}],["形式",{"_index":231,"t":{"21":{"position":[[577,2],[587,2]]},"27":{"position":[[61,2]]}}}],["形态",{"_index":289,"t":{"25":{"position":[[26,2]]},"27":{"position":[[63,2]]},"29":{"position":[[36,2]]}}}],["影响",{"_index":208,"t":{"21":{"position":[[456,2],[492,2]]},"25":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"27":{"position":[[220,2]]}}}],["往往",{"_index":341,"t":{"27":{"position":[[28,2]]}}}],["思想",{"_index":129,"t":{"19":{"position":[[86,2]]}}}],["总结",{"_index":391,"t":{"29":{"position":[[9,2]]}}}],["情况",{"_index":343,"t":{"27":{"position":[[32,2]]}}}],["想",{"_index":261,"t":{"23":{"position":[[163,1]]},"25":{"position":[[143,1]]}}}],["我们",{"_index":176,"t":{"21":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"23":{"position":[[8,2],[126,2],[156,2],[174,2]]},"25":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"27":{"position":[[10,2]]}}}],["或者",{"_index":304,"t":{"25":{"position":[[414,2]]}}}],["所以",{"_index":224,"t":{"21":{"position":[[540,2]]}}}],["所有",{"_index":200,"t":{"21":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":356,"t":{"27":{"position":[[96,2],[129,2]]},"29":{"position":[[59,2]]}}}],["掌握",{"_index":229,"t":{"21":{"position":[[571,2]]},"29":{"position":[[32,2]]}}}],["探讨",{"_index":131,"t":{"19":{"position":[[91,2]]}}}],["推崇",{"_index":375,"t":{"27":{"position":[[183,2]]}}}],["提到",{"_index":205,"t":{"21":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":387,"t":{"27":{"position":[[242,2]]}}}],["操作",{"_index":245,"t":{"23":{"position":[[62,2]]}}}],["数据流",{"_index":377,"t":{"27":{"position":[[188,3]]}}}],["断言",{"_index":156,"t":{"21":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"25":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"29":{"position":[[47,2]]}}}],["方法",{"_index":151,"t":{"21":{"position":[[9,2],[535,2],[593,2]]},"29":{"position":[[50,2]]}}}],["时",{"_index":389,"t":{"27":{"position":[[248,1]]}}}],["时间",{"_index":237,"t":{"23":{"position":[[16,2]]}}}],["是不是",{"_index":179,"t":{"21":{"position":[[305,3]]}}}],["是否",{"_index":309,"t":{"25":{"position":[[444,2]]}}}],["普通",{"_index":192,"t":{"21":{"position":[[351,2],[391,2]]},"23":{"position":[[41,2],[119,2]]},"25":{"position":[[37,2],[103,2]]}}}],["更",{"_index":235,"t":{"23":{"position":[[13,1],[21,1]]},"25":{"position":[[12,1]]},"27":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":190,"t":{"21":{"position":[[344,2],[384,2]]},"27":{"position":[[65,2]]}}}],["有所",{"_index":399,"t":{"29":{"position":[[71,2]]}}}],["有时",{"_index":303,"t":{"25":{"position":[[398,2]]}}}],["本文",{"_index":116,"t":{"19":{"position":[[5,2],[74,2],[167,2]]}}}],["来源",{"_index":238,"t":{"23":{"position":[[30,2]]},"27":{"position":[[215,2]]}}}],["来自",{"_index":252,"t":{"23":{"position":[[108,2]]}}}],["构造",{"_index":256,"t":{"23":{"position":[[130,2]]}}}],["框架",{"_index":373,"t":{"27":{"position":[[178,2]]}}}],["模式",{"_index":363,"t":{"27":{"position":[[119,2]]}}}],["正确",{"_index":310,"t":{"25":{"position":[[447,2]]}}}],["步骤",{"_index":177,"t":{"21":{"position":[[251,2]]}}}],["每个",{"_index":366,"t":{"27":{"position":[[138,2]]}}}],["测试",{"_index":184,"t":{"21":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"23":{"position":[[69,2]]},"25":{"position":[[61,2],[1080,2],[1131,2]]},"27":{"position":[[140,2]]},"29":{"position":[[21,2]]}}}],["点",{"_index":308,"t":{"25":{"position":[[443,1]]}}}],["特定",{"_index":281,"t":{"23":{"position":[[515,2]]}}}],["状态",{"_index":336,"t":{"25":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":207,"t":{"21":{"position":[[437,2]]}}}],["理解",{"_index":216,"t":{"21":{"position":[[503,2]]},"23":{"position":[[105,2]]}}}],["监视",{"_index":307,"t":{"25":{"position":[[434,2]]}}}],["盛行",{"_index":378,"t":{"27":{"position":[[191,2]]}}}],["目标",{"_index":331,"t":{"25":{"position":[[1103,2]]}}}],["看作",{"_index":251,"t":{"23":{"position":[[95,2]]},"25":{"position":[[91,2]]}}}],["真实",{"_index":181,"t":{"21":{"position":[[315,2]]}}}],["着手",{"_index":130,"t":{"19":{"position":[[88,2]]}}}],["示例",{"_index":144,"t":{"19":{"position":[[147,2]]}}}],["称之为",{"_index":213,"t":{"21":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":249,"t":{"23":{"position":[[86,3]]},"25":{"position":[[82,3]]}}}],["等",{"_index":371,"t":{"27":{"position":[[175,1]]}}}],["简单",{"_index":127,"t":{"19":{"position":[[79,2]]},"21":{"position":[[14,2],[45,2],[72,2],[309,2]]},"23":{"position":[[2,2],[181,2]]},"25":{"position":[[2,2],[114,2],[165,2]]},"27":{"position":[[1,2]]}}}],["组件",{"_index":280,"t":{"23":{"position":[[512,2],[526,2]]},"25":{"position":[[630,2],[847,2]]},"27":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":201,"t":{"21":{"position":[[398,2],[421,2]]},"25":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":143,"t":{"19":{"position":[[145,2]]}}}],["给定",{"_index":153,"t":{"21":{"position":[[18,2],[257,2]]},"23":{"position":[[140,2]]}}}],["继续",{"_index":295,"t":{"25":{"position":[[160,2]]}}}],["编写",{"_index":133,"t":{"19":{"position":[[95,2]]},"21":{"position":[[0,2],[244,2],[542,2]]},"23":{"position":[[67,2]]},"27":{"position":[[18,2],[74,2],[230,2]]},"29":{"position":[[0,2]]}}}],["聚焦",{"_index":368,"t":{"27":{"position":[[156,2]]}}}],["良好",{"_index":134,"t":{"19":{"position":[[97,2]]},"21":{"position":[[544,2]]},"29":{"position":[[2,2]]}}}],["花",{"_index":234,"t":{"23":{"position":[[12,1]]}}}],["范围",{"_index":149,"t":{"19":{"position":[[171,2]]}}}],["行为",{"_index":210,"t":{"21":{"position":[[462,2]]}}}],["要",{"_index":183,"t":{"21":{"position":[[324,1],[553,1]]},"23":{"position":[[158,1]]},"25":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":159,"t":{"21":{"position":[[41,2]]}}}],["覆盖",{"_index":160,"t":{"21":{"position":[[49,2],[375,2],[573,2]]},"23":{"position":[[19,2],[71,2],[260,2],[508,2]]},"29":{"position":[[42,2]]}}}],["解决",{"_index":357,"t":{"27":{"position":[[99,2]]}}}],["触发",{"_index":263,"t":{"23":{"position":[[166,2],[522,2]]},"25":{"position":[[441,2]]}}}],["讨论",{"_index":148,"t":{"19":{"position":[[169,2]]},"21":{"position":[[601,2]]}}}],["记得",{"_index":329,"t":{"25":{"position":[[1075,2]]}}}],["识别",{"_index":394,"t":{"29":{"position":[[19,2]]}}}],["诸如",{"_index":369,"t":{"27":{"position":[[159,2]]}}}],["调用",{"_index":291,"t":{"25":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":161,"t":{"21":{"position":[[51,2]]},"23":{"position":[[0,2]]},"25":{"position":[[0,2]]}}}],["转载自",{"_index":117,"t":{"19":{"position":[[7,3]]}}}],["输入",{"_index":154,"t":{"21":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"23":{"position":[[5,2],[27,2],[142,2]]},"27":{"position":[[4,2],[213,2]]},"29":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":349,"t":{"27":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":157,"t":{"21":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"25":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"27":{"position":[[7,2],[218,2]]},"29":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":221,"t":{"21":{"position":[[521,2]]}}}],["运行",{"_index":155,"t":{"21":{"position":[[23,2],[267,2],[419,2],[483,2]]},"25":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":270,"t":{"23":{"position":[[267,2]]},"27":{"position":[[101,2]]}}}],["这些",{"_index":257,"t":{"23":{"position":[[132,2],[168,2]]},"25":{"position":[[148,2]]}}}],["这样",{"_index":215,"t":{"21":{"position":[[501,2]]}}}],["这里",{"_index":204,"t":{"21":{"position":[[424,2]]}}}],["进行",{"_index":163,"t":{"21":{"position":[[59,2]]},"25":{"position":[[67,2]]}}}],["远",{"_index":186,"t":{"21":{"position":[[330,1]]}}}],["适时地",{"_index":354,"t":{"27":{"position":[[90,3]]},"29":{"position":[[53,3]]}}}],["造成",{"_index":214,"t":{"21":{"position":[[489,2]]}}}],["逻辑",{"_index":347,"t":{"27":{"position":[[48,2]]}}}],["那么",{"_index":306,"t":{"25":{"position":[[428,2]]}}}],["都",{"_index":212,"t":{"21":{"position":[[469,1],[494,1]]},"23":{"position":[[92,1]]},"25":{"position":[[88,1]]},"27":{"position":[[149,1]]}}}],["重构",{"_index":355,"t":{"27":{"position":[[93,2]]},"29":{"position":[[56,2]]}}}],["重要性",{"_index":147,"t":{"19":{"position":[[162,3]]}}}],["错误",{"_index":338,"t":{"25":{"position":[[1141,2]]}}}],["问题",{"_index":358,"t":{"27":{"position":[[103,2]]}}}],["降低",{"_index":385,"t":{"27":{"position":[[228,2]]}}}],["陡增",{"_index":353,"t":{"27":{"position":[[86,2]]}}}],["除了",{"_index":191,"t":{"21":{"position":[[349,2],[389,2]]},"23":{"position":[[84,2]]},"25":{"position":[[80,2]]}}}],["随之",{"_index":352,"t":{"27":{"position":[[84,2]]}}}],["难以",{"_index":199,"t":{"21":{"position":[[373,2],[415,2]]},"25":{"position":[[409,2]]}}}],["难度",{"_index":351,"t":{"27":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":388,"t":{"27":{"position":[[246,2]]}}}],["需",{"_index":255,"t":{"23":{"position":[[129,1]]},"25":{"position":[[113,1]]}}}],["需求",{"_index":344,"t":{"27":{"position":[[37,2]]}}}],["首先",{"_index":225,"t":{"21":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/docs/next/tags/front-matter/index.html b/docs/next/tags/front-matter/index.html new file mode 100644 index 00000000..3ff97e1f --- /dev/null +++ b/docs/next/tags/front-matter/index.html @@ -0,0 +1,14 @@ + + + + + +One doc tagged with "Front matter" | Docusaurus Search + + + + + +

One doc tagged with "Front matter"

View All Tags
+ + \ No newline at end of file diff --git a/docs/next/tags/index.html b/docs/next/tags/index.html new file mode 100644 index 00000000..781bdc95 --- /dev/null +++ b/docs/next/tags/index.html @@ -0,0 +1,14 @@ + + + + + +Tags | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/docs/next/tags/keywords/index.html b/docs/next/tags/keywords/index.html new file mode 100644 index 00000000..4cf3d57c --- /dev/null +++ b/docs/next/tags/keywords/index.html @@ -0,0 +1,14 @@ + + + + + +One doc tagged with "Keywords" | Docusaurus Search + + + + + +

One doc tagged with "Keywords"

View All Tags
+ + \ No newline at end of file diff --git a/docs/next/tags/test/index.html b/docs/next/tags/test/index.html new file mode 100644 index 00000000..b25b2b11 --- /dev/null +++ b/docs/next/tags/test/index.html @@ -0,0 +1,14 @@ + + + + + +One doc tagged with "Test" | Docusaurus Search + + + + + +

One doc tagged with "Test"

View All Tags
+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/congratulations/index.html b/docs/next/tutorial-basics/congratulations/index.html new file mode 100644 index 00000000..213b4a61 --- /dev/null +++ b/docs/next/tutorial-basics/congratulations/index.html @@ -0,0 +1,26 @@ + + + + + +Congratulations! | Docusaurus Search + + + + + +
Version: Next

Congratulations!

+

You have just learned the basics of Docusaurus and made some changes to the initial template.

+

Docusaurus has much more to offer!

+

Have 5 more minutes? Take a look at versioning and i18n.

+

Anything unclear or buggy in this tutorial? Please report it!

+

What's next?

+
+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/create-a-blog-post/index.html b/docs/next/tutorial-basics/create-a-blog-post/index.html new file mode 100644 index 00000000..eb15dcd6 --- /dev/null +++ b/docs/next/tutorial-basics/create-a-blog-post/index.html @@ -0,0 +1,19 @@ + + + + + +Create a Blog Post | Docusaurus Search + + + + + +
Version: Next

Create a Blog Post

+

Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

+

Create your first Post

+

Create a file at blog/2021-02-28-greetings.md:

+
blog/2021-02-28-greetings.md
---
slug: greetings
title: Greetings!
authors:
- name: Joel Marcey
title: Co-creator of Docusaurus 1
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
- name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
tags: [greetings]
---

Congratulations, you have made your first post!

Feel free to play around and edit this post as much you like.
+

A new blog post is now available at http://localhost:3000/blog/greetings.

+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/create-a-document/index.html b/docs/next/tutorial-basics/create-a-document/index.html new file mode 100644 index 00000000..c035157d --- /dev/null +++ b/docs/next/tutorial-basics/create-a-document/index.html @@ -0,0 +1,30 @@ + + + + + +Create a Document | Docusaurus Search + + + + + +
Version: Next

Create a Document

+

Documents are groups of pages connected through:

+
    +
  • a sidebar
  • +
  • previous/next navigation
  • +
  • versioning
  • +
+

Create your first Doc

+

Create a markdown file at docs/hello.md:

+
docs/hello.md
# Hello

This is my **first Docusaurus document**!
+

A new document is now available at http://localhost:3000/docs/hello.

+

Configure the Sidebar

+

Docusaurus automatically creates a sidebar from the docs folder.

+

Add metadata to customize the sidebar label and position:

+
docs/hello.md
---
sidebar_label: 'Hi!'
sidebar_position: 3
---

# Hello

This is my **first Docusaurus document**!
+

It is also possible to create your sidebar explicitly in sidebars.js:

+
sidebars.js
module.exports = {
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
};
+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/create-a-page/index.html b/docs/next/tutorial-basics/create-a-page/index.html new file mode 100644 index 00000000..8ef2dcf3 --- /dev/null +++ b/docs/next/tutorial-basics/create-a-page/index.html @@ -0,0 +1,28 @@ + + + + + +Create a Page | Docusaurus Search + + + + + +
Version: Next

Create a Page

+

Add Markdown or React files to src/pages to create a standalone page:

+
    +
  • src/pages/index.js -> localhost:3000/
  • +
  • src/pages/foo.md -> localhost:3000/foo
  • +
  • src/pages/foo/bar.js -> localhost:3000/foo/bar
  • +
+

Create your first React Page

+

Create a file at src/pages/my-react-page.js:

+
src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';

export default function MyReactPage() {
return (
<Layout>
<h1>My React page</h1>
<p>This is a React page</p>
</Layout>
);
}
+

A new page is now available at http://localhost:3000/my-react-page.

+

Create your first Markdown Page

+

Create a file at src/pages/my-markdown-page.md:

+
src/pages/my-markdown-page.md
# My Markdown page

This is a Markdown page
+

A new page is now available at http://localhost:3000/my-markdown-page.

+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/deploy-your-site/index.html b/docs/next/tutorial-basics/deploy-your-site/index.html new file mode 100644 index 00000000..356bda91 --- /dev/null +++ b/docs/next/tutorial-basics/deploy-your-site/index.html @@ -0,0 +1,25 @@ + + + + + +Deploy your site | Docusaurus Search + + + + + +
Version: Next

Deploy your site

+

Docusaurus is a static-site-generator (also called Jamstack).

+

It builds your site as simple static HTML, JavaScript and CSS files.

+

Build your site

+

Build your site for production:

+
npm run build
+

The static files are generated in the build folder.

+

Deploy your site

+

Test your production build locally:

+
npm run serve
+

The build folder is now served at http://localhost:3000/.

+

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

+ + \ No newline at end of file diff --git a/docs/next/tutorial-basics/markdown-features/index.html b/docs/next/tutorial-basics/markdown-features/index.html new file mode 100644 index 00000000..8fc92539 --- /dev/null +++ b/docs/next/tutorial-basics/markdown-features/index.html @@ -0,0 +1,49 @@ + + + + + +Markdown Features | Docusaurus Search + + + + + +
Version: Next

Markdown Features

+

Docusaurus supports Markdown and a few additional features.

+

Front Matter

+

Markdown documents have metadata at the top called Front Matter:

+
my-doc.md
---
id: my-doc-id
title: My document title
description: My document description
slug: /my-custom-url
---

## Markdown heading

Markdown text with [links](./hello.md)
+ +

Regular Markdown links are supported, using url paths or relative file paths.

+
Let's see how to [Create a page](/create-a-page).
+
Let's see how to [Create a page](./create-a-page.md).
+

Result: Let's see how to Create a page.

+

Images

+

Regular Markdown images are supported.

+

You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

+
![Docusaurus logo](/img/docusaurus.png)
+

Docusaurus logo

+

You can reference images relative to the current file as well, as shown in the extra guides.

+

Code Blocks

+

Markdown code blocks are supported with Syntax highlighting.

+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return (
<h1>Hello, Docusaurus!</h1>
)
}
+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return <h1>Hello, Docusaurus!</h1>;
}
+

Admonitions

+

Docusaurus has a special syntax to create admonitions and callouts:

+

:::tip My tip

+

Use this awesome feature option

+

:::

+

:::danger Take care

+

This action is dangerous

+

:::

+
My tip

Use this awesome feature option

+
Take care

This action is dangerous

+

MDX and React Components

+

MDX can make your documentation more interactive and allows using any React components inside Markdown:

+
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '20px',
color: '#fff',
padding: '10px',
cursor: 'pointer',
}}
onClick={() => {
alert(`You clicked the color ${color} with label ${children}`)
}}>
{children}
</span>
);

This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !
+ +

This is Docusaurus green !

+

This is Facebook blue !

+ + \ No newline at end of file diff --git a/docs/next/tutorial-extras/manage-docs-versions/index.html b/docs/next/tutorial-extras/manage-docs-versions/index.html new file mode 100644 index 00000000..670b9d5e --- /dev/null +++ b/docs/next/tutorial-extras/manage-docs-versions/index.html @@ -0,0 +1,36 @@ + + + + + +Manage Docs Versions | Docusaurus Search + + + + + +
Version: Next

Manage Docs Versions

+

Docusaurus can manage multiple versions of your docs.

+

Create a docs version

+

Release a version 1.0 of your project:

+
npm run docusaurus docs:version 1.0
+

The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

+

Your docs now have 2 versions:

+
    +
  • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
  • +
  • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
  • +
+

Add a Version Dropdown

+

To navigate seamlessly across versions, add a version dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'docsVersionDropdown',
},
],
},
},
};
+

The docs version dropdown appears in your navbar:

+

Docs Version Dropdown

+

Update an existing version

+

It is possible to edit versioned docs in their respective folder:

+
    +
  • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
  • +
  • docs/hello.md updates http://localhost:3000/docs/next/hello
  • +
+ + \ No newline at end of file diff --git a/docs/next/tutorial-extras/translate-your-site/index.html b/docs/next/tutorial-extras/translate-your-site/index.html new file mode 100644 index 00000000..96dcf746 --- /dev/null +++ b/docs/next/tutorial-extras/translate-your-site/index.html @@ -0,0 +1,38 @@ + + + + + +Translate your site | Docusaurus Search + + + + + +
Version: Next

Translate your site

+

Let's translate docs/intro.md to French.

+

Configure i18n

+

Modify docusaurus.config.js to add support for the fr locale:

+
docusaurus.config.js
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
},
};
+

Translate a doc

+

Copy the docs/intro.md file to the i18n/fr folder:

+
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
+

Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

+

Start your localized site

+

Start your site on the French locale:

+
npm run start -- --locale fr
+

Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

+
caution

In development, you can only use one locale at a same time.

+

Add a Locale Dropdown

+

To navigate seamlessly across languages, add a locale dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'localeDropdown',
},
],
},
},
};
+

The locale dropdown now appears in your navbar:

+

Locale Dropdown

+

Build your localized site

+

Build your site for a specific locale:

+
npm run build -- --locale fr
+

Or build your site to include all the locales at once:

+
npm run build
+ + \ No newline at end of file diff --git a/docs/next/unlisted-post/index.html b/docs/next/unlisted-post/index.html new file mode 100644 index 00000000..3ee37d7e --- /dev/null +++ b/docs/next/unlisted-post/index.html @@ -0,0 +1,16 @@ + + + + + +Unlisted Post | Docusaurus Search + + + + + +
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.
Version: Next

Unlisted Post

+

This unlisted blog post should be "hidden" in production, but remain accessible.

+

It is filtered from the sidebar, sitemap, SEO indexation...

+ + \ No newline at end of file diff --git a/img/docusaurus.png b/img/docusaurus.png new file mode 100644 index 00000000..f458149e Binary files /dev/null and b/img/docusaurus.png differ diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 00000000..c01d54bc Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/logo.svg b/img/logo.svg new file mode 100644 index 00000000..9db6d0d0 --- /dev/null +++ b/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/undraw_docusaurus_mountain.svg b/img/undraw_docusaurus_mountain.svg new file mode 100644 index 00000000..431cef2f --- /dev/null +++ b/img/undraw_docusaurus_mountain.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/undraw_docusaurus_react.svg b/img/undraw_docusaurus_react.svg new file mode 100644 index 00000000..e4170504 --- /dev/null +++ b/img/undraw_docusaurus_react.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/undraw_docusaurus_tree.svg b/img/undraw_docusaurus_tree.svg new file mode 100644 index 00000000..a05cc03d --- /dev/null +++ b/img/undraw_docusaurus_tree.svg @@ -0,0 +1 @@ +docu_tree \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..f6a453ed --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + +Hello from Docusaurus Search | Docusaurus Search + + + + + +

Docusaurus Search

An offline/local search example using @easyops-cn/docusaurus-search-local.

💪 Written in TypeScript

💪 Written in TypeScript

A Result You Can Trust.

🌎 Multi Languages Supported

🌎 Multi Languages Supported

Dozens of languages supported, including 中文分词 🇨🇳.

💅 Styles polished

💅 Styles polished

Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website.

+ + \ No newline at end of file diff --git a/search-index.json b/search-index.json new file mode 100644 index 00000000..21f4d511 --- /dev/null +++ b/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":89,"t":"","u":"/docusaurus-search-local/blog/archive","b":["Blog"]},{"i":90,"t":"Hola","u":"/docusaurus-search-local/blog/hola","b":["Blog"]},{"i":92,"t":"Hello","u":"/docusaurus-search-local/blog/hello-world","b":["Blog"]},{"i":94,"t":"Welcome","u":"/docusaurus-search-local/blog/welcome","b":["Blog"]},{"i":96,"t":"A Document in Portuguese","u":"/docusaurus-search-local/docs/doc-in-pt","b":["Docs"]},{"i":98,"t":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","b":["Blog"]},{"i":110,"t":"Style Guide","u":"/docusaurus-search-local/docs/","b":["Docs","Docusaurus"]},{"i":139,"t":"Document Number 2","u":"/docusaurus-search-local/docs/doc2","b":["Docs","Docusaurus"]},{"i":141,"t":"This is Document Number 3","u":"/docusaurus-search-local/docs/doc3","b":["Docs","Docusaurus"]},{"i":143,"t":"Powered by MDX","u":"/docusaurus-search-local/docs/mdx","b":["Docs","Features"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/89",[]],["t/90",[0,2.435]],["t/92",[1,2.435]],["t/94",[2,2.435]],["t/96",[3,1.095,4,1.906]],["t/98",[5,1.565,6,1.565,7,1.565]],["t/110",[8,1.906,9,1.906]],["t/139",[3,0.9,10,1.164,11,1.565]],["t/141",[3,0.9,10,1.164,12,1.565]],["t/143",[13,1.906,14,1.906]]],"invertedIndex":[["2",{"_index":11,"t":{"139":{"position":[[16,1]]}}}],["3",{"_index":12,"t":{"141":{"position":[[24,1]]}}}],["document",{"_index":3,"t":{"96":{"position":[[2,8]]},"139":{"position":[[0,8]]},"141":{"position":[[8,8]]}}}],["guid",{"_index":9,"t":{"110":{"position":[[6,5]]}}}],["hello",{"_index":1,"t":{"92":{"position":[[0,5]]}}}],["hola",{"_index":0,"t":{"90":{"position":[[0,4]]}}}],["mdx",{"_index":14,"t":{"143":{"position":[[11,3]]}}}],["number",{"_index":10,"t":{"139":{"position":[[9,6]]},"141":{"position":[[17,6]]}}}],["portugues",{"_index":4,"t":{"96":{"position":[[14,10]]}}}],["power",{"_index":13,"t":{"143":{"position":[[0,7]]}}}],["style",{"_index":8,"t":{"110":{"position":[[0,5]]}}}],["welcom",{"_index":2,"t":{"94":{"position":[[0,7]]}}}],["单元测试",{"_index":7,"t":{"98":{"position":[[5,4]]}}}],["编写",{"_index":5,"t":{"98":{"position":[[0,2]]}}}],["良好",{"_index":6,"t":{"98":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":100,"t":"基本方法","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#基本方法","p":98},{"i":102,"t":"输入","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输入","p":98},{"i":104,"t":"输出","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输出","p":98},{"i":106,"t":"重构与拆分","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#重构与拆分","p":98},{"i":108,"t":"总结","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#总结","p":98},{"i":112,"t":"Markdown Syntax","u":"/docusaurus-search-local/docs/","h":"#markdown-syntax","p":110},{"i":114,"t":"Headers","u":"/docusaurus-search-local/docs/","h":"#headers","p":110},{"i":115,"t":"H1 - Create the best documentation","u":"/docusaurus-search-local/docs/","h":"","p":110},{"i":116,"t":"H2 - Create the best documentation","u":"/docusaurus-search-local/docs/","h":"#h2---create-the-best-documentation","p":110},{"i":117,"t":"H3 - Create the best documentation","u":"/docusaurus-search-local/docs/","h":"#h3---create-the-best-documentation","p":110},{"i":119,"t":"Emphasis","u":"/docusaurus-search-local/docs/","h":"#emphasis","p":110},{"i":121,"t":"Lists","u":"/docusaurus-search-local/docs/","h":"#lists","p":110},{"i":123,"t":"Links","u":"/docusaurus-search-local/docs/","h":"#links","p":110},{"i":125,"t":"Images","u":"/docusaurus-search-local/docs/","h":"#images","p":110},{"i":127,"t":"Code","u":"/docusaurus-search-local/docs/","h":"#code","p":110},{"i":129,"t":"Tables","u":"/docusaurus-search-local/docs/","h":"#tables","p":110},{"i":131,"t":"Blockquotes","u":"/docusaurus-search-local/docs/","h":"#blockquotes","p":110},{"i":133,"t":"Inline HTML","u":"/docusaurus-search-local/docs/","h":"#inline-html","p":110},{"i":135,"t":"Line Breaks","u":"/docusaurus-search-local/docs/","h":"#line-breaks","p":110},{"i":137,"t":"Admonitions","u":"/docusaurus-search-local/docs/","h":"#admonitions","p":110}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/100",[0,2.461,1,2.461]],["t/102",[2,3.174]],["t/104",[3,3.174]],["t/106",[4,2.461,5,2.461]],["t/108",[6,3.174]],["t/112",[7,2.461,8,2.461]],["t/114",[9,3.174]],["t/115",[10,1.699,11,1.153,12,1.153,13,1.153]],["t/116",[11,1.153,12,1.153,13,1.153,14,1.699]],["t/117",[11,1.153,12,1.153,13,1.153,15,1.699]],["t/119",[16,3.174]],["t/121",[17,3.174]],["t/123",[18,3.174]],["t/125",[19,3.174]],["t/127",[20,3.174]],["t/129",[21,3.174]],["t/131",[22,3.174]],["t/133",[23,2.461,24,2.461]],["t/135",[25,2.461,26,2.461]],["t/137",[27,3.174]]],"invertedIndex":[["admonit",{"_index":27,"t":{"137":{"position":[[0,11]]}}}],["best",{"_index":12,"t":{"115":{"position":[[16,4]]},"116":{"position":[[16,4]]},"117":{"position":[[16,4]]}}}],["blockquot",{"_index":22,"t":{"131":{"position":[[0,11]]}}}],["break",{"_index":26,"t":{"135":{"position":[[5,6]]}}}],["code",{"_index":20,"t":{"127":{"position":[[0,4]]}}}],["creat",{"_index":11,"t":{"115":{"position":[[5,6]]},"116":{"position":[[5,6]]},"117":{"position":[[5,6]]}}}],["document",{"_index":13,"t":{"115":{"position":[[21,13]]},"116":{"position":[[21,13]]},"117":{"position":[[21,13]]}}}],["emphasi",{"_index":16,"t":{"119":{"position":[[0,8]]}}}],["h1",{"_index":10,"t":{"115":{"position":[[0,2]]}}}],["h2",{"_index":14,"t":{"116":{"position":[[0,2]]}}}],["h3",{"_index":15,"t":{"117":{"position":[[0,2]]}}}],["header",{"_index":9,"t":{"114":{"position":[[0,7]]}}}],["html",{"_index":24,"t":{"133":{"position":[[7,4]]}}}],["imag",{"_index":19,"t":{"125":{"position":[[0,6]]}}}],["inlin",{"_index":23,"t":{"133":{"position":[[0,6]]}}}],["line",{"_index":25,"t":{"135":{"position":[[0,4]]}}}],["link",{"_index":18,"t":{"123":{"position":[[0,5]]}}}],["list",{"_index":17,"t":{"121":{"position":[[0,5]]}}}],["markdown",{"_index":7,"t":{"112":{"position":[[0,8]]}}}],["syntax",{"_index":8,"t":{"112":{"position":[[9,6]]}}}],["tabl",{"_index":21,"t":{"129":{"position":[[0,6]]}}}],["基本",{"_index":0,"t":{"100":{"position":[[0,2]]}}}],["总结",{"_index":6,"t":{"108":{"position":[[0,2]]}}}],["拆分",{"_index":5,"t":{"106":{"position":[[3,2]]}}}],["方法",{"_index":1,"t":{"100":{"position":[[2,2]]}}}],["输入",{"_index":2,"t":{"102":{"position":[[0,2]]}}}],["输出",{"_index":3,"t":{"104":{"position":[[0,2]]}}}],["重构",{"_index":4,"t":{"106":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":89,"t":"Archive","s":"","u":"/docusaurus-search-local/blog/archive","p":89},{"i":90,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/blog/hola","p":90},{"i":92,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/blog/hello-world","p":92},{"i":94,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/blog/welcome","p":94},{"i":96,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/docs/doc-in-pt","p":96},{"i":98,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","p":98},{"i":110,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/docs/","p":110},{"i":139,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/docs/doc2","p":139},{"i":141,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","s":"This is Document Number 3","u":"/docusaurus-search-local/docs/doc3","p":141},{"i":143,"t":"You can write JSX and use React components within your Markdown thanks to MDX.","s":"Powered by MDX","u":"/docusaurus-search-local/docs/mdx","p":143}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/89",[0,3.3]],["t/90",[1,2.185,2,2.455,3,2.185,4,2.185,5,2.185,6,1.643,7,1.643,8,1.643,9,2.21,10,1.643,11,2.21,12,1.643,13,2.21,14,2.21,15,2.21,16,1.643,17,1.643,18,1.643]],["t/92",[19,2.923,20,2.608,21,2.923,22,2.923,23,2.174,24,2.923]],["t/94",[20,2.664,25,2.624,26,2.624,27,2.624,28,2.624,29,2.624,30,2.624,31,2.624,32,2.624,33,2.624,34,2.624]],["t/96",[23,0.594,35,1.756,36,2.508,37,0.799,38,0.799,39,2.066,40,0.799,41,1.351,42,1.536,43,0.799,44,0.799,45,1.351,46,2.066,47,1.351,48,2.31,49,0.799,50,2.508,51,0.799,52,0.799,53,0.799,54,0.799,55,1.351,56,2.671,57,0.799,58,0.799,59,0.799,60,0.799,61,1.351,62,0.799,63,0.799,64,0.799,65,0.799,66,0.799,67,0.799,68,0.799,69,1.756,70,0.799,71,0.799,72,0.799,73,1.351,74,0.799,75,0.799,76,0.799,77,0.799,78,1.756,79,0.799,80,0.799,81,0.799,82,0.799,83,1.756,84,0.799,85,0.799,86,0.799,87,1.351,88,1.756,89,1.351,90,0.799,91,0.799,92,1.351,93,0.799,94,1.351,95,1.756,96,1.351,97,0.799,98,0.799,99,1.756,100,0.799,101,0.799,102,0.799,103,0.799,104,0.799,105,0.799,106,0.594,107,0.799,108,0.799,109,0.799,110,0.799,111,1.351,112,0.799,113,0.799,114,0.799,115,0.799,116,0.799,117,0.799,118,0.799,119,0.799,120,0.799,121,0.799,122,0.799,123,0.799,124,0.799,125,0.799]],["t/98",[42,2.094,126,2.816,127,2.816,128,2.816,129,2.816,130,1.619,131,2.816,132,2.816,133,2.816]],["t/110",[130,1.68,134,2.923,135,2.174,136,2.923,137,2.923,138,2.174,139,2.923]],["t/139",[140,3.548,141,2.98,142,2.98,143,2.98,144,2.98]],["t/141",[1,1.317,2,1.317,3,1.317,4,1.317,5,1.317,6,1.876,7,1.317,8,1.317,10,0.825,12,0.825,16,0.825,17,1.317,18,0.825,106,0.825,145,1.11,146,1.11,147,1.772,148,1.11,149,1.11,150,1.11,151,1.11,152,1.11,153,1.772,154,1.11,155,1.11,156,1.11,157,1.11,158,1.11,159,1.772,160,1.11,161,1.11,162,1.772,163,1.11,164,1.11,165,1.11,166,1.11,167,1.11,168,1.11,169,1.11,170,1.11,171,1.11,172,1.772,173,1.11,174,1.772,175,1.11,176,1.11,177,1.11,178,1.11,179,1.11,180,1.11,181,1.11,182,1.772,183,1.11,184,1.11,185,1.11,186,2.211,187,1.11,188,1.11,189,1.772,190,1.11,191,1.772,192,1.11,193,1.11,194,1.11,195,1.11,196,1.11,197,1.11,198,1.11,199,1.11,200,1.11,201,1.11]],["t/143",[130,1.619,135,2.094,138,2.094,202,2.816,203,2.816,204,2.816,205,2.816,206,2.816,207,2.816]]],"invertedIndex":[["0",{"_index":47,"t":{"96":{"position":[[77,1],[409,1]]}}}],["04",{"_index":68,"t":{"96":{"position":[[235,2]]}}}],["1",{"_index":109,"t":{"96":{"position":[[621,1]]}}}],["10",{"_index":92,"t":{"96":{"position":[[427,2],[469,2]]}}}],["14",{"_index":49,"t":{"96":{"position":[[84,2]]}}}],["15",{"_index":52,"t":{"96":{"position":[[109,2]]}}}],["16",{"_index":40,"t":{"96":{"position":[[38,2]]}}}],["17",{"_index":54,"t":{"96":{"position":[[127,2]]}}}],["2",{"_index":23,"t":{"92":{"position":[[59,1]]},"96":{"position":[[96,1]]}}}],["2010",{"_index":111,"t":{"96":{"position":[[629,4],[742,4]]}}}],["3",{"_index":73,"t":{"96":{"position":[[275,1],[727,1]]}}}],["305",{"_index":90,"t":{"96":{"position":[[411,3]]}}}],["32",{"_index":110,"t":{"96":{"position":[[623,2]]}}}],["4",{"_index":41,"t":{"96":{"position":[[41,1],[130,1]]}}}],["45",{"_index":93,"t":{"96":{"position":[[430,2]]}}}],["5",{"_index":120,"t":{"96":{"position":[[719,1]]}}}],["62",{"_index":98,"t":{"96":{"position":[[472,2]]}}}],["64",{"_index":53,"t":{"96":{"position":[[117,2]]}}}],["65",{"_index":57,"t":{"96":{"position":[[146,2]]}}}],["66",{"_index":51,"t":{"96":{"position":[[93,2]]}}}],["7",{"_index":121,"t":{"96":{"position":[[729,1]]}}}],["78",{"_index":67,"t":{"96":{"position":[[232,2]]}}}],["82",{"_index":84,"t":{"96":{"position":[[365,2]]}}}],["83",{"_index":112,"t":{"96":{"position":[[635,2]]}}}],["84",{"_index":123,"t":{"96":{"position":[[758,2]]}}}],["93",{"_index":72,"t":{"96":{"position":[[272,2]]}}}],["abaixo",{"_index":119,"t":{"96":{"position":[[708,6]]}}}],["ac",{"_index":145,"t":{"141":{"position":[[60,2]]}}}],["add",{"_index":29,"t":{"94":{"position":[[53,3]]}}}],["adipisc",{"_index":7,"t":{"90":{"position":[[40,10]]},"141":{"position":[[40,10],[671,10]]}}}],["alfabetiza",{"_index":71,"t":{"96":{"position":[[257,10]]}}}],["aliquam",{"_index":17,"t":{"90":{"position":[[133,7]]},"141":{"position":[[351,7],[543,7]]}}}],["alpha",{"_index":24,"t":{"92":{"position":[[61,5]]}}}],["amet",{"_index":5,"t":{"90":{"position":[[22,4],[174,4]]},"141":{"position":[[22,4],[653,4]]}}}],["analfabetismo",{"_index":79,"t":{"96":{"position":[[317,13]]}}}],["ano",{"_index":50,"t":{"96":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":141,"t":{"139":{"position":[[18,7]]}}}],["ant",{"_index":166,"t":{"141":{"position":[[236,4]]}}}],["ao",{"_index":81,"t":{"96":{"position":[[346,2]]}}}],["archiv",{"_index":0,"t":{"89":{"position":[[0,7]]}}}],["baixa",{"_index":116,"t":{"96":{"position":[[673,5]]}}}],["bibendum",{"_index":174,"t":{"141":{"position":[[306,8],[425,8]]}}}],["blog",{"_index":20,"t":{"92":{"position":[[16,4],[27,4]]},"94":{"position":[[0,4],[33,4],[70,4]]}}}],["cada",{"_index":94,"t":{"96":{"position":[[437,4],[479,4]]}}}],["com",{"_index":42,"t":{"96":{"position":[[45,3],[134,3],[510,3],[664,3]]},"98":{"position":[[26,3]]}}}],["como",{"_index":58,"t":{"96":{"position":[[155,4]]}}}],["compon",{"_index":204,"t":{"143":{"position":[[32,10]]}}}],["composta",{"_index":38,"t":{"96":{"position":[[25,8]]}}}],["compreendida",{"_index":44,"t":{"96":{"position":[[55,12]]}}}],["consectetur",{"_index":6,"t":{"90":{"position":[[28,11]]},"141":{"position":[[28,11],[111,11],[581,11],[659,11]]}}}],["consequat",{"_index":18,"t":{"90":{"position":[[141,9]]},"141":{"position":[[80,9]]}}}],["content",{"_index":134,"t":{"110":{"position":[[14,7]]}}}],["contribuindo",{"_index":104,"t":{"96":{"position":[[553,12]]}}}],["creat",{"_index":21,"t":{"92":{"position":[[35,7]]}}}],["crescimento",{"_index":85,"t":{"96":{"position":[[371,11]]}}}],["cursu",{"_index":180,"t":{"141":{"position":[[369,6]]}}}],["dapibu",{"_index":167,"t":{"141":{"position":[[246,7]]}}}],["de",{"_index":56,"t":{"96":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["descer",{"_index":80,"t":{"96":{"position":[[339,6]]}}}],["dia",{"_index":65,"t":{"96":{"position":[[215,3]]}}}],["diam",{"_index":171,"t":{"141":{"position":[[279,4]]}}}],["dignissim",{"_index":11,"t":{"90":{"position":[[80,9]]}}}],["directori",{"_index":31,"t":{"94":{"position":[[75,9]]}}}],["do",{"_index":83,"t":{"96":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":142,"t":{"139":{"position":[[26,8]]}}}],["docusauru",{"_index":22,"t":{"92":{"position":[[48,10]]}}}],["dolor",{"_index":3,"t":{"90":{"position":[[12,5],[164,5]]},"141":{"position":[[12,5],[643,5]]}}}],["dui",{"_index":149,"t":{"141":{"position":[[90,3]]}}}],["e",{"_index":48,"t":{"96":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["eget",{"_index":196,"t":{"141":{"position":[[519,4]]}}}],["elementum",{"_index":10,"t":{"90":{"position":[[70,9]]},"141":{"position":[[296,9]]}}}],["elit",{"_index":8,"t":{"90":{"position":[[51,4]]},"141":{"position":[[51,4],[682,4]]}}}],["em",{"_index":69,"t":{"96":{"position":[[244,2],[626,2],[739,2]]}}}],["entr",{"_index":45,"t":{"96":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":62,"t":{"96":{"position":[[189,10]]}}}],["ero",{"_index":16,"t":{"90":{"position":[[128,4]]},"141":{"position":[[568,4]]}}}],["escrev",{"_index":76,"t":{"96":{"position":[[291,8]]}}}],["esperan",{"_index":63,"t":{"96":{"position":[[203,7]]}}}],["est",{"_index":106,"t":{"96":{"position":[[571,4]]},"141":{"position":[[564,3]]}}}],["esteja",{"_index":101,"t":{"96":{"position":[[530,6]]}}}],["et",{"_index":185,"t":{"141":{"position":[[412,2]]}}}],["etiam",{"_index":179,"t":{"141":{"position":[[360,5]]}}}],["eu",{"_index":148,"t":{"141":{"position":[[77,2]]}}}],["euismod",{"_index":146,"t":{"141":{"position":[[63,7]]}}}],["extern",{"_index":143,"t":{"139":{"position":[[57,8]]}}}],["facto",{"_index":107,"t":{"96":{"position":[[576,5]]}}}],["falecendo",{"_index":97,"t":{"96":{"position":[[459,9]]}}}],["faucibu",{"_index":187,"t":{"141":{"position":[[434,8]]}}}],["faz",{"_index":100,"t":{"96":{"position":[[506,3]]}}}],["featur",{"_index":25,"t":{"94":{"position":[[5,8]]}}}],["feli",{"_index":192,"t":{"141":{"position":[[469,5]]}}}],["fertilidad",{"_index":108,"t":{"96":{"position":[[592,11]]}}}],["feugiat",{"_index":165,"t":{"141":{"position":[[228,7]]}}}],["file",{"_index":30,"t":{"94":{"position":[[57,5]]}}}],["flavor",{"_index":137,"t":{"110":{"position":[[35,8]]}}}],["fringilla",{"_index":197,"t":{"141":{"position":[[525,9]]}}}],["fusc",{"_index":13,"t":{"90":{"position":[[101,5]]}}}],["github",{"_index":136,"t":{"110":{"position":[[28,6]]}}}],["good",{"_index":131,"t":{"98":{"position":[[38,4]]}}}],["gravida",{"_index":177,"t":{"141":{"position":[[332,7]]}}}],["habitant",{"_index":96,"t":{"96":{"position":[[446,10],[488,10]]}}}],["hendrerit",{"_index":201,"t":{"141":{"position":[[620,9]]}}}],["http",{"_index":128,"t":{"98":{"position":[[6,5]]}}}],["id",{"_index":153,"t":{"141":{"position":[[129,2],[199,2]]}}}],["idad",{"_index":43,"t":{"96":{"position":[[49,5]]}}}],["imperdiet",{"_index":154,"t":{"141":{"position":[[132,9]]}}}],["infantil",{"_index":118,"t":{"96":{"position":[[699,8]]}}}],["interdum",{"_index":191,"t":{"141":{"position":[[460,8],[611,8]]}}}],["ipsum",{"_index":2,"t":{"90":{"position":[[6,5],[115,5],[158,5]]},"141":{"position":[[6,5],[637,5]]}}}],["jsx",{"_index":202,"t":{"143":{"position":[[14,3]]}}}],["lectu",{"_index":182,"t":{"141":{"position":[[387,6],[535,6]]}}}],["ler",{"_index":75,"t":{"96":{"position":[[285,3]]}}}],["ligula",{"_index":183,"t":{"141":{"position":[[394,6]]}}}],["link",{"_index":140,"t":{"139":{"position":[[10,4],[46,4]]}}}],["longo",{"_index":82,"t":{"96":{"position":[[349,5]]}}}],["lorem",{"_index":1,"t":{"90":{"position":[[0,5],[152,5]]},"141":{"position":[[0,5],[631,5]]}}}],["m",{"_index":64,"t":{"96":{"position":[[213,1]]}}}],["mai",{"_index":55,"t":{"96":{"position":[[138,4],[668,4]]}}}],["malesuada",{"_index":184,"t":{"141":{"position":[[402,9]]}}}],["markdown",{"_index":138,"t":{"110":{"position":[[44,8]]},"143":{"position":[[55,8]]}}}],["massa",{"_index":161,"t":{"141":{"position":[[183,5]]}}}],["mauri",{"_index":186,"t":{"141":{"position":[[415,6],[574,6],[604,6]]}}}],["mdx",{"_index":207,"t":{"143":{"position":[[74,3]]}}}],["mi",{"_index":188,"t":{"141":{"position":[[443,2]]}}}],["mil",{"_index":95,"t":{"96":{"position":[[442,3],[484,3],[735,3]]}}}],["molesti",{"_index":151,"t":{"141":{"position":[[102,8]]}}}],["molli",{"_index":160,"t":{"141":{"position":[[176,6]]}}}],["mortalidad",{"_index":117,"t":{"96":{"position":[[687,11]]}}}],["mundo",{"_index":122,"t":{"96":{"position":[[751,5]]}}}],["nam",{"_index":162,"t":{"141":{"position":[[203,3],[383,3]]}}}],["nascendo",{"_index":91,"t":{"96":{"position":[[418,8]]}}}],["nequ",{"_index":181,"t":{"141":{"position":[[376,5]]}}}],["nibh",{"_index":163,"t":{"141":{"position":[[210,4]]}}}],["no",{"_index":89,"t":{"96":{"position":[[405,3],[617,3]]}}}],["non",{"_index":159,"t":{"141":{"position":[[172,3],[241,3]]}}}],["nullam",{"_index":150,"t":{"141":{"position":[[95,6]]}}}],["o",{"_index":36,"t":{"96":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":147,"t":{"141":{"position":[[71,4],[489,4]]}}}],["ornar",{"_index":157,"t":{"141":{"position":[[157,6]]}}}],["os",{"_index":46,"t":{"96":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["pa",{"_index":115,"t":{"96":{"position":[[657,2]]}}}],["page",{"_index":144,"t":{"139":{"position":[[66,4]]}}}],["para",{"_index":105,"t":{"96":{"position":[[566,4]]}}}],["pellentesqu",{"_index":9,"t":{"90":{"position":[[57,12]]}}}],["phasellu",{"_index":189,"t":{"141":{"position":[[447,9],[476,9]]}}}],["plugin",{"_index":27,"t":{"94":{"position":[[38,6]]}}}],["popula",{"_index":35,"t":{"96":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":86,"t":{"96":{"position":[[383,12]]}}}],["por",{"_index":39,"t":{"96":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porttitor",{"_index":194,"t":{"141":{"position":[[504,9]]}}}],["portug",{"_index":113,"t":{"96":{"position":[[639,8]]}}}],["portuguesa",{"_index":37,"t":{"96":{"position":[[12,10]]}}}],["power",{"_index":26,"t":{"94":{"position":[[18,7]]}}}],["praesent",{"_index":175,"t":{"141":{"position":[[316,8]]}}}],["proin",{"_index":155,"t":{"141":{"position":[[143,5]]}}}],["pulvinar",{"_index":193,"t":{"141":{"position":[[494,8]]}}}],["quam",{"_index":199,"t":{"141":{"position":[[593,4]]}}}],["que",{"_index":99,"t":{"96":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":172,"t":{"141":{"position":[[284,4],[346,4]]}}}],["quilom",{"_index":124,"t":{"96":{"position":[[762,6]]}}}],["react",{"_index":203,"t":{"143":{"position":[[26,5]]}}}],["renovada",{"_index":103,"t":{"96":{"position":[[543,8]]}}}],["rhoncu",{"_index":14,"t":{"90":{"position":[[107,7]]}}}],["risu",{"_index":152,"t":{"141":{"position":[[123,5]]}}}],["sabem",{"_index":74,"t":{"96":{"position":[[279,5]]}}}],["scelerisqu",{"_index":164,"t":{"141":{"position":[[215,11]]}}}],["se",{"_index":88,"t":{"96":{"position":[[402,2],[608,2],[660,3]]}}}],["semper",{"_index":176,"t":{"141":{"position":[[325,6]]}}}],["ser",{"_index":102,"t":{"96":{"position":[[539,3]]}}}],["simpli",{"_index":28,"t":{"94":{"position":[[46,6]]}}}],["sit",{"_index":4,"t":{"90":{"position":[[18,3],[170,3]]},"141":{"position":[[18,3],[649,3]]}}}],["situa",{"_index":87,"t":{"96":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":156,"t":{"141":{"position":[[149,7]]}}}],["sollicitudin",{"_index":198,"t":{"141":{"position":[[551,12]]}}}],["support",{"_index":32,"t":{"94":{"position":[[89,8]]}}}],["syntax",{"_index":139,"t":{"110":{"position":[[53,6]]}}}],["tag",{"_index":33,"t":{"94":{"position":[[98,4]]}}}],["tal",{"_index":59,"t":{"96":{"position":[[160,3]]}}}],["taxa",{"_index":78,"t":{"96":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":173,"t":{"141":{"position":[[289,6]]}}}],["tem",{"_index":60,"t":{"96":{"position":[[177,3]]}}}],["tempor",{"_index":15,"t":{"90":{"position":[[121,6]]}}}],["tendo",{"_index":77,"t":{"96":{"position":[[301,5]]}}}],["termo",{"_index":70,"t":{"96":{"position":[[247,6]]}}}],["test",{"_index":133,"t":{"98":{"position":[[48,5]]}}}],["thank",{"_index":206,"t":{"143":{"position":[[64,6]]}}}],["tortor",{"_index":168,"t":{"141":{"position":[[254,6]]}}}],["trica",{"_index":125,"t":{"96":{"position":[[769,6]]}}}],["turpi",{"_index":158,"t":{"141":{"position":[[164,6]]}}}],["ultrici",{"_index":12,"t":{"90":{"position":[[90,9]]},"141":{"position":[[189,9]]}}}],["um",{"_index":114,"t":{"96":{"position":[[650,2]]}}}],["unit",{"_index":132,"t":{"98":{"position":[[43,4]]}}}],["urna",{"_index":195,"t":{"141":{"position":[[514,4]]}}}],["us",{"_index":135,"t":{"110":{"position":[[22,5]]},"143":{"position":[[22,3]]}}}],["ut",{"_index":190,"t":{"141":{"position":[[457,2]]}}}],["velit",{"_index":178,"t":{"141":{"position":[[340,5]]}}}],["vida",{"_index":66,"t":{"96":{"position":[[222,4]]}}}],["vindo",{"_index":61,"t":{"96":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":200,"t":{"141":{"position":[[598,5]]}}}],["vivamu",{"_index":169,"t":{"141":{"position":[[262,7]]}}}],["volutpat",{"_index":170,"t":{"141":{"position":[[270,8]]}}}],["wangshenwei",{"_index":129,"t":{"98":{"position":[[14,11]]}}}],["welcom",{"_index":19,"t":{"92":{"position":[[0,7]]}}}],["well",{"_index":34,"t":{"94":{"position":[[106,4]]}}}],["within",{"_index":205,"t":{"143":{"position":[[43,6]]}}}],["write",{"_index":130,"t":{"98":{"position":[[30,7]]},"110":{"position":[[8,5]]},"143":{"position":[[8,5]]}}}],["本文",{"_index":126,"t":{"98":{"position":[[0,2]]}}}],["转载自",{"_index":127,"t":{"98":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":91,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/blog/hola","h":"","p":90},{"i":93,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/blog/hello-world","h":"","p":92},{"i":95,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/blog/welcome","h":"","p":94},{"i":97,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/docs/doc-in-pt","h":"","p":96},{"i":99,"t":"note 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"","p":98},{"i":101,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#基本方法","p":98},{"i":103,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输入","p":98},{"i":105,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#输出","p":98},{"i":107,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#重构与拆分","p":98},{"i":109,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/blog/writing-good-unit-tests","h":"#总结","p":98},{"i":111,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/docs/","h":"","p":110},{"i":113,"t":"To serve as an example page when styling markdown based Docusaurus sites.","s":"Markdown Syntax","u":"/docusaurus-search-local/docs/","h":"#markdown-syntax","p":110},{"i":118,"t":"H4 - Create the best documentation​ H5 - Create the best documentation​ H6 - Create the best documentation​","s":"H3 - Create the best documentation","u":"/docusaurus-search-local/docs/","h":"#h3---create-the-best-documentation","p":110},{"i":120,"t":"Emphasis, aka italics, with asterisks or underscores. Strong emphasis, aka bold, with asterisks or underscores. Combined emphasis with asterisks and underscores. Strikethrough uses two tildes. Scratch this.","s":"Emphasis","u":"/docusaurus-search-local/docs/","h":"#emphasis","p":110},{"i":122,"t":"First ordered list item Another item Unordered sub-list. Actual numbers don't matter, just that it's a number Ordered sub-list And another item. Unordered list can use asterisks Or minuses Or pluses","s":"Lists","u":"/docusaurus-search-local/docs/","h":"#lists","p":110},{"i":124,"t":"I'm an inline-style link I'm an inline-style link with title I'm a reference-style link You can use numbers for reference-style link definitions Or leave it empty and use the link text itself. URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later.","s":"Links","u":"/docusaurus-search-local/docs/","h":"#links","p":110},{"i":126,"t":"Here's our logo (hover to see the title text): Inline-style: Reference-style: Images from any folder can be used by providing path to file. Path should be relative to markdown file.","s":"Images","u":"/docusaurus-search-local/docs/","h":"#images","p":110},{"i":128,"t":"var s = \"JavaScript syntax highlighting\"; alert(s); s = \"Python syntax highlighting\" print(s) No language indicated, so no syntax highlighting. But let's throw in a tag. function highlightMe() { console.log(\"This line can be highlighted!\"); }","s":"Code","u":"/docusaurus-search-local/docs/","h":"#code","p":110},{"i":130,"t":"Colons can be used to align columns. Tables Are Cool col 3 is right-aligned $1600 col 2 is centered $12 zebra stripes are neat $1 There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. Markdown Less Pretty Still renders nicely 1 2 3","s":"Tables","u":"/docusaurus-search-local/docs/","h":"#tables","p":110},{"i":132,"t":"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. Quote break. This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.","s":"Blockquotes","u":"/docusaurus-search-local/docs/","h":"#blockquotes","p":110},{"i":134,"t":"Definition list Is something people use sometimes. Markdown in HTML Does not work very well. Use HTML tags.","s":"Inline HTML","u":"/docusaurus-search-local/docs/","h":"#inline-html","p":110},{"i":136,"t":"Here's a line for us to start with. This line is separated from the one above by two newlines, so it will be a separate paragraph. This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.","s":"Line Breaks","u":"/docusaurus-search-local/docs/","h":"#line-breaks","p":110},{"i":138,"t":"note This is a note tip This is a tip important This is important caution This is a caution warning This is a warning","s":"Admonitions","u":"/docusaurus-search-local/docs/","h":"#admonitions","p":110},{"i":140,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/docs/doc2","h":"","p":139},{"i":142,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique. Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis. Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor. Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.","s":"This is Document Number 3","u":"/docusaurus-search-local/docs/doc3","h":"","p":141},{"i":144,"t":"You can write JSX and use React components within your Markdown thanks to MDX. Docusaurus green and Facebook blue are my favorite colors. I can write Markdown alongside my JSX!","s":"Powered by MDX","u":"/docusaurus-search-local/docs/mdx","h":"","p":143}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/91",[0,3.936,1,4.291,2,3.936,3,3.936,4,3.936,5,3.154,6,3.154,7,3.154,8,3.154,9,3.154,10,3.831,11,3.154,12,3.154,13,3.154,14,3.154,15,3.154,16,3.154,17,3.154]],["t/93",[18,4.296,19,4.222,20,3.537,21,3.037,22,2.663,23,4.296,24,2.365,25,4.296,26,3.537,27,4.296,28,4.296]],["t/95",[19,4.523,26,3.212,29,4.836,30,3.901,31,3.901,32,3.901,33,3.212,34,3.212,35,4.836,36,3.901,37,2.758,38,3.212,39,3.901,40,2.758,41,2.758,42,3.901,43,3.901]],["t/97",[22,1.125,44,3.465,45,4.486,46,1.814,47,1.814,48,3.91,49,1.814,50,2.823,51,2.764,52,1.814,53,1.814,54,2.823,55,3.91,56,2.823,57,4.236,58,1.814,59,4.486,60,1.814,61,1.814,62,1.814,63,1.814,64,2.823,65,4.683,66,1.814,67,1.814,68,1.814,69,1.814,70,2.823,71,1.814,72,1.814,73,1.494,74,1.814,75,1.814,76,1.814,77,1.814,78,3.465,79,1.814,80,1.814,81,1.814,82,1.995,83,1.814,84,1.814,85,1.814,86,1.814,87,3.465,88,1.814,89,1.814,90,1.814,91,1.814,92,3.465,93,1.814,94,1.814,95,1.814,96,2.823,97,3.465,98,2.823,99,1.814,100,1.814,101,2.823,102,1.814,103,2.823,104,3.465,105,2.823,106,1.814,107,1.814,108,3.465,109,1.814,110,1.814,111,1.814,112,1.814,113,1.814,114,1.814,115,1.494,116,1.814,117,1.814,118,1.282,119,1.814,120,2.823,121,1.814,122,1.814,123,1.814,124,1.814,125,1.814,126,1.814,127,1.814,128,1.814,129,1.814,130,1.814,131,1.814,132,1.814,133,1.814,134,1.814]],["t/99",[24,1.828,51,2.347,135,2.734,136,4.873,137,3.321,138,2.734,139,3.321,140,2.058,141,3.321,142,3.321,143,3.321,144,3.321,145,3.321,146,3.321,147,1.828,148,3.021,149,3.321,150,3.321,151,3.321,152,2.347,153,1.828,154,2.347,155,2.347,156,2.734,157,3.321,158,3.321,159,3.321,160,2.734,161,2.058,162,3.321,163,3.321,164,3.321,165,3.321,166,3.321,167,3.321,168,2.734,169,3.321]],["t/101",[22,1.923,24,0.843,33,3.433,82,2.193,118,2.193,147,1.958,148,2.205,153,1.708,154,1.083,156,2.929,168,1.261,170,2.469,171,2.554,172,1.532,173,2.033,174,2.998,175,2.929,176,2.758,177,2.998,178,1.531,179,1.532,180,2.193,181,1.083,182,2.554,183,1.261,184,1.532,185,1.746,186,1.746,187,1.083,188,2.193,189,2.033,190,1.746,191,1.083,192,2.033,193,2.033,194,2.418,195,1.532,196,1.532,197,1.532,198,1.532,199,1.532,200,1.261,201,1.746,202,2.147,203,1.261,204,1.532,205,1.532,206,3.102,207,1.261,208,2.033,209,1.746,210,1.746,211,3.102,212,1.261,213,3.102,214,1.746,215,1.261,216,2.469,217,2.033,218,3.102,219,2.033,220,2.469,221,1.083,222,1.532,223,2.469,224,1.532,225,1.532,226,1.746,227,2.193,228,1.532,229,1.532,230,1.531,231,2.469,232,1.532,233,1.532,234,1.261,235,1.532,236,1.532,237,0.95,238,1.532,239,1.532,240,1.532,241,1.532,242,1.532,243,1.532,244,1.083,245,0.843,246,1.532,247,1.261,248,2.033,249,2.033,250,1.532,251,0.95]],["t/103",[24,1.591,147,1.591,152,2.043,153,1.03,155,1.322,173,1.54,174,2.19,178,1.792,180,2.809,181,1.322,182,1.54,185,2.043,186,2.043,190,1.322,191,2.043,194,2.464,201,1.322,202,1.03,207,1.54,209,1.322,210,2.043,212,2.908,214,2.497,215,4.027,221,1.322,230,1.159,234,1.54,237,2.19,244,1.322,245,1.03,251,1.159,252,1.87,253,2.043,254,1.54,255,1.87,256,1.54,257,1.54,258,1.54,259,2.38,260,2.908,261,2.89,262,1.54,263,1.87,264,1.54,265,1.54,266,1.54,267,1.54,268,1.54,269,1.54,270,1.87,271,1.54,272,2.38,273,1.54,274,1.87,275,2.38,276,1.54,277,1.87,278,1.87,279,1.54,280,1.54,281,2.38,282,1.87,283,3.898,284,2.89,285,1.87,286,2.89,287,2.89,288,1.54,289,1.87,290,1.87,291,1.87,292,2.38,293,2.38,294,2.89,295,2.89,296,1.87,297,1.54,298,2.89,299,2.89,300,2.043,301,1.87,302,2.38,303,1.54,304,1.54,305,1.87,306,1.87]],["t/105",[24,1.559,147,1.559,152,1.567,155,0.949,160,1.106,161,0.832,175,1.826,176,3.272,177,2.256,178,1.756,181,0.949,183,1.106,185,2.002,186,2.002,187,0.949,190,0.949,191,2.324,192,2.707,193,2.332,194,2.43,201,1.567,202,1.559,209,0.949,210,1.567,214,0.949,217,1.106,219,2.332,221,2.931,226,2.573,227,1.567,230,0.832,237,2.038,244,0.949,245,0.739,251,0.832,253,0.949,257,1.106,258,1.106,259,1.826,260,2.332,262,1.106,264,1.106,265,1.106,266,1.106,267,1.106,268,1.106,269,1.106,271,2.332,272,1.826,273,1.106,275,1.106,276,1.106,279,1.106,280,1.106,281,1.106,283,2.997,292,2.332,293,2.332,297,1.826,300,1.567,302,2.332,303,1.106,304,1.106,307,1.106,308,1.826,309,0.949,310,2.218,311,2.218,312,1.343,313,2.707,314,1.343,315,1.343,316,4.146,317,2.832,318,2.218,319,2.832,320,2.332,321,1.343,322,1.343,323,1.343,324,1.343,325,1.343,326,1.343,327,1.343,328,1.343,329,1.343,330,1.343,331,2.218,332,1.343,333,1.343,334,2.218,335,3.64,336,1.343,337,1.343,338,2.832,339,2.332,340,2.218,341,2.218,342,2.832,343,1.343,344,1.343,345,1.106,346,1.343,347,1.343,348,1.343,349,1.343,350,1.343,351,1.343,352,1.343,353,1.343,354,2.218,355,1.826,356,2.218,357,1.343,358,1.343,359,1.343,360,1.343]],["t/107",[147,1.271,148,2.487,153,2.208,161,1.431,174,2.1,177,2.1,178,1.431,194,1.431,200,1.9,202,1.271,203,2.788,208,1.9,226,1.631,230,1.431,237,2.1,245,1.271,249,1.9,251,1.431,253,3.124,254,1.9,256,1.9,288,1.9,300,3.327,307,1.9,308,2.788,309,1.631,355,1.9,361,2.308,362,2.308,363,2.308,364,2.308,365,3.387,366,2.308,367,2.308,368,2.308,369,3.387,370,2.308,371,3.387,372,2.308,373,2.308,374,1.9,375,1.9,376,2.788,377,2.308,378,2.308,379,2.308,380,2.308,381,2.308,382,2.308,383,2.308,384,2.308,385,2.308,386,2.308,387,2.308,388,2.308,389,2.308,390,2.308,391,2.308,392,2.308,393,2.308,394,2.308,395,2.308,396,2.308,397,2.308,398,2.308,399,2.308,400,2.308,401,2.308,402,2.308,403,2.308,404,2.308,405,2.308,406,2.308,407,2.308,408,2.308,409,2.308,410,2.308]],["t/109",[148,2.252,153,2,154,2.568,171,2.991,174,2.867,176,2.568,177,2.867,180,2.568,202,2,227,2.568,245,2,247,2.991,248,2.991,309,2.568,313,2.991,374,2.991,375,2.991,376,2.991,411,3.634,412,3.634,413,3.634,414,3.634,415,3.634,416,3.634,417,3.634,418,3.634,419,3.634,420,3.634]],["t/111",[140,2.806,421,4.526,422,1.81,423,3.726,424,4.526,425,2.006,426,3.726]],["t/113",[21,3.165,425,1.985,427,4.478,428,3.687,429,3.687,430,3.165,431,4.478,432,4.478]],["t/118",[20,4.513,433,4.296,434,5.482,435,4.513,436,4.296,437,4.296]],["t/120",[422,1.589,438,5.299,439,4.891,440,3.974,441,4.363,442,5.299,443,3.974,444,3.974,445,3.974,446,3.974,447,3.272,448,3.974,449,3.974]],["t/122",[40,2.636,41,2.636,188,3.323,339,4.239,422,1.491,441,3.07,450,3.73,451,4.702,452,4.451,453,3.871,454,4.702,455,4.702,456,3.07,457,3.73,458,2.053,459,3.73,460,3.73]],["t/124",[51,2.992,73,3.921,138,2.611,188,2.242,320,3.484,422,1.692,423,2.611,428,3.921,430,3.592,461,2.992,462,4.578,463,2.611,464,3.921,465,2.611,466,3.171,467,3.171,468,2.992,469,3.171,470,3.171,471,3.171,472,3.171,473,3.171,474,3.171,475,2.611,476,3.171,477,3.171,478,3.171]],["t/126",[34,4.004,422,1.574,425,1.745,430,3.438,458,2.167,461,2.783,463,3.241,464,3.241,468,2.783,479,3.241,480,3.937,481,3.937,482,3.937,483,3.937,484,3.937,485,3.937,486,4.863,487,3.937]],["t/128",[37,2.613,187,2.613,189,3.849,426,4.222,458,3.06,488,3.697,489,3.697,490,5.389,491,3.697,492,3.697,493,3.697,494,3.697,495,3.697,496,3.697,497,3.697,498,3.697,499,3.697,500,2.292]],["t/130",[22,2.598,40,2.209,41,2.209,82,3.342,118,2.962,422,1.676,425,2.095,461,2.209,500,1.937,501,3.125,502,4.19,503,3.125,504,3.125,505,3.125,506,4.19,507,3.125,508,3.125,509,3.125,510,3.125,511,3.125,512,3.125,513,3.125,514,3.125,515,2.572,516,3.125,517,3.125,518,3.125,519,3.125,520,3.125,521,3.125,522,3.125,523,2.572,524,3.125,525,3.125,526,3.125,527,3.125,528,3.125,529,2.572,530,3.125,531,3.125]],["t/132",[140,2.142,425,1.532,456,2.845,458,1.902,468,2.443,500,2.776,523,2.845,529,2.845,532,4.478,533,3.687,534,3.456,535,3.456,536,3.456,537,3.456,538,3.456,539,2.845,540,4.968,541,3.456,542,4.478,543,3.456,544,4.478,545,4.478,546,3.456,547,3.456,548,3.456,549,3.456,550,3.456,551,3.456]],["t/134",[37,2.977,38,3.467,345,3.467,422,2.026,425,1.866,452,3.467,465,3.467,475,3.467,533,3.467,552,4.211,553,5.067,554,4.211]],["t/136",[447,3.154,458,2.632,479,3.154,500,3.482,515,4.625,539,3.154,555,3.831,556,3.831,557,3.831,558,4.781,559,5.212,560,3.831]],["t/138",[135,4.273,561,5.191,562,5.191,563,5.191,564,5.191]],["t/140",[429,3.766,435,3.766,453,3.766,462,4.381,565,4.575]],["t/142",[0,2.013,1,2.671,2,1.54,3,2.671,4,2.671,5,2.908,6,1.54,7,2.908,8,1.54,9,0.903,11,0.903,12,2.013,13,1.54,14,0.903,15,2.013,16,2.013,17,2.013,115,1.54,566,2.446,567,1.87,568,3.244,569,3.772,570,2.446,571,3.244,572,1.096,573,1.87,574,2.89,575,1.87,576,1.096,577,1.096,578,1.87,579,1.096,580,3.533,581,1.096,582,2.89,583,2.446,584,3.533,585,1.87,586,2.446,587,1.87,588,2.446,589,2.446,590,2.89,591,1.87,592,1.096,593,2.89,594,2.89,595,2.446,596,1.096,597,1.87,598,2.89,599,2.446,600,1.87,601,2.89,602,2.446,603,2.446,604,2.446,605,1.87,606,2.89,607,2.89,608,1.87,609,1.096,610,2.446,611,2.446,612,1.87,613,1.096,614,1.096,615,1.87,616,2.446,617,3.533,618,1.096,619,1.87,620,1.87,621,3.244,622,2.446,623,1.87,624,2.89,625,3.244,626,2.89,627,2.446,628,1.096,629,2.446,630,1.096,631,1.87,632,1.87,633,3.244,634,1.096,635,1.096,636,1.096,637,2.446,638,2.446,639,2.446,640,2.89,641,2.446,642,1.87,643,1.096,644,2.446,645,1.096,646,1.096,647,1.87,648,1.096,649,2.446,650,1.096,651,1.87,652,1.87,653,1.87,654,1.096,655,1.096,656,1.096,657,1.87,658,1.096,659,1.096,660,1.096,661,1.096,662,1.096,663,1.096]],["t/144",[21,2.836,140,3.05,161,2.487,422,1.604,425,2.18,664,4.92,665,4.012,666,4.012,667,4.012,668,4.012,669,4.012,670,4.012,671,4.012,672,4.012,673,4.012,674,4.012]]],"invertedIndex":[["0",{"_index":56,"t":{"97":{"position":[[77,1],[409,1]]}}}],["04",{"_index":77,"t":{"97":{"position":[[235,2]]}}}],["1",{"_index":118,"t":{"97":{"position":[[621,1]]},"101":{"position":[[179,1],[222,1],[262,1]]},"130":{"position":[[128,1],[363,1]]}}}],["10",{"_index":101,"t":{"97":{"position":[[427,2],[469,2]]}}}],["12",{"_index":510,"t":{"130":{"position":[[101,2]]}}}],["14",{"_index":58,"t":{"97":{"position":[[84,2]]}}}],["15",{"_index":61,"t":{"97":{"position":[[109,2]]}}}],["16",{"_index":49,"t":{"97":{"position":[[38,2]]}}}],["1600",{"_index":508,"t":{"130":{"position":[[77,4]]}}}],["17",{"_index":63,"t":{"97":{"position":[[127,2]]}}}],["2",{"_index":22,"t":{"93":{"position":[[59,1]]},"97":{"position":[[96,1]]},"101":{"position":[[182,1],[225,1],[265,1]]},"130":{"position":[[86,1],[365,1]]}}}],["2010",{"_index":120,"t":{"97":{"position":[[629,4],[742,4]]}}}],["3",{"_index":82,"t":{"97":{"position":[[275,1],[727,1]]},"101":{"position":[[199,1],[234,1],[302,1]]},"130":{"position":[[57,1],[153,1],[367,1]]}}}],["305",{"_index":99,"t":{"97":{"position":[[411,3]]}}}],["32",{"_index":119,"t":{"97":{"position":[[623,2]]}}}],["4",{"_index":50,"t":{"97":{"position":[[41,1],[130,1]]}}}],["45",{"_index":102,"t":{"97":{"position":[[430,2]]}}}],["5",{"_index":129,"t":{"97":{"position":[[719,1]]}}}],["62",{"_index":107,"t":{"97":{"position":[[472,2]]}}}],["64",{"_index":62,"t":{"97":{"position":[[117,2]]}}}],["65",{"_index":66,"t":{"97":{"position":[[146,2]]}}}],["66",{"_index":60,"t":{"97":{"position":[[93,2]]}}}],["7",{"_index":130,"t":{"97":{"position":[[729,1]]}}}],["78",{"_index":76,"t":{"97":{"position":[[232,2]]}}}],["82",{"_index":93,"t":{"97":{"position":[[365,2]]}}}],["83",{"_index":121,"t":{"97":{"position":[[635,2]]}}}],["84",{"_index":132,"t":{"97":{"position":[[758,2]]}}}],["93",{"_index":81,"t":{"97":{"position":[[272,2]]}}}],["abaixo",{"_index":128,"t":{"97":{"position":[[708,6]]}}}],["abov",{"_index":557,"t":{"136":{"position":[[72,5]]}}}],["ac",{"_index":566,"t":{"142":{"position":[[60,2],[869,2],[1681,2]]}}}],["accumsan",{"_index":663,"t":{"142":{"position":[[2019,8]]}}}],["actual",{"_index":456,"t":{"122":{"position":[[57,6]]},"132":{"position":[[246,8]]}}}],["add",{"_index":33,"t":{"95":{"position":[[53,3]]},"101":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]}}}],["addeventlisten",{"_index":285,"t":{"103":{"position":[[215,16]]}}}],["adipisc",{"_index":6,"t":{"91":{"position":[[40,10]]},"142":{"position":[[40,10],[671,10]]}}}],["aka",{"_index":439,"t":{"120":{"position":[[10,3],[71,3]]}}}],["alert",{"_index":491,"t":{"128":{"position":[[42,5]]}}}],["alfabetiza",{"_index":80,"t":{"97":{"position":[[257,10]]}}}],["align",{"_index":502,"t":{"130":{"position":[[22,5],[68,7]]}}}],["aliquam",{"_index":16,"t":{"91":{"position":[[133,7]]},"142":{"position":[[351,7],[543,7],[1036,7]]}}}],["aliquet",{"_index":643,"t":{"142":{"position":[[1134,7]]}}}],["alongsid",{"_index":674,"t":{"144":{"position":[[159,9]]}}}],["alpha",{"_index":23,"t":{"93":{"position":[[61,5]]}}}],["amet",{"_index":4,"t":{"91":{"position":[[22,4],[174,4]]},"142":{"position":[[22,4],[653,4],[1840,4],[1914,4],[2038,4]]}}}],["analfabetismo",{"_index":88,"t":{"97":{"position":[[317,13]]}}}],["angl",{"_index":470,"t":{"124":{"position":[[210,5]]}}}],["ano",{"_index":59,"t":{"97":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":453,"t":{"122":{"position":[[24,7],[131,7]]},"140":{"position":[[18,7]]}}}],["ant",{"_index":587,"t":{"142":{"position":[[236,4],[1226,4]]}}}],["ao",{"_index":90,"t":{"97":{"position":[[346,2]]}}}],["arcu",{"_index":628,"t":{"142":{"position":[[783,4]]}}}],["asterisk",{"_index":441,"t":{"120":{"position":[[28,9],[86,9],[135,9]]},"122":{"position":[[168,9]]}}}],["automat",{"_index":472,"t":{"124":{"position":[[230,13]]}}}],["b",{"_index":189,"t":{"101":{"position":[[115,1],[147,1]]},"128":{"position":[[166,1],[173,1]]}}}],["bad",{"_index":359,"t":{"105":{"position":[[1164,3]]}}}],["baixa",{"_index":125,"t":{"97":{"position":[[673,5]]}}}],["base",{"_index":431,"t":{"113":{"position":[[50,5]]}}}],["best",{"_index":434,"t":{"118":{"position":[[16,4],[52,4],[88,4]]}}}],["bibendum",{"_index":595,"t":{"142":{"position":[[306,8],[425,8],[989,8]]}}}],["blockquot",{"_index":532,"t":{"132":{"position":[[0,11],[306,10]]}}}],["blog",{"_index":19,"t":{"93":{"position":[[16,4],[27,4]]},"95":{"position":[[0,4],[33,4],[70,4],[161,4]]}}}],["blue",{"_index":671,"t":{"144":{"position":[[109,4]]}}}],["bold",{"_index":444,"t":{"120":{"position":[[75,4]]}}}],["boolean",{"_index":336,"t":{"105":{"position":[[691,7]]}}}],["boy",{"_index":546,"t":{"132":{"position":[[187,3]]}}}],["bracket",{"_index":471,"t":{"124":{"position":[[216,8]]}}}],["break",{"_index":541,"t":{"132":{"position":[[102,5]]}}}],["bunch",{"_index":27,"t":{"93":{"position":[[97,5]]}}}],["cada",{"_index":103,"t":{"97":{"position":[[437,4],[479,4]]}}}],["caution",{"_index":563,"t":{"138":{"position":[[66,7],[84,7]]}}}],["cell",{"_index":518,"t":{"130":{"position":[[185,4]]}}}],["center",{"_index":509,"t":{"130":{"position":[[91,8]]}}}],["classnam",{"_index":340,"t":{"105":{"position":[[760,9],[1039,9]]}}}],["col",{"_index":506,"t":{"130":{"position":[[53,3],[82,3]]}}}],["colon",{"_index":501,"t":{"130":{"position":[[0,6]]}}}],["color",{"_index":673,"t":{"144":{"position":[[130,6]]}}}],["column",{"_index":503,"t":{"130":{"position":[[28,7]]}}}],["com",{"_index":51,"t":{"97":{"position":[[45,3],[134,3],[510,3],[664,3]]},"99":{"position":[[31,3]]},"124":{"position":[[286,3],[313,3]]}}}],["combin",{"_index":445,"t":{"120":{"position":[[112,8]]}}}],["commodo",{"_index":657,"t":{"142":{"position":[[1732,7],[1987,7]]}}}],["como",{"_index":67,"t":{"97":{"position":[[155,4]]}}}],["compon",{"_index":665,"t":{"144":{"position":[[32,10]]}}}],["composta",{"_index":47,"t":{"97":{"position":[[25,8]]}}}],["compreendida",{"_index":53,"t":{"97":{"position":[[55,12]]}}}],["congu",{"_index":631,"t":{"142":{"position":[[822,6],[1929,6]]}}}],["consectetur",{"_index":5,"t":{"91":{"position":[[28,11]]},"142":{"position":[[28,11],[111,11],[581,11],[659,11],[1573,11],[2105,11]]}}}],["consequat",{"_index":17,"t":{"91":{"position":[[141,9]]},"142":{"position":[[80,9],[1082,9],[2049,9]]}}}],["consol",{"_index":498,"t":{"128":{"position":[[202,7]]}}}],["const",{"_index":293,"t":{"103":{"position":[[409,5],[587,5]]},"105":{"position":[[507,5],[658,5],[908,5]]}}}],["content",{"_index":421,"t":{"111":{"position":[[14,7]]}}}],["contribuindo",{"_index":113,"t":{"97":{"position":[[553,12]]}}}],["conval",{"_index":634,"t":{"142":{"position":[[928,9]]}}}],["cool",{"_index":505,"t":{"130":{"position":[[48,4]]}}}],["cra",{"_index":662,"t":{"142":{"position":[[2014,4]]}}}],["creat",{"_index":20,"t":{"93":{"position":[[35,7]]},"118":{"position":[[5,6],[41,6],[77,6]]}}}],["crescimento",{"_index":94,"t":{"97":{"position":[[371,11]]}}}],["cursu",{"_index":601,"t":{"142":{"position":[[369,6],[872,6],[1412,6],[1617,6]]}}}],["dapibu",{"_index":588,"t":{"142":{"position":[[246,7],[813,7],[1521,7]]}}}],["dash",{"_index":514,"t":{"130":{"position":[[155,6]]}}}],["de",{"_index":65,"t":{"97":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["definit",{"_index":465,"t":{"124":{"position":[[133,11]]},"134":{"position":[[0,10]]}}}],["delet",{"_index":39,"t":{"95":{"position":[[112,6]]}}}],["descer",{"_index":89,"t":{"97":{"position":[[339,6]]}}}],["dia",{"_index":74,"t":{"97":{"position":[[215,3]]}}}],["diam",{"_index":592,"t":{"142":{"position":[[279,4]]}}}],["dignissim",{"_index":10,"t":{"91":{"position":[[80,9]]}}}],["directori",{"_index":35,"t":{"95":{"position":[[75,9],[129,9]]}}}],["dispatchev",{"_index":289,"t":{"103":{"position":[[333,13]]}}}],["do",{"_index":92,"t":{"97":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":435,"t":{"118":{"position":[[21,13],[57,13],[93,13]]},"140":{"position":[[26,8]]}}}],["docusauru",{"_index":21,"t":{"93":{"position":[[48,10]]},"113":{"position":[[56,10]]},"144":{"position":[[79,10]]}}}],["dolor",{"_index":2,"t":{"91":{"position":[[12,5],[164,5]]},"142":{"position":[[12,5],[643,5]]}}}],["don",{"_index":40,"t":{"95":{"position":[[146,3]]},"122":{"position":[[72,3]]},"130":{"position":[[233,3]]}}}],["donec",{"_index":647,"t":{"142":{"position":[[1215,5],[1284,5]]}}}],["dui",{"_index":570,"t":{"142":{"position":[[90,3],[688,4],[1709,3]]}}}],["e",{"_index":57,"t":{"97":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["each",{"_index":516,"t":{"130":{"position":[[173,4]]}}}],["editor",{"_index":298,"t":{"103":{"position":[[472,6],[642,6]]}}}],["egesta",{"_index":623,"t":{"142":{"position":[[696,7],[919,7]]}}}],["eget",{"_index":617,"t":{"142":{"position":[[519,4],[750,4],[1111,4],[1190,4],[1310,4],[1954,4]]}}}],["eleifend",{"_index":639,"t":{"142":{"position":[[1058,8],[1635,8],[2059,8]]}}}],["elementum",{"_index":9,"t":{"91":{"position":[[70,9]]},"142":{"position":[[296,9]]}}}],["elit",{"_index":7,"t":{"91":{"position":[[51,4]]},"142":{"position":[[51,4],[682,4],[879,4],[1357,4],[1407,4],[1660,4]]}}}],["em",{"_index":78,"t":{"97":{"position":[[244,2],[626,2],[739,2]]}}}],["email",{"_index":535,"t":{"132":{"position":[[30,5]]}}}],["emphasi",{"_index":438,"t":{"120":{"position":[[0,8],[61,8],[121,8]]}}}],["empti",{"_index":467,"t":{"124":{"position":[[157,5]]}}}],["emul",{"_index":536,"t":{"132":{"position":[[39,7]]}}}],["enim",{"_index":650,"t":{"142":{"position":[[1366,4]]}}}],["enough",{"_index":549,"t":{"132":{"position":[[236,6]]}}}],["entr",{"_index":54,"t":{"97":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":71,"t":{"97":{"position":[[189,10]]}}}],["enzym",{"_index":162,"t":{"99":{"position":[[138,6]]}}}],["erat",{"_index":637,"t":{"142":{"position":[[974,4],[1044,4],[1995,4]]}}}],["ero",{"_index":15,"t":{"91":{"position":[[128,4]]},"142":{"position":[[568,4],[1290,4],[1537,4]]}}}],["escrev",{"_index":85,"t":{"97":{"position":[[291,8]]}}}],["esperan",{"_index":72,"t":{"97":{"position":[[203,7]]}}}],["est",{"_index":115,"t":{"97":{"position":[[571,4]]},"142":{"position":[[564,3],[1295,3]]}}}],["esteja",{"_index":110,"t":{"97":{"position":[[530,6]]}}}],["et",{"_index":606,"t":{"142":{"position":[[412,2],[693,2],[1354,2],[1506,2]]}}}],["etiam",{"_index":600,"t":{"142":{"position":[[360,5],[1856,5]]}}}],["eu",{"_index":569,"t":{"142":{"position":[[77,2],[999,2],[1049,2],[1453,2],[1689,2],[1752,2],[1862,2]]}}}],["euismod",{"_index":567,"t":{"142":{"position":[[63,7],[1556,7]]}}}],["event",{"_index":291,"t":{"103":{"position":[[351,5]]}}}],["everyon",{"_index":550,"t":{"132":{"position":[[264,8]]}}}],["ex",{"_index":661,"t":{"142":{"position":[[1919,2]]}}}],["exampl",{"_index":428,"t":{"113":{"position":[[15,7]]},"124":{"position":[[278,7],[305,7],[341,7]]}}}],["expect",{"_index":192,"t":{"101":{"position":[[211,6],[285,6]]},"105":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["extern",{"_index":565,"t":{"140":{"position":[[57,8]]}}}],["facebook",{"_index":670,"t":{"144":{"position":[[100,8]]}}}],["facto",{"_index":116,"t":{"97":{"position":[[576,5]]}}}],["fake",{"_index":306,"t":{"103":{"position":[[670,5]]}}}],["falecendo",{"_index":106,"t":{"97":{"position":[[459,9]]}}}],["faucibu",{"_index":608,"t":{"142":{"position":[[434,8],[722,8]]}}}],["favorit",{"_index":672,"t":{"144":{"position":[[121,8]]}}}],["faz",{"_index":109,"t":{"97":{"position":[[506,3]]}}}],["featur",{"_index":29,"t":{"95":{"position":[[5,8],[166,8]]}}}],["feli",{"_index":613,"t":{"142":{"position":[[469,5]]}}}],["fermentum",{"_index":630,"t":{"142":{"position":[[798,9]]}}}],["fertilidad",{"_index":117,"t":{"97":{"position":[[592,11]]}}}],["feugiat",{"_index":586,"t":{"142":{"position":[[228,7],[764,7],[1439,7]]}}}],["file",{"_index":34,"t":{"95":{"position":[[57,5]]},"126":{"position":[[134,4],[176,4]]}}}],["find",{"_index":304,"t":{"103":{"position":[[637,4]]},"105":{"position":[[1017,4]]}}}],["finibu",{"_index":649,"t":{"142":{"position":[[1315,7],[1472,7],[1592,7]]}}}],["first",{"_index":450,"t":{"122":{"position":[[0,5]]}}}],["flavor",{"_index":424,"t":{"111":{"position":[[35,8]]}}}],["folder",{"_index":484,"t":{"126":{"position":[[94,6]]}}}],["follow",{"_index":477,"t":{"124":{"position":[[398,6]]}}}],["form",{"_index":338,"t":{"105":{"position":[[750,4],[824,4],[1022,4]]}}}],["fringilla",{"_index":618,"t":{"142":{"position":[[525,9]]}}}],["function",{"_index":187,"t":{"101":{"position":[[91,8]]},"105":{"position":[[192,8]]},"128":{"position":[[177,8]]}}}],["fusc",{"_index":12,"t":{"91":{"position":[[101,5]]},"142":{"position":[[837,5],[1030,5],[1881,5]]}}}],["github",{"_index":423,"t":{"111":{"position":[[28,6]]},"124":{"position":[[329,6]]}}}],["good",{"_index":141,"t":{"99":{"position":[[43,4]]}}}],["gravida",{"_index":598,"t":{"142":{"position":[[332,7],[966,7],[1196,7],[1756,7]]}}}],["green",{"_index":669,"t":{"144":{"position":[[90,5]]}}}],["gui",{"_index":262,"t":{"103":{"position":[[58,3]]},"105":{"position":[[44,3]]}}}],["h4",{"_index":433,"t":{"118":{"position":[[0,2]]}}}],["h5",{"_index":436,"t":{"118":{"position":[[36,2]]}}}],["h6",{"_index":437,"t":{"118":{"position":[[72,2]]}}}],["habitant",{"_index":105,"t":{"97":{"position":[[446,10],[488,10]]}}}],["handi",{"_index":534,"t":{"132":{"position":[[21,5]]}}}],["handlechang",{"_index":294,"t":{"103":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":316,"t":{"105":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":334,"t":{"105":{"position":[[664,16],[982,16]]}}}],["header",{"_index":517,"t":{"130":{"position":[[178,6]]}}}],["hendrerit",{"_index":622,"t":{"142":{"position":[[620,9],[1671,9],[1865,9]]}}}],["here",{"_index":479,"t":{"126":{"position":[[0,4]]},"136":{"position":[[0,4]]}}}],["highlight",{"_index":490,"t":{"128":{"position":[[27,12],[71,12],[130,12],[232,11]]}}}],["highlightm",{"_index":497,"t":{"128":{"position":[[186,11]]}}}],["histori",{"_index":317,"t":{"105":{"position":[[223,7],[348,7],[543,7]]}}}],["hover",{"_index":481,"t":{"126":{"position":[[17,5]]}}}],["html",{"_index":553,"t":{"134":{"position":[[63,4],[97,4]]}}}],["http",{"_index":138,"t":{"99":{"position":[[11,5]]},"124":{"position":[[267,4]]}}}],["iaculi",{"_index":658,"t":{"142":{"position":[[1784,7]]}}}],["id",{"_index":574,"t":{"142":{"position":[[129,2],[199,2],[1781,2],[2102,2]]}}}],["idad",{"_index":52,"t":{"97":{"position":[[49,5]]}}}],["imag",{"_index":483,"t":{"126":{"position":[[78,6]]}}}],["imperdiet",{"_index":575,"t":{"142":{"position":[[132,9],[712,9]]}}}],["import",{"_index":562,"t":{"138":{"position":[[38,9],[56,9]]}}}],["indic",{"_index":495,"t":{"128":{"position":[[106,9]]}}}],["infantil",{"_index":127,"t":{"97":{"position":[[699,8]]}}}],["inform",{"_index":28,"t":{"93":{"position":[[112,11]]}}}],["inlin",{"_index":461,"t":{"124":{"position":[[7,6],[32,6]]},"126":{"position":[[47,6]]},"130":{"position":[[304,6]]}}}],["input",{"_index":343,"t":{"105":{"position":[[813,5]]}}}],["instanc",{"_index":360,"t":{"105":{"position":[[1193,8]]}}}],["integ",{"_index":642,"t":{"142":{"position":[[1124,7],[2069,7]]}}}],["interdum",{"_index":612,"t":{"142":{"position":[[460,8],[611,8]]}}}],["invalid",{"_index":342,"t":{"105":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":305,"t":{"103":{"position":[[650,6]]}}}],["ipsum",{"_index":1,"t":{"91":{"position":[[6,5],[115,5],[158,5]]},"142":{"position":[[6,5],[637,5],[731,5],[913,5],[1105,5]]}}}],["ital",{"_index":440,"t":{"120":{"position":[[14,7]]}}}],["item",{"_index":339,"t":{"105":{"position":[[755,4],[829,4],[1027,4]]},"122":{"position":[[19,4],[32,4],[139,4]]}}}],["itself",{"_index":469,"t":{"124":{"position":[[185,6]]}}}],["javascript",{"_index":489,"t":{"128":{"position":[[9,10]]}}}],["jest",{"_index":160,"t":{"99":{"position":[[125,4]]},"105":{"position":[[532,4]]}}}],["jsx",{"_index":664,"t":{"144":{"position":[[14,3],[172,3]]}}}],["justo",{"_index":644,"t":{"142":{"position":[[1152,5],[1564,5],[2043,5]]}}}],["keep",{"_index":547,"t":{"132":{"position":[[197,4]]}}}],["lacu",{"_index":646,"t":{"142":{"position":[[1208,5]]}}}],["languag",{"_index":494,"t":{"128":{"position":[[97,8]]}}}],["later",{"_index":478,"t":{"124":{"position":[[405,5]]}}}],["leav",{"_index":466,"t":{"124":{"position":[[148,5]]}}}],["lectu",{"_index":603,"t":{"142":{"position":[[387,6],[535,6],[829,6]]}}}],["ler",{"_index":84,"t":{"97":{"position":[[285,3]]}}}],["less",{"_index":527,"t":{"130":{"position":[[330,4]]}}}],["libero",{"_index":624,"t":{"142":{"position":[[704,6],[1484,6],[1509,6],[1600,6]]}}}],["ligula",{"_index":604,"t":{"142":{"position":[[394,6],[1276,6],[1644,6]]}}}],["line",{"_index":500,"t":{"128":{"position":[[220,4]]},"130":{"position":[[269,4]]},"132":{"position":[[64,4],[129,4]]},"136":{"position":[[9,4],[41,4],[136,4],[183,4],[246,4]]}}}],["link",{"_index":462,"t":{"124":{"position":[[20,4],[45,4],[83,4],[128,4],[175,4],[260,5],[388,5]]},"140":{"position":[[10,4],[46,4]]}}}],["list",{"_index":452,"t":{"122":{"position":[[14,4],[51,4],[122,4],[155,4]]},"134":{"position":[[11,4]]}}}],["loborti",{"_index":654,"t":{"142":{"position":[[1497,8]]}}}],["locat",{"_index":321,"t":{"105":{"position":[[356,8]]}}}],["log",{"_index":499,"t":{"128":{"position":[[210,3]]}}}],["logo",{"_index":480,"t":{"126":{"position":[[11,4]]}}}],["long",{"_index":542,"t":{"132":{"position":[[124,4],[231,4]]}}}],["longo",{"_index":91,"t":{"97":{"position":[[349,5]]}}}],["lorem",{"_index":0,"t":{"91":{"position":[[0,5],[152,5]]},"142":{"position":[[0,5],[631,5],[1849,5]]}}}],["m",{"_index":73,"t":{"97":{"position":[[213,1]]},"124":{"position":[[2,1],[27,1],[63,1]]}}}],["mai",{"_index":64,"t":{"97":{"position":[[138,4],[668,4]]}}}],["make",{"_index":523,"t":{"130":{"position":[[247,4]]},"132":{"position":[[213,4]]}}}],["malesuada",{"_index":605,"t":{"142":{"position":[[402,9],[1232,9]]}}}],["markdown",{"_index":425,"t":{"111":{"position":[[44,8]]},"113":{"position":[[41,8]]},"126":{"position":[[167,8]]},"130":{"position":[[260,8],[311,8],[321,8]]},"132":{"position":[[290,8]]},"134":{"position":[[51,8]]},"144":{"position":[[55,8],[150,8]]}}}],["massa",{"_index":582,"t":{"142":{"position":[[183,5],[1052,5],[1245,5],[2028,5]]}}}],["matter",{"_index":457,"t":{"122":{"position":[[78,6]]}}}],["mauri",{"_index":607,"t":{"142":{"position":[[415,6],[574,6],[604,6],[1892,6]]}}}],["mdx",{"_index":668,"t":{"144":{"position":[[74,3]]}}}],["mi",{"_index":609,"t":{"142":{"position":[[443,2]]}}}],["mil",{"_index":104,"t":{"97":{"position":[[442,3],[484,3],[735,3]]}}}],["minus",{"_index":459,"t":{"122":{"position":[[181,7]]}}}],["mock",{"_index":325,"t":{"105":{"position":[[421,6]]}}}],["molesti",{"_index":572,"t":{"142":{"position":[[102,8]]}}}],["molli",{"_index":581,"t":{"142":{"position":[[176,6]]}}}],["morbi",{"_index":636,"t":{"142":{"position":[[960,5]]}}}],["mortalidad",{"_index":126,"t":{"97":{"position":[[687,11]]}}}],["mundo",{"_index":131,"t":{"97":{"position":[[751,5]]}}}],["mycompon",{"_index":283,"t":{"103":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"105":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["nam",{"_index":583,"t":{"142":{"position":[[203,3],[383,3],[1714,3]]}}}],["nascendo",{"_index":100,"t":{"97":{"position":[[418,8]]}}}],["neat",{"_index":513,"t":{"130":{"position":[[122,4]]}}}],["nec",{"_index":638,"t":{"142":{"position":[[979,3],[1362,3],[1516,3]]}}}],["need",{"_index":522,"t":{"130":{"position":[[239,4]]}}}],["nequ",{"_index":602,"t":{"142":{"position":[[376,5],[983,5],[1725,5]]}}}],["new",{"_index":290,"t":{"103":{"position":[[347,3]]}}}],["newlin",{"_index":558,"t":{"136":{"position":[[85,8],[218,7]]}}}],["next",{"_index":319,"t":{"105":{"position":[[238,4],[382,4],[603,4]]}}}],["nibh",{"_index":584,"t":{"142":{"position":[[210,4],[954,4],[1158,4],[1491,4],[1684,4],[1887,4]]}}}],["nice",{"_index":531,"t":{"130":{"position":[[356,6]]}}}],["nisl",{"_index":633,"t":{"142":{"position":[[863,4],[1340,4],[1665,4],[1875,4],[1944,4]]}}}],["no",{"_index":98,"t":{"97":{"position":[[405,3],[617,3]]}}}],["non",{"_index":580,"t":{"142":{"position":[[172,3],[241,3],[943,3],[1177,3],[1336,3],[1740,3]]}}}],["note",{"_index":135,"t":{"99":{"position":[[0,4]]},"138":{"position":[[0,4],[15,4]]}}}],["nulla",{"_index":655,"t":{"142":{"position":[[1586,5]]}}}],["nullam",{"_index":571,"t":{"142":{"position":[[95,6],[900,6],[1774,6],[1800,6],[1973,6]]}}}],["number",{"_index":188,"t":{"101":{"position":[[107,6],[118,6],[127,6]]},"122":{"position":[[64,7],[103,6]]},"124":{"position":[[100,7]]}}}],["o",{"_index":45,"t":{"97":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":568,"t":{"142":{"position":[[71,4],[489,4],[1221,4],[1400,4],[1810,4]]}}}],["oh",{"_index":545,"t":{"132":{"position":[[184,2],[274,2]]}}}],["on",{"_index":556,"t":{"136":{"position":[[68,3]]}}}],["onchang",{"_index":299,"t":{"103":{"position":[[479,8],[658,8]]}}}],["option",{"_index":521,"t":{"130":{"position":[[215,8]]}}}],["order",{"_index":451,"t":{"122":{"position":[[6,7],[110,7]]}}}],["ornar",{"_index":578,"t":{"142":{"position":[[157,6],[1371,6]]}}}],["os",{"_index":55,"t":{"97":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["outer",{"_index":519,"t":{"130":{"position":[[195,5]]}}}],["pa",{"_index":124,"t":{"97":{"position":[[657,2]]}}}],["page",{"_index":429,"t":{"113":{"position":[[23,4]]},"140":{"position":[[66,4]]}}}],["para",{"_index":114,"t":{"97":{"position":[[566,4]]}}}],["paragraph",{"_index":559,"t":{"136":{"position":[[120,9],[160,9],[263,9]]}}}],["part",{"_index":538,"t":{"132":{"position":[[72,4]]}}}],["path",{"_index":486,"t":{"126":{"position":[[126,4],[140,4]]}}}],["pathnam",{"_index":322,"t":{"105":{"position":[[365,8]]}}}],["pellentesqu",{"_index":8,"t":{"91":{"position":[[57,12]]},"142":{"position":[[1002,12],[1164,12]]}}}],["peopl",{"_index":552,"t":{"134":{"position":[[29,6]]}}}],["pharetra",{"_index":648,"t":{"142":{"position":[[1257,8]]}}}],["phasellu",{"_index":610,"t":{"142":{"position":[[447,9],[476,9],[1429,9]]}}}],["pipe",{"_index":520,"t":{"130":{"position":[[201,5]]}}}],["placerat",{"_index":651,"t":{"142":{"position":[[1378,8],[1607,8]]}}}],["plugin",{"_index":31,"t":{"95":{"position":[[38,6]]}}}],["pluse",{"_index":460,"t":{"122":{"position":[[192,6]]}}}],["popula",{"_index":44,"t":{"97":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":95,"t":{"97":{"position":[[383,12]]}}}],["por",{"_index":48,"t":{"97":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porta",{"_index":635,"t":{"142":{"position":[[948,5]]}}}],["porttitor",{"_index":615,"t":{"142":{"position":[[504,9],[853,9]]}}}],["portug",{"_index":122,"t":{"97":{"position":[[639,8]]}}}],["portuguesa",{"_index":46,"t":{"97":{"position":[[12,10]]}}}],["post",{"_index":25,"t":{"93":{"position":[[83,4]]}}}],["posuer",{"_index":626,"t":{"142":{"position":[[742,7],[1021,7],[1392,7],[1529,7]]}}}],["power",{"_index":30,"t":{"95":{"position":[[18,7]]}}}],["praesent",{"_index":596,"t":{"142":{"position":[[316,8]]}}}],["pretti",{"_index":528,"t":{"130":{"position":[[335,6]]}}}],["prettili",{"_index":526,"t":{"130":{"position":[[277,8]]}}}],["print",{"_index":493,"t":{"128":{"position":[[85,5]]}}}],["proin",{"_index":576,"t":{"142":{"position":[[143,5]]}}}],["prop",{"_index":347,"t":{"105":{"position":[[1033,4]]}}}],["properli",{"_index":543,"t":{"132":{"position":[[160,8]]}}}],["provid",{"_index":485,"t":{"126":{"position":[[116,9]]}}}],["pulvinar",{"_index":614,"t":{"142":{"position":[[494,8]]}}}],["puru",{"_index":652,"t":{"142":{"position":[[1447,5],[1966,5]]}}}],["push",{"_index":318,"t":{"105":{"position":[[231,4],[553,4]]}}}],["put",{"_index":551,"t":{"132":{"position":[[286,3]]}}}],["python",{"_index":492,"t":{"128":{"position":[[57,6]]}}}],["quam",{"_index":620,"t":{"142":{"position":[[593,4],[938,4]]}}}],["que",{"_index":108,"t":{"97":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":593,"t":{"142":{"position":[[284,4],[346,4],[1251,4],[1323,4]]}}}],["quilom",{"_index":133,"t":{"97":{"position":[[762,6]]}}}],["quot",{"_index":540,"t":{"132":{"position":[[89,5],[96,5],[153,6]]}}}],["raw",{"_index":524,"t":{"130":{"position":[[256,3]]}}}],["react",{"_index":161,"t":{"99":{"position":[[131,5]]},"105":{"position":[[624,5]]},"107":{"position":[[162,5]]},"144":{"position":[[26,5]]}}}],["redux",{"_index":390,"t":{"107":{"position":[[169,5]]}}}],["refer",{"_index":464,"t":{"124":{"position":[[67,9],[112,9],[378,9]]},"126":{"position":[[61,9]]}}}],["rel",{"_index":487,"t":{"126":{"position":[[155,8]]}}}],["render",{"_index":530,"t":{"130":{"position":[[348,7]]}}}],["renovada",{"_index":112,"t":{"97":{"position":[[543,8]]}}}],["repli",{"_index":537,"t":{"132":{"position":[[47,5]]}}}],["resiz",{"_index":286,"t":{"103":{"position":[[233,6],[358,6]]}}}],["return",{"_index":190,"t":{"101":{"position":[[136,6],[192,6]]},"103":{"position":[[464,6]]},"105":{"position":[[740,6]]}}}],["rhoncu",{"_index":13,"t":{"91":{"position":[[107,7]]},"142":{"position":[[1744,7],[1936,7]]}}}],["right",{"_index":507,"t":{"130":{"position":[[62,5]]}}}],["risu",{"_index":573,"t":{"142":{"position":[[123,5],[1767,5]]}}}],["s",{"_index":458,"t":{"122":{"position":[[99,1]]},"126":{"position":[[5,1]]},"128":{"position":[[4,1],[48,1],[52,1],[91,1],[152,1]]},"132":{"position":[[195,1]]},"136":{"position":[[5,1],[233,1]]}}}],["sabem",{"_index":83,"t":{"97":{"position":[[279,5]]}}}],["sagitti",{"_index":629,"t":{"142":{"position":[[788,8],[1419,8],[1547,8]]}}}],["same",{"_index":539,"t":{"132":{"position":[[84,4]]},"136":{"position":[[258,4]]}}}],["sapien",{"_index":656,"t":{"142":{"position":[[1624,6]]}}}],["scelerisqu",{"_index":585,"t":{"142":{"position":[[215,11],[2077,11]]}}}],["scratch",{"_index":449,"t":{"120":{"position":[[193,7]]}}}],["se",{"_index":97,"t":{"97":{"position":[[402,2],[608,2],[660,3]]}}}],["sed",{"_index":625,"t":{"142":{"position":[[738,3],[1078,3],[1388,3],[1543,3],[1950,3]]}}}],["see",{"_index":482,"t":{"126":{"position":[[26,3]]}}}],["sem",{"_index":659,"t":{"142":{"position":[[1818,3]]}}}],["semper",{"_index":597,"t":{"142":{"position":[[325,6],[1329,6]]}}}],["separ",{"_index":515,"t":{"130":{"position":[[162,10]]},"136":{"position":[[49,9],[111,8],[151,8],[196,9],[237,8]]}}}],["ser",{"_index":111,"t":{"97":{"position":[[539,3]]}}}],["serv",{"_index":427,"t":{"113":{"position":[[3,5]]}}}],["setstat",{"_index":337,"t":{"105":{"position":[[716,8]]}}}],["shallow",{"_index":303,"t":{"103":{"position":[[603,7]]},"105":{"position":[[924,7]]}}}],["show",{"_index":476,"t":{"124":{"position":[[364,4]]}}}],["simpl",{"_index":43,"t":{"95":{"position":[[179,6]]}}}],["simpli",{"_index":32,"t":{"95":{"position":[[46,6]]}}}],["singl",{"_index":560,"t":{"136":{"position":[[211,6]]}}}],["sit",{"_index":3,"t":{"91":{"position":[[18,3],[170,3]]},"142":{"position":[[18,3],[649,3],[1836,3],[1910,3],[2034,3]]}}}],["site",{"_index":432,"t":{"113":{"position":[[67,5]]}}}],["situa",{"_index":96,"t":{"97":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":577,"t":{"142":{"position":[[149,7]]}}}],["sollicitudin",{"_index":619,"t":{"142":{"position":[[551,12],[1092,12]]}}}],["someth",{"_index":345,"t":{"105":{"position":[[963,9]]},"134":{"position":[[19,9]]}}}],["sometim",{"_index":475,"t":{"124":{"position":[[295,9]]},"134":{"position":[[40,9]]}}}],["spec",{"_index":191,"t":{"101":{"position":[[160,4]]},"103":{"position":[[289,4],[549,4]]},"105":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["spyon",{"_index":332,"t":{"105":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":331,"t":{"105":{"position":[[513,16],[568,16]]}}}],["start",{"_index":555,"t":{"136":{"position":[[24,5]]}}}],["state",{"_index":341,"t":{"105":{"position":[[776,5],[1204,5]]}}}],["still",{"_index":529,"t":{"130":{"position":[[342,5]]},"132":{"position":[[144,5]]}}}],["strikethrough",{"_index":446,"t":{"120":{"position":[[162,13]]}}}],["string",{"_index":296,"t":{"103":{"position":[[438,6]]}}}],["stripe",{"_index":512,"t":{"130":{"position":[[110,7]]}}}],["strong",{"_index":443,"t":{"120":{"position":[[54,6]]}}}],["style",{"_index":430,"t":{"113":{"position":[[33,7]]},"124":{"position":[[14,5],[39,5],[77,5],[122,5]]},"126":{"position":[[54,5],[71,5]]}}}],["sub",{"_index":455,"t":{"122":{"position":[[47,3],[118,3]]}}}],["support",{"_index":36,"t":{"95":{"position":[[89,8]]}}}],["sure",{"_index":548,"t":{"132":{"position":[[218,4]]}}}],["suscipit",{"_index":645,"t":{"142":{"position":[[1181,8]]}}}],["syntax",{"_index":426,"t":{"111":{"position":[[53,6]]},"128":{"position":[[20,6],[64,6],[123,6]]}}}],["t",{"_index":41,"t":{"95":{"position":[[150,1]]},"122":{"position":[[76,1]]},"130":{"position":[[237,1]]}}}],["tabl",{"_index":504,"t":{"130":{"position":[[37,6]]}}}],["tag",{"_index":37,"t":{"95":{"position":[[98,4]]},"128":{"position":[[168,3]]},"134":{"position":[[102,4]]}}}],["tal",{"_index":68,"t":{"97":{"position":[[160,3]]}}}],["taxa",{"_index":87,"t":{"97":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":594,"t":{"142":{"position":[[289,6],[1718,6],[1959,6],[2095,6]]}}}],["tem",{"_index":69,"t":{"97":{"position":[[177,3]]}}}],["tempor",{"_index":14,"t":{"91":{"position":[[121,6]]},"142":{"position":[[1829,6]]}}}],["tempu",{"_index":641,"t":{"142":{"position":[[1116,6],[1702,6],[1980,6]]}}}],["tendo",{"_index":86,"t":{"97":{"position":[[301,5]]}}}],["termo",{"_index":79,"t":{"97":{"position":[[247,6]]}}}],["test",{"_index":24,"t":{"93":{"position":[[78,4]]},"99":{"position":[[53,5]]},"101":{"position":[[169,4]]},"103":{"position":[[298,4],[559,4]]},"105":{"position":[[298,4],[479,4],[880,4]]}}}],["text",{"_index":468,"t":{"124":{"position":[[180,4],[356,4]]},"126":{"position":[[40,4]]},"132":{"position":[[53,4]]}}}],["thank",{"_index":667,"t":{"144":{"position":[[64,6]]}}}],["throw",{"_index":496,"t":{"128":{"position":[[154,5]]}}}],["tild",{"_index":448,"t":{"120":{"position":[[185,6]]}}}],["tip",{"_index":561,"t":{"138":{"position":[[20,3],[34,3]]}}}],["titl",{"_index":463,"t":{"124":{"position":[[55,5]]},"126":{"position":[[34,5]]}}}],["tobe",{"_index":193,"t":{"101":{"position":[[229,4],[297,4]]},"105":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":333,"t":{"105":{"position":[[586,14]]}}}],["tortor",{"_index":589,"t":{"142":{"position":[[254,6],[1456,6],[1792,6]]}}}],["trica",{"_index":134,"t":{"97":{"position":[[769,6]]}}}],["trigger",{"_index":346,"t":{"105":{"position":[[973,7]]}}}],["tristiqu",{"_index":640,"t":{"142":{"position":[[1067,9],[1266,9],[1300,9],[2003,9]]}}}],["ts",{"_index":186,"t":{"101":{"position":[[87,2],[165,2]]},"103":{"position":[[204,2],[294,2]]},"105":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":292,"t":{"103":{"position":[[404,3],[554,3]]},"105":{"position":[[653,3],[875,3],[1173,3]]}}}],["turn",{"_index":473,"t":{"124":{"position":[[248,6]]}}}],["turpi",{"_index":579,"t":{"142":{"position":[[164,6]]}}}],["two",{"_index":447,"t":{"120":{"position":[[181,3]]},"136":{"position":[[81,3]]}}}],["typescript",{"_index":159,"t":{"99":{"position":[[113,10]]}}}],["ultric",{"_index":653,"t":{"142":{"position":[[1463,8],[1693,8]]}}}],["ultrici",{"_index":11,"t":{"91":{"position":[[90,9]]},"142":{"position":[[189,9]]}}}],["um",{"_index":123,"t":{"97":{"position":[[650,2]]}}}],["underscor",{"_index":442,"t":{"120":{"position":[[41,11],[99,11],[149,11]]}}}],["unit",{"_index":142,"t":{"99":{"position":[[48,4]]}}}],["unord",{"_index":454,"t":{"122":{"position":[[37,9],[145,9]]}}}],["up",{"_index":525,"t":{"130":{"position":[[274,2]]}}}],["url",{"_index":320,"t":{"105":{"position":[[243,3],[387,3],[608,3]]},"124":{"position":[[193,4],[202,4]]}}}],["urna",{"_index":616,"t":{"142":{"position":[[514,4],[755,4],[808,4]]}}}],["us",{"_index":422,"t":{"111":{"position":[[22,5]]},"120":{"position":[[176,4]]},"122":{"position":[[164,3]]},"124":{"position":[[96,3],[167,3]]},"126":{"position":[[108,4]]},"130":{"position":[[14,4],[300,3]]},"134":{"position":[[36,3],[93,3]]},"144":{"position":[[22,3]]}}}],["ut",{"_index":611,"t":{"142":{"position":[[457,2],[1481,2],[2000,2]]}}}],["valid",{"_index":335,"t":{"105":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":295,"t":{"103":{"position":[[431,5],[676,5]]}}}],["var",{"_index":488,"t":{"128":{"position":[[0,3]]}}}],["variu",{"_index":660,"t":{"142":{"position":[[1822,6]]}}}],["vel",{"_index":627,"t":{"142":{"position":[[760,3],[1204,3],[1845,3]]}}}],["velit",{"_index":599,"t":{"142":{"position":[[340,5],[1015,5],[1142,5]]}}}],["veri",{"_index":533,"t":{"132":{"position":[[16,4],[119,4]]},"134":{"position":[[82,4]]}}}],["vida",{"_index":75,"t":{"97":{"position":[[222,4]]}}}],["vindo",{"_index":70,"t":{"97":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":621,"t":{"142":{"position":[[598,5],[893,5],[907,5],[1922,5],[2089,5]]}}}],["vivamu",{"_index":590,"t":{"142":{"position":[[262,7],[773,7],[1346,7],[1652,7]]}}}],["void",{"_index":297,"t":{"103":{"position":[[447,4]]},"105":{"position":[[216,4],[701,4]]}}}],["volutpat",{"_index":591,"t":{"142":{"position":[[270,8],[884,8]]}}}],["vulput",{"_index":632,"t":{"142":{"position":[[843,9],[1900,9]]}}}],["wangshenwei",{"_index":139,"t":{"99":{"position":[[19,11]]}}}],["want",{"_index":42,"t":{"95":{"position":[[152,4]]}}}],["warn",{"_index":564,"t":{"138":{"position":[[92,7],[110,7]]}}}],["welcom",{"_index":18,"t":{"93":{"position":[[0,7]]}}}],["well",{"_index":38,"t":{"95":{"position":[[106,4]]},"134":{"position":[[87,4]]}}}],["whole",{"_index":26,"t":{"93":{"position":[[91,5]]},"95":{"position":[[123,5]]}}}],["window",{"_index":284,"t":{"103":{"position":[[208,6],[326,6]]}}}],["within",{"_index":666,"t":{"144":{"position":[[43,6]]}}}],["work",{"_index":554,"t":{"134":{"position":[[77,4]]}}}],["wrap",{"_index":544,"t":{"132":{"position":[[177,5],[255,4]]}}}],["wrapper",{"_index":302,"t":{"103":{"position":[[593,7],[629,7]]},"105":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":140,"t":{"99":{"position":[[35,7]]},"111":{"position":[[8,5]]},"132":{"position":[[202,7]]},"144":{"position":[[8,5],[144,5]]}}}],["www",{"_index":474,"t":{"124":{"position":[[274,3]]}}}],["zebra",{"_index":511,"t":{"130":{"position":[[104,5]]}}}],["一个",{"_index":178,"t":{"101":{"position":[[32,2],[69,2]]},"103":{"position":[[179,2],[382,2]]},"105":{"position":[[163,2],[621,2],[1139,2]]},"107":{"position":[[196,2]]}}}],["万物",{"_index":143,"t":{"99":{"position":[[63,2]]}}}],["三条",{"_index":413,"t":{"109":{"position":[[15,2]]}}}],["上述",{"_index":205,"t":{"101":{"position":[[332,2]]}}}],["下来",{"_index":412,"t":{"109":{"position":[[11,2]]}}}],["不再",{"_index":224,"t":{"101":{"position":[[434,2]]}}}],["不同",{"_index":248,"t":{"101":{"position":[[575,2],[585,2]]},"109":{"position":[[34,2]]}}}],["不断",{"_index":365,"t":{"107":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":354,"t":{"105":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":200,"t":{"101":{"position":[[317,2]]},"107":{"position":[[35,2]]}}}],["中",{"_index":312,"t":{"105":{"position":[[63,1]]}}}],["主动",{"_index":287,"t":{"103":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":392,"t":{"107":{"position":[[176,2]]}}}],["主要",{"_index":157,"t":{"99":{"position":[[108,2]]}}}],["之后",{"_index":235,"t":{"101":{"position":[[505,2]]}}}],["事件",{"_index":215,"t":{"101":{"position":[[368,2]]},"103":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":404,"t":{"107":{"position":[[226,2]]}}}],["以上",{"_index":416,"t":{"109":{"position":[[64,2]]}}}],["以下",{"_index":155,"t":{"99":{"position":[[105,2]]},"103":{"position":[[35,2]]},"105":{"position":[[31,2]]}}}],["任务",{"_index":278,"t":{"103":{"position":[[145,2]]}}}],["例子",{"_index":185,"t":{"101":{"position":[[75,2],[334,2]]},"103":{"position":[[184,2],[384,2]]},"105":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":265,"t":{"103":{"position":[[79,2]]},"105":{"position":[[75,2]]}}}],["依然",{"_index":282,"t":{"103":{"position":[[176,2]]}}}],["依赖",{"_index":260,"t":{"103":{"position":[[50,2],[510,2],[524,2]]},"105":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":410,"t":{"107":{"position":[[250,2]]}}}],["值",{"_index":314,"t":{"105":{"position":[[121,1]]}}}],["做",{"_index":244,"t":{"101":{"position":[[554,1]]},"103":{"position":[[159,1]]},"105":{"position":[[139,1]]}}}],["充分",{"_index":184,"t":{"101":{"position":[[61,2]]}}}],["关于",{"_index":165,"t":{"99":{"position":[[150,2]]}}}],["关键",{"_index":379,"t":{"107":{"position":[[106,2]]}}}],["其中",{"_index":399,"t":{"107":{"position":[[194,2]]}}}],["其它",{"_index":268,"t":{"103":{"position":[[90,2]]},"105":{"position":[[86,2]]}}}],["其实",{"_index":172,"t":{"101":{"position":[[11,2]]}}}],["内容",{"_index":417,"t":{"109":{"position":[[66,2]]}}}],["内部",{"_index":355,"t":{"105":{"position":[[1117,2],[1124,2]]},"107":{"position":[[46,2]]}}}],["几种",{"_index":258,"t":{"103":{"position":[[37,2]]},"105":{"position":[[33,2]]}}}],["函数",{"_index":211,"t":{"101":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":250,"t":{"101":{"position":[[599,2]]}}}],["判断",{"_index":344,"t":{"105":{"position":[[843,2]]}}}],["前端",{"_index":381,"t":{"107":{"position":[[113,2]]}}}],["前面",{"_index":241,"t":{"101":{"position":[[526,2]]}}}],["副作用",{"_index":221,"t":{"101":{"position":[[409,3]]},"103":{"position":[[113,3]]},"105":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":280,"t":{"103":{"position":[[164,2]]},"105":{"position":[[144,2]]}}}],["化",{"_index":382,"t":{"107":{"position":[[117,1]]}}}],["化繁为简",{"_index":238,"t":{"101":{"position":[[513,4]]}}}],["单一化",{"_index":403,"t":{"107":{"position":[[222,3]]}}}],["单元",{"_index":203,"t":{"101":{"position":[[328,2]]},"107":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":148,"t":{"99":{"position":[[82,4],[100,4],[152,4]]},"101":{"position":[[2,4],[36,4],[246,4],[547,4]]},"107":{"position":[[22,4],[76,4],[232,4]]},"109":{"position":[[5,4]]}}}],["单向",{"_index":396,"t":{"107":{"position":[[186,2]]}}}],["即可",{"_index":276,"t":{"103":{"position":[[136,2]]},"105":{"position":[[122,2]]}}}],["厘清",{"_index":246,"t":{"101":{"position":[[558,2]]}}}],["原因",{"_index":400,"t":{"107":{"position":[[198,2]]}}}],["参数",{"_index":212,"t":{"101":{"position":[[358,2]]},"103":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":261,"t":{"103":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":310,"t":{"105":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":387,"t":{"107":{"position":[[150,2]]}}}],["变量",{"_index":259,"t":{"103":{"position":[[43,2],[121,2]]},"105":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":350,"t":{"105":{"position":[[1098,2]]}}}],["可以",{"_index":237,"t":{"101":{"position":[[511,2]]},"103":{"position":[[10,2],[93,2],[103,2]]},"105":{"position":[[10,2],[89,2],[259,2],[432,2]]},"107":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":213,"t":{"101":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":402,"t":{"107":{"position":[[208,2]]}}}],["合理",{"_index":385,"t":{"107":{"position":[[127,2]]}}}],["同时",{"_index":406,"t":{"107":{"position":[[240,2]]}}}],["回归",{"_index":240,"t":{"101":{"position":[[523,2]]}}}],["因为",{"_index":357,"t":{"105":{"position":[[1122,2]]}}}],["因此",{"_index":216,"t":{"101":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":229,"t":{"101":{"position":[[467,2]]}}}],["地",{"_index":308,"t":{"105":{"position":[[15,1],[116,1]]},"107":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":182,"t":{"101":{"position":[[56,2],[319,2],[379,2]]},"103":{"position":[[24,2]]}}}],["基于",{"_index":158,"t":{"99":{"position":[[110,2]]}}}],["基本",{"_index":170,"t":{"101":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":166,"t":{"99":{"position":[[157,4]]}}}],["增大",{"_index":266,"t":{"103":{"position":[[81,2]]},"105":{"position":[[77,2]]}}}],["增长",{"_index":366,"t":{"107":{"position":[[41,2]]}}}],["复杂",{"_index":206,"t":{"101":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":368,"t":{"107":{"position":[[52,3]]}}}],["复杂度",{"_index":264,"t":{"103":{"position":[[76,3]]},"105":{"position":[[72,3]]}}}],["外界",{"_index":271,"t":{"103":{"position":[[110,2]]},"105":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":214,"t":{"101":{"position":[[365,2],[465,2]]},"103":{"position":[[48,2],[97,2],[151,2]]},"105":{"position":[[52,2]]}}}],["多",{"_index":207,"t":{"101":{"position":[[339,1]]},"103":{"position":[[22,1]]}}}],["多样化",{"_index":370,"t":{"107":{"position":[[67,3]]}}}],["大家",{"_index":418,"t":{"109":{"position":[[69,2]]}}}],["大致",{"_index":257,"t":{"103":{"position":[[32,2]]},"105":{"position":[[28,2]]}}}],["大道至简",{"_index":145,"t":{"99":{"position":[[68,4]]}}}],["如下",{"_index":196,"t":{"101":{"position":[[253,2]]}}}],["如今",{"_index":380,"t":{"107":{"position":[[110,2]]}}}],["如何",{"_index":152,"t":{"99":{"position":[[93,2]]},"103":{"position":[[258,2],[506,2]]},"105":{"position":[[252,2],[838,2]]}}}],["始",{"_index":144,"t":{"99":{"position":[[66,1]]}}}],["始终",{"_index":348,"t":{"105":{"position":[[1073,2]]}}}],["它们",{"_index":251,"t":{"101":{"position":[[603,2]]},"103":{"position":[[73,2]]},"105":{"position":[[65,2]]},"107":{"position":[[202,2]]}}}],["完成",{"_index":277,"t":{"103":{"position":[[138,2]]}}}],["实际",{"_index":362,"t":{"107":{"position":[[30,2]]}}}],["容易",{"_index":307,"t":{"105":{"position":[[13,2]]},"107":{"position":[[15,2]]}}}],["对",{"_index":313,"t":{"105":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"109":{"position":[[68,1]]}}}],["对于",{"_index":272,"t":{"103":{"position":[[117,2],[149,2]]},"105":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":353,"t":{"105":{"position":[[1108,2]]}}}],["对外部",{"_index":220,"t":{"101":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":227,"t":{"101":{"position":[[460,2],[481,2],[562,2]]},"105":{"position":[[1082,2],[1133,2]]},"109":{"position":[[23,2]]}}}],["将",{"_index":156,"t":{"99":{"position":[[107,1]]},"101":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":254,"t":{"103":{"position":[[14,1]]},"107":{"position":[[153,1]]}}}],["尝试",{"_index":146,"t":{"99":{"position":[[76,2]]}}}],["尤为重要",{"_index":384,"t":{"107":{"position":[[122,4]]}}}],["就",{"_index":236,"t":{"101":{"position":[[510,1]]}}}],["就是",{"_index":245,"t":{"101":{"position":[[556,2]]},"103":{"position":[[161,2]]},"105":{"position":[[141,2]]},"107":{"position":[[200,2]]},"109":{"position":[[13,2]]}}}],["工具",{"_index":394,"t":{"107":{"position":[[181,2]]}}}],["巧妙",{"_index":401,"t":{"107":{"position":[[204,2]]}}}],["希望",{"_index":415,"t":{"109":{"position":[[62,2]]}}}],["帮助",{"_index":420,"t":{"109":{"position":[[73,2]]}}}],["应该",{"_index":352,"t":{"105":{"position":[[1105,2]]}}}],["当然",{"_index":198,"t":{"101":{"position":[[312,2]]}}}],["形式",{"_index":249,"t":{"101":{"position":[[577,2],[587,2]]},"107":{"position":[[61,2]]}}}],["形态",{"_index":309,"t":{"105":{"position":[[26,2]]},"107":{"position":[[63,2]]},"109":{"position":[[36,2]]}}}],["影响",{"_index":226,"t":{"101":{"position":[[456,2],[492,2]]},"105":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"107":{"position":[[220,2]]}}}],["往往",{"_index":361,"t":{"107":{"position":[[28,2]]}}}],["思想",{"_index":149,"t":{"99":{"position":[[86,2]]}}}],["总结",{"_index":411,"t":{"109":{"position":[[9,2]]}}}],["情况",{"_index":363,"t":{"107":{"position":[[32,2]]}}}],["想",{"_index":279,"t":{"103":{"position":[[163,1]]},"105":{"position":[[143,1]]}}}],["我们",{"_index":194,"t":{"101":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"103":{"position":[[8,2],[126,2],[156,2],[174,2]]},"105":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"107":{"position":[[10,2]]}}}],["或者",{"_index":324,"t":{"105":{"position":[[414,2]]}}}],["所以",{"_index":242,"t":{"101":{"position":[[540,2]]}}}],["所有",{"_index":218,"t":{"101":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":376,"t":{"107":{"position":[[96,2],[129,2]]},"109":{"position":[[59,2]]}}}],["掌握",{"_index":247,"t":{"101":{"position":[[571,2]]},"109":{"position":[[32,2]]}}}],["探讨",{"_index":151,"t":{"99":{"position":[[91,2]]}}}],["推崇",{"_index":395,"t":{"107":{"position":[[183,2]]}}}],["提到",{"_index":223,"t":{"101":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":407,"t":{"107":{"position":[[242,2]]}}}],["操作",{"_index":263,"t":{"103":{"position":[[62,2]]}}}],["数据流",{"_index":397,"t":{"107":{"position":[[188,3]]}}}],["断言",{"_index":176,"t":{"101":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"105":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"109":{"position":[[47,2]]}}}],["方法",{"_index":171,"t":{"101":{"position":[[9,2],[535,2],[593,2]]},"109":{"position":[[50,2]]}}}],["时",{"_index":409,"t":{"107":{"position":[[248,1]]}}}],["时间",{"_index":255,"t":{"103":{"position":[[16,2]]}}}],["是不是",{"_index":197,"t":{"101":{"position":[[305,3]]}}}],["是否",{"_index":329,"t":{"105":{"position":[[444,2]]}}}],["普通",{"_index":210,"t":{"101":{"position":[[351,2],[391,2]]},"103":{"position":[[41,2],[119,2]]},"105":{"position":[[37,2],[103,2]]}}}],["更",{"_index":253,"t":{"103":{"position":[[13,1],[21,1]]},"105":{"position":[[12,1]]},"107":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":208,"t":{"101":{"position":[[344,2],[384,2]]},"107":{"position":[[65,2]]}}}],["有所",{"_index":419,"t":{"109":{"position":[[71,2]]}}}],["有时",{"_index":323,"t":{"105":{"position":[[398,2]]}}}],["本文",{"_index":136,"t":{"99":{"position":[[5,2],[74,2],[167,2]]}}}],["来源",{"_index":256,"t":{"103":{"position":[[30,2]]},"107":{"position":[[215,2]]}}}],["来自",{"_index":270,"t":{"103":{"position":[[108,2]]}}}],["构造",{"_index":274,"t":{"103":{"position":[[130,2]]}}}],["框架",{"_index":393,"t":{"107":{"position":[[178,2]]}}}],["模式",{"_index":383,"t":{"107":{"position":[[119,2]]}}}],["正确",{"_index":330,"t":{"105":{"position":[[447,2]]}}}],["步骤",{"_index":195,"t":{"101":{"position":[[251,2]]}}}],["每个",{"_index":386,"t":{"107":{"position":[[138,2]]}}}],["测试",{"_index":202,"t":{"101":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"103":{"position":[[69,2]]},"105":{"position":[[61,2],[1080,2],[1131,2]]},"107":{"position":[[140,2]]},"109":{"position":[[21,2]]}}}],["点",{"_index":328,"t":{"105":{"position":[[443,1]]}}}],["特定",{"_index":301,"t":{"103":{"position":[[515,2]]}}}],["状态",{"_index":356,"t":{"105":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":225,"t":{"101":{"position":[[437,2]]}}}],["理解",{"_index":234,"t":{"101":{"position":[[503,2]]},"103":{"position":[[105,2]]}}}],["监视",{"_index":327,"t":{"105":{"position":[[434,2]]}}}],["盛行",{"_index":398,"t":{"107":{"position":[[191,2]]}}}],["目标",{"_index":351,"t":{"105":{"position":[[1103,2]]}}}],["看作",{"_index":269,"t":{"103":{"position":[[95,2]]},"105":{"position":[[91,2]]}}}],["真实",{"_index":199,"t":{"101":{"position":[[315,2]]}}}],["着手",{"_index":150,"t":{"99":{"position":[[88,2]]}}}],["示例",{"_index":164,"t":{"99":{"position":[[147,2]]}}}],["称之为",{"_index":231,"t":{"101":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":267,"t":{"103":{"position":[[86,3]]},"105":{"position":[[82,3]]}}}],["等",{"_index":391,"t":{"107":{"position":[[175,1]]}}}],["简单",{"_index":147,"t":{"99":{"position":[[79,2]]},"101":{"position":[[14,2],[45,2],[72,2],[309,2]]},"103":{"position":[[2,2],[181,2]]},"105":{"position":[[2,2],[114,2],[165,2]]},"107":{"position":[[1,2]]}}}],["组件",{"_index":300,"t":{"103":{"position":[[512,2],[526,2]]},"105":{"position":[[630,2],[847,2]]},"107":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":219,"t":{"101":{"position":[[398,2],[421,2]]},"105":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":163,"t":{"99":{"position":[[145,2]]}}}],["给定",{"_index":173,"t":{"101":{"position":[[18,2],[257,2]]},"103":{"position":[[140,2]]}}}],["继续",{"_index":315,"t":{"105":{"position":[[160,2]]}}}],["编写",{"_index":153,"t":{"99":{"position":[[95,2]]},"101":{"position":[[0,2],[244,2],[542,2]]},"103":{"position":[[67,2]]},"107":{"position":[[18,2],[74,2],[230,2]]},"109":{"position":[[0,2]]}}}],["聚焦",{"_index":388,"t":{"107":{"position":[[156,2]]}}}],["良好",{"_index":154,"t":{"99":{"position":[[97,2]]},"101":{"position":[[544,2]]},"109":{"position":[[2,2]]}}}],["花",{"_index":252,"t":{"103":{"position":[[12,1]]}}}],["范围",{"_index":169,"t":{"99":{"position":[[171,2]]}}}],["行为",{"_index":228,"t":{"101":{"position":[[462,2]]}}}],["要",{"_index":201,"t":{"101":{"position":[[324,1],[553,1]]},"103":{"position":[[158,1]]},"105":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":179,"t":{"101":{"position":[[41,2]]}}}],["覆盖",{"_index":180,"t":{"101":{"position":[[49,2],[375,2],[573,2]]},"103":{"position":[[19,2],[71,2],[260,2],[508,2]]},"109":{"position":[[42,2]]}}}],["解决",{"_index":377,"t":{"107":{"position":[[99,2]]}}}],["触发",{"_index":281,"t":{"103":{"position":[[166,2],[522,2]]},"105":{"position":[[441,2]]}}}],["讨论",{"_index":168,"t":{"99":{"position":[[169,2]]},"101":{"position":[[601,2]]}}}],["记得",{"_index":349,"t":{"105":{"position":[[1075,2]]}}}],["识别",{"_index":414,"t":{"109":{"position":[[19,2]]}}}],["诸如",{"_index":389,"t":{"107":{"position":[[159,2]]}}}],["调用",{"_index":311,"t":{"105":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":181,"t":{"101":{"position":[[51,2]]},"103":{"position":[[0,2]]},"105":{"position":[[0,2]]}}}],["转载自",{"_index":137,"t":{"99":{"position":[[7,3]]}}}],["输入",{"_index":174,"t":{"101":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"103":{"position":[[5,2],[27,2],[142,2]]},"107":{"position":[[4,2],[213,2]]},"109":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":369,"t":{"107":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":177,"t":{"101":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"105":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"107":{"position":[[7,2],[218,2]]},"109":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":239,"t":{"101":{"position":[[521,2]]}}}],["运行",{"_index":175,"t":{"101":{"position":[[23,2],[267,2],[419,2],[483,2]]},"105":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":288,"t":{"103":{"position":[[267,2]]},"107":{"position":[[101,2]]}}}],["这些",{"_index":275,"t":{"103":{"position":[[132,2],[168,2]]},"105":{"position":[[148,2]]}}}],["这样",{"_index":233,"t":{"101":{"position":[[501,2]]}}}],["这里",{"_index":222,"t":{"101":{"position":[[424,2]]}}}],["进行",{"_index":183,"t":{"101":{"position":[[59,2]]},"105":{"position":[[67,2]]}}}],["远",{"_index":204,"t":{"101":{"position":[[330,1]]}}}],["适时地",{"_index":374,"t":{"107":{"position":[[90,3]]},"109":{"position":[[53,3]]}}}],["造成",{"_index":232,"t":{"101":{"position":[[489,2]]}}}],["逻辑",{"_index":367,"t":{"107":{"position":[[48,2]]}}}],["那么",{"_index":326,"t":{"105":{"position":[[428,2]]}}}],["都",{"_index":230,"t":{"101":{"position":[[469,1],[494,1]]},"103":{"position":[[92,1]]},"105":{"position":[[88,1]]},"107":{"position":[[149,1]]}}}],["重构",{"_index":375,"t":{"107":{"position":[[93,2]]},"109":{"position":[[56,2]]}}}],["重要性",{"_index":167,"t":{"99":{"position":[[162,3]]}}}],["错误",{"_index":358,"t":{"105":{"position":[[1141,2]]}}}],["问题",{"_index":378,"t":{"107":{"position":[[103,2]]}}}],["降低",{"_index":405,"t":{"107":{"position":[[228,2]]}}}],["陡增",{"_index":373,"t":{"107":{"position":[[86,2]]}}}],["除了",{"_index":209,"t":{"101":{"position":[[349,2],[389,2]]},"103":{"position":[[84,2]]},"105":{"position":[[80,2]]}}}],["随之",{"_index":372,"t":{"107":{"position":[[84,2]]}}}],["难以",{"_index":217,"t":{"101":{"position":[[373,2],[415,2]]},"105":{"position":[[409,2]]}}}],["难度",{"_index":371,"t":{"107":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":408,"t":{"107":{"position":[[246,2]]}}}],["需",{"_index":273,"t":{"103":{"position":[[129,1]]},"105":{"position":[[113,1]]}}}],["需求",{"_index":364,"t":{"107":{"position":[[37,2]]}}}],["首先",{"_index":243,"t":{"101":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/search/index.html b/search/index.html new file mode 100644 index 00000000..1472f780 --- /dev/null +++ b/search/index.html @@ -0,0 +1,14 @@ + + + + + +Search the documentation + + + + + + + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 00000000..b9e42aef --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://easyops-cn.github.io/docusaurus-search-local/blogweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/archiveweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/hello-worldweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/tags/docusaurusweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/tags/facebookweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/tags/helloweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/tags/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/welcomeweekly0.5https://easyops-cn.github.io/docusaurus-search-local/blog/writing-good-unit-testsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/searchweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tags/front-matterweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tags/keywordsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tags/testweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/category/tutorial---basicsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/category/tutorial---extrasweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/introweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/congratulationsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/create-a-blog-postweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/create-a-documentweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/create-a-pageweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/deploy-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-basics/markdown-featuresweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-extras/manage-docs-versionsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/next/tutorial-extras/translate-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/weekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/doc-in-ptweekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/doc2weekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/doc3weekly0.5https://easyops-cn.github.io/docusaurus-search-local/docs/mdxweekly0.5https://easyops-cn.github.io/docusaurus-search-local/weekly0.5 \ No newline at end of file diff --git a/zh-CN/.nojekyll b/zh-CN/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/zh-CN/404.html b/zh-CN/404.html new file mode 100644 index 00000000..61e9a9d5 --- /dev/null +++ b/zh-CN/404.html @@ -0,0 +1,14 @@ + + + + + +找不到页面 | Docusaurus Search + + + + + +

找不到页面

我们找不到您要找的页面。

请联系原始链接来源网站的所有者,并告知他们链接已损坏。

+ + \ No newline at end of file diff --git a/zh-CN/assets/css/styles.13dc8b47.css b/zh-CN/assets/css/styles.13dc8b47.css new file mode 100644 index 00000000..c1feaf8f --- /dev/null +++ b/zh-CN/assets/css/styles.13dc8b47.css @@ -0,0 +1 @@ +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_HA4k,html{-webkit-tap-highlight-color:transparent}*,.loadingRing_MTs2 div{box-sizing:border-box}.clean-list,.containsTaskList_FA68,.details_KJn4>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#46cbae;--ifm-color-primary-lighter:#66d4bd;--ifm-color-primary-lightest:#92e0d0;--ifm-code-font-size:95%;--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_ckrM article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_kCh2,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:transparent;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_Eejg .wordWrapButtonIcon_IIsw{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_dLsS,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after,.searchBarContainer_nwld.searchIndexLoading_TSh5 .searchBarLoadingRing_RHN6{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.content_jqJ1 a,.hitFooter_MyWu a,.suggestion_m3ms.cursor_qOAr mark{text-decoration:underline}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_D4w5:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;pointer-events:none;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.sidebar_Tfnr,.tableOfContents_odbd{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_s2DS article>:first-child,.docItemContainer_s2DS header+*,.footer__item{margin-top:0}.admonitionContent_Izui>:last-child,.cardContainer_R7by :last-child,.collapsibleContent_pIWv p:last-child,.details_KJn4>summary>p:last-child,.footer__items,.searchResultItem_gF5N>h2{margin-bottom:0}.codeBlockStandalone_Zx9w,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.title_LFnH{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_KJn4[data-collapsed=false].isBrowser_Unbb>summary:before,.details_KJn4[open]:not(.isBrowser_Unbb)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_hYVY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.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)}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover,.sidebarItemLink_zGe6:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_FA68>li)>.containsTaskList_FA68{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}.docusaurus-highlight-code-line{background-color:#484d5b;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_l1sK,.hideAction_DX6M>svg,.navbarSearchContainer_bYhf:not(:has(>*)),.sidebarLogo_y82R,.themedComponent_lAfP,[data-theme=dark] .lightToggleIcon_tTRg,[data-theme=light] .darkToggleIcon_i3Jm,html[data-announcement-bar-initially-dismissed=true] .announcementBar_lHnW{display:none}.skipToContent__7wj{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__7wj:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_zp99{line-height:0;padding:0}.content_jqJ1{font-size:85%;padding:5px 0;text-align:center}.content_jqJ1 a{color:inherit}.announcementBar_lHnW{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_wKiJ{flex:0 0 10px}.announcementBarClose_NRWR{align-self:stretch;flex:0 0 30px}.toggle_QpWG{height:2rem;width:2rem}.toggleButton_HA4k{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_HA4k:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_Am9_{cursor:not-allowed}.darkNavbarColorModeToggle_MELe:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_kBbf,[data-theme=light] .themedComponent--light_XB4J,html:not([data-theme]) .themedComponent--light_XB4J{display:initial}.iconExternalLink_Olb8{margin-left:.3rem}.iconLanguage_RUbi{margin-right:5px;vertical-align:text-bottom}.searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,#f5f6f7);border-radius:6px;box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64);left:auto!important;margin-top:8px;padding:var(--search-local-spacing,12px);position:relative;right:0!important;width:var(--search-local-modal-width,560px)}html[data-theme=dark] .searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,var(--ifm-background-color));box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309)}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms{align-items:center;background:var(--search-local-hit-background,#fff);border-radius:4px;box-shadow:var(--search-local-hit-shadow,0 1px 3px 0 #d4d9e1);color:var(--search-local-hit-color,#444950);cursor:pointer;display:flex;flex-direction:row;height:var(--search-local-hit-height,56px);padding:0 var(--search-local-spacing,12px);width:100%}.buttons_pzbO,.features_keug,.hitTree_TD98,.noResults_iR5T{align-items:center;display:flex}html[data-theme=dark] .dropdownMenu_KI5l .suggestion_m3ms{background:var(--search-local-hit-background,var(--ifm-color-emphasis-100));box-shadow:var(--search-local-hit-shadow,none);color:var(--search-local-hit-color,var(--ifm-font-color-base))}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms:not(:last-child){margin-bottom:4px}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms.cursor_qOAr{background-color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitFooter_MyWu a,.hitIcon_fMx6,.hitPath_nPSC,.hitTree_TD98,.noResultsIcon_UhOM{color:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .hitIcon_fMx6,html[data-theme=dark] .hitPath_nPSC,html[data-theme=dark] .hitTree_TD98,html[data-theme=dark] .noResultsIcon_UhOM{color:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}.hitTree_TD98>svg{height:var(--search-local-hit-height,56px);opacity:.5;width:24px}.hitIcon_fMx6,.hitTree_TD98>svg{stroke-width:var(--search-local-icon-stroke-width,1.4)}.hitAction_Dksg,.hitIcon_fMx6{height:20px;width:20px}.hitWrapper_FGPj{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;margin:0 8px;overflow-x:hidden;width:80%}.hitWrapper_FGPj mark{background:none;color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitTitle_jvEB{font-size:.9em}.hitPath_nPSC{font-size:.75em}.hitPath_nPSC,.hitTitle_jvEB{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.noResults_iR5T{flex-direction:column;justify-content:center;padding:var(--search-local-spacing,12px) 0}.noResultsIcon_UhOM{margin-bottom:var(--search-local-spacing,12px)}.hitFooter_MyWu{font-size:.85em;margin-top:var(--search-local-spacing,12px);text-align:center}.cursor_qOAr .hideAction_DX6M>svg,.tocCollapsibleContent_P7EO a{display:block}.suggestion_m3ms.cursor_qOAr,.suggestion_m3ms.cursor_qOAr .hitIcon_fMx6,.suggestion_m3ms.cursor_qOAr .hitPath_nPSC,.suggestion_m3ms.cursor_qOAr .hitTree_TD98,.suggestion_m3ms.cursor_qOAr mark{color:var(--search-local-hit-active-color,var(--ifm-color-white))!important}.searchBarContainer_nwld{margin-left:16px}.searchBarContainer_nwld .searchBarLoadingRing_RHN6{display:none;left:10px;position:absolute;top:6px}.searchBarContainer_nwld .searchClearButton_A9Ts{background:none;border:none;line-height:1rem;padding:0;position:absolute;right:.8rem;top:50%;transform:translateY(-50%)}.navbar__search{position:relative}.searchIndexLoading_TSh5 .navbar__search-input{background-image:none}.searchHintContainer_yMUd{align-items:center;display:flex;gap:4px;height:100%;justify-content:center;pointer-events:none;position:absolute;right:10px;top:0}.searchHint_CJly{background-color:var(--ifm-navbar-search-input-background-color);border:1px solid var(--ifm-color-emphasis-500);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-500);color:var(--ifm-navbar-search-input-placeholder-color)}.loadingRing_MTs2{display:inline-block;height:20px;opacity:var(--search-local-loading-icon-opacity,.5);position:relative;width:20px}.loadingRing_MTs2 div{animation:1.2s cubic-bezier(.5,0,.5,1) infinite a;border:2px solid var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color));border-color:var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color)) transparent transparent transparent;border-radius:50%;display:block;height:16px;margin:2px;position:absolute;width:16px}.loadingRing_MTs2 div:first-child{animation-delay:-.45s}.loadingRing_MTs2 div:nth-child(2){animation-delay:-.3s}.loadingRing_MTs2 div:nth-child(3){animation-delay:-.15s}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.navbarHideable_w2xG{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_bQ_v{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_Aej3{color:red;white-space:pre-wrap}.errorBoundaryFallback_Bfw0{color:red;padding:.55rem}.footerLogoLink_TWN7{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_TWN7:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_vYcL{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_x1aE{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_se6T{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_Tfnr{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_qWx9{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_W46p,.sidebarItemList_FqE9{font-size:.9rem}.sidebarItem_w3b1{margin-top:.7rem}.sidebarItemLink_zGe6{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_PILC{color:var(--ifm-color-primary)!important}.cardContainer_R7by{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 rgba(0,0,0,.15);transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_R7by:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 rgba(0,0,0,.2)}.cardTitle_itJd{font-size:1.2rem}.cardDescription_OB3x{font-size:.8rem}.searchContextInput_IYNQ,.searchQueryInput_Rfes{background:var(--ifm-background-color);border:var(--ifm-global-border-width) solid var(--ifm-color-content-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-font-color-base);font-size:var(--ifm-font-size-base);margin-bottom:1rem;padding:.5rem;width:100%}.searchResultItem_gF5N{border-bottom:1px solid #dfe3e8;padding:1rem 0}.searchResultItemPath__vrn{color:var(--ifm-color-content-secondary);font-size:.8rem;margin:.5rem 0 0}.searchResultItemSummary_Kts6{font-style:italic;margin:.5rem 0 0}.authorCol_L2ln{flex-grow:1!important;max-width:inherit!important}.imageOnlyAuthorRow_pXm5{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_IIuY{margin-left:.3rem;margin-right:.3rem}.backToTopButton_xjLX{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup_Ux1A button,.codeBlockContainer_pqmR{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_xjLX:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_KuKn{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_IlcQ{display:none;margin:0}.docMainContainer_B_M8,.docRoot_hERl{display:flex;width:100%}.docsWrapper_sfhw{display:flex;flex:1 0 auto}.heroBanner_UJJx{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.codeBlockContainer_pqmR{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_qIvM{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_d1g5{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_fX_E{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_d1g5+.codeBlockContent_qIvM .codeBlock_fX_E{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_Qt9w{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_kJoj{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_Ux1A{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_Ux1A button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_Ux1A button:focus-visible,.buttonGroup_Ux1A button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_Ux1A button{opacity:.4}.iconEdit_yCMb{margin-right:.3em;vertical-align:sub}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_L2TN{counter-increment:a;display:table-row}.codeLineNumber_D4w5{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_D4w5:before{content:counter(a);opacity:.4}.codeLineContent_NH88{padding-right:var(--ifm-pre-padding)}.tag_TpAi{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_TpAi:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_ha55{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_mjGL{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_mjGL:after,.tagWithCount_mjGL:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_mjGL:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_mjGL:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_mjGL span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_BmfI{display:inline-block;margin:.5rem .5rem 0 1rem}.theme-code-block:hover .copyButtonCopied_dpE0{opacity:1!important}.copyButtonIcons_Za_O{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_INP8,.copyButtonSuccessIcon_IO9w{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_IO9w{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_dpE0 .copyButtonIcon_INP8{opacity:0;transform:scale(.33)}.copyButtonCopied_dpE0 .copyButtonSuccessIcon_IO9w{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.tags_e_7e{display:inline}.tag_YEUc{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vR6z{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_udMZ{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_udMZ:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_NZ_u:after,.tocCollapsibleExpanded_tJ0U{transform:none}.tocCollapsible_bciC{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_P7EO>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_P7EO ul li{margin:.4rem .8rem}.wordWrapButtonIcon_IIsw{height:1.2rem;width:1.2rem}.details_KJn4{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_KJn4>summary{cursor:pointer;padding-left:1rem;position:relative}.details_KJn4>summary::-webkit-details-marker{display:none}.details_KJn4>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_pIWv{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_Zfkn{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_hkHc{height:auto}.admonition_QpPJ{margin-bottom:1em}.admonitionHeading_dLsS{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_dLsS:not(:last-child){margin-bottom:.3rem}.admonitionHeading_dLsS code{text-transform:none}.admonitionIcon_m6FF{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_m6FF svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.blogPostFooterDetailsFull_DBmw{flex-direction:column}.tableOfContents_odbd{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.breadcrumbHomeIcon_w6td{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_CzDA{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_p3ls{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media (min-width:997px){.collapseSidebarButton_IlcQ,.expandButton_zsBQ{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_NRWR,.announcementBarPlaceholder_wKiJ{flex-basis:50px}.navbarSearchContainer_bYhf{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_IlcQ{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_iyaO{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_DvE8,[dir=rtl] .collapseSidebarButtonIcon_iyaO{transform:rotate(0)}.collapseSidebarButton_IlcQ:focus,.collapseSidebarButton_IlcQ:hover,.expandButton_zsBQ:focus,.expandButton_zsBQ:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_ts5c{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_ficN{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_ficN{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_X2D6{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_s7Pv{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_bLvr{padding-top:0}.sidebarHidden_L71x{opacity:0;visibility:hidden}.sidebarLogo_y82R{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_y82R img{height:2rem;margin-right:.5rem}.expandButton_zsBQ{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_DvE8{transform:rotate(180deg)}.docSidebarContainer_l1sK{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_kDwv{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_GvwI{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_B_M8{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_L9NF{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_ZTSi{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.lastUpdated_vR6z{text-align:right}.tocMobile_LBM1{display:none}.docItemCol_TLyc,.generatedIndexPage_EoU2{max-width:75%!important}.list_ckrM article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_A5xQ,.footer__link-separator,.navbar__item,.sidebar_Tfnr,.tableOfContents_odbd{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_bYhf{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_V8qf{padding:0 .3rem}}@media not (max-width:996px){.searchBar_ZNED.searchBarLeft_ylsZ .dropdownMenu_KI5l{left:0!important;right:auto!important}}@media only screen and (max-width:996px){.searchQueryColumn__pwE{max-width:60%!important}.searchContextColumn_B1IM{max-width:40%!important}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}.navbar__search-input:not(:focus){width:2rem}.searchBar_ZNED .dropdownMenu_KI5l{max-width:calc(100vw - var(--ifm-navbar-padding-horizontal)*2);width:var(--search-local-modal-width-sm,340px)}.searchBarContainer_nwld:not(.focused_xMO5) .searchClearButton_A9Ts,.searchHintContainer_yMUd{display:none}.title_LFnH{font-size:2rem}}@media screen and (max-width:576px){.searchQueryColumn__pwE{max-width:100%!important}.searchContextColumn_B1IM{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (hover:hover){.backToTopButton_xjLX:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_lHnW,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_LBM1{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_Qt9w{white-space:pre-wrap}} \ No newline at end of file diff --git a/zh-CN/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/zh-CN/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 00000000..97e41646 Binary files /dev/null and b/zh-CN/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/zh-CN/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/zh-CN/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 00000000..e257edc1 Binary files /dev/null and b/zh-CN/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/zh-CN/assets/js/01a85c17.cf6da810.js b/zh-CN/assets/js/01a85c17.cf6da810.js new file mode 100644 index 00000000..47d3915a --- /dev/null +++ b/zh-CN/assets/js/01a85c17.cf6da810.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4013],{1809:function(e,t,s){s.d(t,{Z:function(){return x}});var a=s(3900),i=s(7515),n=s(2786),r=s(879),l=s(3707),c=s(1207),o=s(382),m=s(4064);function d(e){const{pathname:t}=(0,o.TH)();return(0,a.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var u={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},g=s(966);function b(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("aside",{className:"col col--3",children:(0,g.jsxs)("nav",{className:(0,i.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,c.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,g.jsx)("div",{className:(0,i.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,g.jsx)("ul",{className:(0,i.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,g.jsx)("li",{className:u.sidebarItem,children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var h=s(3943);function p(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,g.jsx)("li",{className:"menu__list-item",children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,g.jsx)(h.Zo,{component:p,props:e})}function f(e){let{sidebar:t}=e;const s=(0,r.i)();return null!=t&&t.items.length?"mobile"===s?(0,g.jsx)(j,{sidebar:t}):(0,g.jsx)(b,{sidebar:t}):null}function x(e){const{sidebar:t,toc:s,children:a,...r}=e,l=t&&t.items.length>0;return(0,g.jsx)(n.Z,{...r,children:(0,g.jsx)("div",{className:"container margin-vert--lg",children:(0,g.jsxs)("div",{className:"row",children:[(0,g.jsx)(f,{sidebar:t}),(0,g.jsx)("main",{className:(0,i.Z)("col",{"col--7":l,"col--9 col--offset-1":!l}),itemScope:!0,itemType:"https://schema.org/Blog",children:a}),s&&(0,g.jsx)("div",{className:"col col--2",children:s})]})})})}},5538:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});s(3900);var a=s(7515),i=s(2678),n=s(4181),r=s(8512),l=s(1809),c=s(5123),o=s(3806),m=s(4974),d=s(966);function u(e){let{tags:t,sidebar:s}=e;const u=(0,i.M)();return(0,d.jsxs)(n.FG,{className:(0,a.Z)(r.k.wrapper.blogPages,r.k.page.blogTagsListPage),children:[(0,d.jsx)(n.d,{title:u}),(0,d.jsx)(o.Z,{tag:"blog_tags_list"}),(0,d.jsxs)(l.Z,{sidebar:s,children:[(0,d.jsx)(m.Z,{as:"h1",children:u}),(0,d.jsx)(c.Z,{tags:t})]})]})}},1254:function(e,t,s){s.d(t,{Z:function(){return l}});s(3900);var a=s(7515),i=s(3707),n={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},r=s(966);function l(e){let{permalink:t,label:s,count:l}=e;return(0,r.jsxs)(i.Z,{href:t,className:(0,a.Z)(n.tag,l?n.tagWithCount:n.tagRegular),children:[s,l&&(0,r.jsx)("span",{children:l})]})}},5123:function(e,t,s){s.d(t,{Z:function(){return o}});s(3900);var a=s(2678),i=s(1254),n=s(4974),r={tag:"tag_BmfI"},l=s(966);function c(e){let{letterEntry:t}=e;return(0,l.jsxs)("article",{children:[(0,l.jsx)(n.Z,{as:"h2",id:t.letter,children:t.letter}),(0,l.jsx)("ul",{className:"padding--none",children:t.tags.map((e=>(0,l.jsx)("li",{className:r.tag,children:(0,l.jsx)(i.Z,{...e})},e.permalink)))}),(0,l.jsx)("hr",{})]})}function o(e){let{tags:t}=e;const s=(0,a.P)(t);return(0,l.jsx)("section",{className:"margin-vert--lg",children:s.map((e=>(0,l.jsx)(c,{letterEntry:e},e.letter)))})}},2678:function(e,t,s){s.d(t,{M:function(){return i},P:function(){return n}});var a=s(1207);const i=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function n(e){const t={};return Object.values(e).forEach((e=>{const s=function(e){return e[0].toUpperCase()}(e.label);null!=t[s]||(t[s]=[]),t[s].push(e)})),Object.entries(t).sort(((e,t)=>{let[s]=e,[a]=t;return s.localeCompare(a)})).map((e=>{let[t,s]=e;return{letter:t,tags:s.sort(((e,t)=>e.label.localeCompare(t.label)))}}))}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/0e384e19.702aa838.js b/zh-CN/assets/js/0e384e19.702aa838.js new file mode 100644 index 00000000..815783ca --- /dev/null +++ b/zh-CN/assets/js/0e384e19.702aa838.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9671],{6133:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var r=n(966),s=n(1015);const o={sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},i="Tutorial Intro",a={id:"intro",title:"Tutorial Intro",description:"This is description in front matter",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/docusaurus-search-local/zh-CN/docs/next/intro",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/intro.md",tags:[{label:"Test",permalink:"/docusaurus-search-local/zh-CN/docs/next/tags/test"},{label:"Keywords",permalink:"/docusaurus-search-local/zh-CN/docs/next/tags/keywords"},{label:"Front matter",permalink:"/docusaurus-search-local/zh-CN/docs/next/tags/front-matter"}],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},sidebar:"tutorialSidebar",next:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics"}},c={},l=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"}),"\n",(0,r.jsxs)(t.p,{children:["Let's discover ",(0,r.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Or ",(0,r.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,r.jsx)(t.strong,{children:(0,r.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 14 or above:","\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,r.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,r.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,r.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,r.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,r.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,r.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,r.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,r.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Open ",(0,r.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,r.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var r=n(3900);const s={},o=r.createContext(s);function i(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/14eb3368.f3087745.js b/zh-CN/assets/js/14eb3368.f3087745.js new file mode 100644 index 00000000..2f8278ac --- /dev/null +++ b/zh-CN/assets/js/14eb3368.f3087745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9817],{3225:function(e,n,t){t.d(n,{Z:function(){return p}});t(3900);var i=t(7515),s=t(8512),r=t(3025),a=t(4064),c=t(3707),l=t(1207),o=t(3373),d=t(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,o.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(c.Z,{"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var b={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function x(e){let{children:n,href:t,isLast:i}=e;const s="breadcrumbs__link";return i?(0,d.jsx)("span",{className:s,itemProp:"name",children:n}):t?(0,d.jsx)(c.Z,{className:s,href:t,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:n})}):(0,d.jsx)("span",{className:s,children:n})}function v(e){let{children:n,active:t,index:s,addMicrodata:r}=e;return(0,d.jsxs)("li",{...r&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":t}),children:[n,(0,d.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function p(){const e=(0,r.s1)(),n=(0,a.Ns)();return e?(0,d.jsx)("nav",{className:(0,i.Z)(s.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[n&&(0,d.jsx)(h,{}),e.map(((n,t)=>{const i=t===e.length-1,s="category"===n.type&&n.linkUnlisted?void 0:n.href;return(0,d.jsx)(v,{active:i,index:t,addMicrodata:!!s,children:(0,d.jsx)(x,{href:s,isLast:i,children:n.label})},t)}))]})}):null}},2260:function(e,n,t){t.r(n),t.d(n,{default:function(){return y}});t(3900);var i=t(4181),s=t(3025),r=t(3373),a=t(7515),c=t(3707),l=t(6843),o=t(1207),d=t(4974),u={cardContainer:"cardContainer_R7by",cardTitle:"cardTitle_itJd",cardDescription:"cardDescription_OB3x"},m=t(966);function h(e){let{href:n,children:t}=e;return(0,m.jsx)(c.Z,{href:n,className:(0,a.Z)("card padding--lg",u.cardContainer),children:t})}function b(e){let{href:n,icon:t,title:i,description:s}=e;return(0,m.jsxs)(h,{href:n,children:[(0,m.jsxs)(d.Z,{as:"h2",className:(0,a.Z)("text--truncate",u.cardTitle),title:i,children:[t," ",i]}),s&&(0,m.jsx)("p",{className:(0,a.Z)("text--truncate",u.cardDescription),title:s,children:s})]})}function x(e){var n;let{item:t}=e;const i=(0,s.LM)(t);return i?(0,m.jsx)(b,{href:i,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:null!=(n=t.description)?n:(0,o.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){var n,t;let{item:i}=e;const r=(0,l.Z)(i.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",a=(0,s.xz)(null!=(n=i.docId)?n:void 0);return(0,m.jsx)(b,{href:i.href,icon:r,title:i.label,description:null!=(t=i.description)?t:null==a?void 0:a.description})}function p(e){let{item:n}=e;switch(n.type){case"link":return(0,m.jsx)(v,{item:n});case"category":return(0,m.jsx)(x,{item:n});default:throw new Error("unknown item type "+JSON.stringify(n))}}function g(e){let{className:n}=e;const t=(0,s.jA)();return(0,m.jsx)(j,{items:t.items,className:n})}function j(e){const{items:n,className:t}=e;if(!n)return(0,m.jsx)(g,{...e});const i=(0,s.MN)(n);return(0,m.jsx)("section",{className:(0,a.Z)("row",t),children:i.map(((e,n)=>(0,m.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,m.jsx)(p,{item:e})},n)))})}var f=t(8608),N=t(6819),Z=t(657),L=t(3225),_={generatedIndexPage:"generatedIndexPage_EoU2",list:"list_ckrM",title:"title_p3ls"};function k(e){let{categoryGeneratedIndex:n}=e;return(0,m.jsx)(i.d,{title:n.title,description:n.description,keywords:n.keywords,image:(0,r.Z)(n.image)})}function T(e){let{categoryGeneratedIndex:n}=e;const t=(0,s.jA)();return(0,m.jsxs)("div",{className:_.generatedIndexPage,children:[(0,m.jsx)(N.Z,{}),(0,m.jsx)(L.Z,{}),(0,m.jsx)(Z.Z,{}),(0,m.jsxs)("header",{children:[(0,m.jsx)(d.Z,{as:"h1",className:_.title,children:n.title}),n.description&&(0,m.jsx)("p",{children:n.description})]}),(0,m.jsx)("article",{className:"margin-top--lg",children:(0,m.jsx)(j,{items:t.items,className:_.list})}),(0,m.jsx)("footer",{className:"margin-top--lg",children:(0,m.jsx)(f.Z,{previous:n.navigation.previous,next:n.navigation.next})})]})}function y(e){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(k,{...e}),(0,m.jsx)(T,{...e})]})}},8608:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(1207),s=t(1554),r=t(966);function a(e){const{previous:n,next:t}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[n&&(0,r.jsx)(s.Z,{...n,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),t&&(0,r.jsx)(s.Z,{...t,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,n,t){t.d(n,{Z:function(){return l}});t(3900);var i=t(7515),s=t(1207),r=t(8512),a=t(7924),c=t(966);function l(e){let{className:n}=e;const t=(0,a.E)();return t.badge?(0,c.jsx)("span",{className:(0,i.Z)(n,r.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.jsx)(s.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:t.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,n,t){t.d(n,{Z:function(){return v}});t(3900);var i=t(7515),s=t(2442),r=t(3707),a=t(1207),c=t(304),l=t(8512),o=t(4924),d=t(7924),u=t(966);const m={unreleased:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const n=m[e.versionMetadata.banner];return(0,u.jsx)(n,{...e})}function b(e){let{versionLabel:n,to:t,onClick:i}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:n,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(r.Z,{to:t,onClick:i,children:(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let{className:n,versionMetadata:t}=e;const{siteConfig:{title:r}}=(0,s.Z)(),{pluginId:a}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,o.J)(a),{latestDocSuggestion:m,latestVersionSuggestion:x}=(0,c.Jo)(a),v=null!=m?m:(p=x).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,i.Z)(n,l.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:r,versionMetadata:t})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:x.label,to:v.path,onClick:()=>d(x.name)})})]})}function v(e){let{className:n}=e;const t=(0,d.E)();return t.banner?(0,u.jsx)(x,{className:n,versionMetadata:t}):null}},1554:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(7515),s=t(3707),r=t(966);function a(e){const{permalink:n,title:t,subLabel:a,isNext:c}=e;return(0,r.jsxs)(s.Z,{className:(0,i.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[a&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,r.jsx)("div",{className:"pagination-nav__label",children:t})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/15687378.c4c5354d.js b/zh-CN/assets/js/15687378.c4c5354d.js new file mode 100644 index 00000000..a7a35ddd --- /dev/null +++ b/zh-CN/assets/js/15687378.c4c5354d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6532],{9893:function(t){t.exports=JSON.parse('{"label":"Front matter","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/front-matter","allTagsPath":"/docusaurus-search-local/zh-CN/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-CN/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/17896441.2342e34f.js b/zh-CN/assets/js/17896441.2342e34f.js new file mode 100644 index 00000000..6b0fde10 --- /dev/null +++ b/zh-CN/assets/js/17896441.2342e34f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7918],{3225:function(e,t,n){n.d(t,{Z:function(){return p}});n(3900);var s=n(7515),a=n(8512),i=n(3025),l=n(4064),o=n(3707),r=n(1207),c=n(3373),d=n(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,c.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(o.Z,{"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var v={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function b(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,d.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,d.jsx)(o.Z,{className:a,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:a,children:t})}function x(e){let{children:t,active:n,index:a,addMicrodata:i}=e;return(0,d.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function p(){const e=(0,i.s1)(),t=(0,l.Ns)();return e?(0,d.jsx)("nav",{className:(0,s.Z)(a.k.docs.docBreadcrumbs,v.breadcrumbsContainer),"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(b,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},6820:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var s=n(3900),a=n(4181),i=n(5158),l=n(966);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){var e;const{metadata:t,frontMatter:n,assets:s}=c();return(0,l.jsx)(a.d,{title:t.title,description:t.description,keywords:n.keywords,image:null!=(e=s.image)?e:n.image})}var u=n(7515),m=n(879),h=n(8608);function v(){const{metadata:e}=c();return(0,l.jsx)(h.Z,{previous:e.previous,next:e.next})}var b=n(6819),x=n(657),p=n(8512),f=n(1207);function g(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function j(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function L(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:p.k.common.lastUpdated,children:[(0,l.jsx)(f.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(g,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(j,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var C=n(8427),N=n(3714),Z={lastUpdated:"lastUpdated_vR6z"};function k(e){return(0,l.jsx)("div",{className:(0,u.Z)(p.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(N.Z,{...e})})})}function _(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(C.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",Z.lastUpdated),children:(n||s)&&(0,l.jsx)(L,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function T(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(k,{tags:i}),r&&(0,l.jsx)(_,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var U=n(3663),H=n(8001),y={tocCollapsibleButton:"tocCollapsibleButton_udMZ",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_NZ_u"};function A(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",y.tocCollapsibleButton,!t&&y.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(f.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}var w={tocCollapsible:"tocCollapsible_bciC",tocCollapsibleContent:"tocCollapsibleContent_P7EO",tocCollapsibleExpanded:"tocCollapsibleExpanded_tJ0U"};function M(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,U.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(w.tocCollapsible,!i&&w.tocCollapsibleExpanded,n),children:[(0,l.jsx)(A,{collapsed:i,onClick:o}),(0,l.jsx)(U.z,{lazy:!0,className:w.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(H.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}var B={tocMobile:"tocMobile_LBM1"};function I(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(M,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,B.tocMobile)})}var E=n(2151);function O(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(E.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var S=n(4974),V=n(4265);function D(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(S.Z,{as:"h1",children:n})}),(0,l.jsx)(V.Z,{children:t})]})}var P=n(3225),R=n(9843),z={docItemContainer:"docItemContainer_s2DS",docItemCol:"docItemCol_TLyc"};function F(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(I,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(O,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&z.docItemCol),children:[s&&(0,l.jsx)(R.Z,{}),(0,l.jsx)(b.Z,{}),(0,l.jsxs)("div",{className:z.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(P.Z,{}),(0,l.jsx)(x.Z,{}),n.mobile,(0,l.jsx)(D,{children:t}),(0,l.jsx)(T,{})]}),(0,l.jsx)(v,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function q(e){const t="docs-doc-id-"+e.content.metadata.id,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(F,{children:(0,l.jsx)(n,{})})]})})}},8608:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var s=n(1207),a=n(1554),i=n(966);function l(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(a.Z,{...t,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(a.Z,{...n,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7515),a=n(1207),i=n(8512),l=n(7924),o=n(966);function r(e){let{className:t}=e;const n=(0,l.E)();return n.badge?(0,o.jsx)("span",{className:(0,s.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,o.jsx)(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,t,n){n.d(t,{Z:function(){return x}});n(3900);var s=n(7515),a=n(2442),i=n(3707),l=n(1207),o=n(304),r=n(8512),c=n(4924),d=n(7924),u=n(966);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function v(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(i.Z,{to:n,onClick:s,children:(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:i}}=(0,a.Z)(),{pluginId:l}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,c.J)(l),{latestDocSuggestion:m,latestVersionSuggestion:b}=(0,o.Jo)(l),x=null!=m?m:(p=b).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,s.Z)(t,r.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:i,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(v,{versionLabel:b.label,to:x.path,onClick:()=>d(b.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.E)();return n.banner?(0,u.jsx)(b,{className:t,versionMetadata:n}):null}},2151:function(e,t,n){n.d(t,{Z:function(){return c}});n(3900);var s=n(7515),a=n(8001),i={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},l=n(966);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},8001:function(e,t,n){n.d(t,{Z:function(){return b}});var s=n(3900),a=n(4715);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){var n;let{anchorTopOffset:s}=t;const a=e.find((e=>o(e).top>=s));if(a){var i;return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push("h"+a+".anchor");return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3707),m=n(966);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=s?s:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}var v=s.memo(h);function b(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const b=(0,a.L)(),x=null!=c?c:b.tableOfContents.minHeadingLevel,p=null!=u?u:b.tableOfContents.maxHeadingLevel,f=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:x,maxHeadingLevel:p});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:p}}),[o,r,x,p])),(0,m.jsx)(v,{toc:f,className:n,linkClassName:o,...h})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),l=n(966);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(8512),u=n(5085);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/18c41134.7e7e0bc3.js b/zh-CN/assets/js/18c41134.7e7e0bc3.js new file mode 100644 index 00000000..18011269 --- /dev/null +++ b/zh-CN/assets/js/18c41134.7e7e0bc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2859],{70:function(e,n,s){s.r(n),s.d(n,{Highlight:function(){return d},assets:function(){return c},contentTitle:function(){return o},default:function(){return h},frontMatter:function(){return a},metadata:function(){return i},toc:function(){return l}});var r=s(966),t=s(1015);const a={sidebar_position:4},o="Markdown Features",i={id:"tutorial-basics/markdown-features",title:"Markdown Features",description:"Docusaurus supports Markdown and a few additional features.",source:"@site/docs/tutorial-basics/markdown-features.mdx",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/markdown-features",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/markdown-features.mdx",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post"},next:{title:"Deploy your site",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site"}},c={},l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}],d=({children:e,color:n})=>{const s={span:"span",...(0,t.a)()};return(0,r.jsx)(s.span,{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e})};function u(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"}),"\n",(0,r.jsxs)(n.p,{children:["Docusaurus supports ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,r.jsx)(n.strong,{children:"additional features"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,r.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,r.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my-doc-id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,r.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create-a-page).\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create-a-page.md).\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page",children:"Create a page"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,r.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,r.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Docusaurus logo",src:s(766).Z+"",width:"200",height:"200"})}),"\n",(0,r.jsxs)(n.p,{children:["You can reference images relative to the current file as well, as shown in ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions",children:"the extra guides"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,r.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return (\n

Hello, Docusaurus!

\n )\n}\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

Hello, Docusaurus!

;\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,r.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,r.jsx)(n.p,{children:":::tip My tip"}),"\n",(0,r.jsx)(n.p,{children:"Use this awesome feature option"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.p,{children:":::danger Take care"}),"\n",(0,r.jsx)(n.p,{children:"This action is dangerous"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,r.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,r.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,r.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,r.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,r.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,r.jsx)(n.strong,{children:"React components inside Markdown"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n"})}),"\n","\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},766:function(e,n){n.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},1015:function(e,n,s){s.d(n,{Z:function(){return i},a:function(){return o}});var r=s(3900);const t={},a=r.createContext(t);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/1a4922cc.634cbe9d.js b/zh-CN/assets/js/1a4922cc.634cbe9d.js new file mode 100644 index 00000000..8a05b2e8 --- /dev/null +++ b/zh-CN/assets/js/1a4922cc.634cbe9d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8293],{3129:function(e,i,t){t.r(i),t.d(i,{assets:function(){return o},contentTitle:function(){return r},default:function(){return m},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return l}});var s=t(966),u=t(1015);const n={id:"doc3",title:"This is Document Number 3"},r=void 0,a={id:"doc3",title:"This is Document Number 3",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",source:"@site/versioned_docs/version-1.0.0/doc3.md",sourceDirName:".",slug:"/doc3",permalink:"/docusaurus-search-local/zh-CN/docs/doc3",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc3.md",tags:[],version:"1.0.0",frontMatter:{id:"doc3",title:"This is Document Number 3"},sidebar:"someSidebar",previous:{title:"Document Number 2",permalink:"/docusaurus-search-local/zh-CN/docs/doc2"},next:{title:"Powered by MDX",permalink:"/docusaurus-search-local/zh-CN/docs/mdx"}},o={},l=[];function c(e){const i={p:"p",...(0,u.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),"\n",(0,s.jsx)(i.p,{children:"Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique."}),"\n",(0,s.jsx)(i.p,{children:"Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis."}),"\n",(0,s.jsx)(i.p,{children:"Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor."}),"\n",(0,s.jsx)(i.p,{children:"Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur."})]})}function m(e={}){const{wrapper:i}={...(0,u.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},1015:function(e,i,t){t.d(i,{Z:function(){return a},a:function(){return r}});var s=t(3900);const u={},n=s.createContext(u);function r(e){const i=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(u):e.components||u:r(e.components),s.createElement(n.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/1a4e3797.61d2a7de.js b/zh-CN/assets/js/1a4e3797.61d2a7de.js new file mode 100644 index 00000000..931b0ccc --- /dev/null +++ b/zh-CN/assets/js/1a4e3797.61d2a7de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7920],{960:function(e,t,r){r.d(t,{c:function(){return u}});var s=r(3900),a=r(2442);const n=["zero","one","two","few","many","other"];function c(e){return n.filter((t=>e.includes(t)))}const l={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(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 the default (English) implementation.\nError: '+t.message+"\n"),l}}),[e])}function u(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const a=r.select(t),n=r.pluralForms.indexOf(a);return s[Math.min(n,s.length-1)]}(r,t,e)}}},8713:function(e,t,r){r.r(t),r.d(t,{default:function(){return b}});var s=r(3900),a=r(2442),n=r(2786),c=r(743),l=r(3707),o=r(1207),u=r(960),h=r(7515),i=r(382),m=r(5106),d=r(3771);var p=function(){const e=(0,m.Z)(),t=(0,i.k6)(),r=(0,i.TH)(),{siteConfig:{baseUrl:s}}=(0,a.Z)(),n=e?new URLSearchParams(r.search):null,c=(null==n?void 0:n.get("q"))||"",l=(null==n?void 0:n.get("ctx"))||"",o=(null==n?void 0:n.get("version"))||"",u=e=>{const t=new URLSearchParams(r.search);return e?t.set("q",e):t.delete("q"),t};return{searchValue:c,searchContext:l&&Array.isArray(d.Kc)&&d.Kc.some((e=>"string"==typeof e?e===l:e.path===l))?l:"",searchVersion:o,updateSearchPath:e=>{const r=u(e);t.replace({search:r.toString()})},updateSearchContext:e=>{const s=new URLSearchParams(r.search);s.set("ctx",e),t.replace({search:s.toString()})},generateSearchPageLink:e=>{const t=u(e);return s+"search?"+t.toString()}}},g=r(1316),f=r(6329),x=r(557),y=r(7833),S=r(596),C=r(6481),I=r(6192),j=r(5486),v={searchContextInput:"searchContextInput_IYNQ",searchQueryInput:"searchQueryInput_Rfes",searchResultItem:"searchResultItem_gF5N",searchResultItemPath:"searchResultItemPath__vrn",searchResultItemSummary:"searchResultItemSummary_Kts6",searchQueryColumn:"searchQueryColumn__pwE",searchContextColumn:"searchContextColumn_B1IM"},w=r(7208),P=r(966);function R(){const{siteConfig:{baseUrl:e},i18n:{currentLocale:t}}=(0,a.Z)(),{selectMessage:r}=(0,u.c)(),{searchValue:n,searchContext:l,searchVersion:i,updateSearchPath:m,updateSearchContext:x}=p(),[y,S]=(0,s.useState)(n),[C,j]=(0,s.useState)(),[R,b]=(0,s.useState)(),A=""+e+i,F=(0,s.useMemo)((()=>y?(0,o.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:y}):(0,o.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[y]);(0,s.useEffect)((()=>{m(y),C&&(y?C(y,(e=>{b(e)})):b(void 0))}),[y,C]);const N=(0,s.useCallback)((e=>{S(e.target.value)}),[]);return(0,s.useEffect)((()=>{n&&n!==y&&S(n)}),[n]),(0,s.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=!Array.isArray(d.Kc)||l||d.pQ?await(0,g.w)(A,l):{wrappedIndexes:[],zhDictionary:[]};j((()=>(0,f.v)(e,t,100)))}()}),[l,A]),(0,P.jsxs)(s.Fragment,{children:[(0,P.jsxs)(c.Z,{children:[(0,P.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,P.jsx)("title",{children:F})]}),(0,P.jsxs)("div",{className:"container margin-vert--lg",children:[(0,P.jsx)("h1",{children:F}),(0,P.jsxs)("div",{className:"row",children:[(0,P.jsx)("div",{className:(0,h.Z)("col",{[v.searchQueryColumn]:Array.isArray(d.Kc),"col--9":Array.isArray(d.Kc),"col--12":!Array.isArray(d.Kc)}),children:(0,P.jsx)("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:N,value:y,autoComplete:"off",autoFocus:!0})}),Array.isArray(d.Kc)?(0,P.jsx)("div",{className:(0,h.Z)("col","col--3","padding-left--none",v.searchContextColumn),children:(0,P.jsxs)("select",{name:"search-context",className:v.searchContextInput,id:"context-selector",value:l,onChange:e=>x(e.target.value),children:[d.pQ&&(0,P.jsx)("option",{value:"",children:(0,o.I)({id:"theme.SearchPage.searchContext.everywhere",message:"everywhere"})}),d.Kc.map((e=>{const{label:r,path:s}=(0,w._)(e,t);return(0,P.jsx)("option",{value:s,children:r},s)}))]})}):null]}),!C&&y&&(0,P.jsx)("div",{children:(0,P.jsx)(I.Z,{})}),R&&(R.length>0?(0,P.jsx)("p",{children:r(R.length,(0,o.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:R.length}))}):(0,P.jsx)("p",{children:(0,o.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,P.jsx)("section",{children:R&&R.map((e=>(0,P.jsx)(_,{searchResult:e},e.document.i)))})]})]})}function _(e){let{searchResult:{document:t,type:r,page:s,tokens:a,metadata:n}}=e;const c=r===x.P.Title,o=r===x.P.Keywords,u=r===x.P.Description,h=u||o,i=c||h,m=r===x.P.Content,p=(c?t.b:s.b).slice(),g=m||h?t.s:t.t;i||p.push(s.t);let f="";if(d.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append("_highlight",t);f="?"+e.toString()}return(0,P.jsxs)("article",{className:v.searchResultItem,children:[(0,P.jsx)("h2",{children:(0,P.jsx)(l.Z,{to:t.u+f+(t.h||""),dangerouslySetInnerHTML:{__html:m||h?(0,y.C)(g,a):(0,S.o)(g,(0,C.m)(n,"t"),a,100)}})}),p.length>0&&(0,P.jsx)("p",{className:v.searchResultItemPath,children:(0,j.e)(p)}),(m||u)&&(0,P.jsx)("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,S.o)(t.t,(0,C.m)(n,"t"),a,100)}})]})}var b=function(){return(0,P.jsx)(n.Z,{children:(0,P.jsx)(R,{})})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/1b07edf5.cf26e67a.js b/zh-CN/assets/js/1b07edf5.cf26e67a.js new file mode 100644 index 00000000..4521aaf0 --- /dev/null +++ b/zh-CN/assets/js/1b07edf5.cf26e67a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4844],{5660:function(t){t.exports=JSON.parse('{"blogPosts":[{"id":"writing-good-unit-tests","metadata":{"permalink":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md","source":"@site/blog/2019-06-15-writing-good-unit-tests.md","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","description":"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002","date":"2019-06-15T00:00:00.000Z","formattedDate":"2019\u5e746\u670815\u65e5","tags":[],"readingTime":7.49,"hasTruncateMarker":false,"authors":[{"name":"Wang Shenwei","url":"https://github.com/weareoutman","imageURL":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],"frontMatter":{"slug":"writing-good-unit-tests","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","author":"Wang Shenwei","author_url":"https://github.com/weareoutman","author_image_url":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},"unlisted":false,"nextItem":{"title":"Welcome","permalink":"/docusaurus-search-local/zh-CN/blog/welcome"}},"content":":::note\\n\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002\\n:::\\n\\n> \u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d\\n\\n\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e [TypeScript], [Jest], [React], [Enzyme] \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002\\n\\n## \u57fa\u672c\u65b9\u6cd5\\n\\n\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\\n2. \u8fd0\u884c\\n3. \u65ad\u8a00\u8f93\u51fa\\n\\n\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a\\n\\n- \u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f\\n- \u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00\\n\\n\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `add.ts`\\nfunction add(a: number, b: number): number {\\n return a + b;\\n}\\n```\\n\\n```ts\\n// `add.spec.ts`\\ntest(\\"add(1, 2) should return 3\\", () => {\\n expect(add(1, 2)).toBe(3);\\n});\\n```\\n\\n\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\uff1a`1`, `2`\\n2. \u8fd0\u884c\uff1a `add(...)`\\n3. \u65ad\u8a00\u8f93\u51fa\uff1a`expect(...).toBe(3)`\\n\\n\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002\\n\\n- \u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f\\n- \u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\\n\\n> \u8fd9\u91cc\u63d0\u5230\u7684*\u8f93\u5165*\u3001*\u8f93\u51fa*\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002\\n\\n\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002\\n\\n## \u8f93\u5165\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u53c2\u6570\\n- \u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6\\n- GUI \u64cd\u4f5c\u4e8b\u4ef6\\n\\n\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5916\u90e8\u4e8b\u4ef6*\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a*\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210*\u7ed9\u5b9a\u8f93\u5165*\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002\\n\\n\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.ts`\\nwindow.addEventListener(\\"resize\\", () => { ... });\\n```\\n\\n\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.ts`\\ntest(\\"MyComponent\\", () => {\\n window.dispatchEvent(new Event(\\"resize\\"));\\n // ...\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleChange = (value: string): void => { ... };\\nreturn \\n```\\n\\n\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow();\\n wrapper.find(Editor).invoke(\\"onChange\\")(\\"faked value\\");\\n // ...\\n});\\n```\\n\\n## \u8f93\u51fa\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u8f93\u51fa\\n- GUI \u7684\u53d8\u5316\\n- \u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528\\n\\n\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002\\n\\n\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `handleClick.ts`\\nfunction handleClick(): void {\\n history.push(\\"/next/url\\");\\n}\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n handleClick();\\n expect(history.location.pathname).toBe(\\"/next/url\\");\\n});\\n```\\n\\n\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab _Mocked_\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n const spyOnHistoryPush = jest.spyOn(history, \\"push\\");\\n expect(spyOnHistoryPush).toBeCalledWith(\\"/next/url\\");\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleValidation = (valid: boolean): void => {\\n this.setState({ valid });\\n};\\nreturn (\\n \\n \\n \\n);\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow();\\n // ... after something trigger `handleValidation()`\\n expect(wrapper.find(Form.Item).prop(\\"className\\")).toBe(\\"invalid\\");\\n});\\n```\\n\\n\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002\\n\\n\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f*\u5bf9\u5916\u7684\u5f71\u54cd*\uff0c\u800c\u4e0d\u662f*\u5185\u90e8\u72b6\u6001*\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684*\u8f93\u51fa*\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.bad.spec.tsx`\\nexpect(wrapper.instance().state.valid).toBe(\\"invalid\\");\\n```\\n\\n## \u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002\\n\\n**\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206**\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, [Redux] \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684[\u5355\u5411\u6570\u636e\u6d41]\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002\\n\\n## \u603b\u7ed3\\n\\n\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a\\n\\n- \u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\\n- \u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5\\n- \u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002\\n\\n[typescript]: https://www.typescriptlang.org/\\n[jest]: https://jestjs.io/\\n[react]: https://reactjs.org/\\n[enzyme]: https://airbnb.io/enzyme/\\n[redux]: https://redux.js.org/\\n[\u5355\u5411\u6570\u636e\u6d41]: https://flaviocopes.com/react-unidirectional-data-flow/\\n[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]: https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95"},{"id":"welcome","metadata":{"permalink":"/docusaurus-search-local/zh-CN/blog/welcome","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md","source":"@site/blog/2019-05-30-welcome.md","title":"Welcome","description":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","date":"2019-05-30T00:00:00.000Z","formattedDate":"2019\u5e745\u670830\u65e5","tags":[{"label":"facebook","permalink":"/docusaurus-search-local/zh-CN/blog/tags/facebook"},{"label":"hello","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],"readingTime":0.175,"hasTruncateMarker":false,"authors":[{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],"frontMatter":{"slug":"welcome","title":"Welcome","author":"Yangshun Tay","author_title":"Front End Engineer @ Facebook","author_url":"https://github.com/yangshun","author_image_url":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4","tags":["facebook","hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests"},"nextItem":{"title":"Hello","permalink":"/docusaurus-search-local/zh-CN/blog/hello-world"}},"content":"Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!\\n\\nDelete the whole directory if you don\'t want the blog features. As simple as that!"},{"id":"hello-world","metadata":{"permalink":"/docusaurus-search-local/zh-CN/blog/hello-world","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md","source":"@site/blog/2019-05-29-hello-world.md","title":"Hello","description":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","date":"2019-05-29T00:00:00.000Z","formattedDate":"2019\u5e745\u670829\u65e5","tags":[{"label":"hello","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":true,"authors":[{"name":"Endilie Yacop Sucipto","title":"Maintainer of Docusaurus","url":"https://github.com/endiliey","imageURL":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],"frontMatter":{"slug":"hello-world","title":"Hello","author":"Endilie Yacop Sucipto","author_title":"Maintainer of Docusaurus","author_url":"https://github.com/endiliey","author_image_url":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/docusaurus-search-local/zh-CN/blog/welcome"},"nextItem":{"title":"Hola","permalink":"/docusaurus-search-local/zh-CN/blog/hola"}},"content":"Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).\\n\\n\x3c!--truncate--\x3e\\n\\nThis is a test post.\\n\\nA whole bunch of other information."},{"id":"hola","metadata":{"permalink":"/docusaurus-search-local/zh-CN/blog/hola","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md","source":"@site/blog/2019-05-28-hola.md","title":"Hola","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","date":"2019-05-28T00:00:00.000Z","formattedDate":"2019\u5e745\u670828\u65e5","tags":[{"label":"hola","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hola"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":false,"authors":[{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","imageURL":"https://avatars1.githubusercontent.com/u/2055384?v=4"}],"frontMatter":{"slug":"hola","title":"Hola","author":"Gao Wei","author_title":"Docusaurus Core Team","author_url":"https://github.com/wgao19","author_image_url":"https://avatars1.githubusercontent.com/u/2055384?v=4","tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Hello","permalink":"/docusaurus-search-local/zh-CN/blog/hello-world"}},"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/1cbf0e34.209620b2.js b/zh-CN/assets/js/1cbf0e34.209620b2.js new file mode 100644 index 00000000..a522a39b --- /dev/null +++ b/zh-CN/assets/js/1cbf0e34.209620b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7195],{2776:function(e){e.exports=JSON.parse('{"name":"@easyops-cn/docusaurus-search-local","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/1e4232ab.e5bd7101.js b/zh-CN/assets/js/1e4232ab.e5bd7101.js new file mode 100644 index 00000000..047fafce --- /dev/null +++ b/zh-CN/assets/js/1e4232ab.e5bd7101.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8818],{1567:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var s=n(966),r=n(1015);const o={sidebar_position:2},i="Create a Document",a={id:"tutorial-basics/create-a-document",title:"Create a Document",description:"Documents are groups of pages connected through:",source:"@site/docs/tutorial-basics/create-a-document.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-document",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-document.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a Page",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page"},next:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post"}},c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"}),"\n",(0,s.jsxs)(t.p,{children:["Documents are ",(0,s.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["a ",(0,s.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,s.jsxs)(t.p,{children:["Create a markdown file at ",(0,s.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["A new document is now available at ",(0,s.jsx)(t.code,{children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,s.jsxs)(t.p,{children:["Docusaurus automatically ",(0,s.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,s.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,s.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,s.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"module.exports = {\n tutorialSidebar: [\n {\n type: 'category',\n label: 'Tutorial',\n // highlight-next-line\n items: ['hello'],\n },\n ],\n};\n"})})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var s=n(3900);const r={},o=s.createContext(r);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/2118.a37a5fbb.js b/zh-CN/assets/js/2118.a37a5fbb.js new file mode 100644 index 00000000..adefc633 --- /dev/null +++ b/zh-CN/assets/js/2118.a37a5fbb.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2118],{5085:function(e,n,t){"use strict";t.d(n,{Z:function(){return E}});var s=t(3900),o=t(966);function a(e){var n;const{mdxAdmonitionTitle:t,rest:a}=function(e){const n=s.Children.toArray(e),t=n.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:a.length>0?(0,o.jsx)(o.Fragment,{children:a}):null}}(e.children),i=null!=(n=e.title)?n:t;return{...e,...i&&{title:i},children:a}}var i=t(7515),c=t(1207),r=t(8512),l={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:s}=e;return(0,o.jsx)("div",{className:(0,i.Z)(r.k.common.admonition,r.k.common.admonitionType(n),l.admonition,t),children:s})}function u(e){let{icon:n,title:t}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:n}),t]})}function m(e){let{children:n}=e;return n?(0,o.jsx)("div",{className:l.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:s,children:a,className:i}=e;return(0,o.jsxs)(d,{type:n,className:i,children:[(0,o.jsx)(u,{title:s,icon:t}),(0,o.jsx)(m,{children:a})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,o.jsx)(h,{...f,...e,className:(0,i.Z)("alert alert--secondary",e.className),children:e.children})}function x(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const j={icon:(0,o.jsx)(x,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function b(e){return(0,o.jsx)(h,{...j,...e,className:(0,i.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,i.Z)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function w(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const B={icon:(0,o.jsx)(w,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Z={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var L={...{note:g,tip:b,info:k,warning:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...B,...e,className:(0,i.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(g,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(b,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...Z,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})}}};function E(e){const n=a(e),t=(s=n.type,L[s]||(console.warn('No admonition component found for admonition type "'+s+'". Using Info as fallback.'),L.info));var s;return(0,o.jsx)(t,{...n})}},8427:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});t(3900);var s=t(1207),o=t(8512),a=t(3707),i=t(7515),c={iconEdit:"iconEdit_yCMb"},r=t(966);function l(e){let{className:n,...t}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,i.Z)(c.iconEdit,n),"aria-hidden":"true",...t,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:n}=e;return(0,r.jsxs)(a.Z,{to:n,className:o.k.common.editThisPage,children:[(0,r.jsx)(l,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},4265:function(e,n,t){"use strict";t.d(n,{Z:function(){return se}});var s=t(3900),o=t(1015),a=t(743),i=t(5106),c=t(7515),r=t(8408),l=t(4715);function d(){const{prism:e}=(0,l.L)(),{colorMode:n}=(0,r.I)(),t=e.theme,s=e.darkTheme||t;return"dark"===n?s:t}var u=t(8512),m=t(8485),h=t.n(m);const p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,g={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function x(e,n){const t=e.map((e=>{const{start:t,end:s}=g[e];return"(?:"+t+"\\s*("+n.flatMap((e=>{var n,t;return[e.line,null==(n=e.block)?void 0:n.start,null==(t=e.block)?void 0:t.end].filter(Boolean)})).join("|")+")\\s*"+s+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")}function j(e,n){let t=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:a}=n;if(a&&f.test(a)){const e=a.match(f).groups.range;if(0===o.length)throw new Error("A highlight range has been given in code block's metastring (``` "+a+"), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.");const n=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[n]]));return{lineClassNames:Object.fromEntries(s),code:t}}if(void 0===s)return{lineClassNames:{},code:t};const i=function(e,n){switch(e){case"js":case"javascript":case"ts":case"typescript":return x(["js","jsBlock"],n);case"jsx":case"tsx":return x(["js","jsBlock","jsx"],n);case"html":return x(["js","jsBlock","html"],n);case"python":case"py":case"bash":return x(["bash"],n);case"markdown":case"md":return x(["html","jsx","bash"],n);case"tex":case"latex":case"matlab":return x(["tex"],n);case"lua":case"haskell":case"sql":return x(["lua"],n);case"wasm":return x(["wasm"],n);default:return x(Object.keys(g).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),n)}}(s,o),c=t.split("\n"),r=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:n,line:t}=e;return[t,n]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.start,n]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.end,n]})));for(let h=0;h<c.length;){const e=c[h].match(i);if(!e){h+=1;continue}const n=e.slice(1).find((e=>void 0!==e));l[n]?r[l[n]].range+=h+",":d[n]?r[d[n]].start=h:u[n]&&(r[u[n]].range+=r[u[n]].start+"-"+(h-1)+","),c.splice(h,1)}t=c.join("\n");const m={};return Object.entries(r).forEach((e=>{let[n,{range:t}]=e;h()(t).forEach((e=>{null!=m[e]||(m[e]=[]),m[e].push(n)}))})),{lineClassNames:m,code:t}}var b={codeBlockContainer:"codeBlockContainer_pqmR"},v=t(966);function N(e){let{as:n,...t}=e;const s=function(e){const n={color:"--prism-color",backgroundColor:"--prism-background-color"},t={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const a=n[s];a&&"string"==typeof o&&(t[a]=o)})),t}(d());return(0,v.jsx)(n,{...t,style:s,className:(0,c.Z)(t.className,b.codeBlockContainer,u.k.common.codeBlock)})}var k={codeBlockContent:"codeBlockContent_qIvM",codeBlockTitle:"codeBlockTitle_d1g5",codeBlock:"codeBlock_fX_E",codeBlockStandalone:"codeBlockStandalone_Zx9w",codeBlockLines:"codeBlockLines_Qt9w",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_kJoj",buttonGroup:"buttonGroup_Ux1A"};function y(e){let{children:n,className:t}=e;return(0,v.jsx)(N,{as:"pre",tabIndex:0,className:(0,c.Z)(k.codeBlockStandalone,"thin-scrollbar",t),children:(0,v.jsx)("code",{className:k.codeBlockLines,children:n})})}var C=t(5158);const w={attributes:!0,characterData:!0,childList:!0,subtree:!0};function B(e,n){const[t,o]=(0,s.useState)(),a=(0,s.useCallback)((()=>{var n;o(null==(n=e.current)?void 0:n.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{a()}),[a]),function(e,n,t){void 0===t&&(t=w);const o=(0,C.zX)(n),a=(0,C.Ql)(t);(0,s.useEffect)((()=>{const n=new MutationObserver(o);return e&&n.observe(e,a),()=>n.disconnect()}),[e,o,a])}(t,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(n(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Z=t(8334),L={codeLine:"codeLine_L2TN",codeLineNumber:"codeLineNumber_D4w5",codeLineContent:"codeLineContent_NH88"};function E(e){let{line:n,classNames:t,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===n.length&&"\n"===n[0].content&&(n[0].content="");const i=o({line:n,className:(0,c.Z)(t,s&&L.codeLine)}),r=n.map(((e,n)=>(0,v.jsx)("span",{...a({token:e,key:n})},n)));return(0,v.jsxs)("span",{...i,children:[s?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("span",{className:L.codeLineNumber}),(0,v.jsx)("span",{className:L.codeLineContent,children:r})]}):r,(0,v.jsx)("br",{})]})}var _=t(1207);function T(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function I(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}var z={copyButtonCopied:"copyButtonCopied_dpE0",copyButtonIcons:"copyButtonIcons_Za_O",copyButtonIcon:"copyButtonIcon_INP8",copyButtonSuccessIcon:"copyButtonSuccessIcon_IO9w"};function A(e){let{code:n,className:t}=e;const[o,a]=(0,s.useState)(!1),i=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,n){let{target:t=document.body}=void 0===n?{}:n;if("string"!=typeof e)throw new TypeError("Expected parameter `text` to be a `string`, got `"+typeof e+"`.");const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const a=document.getSelection(),i=a.rangeCount>0&&a.getRangeAt(0);t.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let c=!1;try{c=document.execCommand("copy")}catch{}s.remove(),i&&(a.removeAllRanges(),a.addRange(i)),o&&o.focus()}(n),a(!0),i.current=window.setTimeout((()=>{a(!1)}),1e3)}),[n]);return(0,s.useEffect)((()=>()=>window.clearTimeout(i.current)),[]),(0,v.jsx)("button",{type:"button","aria-label":o?(0,_.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,_.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,_.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.Z)("clean-btn",t,z.copyButton,o&&z.copyButtonCopied),onClick:r,children:(0,v.jsxs)("span",{className:z.copyButtonIcons,"aria-hidden":"true",children:[(0,v.jsx)(T,{className:z.copyButtonIcon}),(0,v.jsx)(I,{className:z.copyButtonSuccessIcon})]})})}function S(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}var M={wordWrapButtonIcon:"wordWrapButtonIcon_IIsw",wordWrapButtonEnabled:"wordWrapButtonEnabled_Eejg"};function H(e){let{className:n,onClick:t,isEnabled:s}=e;const o=(0,_.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,v.jsx)("button",{type:"button",onClick:t,className:(0,c.Z)("clean-btn",n,s&&M.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,v.jsx)(S,{className:M.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){var n;let{children:t,className:o="",metastring:a,title:i,showLineNumbers:r,language:u}=e;const{prism:{defaultLanguage:m,magicComments:h}}=(0,l.L)(),f=function(e){return null==e?void 0:e.toLowerCase()}(null!=(n=null!=u?u:function(e){const n=e.split(" ").find((e=>e.startsWith("language-")));return null==n?void 0:n.replace(/language-/,"")}(o))?n:m),g=d(),x=function(){const[e,n]=(0,s.useState)(!1),[t,o]=(0,s.useState)(!1),a=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const t=a.current.querySelector("code");e?t.removeAttribute("style"):(t.style.whiteSpace="pre-wrap",t.style.overflowWrap="anywhere"),n((e=>!e))}),[a,e]),c=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:n}=a.current,t=e>n||a.current.querySelector("code").hasAttribute("style");o(t)}),[a]);return B(a,c),(0,s.useEffect)((()=>{c()}),[e,c]),(0,s.useEffect)((()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)})),[c]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:t,toggle:i}}(),b=function(e){var n,t;return null!=(n=null==e||null==(t=e.match(p))?void 0:t.groups.title)?n:""}(a)||i,{lineClassNames:y,code:C}=j(t,{metastring:a,language:f,magicComments:h}),w=null!=r?r:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(a);return(0,v.jsxs)(N,{as:"div",className:(0,c.Z)(o,f&&!o.includes("language-"+f)&&"language-"+f),children:[b&&(0,v.jsx)("div",{className:k.codeBlockTitle,children:b}),(0,v.jsxs)("div",{className:k.codeBlockContent,children:[(0,v.jsx)(Z.y$,{theme:g,code:C,language:null!=f?f:"text",children:e=>{let{className:n,style:t,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,v.jsx)("pre",{tabIndex:0,ref:x.codeBlockRef,className:(0,c.Z)(n,k.codeBlock,"thin-scrollbar"),style:t,children:(0,v.jsx)("code",{className:(0,c.Z)(k.codeBlockLines,w&&k.codeBlockLinesWithNumbering),children:s.map(((e,n)=>(0,v.jsx)(E,{line:e,getLineProps:o,getTokenProps:a,classNames:y[n],showLineNumbers:w},n)))})})}}),(0,v.jsxs)("div",{className:k.buttonGroup,children:[(x.isEnabled||x.isCodeScrollable)&&(0,v.jsx)(H,{className:k.codeButton,onClick:()=>x.toggle(),isEnabled:x.isEnabled}),(0,v.jsx)(A,{className:k.codeButton,code:C})]})]})]})}function W(e){let{children:n,...t}=e;const o=(0,i.Z)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(n),c="string"==typeof a?R:y;return(0,v.jsx)(c,{...t,children:a},String(o))}var V=t(3707);var P=t(3663),O={details:"details_KJn4",isBrowser:"isBrowser_Unbb",collapsibleContent:"collapsibleContent_pIWv"};function D(e){return!!e&&("SUMMARY"===e.tagName||D(e.parentElement))}function F(e,n){return!!e&&(e===n||F(e.parentElement,n))}function q(e){let{summary:n,children:t,...o}=e;const a=(0,i.Z)(),r=(0,s.useRef)(null),{collapsed:l,setCollapsed:d}=(0,P.u)({initialState:!o.open}),[u,m]=(0,s.useState)(o.open),h=s.isValidElement(n)?n:(0,v.jsx)("summary",{children:null!=n?n:"Details"});return(0,v.jsxs)("details",{...o,ref:r,open:u,"data-collapsed":l,className:(0,c.Z)(O.details,a&&O.isBrowser,o.className),onMouseDown:e=>{D(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const n=e.target;D(n)&&F(n,r.current)&&(e.preventDefault(),l?(d(!1),m(!0)):d(!0))},children:[h,(0,v.jsx)(P.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,v.jsx)("div",{className:O.collapsibleContent,children:t})})]})}var U={details:"details_Zfkn"};const $="alert alert--info";function G(e){let{...n}=e;return(0,v.jsx)(q,{...n,className:(0,c.Z)($,U.details,n.className)})}function J(e){const n=s.Children.toArray(e.children),t=n.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,v.jsx)(v.Fragment,{children:n.filter((e=>e!==t))});return(0,v.jsx)(G,{...e,summary:t,children:o})}var Q=t(4974);function X(e){return(0,v.jsx)(Q.Z,{...e})}var Y={containsTaskList:"containsTaskList_FA68"};function K(e){if(void 0!==e)return(0,c.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&Y.containsTaskList)}var ee={img:"img_hkHc"};var ne=t(5085);var te={Head:a.Z,details:J,Details:J,code:function(e){return s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))?(0,v.jsx)("code",{...e}):(0,v.jsx)(W,{...e})},a:function(e){return(0,v.jsx)(V.Z,{...e})},pre:function(e){return(0,v.jsx)(v.Fragment,{children:e.children})},ul:function(e){return(0,v.jsx)("ul",{...e,className:K(e.className)})},img:function(e){return(0,v.jsx)("img",{loading:"lazy",...e,className:(n=e.className,(0,c.Z)(n,ee.img))});var n},h1:e=>(0,v.jsx)(X,{as:"h1",...e}),h2:e=>(0,v.jsx)(X,{as:"h2",...e}),h3:e=>(0,v.jsx)(X,{as:"h3",...e}),h4:e=>(0,v.jsx)(X,{as:"h4",...e}),h5:e=>(0,v.jsx)(X,{as:"h5",...e}),h6:e=>(0,v.jsx)(X,{as:"h6",...e}),admonition:ne.Z,mermaid:()=>null};function se(e){let{children:n}=e;return(0,v.jsx)(o.Z,{components:te,children:n})}},1554:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});t(3900);var s=t(7515),o=t(3707),a=t(966);function i(e){const{permalink:n,title:t,subLabel:i,isNext:c}=e;return(0,a.jsxs)(o.Z,{className:(0,s.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[i&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,a.jsx)("div",{className:"pagination-nav__label",children:t})]})}},1254:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});t(3900);var s=t(7515),o=t(3707),a={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},i=t(966);function c(e){let{permalink:n,label:t,count:c}=e;return(0,i.jsxs)(o.Z,{href:n,className:(0,s.Z)(a.tag,c?a.tagWithCount:a.tagRegular),children:[t,c&&(0,i.jsx)("span",{children:c})]})}},3714:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});t(3900);var s=t(7515),o=t(1207),a=t(1254),i={tags:"tags_e_7e",tag:"tag_YEUc"},c=t(966);function r(e){let{tags:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("b",{children:(0,c.jsx)(o.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,c.jsx)("ul",{className:(0,s.Z)(i.tags,"padding--none","margin-left--sm"),children:n.map((e=>{let{label:n,permalink:t}=e;return(0,c.jsx)("li",{className:i.tag,children:(0,c.jsx)(a.Z,{label:n,permalink:t})},t)}))})]})}},8485:function(e,n){function t(e){let n,t=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))t.push(parseInt(s,10));else if(n=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,a]=n;if(s&&a){s=parseInt(s),a=parseInt(a);const e=s<a?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(a+=e);for(let n=s;n!==a;n+=e)t.push(n)}}return t}n.default=t,e.exports=t},1015:function(e,n,t){"use strict";t.d(n,{Z:function(){return c},a:function(){return i}});var s=t(3900);const o={},a=s.createContext(o);function i(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/269baefd.37c3e0a6.js b/zh-CN/assets/js/269baefd.37c3e0a6.js new file mode 100644 index 00000000..8140a708 --- /dev/null +++ b/zh-CN/assets/js/269baefd.37c3e0a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8611],{1112:function(n,e,t){t.r(e),t.d(e,{Highlight:function(){return d},assets:function(){return u},contentTitle:function(){return c},default:function(){return m},frontMatter:function(){return s},metadata:function(){return i},toc:function(){return a}});var r=t(966),o=t(1015);const s={id:"mdx",title:"Powered by MDX"},c=void 0,i={id:"mdx",title:"Powered by MDX",description:"You can write JSX and use React components within your Markdown thanks to MDX.",source:"@site/versioned_docs/version-1.0.0/mdx.mdx",sourceDirName:".",slug:"/mdx",permalink:"/docusaurus-search-local/zh-CN/docs/mdx",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/mdx.mdx",tags:[],version:"1.0.0",frontMatter:{id:"mdx",title:"Powered by MDX"},sidebar:"someSidebar",previous:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/zh-CN/docs/doc3"}},u={},a=[],d=({children:n,color:e})=>{const t={span:"span",...(0,o.a)()};return(0,r.jsx)(t.span,{style:{backgroundColor:e,borderRadius:"2px",color:"#fff",padding:"0.2rem"},children:n})};function l(n){const e={a:"a",em:"em",p:"p",strong:"strong",...(0,o.a)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["You can write JSX and use React components within your Markdown thanks to ",(0,r.jsx)(e.a,{href:"https://mdxjs.com/",children:"MDX"}),"."]}),"\n","\n",(0,r.jsxs)(e.p,{children:[(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," and ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," are my favorite colors."]}),"\n",(0,r.jsxs)(e.p,{children:["I can write ",(0,r.jsx)(e.strong,{children:"Markdown"})," alongside my ",(0,r.jsx)(e.em,{children:"JSX"}),"!"]})]})}function m(n={}){const{wrapper:e}={...(0,o.a)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(l,{...n})}):l(n)}},1015:function(n,e,t){t.d(e,{Z:function(){return i},a:function(){return c}});var r=t(3900);const o={},s=r.createContext(o);function c(n){const e=r.useContext(s);return r.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:c(n.components),r.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/2868cdab.b634483f.js b/zh-CN/assets/js/2868cdab.b634483f.js new file mode 100644 index 00000000..034db3fa --- /dev/null +++ b/zh-CN/assets/js/2868cdab.b634483f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4061],{6586:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/zh-CN/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"2019\u5e745\u670830\u65e5",tags:[{label:"facebook",permalink:"/docusaurus-search-local/zh-CN/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-CN/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/2c35b12a.a8069929.js b/zh-CN/assets/js/2c35b12a.a8069929.js new file mode 100644 index 00000000..6cf59dce --- /dev/null +++ b/zh-CN/assets/js/2c35b12a.a8069929.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2576],{6656:function(s){s.exports=JSON.parse('{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus","allTagsPath":"/docusaurus-search-local/zh-CN/blog/tags","count":3,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/2d4a562c.a7d6c28d.js b/zh-CN/assets/js/2d4a562c.a7d6c28d.js new file mode 100644 index 00000000..34285788 --- /dev/null +++ b/zh-CN/assets/js/2d4a562c.a7d6c28d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9508],{5987:function(s){s.exports=JSON.parse('{"label":"Keywords","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/keywords","allTagsPath":"/docusaurus-search-local/zh-CN/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-CN/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/2f7d3f5d.b999c3dd.js b/zh-CN/assets/js/2f7d3f5d.b999c3dd.js new file mode 100644 index 00000000..b607ff77 --- /dev/null +++ b/zh-CN/assets/js/2f7d3f5d.b999c3dd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5019],{9722:function(a){a.exports=JSON.parse('[{"label":"facebook","permalink":"/docusaurus-search-local/zh-CN/blog/tags/facebook","count":1},{"label":"hello","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hello","count":2},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus","count":3},{"label":"hola","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hola","count":1}]')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/337aaa52.46e2bceb.js b/zh-CN/assets/js/337aaa52.46e2bceb.js new file mode 100644 index 00000000..9f6f6a45 --- /dev/null +++ b/zh-CN/assets/js/337aaa52.46e2bceb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4854],{4937:function(t,n,e){e.r(n),e.d(n,{assets:function(){return c},contentTitle:function(){return r},default:function(){return a},frontMatter:function(){return i},metadata:function(){return u},toc:function(){return d}});var s=e(966),o=e(1015);const i={unlisted:!0},r="Unlisted Post",u={id:"unlisted-post",title:"Unlisted Post",description:'This unlisted blog post should be "hidden" in production, but remain accessible.',source:"@site/docs/unlisted-post.md",sourceDirName:".",slug:"/unlisted-post",permalink:"/docusaurus-search-local/zh-CN/docs/next/unlisted-post",draft:!1,unlisted:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/unlisted-post.md",tags:[],version:"current",frontMatter:{unlisted:!0},sidebar:"tutorialSidebar"},c={},d=[];function l(t){const n={h1:"h1",p:"p",...(0,o.a)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"unlisted-post",children:"Unlisted Post"}),"\n",(0,s.jsx)(n.p,{children:'This unlisted blog post should be "hidden" in production, but remain accessible.'}),"\n",(0,s.jsx)(n.p,{children:"It is filtered from the sidebar, sitemap, SEO indexation..."})]})}function a(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,s.jsx)(n,{...t,children:(0,s.jsx)(l,{...t})}):l(t)}},1015:function(t,n,e){e.d(n,{Z:function(){return u},a:function(){return r}});var s=e(3900);const o={},i=s.createContext(o);function r(t){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function u(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:r(t.components),s.createElement(i.Provider,{value:n},t.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/3570154c.a5477d15.js b/zh-CN/assets/js/3570154c.a5477d15.js new file mode 100644 index 00000000..e351064c --- /dev/null +++ b/zh-CN/assets/js/3570154c.a5477d15.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3707],{98:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return n},default:function(){return h},frontMatter:function(){return a},metadata:function(){return s},toc:function(){return c}});var u=o(966),r=o(1015);const a={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},n=void 0,s={permalink:"/docusaurus-search-local/zh-CN/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"2019\u5e745\u670829\u65e5",tags:[{label:"hello",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-CN/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/zh-CN/blog/hola"}},l={authorsImageUrls:[void 0]},c=[];function i(t){const e={a:"a",p:"p",strong:"strong",...(0,r.a)(),...t.components};return(0,u.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,u.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,u.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]})}function h(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(i,{...t})}):i(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return s},a:function(){return n}});var u=o(3900);const r={},a=u.createContext(r);function n(t){const e=u.useContext(a);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:n(t.components),u.createElement(a.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/3720c009.696eeede.js b/zh-CN/assets/js/3720c009.696eeede.js new file mode 100644 index 00000000..a015812a --- /dev/null +++ b/zh-CN/assets/js/3720c009.696eeede.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3751],{3821:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});n(3900);var a=n(7515),s=n(4181),r=n(8512),l=n(2678),i=n(5123),c=n(3806),u=n(4974),o=n(966);function g(t){let{title:e}=t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.d,{title:e}),(0,o.jsx)(c.Z,{tag:"doc_tags_list"})]})}function h(t){let{tags:e,title:n}=t;return(0,o.jsx)(s.FG,{className:(0,a.Z)(r.k.page.docsTagsListPage),children:(0,o.jsx)("div",{className:"container margin-vert--lg",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,o.jsx)(u.Z,{as:"h1",children:n}),(0,o.jsx)(i.Z,{tags:e})]})})})})}function d(t){const e=(0,l.M)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...t,title:e}),(0,o.jsx)(h,{...t,title:e})]})}},1254:function(t,e,n){n.d(e,{Z:function(){return i}});n(3900);var a=n(7515),s=n(3707),r={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},l=n(966);function i(t){let{permalink:e,label:n,count:i}=t;return(0,l.jsxs)(s.Z,{href:e,className:(0,a.Z)(r.tag,i?r.tagWithCount:r.tagRegular),children:[n,i&&(0,l.jsx)("span",{children:i})]})}},5123:function(t,e,n){n.d(e,{Z:function(){return u}});n(3900);var a=n(2678),s=n(1254),r=n(4974),l={tag:"tag_BmfI"},i=n(966);function c(t){let{letterEntry:e}=t;return(0,i.jsxs)("article",{children:[(0,i.jsx)(r.Z,{as:"h2",id:e.letter,children:e.letter}),(0,i.jsx)("ul",{className:"padding--none",children:e.tags.map((t=>(0,i.jsx)("li",{className:l.tag,children:(0,i.jsx)(s.Z,{...t})},t.permalink)))}),(0,i.jsx)("hr",{})]})}function u(t){let{tags:e}=t;const n=(0,a.P)(e);return(0,i.jsx)("section",{className:"margin-vert--lg",children:n.map((t=>(0,i.jsx)(c,{letterEntry:t},t.letter)))})}},2678:function(t,e,n){n.d(e,{M:function(){return s},P:function(){return r}});var a=n(1207);const s=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function r(t){const e={};return Object.values(t).forEach((t=>{const n=function(t){return t[0].toUpperCase()}(t.label);null!=e[n]||(e[n]=[]),e[n].push(t)})),Object.entries(e).sort(((t,e)=>{let[n]=t,[a]=e;return n.localeCompare(a)})).map((t=>{let[e,n]=t;return{letter:e,tags:n.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/373b13ca.9ba2b46e.js b/zh-CN/assets/js/373b13ca.9ba2b46e.js new file mode 100644 index 00000000..2f03cf57 --- /dev/null +++ b/zh-CN/assets/js/373b13ca.9ba2b46e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9985],{8321:function(s){s.exports=JSON.parse('{"label":"facebook","permalink":"/docusaurus-search-local/zh-CN/blog/tags/facebook","allTagsPath":"/docusaurus-search-local/zh-CN/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/3a35335b.8f4f0fbd.js b/zh-CN/assets/js/3a35335b.8f4f0fbd.js new file mode 100644 index 00000000..9428b6fc --- /dev/null +++ b/zh-CN/assets/js/3a35335b.8f4f0fbd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5322],{9679:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"2019\u5e746\u670815\u65e5",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-CN/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/4712f575.b4e8dbf1.js b/zh-CN/assets/js/4712f575.b4e8dbf1.js new file mode 100644 index 00000000..0f51e539 --- /dev/null +++ b/zh-CN/assets/js/4712f575.b4e8dbf1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4963],{6955:function(s){s.exports=JSON.parse('{"label":"hola","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hola","allTagsPath":"/docusaurus-search-local/zh-CN/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/5130.49147aff.js b/zh-CN/assets/js/5130.49147aff.js new file mode 100644 index 00000000..8fe55b7f --- /dev/null +++ b/zh-CN/assets/js/5130.49147aff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5130],{1809:function(e,t,r){r.d(t,{Z:function(){return j}});var s=r(3900),n=r(7515),a=r(2786),l=r(879),i=r(3707),o=r(1207),c=r(382),m=r(4064);function u(e){const{pathname:t}=(0,c.TH)();return(0,s.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var d={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},h=r(966);function g(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,n.Z)(d.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,n.Z)(d.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,n.Z)(d.sidebarItemList,"clean-list"),children:r.map((e=>(0,h.jsx)("li",{className:d.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:d.sidebarItemLink,activeClassName:d.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=r(3943);function x(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:r.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function f(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const r=(0,l.i)();return null!=t&&t.items.length?"mobile"===r?(0,h.jsx)(f,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function j(e){const{sidebar:t,toc:r,children:s,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(a.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,n.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:s}),r&&(0,h.jsx)("div",{className:"col col--2",children:r})]})})})}},87:function(e,t,r){r.d(t,{Z:function(){return y}});r(3900);var s=r(7515),n=r(7138),a=r(3373),l=r(966);function i(e){var t,r;let{children:s,className:i}=e;const{frontMatter:o,assets:c,metadata:{description:m}}=(0,n.C)(),{withBaseUrl:u}=(0,a.C)(),d=null!=(t=c.image)?t:o.image,h=null!=(r=o.keywords)?r:[];return(0,l.jsxs)("article",{className:i,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[m&&(0,l.jsx)("meta",{itemProp:"description",content:m}),d&&(0,l.jsx)("link",{itemProp:"image",href:u(d,{absolute:!0})}),h.length>0&&(0,l.jsx)("meta",{itemProp:"keywords",content:h.join(",")}),s]})}var o=r(3707),c={title:"title_LFnH"};function m(e){let{className:t}=e;const{metadata:r,isBlogPostPage:a}=(0,n.C)(),{permalink:i,title:m}=r,u=a?"h1":"h2";return(0,l.jsx)(u,{className:(0,s.Z)(c.title,t),itemProp:"headline",children:a?m:(0,l.jsx)(o.Z,{itemProp:"url",to:i,children:m})})}var u=r(1207),d=r(960),h={container:"container_W46p"};function g(e){let{readingTime:t}=e;const r=function(){const{selectMessage:e}=(0,d.c)();return t=>{const r=Math.ceil(t);return e(r,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return(0,l.jsx)(l.Fragment,{children:r(t)})}function p(e){let{date:t,formattedDate:r}=e;return(0,l.jsx)("time",{dateTime:t,itemProp:"datePublished",children:r})}function x(){return(0,l.jsx)(l.Fragment,{children:" \xb7 "})}function f(e){let{className:t}=e;const{metadata:r}=(0,n.C)(),{date:a,formattedDate:i,readingTime:o}=r;return(0,l.jsxs)("div",{className:(0,s.Z)(h.container,"margin-vert--md",t),children:[(0,l.jsx)(p,{date:a,formattedDate:i}),void 0!==o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(x,{}),(0,l.jsx)(g,{readingTime:o})]})]})}function b(e){return e.href?(0,l.jsx)(o.Z,{...e}):(0,l.jsx)(l.Fragment,{children:e.children})}function j(e){let{author:t,className:r}=e;const{name:n,title:a,url:i,imageURL:o,email:c}=t,m=i||c&&"mailto:"+c||void 0;return(0,l.jsxs)("div",{className:(0,s.Z)("avatar margin-bottom--sm",r),children:[o&&(0,l.jsx)(b,{href:m,className:"avatar__photo-link",children:(0,l.jsx)("img",{className:"avatar__photo",src:o,alt:n,itemProp:"image"})}),n&&(0,l.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,l.jsx)("div",{className:"avatar__name",children:(0,l.jsx)(b,{href:m,itemProp:"url",children:(0,l.jsx)("span",{itemProp:"name",children:n})})}),a&&(0,l.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:a})]})]})}var v={authorCol:"authorCol_L2ln",imageOnlyAuthorRow:"imageOnlyAuthorRow_pXm5",imageOnlyAuthorCol:"imageOnlyAuthorCol_IIuY"};function P(e){let{className:t}=e;const{metadata:{authors:r},assets:a}=(0,n.C)();if(0===r.length)return null;const i=r.every((e=>{let{name:t}=e;return!t}));return(0,l.jsx)("div",{className:(0,s.Z)("margin-top--md margin-bottom--sm",i?v.imageOnlyAuthorRow:"row",t),children:r.map(((e,t)=>{var r;return(0,l.jsx)("div",{className:(0,s.Z)(!i&&"col col--6",i?v.imageOnlyAuthorCol:v.authorCol),children:(0,l.jsx)(j,{author:{...e,imageURL:null!=(r=a.authorsImageUrls[t])?r:e.imageURL}})},t)}))})}function N(){return(0,l.jsxs)("header",{children:[(0,l.jsx)(m,{}),(0,l.jsx)(f,{}),(0,l.jsx)(P,{})]})}var _=r(181),k=r(4265);function Z(e){let{children:t,className:r}=e;const{isBlogPostPage:a}=(0,n.C)();return(0,l.jsx)("div",{id:a?_.blogPostContainerID:void 0,className:(0,s.Z)("markdown",r),itemProp:"articleBody",children:(0,l.jsx)(k.Z,{children:t})})}var I=r(8427),w=r(3714);function C(){return(0,l.jsx)("b",{children:(0,l.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function T(e){const{blogPostTitle:t,...r}=e;return(0,l.jsx)(o.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...r,children:(0,l.jsx)(C,{})})}var F={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_DBmw"};function L(){const{metadata:e,isBlogPostPage:t}=(0,n.C)(),{tags:r,title:a,editUrl:i,hasTruncateMarker:o}=e,c=!t&&o,m=r.length>0;return m||c||i?(0,l.jsxs)("footer",{className:(0,s.Z)("row docusaurus-mt-lg",t&&F.blogPostFooterDetailsFull),children:[m&&(0,l.jsx)("div",{className:(0,s.Z)("col",{"col--9":c}),children:(0,l.jsx)(w.Z,{tags:r})}),t&&i&&(0,l.jsx)("div",{className:"col margin-top--sm",children:(0,l.jsx)(I.Z,{editUrl:i})}),c&&(0,l.jsx)("div",{className:(0,s.Z)("col text--right",{"col--3":m}),children:(0,l.jsx)(T,{blogPostTitle:a,to:e.permalink})})]}):null}function y(e){let{children:t,className:r}=e;const a=function(){const{isBlogPostPage:e}=(0,n.C)();return e?void 0:"margin-bottom--xl"}();return(0,l.jsxs)(i,{className:(0,s.Z)(a,r),children:[(0,l.jsx)(N,{}),(0,l.jsx)(Z,{children:t}),(0,l.jsx)(L,{})]})}},7138:function(e,t,r){r.d(t,{C:function(){return o},n:function(){return i}});var s=r(3900),n=r(5158),a=r(966);const l=s.createContext(null);function i(e){let{children:t,content:r,isBlogPostPage:n=!1}=e;const i=function(e){let{content:t,isBlogPostPage:r}=e;return(0,s.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:r})),[t,r])}({content:r,isBlogPostPage:n});return(0,a.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,s.useContext)(l);if(null===e)throw new n.i6("BlogPostProvider");return e}},960:function(e,t,r){r.d(t,{c:function(){return c}});var s=r(3900),n=r(2442);const a=["zero","one","two","few","many","other"];function l(e){return a.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:l(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 the default (English) implementation.\nError: '+t.message+"\n"),i}}),[e])}function c(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const n=r.select(t),a=r.pluralForms.indexOf(n);return s[Math.min(a,s.length-1)]}(r,t,e)}}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/51ef9f3a.14525a5d.js b/zh-CN/assets/js/51ef9f3a.14525a5d.js new file mode 100644 index 00000000..cb3e5488 --- /dev/null +++ b/zh-CN/assets/js/51ef9f3a.14525a5d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3715],{2009:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-CN/blog/tags/docusaurus","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/533a09ca.00d21cff.js b/zh-CN/assets/js/533a09ca.00d21cff.js new file mode 100644 index 00000000..4e774b03 --- /dev/null +++ b/zh-CN/assets/js/533a09ca.00d21cff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4607],{3089:function(e,t,s){s.r(t),s.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var r=s(966),n=s(1015);const o={sidebar_position:3},a="Create a Blog Post",i={id:"tutorial-basics/create-a-blog-post",title:"Create a Blog Post",description:"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...",source:"@site/docs/tutorial-basics/create-a-blog-post.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-blog-post",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-blog-post.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Create a Document",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document"},next:{title:"Markdown Features",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features"}},c={},u=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"}),"\n",(0,r.jsxs)(t.p,{children:["Docusaurus creates a ",(0,r.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,r.jsx)(t.strong,{children:"blog index page"}),", a ",(0,r.jsx)(t.strong,{children:"tag system"}),", an ",(0,r.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,r.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,r.jsxs)(t.p,{children:["Create a file at ",(0,r.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much you like.\n"})}),"\n",(0,r.jsxs)(t.p,{children:["A new blog post is now available at ",(0,r.jsx)(t.code,{children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1015:function(e,t,s){s.d(t,{Z:function(){return i},a:function(){return a}});var r=s(3900);const n={},o=r.createContext(n);function a(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/55526312.f23704d4.js b/zh-CN/assets/js/55526312.f23704d4.js new file mode 100644 index 00000000..52e533a2 --- /dev/null +++ b/zh-CN/assets/js/55526312.f23704d4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3408],{3321:function(e,t,n){n.r(t),n.d(t,{assets:function(){return u},contentTitle:function(){return s},default:function(){return l},frontMatter:function(){return c},metadata:function(){return i},toc:function(){return a}});var o=n(966),r=n(1015);const c={id:"doc2",title:"Document Number 2"},s=void 0,i={id:"doc2",title:"Document Number 2",description:"This is a link to another document. This is a link to an external page.",source:"@site/versioned_docs/version-1.0.0/doc2.md",sourceDirName:".",slug:"/doc2",permalink:"/docusaurus-search-local/zh-CN/docs/doc2",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc2.md",tags:[],version:"1.0.0",frontMatter:{id:"doc2",title:"Document Number 2"},sidebar:"someSidebar",previous:{title:"Style Guide",permalink:"/docusaurus-search-local/zh-CN/docs/"},next:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/zh-CN/docs/doc3"}},u={},a=[];function d(e){const t={a:"a",p:"p",...(0,r.a)(),...e.components};return(0,o.jsxs)(t.p,{children:["This is a link to ",(0,o.jsx)(t.a,{href:"/docusaurus-search-local/zh-CN/docs/doc3",children:"another document."})," This is a link to an ",(0,o.jsx)(t.a,{href:"http://www.example.com/",children:"external page."})]})}function l(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return s}});var o=n(3900);const r={},c=o.createContext(r);function s(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/55960ee5.a07e7829.js b/zh-CN/assets/js/55960ee5.a07e7829.js new file mode 100644 index 00000000..4d17dec9 --- /dev/null +++ b/zh-CN/assets/js/55960ee5.a07e7829.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4121],{8070:function(e){e.exports=JSON.parse('[{"label":"Test","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/test","count":1},{"label":"Keywords","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/keywords","count":1},{"label":"Front matter","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/front-matter","count":1}]')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/5920.83d9a30f.js b/zh-CN/assets/js/5920.83d9a30f.js new file mode 100644 index 00000000..855d8373 --- /dev/null +++ b/zh-CN/assets/js/5920.83d9a30f.js @@ -0,0 +1,2 @@ +/*! For license information please see 5920.83d9a30f.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5920],{5920:function(t,e,n){"use strict";t.exports=n(1251)},3765:function(t,e,n){"use strict";var i=n(4632),s={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(s.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&i.isMsie()<=7&&i.mixin(s.input,{marginTop:"-1px"}),t.exports=s},100:function(t,e,n){"use strict";var i="aaDataset",s="aaValue",r="aaDatum",o=n(4632),a=n(9446),u=n(9928),c=n(3765),l=n(1649);function h(t){var e;(t=t||{}).templates=t.templates||{},t.source||o.error("missing source"),t.name&&(e=t.name,!/^[_a-zA-Z0-9-]+$/.test(e))&&o.error("invalid dataset name: "+t.name),this.query=null,this._isEmpty=!0,this.highlight=!!t.highlight,this.name=void 0===t.name||null===t.name?o.getUniqueId():t.name,this.source=t.source,this.displayFn=function(t){return t=t||"value",o.isFunction(t)?t:e;function e(e){return e[t]}}(t.display||t.displayKey),this.debounce=t.debounce,this.cache=!1!==t.cache,this.templates=function(t,e){return{empty:t.empty&&o.templatify(t.empty),header:t.header&&o.templatify(t.header),footer:t.footer&&o.templatify(t.footer),suggestion:t.suggestion||n};function n(t){return"<p>"+e(t)+"</p>"}}(t.templates,this.displayFn),this.css=o.mixin({},c,t.appendTo?c.appendTo:{}),this.cssClasses=t.cssClasses=o.mixin({},c.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var n=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=t.$menu&&t.$menu.find(n+"-"+this.name).length>0?a.element(t.$menu.find(n+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=t.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(t){return a.element(t).data(i)},h.extractValue=function(t){return a.element(t).data(s)},h.extractDatum=function(t){var e=a.element(t).data(r);return"string"==typeof e&&(e=JSON.parse(e)),e},o.mixin(h.prototype,l,{_render:function(t,e){if(this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=e&&e.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!0}].concat(e),c.templates.empty.apply(this,e)}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html(function(){var t,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return t=a.element(p).css(this.css.suggestions),n=o.map(e,f),t.append.apply(t,n),t;function f(t){var e,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(e=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[t].concat(l)))).data(i,c.name),e.data(s,c.displayFn(t)||void 0),e.data(r,JSON.stringify(t)),e.children().each((function(){a.element(this).css(h.css.suggestionChild)})),e}}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(e&&!Array.isArray(e))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",t)}function h(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.header.apply(this,e)}function p(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.footer.apply(this,e)}},getRoot:function(){return this.$el},update:function(t){function e(e){if(!this.canceled&&t===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(t,e,n),this._render.apply(this,[t,e].concat(n))}}if(this.query=t,this.canceled=!1,this.shouldFetchFromCache(t))e.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(t,e.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){n.debounceTimeout=null,i()}),this.debounce)}else i()}},cacheSuggestions:function(t,e,n){this.cachedQuery=t,this.cachedSuggestions=e,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(t){return this.cache&&this.cachedQuery===t&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),t.exports=h},4410:function(t,e,n){"use strict";var i=n(4632),s=n(9446),r=n(1649),o=n(100),a=n(3765);function u(t){var e,n,r,o=this;(t=t||{}).menu||i.error("menu is required"),i.isArray(t.datasets)||i.isObject(t.datasets)||i.error("1 or more datasets required"),t.datasets||i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=t.minLength||0,this.templates={},this.appendTo=t.appendTo||!1,this.css=i.mixin({},a,t.appendTo?a.appendTo:{}),this.cssClasses=t.cssClasses=i.mixin({},a.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),e=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),r=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=s.element(t.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,r).on("click.aa",c,e),this.$container=t.appendTo?t.wrapper:this.$menu,t.templates&&t.templates.header&&(this.templates.header=i.templatify(t.templates.header),this.$menu.prepend(this.templates.header())),t.templates&&t.templates.empty&&(this.templates.empty=i.templatify(t.templates.empty),this.$empty=s.element('<div class="'+i.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(t.datasets,(function(e){return function(t,e,n){return new u.Dataset(i.mixin({$menu:t,cssClasses:n},e))}(o.$menu,e,t.cssClasses)})),i.each(this.datasets,(function(t){var e=t.getRoot();e&&0===e.parent().length&&o.$menu.append(e),t.onSync("rendered",o._onRendered,o)})),t.templates&&t.templates.footer&&(this.templates.footer=i.templatify(t.templates.footer),this.$menu.append(this.templates.footer()));var l=this;s.element(window).resize((function(){l._redraw()}))}i.mixin(u.prototype,r,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",s.element(t.currentTarget))},_onSuggestionMouseEnter:function(t){var e=s.element(t.currentTarget);if(!e.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout((function(){n._setCursor(e,!1)}),0)}},_onSuggestionMouseLeave:function(t){if(t.relatedTarget&&s.element(t.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(t,e){if(this.isEmpty=i.every(this.datasets,(function(t){return t.isEmpty()})),this.isEmpty)if(e.length>=this.minLength&&this.trigger("empty"),this.$empty)if(e.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else i.any(this.datasets,(function(t){return t.templates&&t.templates.empty}))?e.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),e.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(t,e){t.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",e)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(t){var e,n,i,s;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(s=e.eq(i),!0),this._ensureVisible(s)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,s;n=(e=t.position().top)+t.height()+parseInt(t.css("margin-top"),10)+parseInt(t.css("margin-bottom"),10),i=this.$menu.scrollTop(),s=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),e<0?this.$menu.scrollTop(i+e):s<n&&this.$menu.scrollTop(i+(n-s))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:o.extractDatum(t),value:o.extractValue(t),datasetName:o.extractDatasetName(t)}),e},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(t){i.each(this.datasets,(function(e){e.update(t)}))},empty:function(){i.each(this.datasets,(function(t){t.clear()})),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,i.each(this.datasets,(function(t){t.destroy()}))}}),u.Dataset=o,t.exports=u},8142:function(t,e,n){"use strict";var i=n(4632),s=n(9446);function r(t){t&&t.el||i.error("EventBus initialized without el"),this.$el=s.element(t.el)}i.mixin(r.prototype,{trigger:function(t,e,n,s){var r=i.Event("autocomplete:"+t);return this.$el.trigger(r,[e,n,s]),r}}),t.exports=r},1649:function(t,e,n){"use strict";var i=n(5818),s=/\s+/;function r(t,e,n,i){var r;if(!n)return this;for(e=e.split(s),n=i?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};r=e.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][t].push(n);return this}function o(t,e,n){return function(){for(var i,s=0,r=t.length;!i&&s<r;s+=1)i=!1===t[s].apply(e,n);return!i}}t.exports={onSync:function(t,e,n){return r.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return r.call(this,"async",t,e,n)},off:function(t){var e;if(!this._callbacks)return this;t=t.split(s);for(;e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,r,a,u;if(!this._callbacks)return this;t=t.split(s),r=[].slice.call(arguments,1);for(;(e=t.shift())&&(n=this._callbacks[e]);)a=o(n.sync,this,[e].concat(r)),u=o(n.async,this,[e].concat(r)),a()&&i(u);return this}}},9928:function(t){"use strict";t.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},3236:function(t,e,n){"use strict";var i;i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var s=n(4632),r=n(9446),o=n(1649);function a(t){var e,n,o,a,u,c=this;(t=t||{}).input||s.error("input is missing"),e=s.bind(this._onBlur,this),n=s.bind(this._onFocus,this),o=s.bind(this._onKeydown,this),a=s.bind(this._onInput,this),this.$hint=r.element(t.hint),this.$input=r.element(t.input).on("blur.aa",e).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=s.noop),s.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",(function(t){i[t.which||t.keyCode]||s.defer(s.bind(c._onInput,c,t))})):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,r.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}function u(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}a.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},s.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=i[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,s;switch(t){case"tab":i=this.getHint(),s=this.getInputValue(),n=i&&i!==s&&!u(e);break;case"up":case"down":n=!u(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;if("tab"===t)n=!u(e);else n=!0;return n},_checkInputValue:function(){var t,e,n,i,s;t=this.getInputValue(),i=t,s=this.query,n=!(!(e=a.normalizeQuery(i)===a.normalizeQuery(s))||!this.query)&&this.query.length!==t.length,this.query=t,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){void 0===t&&(t=this.query),this.$input.val(t),e?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(t){this.$input.attr("aria-activedescendant",t)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),""!==t&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,e,n;return t=this.$input.val().length,e=this.$input[0].selectionStart,s.isNumber(e)?e===t:!document.selection||((n=document.selection.createRange()).moveStart("character",-t),t===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),t.exports=a},9487:function(t,e,n){"use strict";var i="aaAttrs",s=n(4632),r=n(9446),o=n(8142),a=n(3236),u=n(4410),c=n(9928),l=n(3765);function h(t){var e,n;if((t=t||{}).input||s.error("missing input"),this.isActivated=!1,this.debug=!!t.debug,this.autoselect=!!t.autoselect,this.autoselectOnBlur=!!t.autoselectOnBlur,this.openOnFocus=!!t.openOnFocus,this.minLength=s.isNumber(t.minLength)?t.minLength:1,this.autoWidth=void 0===t.autoWidth||!!t.autoWidth,this.clearOnSelected=!!t.clearOnSelected,this.tabAutocomplete=void 0===t.tabAutocomplete||!!t.tabAutocomplete,t.hint=!!t.hint,t.hint&&t.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=t.css=s.mixin({},l,t.appendTo?l.appendTo:{}),this.cssClasses=t.cssClasses=s.mixin({},l.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix=s.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=t.listboxId=[this.cssClasses.root,"listbox",s.getUniqueId()].join("-");var a=function(t){var e,n,o,a;e=r.element(t.input),n=r.element(c.wrapper.replace("%ROOT%",t.cssClasses.root)).css(t.css.wrapper),t.appendTo||"block"!==e.css("display")||"table"!==e.parent().css("display")||n.css("display","table-cell");var u=c.dropdown.replace("%PREFIX%",t.cssClasses.prefix).replace("%DROPDOWN_MENU%",t.cssClasses.dropdownMenu);o=r.element(u).css(t.css.dropdown).attr({role:"listbox",id:t.listboxId}),t.templates&&t.templates.dropdownMenu&&o.html(s.templatify(t.templates.dropdownMenu)());a=e.clone().css(t.css.hint).css(function(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}(e)),a.val("").addClass(s.className(t.cssClasses.prefix,t.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData();e.data(i,{"aria-autocomplete":e.attr("aria-autocomplete"),"aria-expanded":e.attr("aria-expanded"),"aria-owns":e.attr("aria-owns"),autocomplete:e.attr("autocomplete"),dir:e.attr("dir"),role:e.attr("role"),spellcheck:e.attr("spellcheck"),style:e.attr("style"),type:e.attr("type")}),e.addClass(s.className(t.cssClasses.prefix,t.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":t.datasets&&t.datasets[0]&&t.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":t.ariaLabel,"aria-owns":t.listboxId}).css(t.hint?t.css.input:t.css.inputWithNoHint);try{e.attr("dir")||e.attr("dir","auto")}catch(l){}return n=t.appendTo?n.appendTo(r.element(t.appendTo).eq(0)).eq(0):e.wrap(n).parent(),n.prepend(t.hint?a:null).append(o),{wrapper:n,input:e,hint:a,menu:o}}(t);this.$node=a.wrapper;var u=this.$input=a.input;e=a.menu,n=a.hint,t.dropdownMenuContainer&&r.element(t.dropdownMenuContainer).css("position","relative").append(e.css("top","0")),u.on("blur.aa",(function(t){var n=document.activeElement;s.isMsie()&&(e[0]===n||e[0].contains(n))&&(t.preventDefault(),t.stopImmediatePropagation(),s.defer((function(){u.focus()})))})),e.on("mousedown.aa",(function(t){t.preventDefault()})),this.eventBus=t.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:t.appendTo,wrapper:this.$node,menu:e,datasets:t.datasets,templates:t.templates,cssClasses:t.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(t),this._setLanguageDirection()}s.mixin(h.prototype,{_bindKeyboardShortcuts:function(t){if(t.keyboardShortcuts){var e=this.$input,n=[];s.each(t.keyboardShortcuts,(function(t){"string"==typeof t&&(t=t.toUpperCase().charCodeAt(0)),n.push(t)})),r.element(document).keydown((function(t){var i=t.target||t.srcElement,s=i.tagName;if(!i.isContentEditable&&"INPUT"!==s&&"SELECT"!==s&&"TEXTAREA"!==s){var r=t.which||t.keyCode;-1!==n.indexOf(r)&&(e.focus(),t.stopPropagation(),t.preventDefault())}}))}},_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(t,e){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(e&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var t=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",t.width+"px");var e=this.$node[0].getBoundingClientRect(),n=t.bottom-e.top;this.$node.css("top",n+"px");var i=t.left-e.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var t=this.input.getQuery();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var t,e;t=this.dropdown.getDatumForCursor(),e=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&t?this._select(t,n):this.autoselectOnBlur&&e?this._select(e,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var s={selectionMethod:"enterKey"};n?(this._select(n,s),e.preventDefault()):this.autoselect&&i&&(this._select(i,s),e.preventDefault())},_onTabKeyed:function(t,e){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),e.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t=this.input.getLanguageDirection();this.dir!==t&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,e,n,i,r;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(e=this.input.getInputValue(),n=a.normalizeQuery(e),i=s.escapeRegExChars(n),(r=new RegExp("^(?:"+i+")(.+$)","i").exec(t.value))?this.input.setHint(e+r[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,i,s;e=this.input.getHint(),n=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),e&&n!==e&&i&&((s=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(s.value),this.eventBus.trigger("autocompleted",s.raw,s.datasetName))},_select:function(t,e){void 0!==t.value&&this.input.setQuery(t.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(t.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",t.raw,t.datasetName,e).isDefaultPrevented()&&(this.dropdown.close(),s.defer(s.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var t=this.input.getInputValue();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=s.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(t,e){var n=t.find(s.className(e.prefix,e.input));s.each(n.data(i),(function(t,e){void 0===t?n.removeAttr(e):n.attr(e,t)})),n.detach().removeClass(s.className(e.prefix,e.input,!0)).insertAfter(t),n.removeData&&n.removeData(i);t.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=a,h.sources=n(3909),t.exports=h},9446:function(t){"use strict";t.exports={element:null}},5585:function(t){"use strict";t.exports=function(t){var e=t.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||t.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(e)return[e[1],e[2],e[3]]}},4632:function(t,e,n){"use strict";var i,s=n(4725),r=n(9446);function o(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(t){if(void 0===t&&(t=navigator.userAgent),/(msie|trident)/i.test(t)){var e=t.match(/(msie |rv:)(\d+(.\d+)?)/i);if(e)return e[2]}return!1},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(t){return"number"==typeof t},toStr:function(t){return null==t?"":t+""},cloneDeep:function(t){var e=this.mixin({},t),n=this;return this.each(e,(function(t,i){t&&(n.isArray(t)?e[i]=[].concat(t):n.isObject(t)&&(e[i]=n.cloneDeep(t)))})),e},error:function(t){throw new Error(t)},every:function(t,e){var n=!0;return t?(this.each(t,(function(i,s){n&&(n=e.call(null,i,s,t)&&n)})),!!n):n},any:function(t,e){var n=!1;return t?(this.each(t,(function(i,s){if(e.call(null,i,s,t))return n=!0,!1})),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(t){if(this.isFunction(t))return t;var e=r.element(t);return"SCRIPT"===e.prop("tagName")?function(){return e.text()}:function(){return String(t)}},defer:function(t){setTimeout(t,0)},noop:function(){},formatPrefix:function(t,e){return e?"":t+"-"},className:function(t,e,n){return n?t+e:"."+s(t+e,{isIdentifier:!0})},escapeHighlightedString:function(t,e,n){e=e||"<em>";var i=document.createElement("div");i.appendChild(document.createTextNode(e)),n=n||"</em>";var s=document.createElement("div");s.appendChild(document.createTextNode(n));var r=document.createElement("div");return r.appendChild(document.createTextNode(t)),r.innerHTML.replace(RegExp(o(i.innerHTML),"g"),e).replace(RegExp(o(s.innerHTML),"g"),n)}}},2701:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);var o,a,u=(o=[],a=window.Promise.resolve(),function(t,e){return function(n,s){(function(t,e){return window.Promise.resolve().then((function(){return o.length&&(a=t.search(o),o=[]),a})).then((function(t){if(t)return t.results[e]}))})(t.as,o.push({indexName:t.indexName,query:n,params:e})-1).then((function(t){t&&s(t.hits,t)})).catch((function(t){i.error(t.message)}))}});t.exports=function(t,e){var n=r(t.as._ua);if(n&&n[0]>=3&&n[1]>20){var i="autocomplete.js "+s;-1===t.as._ua.indexOf(i)&&(t.as._ua+="; "+i)}return u(t,e)}},3909:function(t,e,n){"use strict";t.exports={hits:n(2701),popularIn:n(3303)}},3303:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);t.exports=function(t,e,n,o){var a=r(t.as._ua);if(a&&a[0]>=3&&a[1]>20&&((e=e||{}).additionalUA="autocomplete.js "+s),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(t){return t[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){t.search(a,e,(function(t,a){if(t)i.error(t.message);else{if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var f=r(c.as._ua);return f&&f[0]>=3&&f[1]>20&&(e.additionalUA="autocomplete.js "+s),void c.search(u(h),p,(function(t,e){if(t)i.error(t.message);else{var n=[];if(o.includeAll){var s=o.allTitle||"All departments";n.push(i.mixin({facet:{value:s,count:e.nbHits}},i.cloneDeep(h)))}i.each(e.facets,(function(t,e){i.each(t,(function(t,s){n.push(i.mixin({facet:{facet:e,value:s,count:t}},i.cloneDeep(h)))}))}));for(var r=1;r<a.hits.length;++r)n.push(a.hits[r]);l(n,a)}}))}l([])}}))}}},1251:function(t,e,n){"use strict";var i=n(9525);n(9446).element=i;var s=n(4632);s.isArray=i.isArray,s.isFunction=i.isFunction,s.isObject=i.isPlainObject,s.bind=i.proxy,s.each=function(t,e){i.each(t,(function(t,n){return e(n,t)}))},s.map=i.map,s.mixin=i.extend,s.Event=i.Event;var r="aaAutocomplete",o=n(9487),a=n(8142);function u(t,e,n,u){n=s.isArray(n)?n:[].slice.call(arguments,2);var c=i(t).each((function(t,s){var c=i(s),l=new a({el:c}),h=u||new o({input:c,eventBus:l,dropdownMenuContainer:e.dropdownMenuContainer,hint:void 0===e.hint||!!e.hint,minLength:e.minLength,autoselect:e.autoselect,autoselectOnBlur:e.autoselectOnBlur,tabAutocomplete:e.tabAutocomplete,openOnFocus:e.openOnFocus,templates:e.templates,debug:e.debug,clearOnSelected:e.clearOnSelected,cssClasses:e.cssClasses,datasets:n,keyboardShortcuts:e.keyboardShortcuts,appendTo:e.appendTo,autoWidth:e.autoWidth,ariaLabel:e.ariaLabel||s.getAttribute("aria-label")});c.data(r,h)}));return c.autocomplete={},s.each(["open","close","getVal","setVal","destroy","getWrapper"],(function(t){c.autocomplete[t]=function(){var e,n=arguments;return c.each((function(s,o){var a=i(o).data(r);e=a[t].apply(a,n)})),e}})),c}u.sources=o.sources,u.escapeHighlightedString=s.escapeHighlightedString;var c="autocomplete"in window,l=window.autocomplete;u.noConflict=function(){return c?window.autocomplete=l:delete window.autocomplete,u},t.exports=u},5900:function(t){t.exports="0.38.1"},9525:function(t){var e;e=window,t.exports=function(t){var e,n,i=function(){var e,n,i,s,r,o,a=[],u=a.concat,c=a.filter,l=a.slice,h=t.document,p={},f={},d={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,y=/^(?:body|html)$/i,w=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],C=["after","prepend","before","append"],x=h.createElement("table"),_=h.createElement("tr"),S={tr:h.createElement("tbody"),tbody:x,thead:x,tfoot:x,td:_,th:_,"*":h.createElement("div")},E=/complete|loaded|interactive/,A=/^[\w-]*$/,$={},T=$.toString,O={},D=h.createElement("div"),N={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},k=Array.isArray||function(t){return t instanceof Array};function I(t){return null==t?String(t):$[T.call(t)]||"object"}function P(t){return"function"==I(t)}function L(t){return null!=t&&t==t.window}function M(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function F(t){return"object"==I(t)}function R(t){return F(t)&&!L(t)&&Object.getPrototypeOf(t)==Object.prototype}function q(t){var e=!!t&&"length"in t&&t.length,n=i.type(t);return"function"!=n&&!L(t)&&("array"==n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function V(t){return c.call(t,(function(t){return null!=t}))}function H(t){return t.length>0?i.fn.concat.apply([],t):t}function B(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function K(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function j(t,e){return"number"!=typeof e||d[B(t)]?e:e+"px"}function z(t){var e,n;return p[t]||(e=h.createElement(t),h.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),p[t]=n),p[t]}function U(t){return"children"in t?l.call(t.children):i.map(t.childNodes,(function(t){if(1==t.nodeType)return t}))}function Q(t,e){var n,i=t?t.length:0;for(n=0;n<i;n++)this[n]=t[n];this.length=i,this.selector=e||""}function W(t,i,s){for(n in i)s&&(R(i[n])||k(i[n]))?(R(i[n])&&!R(t[n])&&(t[n]={}),k(i[n])&&!k(t[n])&&(t[n]=[]),W(t[n],i[n],s)):i[n]!==e&&(t[n]=i[n])}function Z(t,e){return null==e?i(t):i(t).filter(e)}function X(t,e,n,i){return P(e)?e.call(t,n,i):e}function G(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function J(t,n){var i=t.className||"",s=i&&i.baseVal!==e;if(n===e)return s?i.baseVal:i;s?i.baseVal=n:t.className=n}function Y(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?i.parseJSON(t):t):t}catch(e){return t}}function tt(t,e){e(t);for(var n=0,i=t.childNodes.length;n<i;n++)tt(t.childNodes[n],e)}return O.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,s=t.parentNode,r=!s;return r&&(s=D).appendChild(t),i=~O.qsa(s,e).indexOf(t),r&&D.removeChild(t),i},r=function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},o=function(t){return c.call(t,(function(e,n){return t.indexOf(e)==n}))},O.fragment=function(t,n,s){var r,o,a;return m.test(t)&&(r=i(h.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(v,"<$1></$2>")),n===e&&(n=g.test(t)&&RegExp.$1),n in S||(n="*"),(a=S[n]).innerHTML=""+t,r=i.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),R(s)&&(o=i(r),i.each(s,(function(t,e){b.indexOf(t)>-1?o[t](e):o.attr(t,e)}))),r},O.Z=function(t,e){return new Q(t,e)},O.isZ=function(t){return t instanceof O.Z},O.init=function(t,n){var s;if(!t)return O.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&g.test(t))s=O.fragment(t,RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}else{if(P(t))return i(h).ready(t);if(O.isZ(t))return t;if(k(t))s=V(t);else if(F(t))s=[t],t=null;else if(g.test(t))s=O.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}}return O.Z(s,t)},(i=function(t,e){return O.init(t,e)}).extend=function(t){var e,n=l.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach((function(n){W(t,n,e)})),t},O.qsa=function(t,e){var n,i="#"==e[0],s=!i&&"."==e[0],r=i||s?e.slice(1):e,o=A.test(r);return t.getElementById&&o&&i?(n=t.getElementById(r))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:l.call(o&&!i&&t.getElementsByClassName?s?t.getElementsByClassName(r):t.getElementsByTagName(e):t.querySelectorAll(e))},i.contains=h.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},i.type=I,i.isFunction=P,i.isWindow=L,i.isArray=k,i.isPlainObject=R,i.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},i.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},i.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},i.camelCase=r,i.trim=function(t){return null==t?"":String.prototype.trim.call(t)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(t,e){var n,i,s,r=[];if(q(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&r.push(n);else for(s in t)null!=(n=e(t[s],s))&&r.push(n);return H(r)},i.each=function(t,e){var n,i;if(q(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},i.grep=function(t,e){return c.call(t,e)},t.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){$["[object "+e+"]"]=e.toLowerCase()})),i.fn={constructor:O.Z,length:0,forEach:a.forEach,reduce:a.reduce,push:a.push,sort:a.sort,splice:a.splice,indexOf:a.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=O.isZ(e)?e.toArray():e;return u.apply(O.isZ(this)?this.toArray():this,n)},map:function(t){return i(i.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return i(l.apply(this,arguments))},ready:function(t){return E.test(h.readyState)&&h.body?t(i):h.addEventListener("DOMContentLoaded",(function(){t(i)}),!1),this},get:function(t){return t===e?l.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(t){return a.every.call(this,(function(e,n){return!1!==t.call(e,n,e)})),this},filter:function(t){return P(t)?this.not(this.not(t)):i(c.call(this,(function(e){return O.matches(e,t)})))},add:function(t,e){return i(o(this.concat(i(t,e))))},is:function(t){return this.length>0&&O.matches(this[0],t)},not:function(t){var n=[];if(P(t)&&t.call!==e)this.each((function(e){t.call(this,e)||n.push(this)}));else{var s="string"==typeof t?this.filter(t):q(t)&&P(t.item)?l.call(t):i(t);this.forEach((function(t){s.indexOf(t)<0&&n.push(t)}))}return i(n)},has:function(t){return this.filter((function(){return F(t)?i.contains(this,t):i(this).find(t).size()}))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!F(t)?t:i(t)},last:function(){var t=this[this.length-1];return t&&!F(t)?t:i(t)},find:function(t){var e=this;return t?"object"==typeof t?i(t).filter((function(){var t=this;return a.some.call(e,(function(e){return i.contains(e,t)}))})):1==this.length?i(O.qsa(this[0],t)):this.map((function(){return O.qsa(this,t)})):i()},closest:function(t,e){var n=[],s="object"==typeof t&&i(t);return this.each((function(i,r){for(;r&&!(s?s.indexOf(r)>=0:O.matches(r,t));)r=r!==e&&!M(r)&&r.parentNode;r&&n.indexOf(r)<0&&n.push(r)})),i(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=i.map(n,(function(t){if((t=t.parentNode)&&!M(t)&&e.indexOf(t)<0)return e.push(t),t}));return Z(e,t)},parent:function(t){return Z(o(this.pluck("parentNode")),t)},children:function(t){return Z(this.map((function(){return U(this)})),t)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(t){return Z(this.map((function(t,e){return c.call(U(e.parentNode),(function(t){return t!==e}))})),t)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(t){return i.map(this,(function(e){return e[t]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=z(this.nodeName))}))},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=P(t);if(this[0]&&!e)var n=i(t).get(0),s=n.parentNode||this.length>1;return this.each((function(r){i(this).wrapAll(e?t.call(this,r):s?n.cloneNode(!0):n)}))},wrapAll:function(t){if(this[0]){var e;for(i(this[0]).before(t=i(t));(e=t.children()).length;)t=e.first();i(t).append(this)}return this},wrapInner:function(t){var e=P(t);return this.each((function(n){var s=i(this),r=s.contents(),o=e?t.call(this,n):t;r.length?r.wrapAll(o):s.append(o)}))},unwrap:function(){return this.parent().each((function(){i(this).replaceWith(i(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(t){return this.each((function(){var n=i(this);(t===e?"none"==n.css("display"):t)?n.show():n.hide()}))},prev:function(t){return i(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return i(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each((function(e){var n=this.innerHTML;i(this).empty().append(X(this,t,e,n))})):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each((function(e){var n=X(this,t,e,this.textContent);this.textContent=null==n?"":""+n})):0 in this?this.pluck("textContent").join(""):null},attr:function(t,i){var s;return"string"!=typeof t||1 in arguments?this.each((function(e){if(1===this.nodeType)if(F(t))for(n in t)G(this,n,t[n]);else G(this,t,X(this,i,e,this.getAttribute(t)))})):0 in this&&1==this[0].nodeType&&null!=(s=this[0].getAttribute(t))?s:e},removeAttr:function(t){return this.each((function(){1===this.nodeType&&t.split(" ").forEach((function(t){G(this,t)}),this)}))},prop:function(t,e){return t=N[t]||t,1 in arguments?this.each((function(n){this[t]=X(this,e,n,this[t])})):this[0]&&this[0][t]},removeProp:function(t){return t=N[t]||t,this.each((function(){delete this[t]}))},data:function(t,n){var i="data-"+t.replace(w,"-$1").toLowerCase(),s=1 in arguments?this.attr(i,n):this.attr(i);return null!==s?Y(s):e},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each((function(e){this.value=X(this,t,e,this.value)}))):this[0]&&(this[0].multiple?i(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(t){var n=i(this),s=X(this,e,t,n.offset()),r=n.offsetParent().offset(),o={top:s.top-r.top,left:s.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)}));if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+t.pageXOffset,top:n.top+t.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(t,e){if(arguments.length<2){var s=this[0];if("string"==typeof t){if(!s)return;return s.style[r(t)]||getComputedStyle(s,"").getPropertyValue(t)}if(k(t)){if(!s)return;var o={},a=getComputedStyle(s,"");return i.each(t,(function(t,e){o[e]=s.style[r(e)]||a.getPropertyValue(e)})),o}}var u="";if("string"==I(t))e||0===e?u=B(t)+":"+j(t,e):this.each((function(){this.style.removeProperty(B(t))}));else for(n in t)t[n]||0===t[n]?u+=B(n)+":"+j(n,t[n])+";":this.each((function(){this.style.removeProperty(B(n))}));return this.each((function(){this.style.cssText+=";"+u}))},index:function(t){return t?this.indexOf(i(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&a.some.call(this,(function(t){return this.test(J(t))}),K(t))},addClass:function(t){return t?this.each((function(e){if("className"in this){s=[];var n=J(this);X(this,t,e,n).split(/\s+/g).forEach((function(t){i(this).hasClass(t)||s.push(t)}),this),s.length&&J(this,n+(n?" ":"")+s.join(" "))}})):this},removeClass:function(t){return this.each((function(n){if("className"in this){if(t===e)return J(this,"");s=J(this),X(this,t,n,s).split(/\s+/g).forEach((function(t){s=s.replace(K(t)," ")})),J(this,s.trim())}}))},toggleClass:function(t,n){return t?this.each((function(s){var r=i(this);X(this,t,s,J(this)).split(/\s+/g).forEach((function(t){(n===e?!r.hasClass(t):n)?r.addClass(t):r.removeClass(t)}))})):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),s=y.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(i(t).css("margin-top"))||0,n.left-=parseFloat(i(t).css("margin-left"))||0,s.top+=parseFloat(i(e[0]).css("border-top-width"))||0,s.left+=parseFloat(i(e[0]).css("border-left-width"))||0,{top:n.top-s.top,left:n.left-s.left}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||h.body;t&&!y.test(t.nodeName)&&"static"==i(t).css("position");)t=t.offsetParent;return t}))}},i.fn.detach=i.fn.remove,["width","height"].forEach((function(t){var n=t.replace(/./,(function(t){return t[0].toUpperCase()}));i.fn[t]=function(s){var r,o=this[0];return s===e?L(o)?o["inner"+n]:M(o)?o.documentElement["scroll"+n]:(r=this.offset())&&r[t]:this.each((function(e){(o=i(this)).css(t,X(this,s,e,o[t]()))}))}})),C.forEach((function(n,s){var r=s%2;i.fn[n]=function(){var n,o,a=i.map(arguments,(function(t){var s=[];return"array"==(n=I(t))?(t.forEach((function(t){return t.nodeType!==e?s.push(t):i.zepto.isZ(t)?s=s.concat(t.get()):void(s=s.concat(O.fragment(t)))})),s):"object"==n||null==t?t:O.fragment(t)})),u=this.length>1;return a.length<1?this:this.each((function(e,n){o=r?n:n.parentNode,n=0==s?n.nextSibling:1==s?n.firstChild:2==s?n:null;var c=i.contains(h.documentElement,o);a.forEach((function(e){if(u)e=e.cloneNode(!0);else if(!o)return i(e).remove();o.insertBefore(e,n),c&&tt(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var n=e.ownerDocument?e.ownerDocument.defaultView:t;n.eval.call(n,e.innerHTML)}}))}))}))},i.fn[r?n+"To":"insert"+(s?"Before":"After")]=function(t){return i(t)[n](this),this}})),O.Z.prototype=Q.prototype=i.fn,O.uniq=o,O.deserializeValue=Y,i.zepto=O,i}();return function(e){var n,i=1,s=Array.prototype.slice,r=e.isFunction,o=function(t){return"string"==typeof t},a={},u={},c="onfocusin"in t,l={focus:"focusin",blur:"focusout"},h={mouseenter:"mouseover",mouseleave:"mouseout"};function p(t){return t._zid||(t._zid=i++)}function f(t,e,n,i){if((e=d(e)).ns)var s=g(e.ns);return(a[p(t)]||[]).filter((function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||s.test(t.ns))&&(!n||p(t.fn)===p(n))&&(!i||t.sel==i)}))}function d(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function g(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function m(t,e){return t.del&&!c&&t.e in l||!!e}function v(t){return h[t]||c&&l[t]||t}function y(t,i,s,r,o,u,c){var l=p(t),f=a[l]||(a[l]=[]);i.split(/\s/).forEach((function(i){if("ready"==i)return e(document).ready(s);var a=d(i);a.fn=s,a.sel=o,a.e in h&&(s=function(t){var n=t.relatedTarget;if(!n||n!==this&&!e.contains(this,n))return a.fn.apply(this,arguments)}),a.del=u;var l=u||s;a.proxy=function(e){if(!(e=S(e)).isImmediatePropagationStopped()){try{var i=Object.getOwnPropertyDescriptor(e,"data");i&&!i.writable||(e.data=r)}catch(e){}var s=l.apply(t,e._args==n?[e]:[e].concat(e._args));return!1===s&&(e.preventDefault(),e.stopPropagation()),s}},a.i=f.length,f.push(a),"addEventListener"in t&&t.addEventListener(v(a.e),a.proxy,m(a,c))}))}function w(t,e,n,i,s){var r=p(t);(e||"").split(/\s/).forEach((function(e){f(t,e,n,i).forEach((function(e){delete a[r][e.i],"removeEventListener"in t&&t.removeEventListener(v(e.e),e.proxy,m(e,s))}))}))}u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",e.event={add:y,remove:w},e.proxy=function(t,n){var i=2 in arguments&&s.call(arguments,2);if(r(t)){var a=function(){return t.apply(n,i?i.concat(s.call(arguments)):arguments)};return a._zid=p(t),a}if(o(n))return i?(i.unshift(t[n],t),e.proxy.apply(null,i)):e.proxy(t[n],t);throw new TypeError("expected function")},e.fn.bind=function(t,e,n){return this.on(t,e,n)},e.fn.unbind=function(t,e){return this.off(t,e)},e.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var b=function(){return!0},C=function(){return!1},x=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,_={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function S(t,i){if(i||!t.isDefaultPrevented){i||(i=t),e.each(_,(function(e,n){var s=i[e];t[e]=function(){return this[n]=b,s&&s.apply(i,arguments)},t[n]=C}));try{t.timeStamp||(t.timeStamp=Date.now())}catch(s){}(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(t.isDefaultPrevented=b)}return t}function E(t){var e,i={originalEvent:t};for(e in t)x.test(e)||t[e]===n||(i[e]=t[e]);return S(i,t)}e.fn.delegate=function(t,e,n){return this.on(e,t,n)},e.fn.undelegate=function(t,e,n){return this.off(e,t,n)},e.fn.live=function(t,n){return e(document.body).delegate(this.selector,t,n),this},e.fn.die=function(t,n){return e(document.body).undelegate(this.selector,t,n),this},e.fn.on=function(t,i,a,u,c){var l,h,p=this;return t&&!o(t)?(e.each(t,(function(t,e){p.on(t,i,a,e,c)})),p):(o(i)||r(u)||!1===u||(u=a,a=i,i=n),u!==n&&!1!==a||(u=a,a=n),!1===u&&(u=C),p.each((function(n,r){c&&(l=function(t){return w(r,t.type,u),u.apply(this,arguments)}),i&&(h=function(t){var n,o=e(t.target).closest(i,r).get(0);if(o&&o!==r)return n=e.extend(E(t),{currentTarget:o,liveFired:r}),(l||u).apply(o,[n].concat(s.call(arguments,1)))}),y(r,t,u,a,i,h||l)})))},e.fn.off=function(t,i,s){var a=this;return t&&!o(t)?(e.each(t,(function(t,e){a.off(t,i,e)})),a):(o(i)||r(s)||!1===s||(s=i,i=n),!1===s&&(s=C),a.each((function(){w(this,t,s,i)})))},e.fn.trigger=function(t,n){return(t=o(t)||e.isPlainObject(t)?e.Event(t):S(t))._args=n,this.each((function(){t.type in l&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,n)}))},e.fn.triggerHandler=function(t,n){var i,s;return this.each((function(r,a){(i=E(o(t)?e.Event(t):t))._args=n,i.target=a,e.each(f(a,t.type||t),(function(t,e){if(s=e.proxy(i),i.isImmediatePropagationStopped())return!1}))})),s},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(t,e){o(t)||(t=(e=t).type);var n=document.createEvent(u[t]||"Events"),i=!0;if(e)for(var s in e)"bubbles"==s?i=!!e[s]:n[s]=e[s];return n.initEvent(t,i,!0),S(n)}}(i),n=[],i.fn.remove=function(){return this.each((function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout((function(){n=[]}),6e4)),this.parentNode.removeChild(this))}))},function(t){var e={},n=t.fn.data,i=t.camelCase,s=t.expando="Zepto"+ +new Date,r=[];function o(r,o){var u=r[s],c=u&&e[u];if(void 0===o)return c||a(r);if(c){if(o in c)return c[o];var l=i(o);if(l in c)return c[l]}return n.call(t(r),o)}function a(n,r,o){var a=n[s]||(n[s]=++t.uuid),c=e[a]||(e[a]=u(n));return void 0!==r&&(c[i(r)]=o),c}function u(e){var n={};return t.each(e.attributes||r,(function(e,s){0==s.name.indexOf("data-")&&(n[i(s.name.replace("data-",""))]=t.zepto.deserializeValue(s.value))})),n}t.fn.data=function(e,n){return void 0===n?t.isPlainObject(e)?this.each((function(n,i){t.each(e,(function(t,e){a(i,t,e)}))})):0 in this?o(this[0],e):void 0:this.each((function(){a(this,e,n)}))},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(n){var i=n[s],r=i&&e[i];return!!r&&!t.isEmptyObject(r)},t.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each((function(){var r=this[s],o=r&&e[r];o&&t.each(n||o,(function(t){delete o[n?i(this):t]}))}))},["remove","empty"].forEach((function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}}))}(i),i}(e)},4725:function(t){"use strict";var e={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,r=function t(r,o){"single"!=(o=function(t,n){if(!t)return n;var i={};for(var s in n)i[s]=e.call(t,s)?t[s]:n[s];return i}(o,t.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var a="double"==o.quotes?'"':"'",u=o.isIdentifier,c=r.charAt(0),l="",h=0,p=r.length;h<p;){var f=r.charAt(h++),d=f.charCodeAt(),g=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&h<p){var m=r.charCodeAt(h++);56320==(64512&m)?d=((1023&d)<<10)+(1023&m)+65536:h--}g="\\"+d.toString(16).toUpperCase()+" "}else g=o.escapeEverything?n.test(f)?"\\"+f:"\\"+d.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?"\\"+d.toString(16).toUpperCase()+" ":"\\"==f||!u&&('"'==f&&a==f||"'"==f&&a==f)||u&&i.test(f)?"\\"+f:f;l+=g}return u&&(/^-[-\d]/.test(l)?l="\\-"+l.slice(1):/\d/.test(c)&&(l="\\3"+c+" "+l.slice(1))),l=l.replace(s,(function(t,e,n){return e&&e.length%2?t:(e||"")+n})),!u&&o.wrap?a+l+a:l};r.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},r.version="3.0.0",t.exports=r},5818:function(t,e,n){"use strict";var i,s,r,o=[n(8133),n(2063),n(2232),n(6197),n(8578),n(1297)],a=-1,u=[],c=!1;function l(){i&&s&&(i=!1,s.length?u=s.concat(u):a=-1,u.length&&h())}function h(){if(!i){c=!1,i=!0;for(var t=u.length,e=setTimeout(l);t;){for(s=u,u=[];s&&++a<t;)s[a].run();a=-1,t=u.length}s=null,a=-1,i=!1,clearTimeout(e)}}for(var p=-1,f=o.length;++p<f;)if(o[p]&&o[p].test&&o[p].test()){r=o[p].install(h);break}function d(t,e){this.fun=t,this.array=e}d.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),c||i||(c=!0,r())}},6197:function(t,e,n){"use strict";e.test=function(){return!n.g.setImmediate&&void 0!==n.g.MessageChannel},e.install=function(t){var e=new n.g.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}},2232:function(t,e,n){"use strict";var i=n.g.MutationObserver||n.g.WebKitMutationObserver;e.test=function(){return i},e.install=function(t){var e=0,s=new i(t),r=n.g.document.createTextNode("");return s.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}},2063:function(t,e,n){"use strict";e.test=function(){return"function"==typeof n.g.queueMicrotask},e.install=function(t){return function(){n.g.queueMicrotask(t)}}},8578:function(t,e,n){"use strict";e.test=function(){return"document"in n.g&&"onreadystatechange"in n.g.document.createElement("script")},e.install=function(t){return function(){var e=n.g.document.createElement("script");return e.onreadystatechange=function(){t(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},n.g.document.documentElement.appendChild(e),t}}},1297:function(t,e){"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/5920.83d9a30f.js.LICENSE.txt b/zh-CN/assets/js/5920.83d9a30f.js.LICENSE.txt new file mode 100644 index 00000000..4f7ccd8a --- /dev/null +++ b/zh-CN/assets/js/5920.83d9a30f.js.LICENSE.txt @@ -0,0 +1 @@ +/*! https://mths.be/cssesc v3.0.0 by @mathias */ diff --git a/zh-CN/assets/js/5c868d36.d541f660.js b/zh-CN/assets/js/5c868d36.d541f660.js new file mode 100644 index 00000000..b669784c --- /dev/null +++ b/zh-CN/assets/js/5c868d36.d541f660.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5589],{3408:function(e,a,t){t.r(a),t.d(a,{assets:function(){return i},contentTitle:function(){return c},default:function(){return u},frontMatter:function(){return s},metadata:function(){return o},toc:function(){return l}});var r=t(966),n=t(1015);const s={sidebar_position:1},c="Create a Page",o={id:"tutorial-basics/create-a-page",title:"Create a Page",description:"Add Markdown or React files to src/pages to create a standalone page:",source:"@site/docs/tutorial-basics/create-a-page.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-page",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-page.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics"},next:{title:"Create a Document",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document"}},i={},l=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function d(e){const a={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h1,{id:"create-a-page",children:"Create a Page"}),"\n",(0,r.jsxs)(a.p,{children:["Add ",(0,r.jsx)(a.strong,{children:"Markdown or React"})," files to ",(0,r.jsx)(a.code,{children:"src/pages"})," to create a ",(0,r.jsx)(a.strong,{children:"standalone page"}),":"]}),"\n",(0,r.jsxs)(a.ul,{children:["\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/index.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo.md"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo/bar.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n <Layout>\n <h1>My React page</h1>\n <p>This is a React page</p>\n </Layout>\n );\n}\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function u(e={}){const{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,r.jsx)(a,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,a,t){t.d(a,{Z:function(){return o},a:function(){return c}});var r=t(3900);const n={},s=r.createContext(n);function c(e){const a=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(a):{...a,...e}}),[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(s.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/5e95c892.18f37c2a.js b/zh-CN/assets/js/5e95c892.18f37c2a.js new file mode 100644 index 00000000..5314f03d --- /dev/null +++ b/zh-CN/assets/js/5e95c892.18f37c2a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9661],{1013:function(e,s,r){r.r(s),r.d(s,{default:function(){return f}});r(3900);var n=r(7515),t=r(4181),u=r(8512),c=r(4518),a=r(2786),i=r(966);function f(e){return(0,i.jsx)(t.FG,{className:(0,n.Z)(u.k.wrapper.docsPages),children:(0,i.jsx)(a.Z,{children:(0,c.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/62e81aa6.a9d19514.js b/zh-CN/assets/js/62e81aa6.a9d19514.js new file mode 100644 index 00000000..7aa359df --- /dev/null +++ b/zh-CN/assets/js/62e81aa6.a9d19514.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5329],{4421:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"1.0.0","label":"1.0.0","banner":null,"badge":true,"noIndex":false,"className":"docs-version-1.0.0","isLast":true,"docsSidebars":{"someSidebar":[{"type":"category","label":"Docusaurus","items":[{"type":"link","label":"Style Guide","href":"/docusaurus-search-local/zh-CN/docs/","docId":"doc1","unlisted":false},{"type":"link","label":"Document Number 2","href":"/docusaurus-search-local/zh-CN/docs/doc2","docId":"doc2","unlisted":false},{"type":"link","label":"This is Document Number 3","href":"/docusaurus-search-local/zh-CN/docs/doc3","docId":"doc3","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Features","items":[{"type":"link","label":"Powered by MDX","href":"/docusaurus-search-local/zh-CN/docs/mdx","docId":"mdx","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"doc-in-pt":{"id":"doc-in-pt","title":"A Document in Portuguese","description":"A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas\\""},"doc1":{"id":"doc1","title":"Style Guide","description":"You can write content using GitHub-flavored Markdown syntax.","sidebar":"someSidebar"},"doc2":{"id":"doc2","title":"Document Number 2","description":"This is a link to another document. This is a link to an external page.","sidebar":"someSidebar"},"doc3":{"id":"doc3","title":"This is Document Number 3","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","sidebar":"someSidebar"},"mdx":{"id":"mdx","title":"Powered by MDX","description":"You can write JSX and use React components within your Markdown thanks to MDX.","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/6875c492.45c8fa40.js b/zh-CN/assets/js/6875c492.45c8fa40.js new file mode 100644 index 00000000..7d690c43 --- /dev/null +++ b/zh-CN/assets/js/6875c492.45c8fa40.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8610],{6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(1207),a=n(1554),i=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,i.jsxs)("nav",{className:"pagination-nav","aria-label":(0,s.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,i.jsx)(a.Z,{permalink:n,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,i.jsx)(a.Z,{permalink:r,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7138),a=n(87),i=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,i.jsx)(i.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,i.jsx)(s.n,{content:t,children:(0,i.jsx)(n,{children:(0,i.jsx)(t,{})})},t.metadata.permalink)}))})}},9829:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});n(3900);var s=n(7515),a=n(1207),i=n(960),r=n(4181),l=n(8512),o=n(3707),c=n(1809),u=n(6357),g=n(3806),d=n(2264),h=n(9843),p=n(4974),m=n(966);function x(e){const t=function(){const{selectMessage:e}=(0,i.c)();return t=>e(t,(0,a.I)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,a.I)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function j(e){let{tag:t}=e;const n=x(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(r.d,{title:n}),(0,m.jsx)(g.Z,{tag:"blog_tags_posts"})]})}function b(e){let{tag:t,items:n,sidebar:s,listMetadata:i}=e;const r=x(t);return(0,m.jsxs)(c.Z,{sidebar:s,children:[t.unlisted&&(0,m.jsx)(h.Z,{}),(0,m.jsxs)("header",{className:"margin-bottom--xl",children:[(0,m.jsx)(p.Z,{as:"h1",children:r}),(0,m.jsx)(o.Z,{href:t.allTagsPath,children:(0,m.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,m.jsx)(d.Z,{items:n}),(0,m.jsx)(u.Z,{metadata:i})]})}function f(e){return(0,m.jsxs)(r.FG,{className:(0,s.Z)(l.k.wrapper.blogPages,l.k.page.blogTagPostListPage),children:[(0,m.jsx)(j,{...e}),(0,m.jsx)(b,{...e})]})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),r=n(966);function l(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function o(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,r.jsx)(i.Z,{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var u=n(8512),g=n(5085);function d(e){let{className:t}=e;return(0,r.jsx)(g.Z,{type:"caution",title:(0,r.jsx)(l,{}),className:(0,s.Z)(t,u.k.common.unlistedBanner),children:(0,r.jsx)(o,{})})}function h(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{}),(0,r.jsx)(d,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/6a5dca13.dfafa419.js b/zh-CN/assets/js/6a5dca13.dfafa419.js new file mode 100644 index 00000000..9c26aa0d --- /dev/null +++ b/zh-CN/assets/js/6a5dca13.dfafa419.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3267],{26:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-CN/blog/tags/facebook","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/6b3775fa.8589a71f.js b/zh-CN/assets/js/6b3775fa.8589a71f.js new file mode 100644 index 00000000..3f19aeb8 --- /dev/null +++ b/zh-CN/assets/js/6b3775fa.8589a71f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4484],{3769:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/7024.b093103e.js b/zh-CN/assets/js/7024.b093103e.js new file mode 100644 index 00000000..96cda135 --- /dev/null +++ b/zh-CN/assets/js/7024.b093103e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7024],{8724:function(e,t,n){n.d(t,{Z:function(){return a}});n(3900);var i=n(7515),o=n(1207),s=n(4974),r=n(966);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},7024:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});n(3900);var i=n(1207),o=n(4181),s=n(2786),r=n(8724),a=n(966);function c(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/7acd0c93.9a73f146.js b/zh-CN/assets/js/7acd0c93.9a73f146.js new file mode 100644 index 00000000..f81f8235 --- /dev/null +++ b/zh-CN/assets/js/7acd0c93.9a73f146.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3125],{5745:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/7e48212f.9d389e5e.js b/zh-CN/assets/js/7e48212f.9d389e5e.js new file mode 100644 index 00000000..8792f5f9 --- /dev/null +++ b/zh-CN/assets/js/7e48212f.9d389e5e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4636],{8126:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-CN/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":4,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/807d5d2d.d12b1489.js b/zh-CN/assets/js/807d5d2d.d12b1489.js new file mode 100644 index 00000000..3325311c --- /dev/null +++ b/zh-CN/assets/js/807d5d2d.d12b1489.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1528],{5220:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"2019\u5e746\u670815\u65e5",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-CN/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/8133.a27696f3.js b/zh-CN/assets/js/8133.a27696f3.js new file mode 100644 index 00000000..344ff530 --- /dev/null +++ b/zh-CN/assets/js/8133.a27696f3.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8133],{8133:function(){}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/814f3328.f3be14a5.js b/zh-CN/assets/js/814f3328.f3be14a5.js new file mode 100644 index 00000000..a76ea198 --- /dev/null +++ b/zh-CN/assets/js/814f3328.f3be14a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2535],{5641:function(e){e.exports=JSON.parse('{"title":"Recent posts","items":[{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","unlisted":false},{"title":"Welcome","permalink":"/docusaurus-search-local/zh-CN/blog/welcome","unlisted":false},{"title":"Hello","permalink":"/docusaurus-search-local/zh-CN/blog/hello-world","unlisted":false},{"title":"Hola","permalink":"/docusaurus-search-local/zh-CN/blog/hola","unlisted":false}]}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/822bd8ab.811b02f5.js b/zh-CN/assets/js/822bd8ab.811b02f5.js new file mode 100644 index 00000000..28140890 --- /dev/null +++ b/zh-CN/assets/js/822bd8ab.811b02f5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6504],{3932:function(s,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var e=n(966),r=n(1015);const o={sidebar_position:6},a="Congratulations!",i={id:"tutorial-basics/congratulations",title:"Congratulations!",description:"You have just learned the basics of Docusaurus and made some changes to the initial template.",source:"@site/docs/tutorial-basics/congratulations.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/congratulations",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/congratulations.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Deploy your site",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site"},next:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras"}},c={},u=[{value:"What's next?",id:"whats-next",level:2}];function l(s){const t={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...s.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.h1,{id:"congratulations",children:"Congratulations!"}),"\n",(0,e.jsxs)(t.p,{children:["You have just learned the ",(0,e.jsx)(t.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,e.jsx)(t.strong,{children:"initial template"}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Docusaurus has ",(0,e.jsx)(t.strong,{children:"much more to offer"}),"!"]}),"\n",(0,e.jsxs)(t.p,{children:["Have ",(0,e.jsx)(t.strong,{children:"5 more minutes"}),"? Take a look at ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions",children:"versioning"})})," and ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site",children:"i18n"})}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Anything ",(0,e.jsx)(t.strong,{children:"unclear"})," or ",(0,e.jsx)(t.strong,{children:"buggy"})," in this tutorial? ",(0,e.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,e.jsx)(t.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,e.jsxs)(t.ul,{children:["\n",(0,e.jsxs)(t.li,{children:["Read the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/",children:"official documentation"}),"."]}),"\n",(0,e.jsxs)(t.li,{children:["Add a custom ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,e.jsxs)(t.li,{children:["Add a ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,e.jsxs)(t.li,{children:["Find inspirations in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,e.jsxs)(t.li,{children:["Get involved in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function d(s={}){const{wrapper:t}={...(0,r.a)(),...s.components};return t?(0,e.jsx)(t,{...s,children:(0,e.jsx)(l,{...s})}):l(s)}},1015:function(s,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var e=n(3900);const r={},o=e.createContext(r);function a(s){const t=e.useContext(o);return e.useMemo((function(){return"function"==typeof s?s(t):{...t,...s}}),[t,s])}function i(s){let t;return t=s.disableParentContext?"function"==typeof s.components?s.components(r):s.components||r:a(s.components),e.createElement(o.Provider,{value:t},s.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/8e9f0a8a.eb6f47a4.js b/zh-CN/assets/js/8e9f0a8a.eb6f47a4.js new file mode 100644 index 00000000..9209dc6e --- /dev/null +++ b/zh-CN/assets/js/8e9f0a8a.eb6f47a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4035],{4562:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/zh-CN/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"2019\u5e745\u670828\u65e5",tags:[{label:"hola",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-CN/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/935f2afb.4090d414.js b/zh-CN/assets/js/935f2afb.4090d414.js new file mode 100644 index 00000000..763dec88 --- /dev/null +++ b/zh-CN/assets/js/935f2afb.4090d414.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(a){a.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":"unreleased","badge":true,"noIndex":false,"className":"docs-version-current","isLast":false,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docusaurus-search-local/zh-CN/docs/next/intro","docId":"intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","docId":"tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","docId":"tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","docId":"tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","docId":"tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","docId":"tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","docId":"tutorial-basics/congratulations","unlisted":false}],"href":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","docId":"tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","docId":"tutorial-extras/translate-your-site","unlisted":false}],"href":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras"},{"type":"link","label":"Unlisted Post","href":"/docusaurus-search-local/zh-CN/docs/next/unlisted-post","docId":"unlisted-post","unlisted":true}]},"docs":{"intro":{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","sidebar":"tutorialSidebar"},"tutorial-basics/congratulations":{"id":"tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-blog-post":{"id":"tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-document":{"id":"tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-page":{"id":"tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"tutorial-basics/deploy-your-site":{"id":"tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"tutorial-basics/markdown-features":{"id":"tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"tutorialSidebar"},"tutorial-extras/manage-docs-versions":{"id":"tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"tutorial-extras/translate-your-site":{"id":"tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"unlisted-post":{"id":"unlisted-post","title":"Unlisted Post","description":"This unlisted blog post should be \\"hidden\\" in production, but remain accessible.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/96ea474a.37be3366.js b/zh-CN/assets/js/96ea474a.37be3366.js new file mode 100644 index 00000000..283f1fba --- /dev/null +++ b/zh-CN/assets/js/96ea474a.37be3366.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4860],{653:function(s){s.exports=JSON.parse('{"label":"Test","permalink":"/docusaurus-search-local/zh-CN/docs/next/tags/test","allTagsPath":"/docusaurus-search-local/zh-CN/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-CN/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/9e4087bc.395afb6f.js b/zh-CN/assets/js/9e4087bc.395afb6f.js new file mode 100644 index 00000000..214dadfc --- /dev/null +++ b/zh-CN/assets/js/9e4087bc.395afb6f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3608],{4160:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});r(3900);var s=r(3707),a=r(1207),i=r(4181),n=r(2786),c=r(4974),l=r(966);function h(e){let{year:t,posts:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{as:"h3",id:t,children:t}),(0,l.jsx)("ul",{children:r.map((e=>(0,l.jsx)("li",{children:(0,l.jsxs)(s.Z,{to:e.metadata.permalink,children:[e.metadata.formattedDate," - ",e.metadata.title]})},e.metadata.date)))})]})}function d(e){let{years:t}=e;return(0,l.jsx)("section",{className:"margin-vert--lg",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:t.map(((e,t)=>(0,l.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,l.jsx)(h,{...e})},t)))})})})}function o(e){let{archive:t}=e;const r=(0,a.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),s=(0,a.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),h=function(e){const t=e.reduce(((e,t)=>{var r;const s=t.metadata.date.split("-")[0],a=null!=(r=e.get(s))?r:[];return e.set(s,[t,...a])}),new Map);return Array.from(t,(e=>{let[t,r]=e;return{year:t,posts:r}}))}(t.blogPosts);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.d,{title:r,description:s}),(0,l.jsxs)(n.Z,{children:[(0,l.jsx)("header",{className:"hero hero--primary",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(c.Z,{as:"h1",className:"hero__title",children:r}),(0,l.jsx)("p",{className:"hero__subtitle",children:s})]})}),(0,l.jsx)("main",{children:h.length>0&&(0,l.jsx)(d,{years:h})})]})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/a28e235d.d75d29cd.js b/zh-CN/assets/js/a28e235d.d75d29cd.js new file mode 100644 index 00000000..f2a133c7 --- /dev/null +++ b/zh-CN/assets/js/a28e235d.d75d29cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3982],{1201:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-CN/blog/tags/hola","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/a6aa9e1f.e31ab401.js b/zh-CN/assets/js/a6aa9e1f.e31ab401.js new file mode 100644 index 00000000..13b3980b --- /dev/null +++ b/zh-CN/assets/js/a6aa9e1f.e31ab401.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3089],{3705:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});n(3900);var i=n(7515),a=n(2442),s=n(4181),r=n(8512),o=n(1809),l=n(6357),c=n(3806),g=n(2264),d=n(966);function p(e){const{metadata:t}=e,{siteConfig:{title:n}}=(0,a.Z)(),{blogDescription:i,blogTitle:r,permalink:o}=t,l="/"===o?n:r;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.d,{title:l,description:i}),(0,d.jsx)(c.Z,{tag:"blog_posts_list"})]})}function u(e){const{metadata:t,items:n,sidebar:i}=e;return(0,d.jsxs)(o.Z,{sidebar:i,children:[(0,d.jsx)(g.Z,{items:n}),(0,d.jsx)(l.Z,{metadata:t})]})}function b(e){return(0,d.jsxs)(s.FG,{className:(0,i.Z)(r.k.wrapper.blogPages,r.k.page.blogListPage),children:[(0,d.jsx)(p,{...e}),(0,d.jsx)(u,{...e})]})}},6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(1207),a=n(1554),s=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,s.jsxs)("nav",{className:"pagination-nav","aria-label":(0,i.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,s.jsx)(a.Z,{permalink:n,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,s.jsx)(a.Z,{permalink:r,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(7138),a=n(87),s=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,s.jsx)(s.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,s.jsx)(i.n,{content:t,children:(0,s.jsx)(n,{children:(0,s.jsx)(t,{})})},t.metadata.permalink)}))})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/a7bd4aaa.aef66c49.js b/zh-CN/assets/js/a7bd4aaa.aef66c49.js new file mode 100644 index 00000000..a897a776 --- /dev/null +++ b/zh-CN/assets/js/a7bd4aaa.aef66c49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8518],{9741:function(n,e,s){s.r(e),s.d(e,{default:function(){return d}});s(3900);var r=s(4181),t=s(488),o=s(7924),i=s(4518),c=s(3806),u=s(966);function a(n){const{version:e}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.Z,{version:e.version,tag:(0,t.os)(e.pluginId,e.version)}),(0,u.jsx)(r.d,{children:e.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){const{version:e,route:s}=n;return(0,u.jsx)(r.FG,{className:e.className,children:(0,u.jsx)(o.q,{version:e,children:(0,i.H)(s.routes)})})}function d(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/a8f004d7.d256b1d0.js b/zh-CN/assets/js/a8f004d7.d256b1d0.js new file mode 100644 index 00000000..9409689b --- /dev/null +++ b/zh-CN/assets/js/a8f004d7.d256b1d0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6875],{1751:function(a){a.exports=JSON.parse('{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras","navigation":{"previous":{"title":"Congratulations!","permalink":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions"}}}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/a94703ab.68bf235f.js b/zh-CN/assets/js/a94703ab.68bf235f.js new file mode 100644 index 00000000..aa08bf34 --- /dev/null +++ b/zh-CN/assets/js/a94703ab.68bf235f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4368],{5578:function(e,t,n){n.r(t),n.d(t,{default:function(){return be}});var a=n(3900),i=n(7515),o=n(4181),s=n(8512),l=n(3025),r=n(9888),c=n(1207),d=n(9611),u=n(8257);var m={backToTopButton:"backToTopButton_xjLX",backToTopButtonShow:"backToTopButtonShow_KuKn"},b=n(966);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,i]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=null==n?void 0:n.scrollY;s&&(o.current?o.current=!1:a>=s?(l(),i(!1)):a<t?i(!1):a+window.innerHeight<document.documentElement.scrollHeight&&i(!0))})),(0,u.S)((e=>{e.location.hash&&(o.current=!0,i(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(7525),x=n(382),v=n(879),f=n(4715),j=n(266);function k(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("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"}),(0,b.jsx)("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 _={collapseSidebarButton:"collapseSidebarButton_IlcQ",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_iyaO"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.Z)("button button--secondary button--outline",_.collapseSidebarButton),onClick:t,children:(0,b.jsx)(k,{className:_.collapseSidebarButtonIcon})})}var C=n(3308),S=n(5158);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,i]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:i})),[n]);return(0,b.jsx)(N.Provider,{value:o,children:t})}var B=n(3663),Z=n(4064),L=n(3707),y=n(5106);function w(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function A(e){let{item:t,onItemClick:n,activePath:o,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:v}}}=(0,f.L)(),j=function(e){const t=(0,y.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),k=(0,l._F)(t,o),_=(0,Z.Mg)(x,o),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!k&&t.collapsed)}),{expandedItem:T,setExpandedItem:A}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),A(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:i}=e;const o=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&i(!1)}),[t,o,n,i])}({isActive:k,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&v&&C(!0)}),[h,T,c,C,v]),(0,b.jsxs)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,i.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_}),children:[(0,b.jsx)(L.Z,{className:(0,i.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{null==n||n(t),x?E(!1):(e.preventDefault(),E())}:()=>{null==n||n(t)},"aria-current":_?"page":void 0,"aria-expanded":h?!g:void 0,href:h?null!=j?j:"#":j,...d,children:m}),x&&h&&(0,b.jsx)(w,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:o,level:r+1})})]})}var E=n(6843),H=n(4153),M={menuExternalLink:"menuExternalLink_kCh2"};function R(e){let{item:t,onItemClick:n,activePath:a,level:o,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(o),"menu__list-item",m),children:(0,b.jsxs)(L.Z,{className:(0,i.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}var D={menuHtmlItem:"menuHtmlItem_ts5c"};function F(e){let{item:t,level:n,index:a}=e;const{value:o,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[D.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:o}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(A,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function W(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}var V=(0,a.memo)(W),z={menu:"menu_ficN",menuWithAnnouncementBar:"menuWithAnnouncementBar_X2D6"};function K(e){let{path:t,sidebar:n,className:o}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.Z)("menu thin-scrollbar",z.menu,l&&z.menuWithAnnouncementBar,o),children:(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}var U="sidebar_s7Pv",Y="sidebarWithHideableNavbar_bLvr",G="sidebarHidden_L71x",O="sidebarLogo_y82R";function Q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:o}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,f.L)();return(0,b.jsxs)("div",{className:(0,i.Z)(U,s&&Y,o&&G),children:[s&&(0,b.jsx)(j.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}var X=a.memo(Q),q=n(3943),J=n(3215);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,J.e)();return(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(q.Zo,{component:$,props:e})}var te=a.memo(ee);function ne(e){const t=(0,v.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(X,{...e}),a&&(0,b.jsx)(te,{...e})]})}var ae={expandButton:"expandButton_zsBQ",expandButtonIcon:"expandButtonIcon_DvE8"};function ie(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(k,{className:ae.expandButtonIcon})})}var oe={docSidebarContainer:"docSidebarContainer_l1sK",docSidebarContainerHidden:"docSidebarContainerHidden_kDwv",sidebarViewport:"sidebarViewport_GvwI"};function se(e){var t;let{children:n}=e;const i=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:n},null!=(t=null==i?void 0:i.name)?t:"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),o((e=>!e))}),[o,r]);return(0,b.jsx)("aside",{className:(0,i.Z)(s.k.docs.docSidebarContainer,oe.docSidebarContainer,n&&oe.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(oe.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,i.Z)(oe.sidebarViewport,r&&oe.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(ie,{toggleSidebar:d})]})})})}var re={docMainContainer:"docMainContainer_B_M8",docMainContainerEnhanced:"docMainContainerEnhanced_L9NF",docItemWrapperEnhanced:"docItemWrapperEnhanced_ZTSi"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,i.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,i.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}var de={docRoot:"docRoot_hERl",docsWrapper:"docsWrapper_sfhw"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[i,o]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:i,setHiddenSidebarContainer:o}),(0,b.jsx)(ce,{hiddenSidebarContainer:i,children:t})]})]})}var me=n(8724);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(o.FG,{className:(0,i.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},8724:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var a=n(7515),i=n(1207),o=n(4974),s=n(966);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(i.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/zh-CN/assets/js/af172acd.844053d9.js b/zh-CN/assets/js/af172acd.844053d9.js new file mode 100644 index 00000000..69ab25b9 --- /dev/null +++ b/zh-CN/assets/js/af172acd.844053d9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1449],{9322:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/zh-CN/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"2019\u5e745\u670830\u65e5",tags:[{label:"facebook",permalink:"/docusaurus-search-local/zh-CN/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-CN/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/bdd709f1.842a2dee.js b/zh-CN/assets/js/bdd709f1.842a2dee.js new file mode 100644 index 00000000..f4bd1739 --- /dev/null +++ b/zh-CN/assets/js/bdd709f1.842a2dee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4694],{846:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/zh-CN/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"2019\u5e745\u670828\u65e5",tags:[{label:"hola",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-CN/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/c4f5d8e4.c5786715.js b/zh-CN/assets/js/c4f5d8e4.c5786715.js new file mode 100644 index 00000000..1289aa73 --- /dev/null +++ b/zh-CN/assets/js/c4f5d8e4.c5786715.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4195],{9750:function(e,s,t){t.r(s),t.d(s,{default:function(){return h}});t(3900);var r=t(7515),a=t(2786),n=t(3707),i=t(2442),l=t(3373),c={heroBanner:"heroBanner_UJJx",buttons:"buttons_pzbO",features:"features_keug",featureImage:"featureImage_yA8i"},o=t(966);const u=[{title:"\ud83d\udcaa Written in TypeScript",imageUrl:"img/undraw_docusaurus_mountain.svg",description:(0,o.jsx)(o.Fragment,{children:"A Result You Can Trust."})},{title:"\ud83c\udf0e Multi Languages Supported",imageUrl:"img/undraw_docusaurus_tree.svg",description:(0,o.jsx)(o.Fragment,{children:"Dozens of languages supported, including \u4e2d\u6587\u5206\u8bcd \ud83c\udde8\ud83c\uddf3."})},{title:"\ud83d\udc85 Styles polished",imageUrl:"img/undraw_docusaurus_react.svg",description:(0,o.jsx)(o.Fragment,{children:"Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website."})}];function d(e){let{imageUrl:s,title:t,description:a}=e;const n=(0,l.Z)(s);return(0,o.jsxs)("div",{className:(0,r.Z)("col col--4",c.feature),children:[n&&(0,o.jsx)("div",{className:"text--center",children:(0,o.jsx)("img",{className:c.featureImage,src:n,alt:t})}),(0,o.jsx)("h3",{children:t}),(0,o.jsx)("p",{children:a})]})}var h=function(){const e=(0,i.Z)(),{siteConfig:s={}}=e;return(0,o.jsxs)(a.Z,{title:"Hello from "+s.title,description:"Description will go into a meta tag in <head />",children:[(0,o.jsx)("header",{className:(0,r.Z)("hero hero--primary",c.heroBanner),children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)("h1",{className:"hero__title",children:s.title}),(0,o.jsxs)("p",{className:"hero__subtitle",children:["An offline/local search example using"," ",(0,o.jsx)("a",{href:"https://github.com/easyops-cn/docusaurus-search-local",style:{color:"var(--ifm-hero-text-color)"},children:"@easyops-cn/docusaurus-search-local"}),"."]}),(0,o.jsx)("div",{className:c.buttons,children:(0,o.jsx)(n.Z,{className:(0,r.Z)("button button--outline button--secondary button--lg",c.getStarted),to:"#",children:"Try the search bar on the top-right corner."})})]})}),(0,o.jsx)("main",{children:u&&u.length>0&&(0,o.jsx)("section",{className:c.features,children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:u.map(((e,s)=>(0,o.jsx)(d,{...e},s)))})})})})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/c7798012.f7008ca9.js b/zh-CN/assets/js/c7798012.f7008ca9.js new file mode 100644 index 00000000..93b5ee73 --- /dev/null +++ b/zh-CN/assets/js/c7798012.f7008ca9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5560],{4361:function(e,o,a){a.r(o),a.d(o,{assets:function(){return c},contentTitle:function(){return i},default:function(){return m},frontMatter:function(){return s},metadata:function(){return r},toc:function(){return d}});var n=a(966),t=a(1015);const s={title:"A Document in Portuguese"},i=void 0,r={id:"doc-in-pt",title:"A Document in Portuguese",description:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"',source:"@site/versioned_docs/version-1.0.0/doc-in-pt.md",sourceDirName:".",slug:"/doc-in-pt",permalink:"/docusaurus-search-local/zh-CN/docs/doc-in-pt",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc-in-pt.md",tags:[],version:"1.0.0",frontMatter:{title:"A Document in Portuguese"}},c={},d=[];function u(e){const o={p:"p",...(0,t.a)(),...e.components};return(0,n.jsx)(o.p,{children:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"'})}function m(e={}){const{wrapper:o}={...(0,t.a)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1015:function(e,o,a){a.d(o,{Z:function(){return r},a:function(){return i}});var n=a(3900);const t={},s=n.createContext(t);function i(e){const o=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),n.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/ccc49370.3766cae8.js b/zh-CN/assets/js/ccc49370.3766cae8.js new file mode 100644 index 00000000..86510887 --- /dev/null +++ b/zh-CN/assets/js/ccc49370.3766cae8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6103],{3378:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(3900);var i=t(7515),a=t(4181),l=t(8512),o=t(7138),s=t(1809),r=t(87),c=t(1207),d=t(1554),u=t(966);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.Z,{...t,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,u.jsx)(d.Z,{...n,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older Post"}),isNext:!0})]})}function f(){var e;const{assets:n,metadata:t}=(0,o.C)(),{title:i,description:l,date:s,tags:r,authors:c,frontMatter:d}=t,{keywords:m}=d,f=null!=(e=n.image)?e:d.image;return(0,u.jsxs)(a.d,{title:i,description:l,keywords:m,image:f,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:s}),c.some((e=>e.url))&&(0,u.jsx)("meta",{property:"article:author",content:c.map((e=>e.url)).filter(Boolean).join(",")}),r.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:r.map((e=>e.label)).join(",")})]})}var g=t(2151),h=t(9843);function v(e){let{sidebar:n,children:t}=e;const{metadata:i,toc:a}=(0,o.C)(),{nextItem:l,prevItem:c,frontMatter:d,unlisted:f}=i,{hide_table_of_contents:v,toc_min_heading_level:p,toc_max_heading_level:x}=d;return(0,u.jsxs)(s.Z,{sidebar:n,toc:!v&&a.length>0?(0,u.jsx)(g.Z,{toc:a,minHeadingLevel:p,maxHeadingLevel:x}):void 0,children:[f&&(0,u.jsx)(h.Z,{}),(0,u.jsx)(r.Z,{children:t}),(l||c)&&(0,u.jsx)(m,{nextItem:l,prevItem:c})]})}function p(e){const n=e.content;return(0,u.jsx)(o.n,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(a.FG,{className:(0,i.Z)(l.k.wrapper.blogPages,l.k.page.blogPostPage),children:[(0,u.jsx)(f,{}),(0,u.jsx)(v,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},2151:function(e,n,t){t.d(n,{Z:function(){return c}});t(3900);var i=t(7515),a=t(8001),l={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},o=t(966);const s="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,o.jsx)("div",{className:(0,i.Z)(l.tableOfContents,"thin-scrollbar",n),children:(0,o.jsx)(a.Z,{...t,linkClassName:s,linkActiveClassName:r})})}},8001:function(e,n,t){t.d(n,{Z:function(){return h}});var i=t(3900),a=t(4715);function l(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):i.push(a)})),i}function o(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=o({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function s(e){const n=e.getBoundingClientRect();return n.top===n.bottom?s(e.parentNode):n}function r(e,n){var t;let{anchorTopOffset:i}=n;const a=e.find((e=>s(e).top>=i));if(a){var l;return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(s(a))?a:null!=(l=e[e.indexOf(a)-1])?l:null}return null!=(t=e[e.length-1])?t:null}function c(){const e=(0,i.useRef)(0),{navbar:{hideOnScroll:n}}=(0,a.L)();return(0,i.useEffect)((()=>{e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=c();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:a,minHeadingLevel:l,maxHeadingLevel:o}=e;function s(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),s=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let a=n;a<=t;a+=1)i.push("h"+a+".anchor");return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:l,maxHeadingLevel:o}),c=r(s,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[e,t])}var u=t(3707),m=t(966);function f(e){let{toc:n,className:t,linkClassName:i,isChild:a}=e;return n.length?(0,m.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=i?i:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(f,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}var g=i.memo(f);function h(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...f}=e;const h=(0,a.L)(),v=null!=c?c:h.tableOfContents.minHeadingLevel,p=null!=u?u:h.tableOfContents.maxHeadingLevel,x=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,i.useMemo)((()=>o({toc:l(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:v,maxHeadingLevel:p});return d((0,i.useMemo)((()=>{if(s&&r)return{linkClassName:s,linkActiveClassName:r,minHeadingLevel:v,maxHeadingLevel:p}}),[s,r,v,p])),(0,m.jsx)(g,{toc:x,className:t,linkClassName:s,...f})}},9843:function(e,n,t){t.d(n,{Z:function(){return f}});t(3900);var i=t(7515),a=t(1207),l=t(743),o=t(966);function s(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,o.jsx)(l.Z,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function m(e){let{className:n}=e;return(0,o.jsx)(u.Z,{type:"caution",title:(0,o.jsx)(s,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,o.jsx)(r,{})})}function f(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/d3050785.93738b0c.js b/zh-CN/assets/js/d3050785.93738b0c.js new file mode 100644 index 00000000..02b00b3c --- /dev/null +++ b/zh-CN/assets/js/d3050785.93738b0c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5045],{9108:function(s){s.exports=JSON.parse('{"label":"hello","permalink":"/docusaurus-search-local/zh-CN/blog/tags/hello","allTagsPath":"/docusaurus-search-local/zh-CN/blog/tags","count":2,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/d3609805.382f25ff.js b/zh-CN/assets/js/d3609805.382f25ff.js new file mode 100644 index 00000000..4d4c0276 --- /dev/null +++ b/zh-CN/assets/js/d3609805.382f25ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8864],{4469:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/d610846f.4e434aae.js b/zh-CN/assets/js/d610846f.4e434aae.js new file mode 100644 index 00000000..d2c7241f --- /dev/null +++ b/zh-CN/assets/js/d610846f.4e434aae.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6176],{1940:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return i}});var r=o(966),u=o(1015);const n={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},s=void 0,a={permalink:"/docusaurus-search-local/zh-CN/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"2019\u5e745\u670829\u65e5",tags:[{label:"hello",permalink:"/docusaurus-search-local/zh-CN/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-CN/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/zh-CN/blog/hola"}},l={authorsImageUrls:[void 0]},i=[];function c(t){const e={a:"a",p:"p",strong:"strong",...(0,u.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,r.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,r.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]}),"\n",(0,r.jsx)(e.p,{children:"This is a test post."}),"\n",(0,r.jsx)(e.p,{children:"A whole bunch of other information."})]})}function h(t={}){const{wrapper:e}={...(0,u.a)(),...t.components};return e?(0,r.jsx)(e,{...t,children:(0,r.jsx)(c,{...t})}):c(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return a},a:function(){return s}});var r=o(3900);const u={},n=r.createContext(u);function s(t){const e=r.useContext(n);return r.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(u):t.components||u:s(t.components),r.createElement(n.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/de32078f.6e5b1bb2.js b/zh-CN/assets/js/de32078f.6e5b1bb2.js new file mode 100644 index 00000000..147e5348 --- /dev/null +++ b/zh-CN/assets/js/de32078f.6e5b1bb2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3853],{9885:function(t){t.exports=JSON.parse('{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/docusaurus-search-local/zh-CN/docs/next/intro"},"next":{"title":"Create a Page","permalink":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page"}}}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/df203c0f.3452c979.js b/zh-CN/assets/js/df203c0f.3452c979.js new file mode 100644 index 00000000..47125b5e --- /dev/null +++ b/zh-CN/assets/js/df203c0f.3452c979.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9924],{5085:function(e,n,t){t.d(n,{Z:function(){return k}});var i=t(3900),s=t(966);function o(e){var n;const{mdxAdmonitionTitle:t,rest:o}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),o=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:o.length>0?(0,s.jsx)(s.Fragment,{children:o}):null}}(e.children),l=null!=(n=e.title)?n:t;return{...e,...l&&{title:l},children:o}}var l=t(7515),r=t(1207),a=t(8512),c={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,l.Z)(a.k.common.admonition,a.k.common.admonitionType(n),c.admonition,t),children:i})}function u(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:c.admonitionHeading,children:[(0,s.jsx)("span",{className:c.admonitionIcon,children:n}),t]})}function h(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:c.admonitionContent,children:n}):null}function m(e){const{type:n,icon:t,title:i,children:o,className:l}=e;return(0,s.jsxs)(d,{type:n,className:l,children:[(0,s.jsx)(u,{title:i,icon:t}),(0,s.jsx)(h,{children:o})]})}function g(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(g,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,s.jsx)(m,{...f,...e,className:(0,l.Z)("alert alert--secondary",e.className),children:e.children})}function j(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const p={icon:(0,s.jsx)(j,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function v(e){return(0,s.jsx)(m,{...p,...e,className:(0,l.Z)("alert alert--success",e.className),children:e.children})}function N(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const Z={icon:(0,s.jsx)(N,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function w(e){return(0,s.jsx)(m,{...Z,...e,className:(0,l.Z)("alert alert--info",e.className),children:e.children})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const b={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function z(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const y={icon:(0,s.jsx)(z,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const C={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var F={...{note:x,tip:v,info:w,warning:function(e){return(0,s.jsx)(m,{...b,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(m,{...y,...e,className:(0,l.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(x,{title:"secondary",...e}),important:e=>(0,s.jsx)(w,{title:"important",...e}),success:e=>(0,s.jsx)(v,{title:"success",...e}),caution:function(e){return(0,s.jsx)(m,{...C,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})}}};function k(e){const n=o(e),t=(i=n.type,F[i]||(console.warn('No admonition component found for admonition type "'+i+'". Using Info as fallback.'),F.info));var i;return(0,s.jsx)(t,{...n})}},2883:function(e,n,t){t.r(n),t.d(n,{default:function(){return j}});t(3900);var i=t(7515),s=t(3707),o=t(960),l=t(4181),r=t(8512),a=t(1207),c=t(3806),d=t(9843),u=t(4974),h=t(966);function m(e){const n=function(){const{selectMessage:e}=(0,o.c)();return n=>e(n,(0,a.I)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,a.I)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}function g(e){let{doc:n}=e;return(0,h.jsxs)("article",{className:"margin-vert--lg",children:[(0,h.jsx)(s.Z,{to:n.permalink,children:(0,h.jsx)(u.Z,{as:"h2",children:n.title})}),n.description&&(0,h.jsx)("p",{children:n.description})]})}function f(e){let{title:n}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.d,{title:n}),(0,h.jsx)(c.Z,{tag:"doc_tag_doc_list"})]})}function x(e){let{tag:n,title:t}=e;return(0,h.jsx)(l.FG,{className:(0,i.Z)(r.k.page.docsTagDocListPage),children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsx)("div",{className:"row",children:(0,h.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,h.jsx)(d.Z,{}),(0,h.jsxs)("header",{className:"margin-bottom--xl",children:[(0,h.jsx)(u.Z,{as:"h1",children:t}),(0,h.jsx)(s.Z,{href:n.allTagsPath,children:(0,h.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,h.jsx)("section",{className:"margin-vert--lg",children:n.items.map((e=>(0,h.jsx)(g,{doc:e},e.id)))})]})})})})}function j(e){const n=m(e);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(f,{...e,title:n}),(0,h.jsx)(x,{...e,title:n})]})}},9843:function(e,n,t){t.d(n,{Z:function(){return m}});t(3900);var i=t(7515),s=t(1207),o=t(743),l=t(966);function r(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function a(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(o.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function h(e){let{className:n}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(r,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(a,{})})}function m(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(h,{...e})]})}},960:function(e,n,t){t.d(n,{c:function(){return c}});var i=t(3900),s=t(2442);const o=["zero","one","two","few","many","other"];function l(e){return o.filter((n=>e.includes(n)))}const r={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function a(){const{i18n:{currentLocale:e}}=(0,s.Z)();return(0,i.useMemo)((()=>{try{return function(e){const n=new Intl.PluralRules(e);return{locale:e,pluralForms:l(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error('Failed to use Intl.PluralRules for locale "'+e+'".\nDocusaurus will fallback to the default (English) implementation.\nError: '+n.message+"\n"),r}}),[e])}function c(){const e=a();return{selectMessage:(n,t)=>function(e,n,t){const i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error("For locale="+t.locale+", a maximum of "+t.pluralForms.length+" plural forms are expected ("+t.pluralForms.join(",")+"), but the message contains "+i.length+": "+e);const s=t.select(n),o=t.pluralForms.indexOf(s);return i[Math.min(o,i.length-1)]}(t,n,e)}}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/dff1c289.8e171b27.js b/zh-CN/assets/js/dff1c289.8e171b27.js new file mode 100644 index 00000000..1e2061c2 --- /dev/null +++ b/zh-CN/assets/js/dff1c289.8e171b27.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3792],{9309:function(e,n,s){s.r(n),s.d(n,{assets:function(){return a},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return t},metadata:function(){return c},toc:function(){return d}});var o=s(966),r=s(1015);const t={sidebar_position:1},i="Manage Docs Versions",c={id:"tutorial-extras/manage-docs-versions",title:"Manage Docs Versions",description:"Docusaurus can manage multiple versions of your docs.",source:"@site/docs/tutorial-extras/manage-docs-versions.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/manage-docs-versions",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/manage-docs-versions.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras"},next:{title:"Translate your site",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site"}},a={},d=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"}),"\n",(0,o.jsx)(n.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,o.jsx)(n.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,o.jsx)(n.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,o.jsxs)(n.p,{children:["The ",(0,o.jsx)(n.code,{children:"docs"})," folder is copied into ",(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0"})," and ",(0,o.jsx)(n.code,{children:"versions.json"})," is created."]}),"\n",(0,o.jsx)(n.p,{children:"Your docs now have 2 versions:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"1.0"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"current"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,o.jsx)(n.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,o.jsx)(n.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,o.jsxs)(n.p,{children:["Modify the ",(0,o.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'docsVersionDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,o.jsx)(n.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{alt:"Docs Version Dropdown",src:s(2480).Z+"",width:"370",height:"302"})}),"\n",(0,o.jsx)(n.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,o.jsx)(n.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"docs/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},2480:function(e,n,s){n.Z=s.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},1015:function(e,n,s){s.d(n,{Z:function(){return c},a:function(){return i}});var o=s(3900);const r={},t=o.createContext(r);function i(e){const n=o.useContext(t);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/e44a2883.3b367ae0.js b/zh-CN/assets/js/e44a2883.3b367ae0.js new file mode 100644 index 00000000..b2f93767 --- /dev/null +++ b/zh-CN/assets/js/e44a2883.3b367ae0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6755],{7701:function(e,n,t){t.r(n),t.d(n,{assets:function(){return l},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return c}});var r=t(966),s=t(1015);const o={sidebar_position:2},i="Translate your site",a={id:"tutorial-extras/translate-your-site",title:"Translate your site",description:"Let's translate docs/intro.md to French.",source:"@site/docs/tutorial-extras/translate-your-site.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/translate-your-site",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/translate-your-site.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Manage Docs Versions",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions"}},l={},c=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function d(e){const n={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"}),"\n",(0,r.jsxs)(n.p,{children:["Let's translate ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,r.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,r.jsxs)(n.p,{children:["Modify ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,r.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,r.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,r.jsxs)(n.p,{children:["Copy the ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,r.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Translate ",(0,r.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,r.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,r.jsx)(n.code,{children:"http://localhost:3000/fr/"})," and the ",(0,r.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,r.jsx)(n.admonition,{type:"caution",children:(0,r.jsx)(n.p,{children:"In development, you can only use one locale at a same time."})}),"\n",(0,r.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,r.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,r.jsxs)(n.p,{children:["Modify the ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,r.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Locale Dropdown",src:t(3412).Z+"",width:"370",height:"302"})}),"\n",(0,r.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,r.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},3412:function(e,n,t){n.Z=t.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},1015:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var r=t(3900);const s={},o=r.createContext(s);function i(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/e7f5e6d2.f1a8ee00.js b/zh-CN/assets/js/e7f5e6d2.f1a8ee00.js new file mode 100644 index 00000000..f5cf32ef --- /dev/null +++ b/zh-CN/assets/js/e7f5e6d2.f1a8ee00.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8309],{7114:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-CN/blog/tags/hello","page":1,"postsPerPage":10,"totalPages":1,"totalCount":2,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/f054516d.1950b877.js b/zh-CN/assets/js/f054516d.1950b877.js new file mode 100644 index 00000000..f5421d1a --- /dev/null +++ b/zh-CN/assets/js/f054516d.1950b877.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1771],{5679:function(M,e,t){t.r(e),t.d(e,{assets:function(){return u},contentTitle:function(){return s},default:function(){return g},frontMatter:function(){return n},metadata:function(){return L},toc:function(){return l}});var i=t(966),j=t(1015);const n={id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},s=void 0,L={id:"doc1",title:"Style Guide",description:"You can write content using GitHub-flavored Markdown syntax.",source:"@site/versioned_docs/version-1.0.0/doc1.md",sourceDirName:".",slug:"/",permalink:"/docusaurus-search-local/zh-CN/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc1.md",tags:[],version:"1.0.0",frontMatter:{id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},sidebar:"someSidebar",next:{title:"Document Number 2",permalink:"/docusaurus-search-local/zh-CN/docs/doc2"}},u={},l=[{value:"Markdown Syntax",id:"markdown-syntax",level:2},{value:"Headers",id:"headers",level:2},{value:"H2 - Create the best documentation",id:"h2---create-the-best-documentation",level:2},{value:"H3 - Create the best documentation",id:"h3---create-the-best-documentation",level:3},{value:"H4 - Create the best documentation",id:"h4---create-the-best-documentation",level:4},{value:"H5 - Create the best documentation",id:"h5---create-the-best-documentation",level:5},{value:"H6 - Create the best documentation",id:"h6---create-the-best-documentation",level:6},{value:"Emphasis",id:"emphasis",level:2},{value:"Lists",id:"lists",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code",id:"code",level:2},{value:"Tables",id:"tables",level:2},{value:"Blockquotes",id:"blockquotes",level:2},{value:"Inline HTML",id:"inline-html",level:2},{value:"Line Breaks",id:"line-breaks",level:2},{value:"Admonitions",id:"admonitions",level:2}];function r(M){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",del:"del",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,j.a)(),...M.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(e.p,{children:["You can write content using ",(0,i.jsx)(e.a,{href:"https://github.github.com/gfm/",children:"GitHub-flavored Markdown syntax"}),"."]}),"\n",(0,i.jsx)(e.h2,{id:"markdown-syntax",children:"Markdown Syntax"}),"\n",(0,i.jsx)(e.p,{children:"To serve as an example page when styling markdown based Docusaurus sites."}),"\n",(0,i.jsx)(e.h2,{id:"headers",children:"Headers"}),"\n",(0,i.jsx)(e.h1,{id:"h1---create-the-best-documentation",children:"H1 - Create the best documentation"}),"\n",(0,i.jsx)(e.h2,{id:"h2---create-the-best-documentation",children:"H2 - Create the best documentation"}),"\n",(0,i.jsx)(e.h3,{id:"h3---create-the-best-documentation",children:"H3 - Create the best documentation"}),"\n",(0,i.jsx)(e.h4,{id:"h4---create-the-best-documentation",children:"H4 - Create the best documentation"}),"\n",(0,i.jsx)(e.h5,{id:"h5---create-the-best-documentation",children:"H5 - Create the best documentation"}),"\n",(0,i.jsx)(e.h6,{id:"h6---create-the-best-documentation",children:"H6 - Create the best documentation"}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"emphasis",children:"Emphasis"}),"\n",(0,i.jsxs)(e.p,{children:["Emphasis, aka italics, with ",(0,i.jsx)(e.em,{children:"asterisks"})," or ",(0,i.jsx)(e.em,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strong emphasis, aka bold, with ",(0,i.jsx)(e.strong,{children:"asterisks"})," or ",(0,i.jsx)(e.strong,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Combined emphasis with ",(0,i.jsxs)(e.strong,{children:["asterisks and ",(0,i.jsx)(e.em,{children:"underscores"})]}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strikethrough uses two tildes. ",(0,i.jsx)(e.del,{children:"Scratch this."})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"lists",children:"Lists"}),"\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"First ordered list item"}),"\n",(0,i.jsxs)(e.li,{children:["Another item","\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered sub-list."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(e.li,{children:["Actual numbers don't matter, just that it's a number","\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"Ordered sub-list"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(e.li,{children:"And another item."}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered list can use asterisks"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or minuses"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or pluses"}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"links",children:"Links"}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",children:"I'm an inline-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",title:"Google's Homepage",children:"I'm an inline-style link with title"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.mozilla.org/",children:"I'm a reference-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"http://slashdot.org/",children:"You can use numbers for reference-style link definitions"})}),"\n",(0,i.jsxs)(e.p,{children:["Or leave it empty and use the ",(0,i.jsx)(e.a,{href:"http://www.reddit.com/",children:"link text itself"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["URLs and URLs in angle brackets will automatically get turned into links. ",(0,i.jsx)(e.a,{href:"http://www.example.com/",children:"http://www.example.com/"})," and sometimes example.com (but not on GitHub, for example)."]}),"\n",(0,i.jsx)(e.p,{children:"Some text to show that the reference links can follow later."}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"images",children:"Images"}),"\n",(0,i.jsx)(e.p,{children:"Here's our logo (hover to see the title text):"}),"\n",(0,i.jsxs)(e.p,{children:["Inline-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 1"})]}),"\n",(0,i.jsxs)(e.p,{children:["Reference-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 2"})]}),"\n",(0,i.jsx)(e.p,{children:"Images from any folder can be used by providing path to file. Path should be relative to markdown file."}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.img,{alt:"img",src:t(47).Z+"",width:"200",height:"200"})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"code",children:"Code"}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-javascript",children:'var s = "JavaScript syntax highlighting";\nalert(s);\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-python",children:'s = "Python syntax highlighting"\nprint(s)\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{children:"No language indicated, so no syntax highlighting.\nBut let's throw in a <b>tag</b>.\n"})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-js",metastring:"{2}",children:'function highlightMe() {\n console.log("This line can be highlighted!");\n}\n'})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"tables",children:"Tables"}),"\n",(0,i.jsx)(e.p,{children:"Colons can be used to align columns."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Tables"}),(0,i.jsx)(e.th,{style:{textAlign:"center"},children:"Are"}),(0,i.jsx)(e.th,{style:{textAlign:"right"},children:"Cool"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 3 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"right-aligned"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1600"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 2 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"centered"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$12"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"zebra stripes"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"are neat"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1"})]})]})]}),"\n",(0,i.jsx)(e.p,{children:"There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Markdown"}),(0,i.jsx)(e.th,{children:"Less"}),(0,i.jsx)(e.th,{children:"Pretty"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:(0,i.jsx)(e.em,{children:"Still"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.code,{children:"renders"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.strong,{children:"nicely"})})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"1"}),(0,i.jsx)(e.td,{children:"2"}),(0,i.jsx)(e.td,{children:"3"})]})]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"blockquotes",children:"Blockquotes"}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsx)(e.p,{children:"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote."}),"\n"]}),"\n",(0,i.jsx)(e.p,{children:"Quote break."}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsxs)(e.p,{children:["This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can ",(0,i.jsx)(e.em,{children:"put"})," ",(0,i.jsx)(e.strong,{children:"Markdown"})," into a blockquote."]}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"inline-html",children:"Inline HTML"}),"\n",(0,i.jsxs)("dl",{children:[(0,i.jsx)("dt",{children:"Definition list"}),(0,i.jsx)("dd",{children:"Is something people use sometimes."}),(0,i.jsx)("dt",{children:"Markdown in HTML"}),(0,i.jsxs)("dd",{children:["Does ",(0,i.jsx)(e.em,{children:"not"})," work ",(0,i.jsx)(e.strong,{children:"very"})," well. Use HTML ",(0,i.jsx)("em",{children:"tags"}),"."]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"line-breaks",children:"Line Breaks"}),"\n",(0,i.jsx)(e.p,{children:"Here's a line for us to start with."}),"\n",(0,i.jsxs)(e.p,{children:["This line is separated from the one above by two newlines, so it will be a ",(0,i.jsx)(e.em,{children:"separate paragraph"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the ",(0,i.jsx)(e.em,{children:"same paragraph"}),"."]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,i.jsx)(e.admonition,{type:"note",children:(0,i.jsx)(e.p,{children:"This is a note"})}),"\n",(0,i.jsx)(e.admonition,{type:"tip",children:(0,i.jsx)(e.p,{children:"This is a tip"})}),"\n",(0,i.jsx)(e.admonition,{type:"important",children:(0,i.jsx)(e.p,{children:"This is important"})}),"\n",(0,i.jsx)(e.admonition,{type:"caution",children:(0,i.jsx)(e.p,{children:"This is a caution"})}),"\n",(0,i.jsx)(e.admonition,{type:"warning",children:(0,i.jsx)(e.p,{children:"This is a warning"})})]})}function g(M={}){const{wrapper:e}={...(0,j.a)(),...M.components};return e?(0,i.jsx)(e,{...M,children:(0,i.jsx)(r,{...M})}):r(M)}},47:function(M,e){e.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjRkZGIiBkPSJNOTkgNTJoODR2MzRIOTl6Ii8+PHBhdGggZD0iTTIzIDE2M2MtNy4zOTggMC0xMy44NDMtNC4wMjctMTcuMzAzLTEwQTE5Ljg4NiAxOS44ODYgMCAwIDAgMyAxNjNjMCAxMS4wNDYgOC45NTQgMjAgMjAgMjBoMjB2LTIwSDIzeiIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGQ9Ik0xMTIuOTggNTcuMzc2TDE4MyA1M1Y0M2MwLTExLjA0Ni04Ljk1NC0yMC0yMC0yMEg3M2wtMi41LTQuMzNjLTEuMTEyLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw2MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw1MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw0MyAyM2MtLjAyMiAwLS4wNDIuMDAzLS4wNjUuMDAzbC00LjE0Mi00LjE0MWMtMS41Ny0xLjU3MS00LjI1Mi0uODUzLTQuODI4IDEuMjk0bC0xLjM2OSA1LjEwNC01LjE5Mi0xLjM5MmMtMi4xNDgtLjU3NS00LjExMSAxLjM4OS0zLjUzNSAzLjUzNmwxLjM5IDUuMTkzLTUuMTAyIDEuMzY3Yy0yLjE0OC41NzYtMi44NjcgMy4yNTktMS4yOTYgNC44M2w0LjE0MiA0LjE0MmMwIC4wMjEtLjAwMy4wNDItLjAwMy4wNjRsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNzNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgODNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgOTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTAzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDExM2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxMjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTMzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDE0M2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTYzYzAgMTEuMDQ2IDguOTU0IDIwIDIwIDIwaDEyMGMxMS4wNDYgMCAyMC04Ljk1NCAyMC0yMFY4M2wtNzAuMDItNC4zNzZBMTAuNjQ1IDEwLjY0NSAwIDAgMSAxMDMgNjhjMC01LjYyMSA0LjM3LTEwLjI3MyA5Ljk4LTEwLjYyNCIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNDMgMTgzaDMwdi00MGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxOTAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNTMgMTIzaDMwdi0yMGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxMTUuNWEyLjUgMi41IDAgMSAwIDAtNWMtLjEwOSAwLS4yMTQuMDE5LS4zMTkuMDMyLS4wMi0uMDc1LS4wMzctLjE1LS4wNTgtLjIyNWEyLjUwMSAyLjUwMSAwIDAgMC0uOTYzLTQuODA3Yy0uNTY5IDAtMS4wODguMTk3LTEuNTA4LjUxOGE2LjY1MyA2LjY1MyAwIDAgMC0uMTY4LS4xNjhjLjMxNC0uNDE3LjUwNi0uOTMxLjUwNi0xLjQ5NGEyLjUgMi41IDAgMCAwLTQuOC0uOTc5QTkuOTg3IDkuOTg3IDAgMCAwIDE4MyAxMDNjLTUuNTIyIDAtMTAgNC40NzgtMTAgMTBzNC40NzggMTAgMTAgMTBjLjkzNCAwIDEuODMzLS4xMzggMi42OS0uMzc3YTIuNSAyLjUgMCAwIDAgNC44LS45NzljMC0uNTYzLS4xOTItMS4wNzctLjUwNi0xLjQ5NC4wNTctLjA1NS4xMTMtLjExMS4xNjgtLjE2OC40Mi4zMjEuOTM5LjUxOCAxLjUwOC41MThhMi41IDIuNSAwIDAgMCAuOTYzLTQuODA3Yy4wMjEtLjA3NC4wMzgtLjE1LjA1OC0uMjI1LjEwNS4wMTMuMjEuMDMyLjMxOS4wMzIiIGZpbGw9IiM0NEQ4NjAiLz48cGF0aCBkPSJNNjMgNTUuNWEyLjUgMi41IDAgMCAxLTIuNS0yLjVjMC00LjEzNi0zLjM2NC03LjUtNy41LTcuNXMtNy41IDMuMzY0LTcuNSA3LjVhMi41IDIuNSAwIDEgMS01IDBjMC02Ljg5MyA1LjYwNy0xMi41IDEyLjUtMTIuNVM2NS41IDQ2LjEwNyA2NS41IDUzYTIuNSAyLjUgMCAwIDEtMi41IDIuNSIgZmlsbD0iIzAwMCIvPjxwYXRoIGQ9Ik0xMDMgMTgzaDYwYzExLjA0NiAwIDIwLTguOTU0IDIwLTIwVjkzaC02MGMtMTEuMDQ2IDAtMjAgOC45NTQtMjAgMjB2NzB6IiBmaWxsPSIjRkZGRjUwIi8+PHBhdGggZD0iTTE2OC4wMiAxMjRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAyMGgtNTAuMDRhMSAxIDAgMSAxIDAtMmg1MC4wNGExIDEgMCAxIDEgMCAybTAtNDkuODE0aC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAxOS44MTRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJNMTgzIDYxLjYxMWMtLjAxMiAwLS4wMjItLjAwNi0uMDM0LS4wMDUtMy4wOS4xMDUtNC41NTIgMy4xOTYtNS44NDIgNS45MjMtMS4zNDYgMi44NS0yLjM4NyA0LjcwMy00LjA5MyA0LjY0Ny0xLjg4OS0uMDY4LTIuOTY5LTIuMjAyLTQuMTEzLTQuNDYtMS4zMTQtMi41OTQtMi44MTQtNS41MzYtNS45NjMtNS40MjYtMy4wNDYuMTA0LTQuNTEzIDIuNzk0LTUuODA3IDUuMTY3LTEuMzc3IDIuNTI4LTIuMzE0IDQuMDY1LTQuMTIxIDMuOTk0LTEuOTI3LS4wNy0yLjk1MS0xLjgwNS00LjEzNi0zLjgxMy0xLjMyMS0yLjIzNi0yLjg0OC00Ljc1LTUuOTM2LTQuNjY0LTIuOTk0LjEwMy00LjQ2NSAyLjM4NS01Ljc2MyA0LjQtMS4zNzMgMi4xMy0yLjMzNSAzLjQyOC00LjE2NSAzLjM1MS0xLjk3My0uMDctMi45OTItMS41MS00LjE3MS0zLjE3Ny0xLjMyNC0xLjg3My0yLjgxNi0zLjk5My01Ljg5NS0zLjg5LTIuOTI4LjEtNC4zOTkgMS45Ny01LjY5NiAzLjYxOC0xLjIzMiAxLjU2NC0yLjE5NCAyLjgwMi00LjIyOSAyLjcyNGExIDEgMCAwIDAtLjA3MiAyYzMuMDE3LjEwMSA0LjU0NS0xLjggNS44NzItMy40ODcgMS4xNzctMS40OTYgMi4xOTMtMi43ODcgNC4xOTMtMi44NTUgMS45MjYtLjA4MiAyLjgyOSAxLjExNSA0LjE5NSAzLjA0NSAxLjI5NyAxLjgzNCAyLjc2OSAzLjkxNCA1LjczMSA0LjAyMSAzLjEwMy4xMDQgNC41OTYtMi4yMTUgNS45MTgtNC4yNjcgMS4xODItMS44MzQgMi4yMDItMy40MTcgNC4xNS0zLjQ4NCAxLjc5My0uMDY3IDIuNzY5IDEuMzUgNC4xNDUgMy42ODEgMS4yOTcgMi4xOTcgMi43NjYgNC42ODYgNS43ODcgNC43OTYgMy4xMjUuMTA4IDQuNjM0LTIuNjIgNS45NDktNS4wMzUgMS4xMzktMi4wODggMi4yMTQtNC4wNiA0LjExOS00LjEyNiAxLjc5My0uMDQyIDIuNzI4IDEuNTk1IDQuMTExIDQuMzMgMS4yOTIgMi41NTMgMi43NTcgNS40NDUgNS44MjUgNS41NTZsLjE2OS4wMDNjMy4wNjQgMCA0LjUxOC0zLjA3NSA1LjgwNS01Ljc5NCAxLjEzOS0yLjQxIDIuMjE3LTQuNjggNC4wNjctNC43NzN2LTJ6IiBmaWxsPSIjMDAwIi8+PHBhdGggZmlsbD0iIzNFQ0M1RiIgZD0iTTgzIDE4M2g0MHYtNDBIODN6Ii8+PHBhdGggZD0iTTE0MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxNDAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik04MyAxMjNoNDB2LTIwSDgzeiIvPjxwYXRoIGQ9Ik0xMzMgMTE1LjVhMi41IDIuNSAwIDEgMCAwLTVjLS4xMDkgMC0uMjE0LjAxOS0uMzE5LjAzMi0uMDItLjA3NS0uMDM3LS4xNS0uMDU4LS4yMjVhMi41MDEgMi41MDEgMCAwIDAtLjk2My00LjgwN2MtLjU2OSAwLTEuMDg4LjE5Ny0xLjUwOC41MThhNi42NTMgNi42NTMgMCAwIDAtLjE2OC0uMTY4Yy4zMTQtLjQxNy41MDYtLjkzMS41MDYtMS40OTRhMi41IDIuNSAwIDAgMC00LjgtLjk3OUE5Ljk4NyA5Ljk4NyAwIDAgMCAxMjMgMTAzYy01LjUyMiAwLTEwIDQuNDc4LTEwIDEwczQuNDc4IDEwIDEwIDEwYy45MzQgMCAxLjgzMy0uMTM4IDIuNjktLjM3N2EyLjUgMi41IDAgMCAwIDQuOC0uOTc5YzAtLjU2My0uMTkyLTEuMDc3LS41MDYtMS40OTQuMDU3LS4wNTUuMTEzLS4xMTEuMTY4LS4xNjguNDIuMzIxLjkzOS41MTggMS41MDguNTE4YTIuNSAyLjUgMCAwIDAgLjk2My00LjgwN2MuMDIxLS4wNzQuMDM4LS4xNS4wNTgtLjIyNS4xMDUuMDEzLjIxLjAzMi4zMTkuMDMyIiBmaWxsPSIjNDREODYwIi8+PHBhdGggZD0iTTE0MyA0MS43NWMtLjE2IDAtLjMzLS4wMi0uNDktLjA1YTIuNTIgMi41MiAwIDAgMS0uNDctLjE0Yy0uMTUtLjA2LS4yOS0uMTQtLjQzMS0uMjMtLjEzLS4wOS0uMjU5LS4yLS4zOC0uMzEtLjEwOS0uMTItLjIxOS0uMjQtLjMwOS0uMzhzLS4xNy0uMjgtLjIzMS0uNDNhMi42MTkgMi42MTkgMCAwIDEtLjE4OS0uOTZjMC0uMTYuMDItLjMzLjA1LS40OS4wMy0uMTYuMDgtLjMxLjEzOS0uNDcuMDYxLS4xNS4xNDEtLjI5LjIzMS0uNDMuMDktLjEzLjItLjI2LjMwOS0uMzguMTIxLS4xMS4yNS0uMjIuMzgtLjMxLjE0MS0uMDkuMjgxLS4xNy40MzEtLjIzLjE0OS0uMDYuMzEtLjExLjQ3LS4xNC4zMi0uMDcuNjUtLjA3Ljk4IDAgLjE1OS4wMy4zMi4wOC40Ny4xNC4xNDkuMDYuMjkuMTQuNDMuMjMuMTMuMDkuMjU5LjIuMzguMzEuMTEuMTIuMjIuMjUuMzEuMzguMDkuMTQuMTcuMjguMjMuNDMuMDYuMTYuMTEuMzEuMTQuNDcuMDI5LjE2LjA1LjMzLjA1LjQ5IDAgLjY2LS4yNzEgMS4zMS0uNzMgMS43Ny0uMTIxLjExLS4yNS4yMi0uMzguMzEtLjE0LjA5LS4yODEuMTctLjQzLjIzYTIuNTY1IDIuNTY1IDAgMCAxLS45Ni4xOW0yMC0xLjI1Yy0uNjYgMC0xLjMtLjI3LTEuNzcxLS43M2EzLjgwMiAzLjgwMiAwIDAgMS0uMzA5LS4zOGMtLjA5LS4xNC0uMTctLjI4LS4yMzEtLjQzYTIuNjE5IDIuNjE5IDAgMCAxLS4xODktLjk2YzAtLjY2LjI3LTEuMy43MjktMS43Ny4xMjEtLjExLjI1LS4yMi4zOC0uMzEuMTQxLS4wOS4yODEtLjE3LjQzMS0uMjMuMTQ5LS4wNi4zMS0uMTEuNDctLjE0LjMyLS4wNy42Ni0uMDcuOTggMCAuMTU5LjAzLjMyLjA4LjQ3LjE0LjE0OS4wNi4yOS4xNC40My4yMy4xMy4wOS4yNTkuMi4zOC4zMS40NTkuNDcuNzMgMS4xMS43MyAxLjc3IDAgLjE2LS4wMjEuMzMtLjA1LjQ5LS4wMy4xNi0uMDguMzItLjE0LjQ3LS4wNy4xNS0uMTQuMjktLjIzLjQzLS4wOS4xMy0uMi4yNi0uMzEuMzgtLjEyMS4xMS0uMjUuMjItLjM4LjMxLS4xNC4wOS0uMjgxLjE3LS40My4yM2EyLjU2NSAyLjU2NSAwIDAgMS0uOTYuMTkiIGZpbGw9IiMwMDAiLz48L2c+PC9zdmc+"},1015:function(M,e,t){t.d(e,{Z:function(){return L},a:function(){return s}});var i=t(3900);const j={},n=i.createContext(j);function s(M){const e=i.useContext(n);return i.useMemo((function(){return"function"==typeof M?M(e):{...e,...M}}),[e,M])}function L(M){let e;return e=M.disableParentContext?"function"==typeof M.components?M.components(j):M.components||j:s(M.components),i.createElement(n.Provider,{value:e},M.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/f55d3e7a.0caccb51.js b/zh-CN/assets/js/f55d3e7a.0caccb51.js new file mode 100644 index 00000000..a86b3480 --- /dev/null +++ b/zh-CN/assets/js/f55d3e7a.0caccb51.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4193],{622:function(e,s,t){t.r(s),t.d(s,{assets:function(){return l},contentTitle:function(){return i},default:function(){return d},frontMatter:function(){return o},metadata:function(){return c},toc:function(){return a}});var r=t(966),n=t(1015);const o={sidebar_position:5},i="Deploy your site",c={id:"tutorial-basics/deploy-your-site",title:"Deploy your site",description:"Docusaurus is a static-site-generator (also called Jamstack).",source:"@site/docs/tutorial-basics/deploy-your-site.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/deploy-your-site",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/deploy-your-site.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Markdown Features",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features"},next:{title:"Congratulations!",permalink:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations"}},l={},a=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function u(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"}),"\n",(0,r.jsxs)(s.p,{children:["Docusaurus is a ",(0,r.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,r.jsxs)(s.p,{children:["It builds your site as simple ",(0,r.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,r.jsxs)(s.p,{children:["Build your site ",(0,r.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The static files are generated in the ",(0,r.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,r.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,r.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.code,{children:"build"})," folder is now served at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(s.p,{children:["You can now deploy the ",(0,r.jsx)(s.code,{children:"build"})," folder ",(0,r.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,r.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function d(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1015:function(e,s,t){t.d(s,{Z:function(){return c},a:function(){return i}});var r=t(3900);const n={},o=r.createContext(n);function i(e){const s=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/zh-CN/assets/js/main.62909379.js b/zh-CN/assets/js/main.62909379.js new file mode 100644 index 00000000..ca7c788c --- /dev/null +++ b/zh-CN/assets/js/main.62909379.js @@ -0,0 +1,2 @@ +/*! For license information please see main.62909379.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{537:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},773:function(e,t,n){"use strict";var r=n(3900),o=n(4932),a=n(3525),i=n(7782),s=n(3043),l=[n(4553),n(6633),n(6797),n(8306)],u=n(9850),c=n(382),d=n(4518),f=n(966);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(743),m=n(2442),g=n(3373),y=n(4715),b=n(4181),v=n(5028),w=n(3936),k=n(488),x=n(181),S=n(3806);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,v.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(h.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},"meta-og-"+e.htmlLang)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?""+n+t:r;return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(b.d,{image:n}),(0,f.jsx)(C,{}),(0,f.jsx)(E,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(h.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function N(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var L=n(537),j=n(1347),R=n(2194);function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=l.map((t=>{var r,o;const a=null!=(r=null==(o=t.default)?void 0:o[e])?r:t[e];return null==a?void 0:a(...n)}));return()=>o.forEach((e=>null==e?void 0:e()))}var P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,R.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class I extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(c.AW,{location:t,render:()=>e})})}}var D=I;const z="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",M="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return"\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '"+z+"';\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="'+F+'" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+M+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('"+M+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function U(){const{siteConfig:{baseUrl:e}}=(0,m.Z)();return(0,f.jsx)(f.Fragment,{children:!s.Z.canUseDOM&&(0,f.jsx)(h.Z,{children:(0,f.jsx)("script",{children:B(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?(0,f.jsx)(U,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:o}}=(0,m.Z)(),a=(0,g.Z)(e),{htmlLang:i,direction:s}=o[r];return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:a})]})}var H=n(9933),Q=n(5106);function W(){const e=(0,Q.Z)();return(0,f.jsx)(h.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function Z(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return(0,f.jsx)(H.Z,{children:(0,f.jsx)(j.M,{children:(0,f.jsxs)(L.t,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(q,{}),(0,f.jsx)(_,{}),(0,f.jsx)($,{}),(0,f.jsx)(D,{location:N(t),children:e})]}),(0,f.jsx)(W,{})]})})})}var V=n(6887);const G=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r,o;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const i=null!=(r=document.getElementsByTagName("head")[0])?r:null==(o=document.getElementsByName("script")[0])?void 0:o.parentNode;null==i||i.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(7126);const Y=new Set,X=new Set,J=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?G(t).catch((()=>{})):Promise.resolve()})))},preload(e){return!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))}};var te=Object.freeze(ee);const ne=Boolean(!0);if(s.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.B6,{children:(0,f.jsx)(a.VK,{children:(0,f.jsx)(Z,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(s)}},1347:function(e,t,n){"use strict";n.d(t,{_:function(){return d},M:function(){return f}});var r=n(3900),o=n(6809),a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docusaurus-search-local/zh-CN/docs","versions":[{"name":"current","label":"Next","isLast":false,"path":"/docusaurus-search-local/zh-CN/docs/next","mainDocId":"intro","docs":[{"id":"intro","path":"/docusaurus-search-local/zh-CN/docs/next/intro","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/congratulations","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-blog-post","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-document","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-page","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/deploy-your-site","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/markdown-features","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/manage-docs-versions","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/translate-your-site","path":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","sidebar":"tutorialSidebar"},{"id":"unlisted-post","path":"/docusaurus-search-local/zh-CN/docs/next/unlisted-post","unlisted":true,"sidebar":"tutorialSidebar"},{"id":"/category/tutorial---basics","path":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docusaurus-search-local/zh-CN/docs/next/intro","label":"intro"}}}},{"name":"1.0.0","label":"1.0.0","isLast":true,"path":"/docusaurus-search-local/zh-CN/docs","mainDocId":"doc1","docs":[{"id":"doc-in-pt","path":"/docusaurus-search-local/zh-CN/docs/doc-in-pt"},{"id":"doc1","path":"/docusaurus-search-local/zh-CN/docs/","sidebar":"someSidebar"},{"id":"doc2","path":"/docusaurus-search-local/zh-CN/docs/doc2","sidebar":"someSidebar"},{"id":"doc3","path":"/docusaurus-search-local/zh-CN/docs/doc3","sidebar":"someSidebar"},{"id":"mdx","path":"/docusaurus-search-local/zh-CN/docs/mdx","sidebar":"someSidebar"}],"draftIds":[],"sidebars":{"someSidebar":{"link":{"path":"/docusaurus-search-local/zh-CN/docs/","label":"doc1"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en","zh-CN","zh-TW"],"path":"i18n","currentLocale":"zh-CN","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"},"zh-CN":{"label":"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09","direction":"ltr","htmlLang":"zh-CN","calendar":"gregory","path":"zh-CN"},"zh-TW":{"label":"\u4e2d\u6587\uff08\u53f0\u7063\uff09","direction":"ltr","htmlLang":"zh-TW","calendar":"gregory","path":"zh-TW"}}}'),s=n(7529),l=JSON.parse('{"docusaurusVersion":"3.0.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.0.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.41.0"}}}'),u=n(966);const c={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(c);function f(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},9933:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3043),a=n(743),i=n(346),s=n(2786),l=n(966);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(a.Z,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){var n;const e={error:t,tryAgain:()=>this.setState({error:null})};return(null!=(n=this.props.fallback)?n:f)(e)}return null!=e?e:null}}},3043:function(e,t){"use strict";const n="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,r={canUseDOM:n,canUseEventListeners:n&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:n&&"IntersectionObserver"in window,canUseViewport:n&&"screen"in window};t.Z=r},743:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(7782),o=n(966);function a(e){return(0,o.jsx)(r.ql,{...e})}},3707:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3525),a=n(346),i=n(2442),s=n(6843),l=n(3043),u=n(966);const c=r.createContext({collectLink:()=>{}});var d=n(3373);function f(e,t){var n,f;let{isNavLink:p,to:h,href:m,activeClassName:g,isActive:y,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...w}=e;const{siteConfig:{trailingSlash:k,baseUrl:x}}=(0,i.Z)(),{withBaseUrl:S}=(0,d.C)(),E=(0,r.useContext)(c),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>C.current));const _=h||m;const T=(0,s.Z)(_),N=null==_?void 0:_.replace("pathname://","");let L=void 0!==N?(j=N,v&&(e=>e.startsWith("/"))(j)?S(j):j):void 0;var j;L&&T&&(L=(0,a.applyTrailingSlash)(L,{trailingSlash:k,baseUrl:x}));const R=(0,r.useRef)(!1),A=p?o.OL:o.rU,P=l.Z.canUseIntersectionObserver,O=(0,r.useRef)(),I=()=>{R.current||null==L||(window.docusaurus.preload(L),R.current=!0)};(0,r.useEffect)((()=>(!P&&T&&null!=L&&window.docusaurus.prefetch(L),()=>{P&&O.current&&O.current.disconnect()})),[O,L,P,T]);const D=null!=(n=null==(f=L)?void 0:f.startsWith("#"))&&n,z=!L||!T||D;return z||b||E.collectLink(L),z?(0,u.jsx)("a",{ref:C,href:L,..._&&!T&&{target:"_blank",rel:"noopener noreferrer"},...w}):(0,u.jsx)(A,{...w,onMouseEnter:I,onTouchStart:I,innerRef:e=>{C.current=e,P&&e&&T&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=L&&window.docusaurus.prefetch(L))}))})),O.current.observe(e))},to:L,...p&&{isActive:y,activeClassName:g}})}var p=r.forwardRef(f)},1207:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return l}});var r=n(3900),o=n(966);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function s(e){var t,n;let{id:r,message:o}=e;if(void 0===r&&void 0===o)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=i[null!=r?r:o])?n:o)?t:r}function l(e,t){let{message:n,id:r}=e;return a(s({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},63:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r="default"},6843:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return o},b:function(){return r}})},3373:function(e,t,n){"use strict";n.d(t,{C:function(){return i},Z:function(){return s}});var r=n(3900),o=n(2442),a=n(6843);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},2442:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(1347);function a(){return(0,r.useContext)(o._)}},5019:function(e,t,n){"use strict";n.d(t,{OD:function(){return a},eZ:function(){return i}});var r=n(2442),o=n(63);function a(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}function i(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=a(e),i=null==r?void 0:r[t];if(!i&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return i}},5106:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(537);function a(){return(0,r.useContext)(o._)}},2194:function(e,t,n){"use strict";var r=n(3900);const o=n(3043).Z.canUseDOM?r.useLayoutEffect:r.useEffect;t.Z=o},7126:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?o+"."+a:a;r(i)?e(i,s):t[s]=i}))}(e),t}},778:function(e,t,n){"use strict";n.d(t,{_:function(){return a},z:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},8213:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},_r:function(){return l},zh:function(){return u},yW:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){const t=u(e);return a(t)}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}},304:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},Jo:function(){return p},gB:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){return u(e).versions}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function p(e){const t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=a(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},5009:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(3900),l=n(5401),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=d(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function g(){return m||(m=e(h.loader)),m.promise}return u.push(g),"function"==typeof h.webpack&&c.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return a(o(o(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(h.loader),r._loadModule()})),g(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),a(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function m(e){return h(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}a(g,"propTypes",{report:l.func.isRequired}),a(g,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),m.Capture=g,m.preloadAll=function(){return new Promise((function(e,t){y(u).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){y(c).then(e,e)}))},e.exports=m},6797:function(e,t,n){"use strict";n.r(t);var r=n(2130),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}};t.default=a},6633:function(e,t,n){"use strict";n.r(t);var r=n(8334),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(4266),n(4453)("./prism-"+e)})),delete globalThis.Prism}(r.p1)},4974:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});n(3900);var r=n(7515),o=n(1207),a=n(4715),i=n(3707),s={anchorWithStickyNavbar:"anchorWithStickyNavbar_vYcL",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_x1aE"},l=n(966);function u(e){let{as:t,id:n,...u}=e;const{navbar:{hideOnScroll:c}}=(0,a.L)();if("h1"===t||!n)return(0,l.jsx)(t,{...u,id:void 0});const d=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,l.jsxs)(t,{...u,className:(0,r.Z)("anchor",c?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,l.jsx)(i.Z,{className:"hash-link",to:"#"+n,"aria-label":d,title:d,children:"\u200b"})]})}},4153:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r={iconExternalLink:"iconExternalLink_Olb8"},o=n(966);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2786:function(e,t,n){"use strict";n.d(t,{Z:function(){return It}});var r=n(3900),o=n(7515),a=n(9933),i=n(4181),s=n(382),l=n(1207),u=n(8257),c=n(966);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=null!=(n=document.querySelector("main:first-of-type"))?n:document.getElementById(d);var n;t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){var t;const n=null!=(t=e.children)?t:h,{containerRef:r,onClick:o}=p();return(0,c.jsx)("div",{ref:r,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:"#"+d,onClick:o,children:n})})}var g=n(8512),y=n(3936),b={skipToContent:"skipToContent__7wj"};function v(){return(0,c.jsx)(m,{className:b.skipToContent})}var w=n(4715),k=n(3308);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:o,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}var S={closeButton:"closeButton_zp99"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}var C={content:"content_jqJ1"};function _(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}var T={announcementBar:"announcementBar_lHnW",announcementBarPlaceholder:"announcementBarPlaceholder_wKiJ",announcementBarClose:"announcementBarClose_NRWR",announcementBarContent:"announcementBarContent_hYVY"};function N(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,c.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,c.jsx)("div",{className:T.announcementBarPlaceholder}),(0,c.jsx)(_,{className:T.announcementBarContent}),a&&(0,c.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var L=n(3215),j=n(9611);var R=n(5158),A=n(3943);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,L.e)(),t=(0,A.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,R.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(P);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,A.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function z(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(8408),M=n(5106);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function U(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}var $={toggle:"toggle_QpWG",toggleButton:"toggleButton_HA4k",darkToggleIcon:"darkToggleIcon_i3Jm",lightToggleIcon:"lightToggleIcon_tTRg",toggleButtonDisabled:"toggleButtonDisabled_Am9_"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,M.Z)(),s=(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,c.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,c.jsx)(U,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}var H=r.memo(q),Q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_MELe"};function W(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,F.I)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?Q.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var Z=n(266);function V(){return(0,c.jsx)(Z.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,L.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(V,{}),(0,c.jsx)(W,{className:"margin-right--md"}),(0,c.jsx)(G,{})]})}var Y=n(3707),X=n(3373),J=n(6843);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(4153);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...u}=e;const d=(0,X.Z)(r),f=(0,X.Z)(t),p=(0,X.Z)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,J.Z)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[a,h&&(0,c.jsx)(te.Z,{...s&&{width:12,height:12}})]})};return o?(0,c.jsx)(Y.Z,{href:l?p:o,...u,...m}):(0,c.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...u,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,c.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){var t;let{mobile:n=!1,position:r,...o}=e;const a=n?oe:re;return(0,c.jsx)(a,{...o,activeClassName:null!=(t=o.activeClassName)?t:n?"menu__link--active":"navbar__link--active"})}var ie=n(3663),se=n(4064),le=n(2442);function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ce(e){var t;let{items:n,position:a,className:i,onClick:s,...l}=e;const u=(0,r.useRef)(null),[d,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[u]),(0,c.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===a,"dropdown--show":d}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":d,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!d))},children:null!=(t=l.children)?t:l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:n.map(((e,t)=>(0,r.createElement)(Ze,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function de(e){var t;let{items:n,className:a,position:i,onClick:l,...u}=e;const d=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),f=ue(n,d),{collapsed:p,toggleCollapsed:h,setCollapsed:m}=(0,ie.u)({initialState:()=>!f});return(0,r.useEffect)((()=>{f&&m(!f)}),[d,f,m]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,o.Z)("menu__link menu__link--sublist menu__link--sublist-caret",a),...u,onClick:e=>{e.preventDefault(),h()},children:null!=(t=u.children)?t:u.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:n.map(((e,t)=>(0,r.createElement)(Ze,{mobile:!0,isDropdownItem:!0,onClick:l,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?de:ce;return(0,c.jsx)(r,{...n})}var pe=n(5028);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}var me="iconLanguage_RUbi";var ge=n(3771),ye=n(4924),be=n(8213),ve=n(1316),we=n(6329),ke=n(557),xe=n(5486),Se=n(6481),Ee=n(7833),Ce=n(596);const _e='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',Te='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>',Ne='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 5H3h14zm0 5H3h14zm0 5H3h14z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',Le='<svg width="20" height="20" viewBox="0 0 20 20"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M18 3v4c0 2-2 4-4 4H2"></path><path d="M8 17l-6-6 6-6"></path></g></svg>',je='<svg width="40" height="40" viewBox="0 0 20 20" fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"></path></svg>',Re='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v42M20 27H8.3"></path></g></svg>',Ae='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v21M20 27H8.3"></path></g></svg>';var Pe={searchBar:"searchBar_ZNED",dropdownMenu:"dropdownMenu_KI5l",searchBarLeft:"searchBarLeft_ylsZ",suggestion:"suggestion_m3ms",cursor:"cursor_qOAr",hitTree:"hitTree_TD98",hitIcon:"hitIcon_fMx6",hitPath:"hitPath_nPSC",noResultsIcon:"noResultsIcon_UhOM",hitFooter:"hitFooter_MyWu",hitWrapper:"hitWrapper_FGPj",hitTitle:"hitTitle_jvEB",hitAction:"hitAction_Dksg",hideAction:"hideAction_DX6M",noResults:"noResults_iR5T",searchBarContainer:"searchBarContainer_nwld",searchBarLoadingRing:"searchBarLoadingRing_RHN6",searchClearButton:"searchClearButton_A9Ts",searchIndexLoading:"searchIndexLoading_TSh5",searchHintContainer:"searchHintContainer_yMUd",searchHint:"searchHint_CJly",focused:"focused_xMO5",input:"input_klxF",hint:"hint_rKnm",suggestions:"suggestions_dbK7",dataset:"dataset_sVTZ",empty:"empty_u4uY"};function Oe(e){let{document:t,type:n,page:r,metadata:o,tokens:a,isInterOfTree:i,isLastOfTree:s}=e;const l=n===ke.P.Title,u=n===ke.P.Keywords,c=l||u,d=n===ke.P.Heading,f=[];i?f.push(Re):s&&f.push(Ae);const p=f.map((e=>'<span class="'+Pe.hitTree+'">'+e+"</span>")),h='<span class="'+Pe.hitIcon+'">'+(c?_e:d?Te:Ne)+"</span>",m=['<span class="'+Pe.hitTitle+'">'+(u?(0,Ee.C)(t.s,a):(0,Ce.o)(t.t,(0,Se.m)(o,"t"),a))+"</span>"];if(!i&&!s&&ge.H6){var g;const e=r?null==(g=r.b)?void 0:g.concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;m.push('<span class="'+Pe.hitPath+'">'+(0,xe.e)(null!=e?e:[])+"</span>")}else c||m.push('<span class="'+Pe.hitPath+'">'+(0,Ee.C)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),a)+"</span>");const y='<span class="'+Pe.hitAction+'">'+Le+"</span>";return[...p,h,'<span class="'+Pe.hitWrapper+'">',...m,"</span>",y].join("")}function Ie(){return'<span class="'+Pe.noResults+'"><span class="'+Pe.noResultsIcon+'">'+je+"</span><span>"+(0,l.I)({id:"theme.SearchBar.noResultsText",message:"No results"})+"</span></span>"}var De=n(6192),ze=n(7208);async function Fe(){const e=await Promise.all([n.e(5920),n.e(8133)]).then(n.t.bind(n,5920,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const Me="_highlight";var Be=function(e){var t,n;let{handleSearchBarToggle:a}=e;const i=(0,M.Z)(),{siteConfig:{baseUrl:u},i18n:{currentLocale:d}}=(0,le.Z)(),f=(0,be.gA)();let p=u;try{var h;const{preferredVersion:e}=(0,ye.J)(null!=(h=null==f?void 0:f.pluginId)?h:ge.gQ);e&&!e.isLast&&(p=e.path+"/")}catch($){if(ge.l9&&!($ instanceof R.i6))throw $}const m=(0,s.k6)(),g=(0,s.TH)(),y=(0,r.useRef)(null),b=(0,r.useRef)(new Map),v=(0,r.useRef)(!1),[w,k]=(0,r.useState)(!1),[x,S]=(0,r.useState)(!1),[E,C]=(0,r.useState)(""),_=(0,r.useRef)(null),T=(0,r.useRef)(""),[N,L]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(ge.Kc))return;let e="";if(g.pathname.startsWith(p)){const t=g.pathname.substring(p.length);let n;for(const e of ge.Kc){const r="string"==typeof e?e:e.path;if(t===r||t.startsWith(r+"/")){n=r;break}}n&&(e=n)}T.current!==e&&(b.current.delete(e),T.current=e),L(e)}),[g.pathname,p]);const j=!!ge.hG&&Array.isArray(ge.Kc)&&""===N,A=(0,r.useCallback)((async()=>{var e;if(j||b.current.get(N))return;b.current.set(N,"loading"),null==(e=_.current)||e.autocomplete.destroy(),k(!0);const[{wrappedIndexes:t,zhDictionary:n},r]=await Promise.all([(0,ve.w)(p,N),Fe()]);if(_.current=r(y.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,o.Z)(Pe.searchBar,{[Pe.searchBarLeft]:"left"===ge.pu}),noPrefix:!0,dropdownMenu:Pe.dropdownMenu,input:Pe.input,hint:Pe.hint,suggestions:Pe.suggestions,suggestion:Pe.suggestion,cursor:Pe.cursor,dataset:Pe.dataset,empty:Pe.empty}},[{source:(0,we.v)(t,n,ge.qo),templates:{suggestion:Oe,empty:Ie,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&(!N||!ge.pQ))return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),o=new URLSearchParams;let a;if(o.set("q",t),N){const e=N&&Array.isArray(ge.Kc)?ge.Kc.find((e=>"string"==typeof e?e===N:e.path===N)):N,t=e?(0,ze._)(e,d).label:N;a=ge.pQ&&n?(0,l.I)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:t}):(0,l.I)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:t})}else a=(0,l.I)({id:"theme.SearchBar.seeAll",message:"See all results"});if(!N||!Array.isArray(ge.Kc)||ge.pQ&&n||o.set("ctx",N),p!==u){if(!p.startsWith(u))throw new Error("Version url '"+p+"' does not start with base url '"+u+"', this is a bug of `@easyops-cn/docusaurus-search-local`, please report it.");o.set("version",p.substring(u.length))}const i=u+"search?"+o.toString();return r.href=i,r.textContent=a,r.addEventListener("click",(e=>{var t;e.ctrlKey||e.metaKey||(e.preventDefault(),null==(t=_.current)||t.autocomplete.close(),m.push(i))})),r})({query:t,isEmpty:n}),o=document.createElement("div");return o.className=Pe.hitFooter,o.appendChild(r),o}}}]).on("autocomplete:selected",(function(e,t){var n;let{document:{u:r,h:o},tokens:a}=t;null==(n=y.current)||n.blur();let i=r;if(ge.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append(Me,t);i+="?"+e.toString()}o&&(i+=o),m.push(i)})).on("autocomplete:closed",(()=>{var e;null==(e=y.current)||e.blur()})),b.current.set(N,"done"),k(!1),v.current){const e=y.current;var a;if(e.value)null==(a=_.current)||a.autocomplete.open();e.focus()}}),[j,N,p,u,m]);(0,r.useEffect)((()=>{if(!ge.vc)return;const e=i?new URLSearchParams(g.search).getAll(Me):[];setTimeout((()=>{var t;const n=document.querySelector("article");if(!n)return;const r=new ge.vc(n);r.unmark(),0!==e.length&&r.mark(e),C(e.join(" ")),null==(t=_.current)||t.autocomplete.setVal(e.join(" "))}))}),[i,g.search,g.pathname]);const[P,O]=(0,r.useState)(!1),I=(0,r.useCallback)((()=>{v.current=!0,A(),O(!0),null==a||a(!0)}),[a,A]),D=(0,r.useCallback)((()=>{O(!1),null==a||a(!1)}),[a]),z=(0,r.useCallback)((()=>{A()}),[A]),F=(0,r.useCallback)((e=>{C(e.target.value),e.target.value&&S(!0)}),[]),B=!!i&&/mac/i.test(null!=(t=null==(n=navigator.userAgentData)?void 0:n.platform)?t:navigator.platform);(0,r.useEffect)((()=>{if(!ge.AY)return;const e=e=>{var t;!(B?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),null==(t=y.current)||t.focus(),I())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[B,I]);const U=(0,r.useCallback)((()=>{var e;const t=new URLSearchParams(g.search);t.delete(Me);const n=t.toString(),r=g.pathname+(""!=n?"?"+n:"")+g.hash;r!=g.pathname+g.search+g.hash&&m.push(r),C(""),null==(e=_.current)||e.autocomplete.setVal("")}),[g.pathname,g.search,g.hash,m]);return(0,c.jsxs)("div",{className:(0,o.Z)("navbar__search",Pe.searchBarContainer,{[Pe.searchIndexLoading]:w&&x,[Pe.focused]:P}),hidden:j,children:[(0,c.jsx)("input",{placeholder:(0,l.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:z,onFocus:I,onBlur:D,onChange:F,ref:y,value:E}),(0,c.jsx)(De.Z,{className:Pe.searchBarLoadingRing}),ge.AY&&ge.t_&&(""!==E?(0,c.jsx)("button",{className:Pe.searchClearButton,onClick:U,children:"\u2715"}):i&&(0,c.jsxs)("div",{className:Pe.searchHintContainer,children:[(0,c.jsx)("kbd",{className:Pe.searchHint,children:B?"\u2318":"ctrl"}),(0,c.jsx)("kbd",{className:Pe.searchHint,children:"K"})]}))]})},Ue={navbarSearchContainer:"navbarSearchContainer_bYhf"};function $e(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(n,Ue.navbarSearchContainer),children:t})}var qe=n(304),He=n(3025);const Qe=e=>e.docs.find((t=>t.id===e.mainDocId));var We={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,le.Z)(),f=(0,pe.l)(),{search:p,hash:h}=(0,s.TH)(),m=[...n,...u.map((e=>{const n=""+("pathname://"+f.createUrl({locale:e,fullyQualified:!1}))+p+h+o;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...a,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)($e,{className:n,children:(0,c.jsx)(Be,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,c.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,qe.Iw)(r),i=(0,He.vY)(t,r),s=(null==a?void 0:a.path)===(null==i?void 0:i.path);return null===i||i.unlisted&&!s?null:(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>s||!(null==a||!a.sidebar)&&a.sidebar===i.sidebar,label:null!=n?n:i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,qe.Iw)(r),i=(0,He.oz)(t,r).link;if(!i)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>(null==a?void 0:a.sidebar)===t,label:null!=n?n:i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,He.lO)(r)[0],i=null!=t?t:a.label,s=null!=n?n:(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,c.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:u,hash:d}=(0,s.TH)(),f=(0,qe.Iw)(n),p=(0,qe.gB)(n),{savePreferredVersionName:h}=(0,ye.J)(n),m=[...o,...p.map((e=>{var t;const n=null!=(t=f.alternateDocVersions[e.name])?t:Qe(e);return{label:e.label,to:""+n.path+u+d,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}})),...a],g=(0,He.lO)(n)[0],y=t&&m.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&m.length>1?void 0:Qe(g).path;return m.length<=1?(0,c.jsx)(ae,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:m,isActive:r?()=>!1:void 0})}};function Ze(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=We[r];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return(0,c.jsx)(o,{...n})}function Ve(){const e=(0,L.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ze,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ge(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ke(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Ge,{onClick:()=>t.hide()}),t.content]})}function Ye(){const e=(0,L.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(z,{header:(0,c.jsx)(K,{}),primaryMenu:(0,c.jsx)(Ve,{}),secondaryMenu:(0,c.jsx)(Ke,{})}):null}var Xe={navbarHideable:"navbarHideable_w2xG",navbarHidden:"navbarHidden_bQ_v"};function Je(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function et(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,w.L)(),i=(0,L.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,j.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<a.current)return void n(!0);if(o.current)return void(o.current=!1);const s=null==r?void 0:r.scrollY,l=document.documentElement.scrollHeight-a.current,u=window.innerHeight;s&&i>=s?n(!1):i+u<l&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:s,"aria-label":(0,l.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Xe.navbarHideable,!d&&Xe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Je,{onClick:i.toggle}),(0,c.jsx)(Ye,{})]})}var tt=n(346),nt={errorBoundaryError:"errorBoundaryError_Aej3",errorBoundaryFallback:"errorBoundaryFallback_Bfw0"};function rt(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function ot(e){let{error:t}=e;const n=(0,tt.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:nt.errorBoundaryError,children:n})}class at extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const it="right";function st(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function lt(){const{toggle:e,shown:t}=(0,L.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,l.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(st,{})})}var ut={colorModeToggle:"colorModeToggle_A5xQ"};function ct(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(at,{onError:t=>new Error("A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n"+JSON.stringify(e,null,2),{cause:t}),children:(0,c.jsx)(Ze,{...e})},t)))})}function dt(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function ft(){const e=(0,L.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){var t;return"left"===(null!=(t=e.position)?t:it)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(dt,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(lt,{}),(0,c.jsx)(V,{}),(0,c.jsx)(ct,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ct,{items:r}),(0,c.jsx)(W,{className:ut.colorModeToggle}),!o&&(0,c.jsx)($e,{children:(0,c.jsx)(Be,{})})]})})}function pt(){return(0,c.jsx)(et,{children:(0,c.jsx)(ft,{})})}function ht(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,X.Z)(n),l=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function mt(e){var t;let{item:n}=e;return n.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(ht,{item:n})},null!=(t=n.href)?t:n.to)}function gt(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(mt,{item:e},t)))})]})}function yt(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(gt,{column:e},t)))})}function bt(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function vt(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(ht,{item:t})}function wt(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(vt,{item:e}),t.length!==n+1&&(0,c.jsx)(bt,{})]},n)))})})}function kt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(yt,{columns:t}):(0,c.jsx)(wt,{links:t})}var xt=n(3108),St={footerLogoLink:"footerLogoLink_TWN7"};function Et(e){var t;let{logo:n}=e;const{withBaseUrl:r}=(0,X.C)(),a={light:r(n.src),dark:r(null!=(t=n.srcDark)?t:n.src)};return(0,c.jsx)(xt.Z,{className:(0,o.Z)("footer__logo",n.className),alt:n.alt,sources:a,width:n.width,height:n.height,style:n.style})}function Ct(e){let{logo:t}=e;return t.href?(0,c.jsx)(Y.Z,{href:t.href,className:St.footerLogoLink,target:t.target,children:(0,c.jsx)(Et,{logo:t})}):(0,c.jsx)(Et,{logo:t})}function _t(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Tt(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function Nt(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(Tt,{style:o,links:n&&n.length>0&&(0,c.jsx)(kt,{links:n}),logo:r&&(0,c.jsx)(Ct,{logo:r}),copyright:t&&(0,c.jsx)(_t,{copyright:t})})}var Lt=r.memo(Nt);const jt=(0,R.Qc)([F.S,k.pl,j.OC,ye.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(A.n2,{children:(0,c.jsx)(L.M,{children:(0,c.jsx)(O,{children:t})})})}]);function Rt(e){let{children:t}=e;return(0,c.jsx)(jt,{children:t})}var At=n(4974);function Pt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(At.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(rt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(ot,{error:t})})]})})})}var Ot={mainWrapper:"mainWrapper_se6T"};function It(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,y.t)(),(0,c.jsxs)(Rt,{children:[(0,c.jsx)(i.d,{title:s,description:l}),(0,c.jsx)(v,{}),(0,c.jsx)(N,{}),(0,c.jsx)(pt,{}),(0,c.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,Ot.mainWrapper,r),children:(0,c.jsx)(a.Z,{fallback:e=>(0,c.jsx)(Pt,{...e}),children:t})}),!n&&(0,c.jsx)(Lt,{})]})}},266:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(3900);var r=n(3707),o=n(3373),a=n(2442),i=n(4715),s=n(3108),l=n(966);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,l.jsx)(s.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function c(e){var t;const{siteConfig:{title:n}}=(0,a.Z)(),{navbar:{title:s,logo:c}}=(0,i.L)(),{imageClassName:d,titleClassName:f,...p}=e,h=(0,o.Z)((null==c?void 0:c.href)||"/"),m=s?"":n,g=null!=(t=null==c?void 0:c.alt)?t:m;return(0,l.jsxs)(r.Z,{to:h,...p,...(null==c?void 0:c.target)&&{target:c.target},children:[c&&(0,l.jsx)(u,{logo:c,alt:g,imageClassName:d}),null!=s&&(0,l.jsx)("b",{className:f,children:s})]})}},3806:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(743),o=n(966);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},3108:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(3900),o=n(7515),a=n(5106),i=n(8408),s={themedComponent:"themedComponent_lAfP","themedComponent--light":"themedComponent--light_XB4J","themedComponent--dark":"themedComponent--dark_kBbf"},l=n(966);function u(e){let{className:t,children:n}=e;const u=(0,a.Z)(),{colorMode:c}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s["themedComponent--"+e])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},3663:function(e,t,n){"use strict";n.d(t,{u:function(){return u},z:function(){return y}});var r=n(3900),o=n(3043),a=n(2194),i=n(7525),s=n(966);const l="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(null!=t&&t),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){var t,n;const r=e.scrollHeight,a=null!=(t=null==o?void 0:o.duration)?t:function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(r);return{transition:"height "+a+"ms "+(null!=(n=null==o?void 0:o.easing)?n:l),height:r+"px"}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return f(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.Z.canUseDOM)return e?c:d}function m(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:c,style:u?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(c.current,n),null==i||i(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,u]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&u(t)}),[o,t]),o?(0,s.jsx)(m,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},3308:function(e,t,n){"use strict";n.d(t,{nT:function(){return m},pl:function(){return h}});var r=n(3900),o=n(5106),a=n(4780),i=n(5158),s=n(4715),l=n(966);const u=(0,a.WA)("docusaurus.announcement.dismiss"),c=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&f(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},8408:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return g}});var r=n(3900),o=n(3043),a=n(5158),i=n(4780),s=n(4715),l=n(966);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[o,a]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&m(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[o,i])}();return(0,l.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4924:function(e,t,n){"use strict";n.d(t,{J:function(){return v},L5:function(){return y}});var r=n(3900),o=n(8213),a=n(63),i=n(4715),s=n(3025),l=n(5158),u=n(4780),c=n(966);const d=e=>"docs-preferred-version-"+e,f={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,c.jsx)(h.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.cE?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(h);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){var t;void 0===e&&(e=a.m);const n=(0,o.zh)(e),[i,s]=b(),{preferredVersionName:l}=i[e];return{preferredVersion:null!=(t=n.versions.find((e=>e.name===l)))?t:null,savePreferredVersionName:(0,r.useCallback)((t=>{s.savePreferredVersion(e,t)}),[s,e])}}},9888:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return l}});var r=n(3900),o=n(5158),a=n(966);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},7924:function(e,t,n){"use strict";n.d(t,{E:function(){return l},q:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},3215:function(e,t,n){"use strict";n.d(t,{M:function(){return p},e:function(){return h}});var r=n(3900),o=n(3943),a=n(879),i=n(382),s=n(5158);function l(e){!function(e){const t=(0,i.k6)(),n=(0,s.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(4715),c=n(966);const d=r.createContext(void 0);function f(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const c=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function p(e){let{children:t}=e;const n=f();return(0,c.jsx)(d.Provider,{value:n,children:t})}function h(){const e=r.useContext(d);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3943:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},Zo:function(){return u},n2:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Ql)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},3936:function(e,t,n){"use strict";n.d(t,{h:function(){return o},t:function(){return a}});var r=n(3900);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},879:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(3900),o=n(3043);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(){const[e,t]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){t(function(){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?a.desktop:a.mobile}())}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},8512:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>"theme-admonition-"+e},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>"theme-doc-sidebar-item-category-level-"+e,docSidebarItemLinkLevel:e=>"theme-doc-sidebar-item-link-level-"+e},blog:{}}},7525:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},3025:function(e,t,n){"use strict";n.d(t,{MN:function(){return T},LM:function(){return h},_F:function(){return b},cE:function(){return f},jA:function(){return m},xz:function(){return p},SN:function(){return _},lO:function(){return S},vY:function(){return C},oz:function(){return E},s1:function(){return x},f:function(){return w}});var r=n(3900),o=n(382),a=n(4518),i=n(8213),s=n(4924),l=n(7924),u=n(9888);function c(e){return Array.from(new Set(e))}var d=n(4064);const f=!!i._r;function p(e){const t=(0,l.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error("no version doc found by id="+e);return n}function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=h(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,o.TH)(),t=(0,u.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(e+" is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.");return n}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),y=(e,t)=>e.some((e=>b(e,t)));function b(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||y(e.items,t))}function v(e,t){switch(e.type){case"category":return b(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||b(e,t);default:return!1}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function x(){var e;const t=(0,u.V)(),{pathname:n}=(0,o.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?k({sidebarItems:t.items,pathname:n}):null}function S(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,s.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((e=>e.name)).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((e=>e[0])).join("\n- "));return r[1]}),[e,n])}function C(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((e=>e.name)).join(", ")+'".\nAvailable doc ids are:\n- '+c(t.map((e=>e.id))).join("\n- "))}return r}),[e,n])}function _(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,l.E)(),i=t.routes,s=i.find((e=>(0,o.LX)(n.pathname,e)));if(!s)return null;const u=s.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.H)(i),sidebarName:u,sidebarItems:c}}function T(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!h(e)))}},4181:function(e,t,n){"use strict";n.d(t,{FG:function(){return p},d:function(){return d},VC:function(){return h}});var r=n(3900),o=n(7515),a=n(743),i=n(778);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(3373),u=n(2442);var c=n(966);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),{withBaseUrl:d}=(0,l.C)(),f=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.Z,{children:[t&&(0,c.jsx)("title",{children:s}),t&&(0,c.jsx)("meta",{property:"og:title",content:s}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,o.Z)(i,t);return(0,c.jsxs)(f.Provider,{value:s,children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"");const a="plugin-id-"+n.plugin.id;return(0,c.jsx)(p,{className:(0,o.Z)(r,a),children:t})}},5158:function(e,t,n){"use strict";n.d(t,{D9:function(){return s},Qc:function(){return c},Ql:function(){return u},i6:function(){return l},zX:function(){return i}});var r=n(3900),o=n(2194),a=n(966);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r;super(),this.name="ReactContextError",this.message="Hook "+(null!=(n=null==(r=this.stack)||null==(r=r.split("\n")[1])||null==(r=r.match(/at (?:\w+\.)?(?<name>\w+)/))?void 0:r.groups.name)?n:"")+" is called outside the <"+e+">. "+(null!=t?t:"")}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},4064:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return s}});var r=n(3900),o=n(9850),a=n(2442);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>{var t;return null!=(t=e.routes)?t:[]})))}(n)}({routes:o.Z,baseUrl:e})),[e])}},9611:function(e,t,n){"use strict";n.d(t,{Ct:function(){return p},OC:function(){return u},RF:function(){return f}});var r=n(3900),o=n(3043),a=n(5106),i=(n(2194),n(5158)),s=n(966);const l=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},488:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},os:function(){return o}});n(2442);const r="default";function o(e,t){return"docs-"+e+"-"+t}},4780:function(e,t,n){"use strict";n.d(t,{WA:function(){return l}});n(3900);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);const n=a(null==t?void 0:t.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error("Docusaurus storage error, can't listen for changes of key="+e,r),()=>{}}}}}},5028:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2442),o=n(382),a=n(346);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,o.TH)(),u=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),c=s===i?e:e.replace("/"+s+"/","/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return""+(r?t:"")+function(e){return e===i?""+c:""+c+e+"/"}(n)+d}}}},8257:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(3900),o=n(382),a=n(5158);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},4715:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2442);function o(){return(0,r.Z)().siteConfig.themeConfig}},4848:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},346:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(4848);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(231);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},1054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},710:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},181:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(1054);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(710);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},6192:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(3900);var r=n(7515),o={loadingRing:"loadingRing_MTs2","loading-ring":"loading-ring_ymXU"},a=n(966);function i(e){let{className:t}=e;return(0,a.jsxs)("div",{className:(0,r.Z)(o.loadingRing,t),children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]})}},1316:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(8355),o=n.n(r),a=n(3771);const i=new Map;function s(e,t){const n=""+e+t;let r=i.get(n);return r||(r=async function(e,t){{const n=""+e+a.J.replace("{dir}",t?"-"+t.replace(/\//g,"-"):"");if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:o().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},6329:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(8355),o=n.n(r);var a=n(3771);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:o().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?o().Query.wildcard.TRAILING:o().Query.wildcard.NONE})))})))}var l=n(557);function u(e,t,n){return function(r,s){const u=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return o()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,a.dK);if(0===u.length)return void s([]);const c=function(e,t){const n=function(e,t){const n=[];return function e(r,o){if(0===r.length)return void n.push(o);const a=r[0];if(/\p{Unified_Ideograph}/u.test(a)){const n=function(e,t){const n=[];return function e(r,o){let a=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:o.missed,term:o.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>a;t-=1){const l=s.substr(0,t);if(r.substr(0,t)===l){a=t;const s={missed:o.missed,term:o.term.concat({value:l,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:o.missed+1,term:o.term}):o.term.length>0&&n.push(o))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(a,t);for(const t of n){const n=o.concat(...t);e(r.slice(1),n)}}else{const t=o.concat({value:a});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:o().Query.presence.REQUIRED,wildcard:o().Query.wildcard.LEADING|o().Query.wildcard.TRAILING})))}];for(const o of n)o[o.length-1].maybeTyping=!0;const r=[];for(const i of a.dK)if("en"===i)a._k||r.unshift(o().stopWordFilter);else{const e=o()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length<r.length&&n.length>0&&t.push(n)}n.push(...t)}else s=n.slice();const l=[];for(const o of s)if(o.length>2)for(let e=o.length-1;e>=0;e-=1)l.push(o.slice(0,e).concat(o.slice(e+1)));return i(n).concat(i(l))}(u,t),d=[];e:for(const{term:t,tokens:o}of c)for(const{documents:r,index:a,type:i}of e)if(d.push(...a.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!d.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-d.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:i!==l.P.Title&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:o,score:t.score}}))),d.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type!==l.P.Heading&&t.type!==l.P.Content&&t.type!==l.P.Description||!t.page?t.index:e.findIndex((e=>e.document===t.page)),o=n.type!==l.P.Heading&&n.type!==l.P.Content&&n.type!==l.P.Description||!n.page?n.index:e.findIndex((e=>e.document===n.page));if(-1===r&&(r=t.index),-1===o&&(o=n.index),r===o){const e=(0===n.type?1:0)-(0===t.type?1:0);return 0===e?t.index-n.index:e}return r-o}))}(d),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.slice(0,n).some((e=>(e.type===l.P.Keywords?e.page:e.document)===t.page))&&(n<e.length-1&&e[n+1].page===t.page?t.isInterOfTree=!0:t.isLastOfTree=!0)}))}(d),s(d)}}},5486:function(e,t,n){"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{e:function(){return r}})},1071:function(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{X:function(){return r}})},6481:function(e,t,n){"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{m:function(){return r}})},7833:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(1071);function o(e,t,n){const a=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&a.push(o(e.substr(0,n),t)),a.push("<mark>"+(0,r.X)(e.substr(n,i.length))+"</mark>");const s=n+i.length;s<e.length&&a.push(o(e.substr(s),t));break}}return 0===a.length?n?"<mark>"+(0,r.X)(e)+"</mark>":(0,r.X)(e):a.join("")}},596:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});var r=n(1071),o=n(7833);const a=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const o=r.match(a);if(!o){t.push(r);break}o.index>0&&t.push(r.substring(0,o.index)),t.push(o[0]),n+=o.index+o[0].length,r=e.substring(n)}return t}var s=n(3771);function l(e,t,n,a){void 0===a&&(a=s.Hk);const{chunkIndex:l,chunks:u}=function(e,t,n){const a=[];let s=0,l=0,u=-1;for(;s<t.length;){const[c,d]=t[s];if(s+=1,!(c<l)){if(c>l){const t=i(e.substring(l,c)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}-1===u&&(u=a.length),l=c+d,a.push({html:(0,o.C)(e.substring(c,l),n,!0),textLength:d})}}if(l<e.length){const t=i(e.substring(l)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}return{chunkIndex:u,chunks:a}}(e,t,n),c=u.slice(0,l),d=u[l],f=[d.html],p=u.slice(l+1);let h=d.textLength,m=0,g=0,y=!1,b=!1;for(;h<a;)if((m<=g||0===p.length)&&c.length>0){const e=c.pop();h+e.textLength<=a?(f.unshift(e.html),m+=e.textLength,h+=e.textLength):(y=!0,c.length=0)}else{if(!(p.length>0))break;{const e=p.shift();h+e.textLength<=a?(f.push(e.html),g+=e.textLength,h+=e.textLength):(b=!0,p.length=0)}}return(y||c.length>0)&&f.unshift("\u2026"),(b||p.length>0)&&f.push("\u2026"),f.join("")}},7208:function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{const{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{_:function(){return r}})},3771:function(e,t,n){"use strict";n.d(t,{vc:function(){return i()},gQ:function(){return g},H6:function(){return f},hG:function(){return v},l9:function(){return y},dK:function(){return s},_k:function(){return l},pu:function(){return m},AY:function(){return p},t_:function(){return h},Kc:function(){return b},J:function(){return u},Hk:function(){return d},qo:function(){return c},pQ:function(){return w}});var r=n(8355),o=n.n(r),a=n(7179),i=n.n(a);n(1651)(o()),n(5634).w(o()),n(5654)(o());const s=["en","zh"],l=!1,u="search-index{dir}.json?_=2cfa5a27",c=8,d=50,f=!0,p=!0,h=!0,m="right",g=void 0,y=!0,b=null,v=!1,w=!1},557:function(e,t,n){"use strict";var r;n.d(t,{P:function(){return r}}),function(e){e[e.Title=0]="Title",e[e.Heading=1]="Heading",e[e.Description=2]="Description",e[e.Keywords=3]="Keywords",e[e.Content=4]="Content"}(r||(r={}))},5634:function(e,t,n){"use strict";function r(e){const t=new RegExp("^[^"+e+"]+","u"),n=new RegExp("[^"+e+"]+$","u");return function(e){return e.update((function(e){return e.replace(t,"").replace(n,"")}))}}function o(e,t){e.trimmerSupport.generateTrimmer=r,e.zh=function(){this.pipeline.reset(),this.pipeline.add(e.zh.trimmer,e.zh.stopWordFilter),t&&(this.tokenizer=t)},t&&(e.zh.tokenizer=t),e.zh.wordCharacters="\\u3400-\\u4DBF\\u4E00-\\u9FFC\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29\\u{20000}-\\u{2A6DD}\\u{2A700}-\\u{2B734}\\u{2B740}-\\u{2B81D}\\u{2B820}-\\u{2CEA1}\\u{2CEB0}-\\u{2EBE0}\\u{30000}-\\u{3134A}",e.zh.trimmer=e.trimmerSupport.generateTrimmer(e.zh.wordCharacters),e.Pipeline.registerFunction(e.zh.trimmer,"trimmer-zh"),e.zh.stopWordFilter=e.generateStopWordFilter("\u7684 \u4e00 \u4e0d \u5728 \u4eba \u6709 \u662f \u4e3a \u4ee5 \u4e8e \u4e0a \u4ed6 \u800c \u540e \u4e4b \u6765 \u53ca \u4e86 \u56e0 \u4e0b \u53ef \u5230 \u7531 \u8fd9 \u4e0e \u4e5f \u6b64 \u4f46 \u5e76 \u4e2a \u5176 \u5df2 \u65e0 \u5c0f \u6211 \u4eec \u8d77 \u6700 \u518d \u4eca \u53bb \u597d \u53ea \u53c8 \u6216 \u5f88 \u4ea6 \u67d0 \u628a \u90a3 \u4f60 \u4e43 \u5b83 \u5427 \u88ab \u6bd4 \u522b \u8d81 \u5f53 \u4ece \u5230 \u5f97 \u6253 \u51e1 \u513f \u5c14 \u8be5 \u5404 \u7ed9 \u8ddf \u548c \u4f55 \u8fd8 \u5373 \u51e0 \u65e2 \u770b \u636e \u8ddd \u9760 \u5566 \u4e86 \u53e6 \u4e48 \u6bcf \u4eec \u561b \u62ff \u54ea \u90a3 \u60a8 \u51ed \u4e14 \u5374 \u8ba9 \u4ecd \u5565 \u5982 \u82e5 \u4f7f \u8c01 \u867d \u968f \u540c \u6240 \u5979 \u54c7 \u55e1 \u5f80 \u54ea \u4e9b \u5411 \u6cbf \u54df \u7528 \u4e8e \u54b1 \u5219 \u600e \u66fe \u81f3 \u81f4 \u7740 \u8bf8 \u81ea".split(" ")),e.Pipeline.registerFunction(e.zh.stopWordFilter,"stopWordFilter-zh")}n.d(t,{w:function(){return o}})},9850:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});n(3900);var r=n(5009),o=n.n(r),a=n(6887),i={"01a85c17":[()=>Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,5538)),"@theme/BlogTagsListPage",5538],"0e384e19":[()=>n.e(9671).then(n.bind(n,6133)),"@site/docs/intro.md",6133],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,2260)),"@theme/DocCategoryGeneratedIndexPage",2260],15687378:[()=>n.e(6532).then(n.t.bind(n,9893,19)),"~docs/default/tag-docusaurus-search-local-zh-cn-docs-next-tags-front-matter-67f.json",9893],17896441:[()=>Promise.all([n.e(532),n.e(2118),n.e(7918)]).then(n.bind(n,6820)),"@theme/DocItem",6820],"18c41134":[()=>n.e(2859).then(n.bind(n,70)),"@site/docs/tutorial-basics/markdown-features.mdx",70],"1a4922cc":[()=>n.e(8293).then(n.bind(n,3129)),"@site/versioned_docs/version-1.0.0/doc3.md",3129],"1a4e3797":[()=>Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,8713)),"@theme/SearchPage",8713],"1b07edf5":[()=>n.e(4844).then(n.t.bind(n,5660,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-archive-fd2.json",5660],"1cbf0e34":[()=>n.e(7195).then(n.t.bind(n,2776,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/@easyops-cn/docusaurus-search-local/default/plugin-route-context-module-100.json",2776],"1e4232ab":[()=>n.e(8818).then(n.bind(n,1567)),"@site/docs/tutorial-basics/create-a-document.md",1567],"269baefd":[()=>n.e(8611).then(n.bind(n,1112)),"@site/versioned_docs/version-1.0.0/mdx.mdx",1112],"2868cdab":[()=>n.e(4061).then(n.bind(n,6586)),"@site/blog/2019-05-30-welcome.md",6586],"2c35b12a":[()=>n.e(2576).then(n.t.bind(n,6656,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-docusaurus-d41.json",6656],"2d4a562c":[()=>n.e(9508).then(n.t.bind(n,5987,19)),"~docs/default/tag-docusaurus-search-local-zh-cn-docs-next-tags-keywords-a8b.json",5987],"2f7d3f5d":[()=>n.e(5019).then(n.t.bind(n,9722,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-tags-5f3.json",9722],"337aaa52":[()=>n.e(4854).then(n.bind(n,4937)),"@site/docs/unlisted-post.md",4937],"3570154c":[()=>n.e(3707).then(n.bind(n,98)),"@site/blog/2019-05-29-hello-world.md?truncated=true",98],"3720c009":[()=>Promise.all([n.e(532),n.e(3751)]).then(n.bind(n,3821)),"@theme/DocTagsListPage",3821],"373b13ca":[()=>n.e(9985).then(n.t.bind(n,8321,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-facebook-959.json",8321],"3a35335b":[()=>n.e(5322).then(n.bind(n,9679)),"@site/blog/2019-06-15-writing-good-unit-tests.md",9679],"4712f575":[()=>n.e(4963).then(n.t.bind(n,6955,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-hola-75a.json",6955],"51ef9f3a":[()=>n.e(3715).then(n.t.bind(n,2009,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-docusaurus-d41-list.json",2009],"533a09ca":[()=>n.e(4607).then(n.bind(n,3089)),"@site/docs/tutorial-basics/create-a-blog-post.md",3089],55526312:[()=>n.e(3408).then(n.bind(n,3321)),"@site/versioned_docs/version-1.0.0/doc2.md",3321],"55960ee5":[()=>n.e(4121).then(n.t.bind(n,8070,19)),"~docs/default/tags-list-current-prop-15a.json",8070],"5c868d36":[()=>n.e(5589).then(n.bind(n,3408)),"@site/docs/tutorial-basics/create-a-page.md",3408],"5e95c892":[()=>n.e(9661).then(n.bind(n,1013)),"@theme/DocsRoot",1013],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"62e81aa6":[()=>n.e(5329).then(n.t.bind(n,4421,19)),"~docs/default/version-1-0-0-metadata-prop-608.json",4421],"6875c492":[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(8610)]).then(n.bind(n,9829)),"@theme/BlogTagsPostsPage",9829],"6a5dca13":[()=>n.e(3267).then(n.t.bind(n,26,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-facebook-959-list.json",26],"6b3775fa":[()=>n.e(4484).then(n.t.bind(n,3769,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"7acd0c93":[()=>n.e(3125).then(n.t.bind(n,5745,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"7e48212f":[()=>n.e(4636).then(n.t.bind(n,8126,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-e9a.json",8126],"807d5d2d":[()=>n.e(1528).then(n.bind(n,5220)),"@site/blog/2019-06-15-writing-good-unit-tests.md?truncated=true",5220],"814f3328":[()=>n.e(2535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"822bd8ab":[()=>n.e(6504).then(n.bind(n,3932)),"@site/docs/tutorial-basics/congratulations.md",3932],"8e9f0a8a":[()=>n.e(4035).then(n.bind(n,4562)),"@site/blog/2019-05-28-hola.md?truncated=true",4562],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"96ea474a":[()=>n.e(4860).then(n.t.bind(n,653,19)),"~docs/default/tag-docusaurus-search-local-zh-cn-docs-next-tags-test-b1f.json",653],"9e4087bc":[()=>n.e(3608).then(n.bind(n,4160)),"@theme/BlogArchivePage",4160],a28e235d:[()=>n.e(3982).then(n.t.bind(n,1201,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-hola-75a-list.json",1201],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(3089)]).then(n.bind(n,3705)),"@theme/BlogListPage",3705],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,9741)),"@theme/DocVersionRoot",9741],a8f004d7:[()=>n.e(6875).then(n.t.bind(n,1751,19)),"~docs/default/category-docusaurus-search-localzh-cndocsnext-tutorialsidebar-category-tutorial-extras-42d.json",1751],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,5578)),"@theme/DocRoot",5578],af172acd:[()=>n.e(1449).then(n.bind(n,9322)),"@site/blog/2019-05-30-welcome.md?truncated=true",9322],bdd709f1:[()=>n.e(4694).then(n.bind(n,846)),"@site/blog/2019-05-28-hola.md",846],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,9750)),"@site/src/pages/index.js",9750],c7798012:[()=>n.e(5560).then(n.bind(n,4361)),"@site/versioned_docs/version-1.0.0/doc-in-pt.md",4361],ccc49370:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(6103)]).then(n.bind(n,3378)),"@theme/BlogPostPage",3378],d3050785:[()=>n.e(5045).then(n.t.bind(n,9108,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-hello-309.json",9108],d3609805:[()=>n.e(8864).then(n.t.bind(n,4469,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],d610846f:[()=>n.e(6176).then(n.bind(n,1940)),"@site/blog/2019-05-29-hello-world.md",1940],de32078f:[()=>n.e(3853).then(n.t.bind(n,9885,19)),"~docs/default/category-docusaurus-search-localzh-cndocsnext-tutorialsidebar-category-tutorial-basics-07f.json",9885],df203c0f:[()=>Promise.all([n.e(532),n.e(9924)]).then(n.bind(n,2883)),"@theme/DocTagDocListPage",2883],dff1c289:[()=>n.e(3792).then(n.bind(n,9309)),"@site/docs/tutorial-extras/manage-docs-versions.md",9309],e44a2883:[()=>n.e(6755).then(n.bind(n,7701)),"@site/docs/tutorial-extras/translate-your-site.md",7701],e7f5e6d2:[()=>n.e(8309).then(n.t.bind(n,7114,19)),"~blog/default/docusaurus-search-local-zh-cn-blog-tags-hello-309-list.json",7114],f054516d:[()=>n.e(1771).then(n.bind(n,5679)),"@site/versioned_docs/version-1.0.0/doc1.md",5679],f55d3e7a:[()=>n.e(4193).then(n.bind(n,622)),"@site/docs/tutorial-basics/deploy-your-site.md",622]},s=n(966);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7126),c=n(778);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(7024).then(n.bind(n,7024)),modules:["@theme/NotFound"],webpack:()=>[7024],render(e,t){const n=e.default;return(0,s.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[e+"-"+t],d={},f=[],p=[],h=(0,u.Z)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),o().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,s.jsx)(c.z,{value:i,children:(0,s.jsx)(a,{...o,...n})})}})}var f=[{path:"/docusaurus-search-local/zh-CN/blog",component:d("/docusaurus-search-local/zh-CN/blog","9de"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/archive",component:d("/docusaurus-search-local/zh-CN/blog/archive","bfc"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/hello-world",component:d("/docusaurus-search-local/zh-CN/blog/hello-world","fd8"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/hola",component:d("/docusaurus-search-local/zh-CN/blog/hola","6bf"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/tags",component:d("/docusaurus-search-local/zh-CN/blog/tags","1cc"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/tags/docusaurus",component:d("/docusaurus-search-local/zh-CN/blog/tags/docusaurus","69c"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/tags/facebook",component:d("/docusaurus-search-local/zh-CN/blog/tags/facebook","b2f"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/tags/hello",component:d("/docusaurus-search-local/zh-CN/blog/tags/hello","e03"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/tags/hola",component:d("/docusaurus-search-local/zh-CN/blog/tags/hola","352"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/welcome",component:d("/docusaurus-search-local/zh-CN/blog/welcome","108"),exact:!0},{path:"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests",component:d("/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","634"),exact:!0},{path:"/docusaurus-search-local/zh-CN/search",component:d("/docusaurus-search-local/zh-CN/search","c55"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs",component:d("/docusaurus-search-local/zh-CN/docs","f0c"),routes:[{path:"/docusaurus-search-local/zh-CN/docs/next",component:d("/docusaurus-search-local/zh-CN/docs/next","b49"),routes:[{path:"/docusaurus-search-local/zh-CN/docs/next/tags",component:d("/docusaurus-search-local/zh-CN/docs/next/tags","345"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs/next/tags/front-matter",component:d("/docusaurus-search-local/zh-CN/docs/next/tags/front-matter","d63"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs/next/tags/keywords",component:d("/docusaurus-search-local/zh-CN/docs/next/tags/keywords","baf"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs/next/tags/test",component:d("/docusaurus-search-local/zh-CN/docs/next/tags/test","34b"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs/next",component:d("/docusaurus-search-local/zh-CN/docs/next","828"),routes:[{path:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics",component:d("/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics","5dd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras",component:d("/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras","c1c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/intro",component:d("/docusaurus-search-local/zh-CN/docs/next/intro","348"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","a05"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","b08"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","43e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","e02"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","3b0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","8bd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","bce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site",component:d("/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","585"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/next/unlisted-post",component:d("/docusaurus-search-local/zh-CN/docs/next/unlisted-post","bc0"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/docusaurus-search-local/zh-CN/docs",component:d("/docusaurus-search-local/zh-CN/docs","2f4"),routes:[{path:"/docusaurus-search-local/zh-CN/docs",component:d("/docusaurus-search-local/zh-CN/docs","602"),routes:[{path:"/docusaurus-search-local/zh-CN/docs/",component:d("/docusaurus-search-local/zh-CN/docs/","e29"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/doc-in-pt",component:d("/docusaurus-search-local/zh-CN/docs/doc-in-pt","d61"),exact:!0},{path:"/docusaurus-search-local/zh-CN/docs/doc2",component:d("/docusaurus-search-local/zh-CN/docs/doc2","5eb"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/doc3",component:d("/docusaurus-search-local/zh-CN/docs/doc3","a4f"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-CN/docs/mdx",component:d("/docusaurus-search-local/zh-CN/docs/mdx","989"),exact:!0,sidebar:"someSidebar"}]}]}]},{path:"/docusaurus-search-local/zh-CN/",component:d("/docusaurus-search-local/zh-CN/","a0c"),exact:!0},{path:"*",component:d("*")}]},4553:function(e,t,n){"use strict";n.r(t)},8306:function(e,t,n){"use strict";n.r(t)},600:function(e,t,n){"use strict";var r=n(3900),o=n(4179);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,z=Object.assign;function F(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var M=!1;function B(e,t){if(!e||M)return"";M=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{M=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function U(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case L:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function V(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&V(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ne(e,t){return e(t)}function Le(){}var je=!1;function Re(e,t,n){if(je)return e(t,n);je=!0;try{return Ne(e,t,n)}finally{je=!1,(null!==Se||null!==Ee)&&(Le(),Te())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Pe=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Pe=!1}function Ie(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,ze=null,Fe=!1,Me=null,Be={onError:function(e){De=!0,ze=e}};function Ue(e,t,n,r,o,a,i,s,l){De=!1,ze=null,Ie.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(a(188))}function Qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return He(o),e;if(i===r)return He(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ze=o.unstable_scheduleCallback,Ve=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~o;0!==s?r=dt(s):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,Ct,_t=!1,Tt=[],Nt=null,Lt=null,jt=null,Rt=new Map,At=new Map,Pt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":Lt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function zt(e){var t=vo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Mt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){_t=!1,null!==Nt&&Ft(Nt)&&(Nt=null),null!==Lt&&Ft(Lt)&&(Lt=null),null!==jt&&Ft(jt)&&(jt=null),Rt.forEach(Mt),At.forEach(Mt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Ut(Nt,e),null!==Lt&&Ut(Lt,e),null!==jt&&Ut(jt,e),Rt.forEach(t),At.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)zt(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Qt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=1,Zt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Wt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=4,Zt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Zt(e,t,n,r){if(Ht){var o=Gt(e,t,n,r);if(null===o)Hr(e,t,r,Vt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Nt=Dt(Nt,e,t,n,r,o),!0;case"dragenter":return Lt=Dt(Lt,e,t,n,r,o),!0;case"mouseover":return jt=Dt(jt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Rt.set(a,Dt(Rt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,At.set(a,Dt(At.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&kt(a),null===(a=Gt(e,t,n,r))&&Hr(e,t,r,Vt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Vt=null;function Gt(e,t,n,r){if(Vt=null,null!==(e=vo(e=ke(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=z({},un,{view:0,detail:0}),fn=on(dn),pn=z({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(z({},pn,{dataTransfer:0})),gn=on(z({},dn,{relatedTarget:0})),yn=on(z({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=z({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(bn),wn=on(z({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var _n=z({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(_n),Nn=on(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=on(z({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),jn=on(z({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=on(Rn),Pn=[9,13,27,32],On=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,zn=c&&(!On||In&&8<In&&11>=In),Fn=String.fromCharCode(32),Mn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Qn(e,t,n,r){_e(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Zn=null;function Vn(e){Fr(e,0)}function Gn(e){if(Z(ko(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Zn=Wn=null)}function nr(e){if("value"===e.propertyName&&Gn(Zn)){var t=[];Qn(t,Zn,e,ke(e)),Re(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Zn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=V();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=V((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==V(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&lr(br,r)||(br=r,0<(r=Wr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),Nr=Cr("animationstart"),Lr=Cr("transitionend"),jr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){jr.set(e,t),l(t,[e])}for(var Pr=0;Pr<Rr.length;Pr++){var Or=Rr[Pr];Ar(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Ar(_r,"onAnimationEnd"),Ar(Tr,"onAnimationIteration"),Ar(Nr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Lr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function zr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if(Ue.apply(this,arguments),De){if(!De)throw Error(a(198));var c=ze;De=!1,ze=null,Fe||(Fe=!0,Me=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;zr(o,s,u),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;zr(o,s,u),a=l}}}if(Fe)throw e=Me,Fe=!1,Me=null,e}function Mr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Kt(t)){case 1:var o=Qt;break;case 4:o=Wt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=vo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Re((function(){var r=a,o=ke(n),i=[];e:{var s=jr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":u="focus",l=gn;break;case"focusout":u="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ln;break;case _r:case Tr:case Nr:l=yn;break;case Lr:l=jn;break;case"scroll":l=fn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Nn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ae(h,f))&&c.push(Qr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),i.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!vo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?vo(u):null)&&(u!==(d=$e(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:ko(l),p=null==u?s:ko(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,vo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Zr(p))h++;for(p=0,m=f;m;m=Zr(m))p++;for(;0<h-p;)c=Zr(c),h--;for(;0<p-h;)f=Zr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Zr(c),f=Zr(f)}c=null}else c=null;null!==l&&Vr(i,s,l,c,!1),null!==u&&null!==d&&Vr(i,d,u,c,!0)}if("select"===(l=(s=r?ko(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Hn(s))if(Yn)g=ir;else{g=or;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?Qn(i,g,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?ko(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,o)}var b;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(zn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(b=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,$n=!0)),0<(y=Wr(r,v)).length&&(v=new wn(v,e,null,n,o),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=Un(n))&&(v.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Mn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Mn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=b))}Fr(i,t)}))}function Qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ae(e,n))&&r.unshift(Qr(e,a,o)),null!=(a=Ae(e,t))&&r.push(Qr(e,a,o))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Ae(n,a))&&i.unshift(Qr(n,l,s)):o||null!=(l=Ae(n,a))&&i.push(Qr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,yo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function vo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ko(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[ho]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function To(e,t){Eo++,So[Eo]=e.current,e.current=t}var No={},Lo=Co(No),jo=Co(!1),Ro=No;function Ao(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Po(e){return null!=(e=e.childContextTypes)}function Oo(){_o(jo),_o(Lo)}function Io(e,t,n){if(Lo.current!==No)throw Error(a(168));To(Lo,t),To(jo,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return z({},n,r)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,Ro=Lo.current,To(Lo,e),To(jo,jo.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,_o(jo),_o(Lo),To(Lo,e)):_o(jo),To(jo,n)}var Mo=null,Bo=!1,Uo=!1;function $o(e){null===Mo?Mo=[e]:Mo.push(e)}function qo(){if(!Uo&&null!==Mo){Uo=!0;var e=0,t=vt;try{var n=Mo;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Mo=null,Bo=!1}catch(o){throw null!==Mo&&(Mo=Mo.slice(e+1)),Ze(Je,qo),o}finally{vt=t,Uo=!1}}return null}var Ho=[],Qo=0,Wo=null,Zo=0,Vo=[],Go=0,Ko=null,Yo=1,Xo="";function Jo(e,t){Ho[Qo++]=Zo,Ho[Qo++]=Wo,Wo=e,Zo=t}function ea(e,t,n){Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Ko=e;var r=Yo;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Yo=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Wo;)Wo=Ho[--Qo],Ho[Qo]=null,Zo=Ho[--Qo],Ho[Qo]=null;for(;e===Ko;)Ko=Vo[--Go],Vo[Go]=null,Xo=Vo[--Go],Vo[Go]=null,Yo=Vo[--Go],Vo[Go]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,t){var n=Au(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function la(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Au(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!la(e,t)){if(ua(e))throw Error(a(418));t=uo(n.nextSibling);var r=ra;t&&la(e,t)?sa(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw pa(),Error(a(418));for(;t;)sa(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var ga=w.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ba=Co(null),va=null,wa=null,ka=null;function xa(){ka=wa=va=null}function Sa(e){var t=ba.current;_o(ba),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){va=e,ka=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ws=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===va)throw Error(a(308));wa=e,va.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var Ta=null;function Na(e){null===Ta?Ta=[e]:Ta.push(e)}function La(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Na(t)):(n.next=o.next,o.next=n),t.interleaved=n,ja(e,r)}function ja(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ra=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ll)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ja(e,n)}return null===(o=r.interleaved)?(t.next=t,Na(r)):(t.next=o.next,o.next=t),r.interleaved=t,ja(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function za(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;Ra=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=z({},d,f);break e;case 2:Ra=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zl|=i,e.lanes=i,e.memoizedState=d}}function Ma(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $a={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Oa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ia(e,o,r))&&(ru(t,e,r,n),Da(t,e,r))}};function qa(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,a))}function Ha(e,t,n){var r=!1,o=No,a=t.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=Po(t)?Ro:Lo.current,a=(r=null!=(r=t.contextTypes))?Ao(e,o):No),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$a,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Qa(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$a.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=Po(t)?Ro:Lo.current,o.context=Ao(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$a.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Za(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ga(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&Ga(a)===t.type)?((r=o(t,n.props)).ref=Za(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Za(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Du(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Za(e,null,t),n.return=e,n;case x:return(t=Mu(t,e.mode,n)).return=e,t;case A:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;Va(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case A:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Va(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Va(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(o,d),aa&&Jo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Jo(o,m),u}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,m),u}function g(o,s,l,u){var c=I(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,g=s=0,y=null,b=l.next();null!==m&&!b.done;g++,b=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var v=p(o,m,b.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),s=i(v,s,g),null===d?c=v:d.sibling=v,d=v,m=y}if(b.done)return n(o,m),aa&&Jo(o,g),c;if(null===m){for(;!b.done;g++,b=l.next())null!==(b=f(o,b.value,u))&&(s=i(b,s,g),null===d?c=b:d.sibling=b,d=b);return aa&&Jo(o,g),c}for(m=r(o,m);!b.done;g++,b=l.next())null!==(b=h(m,o,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),aa&&Jo(o,g),c}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===A&&Ga(u)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Za(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Du(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Iu(i.type,i.key,i.props,null,r.mode,l)).ref=Za(r,a,i),l.return=r,r=l)}return s(r);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Mu(i,r.mode,l)).return=r,r=a}return s(r);case A:return e(r,a,(c=i._init)(i._payload),l)}if(te(i))return m(r,a,i,l);if(I(i))return g(r,a,i,l);Va(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Fu(i,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ya=Ka(!0),Xa=Ka(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(To(ni,t),To(ti,e),To(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),To(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(To(ti,e),To(ei,n))}function si(e){ti.current===e&&(_o(ei),_o(ti))}var li=Co(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,mi=null,gi=null,yi=null,bi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(a(301));i+=1,yi=gi=null,t.updateQueue=null,fi.current=us,e=n(r,o)}while(vi)}if(fi.current=is,t=null!==gi&&null!==gi.next,hi=0,yi=gi=mi=null,bi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?mi.memoizedState=yi=e:yi=yi.next=e,yi}function Ti(){if(null===gi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===yi?mi.memoizedState:yi.next;if(null!==t)yi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===yi?mi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ni(e,t){return"function"==typeof t?t(e):t}function Li(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,mi.lanes|=d,zl|=d}c=c.next}while(null!==c&&c!==i);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,mi.lanes|=i,zl|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ji(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ri(){}function Ai(e,t){var n=mi,r=Ti(),o=t(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,ws=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,Mi(9,Oi.bind(null,n,r,o,t),void 0,null),null===jl)throw Error(a(349));0!=(30&hi)||Pi(n,t,o)}return o}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&zi(e)}function Ii(e,t,n){return n((function(){Di(t)&&zi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function zi(e){var t=ja(e,1);null!==t&&ru(t,e,1,-1)}function Fi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,mi,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function Ui(e,t,n,r){var o=_i();mi.flags|=e,o.memoizedState=Mi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var o=Ti();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Mi(t,n,a,r))}mi.flags|=e,o.memoizedState=Mi(1|t,n,a,r)}function qi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return $i(2048,8,e,t)}function Qi(e,t){return $i(4,2,e,t)}function Wi(e,t){return $i(4,4,e,t)}function Zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Zi.bind(null,t,e),n)}function Gi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),mi.lanes|=n,zl|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function es(){return Ti().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=La(e,t,n,r))){ru(n,e,r,tu()),as(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(o.next=o,Na(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=La(e,t,o,r))&&(ru(n,e,r,o=tu()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function os(e,t){vi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var is={readContext:_a,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ss={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Fi,useDebugValue:Gi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===jl)throw Error(a(349));0!=(30&hi)||Pi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=jl.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Vi,useInsertionEffect:Qi,useLayoutEffect:Wi,useMemo:Yi,useReducer:Li,useRef:Bi,useState:function(){return Li(Ni)},useDebugValue:Gi,useDeferredValue:function(e){return Xi(Ti(),gi.memoizedState,e)},useTransition:function(){return[Li(Ni)[0],Ti().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ai,useId:es,unstable_isNewReconciler:!1},us={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Vi,useInsertionEffect:Qi,useLayoutEffect:Wi,useMemo:Yi,useReducer:ji,useRef:Bi,useState:function(){return ji(Ni)},useDebugValue:Gi,useDeferredValue:function(e){var t=Ti();return null===gi?t.memoizedState=e:Xi(t,gi.memoizedState,e)},useTransition:function(){return[ji(Ni)[0],Ti().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ai,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ql||(Ql=!0,Wl=r),fs(0,t)},n}function ms(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Ia(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=w.ReactCurrentOwner,ws=!1;function ks(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ya(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||ws?(aa&&n&&ta(t),t.flags|=1,ks(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qs(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Pu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Qs(e,t,o)}return t.flags|=1,(e=Ou(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Qs(e,t,o);0!=(131072&e.flags)&&(ws=!0)}}return Ts(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Ol,Pl),Pl|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Ol,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,To(Ol,Pl),Pl|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,To(Ol,Pl),Pl|=r;return ks(e,t,o,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,o){var a=Po(n)?Ro:Lo.current;return a=Ao(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||ws?(aa&&r&&ta(t),t.flags|=1,ks(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qs(e,t,o))}function Ns(e,t,n,r,o){if(Po(n)){var a=!0;zo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hs(e,t),Ha(t,n,r),Wa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=_a(u):u=Ao(t,u=Po(n)?Ro:Lo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==u)&&Qa(t,i,r,u),Ra=!1;var f=t.memoizedState;i.state=f,Fa(t,r,i,o),l=t.memoizedState,s!==r||f!==l||jo.current||Ra?("function"==typeof c&&(Ua(t,n,c,r),l=t.memoizedState),(s=Ra||qa(t,n,s,r,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pa(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ya(t.type,s),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=_a(l):l=Ao(t,l=Po(n)?Ro:Lo.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Qa(t,i,r,l),Ra=!1,f=t.memoizedState,i.state=f,Fa(t,r,i,o);var h=t.memoizedState;s!==d||f!==h||jo.current||Ra?("function"==typeof p&&(Ua(t,n,p,r),h=t.memoizedState),(u=Ra||qa(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ls(e,t,n,r,a,o)}function Ls(e,t,n,r,o,a){_s(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),Qs(e,t,a);r=t.stateNode,vs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,s,a)):ks(e,t,s,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function js(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oi(e,t.containerInfo)}function Rs(e,t,n,r,o){return ha(),ma(o),t.flags|=256,ks(e,t,n,r),t.child}var As,Ps,Os,Is,Ds={dehydrated:null,treeContext:null,retryLane:0};function zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,o=t.pendingProps,i=li.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),To(li,1&i),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=zu(l,o,0,null),e=Du(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=zs(n),t.memoizedState=Ds,e):Ms(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,Bs(e,t,s,r=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=zu({mode:"visible",children:r.children},o,0,null),(i=Du(i,o,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ya(t,e.child,null,s),t.child.memoizedState=zs(s),t.memoizedState=Ds,i);if(0==(1&t.mode))return Bs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Bs(e,t,s,r=ds(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),ws||l){if(null!==(r=jl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,ja(e,o),ru(r,e,o,-1))}return gu(),Bs(e,t,s,r=ds(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=uo(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Yo=e.id,Xo=e.overflow,Ko=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(s){s=o.fallback,l=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ou(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ou(r,s):(s=Du(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?zs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Ou(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ms(e,t){return(t=zu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bs(e,t,n,r){return null!==r&&ma(r),Ya(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function $s(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function qs(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(ks(e,t,r.children,n),0!=(2&(r=li.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(li,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$s(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$s(t,!0,n,null,a);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Po(t.type)&&Oo(),Zs(t),null;case 3:return r=t.stateNode,ai(),_o(jo),_o(Lo),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(su(ia),ia=null))),Ps(e,t),Zs(t),null;case 5:si(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Zs(t),null}if(e=ri(ei.current),fa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=0!=(1&t.mode),n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Mr(Ir[o],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":K(r,i),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Mr("invalid",r);break;case"textarea":oe(r,i),Mr("invalid",r)}for(var l in be(n,i),o=null,i)if(i.hasOwnProperty(l)){var u=i[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Mr("scroll",r)}switch(n){case"input":W(r),J(r,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,As(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),o=r;break;case"iframe":case"object":case"embed":Mr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Mr(Ir[o],e);o=r;break;case"source":Mr("error",e),o=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),o=r;break;case"details":Mr("toggle",e),o=r;break;case"input":K(e,r),o=G(e,r),Mr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=z({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Mr("invalid",e)}for(i in be(n,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Mr("scroll",e):null!=c&&v(e,i,c,l))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Zs(t),null;case 13:if(_o(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),i=!1}else null!==ia&&(su(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&li.current)?0===Il&&(Il=3):gu())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return ai(),Ps(e,t),null===e&&$r(t.stateNode.containerInfo),Zs(t),null;case 10:return Sa(t.type._context),Zs(t),null;case 19:if(_o(li),null===(i=t.memoizedState))return Zs(t),null;if(r=0!=(128&t.flags),null===(l=i.rendering))if(r)Ws(i,!1);else{if(0!==Il||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ui(e))){for(t.flags|=128,Ws(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>ql&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Zs(t),null}else 2*Ye()-i.renderingStartTime>ql&&1073741824!==n&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=li.current,To(li,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gs(e,t){switch(na(t),t.tag){case 1:return Po(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(jo),_o(Lo),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(_o(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(li),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}As=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ps=function(){},Os=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=G(e,o),r=G(e,r),i=[];break;case"select":o=z({},o,{value:void 0}),r=z({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Mr("scroll",e),i||l===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Ys=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&tl(t,n,a)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[yo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Ys||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),$t(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&tl(n,t,i),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Ys&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cu(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,pl(e,t,n),Ys=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Lu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(a(160));hl(i,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Cu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yl(t,e),t=t.sibling}function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),bl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(g){Cu(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Cu(e,e.return,g)}}break;case 1:gl(t,e),bl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),bl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(g){Cu(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Y(o,i),ve(l,s);var c=ve(l,i);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):v(o,d,f,c)}switch(l){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(g){Cu(e,e.return,g)}}break;case 6:if(gl(t,e),bl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Cu(e,e.return,g)}}break;case 3:if(gl(t,e),bl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){Cu(e,e.return,g)}break;case 4:default:gl(t,e),bl(e);break;case 13:gl(t,e),bl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||($l=Ye())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(c=Ys)||d,gl(t,e),Ys=c):gl(t,e),bl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Cu(r,n,g)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Js=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(g){Cu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Cu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),bl(e),4&r&&ml(e);case 21:}}function bl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;ul(e,ll(e),i);break;default:throw Error(a(161))}}catch(s){Cu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var o=Js,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ks;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Ks;var u=Ys;if(Ks=i,(Ys=l)&&!u)for(Js=o;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?Sl(o):null!==l?(l.return=i,Js=l):Sl(o);for(;null!==a;)Js=a,wl(a,t,n),a=a.sibling;Js=o,Ks=s,Ys=u}kl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Js=a):kl(e)}}function kl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ys||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ma(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ma(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(a(163))}Ys||512&t.flags&&al(t)}catch(p){Cu(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Cu(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Cu(t,o,l)}}var a=t.return;try{al(t)}catch(l){Cu(t,a,l)}break;case 5:var i=t.return;try{al(t)}catch(l){Cu(t,i,l)}}}catch(l){Cu(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,Cl=Math.ceil,_l=w.ReactCurrentDispatcher,Tl=w.ReactCurrentOwner,Nl=w.ReactCurrentBatchConfig,Ll=0,jl=null,Rl=null,Al=0,Pl=0,Ol=Co(0),Il=0,Dl=null,zl=0,Fl=0,Ml=0,Bl=null,Ul=null,$l=0,ql=1/0,Hl=null,Ql=!1,Wl=null,Zl=null,Vl=!1,Gl=null,Kl=0,Yl=0,Xl=null,Jl=-1,eu=0;function tu(){return 0!=(6&Ll)?Ye():-1!==Jl?Jl:Jl=Ye()}function nu(e){return 0==(1&e.mode)?1:0!=(2&Ll)&&0!==Al?Al&-Al:null!==ga.transition?(0===eu&&(eu=mt()),eu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Yl)throw Yl=0,Xl=null,Error(a(185));yt(e,n,r),0!=(2&Ll)&&e===jl||(e===jl&&(0==(2&Ll)&&(Fl|=n),4===Il&&lu(e,Al)),ou(e,r),1===n&&0===Ll&&0==(1&t.mode)&&(ql=Ye()+500,Bo&&qo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),s=1<<i,l=o[i];-1===l?0!=(s&n)&&0==(s&r)||(o[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=ft(e,e===jl?Al:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Bo=!0,$o(e)}(uu.bind(null,e)):$o(uu.bind(null,e)),io((function(){0==(6&Ll)&&qo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Jl=-1,eu=0,0!=(6&Ll))throw Error(a(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===jl?Al:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var o=Ll;Ll|=2;var i=mu();for(jl===e&&Al===t||(Hl=null,ql=Ye()+500,pu(e,t));;)try{vu();break}catch(l){hu(e,l)}xa(),_l.current=i,Ll=o,null!==Rl?t=0:(jl=null,Al=0,t=Il)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t)throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=yu(e,r))&&(0!==(i=ht(e))&&(r=i,t=iu(e,i))),1===t))throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,Ul,Hl);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=$l+500-Ye())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,Ul,Hl),t);break}xu(e,Ul,Hl);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,Ul,Hl),r);break}xu(e,Ul,Hl);break;default:throw Error(a(329))}}}return ou(e,Ye()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=Ul,Ul=n,null!==t&&su(t)),e}function su(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function lu(e,t){for(t&=~Ml,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&Ll))throw Error(a(327));Su();var t=ft(e,0);if(0==(1&t))return ou(e,Ye()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Dl,pu(e,0),lu(e,t),ou(e,Ye()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Ul,Hl),ou(e,Ye()),null}function cu(e,t){var n=Ll;Ll|=1;try{return e(t)}finally{0===(Ll=n)&&(ql=Ye()+500,Bo&&qo())}}function du(e){null!==Gl&&0===Gl.tag&&0==(6&Ll)&&Su();var t=Ll;Ll|=1;var n=Nl.transition,r=vt;try{if(Nl.transition=null,vt=1,e)return e()}finally{vt=r,Nl.transition=n,0==(6&(Ll=t))&&qo()}}function fu(){Pl=Ol.current,_o(Ol)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ai(),_o(jo),_o(Lo),di();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:_o(li);break;case 10:Sa(r.type._context);break;case 22:case 23:fu()}n=n.return}if(jl=e,Rl=e=Ou(e.current,null),Al=Pl=t,Il=0,Dl=null,Ml=Fl=zl=0,Ul=Bl=null,null!==Ta){for(t=0;t<Ta.length;t++)if(null!==(r=(n=Ta[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ta=null}return e}function hu(e,t){for(;;){var n=Rl;try{if(xa(),fi.current=is,bi){for(var r=mi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}bi=!1}if(hi=0,yi=gi=mi=null,vi=!1,wi=0,Tl.current=null,null===n||null===n.return){Il=1,Dl=t,Rl=null;break}e:{var i=e,s=n.return,l=n,u=t;if(t=Al,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,bs(h,s,l,0,t),1&h.mode&&gs(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){gs(i,c,t),gu();break e}u=Error(a(426))}else if(aa&&1&l.mode){var y=ys(s);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),bs(y,s,l,0,t),ma(cs(u,l));break e}}i=u=cs(u,l),4!==Il&&(Il=2),null===Bl?Bl=[i]:Bl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,za(i,hs(0,u,t));break e;case 1:l=u;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Zl||!Zl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,za(i,ms(i,l,t));break e}}i=i.return}while(null!==i)}ku(n)}catch(w){t=w,Rl===n&&null!==n&&(Rl=n=n.return);continue}break}}function mu(){var e=_l.current;return _l.current=is,null===e?is:e}function gu(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===jl||0==(268435455&zl)&&0==(268435455&Fl)||lu(jl,Al)}function yu(e,t){var n=Ll;Ll|=2;var r=mu();for(jl===e&&Al===t||(Hl=null,pu(e,t));;)try{bu();break}catch(o){hu(e,o)}if(xa(),Ll=n,_l.current=r,null!==Rl)throw Error(a(261));return jl=null,Al=0,Il}function bu(){for(;null!==Rl;)wu(Rl)}function vu(){for(;null!==Rl&&!Ge();)wu(Rl)}function wu(e){var t=El(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?ku(e):Rl=t,Tl.current=null}function ku(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Vs(n,t,Pl)))return void(Rl=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Rl=n);if(null===e)return Il=6,void(Rl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Rl=t);Rl=t=e}while(null!==t);0===Il&&(Il=5)}function xu(e,t,n){var r=vt,o=Nl.transition;try{Nl.transition=null,vt=1,function(e,t,n,r){do{Su()}while(null!==Gl);if(0!=(6&Ll))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===jl&&(Rl=jl=null,Al=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Vl||(Vl=!0,ju(tt,(function(){return Su(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Nl.transition,Nl.transition=null;var s=vt;vt=1;var l=Ll;Ll|=4,Tl.current=null,function(e,t){if(eo=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==i||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===i&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:ya(t.type,g),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(k){Cu(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),yl(n,e),hr(to),Ht=!!eo,to=eo=null,e.current=n,vl(n,e,o),Ke(),Ll=l,vt=s,Nl.transition=i}else e.current=n;if(Vl&&(Vl=!1,Gl=e,Kl=o),i=e.pendingLanes,0===i&&(Zl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ql)throw Ql=!1,e=Wl,Wl=null,e;0!=(1&Kl)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Xl?Yl++:(Yl=0,Xl=e):Yl=0,qo()}(e,t,n,r)}finally{Nl.transition=o,vt=r}return null}function Su(){if(null!==Gl){var e=wt(Kl),t=Nl.transition,n=vt;try{if(Nl.transition=null,vt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Kl=0,0!=(6&Ll))throw Error(a(331));var o=Ll;for(Ll|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(0!=(16&Js.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===c){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Js=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(0!=(2048&(i=Js).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Js=b;break e}Js=i.return}}var v=e.current;for(Js=v;null!==Js;){var w=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=v;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(x){Cu(l,l.return,x)}if(l===s){Js=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Js=k;break e}Js=l.return}}if(Ll=o,qo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(x){}r=!0}return r}finally{vt=n,Nl.transition=t}}return!1}function Eu(e,t,n){e=Ia(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),ou(e,t))}function Cu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Ia(t,e=ms(t,e=cs(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),ou(t,e));break}}t=t.return}}function _u(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,jl===e&&(Al&n)===n&&(4===Il||3===Il&&(130023424&Al)===Al&&500>Ye()-$l?pu(e,0):Ml|=n),ou(e,t)}function Tu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=ja(e,t))&&(yt(e,t,n),ou(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function Lu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Tu(e,n)}function ju(e,t){return Ze(e,t)}function Ru(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Au(e,t,n,r){return new Ru(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Au(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Pu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Du(n.children,o,i,t);case E:s=8,o|=8;break;case C:return(e=Au(12,n,t,2|o)).elementType=C,e.lanes=i,e;case L:return(e=Au(13,n,t,o)).elementType=L,e.lanes=i,e;case j:return(e=Au(19,n,t,o)).elementType=j,e.lanes=i,e;case P:return zu(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case T:s=9;break e;case N:s=11;break e;case R:s=14;break e;case A:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Au(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Au(7,e,r,t)).lanes=n,e}function zu(e,t,n,r){return(e=Au(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Au(6,e,null,t)).lanes=n,e}function Mu(e,t,n){return(t=Au(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,a,i,s,l){return e=new Bu(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Au(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function $u(e){if(!e)return No;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Po(n))return Do(e,n,t)}return t}function qu(e,t,n,r,o,a,i,s,l){return(e=Uu(n,r,!0,e,0,a,0,s,l)).context=$u(null),n=e.current,(a=Oa(r=tu(),o=nu(n))).callback=null!=t?t:null,Ia(n,a,o),e.current.lanes=o,yt(e,o,r),ou(e,r),e}function Hu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ia(o,t,i))&&(ru(e,o,i,a),Da(e,o,i)),i}function Qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||jo.current)ws=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:js(t),ha();break;case 5:ii(t);break;case 1:Po(t.type)&&zo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(li,1&li.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fs(e,t,n):(To(li,1&li.current),null!==(e=Qs(e,t,n))?e.sibling:null);To(li,1&li.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return qs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Qs(e,t,n)}(e,t,n);ws=0!=(131072&e.flags)}else ws=!1,aa&&0!=(1048576&t.flags)&&ea(t,Zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var o=Ao(t,Lo.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Po(r)?(i=!0,zo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Aa(t),o.updater=$a,t.stateNode=o,o._reactInternals=t,Wa(t,r,e,n),t=Ls(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),ks(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===N)return 11;if(e===R)return 14}return 2}(r),e=ya(r,e),o){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=Ns(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ya(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ns(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 3:e:{if(js(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Pa(e,t),Fa(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rs(e,t,r,n,o=cs(Error(a(423)),t));break e}if(r!==o){t=Rs(e,t,r,n,o=cs(Error(a(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=Qs(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==i&&no(r,i)&&(t.flags|=32),_s(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Fs(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,To(ba,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!jo.current){t=Qs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Oa(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ea(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ea(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ks(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=_a(o)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return o=ya(r=t.type,t.pendingProps),Ss(e,t,r,o=ya(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ya(r,o),Hs(e,t),t.tag=1,Po(r)?(e=!0,zo(t)):e=!1,Ca(t,n),Ha(t,r,o),Wa(t,r,o,n),Ls(null,t,r,!0,e,n);case 19:return qs(e,t,n);case 22:return Cs(e,t,n)}throw Error(a(156,t.tag))};var Vu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Qu(i);s.call(e)}}Hu(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Qu(i);a.call(e)}}var i=qu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[mo]=i.current,$r(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Qu(l);s.call(e)}}var l=Uu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[mo]=l.current,$r(8===e.nodeType?e.parentNode:e),du((function(){Hu(t,l,n,r)})),l}(n,t,e,o,r);return Qu(i)}Ku.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hu(e,t,null,null)},Ku.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Hu(null,e,null,null)})),t[mo]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&zt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ou(t,Ye()),0==(6&Ll)&&(ql=Ye()+500,qo()))}break;case 13:du((function(){var t=ja(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Zu(e,1)}},xt=function(e){if(13===e.tag){var t=ja(e,134217728);if(null!==t)ru(t,e,134217728,tu());Zu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=ja(e,t);if(null!==n)ru(n,e,t,tu());Zu(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));Z(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=cu,Le=du;var tc={usingClientEntryPoint:!1,Events:[wo,ko,xo,_e,Te,cu]},nc={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(a(299));var n=!1,r="",o=Vu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,$r(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Vu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=qu(t,null,e,1,null!=n?n:null,o,0,i,s),e[mo]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ku(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(a(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},4932:function(e,t,n){"use strict";var r=n(3951);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3951:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(600)},7782:function(e,t,n){"use strict";n.d(t,{B6:function(){return Q},ql:function(){return J}});var r=n(3900),o=n(5401),a=n.n(o),i=n(2227),s=n.n(i),l=n(5479),u=n.n(l),c=n(9494),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},N=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var s=a[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var s=a[i],l=f({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},L=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},j=function(e){return Array.isArray(e)?e.join(""):e},R=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},A=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},z=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=D(n,o),[r.createElement(g.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=I(n),a=j(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return z(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=R(e.metaTags,v),a=R(t,y),i=R(n,b);return{priorityMethods:{toComponent:function(){return[].concat(z(g.META,o.priority),z(g.LINK,a.priority),z(g.SCRIPT,i.priority))},toString:function(){return F(g.META,o.priority,r)+" "+F(g.LINK,a.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);p=h.priorityMethods,c=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",o,r),link:F(g.LINK,c,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,a,r),script:F(g.SCRIPT,f,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:l,titleAttributes:u},r)}},B=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),H="undefined"!=typeof document,Q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Q.canUseDOM=H,Q.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},Q.defaultProps={context:{}},Q.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},Z=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===o.indexOf(l)&&o.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;Z(g.BODY,e.bodyAttributes),Z(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=j(e)),Z(g.TITLE,t)}(c,d);var f={baseTag:W(g.BASE,n),linkTags:W(g.LINK,o),metaTags:W(g.META,a),noscriptTags:W(g.NOSCRIPT,i),scriptTags:W(g.SCRIPT,l),styleTags:W(g.STYLE,u)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},G=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:N(g.LINK,["rel","href"],e),metaTags:N(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:N(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:N(g.SCRIPT,["src","innerHTML"],e),styleTags:N(g.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:L(e,"prioritizeSeoTags")});Q.canUseDOM?(t=a,G&&cancelAnimationFrame(G),t.defer?G=requestAnimationFrame((function(){V(t,(function(){G=null}))})):(V(t),G=null)):M&&(o=M(a)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:q.isRequired},K.displayName="HelmetDispatcher";var Y=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(A(this.props,"helmetData"),A(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},o,((t={})[r.type]=i,t.titleAttributes=f({},a),t));case g.BODY:return f({},o,{bodyAttributes:f({},a)});case g.HTML:return f({},o,{htmlAttributes:f({},a)});default:return f({},o,((n={})[r.type]=f({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=m(r,Y),s=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,a),l){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,X),o=f({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof U||(a=new U(a.context,a.instances)),a?r.createElement(K,f({},o,{context:a.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(K,f({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},4518:function(e,t,n){"use strict";n.d(t,{H:function(){return s},f:function(){return i}});var r=n(382),o=n(922),a=n(3900);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},3525:function(e,t,n){"use strict";n.d(t,{OL:function(){return v},VK:function(){return c},rU:function(){return g}});var r=n(382),o=n(7535),a=n(3900),i=n(470),s=n(922),l=n(1360),u=n(3546),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},h=a.forwardRef;void 0===h&&(h=p);var m=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,s.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.createElement("a",c)}));var g=h((function(e,t){var n=e.component,o=void 0===n?m:n,c=e.replace,g=e.to,y=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.Z)({},b,{href:l,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==h?m.ref=t||y:m.innerRef=y,a.createElement(o,m)}))})),y=function(e){return e},b=a.forwardRef;void 0===b&&(b=y);var v=b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(E,n),n),l=i.pathname,T=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=T?(0,r.LX)(n.pathname,{path:T,exact:m,sensitive:k,strict:x}):null,L=!!(v?v(N,n):N),j="function"==typeof h?h(L):h,R="function"==typeof S?S(L):S;L&&(j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(j,c),R=(0,s.Z)({},R,p));var A=(0,s.Z)({"aria-current":L&&o||null,className:j,style:R,to:i},_);return y!==b?A.ref=t||C:A.innerRef=C,a.createElement(g,A)}))}))},382:function(e,t,n){"use strict";n.d(t,{AW:function(){return E},F0:function(){return v},LX:function(){return S},TH:function(){return P},k6:function(){return A},rs:function(){return j},s6:function(){return b}});var r=n(7535),o=n(3900),a=n(5401),i=n.n(a),s=n(470),l=n(3546),u=n(922),c=n(7837),d=n.n(c),f=(n(3585),n(1360)),p=(n(850),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var m=o.createContext||function(e,t){var n,a,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((a={})[s]=i().object,a),{Provider:l,Consumer:u}},g=function(e){var t=m();return t.displayName=e,t},y=g("Router-History"),b=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,s=void 0!==i&&i,l=n.sensitive,u=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var o=[],a={regexp:d()(e,o,t),keys:o};return x<k&&(r[e]=a,x++),a}(n,{end:a,strict:s,sensitive:u}),o=r.regexp,i=r.keys,l=o.exec(e);if(!l)return null;var c=l[0],f=l.slice(1),p=e===c;return a&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,a=(0,u.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,c=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(b.Provider,{value:a},a.match?s?"function"==typeof s?s(a):s:c?o.createElement(c,a):d?d(a):null:"function"==typeof s?s(a):null)}))},t}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,s.Ep)(e)}function N(e){return function(){(0,l.Z)(!1)}}function L(){}o.Component;var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);var R=o.useContext;function A(){return R(y)}function P(){return R(b).location}},7515:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},470:function(e,t,n){"use strict";n.d(t,{lX:function(){return w},q_:function(){return _},ob:function(){return p},PP:function(){return N},Ep:function(){return f}});var r=n(922);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),u=s||l;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?a(i,f):".."===p?(a(i,f),d++):d&&(a(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h},s=n(3546);function l(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(l(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=c(a,C)),p(a,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var N=h();function L(e){(0,r.Z)(U,e),U.length=n.length,N.notifyListeners(U.location,U.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(_(e.state))}function R(){P(_(v()))}var A=!1;function P(e){if(A)A=!1,L();else{N.confirmTransitionTo(e,"POP",x,(function(t){t?L({action:"POP",location:e}):function(e){var t=U.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,z(o))}(e)}))}}var O=_(v()),I=[O.key];function D(e){return C+f(e)}function z(e){n.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?(window.addEventListener(y,j),a&&window.addEventListener(b,R)):0===F&&(window.removeEventListener(y,j),a&&window.removeEventListener(b,R))}var B=!1;var U={length:n.length,action:"POP",location:O,createHref:D,push:function(e,t){var r="PUSH",a=p(e,t,T(),U.location);N.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.pushState({key:i,state:s},null,t),w)window.location.href=t;else{var l=I.indexOf(U.location.key),u=I.slice(0,l+1);u.push(a.key),I=u,L({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,T(),U.location);N.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.replaceState({key:i,state:s},null,t),w)window.location.replace(t);else{var l=I.indexOf(U.location.key);-1!==l&&(I[l]=a.key),L({action:r,location:a})}else window.location.replace(t)}}))},go:z,goBack:function(){z(-1)},goForward:function(){z(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return B||(M(1),B=!0),function(){return B&&(B=!1,M(-1)),t()}},listen:function(e){var t=N.appendListener(e);return M(1),function(){M(-1),t()}}};return U}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?g:o,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(l(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function _(){var e=w(E());return y&&(e=c(e,y)),p(e)}var T=h();function N(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var L=!1,j=null;function R(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var o=_(),i=B.location;if(!L&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===f(o))return;j=null,function(e){if(L)L=!1,N();else{var t="POP";T.confirmTransitionTo(e,t,a,(function(n){n?N({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var o=n-r;o&&(L=!0,D(o))}(e)}))}}(o)}}var A=E(),P=v(A);A!==P&&C(P);var O=_(),I=[f(O)];function D(e){t.go(e)}var z=0;function F(e){1===(z+=e)&&1===e?window.addEventListener(k,R):0===z&&window.removeEventListener(k,R)}var M=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=v(y+t);if(E()!==o){j=t,function(e){window.location.hash=e}(o);var a=I.lastIndexOf(f(B.location)),i=I.slice(0,a+1);i.push(t),I=i,N({action:n,location:r})}else N()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=v(y+t);E()!==o&&(j=t,C(o));var a=I.indexOf(f(B.location));-1!==a&&(I[a]=t),N({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return M||(F(1),M=!0),function(){return M&&(M=!1,F(-1)),t()}},listen:function(e){var t=T.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,u=void 0===l?6:l,c=h();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,u)}var g=T(s,0,a.length-1),y=a.map((function(e){return p(e,void 0,"string"==typeof e?m():e.key||m())})),b=f;function v(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},850:function(e,t,n){"use strict";var r=n(3585),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var b=f(n,y);try{u(t,y,b)}catch(v){}}}}return t}},5479:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},8161:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},5654:function(e,t,n){var r,o;r=function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),n=t.join("-"),r="",o=[],a=[],i=0;i<t.length;++i)"en"==t[i]?(r+="\\w",o.unshift(e.stopWordFilter),o.push(e.stemmer),a.push(e.stemmer)):(r+=e[t[i]].wordCharacters,e[t[i]].stopWordFilter&&o.unshift(e[t[i]].stopWordFilter),e[t[i]].stemmer&&(o.push(e[t[i]].stemmer),a.push(e[t[i]].stemmer)));var s=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(s,"lunr-multi-trimmer-"+n),o.unshift(s),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,o),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,a))}}}},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},1651:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){return function(e){e.stemmerSupport={Among:function(e,t,n,r){if(this.toCharArray=function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},!e&&""!=e||!t&&0!=t||!n)throw"Bad Among initialisation: s:"+e+", substring_i: "+t+", result: "+n;this.s_size=e.length,this.s=this.toCharArray(e),this.substring_i=t,this.result=n,this.method=r},SnowballProgram:function(){var e;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){e=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=e;return e=null,t},in_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o>r||o<n)return this.cursor++,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o>r||o<n)return this.cursor--,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor+r)!=n.charCodeAt(r))return!1;return this.cursor+=t,!0},eq_s_b:function(t,n){if(this.cursor-this.limit_backward<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor-t+r)!=n.charCodeAt(r))return!1;return this.cursor-=t,!0},find_among:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=t[c],h=f;h<p.s_size;h++){if(a+f==i){d=-1;break}if(d=e.charCodeAt(a+f)-p.s[h])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){if(s>=(p=t[r]).s_size){if(this.cursor=a+p.s_size,!p.method)return p.result;var m=p.method();if(this.cursor=a+p.s_size,m)return p.result}if((r=p.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit_backward,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=(h=t[c]).s_size-1-f;p>=0;p--){if(a-f==i){d=-1;break}if(d=e.charCodeAt(a-1-f)-h.s[p])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){var h;if(s>=(h=t[r]).s_size){if(this.cursor=a-h.s_size,!h.method)return h.result;var m=h.method();if(this.cursor=a-h.s_size,m)return h.result}if((r=h.substring_i)<0)return 0}},replace_s:function(t,n,r){var o=r.length-(n-t),a=e.substring(0,t),i=e.substring(n);return e=a+r+i,this.limit+=o,this.cursor>=n?this.cursor+=o:this.cursor>t&&(this.cursor=t),o},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=o)},8355:function(e,t,n){var r,o;!function(){var a,i,s,l,u,c,d,f,p,h,m,g,y,b,v,w,k,x,S,E,C,_,T,N,L,j,R,A,P,O,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.9",I.utils={},I.utils.warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],a=e[o];if(Array.isArray(a))t[o]=a.slice();else{if("string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a)throw new TypeError("clone is not deep and does not support nested objects");t[o]=a}}return t},I.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},I.FieldRef.joiner="/",I.FieldRef.fromString=function(e){var t=e.indexOf(I.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new I.FieldRef(r,n,e)},I.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+I.FieldRef.joiner+this.docRef),this._stringValue},I.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},I.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},I.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},I.Set.prototype.contains=function(e){return!!this.elements[e]},I.Set.prototype.intersect=function(e){var t,n,r,o=[];if(e===I.Set.complete)return this;if(e===I.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var a=0;a<r.length;a++){var i=r[a];i in n.elements&&o.push(i)}return new I.Set(o)},I.Set.prototype.union=function(e){return e===I.Set.complete?I.Set.complete:e===I.Set.empty?this:new I.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},I.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},I.Token=function(e,t){this.str=e||"",this.metadata=t||{}},I.Token.prototype.toString=function(){return this.str},I.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},I.Token.prototype.clone=function(e){return e=e||function(e){return e},new I.Token(e(this.str,this.metadata),this.metadata)},I.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new I.Token(I.utils.asString(e).toLowerCase(),I.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,o=[],a=0,i=0;a<=r;a++){var s=a-i;if(n.charAt(a).match(I.tokenizer.separator)||a==r){if(s>0){var l=I.utils.clone(t)||{};l.position=[i,s],l.index=o.length,o.push(new I.Token(n.slice(i,a),l))}i=a+1}}return o},I.tokenizer.separator=/[\s\-]+/,I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],a=0;a<e.length;a++){var i=r(e[a],a,e);if(null!=i&&""!==i)if(Array.isArray(i))for(var s=0;s<i.length;s++)o.push(i[s]);else o.push(i)}e=o}return e},I.Pipeline.prototype.runString=function(e,t){var n=new I.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},I.Pipeline.prototype.reset=function(){this._stack=[]},I.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return I.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},I.Vector=function(e){this._magnitude=0,this.elements=e||[]},I.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),a=this.elements[2*o];r>1&&(a<e&&(t=o),a>e&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:a<e?2*(o+1):void 0},I.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},I.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},I.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},I.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,a=r.length,i=0,s=0,l=0,u=0;l<o&&u<a;)(i=n[l])<(s=r[u])?l+=2:i>s?u+=2:i==s&&(t+=n[l+1]*r[u+1],l+=2,u+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},I.Vector.prototype.toJSON=function(){return this.elements},I.stemmer=(i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},s={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},d="^("+(u="[^aeiou][^aeiouy]*")+")?"+(c=(l="[aeiouy]")+"[aeiou]*")+u+"("+c+")?$",f="^("+u+")?"+c+u+c+u,p="^("+u+")?"+l,h=new RegExp("^("+u+")?"+c+u),m=new RegExp(f),g=new RegExp(d),y=new RegExp(p),b=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,w=/^(.+?)eed$/,k=/^(.+?)(ed|ing)$/,x=/.$/,S=/(at|bl|iz)$/,E=new RegExp("([^aeiouylsz])\\1$"),C=new RegExp("^"+u+l+"[^aeiouwxy]$"),_=/^(.+?[^aeiou])y$/,T=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,N=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,L=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,j=/^(.+?)(s|t)(ion)$/,R=/^(.+?)e$/,A=/ll$/,P=new RegExp("^"+u+l+"[^aeiouwxy]$"),O=function(e){var t,n,r,o,a,l,u;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),a=v,(o=b).test(e)?e=e.replace(o,"$1$2"):a.test(e)&&(e=e.replace(a,"$1$2")),a=k,(o=w).test(e)){var c=o.exec(e);(o=h).test(c[1])&&(o=x,e=e.replace(o,""))}else a.test(e)&&(t=(c=a.exec(e))[1],(a=y).test(t)&&(l=E,u=C,(a=S).test(e=t)?e+="e":l.test(e)?(o=x,e=e.replace(o,"")):u.test(e)&&(e+="e")));return(o=_).test(e)&&(e=(t=(c=o.exec(e))[1])+"i"),(o=T).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+i[n])),(o=N).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+s[n])),a=j,(o=L).test(e)?(t=(c=o.exec(e))[1],(o=m).test(t)&&(e=t)):a.test(e)&&(t=(c=a.exec(e))[1]+c[2],(a=m).test(t)&&(e=t)),(o=R).test(e)&&(t=(c=o.exec(e))[1],a=g,l=P,((o=m).test(t)||a.test(t)&&!l.test(t))&&(e=t)),a=m,(o=A).test(e)&&a.test(e)&&(o=x,e=e.replace(o,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update(O)}),I.Pipeline.registerFunction(I.stemmer,"stemmer"),I.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},I.stopWordFilter=I.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),I.Pipeline.registerFunction(I.stopWordFilter,"stopWordFilter"),I.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},I.Pipeline.registerFunction(I.trimmer,"trimmer"),I.TokenSet=function(){this.final=!1,this.edges={},this.id=I.TokenSet._nextId,I.TokenSet._nextId+=1},I.TokenSet._nextId=1,I.TokenSet.fromArray=function(e){for(var t=new I.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},I.TokenSet.fromClause=function(e){return"editDistance"in e?I.TokenSet.fromFuzzyString(e.term,e.editDistance):I.TokenSet.fromString(e.term)},I.TokenSet.fromFuzzyString=function(e,t){for(var n=new I.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o=r.pop();if(o.str.length>0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new I.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new I.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new I.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?u=o.node.edges[d]:(u=new I.TokenSet,o.node.edges[d]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r<o;r++){var a=e[r],i=r==o-1;if("*"==a)t.edges[a]=t,t.final=i;else{var s=new I.TokenSet;s.final=i,t.edges[a]=s,t=s}}return n},I.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var a=0;a<o;a++){var i=r[a];t.push({prefix:n.prefix.concat(i),node:n.node.edges[i]})}}return e},I.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},I.TokenSet.prototype.intersect=function(e){for(var t=new I.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),a=o.length,i=Object.keys(n.node.edges),s=i.length,l=0;l<a;l++)for(var u=o[l],c=0;c<s;c++){var d=i[c];if(d==u||"*"==u){var f=n.node.edges[d],p=n.qNode.edges[u],h=f.final&&p.final,m=void 0;d in n.output.edges?(m=n.output.edges[d]).final=m.final||h:((m=new I.TokenSet).final=h,n.output.edges[d]=m),r.push({qNode:p,output:m,node:f})}}}return t},I.TokenSet.Builder=function(){this.previousWord="",this.root=new I.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},I.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var o=new I.TokenSet,a=e[r];t.edges[a]=o,this.uncheckedNodes.push({parent:t,char:a,child:o}),t=o}t.final=!0,this.previousWord=e},I.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},I.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),s=0;s<this.fields.length;s++)r[this.fields[s]]=new I.Vector;e.call(t,t);for(s=0;s<t.clauses.length;s++){var l=t.clauses[s],u=null,c=I.Set.empty;u=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var d=0;d<u.length;d++){var f=u[d];l.term=f;var p=I.TokenSet.fromClause(l),h=this.tokenSet.intersect(p).toArray();if(0===h.length&&l.presence===I.Query.presence.REQUIRED){for(var m=0;m<l.fields.length;m++){a[R=l.fields[m]]=I.Set.empty}break}for(var g=0;g<h.length;g++){var y=h[g],b=this.invertedIndex[y],v=b._index;for(m=0;m<l.fields.length;m++){var w=b[R=l.fields[m]],k=Object.keys(w),x=y+"/"+R,S=new I.Set(k);if(l.presence==I.Query.presence.REQUIRED&&(c=c.union(S),void 0===a[R]&&(a[R]=I.Set.complete)),l.presence!=I.Query.presence.PROHIBITED){if(r[R].upsert(v,l.boost,(function(e,t){return e+t})),!o[x]){for(var E=0;E<k.length;E++){var C,_=k[E],T=new I.FieldRef(_,R),N=w[_];void 0===(C=n[T])?n[T]=new I.MatchData(y,R,N):C.add(y,R,N)}o[x]=!0}}else void 0===i[R]&&(i[R]=I.Set.empty),i[R]=i[R].union(S)}}}if(l.presence===I.Query.presence.REQUIRED)for(m=0;m<l.fields.length;m++){a[R=l.fields[m]]=a[R].intersect(c)}}var L=I.Set.complete,j=I.Set.empty;for(s=0;s<this.fields.length;s++){var R;a[R=this.fields[s]]&&(L=L.intersect(a[R])),i[R]&&(j=j.union(i[R]))}var A=Object.keys(n),P=[],O=Object.create(null);if(t.isNegated()){A=Object.keys(this.fieldVectors);for(s=0;s<A.length;s++){T=A[s];var D=I.FieldRef.fromString(T);n[T]=new I.MatchData}}for(s=0;s<A.length;s++){var z=(D=I.FieldRef.fromString(A[s])).docRef;if(L.contains(z)&&!j.contains(z)){var F,M=this.fieldVectors[D],B=r[D.fieldName].similarity(M);if(void 0!==(F=O[z]))F.score+=B,F.matchData.combine(n[D]);else{var U={ref:z,score:B,matchData:n[D]};O[z]=U,P.push(U)}}}return P.sort((function(e,t){return t.score-e.score}))},I.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:I.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},I.Index.load=function(e){var t={},n={},r=e.fieldVectors,o=Object.create(null),a=e.invertedIndex,i=new I.TokenSet.Builder,s=I.Pipeline.load(e.pipeline);e.version!=I.version&&I.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+I.version+"' does not match serialized index '"+e.version+"'");for(var l=0;l<r.length;l++){var u=(d=r[l])[0],c=d[1];n[u]=new I.Vector(c)}for(l=0;l<a.length;l++){var d,f=(d=a[l])[0],p=d[1];i.insert(f),o[f]=p}return i.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=i.root,t.pipeline=s,new I.Index(t)},I.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=I.tokenizer,this.pipeline=new I.Pipeline,this.searchPipeline=new I.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},I.Builder.prototype.ref=function(e){this._ref=e},I.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},I.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o<r.length;o++){var a=r[o],i=this._fields[a].extractor,s=i?i(e):e[a],l=this.tokenizer(s,{fields:[a]}),u=this.pipeline.run(l),c=new I.FieldRef(n,a),d=Object.create(null);this.fieldTermFrequencies[c]=d,this.fieldLengths[c]=0,this.fieldLengths[c]+=u.length;for(var f=0;f<u.length;f++){var p=u[f];if(null==d[p]&&(d[p]=0),d[p]+=1,null==this.invertedIndex[p]){var h=Object.create(null);h._index=this.termIndex,this.termIndex+=1;for(var m=0;m<r.length;m++)h[r[m]]=Object.create(null);this.invertedIndex[p]=h}null==this.invertedIndex[p][a][n]&&(this.invertedIndex[p][a][n]=Object.create(null));for(var g=0;g<this.metadataWhitelist.length;g++){var y=this.metadataWhitelist[g],b=p.metadata[y];null==this.invertedIndex[p][a][n][y]&&(this.invertedIndex[p][a][n][y]=[]),this.invertedIndex[p][a][n][y].push(b)}}}},I.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var a=I.FieldRef.fromString(e[o]),i=a.fieldName;r[i]||(r[i]=0),r[i]+=1,n[i]||(n[i]=0),n[i]+=this.fieldLengths[a]}var s=Object.keys(this._fields);for(o=0;o<s.length;o++){var l=s[o];n[l]=n[l]/r[l]}this.averageFieldLength=n},I.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var a=I.FieldRef.fromString(t[o]),i=a.fieldName,s=this.fieldLengths[a],l=new I.Vector,u=this.fieldTermFrequencies[a],c=Object.keys(u),d=c.length,f=this._fields[i].boost||1,p=this._documents[a.docRef].boost||1,h=0;h<d;h++){var m,g,y,b=c[h],v=u[b],w=this.invertedIndex[b]._index;void 0===r[b]?(m=I.idf(this.invertedIndex[b],this.documentCount),r[b]=m):m=r[b],g=m*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(s/this.averageFieldLength[i]))+v),g*=f,g*=p,y=Math.round(1e3*g)/1e3,l.insert(w,y)}e[a]=l}this.fieldVectors=e},I.Builder.prototype.createTokenSet=function(){this.tokenSet=I.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},I.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new I.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},I.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},I.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n||{}),a=0;a<o.length;a++){var i=o[a];r[i]=n[i].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},I.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var a=0;a<o.length;a++){var i=o[a],s=Object.keys(e.metadata[r][i]);null==this.metadata[r][i]&&(this.metadata[r][i]=Object.create(null));for(var l=0;l<s.length;l++){var u=s[l];null==this.metadata[r][i][u]?this.metadata[r][i][u]=e.metadata[r][i][u]:this.metadata[r][i][u]=this.metadata[r][i][u].concat(e.metadata[r][i][u])}}}},I.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o];a in this.metadata[e][t]?this.metadata[e][t][a]=this.metadata[e][t][a].concat(n[a]):this.metadata[e][t][a]=n[a]}else this.metadata[e][t]=n},I.Query=function(e){this.clauses=[],this.allFields=e},I.Query.wildcard=new String("*"),I.Query.wildcard.NONE=0,I.Query.wildcard.LEADING=1,I.Query.wildcard.TRAILING=2,I.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},I.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=I.Query.wildcard.NONE),e.wildcard&I.Query.wildcard.LEADING&&e.term.charAt(0)!=I.Query.wildcard&&(e.term="*"+e.term),e.wildcard&I.Query.wildcard.TRAILING&&e.term.slice(-1)!=I.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=I.Query.presence.OPTIONAL),this.clauses.push(e),this},I.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=I.Query.presence.PROHIBITED)return!1;return!0},I.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,I.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},I.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},I.QueryParseError.prototype=new Error,I.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},I.QueryLexer.prototype.run=function(){for(var e=I.QueryLexer.lexText;e;)e=e(this)},I.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},I.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},I.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},I.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos<this.length},I.QueryLexer.EOS="EOS",I.QueryLexer.FIELD="FIELD",I.QueryLexer.TERM="TERM",I.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",I.QueryLexer.BOOST="BOOST",I.QueryLexer.PRESENCE="PRESENCE",I.QueryLexer.lexField=function(e){return e.backup(),e.emit(I.QueryLexer.FIELD),e.ignore(),I.QueryLexer.lexText},I.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new I.QueryParseError(n,t.start,t.end)}switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new I.QueryParseError(r,t.start,t.end)}if(o.type===I.QueryLexer.TERM)return I.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return I})?r.call(t,n,t,e):r)||(e.exports=o)}()},7179:function(e){e.exports=function(){"use strict";var e="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},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=a}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(a){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,a=null,i=function i(){if(!o){o=!0,clearTimeout(a);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var o=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);var u=function(){--s<=0&&a(l)};s||u(),i.forEach((function(t){e.matches(t,o.exclude)?u():o.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),u()}),u)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,a=!1;return r.forEach((function(e,t){e.val===n&&(o=t,a=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==o||a?!1===o||a||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach((function(e){e.handled||o.getIframeContents(e.val,(function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var a=this,i=this.createIterator(t,e,r),s=[],l=[],u=void 0,c=void 0,d=function(){var e=a.getIteratorNode(i);return c=e.prevNode,u=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return a.checkIframeFilter(u,c,e,s)}),(function(t){a.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),r)})),l.push(u);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),o()}},{key:"forEachNode",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=this.getContexts(),i=a.length;i||o(),a.forEach((function(a){var s=function(){r.iterateThroughNodes(e,a,t,n,(function(){--i<=0&&o()}))};r.iframes?r.waitForIframes(a,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var o=!1;return n.every((function(t){return!r.call(e,t)||(o=!0,!1)})),o}return!1}}]),e}(),a=function(){function a(e){t(this,a),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(a,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(o){n.every((function(n){if(-1!==n.indexOf(o)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,o="string"==typeof r?r:r.value,a="string"==typeof r?[]:r.limiters,i="";switch(a.forEach((function(e){i+="|"+t.escapeStr(e)})),o){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var o=t.callNoMatchOnInvalidRanges(e,r),a=o.start,i=o.end;o.valid&&(e.start=a,e.length=i-a,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,o=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?o=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:o}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,o=!0,a=n.length,i=t-a,s=parseInt(e.start,10)-i;return(r=(s=s>a?a:s)+parseInt(e.length,10))>a&&(r=a,this.log("End range automatically set to the max value of "+a)),s<0||r-s<0||s>a||r>a?(o=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(o=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:o}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return o.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",o=e.splitText(t),a=o.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=o.textContent,o.parentNode.replaceChild(i,o),a}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,o){var a=this;e.nodes.every((function(i,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=a.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=c),e.nodes[n].end-=c)})),n-=c,o(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var o=void 0;null!==(o=e.exec(t.textContent))&&""!==o[i];)if(n(o[i],t)){var s=o.index;if(0!==i)for(var l=1;l<i;l++)s+=o[l].length;t=a.wrapRangeInTextNode(t,s,s+o[i].length),r(t.previousSibling),e.lastIndex=0}})),o()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[i];){var l=s.index;if(0!==i)for(var u=1;u<i;u++)l+=s[u].length;var c=l+s[i].length;a.wrapRangeInMappedTextNode(t,l,c,(function(e){return n(s[i],e)}),(function(t,n){e.lastIndex=n,r(t)}))}o()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var o=this;this.getTextNodes((function(a){var i=a.value.length;e.forEach((function(e,r){var s=o.checkWhitespaceRanges(e,i,a.value),l=s.start,u=s.end;s.valid&&o.wrapRangeInMappedTextNode(a,l,u,(function(n){return t(n,e,a.value.substring(l,u),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,o="wrapMatches",a=function(e){r++,n.opt.each(e)};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),this[o](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),a,(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,o="wrapMatches",a=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=a.keywords,s=a.length,l=this.opt.caseSensitive?"":"i",u=function e(t){var a=new RegExp(n.createRegExp(t),"gm"+l),u=0;n.log('Searching with expression "'+a+'"'),n[o](a,1,(function(e,o){return n.opt.filter(o,t,r,u)}),(function(e){u++,r++,n.opt.each(e)}),(function(){0===u&&n.opt.noMatch(t),i[s-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),0===s?this.opt.done(r):u(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,o=this.checkRanges(e);o&&o.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(o)),this.wrapRangeFromIndex(o,(function(e,t,r,o){return n.opt.filter(e,t,r,o)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=o.matches(e,n),a=t.matchesExclude(e);return!r||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new o(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),a}();function i(e){var t=this,n=new a(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}return i}()},2130:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,i(e,c,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},7837:function(e,t,n){var r=n(8161);e.exports=p,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,s="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],m=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=m&&null!=h&&h!==m,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:g||a++,prefix:m||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var a="",s=t||{},l=(o||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=s[c.name];if(null==f){if(c.optional){c.partial&&(a+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');a+=c.prefix+d}}else a+=c}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",s=0;s<e.length;s++){var u=e[s];if("string"==typeof u)i+=l(u);else{var f=l(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),m=i.slice(-h.length)===h;return o||(i=(m?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":o&&m?"":"(?="+h+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(a(e,n),t,n)}(e,t,n)}},1875:function(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2570:function(e,t,n){const r=n(1875),o=n(9246),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(4453).resolve(t)],delete Prism.languages[e],n(4453)(t),a.add(e)}))}i.silent=!1,e.exports=i},4266:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(o>=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),h=f.indexOf(p);if(h>-1){++o;var m=f.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),b=[];m&&b.push.apply(b,i([m])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?s.splice.apply(s,[l,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(Prism)},4453:function(e,t,n){var r={"./":2570};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=4453},9246:function(e){"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function o(r,a){if(!(r in n)){a.push(r);var i=a.indexOf(r);if(i<a.length-1)throw new Error("Circular dependency: "+a.slice(i).join(" -> "));var s={},l=e[r];if(l){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in o(t,a),s[t]=!0,n[t])s[i]=!0}t(l.require,u),t(l.optional,u),t(l.modify,u)}n[r]=s,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(l);i=i.map(u),s=(s||[]).map(u);var c=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(l),h=c;o(h);){for(var m in f={},h){var g=l[m];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in p(y))if(b in c){f[y]=!0;break}for(var v in h=f)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,s={},l={};function u(e){if(e in s)return s[e];l[e]=!0;var o,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)o=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete l[e],t})));a?o=a(f,(function(){return r(e)})):r(e)}return s[e]=o}for(var c in n)u(c);var d=[];for(var f in l)d.push(s[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},4404:function(e,t,n){"use strict";var r=n(1986);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5401:function(e,t,n){e.exports=n(4404)()},1986:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2227:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!a(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],i[u[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},7959:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},3585:function(e,t,n){"use strict";e.exports=n(7959)},3407:function(e,t,n){"use strict";var r=n(3900),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},5674:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,m(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:s,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function L(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===a?"."+N(l,0):a,k(i)?(o="",null!=e&&(o=e.replace(T,"$&/")+"/"),L(i,t,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(l=0,a=""===a?".":a+":",k(e))for(var u=0;u<e.length;u++){var c=a+N(s=e[u],u);l+=L(s,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=L(s=s.value,t,o,c=a+N(s,u++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],o=0;return L(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},P={transition:null},O={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=v,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.2.0"},3900:function(e,t,n){"use strict";e.exports=n(5674)},966:function(e,t,n){"use strict";e.exports=n(3407)},1107:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<o&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,P(x);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,b(_),_=-1),h=!0;var a=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!L());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&O(k,d.startTime-n),l=!1}return l}finally{f=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,T=5,N=-1;function L(){return!(t.unstable_now()-N<T)}function j(){if(null!==C){var e=t.unstable_now();N=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(j)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,A=R.port2;R.port1.onmessage=j,S=function(){A.postMessage(null)}}else S=function(){y(j,0)};function P(e){C=e,E||(E=!0,S())}function O(e,n){_=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(b(_),_=-1):g=!0,O(k,a-i))):(e.sortIndex=s,n(u,e),m||h||(m=!0,P(x))),e},t.unstable_shouldYield=L,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4179:function(e,t,n){"use strict";e.exports=n(1107)},9494:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var u=a[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},3546:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t;throw new Error(n?o+": "+n:o)}}},8334:function(e,t,n){"use strict";n.d(t,{p1:function(){return T},y$:function(){return ee}});var r,o,a,i,s,l,u,c=n(3900),d=n(7515),f=Object.create,p=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>h(e,g(t)),C=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=a[s])}var u=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var l=t[s],u=r.util.type(l);"Object"!==u||a[i(l)]?"Array"!==u||a[i(l)]||(a[i(l)]=!0,e(l,n,s,a)):(a[i(l)]=!0,e(l,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,s,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],g=m.inside,y=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var k=m.pattern||m,x=s.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(b){if(!(C=a(k,S,e,y))||C.index>=e.length)break;var T=C.index,N=C.index+C[0].length,L=S;for(L+=x.value.length;T>=L;)L+=(x=x.next).value.length;if(S=L-=x.value.length,x.value instanceof o)continue;for(var j=x;j!==t.tail&&(L<N||"string"==typeof j.value);j=j.next)_++,L+=j.value.length;_--,E=e.slice(S,L),C.index-=S}else if(!(C=a(k,0,E,y)))continue;T=C.index;var R=C[0],A=E.slice(0,T),P=E.slice(T+R.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var I=x.prev;if(A&&(I=l(t,I,A),S+=A.length),u(t,I,_),x=l(t,I,new o(f,g?r.tokenize(R,g):R,v,R)),P&&l(t,x,P),_>1){var D={cause:f+","+h,reach:O};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return o||(0,r[y(r)[0]])((o={exports:{}}).exports,o),o.exports}),T=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of y(t))w.call(e,o)||o===n||p(e,o,{get:()=>t[o],enumerable:!(r=m(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(_());a=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var a=f(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),o.push(i.content))}n=a+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),0<o.length)){var s=f(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var u=t[l];"variable"===u.type&&0<=o.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),u=0,c={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var a=0;a<n.length;a++){if(u>=d.length)return;var i,l,f,p,h,m,g,y=n[a];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(i))&&(++u,l=m.substring(0,g),h=c[i],f=void 0,(p={})["interpolation-punctuation"]=o,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,s(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=m.substring(g+i.length),h=[],l&&h.push(l),h.push(f),p&&(t(m=[p]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[a,1].concat(h)),a+=h.length-1):y.content=h)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,s,u=n[r];"string"!=typeof u&&(a=u.content,Array.isArray(a)?"template-string"===u.type?(u=a[1],3===a.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,s=e.languages[u])&&(a[1]=l(i,s,u))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=s(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=s(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T);((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>N,duotoneDark:()=>L,duotoneLight:()=>j,github:()=>R,jettwaveDark:()=>H,jettwaveLight:()=>Q,nightOwl:()=>A,nightOwlLight:()=>P,oceanicNext:()=>D,okaidia:()=>z,oneDark:()=>W,oneLight:()=>Z,palenight:()=>F,shadesOfPurple:()=>M,synthwave84:()=>B,ultramin:()=>U,vsDark:()=>$,vsLight:()=>q});var N={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},L={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"}}]},j={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},R={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},A={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},P={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},z={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},M={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},U={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},q={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Q={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},Z={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},V=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),o);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},G=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,u=t[i];const c=n[i][a];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=Y(u,c.type),c.alias&&(u=Y(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(G),f=d.length;s.push({types:u,content:d[0]});for(let t=1;t<f;t++)K(s),l.push(s=[]),s.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return K(s),l},J=({children:e,language:t,code:n,theme:r,prism:o})=>{const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(V(t,e)),o=(0,c.useRef)(),a=(0,c.useRef)();return(0,c.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(V(t,e)))}),[e,t]),n})(a,r),s=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=C(n,["className","style","line"]);const s=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=S(S({},s.style||{}),o)),s}),[e]))(i),l=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=C(n,["token","className","style"]);const s=E(S({},i),{className:(0,d.Z)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(s.style=S(S({},s.style||{}),a)),s}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:u,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},922:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},7535:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},1360:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},6809:function(e,t,n){"use strict";n.r(t),t.default={title:"Docusaurus Search",tagline:"An offline/local search example using @easyops-cn/docusaurus-search-local",url:"https://easyops-cn.github.io",baseUrl:"/docusaurus-search-local/zh-CN/",onBrokenLinks:"throw",favicon:"img/favicon.ico",organizationName:"easyops-cn",projectName:"docusaurus-search-local",i18n:{defaultLocale:"en",locales:["en","zh-CN","zh-TW"],path:"i18n",localeConfigs:{}},themeConfig:{navbar:{title:"Docusaurus Search",logo:{alt:"My Site Logo",src:"img/logo.svg"},items:[{to:"docs/",activeBasePath:"docs",label:"Docs",position:"left"},{to:"blog",label:"Blog",position:"left"},{href:"https://github.com/easyops-cn/docusaurus-search-local",label:"GitHub",position:"right"},{type:"localeDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]},{type:"docsVersionDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Style Guide",to:"docs/"},{label:"Second Doc",to:"docs/doc2/"}]},{title:"Community",items:[{label:"Stack Overflow",href:"https://stackoverflow.com/questions/tagged/docusaurus"},{label:"Discord",href:"https://discordapp.com/invite/docusaurus"},{label:"Twitter",href:"https://twitter.com/docusaurus"}]},{title:"More",items:[{label:"Blog",to:"blog"},{label:"GitHub",href:"https://github.com/easyops-cn/docusaurus-search-local"}]}],copyright:"Copyright \xa9 2024 My Project, Inc. Built with Docusaurus."},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],prism:{additionalLanguages:[],theme:{plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/sidebars.js",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},blog:{showReadingTime:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},theme:{customCss:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/src/css/custom.css"}}]],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en","zh"],highlightSearchTermsOnTargetPage:!0,explicitSearchResultPath:!0}]],baseUrlIssueBanner:!0,onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7529:function(e){"use strict";e.exports=JSON.parse('{"theme.AnnouncementBar.closeButtonAriaLabel":"\u5173\u95ed","theme.BackToTopButton.buttonAriaLabel":"\u56de\u5230\u9876\u90e8","theme.CodeBlock.copied":"\u590d\u5236\u6210\u529f","theme.CodeBlock.copy":"\u590d\u5236","theme.CodeBlock.copyButtonAriaLabel":"\u590d\u5236\u4ee3\u7801\u5230\u526a\u8d34\u677f","theme.CodeBlock.wordWrapToggle":"\u5207\u6362\u81ea\u52a8\u6362\u884c","theme.DocSidebarItem.collapseCategoryAriaLabel":"\u6298\u53e0\u4fa7\u8fb9\u680f\u5206\u7c7b \'{label}\'","theme.DocSidebarItem.expandCategoryAriaLabel":"\u5c55\u5f00\u4fa7\u8fb9\u680f\u5206\u7c7b \'{label}\'","theme.ErrorPageContent.title":"\u9875\u9762\u5df2\u5d29\u6e83\u3002","theme.ErrorPageContent.tryAgain":"\u91cd\u8bd5","theme.NavBar.navAriaLabel":"\u4e3b\u5bfc\u822a","theme.NotFound.p1":"\u6211\u4eec\u627e\u4e0d\u5230\u60a8\u8981\u627e\u7684\u9875\u9762\u3002","theme.NotFound.p2":"\u8bf7\u8054\u7cfb\u539f\u59cb\u94fe\u63a5\u6765\u6e90\u7f51\u7ad9\u7684\u6240\u6709\u8005\uff0c\u5e76\u544a\u77e5\u4ed6\u4eec\u94fe\u63a5\u5df2\u635f\u574f\u3002","theme.NotFound.title":"\u627e\u4e0d\u5230\u9875\u9762","theme.TOCCollapsible.toggleButtonLabel":"\u672c\u9875\u603b\u89c8","theme.admonition.caution":"\u8b66\u544a","theme.admonition.danger":"\u5371\u9669","theme.admonition.info":"\u4fe1\u606f","theme.admonition.note":"\u5907\u6ce8","theme.admonition.tip":"\u63d0\u793a","theme.admonition.warning":"\u6ce8\u610f","theme.blog.archive.description":"\u5386\u53f2\u535a\u6587","theme.blog.archive.title":"\u5386\u53f2\u535a\u6587","theme.blog.paginator.navAriaLabel":"\u535a\u6587\u5217\u8868\u5206\u9875\u5bfc\u822a","theme.blog.paginator.newerEntries":"\u8f83\u65b0\u7684\u535a\u6587","theme.blog.paginator.olderEntries":"\u8f83\u65e7\u7684\u535a\u6587","theme.blog.post.paginator.navAriaLabel":"\u535a\u6587\u5206\u9875\u5bfc\u822a","theme.blog.post.paginator.newerPost":"\u8f83\u65b0\u4e00\u7bc7","theme.blog.post.paginator.olderPost":"\u8f83\u65e7\u4e00\u7bc7","theme.blog.post.plurals":"{count} \u7bc7\u535a\u6587","theme.blog.post.readMore":"\u9605\u8bfb\u66f4\u591a","theme.blog.post.readMoreLabel":"\u9605\u8bfb {title} \u7684\u5168\u6587","theme.blog.post.readingTime.plurals":"\u9605\u8bfb\u9700 {readingTime} \u5206\u949f","theme.blog.sidebar.navAriaLabel":"\u6700\u8fd1\u535a\u6587\u5bfc\u822a","theme.blog.tagTitle":"{nPosts} \u542b\u6709\u6807\u7b7e\u300c{tagName}\u300d","theme.colorToggle.ariaLabel":"\u5207\u6362\u6d45\u8272/\u6697\u9ed1\u6a21\u5f0f\uff08\u5f53\u524d\u4e3a{mode}\uff09","theme.colorToggle.ariaLabel.mode.dark":"\u6697\u9ed1\u6a21\u5f0f","theme.colorToggle.ariaLabel.mode.light":"\u6d45\u8272\u6a21\u5f0f","theme.common.editThisPage":"\u7f16\u8f91\u6b64\u9875","theme.common.headingLinkTitle":"{heading}\u7684\u76f4\u63a5\u94fe\u63a5","theme.common.skipToMainContent":"\u8df3\u5230\u4e3b\u8981\u5185\u5bb9","theme.docs.DocCard.categoryDescription":"{count} \u4e2a\u9879\u76ee","theme.docs.breadcrumbs.home":"\u4e3b\u9875\u9762","theme.docs.breadcrumbs.navAriaLabel":"\u9875\u9762\u8def\u5f84","theme.docs.paginator.navAriaLabel":"\u6587\u4ef6\u9009\u9879\u5361","theme.docs.paginator.next":"\u4e0b\u4e00\u9875","theme.docs.paginator.previous":"\u4e0a\u4e00\u9875","theme.docs.sidebar.closeSidebarButtonAriaLabel":"\u5173\u95ed\u5bfc\u822a\u680f","theme.docs.sidebar.collapseButtonAriaLabel":"\u6536\u8d77\u4fa7\u8fb9\u680f","theme.docs.sidebar.collapseButtonTitle":"\u6536\u8d77\u4fa7\u8fb9\u680f","theme.docs.sidebar.expandButtonAriaLabel":"\u5c55\u5f00\u4fa7\u8fb9\u680f","theme.docs.sidebar.expandButtonTitle":"\u5c55\u5f00\u4fa7\u8fb9\u680f","theme.docs.sidebar.navAriaLabel":"\u6587\u6863\u4fa7\u8fb9\u680f","theme.docs.sidebar.toggleSidebarButtonAriaLabel":"\u5207\u6362\u5bfc\u822a\u680f","theme.docs.tagDocListPageTitle":"{nDocsTagged}\u300c{tagName}\u300d","theme.docs.tagDocListPageTitle.nDocsTagged":"{count} \u7bc7\u6587\u6863\u5e26\u6709\u6807\u7b7e","theme.docs.versionBadge.label":"\u7248\u672c\uff1a{versionLabel}","theme.docs.versions.latestVersionLinkLabel":"\u6700\u65b0\u7248\u672c","theme.docs.versions.latestVersionSuggestionLabel":"\u6700\u65b0\u7684\u6587\u6863\u8bf7\u53c2\u9605 {latestVersionLink} ({versionLabel})\u3002","theme.docs.versions.unmaintainedVersionLabel":"\u6b64\u4e3a {siteTitle} {versionLabel} \u7248\u7684\u6587\u6863\uff0c\u73b0\u5df2\u4e0d\u518d\u79ef\u6781\u7ef4\u62a4\u3002","theme.docs.versions.unreleasedVersionLabel":"\u6b64\u4e3a {siteTitle} {versionLabel} \u7248\u5c1a\u672a\u53d1\u884c\u7684\u6587\u6863\u3002","theme.lastUpdated.atDate":"\u4e8e {date} ","theme.lastUpdated.byUser":"\u7531 {user} ","theme.lastUpdated.lastUpdatedAtBy":"\u6700\u540e{byUser}{atDate}\u66f4\u65b0","theme.navbar.mobileLanguageDropdown.label":"\u9009\u62e9\u8bed\u8a00","theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel":"\u2190 \u56de\u5230\u4e3b\u83dc\u5355","theme.navbar.mobileVersionsDropdown.label":"\u9009\u62e9\u7248\u672c","theme.tags.tagsListLabel":"\u6807\u7b7e\uff1a","theme.tags.tagsPageLink":"\u67e5\u770b\u6240\u6709\u6807\u7b7e","theme.tags.tagsPageTitle":"\u6807\u7b7e","theme.unlistedContent.message":"\u6b64\u9875\u9762\u672a\u5217\u51fa\u3002\u641c\u7d22\u5f15\u64ce\u4e0d\u4f1a\u5bf9\u5176\u7d22\u5f15\uff0c\u53ea\u6709\u62e5\u6709\u76f4\u63a5\u94fe\u63a5\u7684\u7528\u6237\u624d\u80fd\u8bbf\u95ee\u3002","theme.unlistedContent.title":"\u672a\u5217\u51fa\u9875","theme.SearchBar.label":"\u641c\u7d22","theme.SearchBar.seeAll":"\u67e5\u770b\u5168\u90e8\u7ed3\u679c","theme.SearchBar.noResultsText":"\u6ca1\u6709\u627e\u5230\u4efb\u4f55\u6587\u6863","theme.SearchPage.existingResultsTitle":"\u201c{query}\u201d \u7684\u641c\u7d22\u7ed3\u679c","theme.SearchPage.emptyResultsTitle":"\u641c\u7d22\u6587\u6863","theme.SearchPage.documentsFound.plurals":"\u5171\u627e\u5230 {count} \u7bc7\u6587\u6863","theme.SearchPage.noResultsText":"\u6ca1\u6709\u627e\u5230\u4efb\u4f55\u6587\u6863"}')},6887:function(e){"use strict";e.exports=JSON.parse('{"/docusaurus-search-local/zh-CN/blog-9de":{"__comp":"a6aa9e1f","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"807d5d2d"},{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"metadata":"7e48212f"},"/docusaurus-search-local/zh-CN/blog/archive-bfc":{"__comp":"9e4087bc","__context":{"plugin":"d3609805"},"archive":"1b07edf5"},"/docusaurus-search-local/zh-CN/blog/hello-world-fd8":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"d610846f"},"/docusaurus-search-local/zh-CN/blog/hola-6bf":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"bdd709f1"},"/docusaurus-search-local/zh-CN/blog/tags-1cc":{"__comp":"01a85c17","__context":{"plugin":"d3609805"},"sidebar":"814f3328","tags":"2f7d3f5d"},"/docusaurus-search-local/zh-CN/blog/tags/docusaurus-69c":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"tag":"2c35b12a","listMetadata":"51ef9f3a"},"/docusaurus-search-local/zh-CN/blog/tags/facebook-b2f":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"}],"tag":"373b13ca","listMetadata":"6a5dca13"},"/docusaurus-search-local/zh-CN/blog/tags/hello-e03":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"}],"tag":"d3050785","listMetadata":"e7f5e6d2"},"/docusaurus-search-local/zh-CN/blog/tags/hola-352":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"8e9f0a8a"}],"tag":"4712f575","listMetadata":"a28e235d"},"/docusaurus-search-local/zh-CN/blog/welcome-108":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"2868cdab"},"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests-634":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"3a35335b"},"/docusaurus-search-local/zh-CN/search-c55":{"__comp":"1a4e3797","__context":{"plugin":"1cbf0e34"}},"/docusaurus-search-local/zh-CN/docs-f0c":{"__comp":"5e95c892","__context":{"plugin":"6b3775fa"}},"/docusaurus-search-local/zh-CN/docs/next-b49":{"__comp":"a7bd4aaa","version":"935f2afb"},"/docusaurus-search-local/zh-CN/docs/next/tags-345":{"__comp":"3720c009","tags":"55960ee5"},"/docusaurus-search-local/zh-CN/docs/next/tags/front-matter-d63":{"__comp":"df203c0f","tag":"15687378"},"/docusaurus-search-local/zh-CN/docs/next/tags/keywords-baf":{"__comp":"df203c0f","tag":"2d4a562c"},"/docusaurus-search-local/zh-CN/docs/next/tags/test-34b":{"__comp":"df203c0f","tag":"96ea474a"},"/docusaurus-search-local/zh-CN/docs/next-828":{"__comp":"a94703ab"},"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basics-5dd":{"__comp":"14eb3368","categoryGeneratedIndex":"de32078f"},"/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extras-c1c":{"__comp":"14eb3368","categoryGeneratedIndex":"a8f004d7"},"/docusaurus-search-local/zh-CN/docs/next/intro-348":{"__comp":"17896441","content":"0e384e19"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations-a05":{"__comp":"17896441","content":"822bd8ab"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post-b08":{"__comp":"17896441","content":"533a09ca"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document-43e":{"__comp":"17896441","content":"1e4232ab"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page-e02":{"__comp":"17896441","content":"5c868d36"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site-3b0":{"__comp":"17896441","content":"f55d3e7a"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features-8bd":{"__comp":"17896441","content":"18c41134"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions-bce":{"__comp":"17896441","content":"dff1c289"},"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site-585":{"__comp":"17896441","content":"e44a2883"},"/docusaurus-search-local/zh-CN/docs/next/unlisted-post-bc0":{"__comp":"17896441","content":"337aaa52"},"/docusaurus-search-local/zh-CN/docs-2f4":{"__comp":"a7bd4aaa","version":"62e81aa6"},"/docusaurus-search-local/zh-CN/docs-602":{"__comp":"a94703ab"},"/docusaurus-search-local/zh-CN/docs/-e29":{"__comp":"17896441","content":"f054516d"},"/docusaurus-search-local/zh-CN/docs/doc-in-pt-d61":{"__comp":"17896441","content":"c7798012"},"/docusaurus-search-local/zh-CN/docs/doc2-5eb":{"__comp":"17896441","content":"55526312"},"/docusaurus-search-local/zh-CN/docs/doc3-a4f":{"__comp":"17896441","content":"1a4922cc"},"/docusaurus-search-local/zh-CN/docs/mdx-989":{"__comp":"17896441","content":"269baefd"},"/docusaurus-search-local/zh-CN/-a0c":{"__comp":"c4f5d8e4","__context":{"plugin":"7acd0c93"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,[532],(function(){return t=773,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/zh-CN/assets/js/main.62909379.js.LICENSE.txt b/zh-CN/assets/js/main.62909379.js.LICENSE.txt new file mode 100644 index 00000000..89312577 --- /dev/null +++ b/zh-CN/assets/js/main.62909379.js.LICENSE.txt @@ -0,0 +1,142 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ + +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ + +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/zh-CN/assets/js/runtime~main.97ca641a.js b/zh-CN/assets/js/runtime~main.97ca641a.js new file mode 100644 index 00000000..f89dfe2d --- /dev/null +++ b/zh-CN/assets/js/runtime~main.97ca641a.js @@ -0,0 +1 @@ +!function(){"use strict";var e,a,t,f,c,n={},r={};function d(e){var a=r[e];if(void 0!==a)return a.exports;var t=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,d),t.loaded=!0,t.exports}d.m=n,d.c=r,e=[],d.O=function(a,t,f,c){if(!t){var n=1/0;for(i=0;i<e.length;i++){t=e[i][0],f=e[i][1],c=e[i][2];for(var r=!0,o=0;o<t.length;o++)(!1&c||n>=c)&&Object.keys(d.O).every((function(e){return d.O[e](t[o])}))?t.splice(o--,1):(r=!1,c<n&&(n=c));if(r){e.splice(i--,1);var u=f();void 0!==u&&(a=u)}}return a}c=c||0;for(var i=e.length;i>0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[t,f,c]},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,{a:a}),a},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);d.r(c);var n={};a=a||[null,t({}),t([]),t(t)];for(var r=2&f&&e;"object"==typeof r&&!~a.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((function(a){n[a]=function(){return e[a]}}));return n.default=function(){return e},d.d(c,n),c},d.d=function(e,a){for(var t in a)d.o(a,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce((function(a,t){return d.f[t](e,a),a}),[]))},d.u=function(e){return"assets/js/"+({53:"935f2afb",1449:"af172acd",1528:"807d5d2d",1771:"f054516d",2535:"814f3328",2576:"2c35b12a",2859:"18c41134",3089:"a6aa9e1f",3125:"7acd0c93",3267:"6a5dca13",3408:"55526312",3608:"9e4087bc",3707:"3570154c",3715:"51ef9f3a",3751:"3720c009",3792:"dff1c289",3853:"de32078f",3982:"a28e235d",4013:"01a85c17",4035:"8e9f0a8a",4061:"2868cdab",4121:"55960ee5",4193:"f55d3e7a",4195:"c4f5d8e4",4368:"a94703ab",4484:"6b3775fa",4607:"533a09ca",4636:"7e48212f",4694:"bdd709f1",4844:"1b07edf5",4854:"337aaa52",4860:"96ea474a",4963:"4712f575",5019:"2f7d3f5d",5045:"d3050785",5322:"3a35335b",5329:"62e81aa6",5560:"c7798012",5589:"5c868d36",6103:"ccc49370",6176:"d610846f",6504:"822bd8ab",6532:"15687378",6755:"e44a2883",6875:"a8f004d7",7195:"1cbf0e34",7918:"17896441",7920:"1a4e3797",8293:"1a4922cc",8309:"e7f5e6d2",8518:"a7bd4aaa",8610:"6875c492",8611:"269baefd",8818:"1e4232ab",8864:"d3609805",9508:"2d4a562c",9661:"5e95c892",9671:"0e384e19",9817:"14eb3368",9924:"df203c0f",9985:"373b13ca"}[e]||e)+"."+{53:"4090d414",1449:"844053d9",1528:"d12b1489",1771:"1950b877",2118:"a37a5fbb",2535:"f3be14a5",2576:"a8069929",2859:"7e7e0bc3",3089:"e31ab401",3125:"9a73f146",3267:"dfafa419",3408:"f23704d4",3608:"395afb6f",3707:"a5477d15",3715:"14525a5d",3751:"696eeede",3792:"8e171b27",3853:"6e5b1bb2",3982:"d75d29cd",4013:"cf6da810",4035:"eb6f47a4",4061:"b634483f",4121:"a07e7829",4193:"0caccb51",4195:"c5786715",4368:"68bf235f",4484:"8589a71f",4607:"00d21cff",4636:"9d389e5e",4694:"842a2dee",4844:"cf26e67a",4854:"46e2bceb",4860:"37be3366",4963:"b4e8dbf1",5019:"b999c3dd",5045:"93738b0c",5130:"49147aff",5322:"8f4f0fbd",5329:"a9d19514",5560:"f7008ca9",5589:"d541f660",5920:"83d9a30f",6103:"3766cae8",6176:"4e434aae",6504:"811b02f5",6532:"c4c5354d",6755:"3b367ae0",6875:"d256b1d0",7024:"b093103e",7195:"209620b2",7918:"2342e34f",7920:"61d2a7de",8133:"a27696f3",8293:"634cbe9d",8309:"f1a8ee00",8518:"aef66c49",8610:"45c8fa40",8611:"37c3e0a6",8818:"e5bd7101",8864:"382f25ff",9508:"a7d6c28d",9661:"18f37c2a",9671:"702aa838",9817:"f3087745",9924:"3452c979",9985:"9ba2b46e"}[e]+".js"},d.miniCssF=function(e){},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f={},c="website:",d.l=function(e,a,t,n){if(f[e])f[e].push(a);else{var r,o;if(void 0!==t)for(var u=document.getElementsByTagName("script"),i=0;i<u.length;i++){var b=u[i];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==c+t){r=b;break}}r||(o=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,d.nc&&r.setAttribute("nonce",d.nc),r.setAttribute("data-webpack",c+t),r.src=e),f[e]=[a];var l=function(a,t){r.onerror=r.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],r.parentNode&&r.parentNode.removeChild(r),c&&c.forEach((function(e){return e(t)})),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/docusaurus-search-local/zh-CN/",d.gca=function(e){return e={15687378:"6532",17896441:"7918",55526312:"3408","935f2afb":"53",af172acd:"1449","807d5d2d":"1528",f054516d:"1771","814f3328":"2535","2c35b12a":"2576","18c41134":"2859",a6aa9e1f:"3089","7acd0c93":"3125","6a5dca13":"3267","9e4087bc":"3608","3570154c":"3707","51ef9f3a":"3715","3720c009":"3751",dff1c289:"3792",de32078f:"3853",a28e235d:"3982","01a85c17":"4013","8e9f0a8a":"4035","2868cdab":"4061","55960ee5":"4121",f55d3e7a:"4193",c4f5d8e4:"4195",a94703ab:"4368","6b3775fa":"4484","533a09ca":"4607","7e48212f":"4636",bdd709f1:"4694","1b07edf5":"4844","337aaa52":"4854","96ea474a":"4860","4712f575":"4963","2f7d3f5d":"5019",d3050785:"5045","3a35335b":"5322","62e81aa6":"5329",c7798012:"5560","5c868d36":"5589",ccc49370:"6103",d610846f:"6176","822bd8ab":"6504",e44a2883:"6755",a8f004d7:"6875","1cbf0e34":"7195","1a4e3797":"7920","1a4922cc":"8293",e7f5e6d2:"8309",a7bd4aaa:"8518","6875c492":"8610","269baefd":"8611","1e4232ab":"8818",d3609805:"8864","2d4a562c":"9508","5e95c892":"9661","0e384e19":"9671","14eb3368":"9817",df203c0f:"9924","373b13ca":"9985"}[e]||e,d.p+d.u(e)},function(){var e={1303:0,532:0};d.f.j=function(a,t){var f=d.o(e,a)?e[a]:void 0;if(0!==f)if(f)t.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise((function(t,c){f=e[a]=[t,c]}));t.push(f[2]=c);var n=d.p+d.u(a),r=new Error;d.l(n,(function(t){if(d.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,f[1](r)}}),"chunk-"+a,a)}},d.O.j=function(a){return 0===e[a]};var a=function(a,t){var f,c,n=t[0],r=t[1],o=t[2],u=0;if(n.some((function(a){return 0!==e[a]}))){for(f in r)d.o(r,f)&&(d.m[f]=r[f]);if(o)var i=o(d)}for(a&&a(t);u<n.length;u++)c=n[u],d.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return d.O(i)},t=self.webpackChunkwebsite=self.webpackChunkwebsite||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))}()}(); \ No newline at end of file diff --git a/zh-CN/blog/archive/index.html b/zh-CN/blog/archive/index.html new file mode 100644 index 00000000..ee66f755 --- /dev/null +++ b/zh-CN/blog/archive/index.html @@ -0,0 +1,14 @@ +<!doctype html> +<html lang="zh-CN" dir="ltr" class="plugin-blog plugin-id-default" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.0.0"> +<title data-rh="true">历史博文 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/blog/atom.xml b/zh-CN/blog/atom.xml new file mode 100644 index 00000000..560ab4d1 --- /dev/null +++ b/zh-CN/blog/atom.xml @@ -0,0 +1,150 @@ + + + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog + Docusaurus Search Blog + 2019-06-15T00:00:00.000Z + https://github.com/jpmonette/feed + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/img/favicon.ico + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests + + 2019-06-15T00:00:00.000Z + +
备注
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+ + Wang Shenwei + https://github.com/weareoutman + +
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/welcome + + 2019-05-30T00:00:00.000Z + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ + Yangshun Tay + https://github.com/yangshun + + + + +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hello-world + + 2019-05-29T00:00:00.000Z + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ + Endilie Yacop Sucipto + https://github.com/endiliey + + + +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hola + + 2019-05-28T00:00:00.000Z + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ + Gao Wei + https://github.com/wgao19 + + + +
+
\ No newline at end of file diff --git a/zh-CN/blog/hello-world/index.html b/zh-CN/blog/hello-world/index.html new file mode 100644 index 00000000..3a83f87f --- /dev/null +++ b/zh-CN/blog/hello-world/index.html @@ -0,0 +1,16 @@ + + + + + +Hello | Docusaurus Search + + + + + +
+ + \ No newline at end of file diff --git a/zh-CN/blog/hola/index.html b/zh-CN/blog/hola/index.html new file mode 100644 index 00000000..79d21abd --- /dev/null +++ b/zh-CN/blog/hola/index.html @@ -0,0 +1,14 @@ + + + + + +Hola | Docusaurus Search + + + + + +

Hola

· 阅读需 1 分钟
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-CN/blog/index.html b/zh-CN/blog/index.html new file mode 100644 index 00000000..3a7ac80c --- /dev/null +++ b/zh-CN/blog/index.html @@ -0,0 +1,97 @@ + + + + + +Blog | Docusaurus Search + + + + + +

· 阅读需 8 分钟
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

· 阅读需 1 分钟
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· 阅读需 1 分钟
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-CN/blog/rss.xml b/zh-CN/blog/rss.xml new file mode 100644 index 00000000..33e96c9e --- /dev/null +++ b/zh-CN/blog/rss.xml @@ -0,0 +1,136 @@ + + + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog + Docusaurus Search Blog + Sat, 15 Jun 2019 00:00:00 GMT + https://validator.w3.org/feed/docs/rss2.html + https://github.com/jpmonette/feed + zh-CN + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests + Sat, 15 Jun 2019 00:00:00 GMT + +
备注
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/welcome + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/welcome + Thu, 30 May 2019 00:00:00 GMT + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ facebook + hello + docusaurus +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hello-world + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hello-world + Wed, 29 May 2019 00:00:00 GMT + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ hello + docusaurus +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hola + https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hola + Tue, 28 May 2019 00:00:00 GMT + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ hola + docusaurus +
+
+
\ No newline at end of file diff --git a/zh-CN/blog/tags/docusaurus/index.html b/zh-CN/blog/tags/docusaurus/index.html new file mode 100644 index 00000000..79f0da0a --- /dev/null +++ b/zh-CN/blog/tags/docusaurus/index.html @@ -0,0 +1,15 @@ + + + + + +3 篇博文 含有标签「docusaurus」 | Docusaurus Search + + + + + +

3 篇博文 含有标签「docusaurus」

查看所有标签

· 阅读需 1 分钟
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· 阅读需 1 分钟
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-CN/blog/tags/facebook/index.html b/zh-CN/blog/tags/facebook/index.html new file mode 100644 index 00000000..b762666f --- /dev/null +++ b/zh-CN/blog/tags/facebook/index.html @@ -0,0 +1,15 @@ + + + + + +1 篇博文 含有标签「facebook」 | Docusaurus Search + + + + + +

1 篇博文 含有标签「facebook」

查看所有标签

· 阅读需 1 分钟
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-CN/blog/tags/hello/index.html b/zh-CN/blog/tags/hello/index.html new file mode 100644 index 00000000..5cd5d5ea --- /dev/null +++ b/zh-CN/blog/tags/hello/index.html @@ -0,0 +1,15 @@ + + + + + +2 篇博文 含有标签「hello」 | Docusaurus Search + + + + + +

2 篇博文 含有标签「hello」

查看所有标签

· 阅读需 1 分钟
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-CN/blog/tags/hola/index.html b/zh-CN/blog/tags/hola/index.html new file mode 100644 index 00000000..c88e44cc --- /dev/null +++ b/zh-CN/blog/tags/hola/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇博文 含有标签「hola」 | Docusaurus Search + + + + + +

1 篇博文 含有标签「hola」

查看所有标签

· 阅读需 1 分钟
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-CN/blog/tags/index.html b/zh-CN/blog/tags/index.html new file mode 100644 index 00000000..c21a71c5 --- /dev/null +++ b/zh-CN/blog/tags/index.html @@ -0,0 +1,14 @@ + + + + + +标签 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/blog/welcome/index.html b/zh-CN/blog/welcome/index.html new file mode 100644 index 00000000..7ed0f17d --- /dev/null +++ b/zh-CN/blog/welcome/index.html @@ -0,0 +1,15 @@ + + + + + +Welcome | Docusaurus Search + + + + + +

Welcome

· 阅读需 1 分钟
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-CN/blog/writing-good-unit-tests/index.html b/zh-CN/blog/writing-good-unit-tests/index.html new file mode 100644 index 00000000..6acf359b --- /dev/null +++ b/zh-CN/blog/writing-good-unit-tests/index.html @@ -0,0 +1,96 @@ + + + + + +编写良好的单元测试 | Docusaurus Search + + + + + +

编写良好的单元测试

· 阅读需 8 分钟
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

+ + \ No newline at end of file diff --git a/zh-CN/docs/doc-in-pt/index.html b/zh-CN/docs/doc-in-pt/index.html new file mode 100644 index 00000000..15dc769d --- /dev/null +++ b/zh-CN/docs/doc-in-pt/index.html @@ -0,0 +1,14 @@ + + + + + +A Document in Portuguese | Docusaurus Search + + + + + +
版本:1.0.0

A Document in Portuguese

A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas"

+ + \ No newline at end of file diff --git a/zh-CN/docs/doc2/index.html b/zh-CN/docs/doc2/index.html new file mode 100644 index 00000000..8cd2db9c --- /dev/null +++ b/zh-CN/docs/doc2/index.html @@ -0,0 +1,14 @@ + + + + + +Document Number 2 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/docs/doc3/index.html b/zh-CN/docs/doc3/index.html new file mode 100644 index 00000000..b875109e --- /dev/null +++ b/zh-CN/docs/doc3/index.html @@ -0,0 +1,18 @@ + + + + + +This is Document Number 3 | Docusaurus Search + + + + + +
版本:1.0.0

This is Document Number 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.

+

Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.

+

Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.

+

Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.

+ + \ No newline at end of file diff --git a/zh-CN/docs/index.html b/zh-CN/docs/index.html new file mode 100644 index 00000000..c1d38c27 --- /dev/null +++ b/zh-CN/docs/index.html @@ -0,0 +1,106 @@ + + + + + +Style Guide | Docusaurus Search + + + + + +
版本:1.0.0

Style Guide

You can write content using GitHub-flavored Markdown syntax.

+

Markdown Syntax

+

To serve as an example page when styling markdown based Docusaurus sites.

+

Headers

+

H1 - Create the best documentation

+

H2 - Create the best documentation

+

H3 - Create the best documentation

+

H4 - Create the best documentation

+
H5 - Create the best documentation
+
H6 - Create the best documentation
+
+

Emphasis

+

Emphasis, aka italics, with asterisks or underscores.

+

Strong emphasis, aka bold, with asterisks or underscores.

+

Combined emphasis with asterisks and underscores.

+

Strikethrough uses two tildes. Scratch this.

+
+

Lists

+
    +
  1. First ordered list item
  2. +
  3. Another item +
      +
    • Unordered sub-list.
    • +
    +
  4. +
  5. Actual numbers don't matter, just that it's a number +
      +
    1. Ordered sub-list
    2. +
    +
  6. +
  7. And another item.
  8. +
+
    +
  • Unordered list can use asterisks
  • +
+
    +
  • Or minuses
  • +
+
    +
  • Or pluses
  • +
+
+ +

I'm an inline-style link

+

I'm an inline-style link with title

+

I'm a reference-style link

+

You can use numbers for reference-style link definitions

+

Or leave it empty and use the link text itself.

+

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example).

+

Some text to show that the reference links can follow later.

+
+

Images

+

Here's our logo (hover to see the title text):

+

Inline-style: alt text

+

Reference-style: alt text

+

Images from any folder can be used by providing path to file. Path should be relative to markdown file.

+

img

+
+

Code

+
var s = "JavaScript syntax highlighting";
alert(s);
+
s = "Python syntax highlighting"
print(s)
+
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
+
function highlightMe() {
console.log("This line can be highlighted!");
}
+
+

Tables

+

Colons can be used to align columns.

+
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1
+

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

+
MarkdownLessPretty
Stillrendersnicely
123
+
+

Blockquotes

+
+

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

+
+

Quote break.

+
+

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

+
+
+

Inline HTML

+
Definition list
Is something people use sometimes.
Markdown in HTML
Does not work very well. Use HTML tags.
+
+

Line Breaks

+

Here's a line for us to start with.

+

This line is separated from the one above by two newlines, so it will be a separate paragraph.

+

This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.

+
+

Admonitions

+
备注

This is a note

+
提示

This is a tip

+
important

This is important

+
警告

This is a caution

+
注意

This is a warning

+ + \ No newline at end of file diff --git a/zh-CN/docs/mdx/index.html b/zh-CN/docs/mdx/index.html new file mode 100644 index 00000000..dbb989d7 --- /dev/null +++ b/zh-CN/docs/mdx/index.html @@ -0,0 +1,17 @@ + + + + + +Powered by MDX | Docusaurus Search + + + + + +
版本:1.0.0

Powered by MDX

You can write JSX and use React components within your Markdown thanks to MDX.

+ +

Docusaurus green and Facebook blue are my favorite colors.

+

I can write Markdown alongside my JSX!

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/category/tutorial---basics/index.html b/zh-CN/docs/next/category/tutorial---basics/index.html new file mode 100644 index 00000000..56c3d1e9 --- /dev/null +++ b/zh-CN/docs/next/category/tutorial---basics/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Basics | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/docs/next/category/tutorial---extras/index.html b/zh-CN/docs/next/category/tutorial---extras/index.html new file mode 100644 index 00000000..62b55b87 --- /dev/null +++ b/zh-CN/docs/next/category/tutorial---extras/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Extras | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/docs/next/intro/index.html b/zh-CN/docs/next/intro/index.html new file mode 100644 index 00000000..97724311 --- /dev/null +++ b/zh-CN/docs/next/intro/index.html @@ -0,0 +1,38 @@ + + + + + +Tutorial Intro | Docusaurus Search + + + + + +
版本:Next

Tutorial Intro

+

Let's discover Docusaurus in less than 5 minutes.

+

Getting Started

+

Get started by creating a new site.

+

Or try Docusaurus immediately with docusaurus.new.

+

What you'll need

+
    +
  • Node.js version 14 or above: +
      +
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
    • +
    +
  • +
+

Generate a new site

+

Generate a new Docusaurus site using the classic template.

+

The classic template will automatically be added to your project after you run the command:

+
npm init docusaurus@latest my-website classic
+

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

+

The command also installs all necessary dependencies you need to run Docusaurus.

+

Start your site

+

Run the development server:

+
cd my-website
npm run start
+

The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

+

The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

+

Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/search-index.json b/zh-CN/docs/next/search-index.json new file mode 100644 index 00000000..87b3e616 --- /dev/null +++ b/zh-CN/docs/next/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":145,"t":"","u":"/docusaurus-search-local/zh-CN/blog/archive","b":["Blog"]},{"i":146,"t":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","b":["Blog"]},{"i":148,"t":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","b":["Blog"]},{"i":150,"t":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","b":["Blog"]},{"i":152,"t":"Tutorial Intro","u":"/docusaurus-search-local/zh-CN/docs/next/intro","b":["Docs"]},{"i":162,"t":"Congratulations!","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","b":["Docs","Tutorial - Basics"]},{"i":166,"t":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","b":["Blog"]},{"i":178,"t":"Create a Document","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","b":["Docs","Tutorial - Basics"]},{"i":184,"t":"Create a Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","b":["Docs","Tutorial - Basics"]},{"i":190,"t":"Create a Blog Post","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","b":["Docs","Tutorial - Basics"]},{"i":194,"t":"Manage Docs Versions","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","b":["Docs","Tutorial - Extras"]},{"i":202,"t":"Deploy your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","b":["Docs","Tutorial - Basics"]},{"i":207,"t":"Markdown Features","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","b":["Docs","Tutorial - Basics"]},{"i":221,"t":"Translate your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","b":["Docs","Tutorial - Extras"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/145",[]],["t/146",[0,2.808]],["t/148",[1,2.808]],["t/150",[2,2.808]],["t/152",[3,2.195,4,2.195]],["t/162",[5,2.808]],["t/166",[6,1.801,7,1.801,8,1.801]],["t/178",[9,1.387,10,2.195]],["t/184",[9,1.387,11,2.195]],["t/190",[9,1.139,12,1.801,13,1.801]],["t/194",[14,1.801,15,1.801,16,1.801]],["t/202",[17,2.195,18,1.708]],["t/207",[19,2.195,20,2.195]],["t/221",[18,1.708,21,2.195]]],"invertedIndex":[["blog",{"_index":12,"t":{"190":{"position":[[9,4]]}}}],["congratul",{"_index":5,"t":{"162":{"position":[[0,15]]}}}],["creat",{"_index":9,"t":{"178":{"position":[[0,6]]},"184":{"position":[[0,6]]},"190":{"position":[[0,6]]}}}],["deploy",{"_index":17,"t":{"202":{"position":[[0,6]]}}}],["doc",{"_index":15,"t":{"194":{"position":[[7,4]]}}}],["document",{"_index":10,"t":{"178":{"position":[[9,8]]}}}],["featur",{"_index":20,"t":{"207":{"position":[[9,8]]}}}],["hello",{"_index":0,"t":{"146":{"position":[[0,5]]}}}],["hola",{"_index":1,"t":{"148":{"position":[[0,4]]}}}],["intro",{"_index":4,"t":{"152":{"position":[[9,5]]}}}],["manag",{"_index":14,"t":{"194":{"position":[[0,6]]}}}],["markdown",{"_index":19,"t":{"207":{"position":[[0,8]]}}}],["page",{"_index":11,"t":{"184":{"position":[[9,4]]}}}],["post",{"_index":13,"t":{"190":{"position":[[14,4]]}}}],["site",{"_index":18,"t":{"202":{"position":[[12,4]]},"221":{"position":[[15,4]]}}}],["translat",{"_index":21,"t":{"221":{"position":[[0,9]]}}}],["tutori",{"_index":3,"t":{"152":{"position":[[0,8]]}}}],["version",{"_index":16,"t":{"194":{"position":[[12,8]]}}}],["welcom",{"_index":2,"t":{"150":{"position":[[0,7]]}}}],["单元测试",{"_index":8,"t":{"166":{"position":[[5,4]]}}}],["编写",{"_index":6,"t":{"166":{"position":[[0,2]]}}}],["良好",{"_index":7,"t":{"166":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":154,"t":"Getting Started","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#getting-started","p":152},{"i":156,"t":"What you'll need","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#what-youll-need","p":152},{"i":158,"t":"Generate a new site","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#generate-a-new-site","p":152},{"i":160,"t":"Start your site","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#start-your-site","p":152},{"i":164,"t":"What's next?","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":162},{"i":168,"t":"基本方法","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#基本方法","p":166},{"i":170,"t":"输入","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输入","p":166},{"i":172,"t":"输出","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输出","p":166},{"i":174,"t":"重构与拆分","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#重构与拆分","p":166},{"i":176,"t":"总结","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#总结","p":166},{"i":180,"t":"Create your first Doc","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":178},{"i":182,"t":"Configure the Sidebar","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":178},{"i":186,"t":"Create your first React Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":184},{"i":188,"t":"Create your first Markdown Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":184},{"i":192,"t":"Create your first Post","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":190},{"i":196,"t":"Create a docs version","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":194},{"i":198,"t":"Add a Version Dropdown","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":194},{"i":200,"t":"Update an existing version","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":194},{"i":204,"t":"Build your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":202},{"i":209,"t":"Front Matter","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":207},{"i":211,"t":"Links","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#links","p":207},{"i":213,"t":"Images","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#images","p":207},{"i":215,"t":"Code Blocks","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":207},{"i":217,"t":"Admonitions","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":207},{"i":219,"t":"MDX and React Components","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":207},{"i":223,"t":"Configure i18n","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":221},{"i":225,"t":"Translate a doc","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":221},{"i":227,"t":"Start your localized site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":221},{"i":229,"t":"Add a Locale Dropdown","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":221},{"i":231,"t":"Build your localized site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":221}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/154",[0,3.182,1,2.292]],["t/156",[2,3.182,3,3.182]],["t/158",[4,2.675,5,2.675,6,1.527]],["t/160",[1,2.292,6,1.817]],["t/164",[7,3.182,8,3.182]],["t/168",[9,3.182,10,3.182]],["t/170",[11,3.926]],["t/172",[12,3.926]],["t/174",[13,3.182,14,3.182]],["t/176",[15,3.926]],["t/180",[16,1.527,17,1.704,18,1.926]],["t/182",[19,2.645,20,3.182]],["t/186",[16,1.317,17,1.47,21,1.918,22,1.918]],["t/188",[16,1.317,17,1.47,22,1.918,23,2.307]],["t/192",[16,1.527,17,1.704,24,2.675]],["t/196",[16,1.527,18,1.926,25,1.926]],["t/198",[25,1.926,26,2.223,27,2.223]],["t/200",[25,1.926,28,2.675,29,2.675]],["t/204",[6,1.817,30,2.645]],["t/209",[31,3.182,32,3.182]],["t/211",[33,3.926]],["t/213",[34,3.926]],["t/215",[35,3.182,36,3.182]],["t/217",[37,3.926]],["t/219",[21,2.223,38,2.675,39,2.675]],["t/223",[19,2.645,40,3.182]],["t/225",[18,2.292,41,3.182]],["t/227",[1,1.926,6,1.527,42,1.926]],["t/229",[26,2.223,27,2.223,42,1.926]],["t/231",[6,1.527,30,2.223,42,1.926]]],"invertedIndex":[["add",{"_index":26,"t":{"198":{"position":[[0,3]]},"229":{"position":[[0,3]]}}}],["admonit",{"_index":37,"t":{"217":{"position":[[0,11]]}}}],["block",{"_index":36,"t":{"215":{"position":[[5,6]]}}}],["build",{"_index":30,"t":{"204":{"position":[[0,5]]},"231":{"position":[[0,5]]}}}],["code",{"_index":35,"t":{"215":{"position":[[0,4]]}}}],["compon",{"_index":39,"t":{"219":{"position":[[14,10]]}}}],["configur",{"_index":19,"t":{"182":{"position":[[0,9]]},"223":{"position":[[0,9]]}}}],["creat",{"_index":16,"t":{"180":{"position":[[0,6]]},"186":{"position":[[0,6]]},"188":{"position":[[0,6]]},"192":{"position":[[0,6]]},"196":{"position":[[0,6]]}}}],["doc",{"_index":18,"t":{"180":{"position":[[18,3]]},"196":{"position":[[9,4]]},"225":{"position":[[12,3]]}}}],["dropdown",{"_index":27,"t":{"198":{"position":[[14,8]]},"229":{"position":[[13,8]]}}}],["exist",{"_index":29,"t":{"200":{"position":[[10,8]]}}}],["first",{"_index":17,"t":{"180":{"position":[[12,5]]},"186":{"position":[[12,5]]},"188":{"position":[[12,5]]},"192":{"position":[[12,5]]}}}],["front",{"_index":31,"t":{"209":{"position":[[0,5]]}}}],["gener",{"_index":4,"t":{"158":{"position":[[0,8]]}}}],["get",{"_index":0,"t":{"154":{"position":[[0,7]]}}}],["i18n",{"_index":40,"t":{"223":{"position":[[10,4]]}}}],["imag",{"_index":34,"t":{"213":{"position":[[0,6]]}}}],["link",{"_index":33,"t":{"211":{"position":[[0,5]]}}}],["ll",{"_index":2,"t":{"156":{"position":[[9,2]]}}}],["local",{"_index":42,"t":{"227":{"position":[[11,9]]},"229":{"position":[[6,6]]},"231":{"position":[[11,9]]}}}],["markdown",{"_index":23,"t":{"188":{"position":[[18,8]]}}}],["matter",{"_index":32,"t":{"209":{"position":[[6,6]]}}}],["mdx",{"_index":38,"t":{"219":{"position":[[0,3]]}}}],["need",{"_index":3,"t":{"156":{"position":[[12,4]]}}}],["new",{"_index":5,"t":{"158":{"position":[[11,3]]}}}],["next",{"_index":8,"t":{"164":{"position":[[7,4]]}}}],["page",{"_index":22,"t":{"186":{"position":[[24,4]]},"188":{"position":[[27,4]]}}}],["post",{"_index":24,"t":{"192":{"position":[[18,4]]}}}],["react",{"_index":21,"t":{"186":{"position":[[18,5]]},"219":{"position":[[8,5]]}}}],["s",{"_index":7,"t":{"164":{"position":[[5,1]]}}}],["sidebar",{"_index":20,"t":{"182":{"position":[[14,7]]}}}],["site",{"_index":6,"t":{"158":{"position":[[15,4]]},"160":{"position":[[11,4]]},"204":{"position":[[11,4]]},"227":{"position":[[21,4]]},"231":{"position":[[21,4]]}}}],["start",{"_index":1,"t":{"154":{"position":[[8,7]]},"160":{"position":[[0,5]]},"227":{"position":[[0,5]]}}}],["translat",{"_index":41,"t":{"225":{"position":[[0,9]]}}}],["updat",{"_index":28,"t":{"200":{"position":[[0,6]]}}}],["version",{"_index":25,"t":{"196":{"position":[[14,7]]},"198":{"position":[[6,7]]},"200":{"position":[[19,7]]}}}],["基本",{"_index":9,"t":{"168":{"position":[[0,2]]}}}],["总结",{"_index":15,"t":{"176":{"position":[[0,2]]}}}],["拆分",{"_index":14,"t":{"174":{"position":[[3,2]]}}}],["方法",{"_index":10,"t":{"168":{"position":[[2,2]]}}}],["输入",{"_index":11,"t":{"170":{"position":[[0,2]]}}}],["输出",{"_index":12,"t":{"172":{"position":[[0,2]]}}}],["重构",{"_index":13,"t":{"174":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":145,"t":"历史博文","s":"","u":"/docusaurus-search-local/zh-CN/blog/archive","p":145},{"i":146,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","p":146},{"i":148,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","p":148},{"i":150,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","p":150},{"i":152,"t":"This is description in front matter","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-CN/docs/next/intro","p":152},{"i":162,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template.","s":"Congratulations!","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","p":162},{"i":166,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","p":166},{"i":178,"t":"Documents are groups of pages connected through:","s":"Create a Document","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","p":178},{"i":184,"t":"Add Markdown or React files to src/pages to create a standalone page:","s":"Create a Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","p":184},{"i":190,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","p":190},{"i":194,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","p":194},{"i":202,"t":"Docusaurus is a static-site-generator (also called Jamstack).","s":"Deploy your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","p":202},{"i":207,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","p":207},{"i":221,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","p":221}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/145",[0,3.335,1,3.335]],["t/146",[2,2.451,3,2.088,4,1.549,5,0.89,6,2.451,7,2.451]],["t/148",[8,2.055,9,2.563,10,2.055,11,2.055,12,2.055,13,1.289,14,1.289,15,1.289,16,1.289,17,1.289,18,1.289,19,1.289,20,1.289,21,1.289,22,1.289,23,1.289,24,1.289,25,1.289]],["t/150",[3,2.033,26,1.447,27,1.859,28,1.859,29,1.859,30,1.447,31,1.447,32,1.859,33,1.447,34,1.447,35,1.859]],["t/152",[36,3.11,37,3.11,38,3.11]],["t/162",[5,0.89,39,2.451,40,2.451,41,2.451,42,2.451,43,2.451,44,2.451]],["t/166",[45,2.216,46,2.216,47,2.216,48,2.216,49,2.216,50,2.216,51,2.216,52,2.216,53,2.216]],["t/178",[54,2.741,55,2.741,56,1.733,57,2.741,58,2.741]],["t/184",[4,1.4,30,1.724,31,1.724,56,1.949,59,1.724,60,2.216,61,2.216,62,2.216]],["t/190",[3,1.719,4,1.175,5,0.675,34,1.447,56,1.719,63,1.859,64,1.859,65,1.859,66,1.859,67,1.859,68,1.859]],["t/194",[5,0.996,69,2.741,70,2.741,71,2.741,72,2.133]],["t/202",[5,0.94,73,2.588,74,2.588,75,2.588,76,2.588,77,2.588]],["t/207",[5,0.94,26,2.014,33,2.014,59,2.014,78,2.588,79,2.588]],["t/221",[72,2.014,80,2.588,81,2.588,82,2.588,83,2.588,84,2.588]]],"invertedIndex":[["2",{"_index":6,"t":{"146":{"position":[[59,1]]}}}],["add",{"_index":30,"t":{"150":{"position":[[53,3]]},"184":{"position":[[0,3]]}}}],["addit",{"_index":79,"t":{"207":{"position":[[39,10]]}}}],["adipisc",{"_index":14,"t":{"148":{"position":[[40,10]]}}}],["aliquam",{"_index":24,"t":{"148":{"position":[[133,7]]}}}],["alpha",{"_index":7,"t":{"146":{"position":[[61,5]]}}}],["amet",{"_index":12,"t":{"148":{"position":[[22,4],[174,4]]}}}],["basic",{"_index":40,"t":{"162":{"position":[[26,6]]}}}],["blog",{"_index":3,"t":{"146":{"position":[[16,4],[27,4]]},"150":{"position":[[0,4],[33,4],[70,4]]},"190":{"position":[[35,4],[57,4]]}}}],["call",{"_index":76,"t":{"202":{"position":[[44,6]]}}}],["chang",{"_index":42,"t":{"162":{"position":[[61,7]]}}}],["com",{"_index":49,"t":{"166":{"position":[[26,3]]}}}],["connect",{"_index":57,"t":{"178":{"position":[[30,9]]}}}],["consectetur",{"_index":13,"t":{"148":{"position":[[28,11]]}}}],["consequat",{"_index":25,"t":{"148":{"position":[[141,9]]}}}],["creat",{"_index":4,"t":{"146":{"position":[[35,7]]},"184":{"position":[[44,6]]},"190":{"position":[[11,7]]}}}],["descript",{"_index":36,"t":{"152":{"position":[[8,11]]}}}],["dignissim",{"_index":18,"t":{"148":{"position":[[80,9]]}}}],["directori",{"_index":32,"t":{"150":{"position":[[75,9]]}}}],["doc",{"_index":72,"t":{"194":{"position":[[48,4]]},"221":{"position":[[16,4]]}}}],["document",{"_index":54,"t":{"178":{"position":[[0,9]]}}}],["docusauru",{"_index":5,"t":{"146":{"position":[[48,10]]},"162":{"position":[[36,10]]},"190":{"position":[[0,10]]},"194":{"position":[[0,10]]},"202":{"position":[[0,10]]},"207":{"position":[[0,10]]}}}],["dolor",{"_index":10,"t":{"148":{"position":[[12,5],[164,5]]}}}],["each",{"_index":63,"t":{"190":{"position":[[30,4]]}}}],["elementum",{"_index":17,"t":{"148":{"position":[[70,9]]}}}],["elit",{"_index":15,"t":{"148":{"position":[[51,4]]}}}],["ero",{"_index":23,"t":{"148":{"position":[[128,4]]}}}],["featur",{"_index":26,"t":{"150":{"position":[[5,8]]},"207":{"position":[[50,8]]}}}],["feed",{"_index":68,"t":{"190":{"position":[[95,4]]}}}],["few",{"_index":78,"t":{"207":{"position":[[35,3]]}}}],["file",{"_index":31,"t":{"150":{"position":[[57,5]]},"184":{"position":[[22,5]]}}}],["french",{"_index":84,"t":{"221":{"position":[[33,6]]}}}],["front",{"_index":37,"t":{"152":{"position":[[23,5]]}}}],["fusc",{"_index":20,"t":{"148":{"position":[[101,5]]}}}],["gener",{"_index":75,"t":{"202":{"position":[[28,9]]}}}],["good",{"_index":51,"t":{"166":{"position":[[38,4]]}}}],["group",{"_index":55,"t":{"178":{"position":[[14,6]]}}}],["http",{"_index":47,"t":{"166":{"position":[[6,5]]}}}],["index",{"_index":65,"t":{"190":{"position":[[62,5]]}}}],["initi",{"_index":43,"t":{"162":{"position":[[76,7]]}}}],["intro",{"_index":82,"t":{"221":{"position":[[21,5]]}}}],["ipsum",{"_index":9,"t":{"148":{"position":[[6,5],[115,5],[158,5]]}}}],["jamstack",{"_index":77,"t":{"202":{"position":[[51,8]]}}}],["learn",{"_index":39,"t":{"162":{"position":[[14,7]]}}}],["lorem",{"_index":8,"t":{"148":{"position":[[0,5],[152,5]]}}}],["made",{"_index":41,"t":{"162":{"position":[[51,4]]}}}],["manag",{"_index":69,"t":{"194":{"position":[[15,6]]}}}],["markdown",{"_index":59,"t":{"184":{"position":[[4,8]]},"207":{"position":[[20,8]]}}}],["matter",{"_index":38,"t":{"152":{"position":[[29,6]]}}}],["md",{"_index":83,"t":{"221":{"position":[[27,2]]}}}],["multipl",{"_index":70,"t":{"194":{"position":[[22,8]]}}}],["page",{"_index":56,"t":{"178":{"position":[[24,5]]},"184":{"position":[[35,5],[64,4]]},"190":{"position":[[21,4],[68,4]]}}}],["pellentesqu",{"_index":16,"t":{"148":{"position":[[57,12]]}}}],["plugin",{"_index":28,"t":{"150":{"position":[[38,6]]}}}],["post",{"_index":64,"t":{"190":{"position":[[40,4]]}}}],["power",{"_index":27,"t":{"150":{"position":[[18,7]]}}}],["react",{"_index":60,"t":{"184":{"position":[[16,5]]}}}],["rhoncu",{"_index":21,"t":{"148":{"position":[[107,7]]}}}],["rss",{"_index":67,"t":{"190":{"position":[[91,3]]}}}],["s",{"_index":80,"t":{"221":{"position":[[4,1]]}}}],["simpli",{"_index":29,"t":{"150":{"position":[[46,6]]}}}],["sit",{"_index":11,"t":{"148":{"position":[[18,3],[170,3]]}}}],["site",{"_index":74,"t":{"202":{"position":[[23,4]]}}}],["src",{"_index":61,"t":{"184":{"position":[[31,3]]}}}],["standalon",{"_index":62,"t":{"184":{"position":[[53,10]]}}}],["static",{"_index":73,"t":{"202":{"position":[[16,6]]}}}],["support",{"_index":33,"t":{"150":{"position":[[89,8]]},"207":{"position":[[11,8]]}}}],["system",{"_index":66,"t":{"190":{"position":[[80,6]]}}}],["tag",{"_index":34,"t":{"150":{"position":[[98,4]]},"190":{"position":[[76,3]]}}}],["templat",{"_index":44,"t":{"162":{"position":[[84,8]]}}}],["tempor",{"_index":22,"t":{"148":{"position":[[121,6]]}}}],["test",{"_index":53,"t":{"166":{"position":[[48,5]]}}}],["through",{"_index":58,"t":{"178":{"position":[[40,7]]}}}],["translat",{"_index":81,"t":{"221":{"position":[[6,9]]}}}],["ultrici",{"_index":19,"t":{"148":{"position":[[90,9]]}}}],["unit",{"_index":52,"t":{"166":{"position":[[43,4]]}}}],["version",{"_index":71,"t":{"194":{"position":[[31,8]]}}}],["wangshenwei",{"_index":48,"t":{"166":{"position":[[14,11]]}}}],["welcom",{"_index":2,"t":{"146":{"position":[[0,7]]}}}],["well",{"_index":35,"t":{"150":{"position":[[106,4]]}}}],["write",{"_index":50,"t":{"166":{"position":[[30,7]]}}}],["博文",{"_index":1,"t":{"145":{"position":[[2,2]]}}}],["历史",{"_index":0,"t":{"145":{"position":[[0,2]]}}}],["本文",{"_index":45,"t":{"166":{"position":[[0,2]]}}}],["转载自",{"_index":46,"t":{"166":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":152,"t":"Keywords,intro,front matter,template","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-CN/docs/next/intro","p":152}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/152",[0,0.288,1,0.288,2,0.288,3,0.288,4,0.288]]],"invertedIndex":[["front",{"_index":2,"t":{"152":{"position":[[15,5]]}}}],["intro",{"_index":1,"t":{"152":{"position":[[9,5]]}}}],["keyword",{"_index":0,"t":{"152":{"position":[[0,8]]}}}],["matter",{"_index":3,"t":{"152":{"position":[[21,6]]}}}],["templat",{"_index":4,"t":{"152":{"position":[[28,8]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":147,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","h":"","p":146},{"i":149,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","h":"","p":148},{"i":151,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","h":"","p":150},{"i":153,"t":"Let's discover Docusaurus in less than 5 minutes.","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"","p":152},{"i":155,"t":"Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new.","s":"Getting Started","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#getting-started","p":152},{"i":157,"t":"Node.js version 14 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies.","s":"What you'll need","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#what-youll-need","p":152},{"i":159,"t":"Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus.","s":"Generate a new site","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#generate-a-new-site","p":152},{"i":161,"t":"Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.","s":"Start your site","u":"/docusaurus-search-local/zh-CN/docs/next/intro","h":"#start-your-site","p":152},{"i":163,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template. Docusaurus has much more to offer! Have 5 more minutes? Take a look at versioning and i18n. Anything unclear or buggy in this tutorial? Please report it!","s":"Congratulations!","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","h":"","p":162},{"i":165,"t":"Read the official documentation. Add a custom Design and Layout Add a search bar Find inspirations in the Docusaurus showcase Get involved in the Docusaurus Community","s":"What's next?","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":162},{"i":167,"t":"备注 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"","p":166},{"i":169,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#基本方法","p":166},{"i":171,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输入","p":166},{"i":173,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输出","p":166},{"i":175,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#重构与拆分","p":166},{"i":177,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#总结","p":166},{"i":179,"t":"Documents are groups of pages connected through: a sidebar previous/next navigation versioning","s":"Create a Document","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","h":"","p":178},{"i":181,"t":"Create a markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello.","s":"Create your first Doc","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":178},{"i":183,"t":"Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js module.exports = { tutorialSidebar: [ { type: 'category', label: 'Tutorial', items: ['hello'], }, ], };","s":"Configure the Sidebar","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":178},{"i":185,"t":"Add Markdown or React files to src/pages to create a standalone page: src/pages/index.js -> localhost:3000/ src/pages/foo.md -> localhost:3000/foo src/pages/foo/bar.js -> localhost:3000/foo/bar","s":"Create a Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","h":"","p":184},{"i":187,"t":"Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return (

My React page

This is a React page

); } A new page is now available at http://localhost:3000/my-react-page.","s":"Create your first React Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":184},{"i":189,"t":"Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page.","s":"Create your first Markdown Page","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":184},{"i":191,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","h":"","p":190},{"i":193,"t":"Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. A new blog post is now available at http://localhost:3000/blog/greetings.","s":"Create your first Post","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":190},{"i":195,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"","p":194},{"i":197,"t":"Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docs current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs","s":"Create a docs version","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":194},{"i":199,"t":"To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'docsVersionDropdown', }, ], }, }, }; The docs version dropdown appears in your navbar:","s":"Add a Version Dropdown","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":194},{"i":201,"t":"It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello docs/hello.md updates http://localhost:3000/docs/next/hello","s":"Update an existing version","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":194},{"i":203,"t":"Docusaurus is a static-site-generator (also called Jamstack). It builds your site as simple static HTML, JavaScript and CSS files.","s":"Deploy your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","h":"","p":202},{"i":205,"t":"Build your site for production: npm run build The static files are generated in the build folder.","s":"Build your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":202},{"i":206,"t":"Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).","s":"Deploy your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-site","h":"#deploy-your-site-1","p":202},{"i":208,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"","p":207},{"i":210,"t":"Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my-doc-id title: My document title description: My document description slug: /my-custom-url --- ## Markdown heading Markdown text with [links](./hello.md)","s":"Front Matter","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":207},{"i":212,"t":"Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create-a-page). Let's see how to [Create a page](./create-a-page.md). Result: Let's see how to Create a page.","s":"Links","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#links","p":207},{"i":214,"t":"Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well, as shown in the extra guides.","s":"Images","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#images","p":207},{"i":216,"t":"Markdown code blocks are supported with Syntax highlighting. src/components/HelloDocusaurus.js function HelloDocusaurus() { return (

Hello, Docusaurus!

) } src/components/HelloDocusaurus.js function HelloDocusaurus() { return

Hello, Docusaurus!

; }","s":"Code Blocks","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":207},{"i":218,"t":"Docusaurus has a special syntax to create admonitions and callouts: :::tip My tip Use this awesome feature option ::: :::danger Take care This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous","s":"Admonitions","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":207},{"i":220,"t":"MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( { alert(`You clicked the color ${color} with label ${children}`) }}> {children} ); This is Docusaurus green ! This is Docusaurus green ! This is Facebook blue !","s":"MDX and React Components","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":207},{"i":222,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"","p":221},{"i":224,"t":"Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js module.exports = { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, };","s":"Configure i18n","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":221},{"i":226,"t":"Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.","s":"Translate a doc","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":221},{"i":228,"t":"Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. 警告 In development, you can only use one locale at a same time.","s":"Start your localized site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":221},{"i":230,"t":"To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar:","s":"Add a Locale Dropdown","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":221},{"i":232,"t":"Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build","s":"Build your localized site","u":"/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":221}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/147",[0,4.738,1,3.928,2,1.677,3,0.905,4,3.557,5,4.738,6,2.695,7,3.557,8,4.026,9,4.738,10,4.738]],["t/149",[11,5.235,12,5.817,13,5.235,14,5.235,15,5.235,16,4.026,17,4.026,18,4.026,19,4.026,20,4.026,21,4.026,22,4.026,23,4.026,24,4.026,25,4.026,26,4.026,27,4.026,28,4.026]],["t/151",[1,4.211,8,3.509,29,3.996,30,4.129,31,3.509,32,4.129,33,2.023,34,1.462,35,3.996,36,2.349,37,3.1,38,3.509,39,4.129,40,4.129,41,4.129,42,4.129,43,3.509]],["t/153",[3,0.993,44,3.519,45,5.197,46,5.197,47,4.417,48,4.417]],["t/155",[2,1.755,3,1.139,49,3.722,50,3.142,51,2.611,52,4.957,53,4.957]],["t/157",[54,5.75,55,2.818,56,2.46,57,4.669,58,4.669,59,3.968,60,4.669,61,4.669,62,4.669,63,4.669,64,3.968]],["t/159",[3,1.03,50,1.824,51,1.824,59,2.942,64,2.942,65,2.6,66,1.969,67,5.394,68,4.023,69,2.6,70,3.462,71,2.942,72,2.494,73,4.928,74,1.824,75,3.462,76,3.462,77,2.942,78,2.344,79,3.462,80,3.462,81,4.023,82,3.462,83,2.942,84,2.942,85,3.462,86,2.942]],["t/161",[2,1.055,3,0.569,35,2.238,49,3.201,51,2.246,69,2.238,72,2.622,73,3.623,74,2.246,77,3.623,81,2.533,86,2.533,87,3.623,88,4.263,89,4.263,90,3.623,91,2.98,92,4.263,93,2.98,94,2.98,95,2.98,96,2.018,97,1.842,98,1.696,99,2.533,100,2.533,101,2.98,102,2.98,103,1.275,104,1.275,105,1.275,106,2.98,107,1.275,108,2.238,109,1.196,110,1.46,111,2.238,112,2.98,113,2.98,114,2.98]],["t/163",[3,1,47,3.421,48,3.421,56,2.121,68,3.421,90,3.421,115,4.026,116,4.026,117,3.421,118,4.026,119,3.421,120,4.449,121,4.026,122,3.421,123,4.026,124,3.023,125,4.026,126,4.026,127,4.026,128,3.421,129,4.026,130,4.026]],["t/165",[3,1.06,33,2.72,131,3.75,132,4.413,133,2.51,134,3.313,135,4.413,136,3.75,137,4.413,138,3.75,139,3.313,140,4.413,141,4.413,142,4.413,143,4.413]],["t/167",[6,1.888,103,1.42,144,3.319,145,5.276,146,3.319,147,3.319,148,2.821,149,3.319,150,3.319,151,3.319,152,3.319,153,3.319,154,3.319,155,3.319,156,2.051,157,3.572,158,3.319,159,3.319,160,3.319,161,2.492,162,2.051,163,2.492,164,2.492,165,2.821,166,3.319,167,3.319,168,3.319,169,2.821,170,1.888,171,3.319,172,3.319,173,3.319,174,3.319,175,3.319,176,3.319,177,2.821,178,3.319]],["t/169",[4,2.182,6,0.744,33,2.052,156,2.12,157,2.323,162,1.796,163,0.982,165,2.916,177,1.111,179,2.226,180,2.47,181,1.307,182,1.892,183,3.441,184,2.916,185,2.889,186,3.441,187,1.507,188,1.307,189,2.182,190,0.982,191,2.47,192,1.111,193,1.307,194,1.671,195,1.671,196,0.885,197,2.907,198,2.226,199,1.376,200,0.982,201,1.968,202,2.47,203,1.892,204,1.892,205,2.605,206,1.307,207,1.307,208,1.307,209,1.307,210,1.307,211,1.111,212,1.671,213,2.378,214,1.111,215,1.307,216,1.307,217,2.907,218,1.111,219,1.892,220,1.671,221,1.671,222,2.907,223,1.111,224,2.907,225,1.671,226,1.111,227,2.226,228,1.892,229,2.907,230,1.892,231,2.226,232,0.982,233,1.307,234,2.226,235,1.307,236,1.307,237,1.671,238,2.182,239,1.307,240,1.307,241,1.507,242,2.226,243,1.307,244,1.307,245,1.111,246,1.307,247,1.307,248,0.885,249,1.307,250,1.307,251,1.307,252,1.307,253,1.307,254,1.307,255,0.982,256,0.808,257,1.307,258,1.111,259,1.892,260,1.892,261,1.307,262,0.885]],["t/171",[6,1.531,50,0.865,84,2.288,139,1.232,156,1.664,161,2.021,162,1.014,164,1.232,182,1.395,183,2.317,187,1.822,189,2.973,190,1.232,191,1.395,194,2.021,195,2.021,199,1.014,200,2.021,205,2.681,212,1.232,213,1.014,218,1.395,220,1.232,221,2.021,223,2.908,225,2.57,226,4.401,232,1.232,241,1.111,245,1.395,248,2.317,255,1.232,256,1.014,262,1.111,263,1.641,264,2.021,265,1.395,266,1.641,267,1.395,268,1.395,269,1.395,270,2.288,271,2.908,272,2.692,273,1.395,274,1.641,275,1.395,276,1.395,277,1.395,278,1.395,279,1.395,280,1.395,281,1.641,282,1.395,283,2.288,284,1.395,285,1.641,286,2.288,287,1.395,288,1.641,289,1.641,290,1.395,291,1.395,292,2.288,293,1.641,294,4.215,295,2.692,296,1.641,297,2.692,298,2.692,299,1.395,300,1.641,301,1.641,302,2.288,303,2.021,304,2.692,305,2.692,306,1.641,307,1.395,308,2.692,309,2.021,310,1.641,311,2.288,312,1.395,313,1.641,314,1.641]],["t/173",[6,1.48,139,0.847,156,1.607,161,1.473,164,0.847,169,0.959,170,0.642,184,1.667,185,3.594,186,2.382,187,1.761,190,0.847,192,0.959,194,1.953,195,1.953,196,0.764,199,0.697,200,2.333,203,2.641,204,2.21,205,2.613,212,1.473,213,1.607,220,0.847,221,1.473,225,0.847,228,0.959,230,2.21,232,3.114,237,2.642,238,1.473,241,0.764,248,2.104,255,0.847,256,0.697,262,0.764,264,0.847,268,0.959,269,0.959,270,1.667,271,2.21,273,0.959,275,0.959,276,0.959,277,0.959,278,0.959,279,0.959,280,0.959,282,2.21,283,1.667,284,0.959,286,0.959,287,0.959,290,0.959,291,0.959,292,0.959,294,2.991,302,2.21,303,1.953,307,1.667,309,1.473,311,2.21,312,0.959,315,0.959,316,1.667,317,0.847,318,1.961,319,1.961,320,1.128,321,2.641,322,1.128,323,1.128,324,4.147,325,2.601,326,1.961,327,1.761,328,1.761,329,1.128,330,1.128,331,1.128,332,1.128,333,1.128,334,1.128,335,1.128,336,1.128,337,1.128,338,1.128,339,1.961,340,1.128,341,1.128,342,1.961,343,3.519,344,1.128,345,1.128,346,2.601,347,1.761,348,1.961,349,1.961,350,2.601,351,1.128,352,1.128,353,1.128,354,1.128,355,1.128,356,1.128,357,1.128,358,1.128,359,1.128,360,1.128,361,1.128,362,1.961,363,1.667,364,1.961,365,1.128,366,1.128,367,1.128,368,1.128]],["t/175",[156,1.3,157,2.734,162,2.496,170,1.196,183,2.223,186,2.223,187,1.424,205,1.424,211,1.787,213,1.3,214,2.79,219,1.787,237,1.579,241,1.424,248,2.223,256,1.3,260,1.787,262,1.424,264,3.427,265,1.787,267,1.787,299,1.787,309,3.717,315,1.787,316,2.79,317,1.579,363,1.787,369,2.103,370,2.103,371,2.103,372,2.103,373,3.283,374,2.103,375,2.103,376,2.103,377,3.283,378,2.103,379,3.283,380,2.103,381,2.103,382,1.787,383,1.787,384,2.79,385,2.103,386,2.103,387,2.103,388,2.103,389,2.103,390,2.103,391,2.103,392,2.103,393,2.103,394,2.103,395,2.103,396,2.103,397,2.103,398,2.103,399,2.103,400,2.103,401,2.103,402,2.103,403,2.103,404,2.103,405,2.103,406,2.103,407,2.103,408,2.103,409,2.103,410,2.103,411,2.103,412,2.103,413,2.103,414,2.103,415,2.103,416,2.103,417,2.103,418,2.103]],["t/177",[157,2.535,162,2.314,163,2.812,180,3.182,183,3.379,185,2.812,186,3.379,189,2.812,213,2.314,238,2.812,256,2.314,258,3.182,259,3.182,317,2.812,321,3.182,382,3.182,383,3.182,384,3.182,419,3.744,420,3.744,421,3.744,422,3.744,423,3.744,424,3.744,425,3.744,426,3.744,427,3.744,428,3.744]],["t/179",[56,2.572,96,3.305,100,4.148,110,2.392,133,2.777,327,3.305,429,4.882,430,4.882,431,4.148,432,4.882]],["t/181",[2,1.462,3,0.789,34,1.462,50,2.175,103,1.767,104,1.767,105,1.767,107,2.52,109,2.135,133,3.027,433,1.888,434,3.844,435,3.1,436,2.175,437,2.795]],["t/183",[2,1.594,3,0.86,33,1.577,55,2.206,69,2.417,78,2.179,107,1.926,109,1.291,128,2.736,133,1.831,134,2.417,202,2.736,347,2.179,431,5.347,434,3.208,435,2.417,438,1.831,439,2.736,440,4.411,441,4.502,442,3.219,443,3.219,444,3.219,445,2.736,446,3.219,447,2.179,448,1.831,449,3.219,450,3.219]],["t/185",[2,1.31,33,1.814,34,1.31,55,2.427,104,2.388,105,2.388,109,1.485,110,3.044,138,4.209,170,2.106,433,1.693,451,4.035,452,3.701,453,3.145,454,5.96]],["t/187",[2,1.151,34,1.151,50,1.713,55,2.221,103,1.391,104,1.391,105,1.391,110,3.154,136,4.798,170,3.59,196,2.201,199,2.01,436,1.713,437,2.201,448,1.85,451,3.069,455,4.533,456,3.252,457,3.252,458,3.252,459,3.853,460,3.853]],["t/189",[2,1.407,34,1.407,50,2.094,103,1.701,104,1.701,105,1.701,109,2.083,110,3.302,433,2.909,436,2.094,437,2.692,451,3.515]],["t/191",[1,3.893,2,1.653,3,0.892,7,3.506,37,3.506,110,2.818,453,3.968,461,4.669,462,4.669,463,4.669,464,4.669]],["t/193",[1,3.263,2,0.825,3,0.679,7,3.236,34,0.825,37,1.751,44,1.579,50,1.228,103,2.221,104,0.998,105,0.998,109,1.426,111,1.751,117,1.982,119,1.982,148,4.097,201,1.579,328,3.263,435,1.751,436,1.228,437,1.579,465,3.556,466,3.556,467,3.556,468,5.469,469,1.982,470,3.662,471,2.332,472,3.556,473,2.332,474,2.332,475,2.332,476,2.332,477,4.309,478,3.556,479,3.556,480,3.022,481,3.022,482,2.332,483,2.332,484,2.332,485,2.332,486,2.332,487,2.332,488,2.332,489,1.982,490,2.332,491,2.332]],["t/195",[3,1.009,56,2.783,107,2.26,492,5.283,493,5.283]],["t/197",[2,1.106,3,0.597,4,2.347,56,3.287,71,2.656,72,1.646,74,1.646,103,1.887,104,1.887,105,1.887,107,2.726,201,3.961,327,2.116,436,1.646,438,1.778,494,3.125,495,4.972,496,2.656,497,2.656,498,3.125,499,2.347,500,3.125,501,3.125]],["t/199",[3,0.984,33,1.924,34,1.39,55,2.524,56,3.028,78,2.659,96,2.659,107,1.68,347,2.659,447,2.659,448,2.234,502,3.337,503,4.377,504,2.949,505,3.868,506,3.337,507,4.377,508,3.927,509,3.337]],["t/201",[56,2.958,103,2.136,104,2.136,105,2.136,107,2.669,109,2.002,111,2.812,201,2.535,327,2.535,434,3.701,438,2.13,445,3.182,495,3.182,497,3.182,510,3.744,511,4.991]],["t/203",[3,0.879,34,1.629,43,3.911,51,3.002,65,3.456,97,2.844,512,4.279,513,3.911,514,4.602,515,4.602,516,4.602,517,4.602]],["t/205",[34,1.702,51,2.533,65,3.611,72,2.533,74,2.533,97,3.901,438,2.736,512,3.611,518,4.086]],["t/206",[6,2.207,72,2.044,74,2.044,97,3.531,98,2.207,99,4.343,103,1.66,104,1.66,105,1.66,131,3.297,436,2.692,438,2.907,489,3.297,518,3.297,519,5.11,520,3.88,521,3.88,522,3.88,523,3.88,524,3.88,525,3.297]],["t/208",[3,0.993,29,3.903,36,2.957,433,2.377,526,5.197,527,5.197]],["t/210",[107,2.169,109,2.034,133,3.231,134,2.879,328,2.595,433,2.598,434,2.369,439,3.258,469,3.258,470,4.308,513,3.258,528,3.834,529,3.834,530,3.834,531,5.07,532,5.07,533,3.834,534,3.834,535,3.258]],["t/212",[2,2.225,34,1.357,36,2.181,44,3.846,66,2.181,109,1.538,110,3.08,328,2.595,433,1.753,535,3.258,536,3.258,537,4.308,538,3.258,539,5.68,540,3.834]],["t/214",[3,1.079,34,1.341,35,2.845,36,2.155,38,3.219,66,2.155,433,1.732,480,4.799,481,4.275,499,2.845,512,3.777,525,3.219,536,3.219,537,3.219,538,3.219,541,3.788,542,5.03,543,5.03,544,3.788,545,3.788,546,3.788]],["t/216",[3,0.968,36,2.181,55,2.484,83,3.258,196,3.432,199,3.133,433,1.753,434,3.133,451,3.432,459,5.137,547,3.834,548,3.258,549,3.258,550,4.308,551,6.044]],["t/218",[2,1.39,3,0.75,29,3.868,66,2.93,122,4.377,548,3.337,552,3.927,553,3.927,554,3.927,555,5.748,556,5.151,557,5.151,558,5.748,559,5.151,560,5.151]],["t/220",[3,0.842,66,1.778,120,2.656,133,1.778,170,1.778,303,2.347,433,1.429,440,2.656,448,1.778,549,4.341,550,2.656,561,3.125,562,3.125,563,3.125,564,3.125,565,3.125,566,5.109,567,6.072,568,4.409,569,3.125,570,3.125,571,3.125,572,3.125,573,3.125,574,3.125,575,3.125,576,3.125,577,3.125,578,3.125,579,3.125,580,3.125,581,3.125,582,4.409,583,3.125,584,3.125]],["t/222",[44,3.519,107,2.224,108,3.903,109,2.085,585,3.903,586,3.903]],["t/224",[3,1.042,33,2.104,36,2.443,55,2.674,98,3.104,124,3.225,447,2.907,448,2.443,504,3.225,505,4.098,587,3.694,588,4.295,589,5.457]],["t/226",[3,1.008,31,4.484,34,1.175,107,2.559,108,4.277,109,2.285,124,4.277,438,1.888,460,2.821,496,2.821,499,3.962,585,2.492,586,2.492,587,3.856,590,3.319,591,5.276,592,3.319]],["t/228",[49,4.291,51,2.692,66,2.207,72,2.044,74,2.044,87,3.297,98,3.455,103,1.66,104,1.66,105,1.66,110,1.901,585,2.913,586,2.913,587,3.459,593,3.88,594,3.88,595,3.88,596,3.88,597,3.88,598,3.88]],["t/230",[3,0.984,33,1.924,34,1.39,55,2.524,78,2.659,96,2.659,98,2.93,347,2.659,436,2.069,447,2.659,448,2.234,502,3.337,503,4.377,504,2.949,505,3.868,506,3.337,507,4.377,509,3.337,599,3.927,600,3.927]],["t/232",[51,2.924,72,2.924,74,2.924,97,3.939,98,3.455,587,2.987,601,4.413,602,4.413,603,4.413]]],"invertedIndex":[["0",{"_index":495,"t":{"197":{"position":[[20,1],[73,1],[131,1],[196,1],[247,1]]},"201":{"position":[[91,1]]}}}],["02",{"_index":466,"t":{"193":{"position":[[27,2],[57,2]]}}}],["1",{"_index":201,"t":{"169":{"position":[[179,1],[222,1],[262,1]]},"193":{"position":[[175,1]]},"197":{"position":[[18,1],[71,1],[129,1],[194,1],[245,1]]},"201":{"position":[[89,1]]}}}],["10px",{"_index":575,"t":{"220":{"position":[[240,4]]}}}],["14",{"_index":57,"t":{"157":{"position":[[16,2]]}}}],["2",{"_index":4,"t":{"147":{"position":[[59,1]]},"169":{"position":[[182,1],[225,1],[265,1]]},"197":{"position":[[182,1]]}}}],["2021",{"_index":465,"t":{"193":{"position":[[22,4],[52,4]]}}}],["20px",{"_index":572,"t":{"220":{"position":[[208,4]]}}}],["25c2a0",{"_index":581,"t":{"220":{"position":[[402,6]]}}}],["28",{"_index":467,"t":{"193":{"position":[[30,2],[60,2]]}}}],["3",{"_index":202,"t":{"169":{"position":[[199,1],[234,1],[302,1]]},"183":{"position":[[180,1]]}}}],["3000",{"_index":105,"t":{"161":{"position":[[356,4]]},"181":{"position":[[157,4]]},"185":{"position":[[102,4],[138,4],[181,4]]},"187":{"position":[[307,4]]},"189":{"position":[[169,4]]},"193":{"position":[[571,4]]},"197":{"position":[[218,4],[282,4]]},"201":{"position":[[127,4],[182,4]]},"206":{"position":[[101,4]]},"228":{"position":[[121,4]]}}}],["5",{"_index":47,"t":{"153":{"position":[[39,1]]},"163":{"position":[[134,1]]}}}],["abov",{"_index":58,"t":{"157":{"position":[[22,5]]}}}],["absolut",{"_index":541,"t":{"214":{"position":[[51,8]]}}}],["access",{"_index":593,"t":{"228":{"position":[[90,10]]}}}],["action",{"_index":560,"t":{"218":{"position":[[143,6],[221,6]]}}}],["ad",{"_index":70,"t":{"159":{"position":[[102,5]]}}}],["add",{"_index":33,"t":{"151":{"position":[[53,3]]},"165":{"position":[[33,3],[64,3]]},"169":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]},"183":{"position":[[65,3]]},"185":{"position":[[0,3]]},"199":{"position":[[40,3]]},"224":{"position":[[31,3]]},"230":{"position":[[41,3]]}}}],["addeventlisten",{"_index":296,"t":{"171":{"position":[[215,16]]}}}],["addit",{"_index":527,"t":{"208":{"position":[[39,10]]}}}],["adipisc",{"_index":17,"t":{"149":{"position":[[40,10]]}}}],["admonit",{"_index":553,"t":{"218":{"position":[[42,11]]}}}],["alert",{"_index":579,"t":{"220":{"position":[[286,5]]}}}],["aliquam",{"_index":27,"t":{"149":{"position":[[133,7]]}}}],["allow",{"_index":564,"t":{"220":{"position":[[53,6]]}}}],["alpha",{"_index":5,"t":{"147":{"position":[[61,5]]}}}],["amet",{"_index":15,"t":{"149":{"position":[[22,4],[174,4]]}}}],["anyth",{"_index":125,"t":{"163":{"position":[[186,8]]}}}],["anywher",{"_index":520,"t":{"206":{"position":[[151,8]]}}}],["appear",{"_index":509,"t":{"199":{"position":[[248,7]]},"230":{"position":[[241,7]]}}}],["around",{"_index":491,"t":{"193":{"position":[[474,6]]}}}],["author",{"_index":471,"t":{"193":{"position":[[114,7]]}}}],["automat",{"_index":69,"t":{"159":{"position":[[85,13]]},"161":{"position":[[432,13]]},"183":{"position":[[11,13]]}}}],["avail",{"_index":437,"t":{"181":{"position":[[127,9]]},"187":{"position":[[277,9]]},"189":{"position":[[139,9]]},"193":{"position":[[541,9]]}}}],["awesom",{"_index":556,"t":{"218":{"position":[[91,7],[183,7]]}}}],["b",{"_index":198,"t":{"169":{"position":[[115,1],[147,1]]}}}],["backgroundcolor",{"_index":570,"t":{"220":{"position":[[169,15]]}}}],["bad",{"_index":367,"t":{"173":{"position":[[1164,3]]}}}],["bar",{"_index":138,"t":{"165":{"position":[[77,3]]},"185":{"position":[[161,3],[190,3]]}}}],["basic",{"_index":116,"t":{"163":{"position":[[26,6]]}}}],["bastien",{"_index":482,"t":{"193":{"position":[[267,7]]}}}],["block",{"_index":547,"t":{"216":{"position":[[14,6]]}}}],["blog",{"_index":1,"t":{"147":{"position":[[16,4],[27,4]]},"151":{"position":[[0,4],[33,4],[70,4],[161,4]]},"191":{"position":[[35,4],[57,4]]},"193":{"position":[[17,4],[47,4],[524,4],[576,4]]}}}],["blue",{"_index":584,"t":{"220":{"position":[[485,4]]}}}],["boolean",{"_index":344,"t":{"173":{"position":[[691,7]]}}}],["borderradiu",{"_index":571,"t":{"220":{"position":[[193,12]]}}}],["buggi",{"_index":127,"t":{"163":{"position":[[206,5]]}}}],["build",{"_index":97,"t":{"161":{"position":[[242,6]]},"203":{"position":[[65,6]]},"205":{"position":[[0,5],[40,5],[84,5]]},"206":{"position":[[21,5],[54,5],[131,5]]},"232":{"position":[[0,5],[47,5],[71,5],[131,5]]}}}],["bunch",{"_index":9,"t":{"147":{"position":[[97,5]]}}}],["call",{"_index":513,"t":{"203":{"position":[[44,6]]},"210":{"position":[[44,6]]}}}],["callout",{"_index":554,"t":{"218":{"position":[[58,8]]}}}],["care",{"_index":559,"t":{"218":{"position":[[133,4],[211,4]]}}}],["categori",{"_index":450,"t":{"183":{"position":[[365,8]]}}}],["cd",{"_index":89,"t":{"161":{"position":[[28,2],[60,2]]}}}],["chang",{"_index":90,"t":{"161":{"position":[[71,7],[464,7]]},"163":{"position":[[61,7]]}}}],["check",{"_index":61,"t":{"157":{"position":[[77,5]]}}}],["checkbox",{"_index":62,"t":{"157":{"position":[[87,10]]}}}],["children",{"_index":566,"t":{"220":{"position":[[131,8],[337,8],[354,8]]}}}],["classic",{"_index":67,"t":{"159":{"position":[[41,7],[63,7],[189,7]]}}}],["classnam",{"_index":348,"t":{"173":{"position":[[760,9],[1039,9]]}}}],["click",{"_index":580,"t":{"220":{"position":[[297,7]]}}}],["co",{"_index":475,"t":{"193":{"position":[[150,2]]}}}],["code",{"_index":83,"t":{"159":{"position":[[307,4]]},"216":{"position":[[9,4]]}}}],["color",{"_index":567,"t":{"220":{"position":[[141,5],[186,5],[215,5],[309,5],[317,5],[394,5]]}}}],["com",{"_index":148,"t":{"167":{"position":[[29,3]]},"193":{"position":[[197,3],[238,3],[340,3],[370,3]]}}}],["command",{"_index":73,"t":{"159":{"position":[[142,7],[215,7],[228,7],[324,7]]},"161":{"position":[[63,7],[234,7]]}}}],["commun",{"_index":143,"t":{"165":{"position":[[157,9]]}}}],["compon",{"_index":550,"t":{"216":{"position":[[65,10],[169,10]]},"220":{"position":[[76,10]]}}}],["config",{"_index":505,"t":{"199":{"position":[[86,6],[113,6]]},"224":{"position":[[18,6],[73,6]]},"230":{"position":[[86,6],[113,6]]}}}],["congratul",{"_index":487,"t":{"193":{"position":[[408,15]]}}}],["connect",{"_index":430,"t":{"179":{"position":[[30,9]]}}}],["consectetur",{"_index":16,"t":{"149":{"position":[[28,11]]}}}],["consequat",{"_index":28,"t":{"149":{"position":[[141,9]]}}}],["const",{"_index":303,"t":{"171":{"position":[[409,5],[587,5]]},"173":{"position":[[507,5],[658,5],[908,5]]},"220":{"position":[[111,5]]}}}],["content",{"_index":591,"t":{"226":{"position":[[86,7],[151,7],[217,7]]}}}],["copi",{"_index":496,"t":{"197":{"position":[[94,6]]},"226":{"position":[[0,4]]}}}],["cost",{"_index":524,"t":{"206":{"position":[[191,4]]}}}],["cp",{"_index":592,"t":{"226":{"position":[[108,2]]}}}],["creat",{"_index":2,"t":{"147":{"position":[[35,7]]},"155":{"position":[[15,8]]},"161":{"position":[[147,7]]},"181":{"position":[[0,6]]},"183":{"position":[[25,7],[259,6]]},"185":{"position":[[44,6]]},"187":{"position":[[0,6]]},"189":{"position":[[0,6]]},"191":{"position":[[11,7]]},"193":{"position":[[0,6]]},"197":{"position":[[154,7]]},"212":{"position":[[96,6],[112,6],[146,6],[163,6],[207,6]]},"218":{"position":[[35,6]]}}}],["creator",{"_index":476,"t":{"193":{"position":[[153,7]]}}}],["css",{"_index":517,"t":{"203":{"position":[[120,3]]}}}],["current",{"_index":499,"t":{"197":{"position":[[254,7]]},"214":{"position":[[220,7]]},"226":{"position":[[99,7],[164,7],[230,7]]}}}],["cursor",{"_index":576,"t":{"220":{"position":[[247,6]]}}}],["custom",{"_index":134,"t":{"165":{"position":[[39,6]]},"183":{"position":[[81,9]]},"210":{"position":[[165,6]]}}}],["danger",{"_index":558,"t":{"218":{"position":[[121,6],[153,9],[231,9]]}}}],["default",{"_index":457,"t":{"187":{"position":[[142,7]]}}}],["defaultlocal",{"_index":588,"t":{"224":{"position":[[110,13]]}}}],["delet",{"_index":39,"t":{"151":{"position":[[112,6]]}}}],["depend",{"_index":64,"t":{"157":{"position":[[109,12]]},"159":{"position":[[360,12]]}}}],["deploy",{"_index":519,"t":{"206":{"position":[[120,6],[206,10]]}}}],["descript",{"_index":532,"t":{"210":{"position":[[118,11],[143,11]]}}}],["design",{"_index":135,"t":{"165":{"position":[[46,6]]}}}],["develop",{"_index":87,"t":{"161":{"position":[[8,11],[294,11]]},"228":{"position":[[180,11]]}}}],["dignissim",{"_index":21,"t":{"149":{"position":[[80,9]]}}}],["directori",{"_index":35,"t":{"151":{"position":[[75,9],[129,9]]},"161":{"position":[[83,9]]},"214":{"position":[[100,9]]}}}],["discov",{"_index":45,"t":{"153":{"position":[[6,8]]}}}],["dispatchev",{"_index":300,"t":{"171":{"position":[[333,13]]}}}],["display",{"_index":114,"t":{"161":{"position":[[450,8]]}}}],["doc",{"_index":107,"t":{"161":{"position":[[368,4]]},"181":{"position":[[26,4],[41,4],[162,4]]},"183":{"position":[[52,4],[123,4]]},"195":{"position":[[48,4]]},"197":{"position":[[58,4],[79,4],[116,4],[168,4],[223,4],[249,4],[287,4],[327,4]]},"199":{"position":[[226,4]]},"201":{"position":[[33,4],[76,4],[132,4],[143,4],[187,4]]},"210":{"position":[[68,3],[86,3]]},"222":{"position":[[16,4]]},"226":{"position":[[9,4],[94,4],[111,4],[159,4],[225,4]]}}}],["docsversiondropdown",{"_index":508,"t":{"199":{"position":[[185,19]]}}}],["document",{"_index":133,"t":{"165":{"position":[[18,13]]},"179":{"position":[[0,9]]},"181":{"position":[[93,8],[111,8]]},"183":{"position":[[224,8]]},"210":{"position":[[9,9],[103,8],[134,8]]},"220":{"position":[[18,13]]}}}],["docusauru",{"_index":3,"t":{"147":{"position":[[48,10]]},"153":{"position":[[15,10]]},"155":{"position":[[43,10],[71,10]]},"159":{"position":[[15,10],[160,10],[389,10]]},"161":{"position":[[155,10]]},"163":{"position":[[36,10],[94,10]]},"165":{"position":[[106,10],[146,10]]},"181":{"position":[[82,10]]},"183":{"position":[[0,10],[213,10]]},"191":{"position":[[0,10]]},"193":{"position":[[164,10],[289,10]]},"195":{"position":[[0,10]]},"197":{"position":[[47,10]]},"199":{"position":[[75,10],[102,10]]},"203":{"position":[[0,10]]},"208":{"position":[[0,10]]},"214":{"position":[[122,10],[141,10],[163,10]]},"216":{"position":[[144,10],[246,10]]},"218":{"position":[[0,10]]},"220":{"position":[[410,10],[449,10]]},"224":{"position":[[7,10],[62,10]]},"226":{"position":[[68,10],[133,10],[199,10]]},"230":{"position":[[75,10],[102,10]]}}}],["dolor",{"_index":13,"t":{"149":{"position":[[12,5],[164,5]]}}}],["don",{"_index":40,"t":{"151":{"position":[[146,3]]}}}],["dropdown",{"_index":503,"t":{"199":{"position":[[54,8],[239,8]]},"230":{"position":[[54,8],[228,8]]}}}],["each",{"_index":461,"t":{"191":{"position":[[30,4]]}}}],["easili",{"_index":521,"t":{"206":{"position":[[160,6]]}}}],["edit",{"_index":111,"t":{"161":{"position":[[398,4]]},"193":{"position":[[485,4]]},"201":{"position":[[18,4]]}}}],["editor",{"_index":84,"t":{"159":{"position":[[312,6]]},"171":{"position":[[472,6],[642,6]]}}}],["elementum",{"_index":20,"t":{"149":{"position":[[70,9]]}}}],["elit",{"_index":18,"t":{"149":{"position":[[51,4]]}}}],["en",{"_index":589,"t":{"224":{"position":[[126,2],[142,2]]}}}],["enzym",{"_index":171,"t":{"167":{"position":[[136,6]]}}}],["ero",{"_index":26,"t":{"149":{"position":[[128,4]]}}}],["event",{"_index":301,"t":{"171":{"position":[[351,5]]}}}],["expect",{"_index":203,"t":{"169":{"position":[[211,6],[285,6]]},"173":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["explicitli",{"_index":446,"t":{"183":{"position":[[279,10]]}}}],["export",{"_index":448,"t":{"183":{"position":[[325,7]]},"187":{"position":[[135,6]]},"199":{"position":[[130,7]]},"220":{"position":[[104,6]]},"224":{"position":[[90,7]]},"230":{"position":[[130,7]]}}}],["extra",{"_index":546,"t":{"214":{"position":[[258,5]]}}}],["facebook",{"_index":583,"t":{"220":{"position":[[476,8]]}}}],["fake",{"_index":314,"t":{"171":{"position":[[670,5]]}}}],["featur",{"_index":29,"t":{"151":{"position":[[5,8],[166,8]]},"208":{"position":[[50,8]]},"218":{"position":[[99,7],[191,7]]}}}],["feed",{"_index":464,"t":{"191":{"position":[[95,4]]}}}],["feel",{"_index":488,"t":{"193":{"position":[[456,4]]}}}],["few",{"_index":526,"t":{"208":{"position":[[35,3]]}}}],["fff",{"_index":573,"t":{"220":{"position":[[224,3]]}}}],["file",{"_index":34,"t":{"151":{"position":[[57,5]]},"181":{"position":[[18,4]]},"185":{"position":[[22,5]]},"187":{"position":[[9,4]]},"189":{"position":[[9,4]]},"193":{"position":[[9,4]]},"199":{"position":[[96,4]]},"203":{"position":[[124,5]]},"205":{"position":[[57,5]]},"212":{"position":[[66,4]]},"214":{"position":[[228,4]]},"226":{"position":[[23,4]]},"230":{"position":[[96,4]]}}}],["find",{"_index":139,"t":{"165":{"position":[[81,4]]},"171":{"position":[[637,4]]},"173":{"position":[[1017,4]]}}}],["first",{"_index":435,"t":{"181":{"position":[[76,5]]},"183":{"position":[[207,5]]},"193":{"position":[[444,5]]}}}],["folder",{"_index":438,"t":{"183":{"position":[[57,6]]},"197":{"position":[[84,6]]},"201":{"position":[[58,6]]},"205":{"position":[[90,6]]},"206":{"position":[[60,6],[137,6]]},"226":{"position":[[43,6]]}}}],["foo",{"_index":454,"t":{"185":{"position":[[118,3],[143,3],[157,3],[186,3]]}}}],["form",{"_index":346,"t":{"173":{"position":[[750,4],[824,4],[1022,4]]}}}],["fr",{"_index":587,"t":{"224":{"position":[[51,2],[148,2]]},"226":{"position":[[40,2],[65,2],[130,2],[196,2]]},"228":{"position":[[64,2],[126,2]]},"232":{"position":[[65,2]]}}}],["free",{"_index":489,"t":{"193":{"position":[[461,4]]},"206":{"position":[[172,4]]}}}],["french",{"_index":586,"t":{"222":{"position":[[33,6]]},"226":{"position":[[250,6]]},"228":{"position":[[23,6]]}}}],["front",{"_index":529,"t":{"210":{"position":[[51,5]]}}}],["function",{"_index":196,"t":{"169":{"position":[[91,8]]},"173":{"position":[[192,8]]},"187":{"position":[[150,8]]},"216":{"position":[[95,8],[199,8]]}}}],["fusc",{"_index":23,"t":{"149":{"position":[[101,5]]}}}],["gener",{"_index":65,"t":{"159":{"position":[[0,8]]},"203":{"position":[[28,9]]},"205":{"position":[[67,9]]}}}],["get",{"_index":594,"t":{"228":{"position":[[138,7]]}}}],["github",{"_index":477,"t":{"193":{"position":[[190,6],[231,6],[363,6]]}}}],["good",{"_index":150,"t":{"167":{"position":[[41,4]]}}}],["green",{"_index":582,"t":{"220":{"position":[[421,5],[460,5]]}}}],["greet",{"_index":468,"t":{"193":{"position":[[33,9],[63,9],[86,9],[103,9],[393,9],[581,9]]}}}],["group",{"_index":429,"t":{"179":{"position":[[14,6]]}}}],["gui",{"_index":273,"t":{"171":{"position":[[58,3]]},"173":{"position":[[44,3]]}}}],["guid",{"_index":525,"t":{"206":{"position":[[217,5]]},"214":{"position":[[264,6]]}}}],["h1",{"_index":459,"t":{"187":{"position":[[194,2],[212,2]]},"216":{"position":[[134,2],[157,2],[236,2],[259,2]]}}}],["handlechang",{"_index":304,"t":{"171":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":324,"t":{"173":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":342,"t":{"173":{"position":[[664,16],[982,16]]}}}],["head",{"_index":533,"t":{"210":{"position":[[192,7]]}}}],["hello",{"_index":434,"t":{"181":{"position":[[31,5],[46,5],[57,5],[167,5]]},"183":{"position":[[128,5],[188,5],[404,5]]},"201":{"position":[[93,5],[137,5],[148,5],[197,5]]},"210":{"position":[[229,5]]},"216":{"position":[[137,5],[239,5]]}}}],["hellodocusauru",{"_index":551,"t":{"216":{"position":[[76,15],[104,15],[180,15],[208,15]]}}}],["hi",{"_index":443,"t":{"183":{"position":[[157,2]]}}}],["highlight",{"_index":549,"t":{"216":{"position":[[47,12]]},"220":{"position":[[117,9],[384,9],[428,9]]}}}],["histori",{"_index":325,"t":{"173":{"position":[[223,7],[348,7],[543,7]]}}}],["html",{"_index":515,"t":{"203":{"position":[[99,4]]}}}],["http",{"_index":103,"t":{"161":{"position":[[339,4]]},"167":{"position":[[9,5]]},"181":{"position":[[140,4]]},"187":{"position":[[290,4]]},"189":{"position":[[152,4]]},"193":{"position":[[182,5],[223,5],[316,5],[355,5],[554,4]]},"197":{"position":[[201,4],[265,4]]},"201":{"position":[[110,4],[165,4]]},"206":{"position":[[84,4]]},"228":{"position":[[104,4]]}}}],["i18n",{"_index":124,"t":{"163":{"position":[[180,4]]},"224":{"position":[[102,4]]},"226":{"position":[[35,4],[60,4],[125,4],[191,4]]}}}],["id",{"_index":531,"t":{"210":{"position":[[79,2],[90,2]]}}}],["imag",{"_index":480,"t":{"193":{"position":[[212,5],[344,5]]},"214":{"position":[[17,6],[79,6],[197,6]]}}}],["image_url",{"_index":479,"t":{"193":{"position":[[212,9],[344,9]]}}}],["img",{"_index":543,"t":{"214":{"position":[[118,3],[159,3]]}}}],["immedi",{"_index":53,"t":{"155":{"position":[[54,11]]}}}],["import",{"_index":455,"t":{"187":{"position":[[72,6],[99,6]]}}}],["includ",{"_index":602,"t":{"232":{"position":[[90,7]]}}}],["index",{"_index":453,"t":{"185":{"position":[[80,5]]},"191":{"position":[[62,5]]}}}],["inform",{"_index":10,"t":{"147":{"position":[[112,11]]}}}],["init",{"_index":75,"t":{"159":{"position":[[155,4]]}}}],["initi",{"_index":118,"t":{"163":{"position":[[76,7]]}}}],["input",{"_index":351,"t":{"173":{"position":[[813,5]]}}}],["insid",{"_index":565,"t":{"220":{"position":[[87,6]]}}}],["inspir",{"_index":140,"t":{"165":{"position":[[86,12]]}}}],["instal",{"_index":59,"t":{"157":{"position":[[34,10]]},"159":{"position":[[337,8]]}}}],["instanc",{"_index":368,"t":{"173":{"position":[[1193,8]]}}}],["integr",{"_index":82,"t":{"159":{"position":[[279,10]]}}}],["interact",{"_index":563,"t":{"220":{"position":[[37,11]]}}}],["intro",{"_index":108,"t":{"161":{"position":[[373,5]]},"222":{"position":[[21,5]]},"226":{"position":[[14,5],[116,5],[172,5],[238,5]]}}}],["invalid",{"_index":350,"t":{"173":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":313,"t":{"171":{"position":[[650,6]]}}}],["involv",{"_index":142,"t":{"165":{"position":[[130,8]]}}}],["ipsum",{"_index":12,"t":{"149":{"position":[[6,5],[115,5],[158,5]]}}}],["item",{"_index":347,"t":{"173":{"position":[[755,4],[829,4],[1027,4]]},"183":{"position":[[395,5]]},"199":{"position":[[167,5]]},"230":{"position":[[167,5]]}}}],["jamstack",{"_index":514,"t":{"203":{"position":[[51,8]]}}}],["javascript",{"_index":516,"t":{"203":{"position":[[105,10]]}}}],["jest",{"_index":169,"t":{"167":{"position":[[123,4]]},"173":{"position":[[532,4]]}}}],["joel",{"_index":473,"t":{"193":{"position":[[131,4]]}}}],["joelmarcey",{"_index":478,"t":{"193":{"position":[[201,10],[242,10]]}}}],["js",{"_index":55,"t":{"157":{"position":[[5,2],[50,2]]},"183":{"position":[[302,2],[315,2]]},"185":{"position":[[86,2],[165,2]]},"187":{"position":[[41,2],[69,2]]},"199":{"position":[[93,2],[120,2]]},"216":{"position":[[92,2],[196,2]]},"224":{"position":[[25,2],[80,2]]},"230":{"position":[[93,2],[120,2]]}}}],["json",{"_index":498,"t":{"197":{"position":[[146,4]]}}}],["label",{"_index":440,"t":{"183":{"position":[[103,5],[149,5],[376,5]]},"220":{"position":[[329,5]]}}}],["languag",{"_index":599,"t":{"230":{"position":[[30,9]]}}}],["latest",{"_index":76,"t":{"159":{"position":[[171,6]]}}}],["layout",{"_index":136,"t":{"165":{"position":[[57,6]]},"187":{"position":[[106,6],[126,6],[185,6],[246,6]]}}}],["learn",{"_index":115,"t":{"163":{"position":[[14,7]]}}}],["less",{"_index":46,"t":{"153":{"position":[[29,4]]}}}],["line",{"_index":112,"t":{"161":{"position":[[408,5]]}}}],["link",{"_index":535,"t":{"210":{"position":[[220,5]]},"212":{"position":[[17,5]]}}}],["ll",{"_index":95,"t":{"161":{"position":[[176,2]]}}}],["local",{"_index":98,"t":{"161":{"position":[[262,7]]},"206":{"position":[[27,7]]},"224":{"position":[[54,6],[131,7]]},"228":{"position":[[30,6],[57,6],[72,9],[214,6]]},"230":{"position":[[47,6],[221,6]]},"232":{"position":[[31,6],[58,6],[106,7]]}}}],["localedropdown",{"_index":600,"t":{"230":{"position":[[185,14]]}}}],["localhost",{"_index":104,"t":{"161":{"position":[[346,9]]},"181":{"position":[[147,9]]},"185":{"position":[[92,9],[128,9],[171,9]]},"187":{"position":[[297,9]]},"189":{"position":[[159,9]]},"193":{"position":[[561,9]]},"197":{"position":[[208,9],[272,9]]},"201":{"position":[[117,9],[172,9]]},"206":{"position":[[91,9]]},"228":{"position":[[111,9]]}}}],["locat",{"_index":329,"t":{"173":{"position":[[356,8]]}}}],["logo",{"_index":544,"t":{"214":{"position":[[152,4]]}}}],["look",{"_index":123,"t":{"163":{"position":[[157,4]]}}}],["lorber",{"_index":483,"t":{"193":{"position":[[275,6]]}}}],["lorem",{"_index":11,"t":{"149":{"position":[[0,5],[152,5]]}}}],["made",{"_index":117,"t":{"163":{"position":[[51,4]]},"193":{"position":[[434,4]]}}}],["maintain",{"_index":484,"t":{"193":{"position":[[300,10]]}}}],["make",{"_index":562,"t":{"220":{"position":[[8,4]]}}}],["manag",{"_index":492,"t":{"195":{"position":[[15,6]]}}}],["marcey",{"_index":474,"t":{"193":{"position":[[136,6]]}}}],["markdown",{"_index":433,"t":{"181":{"position":[[9,8]]},"185":{"position":[[4,8]]},"189":{"position":[[30,8],[61,8],[83,8],[107,8],[177,8]]},"208":{"position":[[20,8]]},"210":{"position":[[0,8],[183,8],[200,8]]},"212":{"position":[[8,8]]},"214":{"position":[[8,8]]},"216":{"position":[[0,8]]},"220":{"position":[[94,8]]}}}],["matter",{"_index":530,"t":{"210":{"position":[[57,6]]}}}],["md",{"_index":109,"t":{"161":{"position":[[379,2]]},"181":{"position":[[37,2],[52,2]]},"183":{"position":[[134,2]]},"185":{"position":[[122,2]]},"189":{"position":[[44,2],[75,2]]},"193":{"position":[[43,2],[73,2]]},"201":{"position":[[99,2],[154,2]]},"210":{"position":[[72,2],[235,2]]},"212":{"position":[[177,2]]},"222":{"position":[[27,2]]},"226":{"position":[[20,2],[122,2],[178,2],[244,2]]}}}],["mdx",{"_index":561,"t":{"220":{"position":[[0,3]]}}}],["metadata",{"_index":439,"t":{"183":{"position":[[69,8]]},"210":{"position":[[24,8]]}}}],["minut",{"_index":48,"t":{"153":{"position":[[41,7]]},"163":{"position":[[141,7]]}}}],["mkdir",{"_index":590,"t":{"226":{"position":[[51,5]]}}}],["mock",{"_index":333,"t":{"173":{"position":[[421,6]]}}}],["modifi",{"_index":504,"t":{"199":{"position":[[64,6]]},"224":{"position":[[0,6]]},"230":{"position":[[64,6]]}}}],["modul",{"_index":447,"t":{"183":{"position":[[318,6]]},"199":{"position":[[123,6]]},"224":{"position":[[83,6]]},"230":{"position":[[123,6]]}}}],["more",{"_index":120,"t":{"163":{"position":[[114,4],[136,4]]},"220":{"position":[[32,4]]}}}],["much",{"_index":119,"t":{"163":{"position":[[109,4]]},"193":{"position":[[503,4]]}}}],["multipl",{"_index":493,"t":{"195":{"position":[[22,8]]}}}],["mycompon",{"_index":294,"t":{"171":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"173":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["myreactpag",{"_index":458,"t":{"187":{"position":[[159,11]]}}}],["name",{"_index":472,"t":{"193":{"position":[[125,4],[259,4]]}}}],["navbar",{"_index":507,"t":{"199":{"position":[[157,6],[264,6]]},"230":{"position":[[157,6],[257,6]]}}}],["navig",{"_index":96,"t":{"161":{"position":[[187,8]]},"179":{"position":[[73,10]]},"199":{"position":[[3,8]]},"230":{"position":[[3,8]]}}}],["necessari",{"_index":85,"t":{"159":{"position":[[350,9]]}}}],["need",{"_index":86,"t":{"159":{"position":[[377,4]]},"161":{"position":[[179,4]]}}}],["new",{"_index":50,"t":{"155":{"position":[[26,3],[82,3]]},"159":{"position":[[11,3]]},"171":{"position":[[347,3]]},"181":{"position":[[107,3]]},"187":{"position":[[261,3]]},"189":{"position":[[123,3]]},"193":{"position":[[520,3]]}}}],["newli",{"_index":94,"t":{"161":{"position":[[141,5]]}}}],["next",{"_index":327,"t":{"173":{"position":[[238,4],[382,4],[603,4]]},"179":{"position":[[68,4]]},"197":{"position":[[292,4]]},"201":{"position":[[192,4]]}}}],["node",{"_index":54,"t":{"157":{"position":[[0,4],[45,4]]}}}],["now",{"_index":436,"t":{"181":{"position":[[123,3]]},"187":{"position":[[273,3]]},"189":{"position":[[135,3]]},"193":{"position":[[537,3]]},"197":{"position":[[173,3]]},"206":{"position":[[70,3],[116,3]]},"230":{"position":[[237,3]]}}}],["npm",{"_index":74,"t":{"159":{"position":[[151,3]]},"161":{"position":[[42,3],[220,3]]},"197":{"position":[[39,3]]},"205":{"position":[[32,3]]},"206":{"position":[[36,3]]},"228":{"position":[[38,3]]},"232":{"position":[[39,3],[123,3]]}}}],["number",{"_index":197,"t":{"169":{"position":[[107,6],[118,6],[127,6]]}}}],["offer",{"_index":121,"t":{"163":{"position":[[122,5]]}}}],["offici",{"_index":132,"t":{"165":{"position":[[9,8]]}}}],["on",{"_index":596,"t":{"228":{"position":[[210,3]]}}}],["onc",{"_index":603,"t":{"232":{"position":[[117,4]]}}}],["onchang",{"_index":308,"t":{"171":{"position":[[479,8],[658,8]]}}}],["onclick",{"_index":578,"t":{"220":{"position":[[269,7]]}}}],["open",{"_index":106,"t":{"161":{"position":[[363,4]]}}}],["option",{"_index":557,"t":{"218":{"position":[[107,6],[199,6]]}}}],["order",{"_index":93,"t":{"161":{"position":[[117,5]]}}}],["p",{"_index":460,"t":{"187":{"position":[[217,1],[241,1]]},"226":{"position":[[58,1]]}}}],["pad",{"_index":574,"t":{"220":{"position":[[230,7]]}}}],["page",{"_index":110,"t":{"161":{"position":[[388,4]]},"179":{"position":[[24,5]]},"185":{"position":[[35,5],[64,4],[74,5],[112,5],[151,5]]},"187":{"position":[[21,5],[36,4],[49,5],[64,4],[206,4],[235,4],[265,4],[321,4]]},"189":{"position":[[21,5],[39,4],[52,5],[70,4],[92,4],[116,4],[127,4],[186,4]]},"191":{"position":[[21,4],[68,4]]},"212":{"position":[[105,4],[121,4],[155,4],[172,4],[216,4]]},"228":{"position":[[154,4]]}}}],["path",{"_index":537,"t":{"212":{"position":[[48,5],[71,5]]},"214":{"position":[[60,5]]}}}],["pathnam",{"_index":330,"t":{"173":{"position":[[365,8]]}}}],["pellentesqu",{"_index":19,"t":{"149":{"position":[[57,12]]}}}],["play",{"_index":490,"t":{"193":{"position":[[469,4]]}}}],["pleas",{"_index":129,"t":{"163":{"position":[[230,6]]}}}],["plugin",{"_index":31,"t":{"151":{"position":[[38,6]]},"226":{"position":[[79,6],[144,6],[210,6]]}}}],["png",{"_index":481,"t":{"193":{"position":[[253,3],[382,3]]},"214":{"position":[[133,3],[174,3]]}}}],["pointer",{"_index":577,"t":{"220":{"position":[[256,7]]}}}],["posit",{"_index":441,"t":{"183":{"position":[[113,8],[170,8]]}}}],["possibl",{"_index":445,"t":{"183":{"position":[[247,8]]},"201":{"position":[[6,8]]}}}],["post",{"_index":7,"t":{"147":{"position":[[83,4]]},"191":{"position":[[40,4]]},"193":{"position":[[450,4],[495,4],[529,4]]}}}],["power",{"_index":30,"t":{"151":{"position":[[18,7]]}}}],["powershel",{"_index":80,"t":{"159":{"position":[[244,10]]}}}],["previou",{"_index":432,"t":{"179":{"position":[[59,8]]}}}],["product",{"_index":518,"t":{"205":{"position":[[20,10]]},"206":{"position":[[10,10]]}}}],["project",{"_index":71,"t":{"159":{"position":[[116,7]]},"197":{"position":[[30,7]]}}}],["prompt",{"_index":79,"t":{"159":{"position":[[236,6]]}}}],["prop",{"_index":355,"t":{"173":{"position":[[1033,4]]}}}],["push",{"_index":326,"t":{"173":{"position":[[231,4],[553,4]]}}}],["re",{"_index":91,"t":{"161":{"position":[[97,2]]}}}],["react",{"_index":170,"t":{"167":{"position":[[129,5]]},"173":{"position":[[624,5]]},"175":{"position":[[162,5]]},"185":{"position":[[16,5]]},"187":{"position":[[30,5],[58,5],[79,5],[91,5],[200,5],[229,5],[315,5]]},"220":{"position":[[70,5]]}}}],["read",{"_index":131,"t":{"165":{"position":[[0,4]]},"206":{"position":[[197,4]]}}}],["readi",{"_index":101,"t":{"161":{"position":[[314,5]]}}}],["recommend",{"_index":60,"t":{"157":{"position":[[62,11]]}}}],["redux",{"_index":398,"t":{"175":{"position":[[169,5]]}}}],["refer",{"_index":542,"t":{"214":{"position":[[69,9],[187,9]]}}}],["regular",{"_index":536,"t":{"212":{"position":[[0,7]]},"214":{"position":[[0,7]]}}}],["rel",{"_index":538,"t":{"212":{"position":[[57,8]]},"214":{"position":[[204,8]]}}}],["relat",{"_index":63,"t":{"157":{"position":[[98,7]]}}}],["releas",{"_index":494,"t":{"197":{"position":[[0,7]]}}}],["reload",{"_index":113,"t":{"161":{"position":[[424,7]]}}}],["report",{"_index":130,"t":{"163":{"position":[[237,6]]}}}],["resiz",{"_index":297,"t":{"171":{"position":[[233,6],[358,6]]}}}],["respect",{"_index":510,"t":{"201":{"position":[[47,10]]}}}],["result",{"_index":540,"t":{"212":{"position":[[182,6]]}}}],["return",{"_index":199,"t":{"169":{"position":[[136,6],[192,6]]},"171":{"position":[[464,6]]},"173":{"position":[[740,6]]},"187":{"position":[[175,6]]},"216":{"position":[[124,6],[228,6]]}}}],["rhoncu",{"_index":24,"t":{"149":{"position":[[107,7]]}}}],["rss",{"_index":463,"t":{"191":{"position":[[91,3]]}}}],["run",{"_index":72,"t":{"159":{"position":[[134,3],[385,3]]},"161":{"position":[[0,3],[46,3],[224,3]]},"197":{"position":[[43,3]]},"205":{"position":[[36,3]]},"206":{"position":[[40,3]]},"228":{"position":[[42,3]]},"232":{"position":[[43,3],[127,3]]}}}],["s",{"_index":44,"t":{"153":{"position":[[4,1]]},"193":{"position":[[265,1]]},"212":{"position":[[82,1],[132,1],[194,1]]},"222":{"position":[[4,1]]}}}],["same",{"_index":597,"t":{"228":{"position":[[226,4]]}}}],["seamlessli",{"_index":502,"t":{"199":{"position":[[12,10]]},"230":{"position":[[12,10]]}}}],["search",{"_index":137,"t":{"165":{"position":[[70,6]]}}}],["sebastienlorb",{"_index":485,"t":{"193":{"position":[[324,15]]}}}],["see",{"_index":539,"t":{"212":{"position":[[84,3],[134,3],[196,3]]}}}],["serv",{"_index":99,"t":{"161":{"position":[[274,6]]},"206":{"position":[[44,5],[74,6]]}}}],["server",{"_index":88,"t":{"161":{"position":[[20,6],[306,6]]}}}],["setstat",{"_index":345,"t":{"173":{"position":[[716,8]]}}}],["shallow",{"_index":312,"t":{"171":{"position":[[603,7]]},"173":{"position":[[924,7]]}}}],["showcas",{"_index":141,"t":{"165":{"position":[[117,8]]}}}],["shown",{"_index":545,"t":{"214":{"position":[[245,5]]}}}],["sidebar",{"_index":431,"t":{"179":{"position":[[51,7]]},"183":{"position":[[35,7],[95,7],[141,7],[162,7],[271,7],[293,8],[306,8]]}}}],["sidebar_label",{"_index":442,"t":{"183":{"position":[[141,13]]}}}],["sidebar_posit",{"_index":444,"t":{"183":{"position":[[162,16]]}}}],["simpl",{"_index":43,"t":{"151":{"position":[[179,6]]},"203":{"position":[[85,6]]}}}],["simpli",{"_index":32,"t":{"151":{"position":[[46,6]]}}}],["sit",{"_index":14,"t":{"149":{"position":[[18,3],[170,3]]}}}],["site",{"_index":51,"t":{"155":{"position":[[30,4]]},"159":{"position":[[26,4]]},"161":{"position":[[166,4],[419,4]]},"203":{"position":[[23,4],[77,4]]},"205":{"position":[[11,4]]},"228":{"position":[[11,4],[82,4]]},"232":{"position":[[11,4],[82,4]]}}}],["slorber",{"_index":486,"t":{"193":{"position":[[374,7]]}}}],["slug",{"_index":469,"t":{"193":{"position":[[80,4]]},"210":{"position":[[155,4]]}}}],["small",{"_index":523,"t":{"206":{"position":[[185,5]]}}}],["someth",{"_index":353,"t":{"173":{"position":[[963,9]]}}}],["span",{"_index":568,"t":{"220":{"position":[[155,4],[366,4]]}}}],["spec",{"_index":200,"t":{"169":{"position":[[160,4]]},"171":{"position":[[289,4],[549,4]]},"173":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["special",{"_index":552,"t":{"218":{"position":[[17,7]]}}}],["specif",{"_index":601,"t":{"232":{"position":[[22,8]]}}}],["spyon",{"_index":340,"t":{"173":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":339,"t":{"173":{"position":[[513,16],[568,16]]}}}],["src",{"_index":451,"t":{"185":{"position":[[31,3],[70,3],[108,3],[147,3]]},"187":{"position":[[17,3],[45,3]]},"189":{"position":[[17,3],[48,3]]},"216":{"position":[[61,3],[165,3]]}}}],["standalon",{"_index":452,"t":{"185":{"position":[[53,10]]}}}],["start",{"_index":49,"t":{"155":{"position":[[4,7]]},"161":{"position":[[50,5],[228,5]]},"228":{"position":[[0,5],[46,5],[146,7]]}}}],["state",{"_index":349,"t":{"173":{"position":[[776,5],[1204,5]]}}}],["static",{"_index":512,"t":{"203":{"position":[[16,6],[92,6]]},"205":{"position":[[50,6]]},"214":{"position":[[93,6],[111,6]]}}}],["string",{"_index":306,"t":{"171":{"position":[[438,6]]}}}],["style",{"_index":569,"t":{"220":{"position":[[160,5]]}}}],["support",{"_index":36,"t":{"151":{"position":[[89,8]]},"208":{"position":[[11,8]]},"212":{"position":[[27,9]]},"214":{"position":[[28,9]]},"216":{"position":[[25,9]]},"224":{"position":[[35,7]]}}}],["syntax",{"_index":548,"t":{"216":{"position":[[40,6]]},"218":{"position":[[25,6]]}}}],["system",{"_index":462,"t":{"191":{"position":[[80,6]]}}}],["t",{"_index":41,"t":{"151":{"position":[[150,1]]}}}],["tag",{"_index":37,"t":{"151":{"position":[[98,4]]},"191":{"position":[[76,3]]},"193":{"position":[[386,4]]}}}],["take",{"_index":122,"t":{"163":{"position":[[150,4]]},"218":{"position":[[128,4],[206,4]]}}}],["templat",{"_index":68,"t":{"159":{"position":[[49,8],[71,8]]},"163":{"position":[[84,8]]}}}],["tempor",{"_index":25,"t":{"149":{"position":[[121,6]]}}}],["termin",{"_index":81,"t":{"159":{"position":[[256,8],[290,8]]},"161":{"position":[[200,8]]}}}],["test",{"_index":6,"t":{"147":{"position":[[78,4]]},"167":{"position":[[51,5]]},"169":{"position":[[169,4]]},"171":{"position":[[298,4],[559,4]]},"173":{"position":[[298,4],[479,4],[880,4]]},"206":{"position":[[0,4]]}}}],["text",{"_index":534,"t":{"210":{"position":[[209,4]]}}}],["theme",{"_index":456,"t":{"187":{"position":[[120,5]]}}}],["themeconfig",{"_index":506,"t":{"199":{"position":[[142,11]]},"230":{"position":[[142,11]]}}}],["through",{"_index":100,"t":{"161":{"position":[[284,7]]},"179":{"position":[[40,7]]}}}],["time",{"_index":598,"t":{"228":{"position":[[231,4]]}}}],["tip",{"_index":555,"t":{"218":{"position":[[71,3],[78,3],[170,3]]}}}],["titl",{"_index":470,"t":{"193":{"position":[[96,5],[143,5],[282,5]]},"210":{"position":[[93,5],[112,5]]}}}],["tobe",{"_index":204,"t":{"169":{"position":[[229,4],[297,4]]},"173":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":341,"t":{"173":{"position":[[586,14]]}}}],["top",{"_index":528,"t":{"210":{"position":[[40,3]]}}}],["translat",{"_index":585,"t":{"222":{"position":[[6,9]]},"226":{"position":[[181,9]]},"228":{"position":[[162,10]]}}}],["tri",{"_index":52,"t":{"155":{"position":[[39,3]]}}}],["trigger",{"_index":354,"t":{"173":{"position":[[973,7]]}}}],["ts",{"_index":195,"t":{"169":{"position":[[87,2],[165,2]]},"171":{"position":[[204,2],[294,2]]},"173":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":302,"t":{"171":{"position":[[404,3],[554,3]]},"173":{"position":[[653,3],[875,3],[1173,3]]}}}],["tutori",{"_index":128,"t":{"163":{"position":[[220,8]]},"183":{"position":[[384,8]]}}}],["tutorialsidebar",{"_index":449,"t":{"183":{"position":[[337,15]]}}}],["type",{"_index":78,"t":{"159":{"position":[[205,4]]},"183":{"position":[[358,4]]},"199":{"position":[[178,4]]},"230":{"position":[[178,4]]}}}],["typescript",{"_index":168,"t":{"167":{"position":[[111,10]]}}}],["ultrici",{"_index":22,"t":{"149":{"position":[[90,9]]}}}],["unclear",{"_index":126,"t":{"163":{"position":[[195,7]]}}}],["unit",{"_index":151,"t":{"167":{"position":[[46,4]]}}}],["unreleas",{"_index":501,"t":{"197":{"position":[[316,10]]}}}],["upcom",{"_index":500,"t":{"197":{"position":[[306,8]]}}}],["updat",{"_index":511,"t":{"201":{"position":[[102,7],[157,7]]}}}],["url",{"_index":328,"t":{"173":{"position":[[243,3],[387,3],[608,3]]},"193":{"position":[[177,3],[218,3],[311,3],[350,3]]},"210":{"position":[[172,3]]},"212":{"position":[[44,3]]}}}],["us",{"_index":66,"t":{"159":{"position":[[31,5]]},"212":{"position":[[38,5]]},"214":{"position":[[47,3]]},"218":{"position":[[82,3],[174,3]]},"220":{"position":[[60,5]]},"228":{"position":[[206,3]]}}}],["valid",{"_index":343,"t":{"173":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":305,"t":{"171":{"position":[[431,5],[676,5]]}}}],["veri",{"_index":522,"t":{"206":{"position":[[180,4]]}}}],["version",{"_index":56,"t":{"157":{"position":[[8,7]]},"163":{"position":[[165,10]]},"179":{"position":[[84,10]]},"195":{"position":[[31,8]]},"197":{"position":[[10,7],[63,7],[106,9],[121,7],[137,8],[184,8],[237,7]]},"199":{"position":[[30,8],[46,7],[231,7]]},"201":{"position":[[23,9],[66,9],[81,7]]}}}],["versioned_doc",{"_index":497,"t":{"197":{"position":[[106,14]]},"201":{"position":[[66,14]]}}}],["view",{"_index":102,"t":{"161":{"position":[[331,4]]}}}],["void",{"_index":307,"t":{"171":{"position":[[447,4]]},"173":{"position":[[216,4],[701,4]]}}}],["wangshenwei",{"_index":147,"t":{"167":{"position":[[17,11]]}}}],["want",{"_index":42,"t":{"151":{"position":[[152,4]]}}}],["websit",{"_index":77,"t":{"159":{"position":[[181,7]]},"161":{"position":[[34,7],[254,7]]}}}],["welcom",{"_index":0,"t":{"147":{"position":[[0,7]]}}}],["well",{"_index":38,"t":{"151":{"position":[[106,4]]},"214":{"position":[[236,4]]}}}],["whole",{"_index":8,"t":{"147":{"position":[[91,5]]},"151":{"position":[[123,5]]}}}],["window",{"_index":295,"t":{"171":{"position":[[208,6],[326,6]]}}}],["work",{"_index":92,"t":{"161":{"position":[[100,7],[126,4]]}}}],["wrapper",{"_index":311,"t":{"171":{"position":[[593,7],[629,7]]},"173":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":149,"t":{"167":{"position":[[33,7]]}}}],["一个",{"_index":187,"t":{"169":{"position":[[32,2],[69,2]]},"171":{"position":[[179,2],[382,2]]},"173":{"position":[[163,2],[621,2],[1139,2]]},"175":{"position":[[196,2]]}}}],["万物",{"_index":152,"t":{"167":{"position":[[61,2]]}}}],["三条",{"_index":421,"t":{"177":{"position":[[15,2]]}}}],["上述",{"_index":216,"t":{"169":{"position":[[332,2]]}}}],["下来",{"_index":420,"t":{"177":{"position":[[11,2]]}}}],["不再",{"_index":235,"t":{"169":{"position":[[434,2]]}}}],["不同",{"_index":259,"t":{"169":{"position":[[575,2],[585,2]]},"177":{"position":[[34,2]]}}}],["不断",{"_index":373,"t":{"175":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":362,"t":{"173":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":211,"t":{"169":{"position":[[317,2]]},"175":{"position":[[35,2]]}}}],["中",{"_index":320,"t":{"173":{"position":[[63,1]]}}}],["主动",{"_index":298,"t":{"171":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":400,"t":{"175":{"position":[[176,2]]}}}],["主要",{"_index":166,"t":{"167":{"position":[[106,2]]}}}],["之后",{"_index":246,"t":{"169":{"position":[[505,2]]}}}],["事件",{"_index":226,"t":{"169":{"position":[[368,2]]},"171":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":412,"t":{"175":{"position":[[226,2]]}}}],["以上",{"_index":424,"t":{"177":{"position":[[64,2]]}}}],["以下",{"_index":164,"t":{"167":{"position":[[103,2]]},"171":{"position":[[35,2]]},"173":{"position":[[31,2]]}}}],["任务",{"_index":289,"t":{"171":{"position":[[145,2]]}}}],["例子",{"_index":194,"t":{"169":{"position":[[75,2],[334,2]]},"171":{"position":[[184,2],[384,2]]},"173":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":276,"t":{"171":{"position":[[79,2]]},"173":{"position":[[75,2]]}}}],["依然",{"_index":293,"t":{"171":{"position":[[176,2]]}}}],["依赖",{"_index":271,"t":{"171":{"position":[[50,2],[510,2],[524,2]]},"173":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":418,"t":{"175":{"position":[[250,2]]}}}],["值",{"_index":322,"t":{"173":{"position":[[121,1]]}}}],["做",{"_index":255,"t":{"169":{"position":[[554,1]]},"171":{"position":[[159,1]]},"173":{"position":[[139,1]]}}}],["充分",{"_index":193,"t":{"169":{"position":[[61,2]]}}}],["关于",{"_index":174,"t":{"167":{"position":[[148,2]]}}}],["关键",{"_index":387,"t":{"175":{"position":[[106,2]]}}}],["其中",{"_index":407,"t":{"175":{"position":[[194,2]]}}}],["其它",{"_index":279,"t":{"171":{"position":[[90,2]]},"173":{"position":[[86,2]]}}}],["其实",{"_index":181,"t":{"169":{"position":[[11,2]]}}}],["内容",{"_index":425,"t":{"177":{"position":[[66,2]]}}}],["内部",{"_index":363,"t":{"173":{"position":[[1117,2],[1124,2]]},"175":{"position":[[46,2]]}}}],["几种",{"_index":269,"t":{"171":{"position":[[37,2]]},"173":{"position":[[33,2]]}}}],["函数",{"_index":222,"t":{"169":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":261,"t":{"169":{"position":[[599,2]]}}}],["判断",{"_index":352,"t":{"173":{"position":[[843,2]]}}}],["前端",{"_index":389,"t":{"175":{"position":[[113,2]]}}}],["前面",{"_index":252,"t":{"169":{"position":[[526,2]]}}}],["副作用",{"_index":232,"t":{"169":{"position":[[409,3]]},"171":{"position":[[113,3]]},"173":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":291,"t":{"171":{"position":[[164,2]]},"173":{"position":[[144,2]]}}}],["化",{"_index":390,"t":{"175":{"position":[[117,1]]}}}],["化繁为简",{"_index":249,"t":{"169":{"position":[[513,4]]}}}],["单一化",{"_index":411,"t":{"175":{"position":[[222,3]]}}}],["单元",{"_index":214,"t":{"169":{"position":[[328,2]]},"175":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":157,"t":{"167":{"position":[[80,4],[98,4],[150,4]]},"169":{"position":[[2,4],[36,4],[246,4],[547,4]]},"175":{"position":[[22,4],[76,4],[232,4]]},"177":{"position":[[5,4]]}}}],["单向",{"_index":404,"t":{"175":{"position":[[186,2]]}}}],["即可",{"_index":287,"t":{"171":{"position":[[136,2]]},"173":{"position":[[122,2]]}}}],["厘清",{"_index":257,"t":{"169":{"position":[[558,2]]}}}],["原因",{"_index":408,"t":{"175":{"position":[[198,2]]}}}],["参数",{"_index":223,"t":{"169":{"position":[[358,2]]},"171":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":272,"t":{"171":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":318,"t":{"173":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":395,"t":{"175":{"position":[[150,2]]}}}],["变量",{"_index":270,"t":{"171":{"position":[[43,2],[121,2]]},"173":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":358,"t":{"173":{"position":[[1098,2]]}}}],["可以",{"_index":248,"t":{"169":{"position":[[511,2]]},"171":{"position":[[10,2],[93,2],[103,2]]},"173":{"position":[[10,2],[89,2],[259,2],[432,2]]},"175":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":224,"t":{"169":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":410,"t":{"175":{"position":[[208,2]]}}}],["合理",{"_index":393,"t":{"175":{"position":[[127,2]]}}}],["同时",{"_index":414,"t":{"175":{"position":[[240,2]]}}}],["回归",{"_index":251,"t":{"169":{"position":[[523,2]]}}}],["因为",{"_index":365,"t":{"173":{"position":[[1122,2]]}}}],["因此",{"_index":227,"t":{"169":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":240,"t":{"169":{"position":[[467,2]]}}}],["地",{"_index":316,"t":{"173":{"position":[[15,1],[116,1]]},"175":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":191,"t":{"169":{"position":[[56,2],[319,2],[379,2]]},"171":{"position":[[24,2]]}}}],["基于",{"_index":167,"t":{"167":{"position":[[108,2]]}}}],["基本",{"_index":179,"t":{"169":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":175,"t":{"167":{"position":[[155,4]]}}}],["增大",{"_index":277,"t":{"171":{"position":[[81,2]]},"173":{"position":[[77,2]]}}}],["增长",{"_index":374,"t":{"175":{"position":[[41,2]]}}}],["备注",{"_index":144,"t":{"167":{"position":[[0,2]]}}}],["复杂",{"_index":217,"t":{"169":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":376,"t":{"175":{"position":[[52,3]]}}}],["复杂度",{"_index":275,"t":{"171":{"position":[[76,3]]},"173":{"position":[[72,3]]}}}],["外界",{"_index":282,"t":{"171":{"position":[[110,2]]},"173":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":225,"t":{"169":{"position":[[365,2],[465,2]]},"171":{"position":[[48,2],[97,2],[151,2]]},"173":{"position":[[52,2]]}}}],["多",{"_index":218,"t":{"169":{"position":[[339,1]]},"171":{"position":[[22,1]]}}}],["多样化",{"_index":378,"t":{"175":{"position":[[67,3]]}}}],["大家",{"_index":426,"t":{"177":{"position":[[69,2]]}}}],["大致",{"_index":268,"t":{"171":{"position":[[32,2]]},"173":{"position":[[28,2]]}}}],["大道至简",{"_index":154,"t":{"167":{"position":[[66,4]]}}}],["如下",{"_index":207,"t":{"169":{"position":[[253,2]]}}}],["如今",{"_index":388,"t":{"175":{"position":[[110,2]]}}}],["如何",{"_index":161,"t":{"167":{"position":[[91,2]]},"171":{"position":[[258,2],[506,2]]},"173":{"position":[[252,2],[838,2]]}}}],["始",{"_index":153,"t":{"167":{"position":[[64,1]]}}}],["始终",{"_index":356,"t":{"173":{"position":[[1073,2]]}}}],["它们",{"_index":262,"t":{"169":{"position":[[603,2]]},"171":{"position":[[73,2]]},"173":{"position":[[65,2]]},"175":{"position":[[202,2]]}}}],["完成",{"_index":288,"t":{"171":{"position":[[138,2]]}}}],["实际",{"_index":370,"t":{"175":{"position":[[30,2]]}}}],["容易",{"_index":315,"t":{"173":{"position":[[13,2]]},"175":{"position":[[15,2]]}}}],["对",{"_index":321,"t":{"173":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"177":{"position":[[68,1]]}}}],["对于",{"_index":283,"t":{"171":{"position":[[117,2],[149,2]]},"173":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":361,"t":{"173":{"position":[[1108,2]]}}}],["对外部",{"_index":231,"t":{"169":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":238,"t":{"169":{"position":[[460,2],[481,2],[562,2]]},"173":{"position":[[1082,2],[1133,2]]},"177":{"position":[[23,2]]}}}],["将",{"_index":165,"t":{"167":{"position":[[105,1]]},"169":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":265,"t":{"171":{"position":[[14,1]]},"175":{"position":[[153,1]]}}}],["尝试",{"_index":155,"t":{"167":{"position":[[74,2]]}}}],["尤为重要",{"_index":392,"t":{"175":{"position":[[122,4]]}}}],["就",{"_index":247,"t":{"169":{"position":[[510,1]]}}}],["就是",{"_index":256,"t":{"169":{"position":[[556,2]]},"171":{"position":[[161,2]]},"173":{"position":[[141,2]]},"175":{"position":[[200,2]]},"177":{"position":[[13,2]]}}}],["工具",{"_index":402,"t":{"175":{"position":[[181,2]]}}}],["巧妙",{"_index":409,"t":{"175":{"position":[[204,2]]}}}],["希望",{"_index":423,"t":{"177":{"position":[[62,2]]}}}],["帮助",{"_index":428,"t":{"177":{"position":[[73,2]]}}}],["应该",{"_index":360,"t":{"173":{"position":[[1105,2]]}}}],["当然",{"_index":209,"t":{"169":{"position":[[312,2]]}}}],["形式",{"_index":260,"t":{"169":{"position":[[577,2],[587,2]]},"175":{"position":[[61,2]]}}}],["形态",{"_index":317,"t":{"173":{"position":[[26,2]]},"175":{"position":[[63,2]]},"177":{"position":[[36,2]]}}}],["影响",{"_index":237,"t":{"169":{"position":[[456,2],[492,2]]},"173":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"175":{"position":[[220,2]]}}}],["往往",{"_index":369,"t":{"175":{"position":[[28,2]]}}}],["思想",{"_index":158,"t":{"167":{"position":[[84,2]]}}}],["总结",{"_index":419,"t":{"177":{"position":[[9,2]]}}}],["情况",{"_index":371,"t":{"175":{"position":[[32,2]]}}}],["想",{"_index":290,"t":{"171":{"position":[[163,1]]},"173":{"position":[[143,1]]}}}],["我们",{"_index":205,"t":{"169":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"171":{"position":[[8,2],[126,2],[156,2],[174,2]]},"173":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"175":{"position":[[10,2]]}}}],["或者",{"_index":332,"t":{"173":{"position":[[414,2]]}}}],["所以",{"_index":253,"t":{"169":{"position":[[540,2]]}}}],["所有",{"_index":229,"t":{"169":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":384,"t":{"175":{"position":[[96,2],[129,2]]},"177":{"position":[[59,2]]}}}],["掌握",{"_index":258,"t":{"169":{"position":[[571,2]]},"177":{"position":[[32,2]]}}}],["探讨",{"_index":160,"t":{"167":{"position":[[89,2]]}}}],["推崇",{"_index":403,"t":{"175":{"position":[[183,2]]}}}],["提到",{"_index":234,"t":{"169":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":415,"t":{"175":{"position":[[242,2]]}}}],["操作",{"_index":274,"t":{"171":{"position":[[62,2]]}}}],["数据流",{"_index":405,"t":{"175":{"position":[[188,3]]}}}],["断言",{"_index":185,"t":{"169":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"173":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"177":{"position":[[47,2]]}}}],["方法",{"_index":180,"t":{"169":{"position":[[9,2],[535,2],[593,2]]},"177":{"position":[[50,2]]}}}],["时",{"_index":417,"t":{"175":{"position":[[248,1]]}}}],["时间",{"_index":266,"t":{"171":{"position":[[16,2]]}}}],["是不是",{"_index":208,"t":{"169":{"position":[[305,3]]}}}],["是否",{"_index":337,"t":{"173":{"position":[[444,2]]}}}],["普通",{"_index":221,"t":{"169":{"position":[[351,2],[391,2]]},"171":{"position":[[41,2],[119,2]]},"173":{"position":[[37,2],[103,2]]}}}],["更",{"_index":264,"t":{"171":{"position":[[13,1],[21,1]]},"173":{"position":[[12,1]]},"175":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":219,"t":{"169":{"position":[[344,2],[384,2]]},"175":{"position":[[65,2]]}}}],["有所",{"_index":427,"t":{"177":{"position":[[71,2]]}}}],["有时",{"_index":331,"t":{"173":{"position":[[398,2]]}}}],["本文",{"_index":145,"t":{"167":{"position":[[3,2],[72,2],[165,2]]}}}],["来源",{"_index":267,"t":{"171":{"position":[[30,2]]},"175":{"position":[[215,2]]}}}],["来自",{"_index":281,"t":{"171":{"position":[[108,2]]}}}],["构造",{"_index":285,"t":{"171":{"position":[[130,2]]}}}],["框架",{"_index":401,"t":{"175":{"position":[[178,2]]}}}],["模式",{"_index":391,"t":{"175":{"position":[[119,2]]}}}],["正确",{"_index":338,"t":{"173":{"position":[[447,2]]}}}],["步骤",{"_index":206,"t":{"169":{"position":[[251,2]]}}}],["每个",{"_index":394,"t":{"175":{"position":[[138,2]]}}}],["测试",{"_index":213,"t":{"169":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"171":{"position":[[69,2]]},"173":{"position":[[61,2],[1080,2],[1131,2]]},"175":{"position":[[140,2]]},"177":{"position":[[21,2]]}}}],["点",{"_index":336,"t":{"173":{"position":[[443,1]]}}}],["特定",{"_index":310,"t":{"171":{"position":[[515,2]]}}}],["状态",{"_index":364,"t":{"173":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":236,"t":{"169":{"position":[[437,2]]}}}],["理解",{"_index":245,"t":{"169":{"position":[[503,2]]},"171":{"position":[[105,2]]}}}],["监视",{"_index":335,"t":{"173":{"position":[[434,2]]}}}],["盛行",{"_index":406,"t":{"175":{"position":[[191,2]]}}}],["目标",{"_index":359,"t":{"173":{"position":[[1103,2]]}}}],["看作",{"_index":280,"t":{"171":{"position":[[95,2]]},"173":{"position":[[91,2]]}}}],["真实",{"_index":210,"t":{"169":{"position":[[315,2]]}}}],["着手",{"_index":159,"t":{"167":{"position":[[86,2]]}}}],["示例",{"_index":173,"t":{"167":{"position":[[145,2]]}}}],["称之为",{"_index":242,"t":{"169":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":278,"t":{"171":{"position":[[86,3]]},"173":{"position":[[82,3]]}}}],["等",{"_index":399,"t":{"175":{"position":[[175,1]]}}}],["简单",{"_index":156,"t":{"167":{"position":[[77,2]]},"169":{"position":[[14,2],[45,2],[72,2],[309,2]]},"171":{"position":[[2,2],[181,2]]},"173":{"position":[[2,2],[114,2],[165,2]]},"175":{"position":[[1,2]]}}}],["组件",{"_index":309,"t":{"171":{"position":[[512,2],[526,2]]},"173":{"position":[[630,2],[847,2]]},"175":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":230,"t":{"169":{"position":[[398,2],[421,2]]},"173":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":172,"t":{"167":{"position":[[143,2]]}}}],["给定",{"_index":182,"t":{"169":{"position":[[18,2],[257,2]]},"171":{"position":[[140,2]]}}}],["继续",{"_index":323,"t":{"173":{"position":[[160,2]]}}}],["编写",{"_index":162,"t":{"167":{"position":[[93,2]]},"169":{"position":[[0,2],[244,2],[542,2]]},"171":{"position":[[67,2]]},"175":{"position":[[18,2],[74,2],[230,2]]},"177":{"position":[[0,2]]}}}],["聚焦",{"_index":396,"t":{"175":{"position":[[156,2]]}}}],["良好",{"_index":163,"t":{"167":{"position":[[95,2]]},"169":{"position":[[544,2]]},"177":{"position":[[2,2]]}}}],["花",{"_index":263,"t":{"171":{"position":[[12,1]]}}}],["范围",{"_index":178,"t":{"167":{"position":[[169,2]]}}}],["行为",{"_index":239,"t":{"169":{"position":[[462,2]]}}}],["要",{"_index":212,"t":{"169":{"position":[[324,1],[553,1]]},"171":{"position":[[158,1]]},"173":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":188,"t":{"169":{"position":[[41,2]]}}}],["覆盖",{"_index":189,"t":{"169":{"position":[[49,2],[375,2],[573,2]]},"171":{"position":[[19,2],[71,2],[260,2],[508,2]]},"177":{"position":[[42,2]]}}}],["解决",{"_index":385,"t":{"175":{"position":[[99,2]]}}}],["触发",{"_index":292,"t":{"171":{"position":[[166,2],[522,2]]},"173":{"position":[[441,2]]}}}],["警告",{"_index":595,"t":{"228":{"position":[[174,2]]}}}],["讨论",{"_index":177,"t":{"167":{"position":[[167,2]]},"169":{"position":[[601,2]]}}}],["记得",{"_index":357,"t":{"173":{"position":[[1075,2]]}}}],["识别",{"_index":422,"t":{"177":{"position":[[19,2]]}}}],["诸如",{"_index":397,"t":{"175":{"position":[[159,2]]}}}],["调用",{"_index":319,"t":{"173":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":190,"t":{"169":{"position":[[51,2]]},"171":{"position":[[0,2]]},"173":{"position":[[0,2]]}}}],["转载自",{"_index":146,"t":{"167":{"position":[[5,3]]}}}],["输入",{"_index":183,"t":{"169":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"171":{"position":[[5,2],[27,2],[142,2]]},"175":{"position":[[4,2],[213,2]]},"177":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":377,"t":{"175":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":186,"t":{"169":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"173":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"175":{"position":[[7,2],[218,2]]},"177":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":250,"t":{"169":{"position":[[521,2]]}}}],["运行",{"_index":184,"t":{"169":{"position":[[23,2],[267,2],[419,2],[483,2]]},"173":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":299,"t":{"171":{"position":[[267,2]]},"175":{"position":[[101,2]]}}}],["这些",{"_index":286,"t":{"171":{"position":[[132,2],[168,2]]},"173":{"position":[[148,2]]}}}],["这样",{"_index":244,"t":{"169":{"position":[[501,2]]}}}],["这里",{"_index":233,"t":{"169":{"position":[[424,2]]}}}],["进行",{"_index":192,"t":{"169":{"position":[[59,2]]},"173":{"position":[[67,2]]}}}],["远",{"_index":215,"t":{"169":{"position":[[330,1]]}}}],["适时地",{"_index":382,"t":{"175":{"position":[[90,3]]},"177":{"position":[[53,3]]}}}],["造成",{"_index":243,"t":{"169":{"position":[[489,2]]}}}],["逻辑",{"_index":375,"t":{"175":{"position":[[48,2]]}}}],["那么",{"_index":334,"t":{"173":{"position":[[428,2]]}}}],["都",{"_index":241,"t":{"169":{"position":[[469,1],[494,1]]},"171":{"position":[[92,1]]},"173":{"position":[[88,1]]},"175":{"position":[[149,1]]}}}],["重构",{"_index":383,"t":{"175":{"position":[[93,2]]},"177":{"position":[[56,2]]}}}],["重要性",{"_index":176,"t":{"167":{"position":[[160,3]]}}}],["错误",{"_index":366,"t":{"173":{"position":[[1141,2]]}}}],["问题",{"_index":386,"t":{"175":{"position":[[103,2]]}}}],["降低",{"_index":413,"t":{"175":{"position":[[228,2]]}}}],["陡增",{"_index":381,"t":{"175":{"position":[[86,2]]}}}],["除了",{"_index":220,"t":{"169":{"position":[[349,2],[389,2]]},"171":{"position":[[84,2]]},"173":{"position":[[80,2]]}}}],["随之",{"_index":380,"t":{"175":{"position":[[84,2]]}}}],["难以",{"_index":228,"t":{"169":{"position":[[373,2],[415,2]]},"173":{"position":[[409,2]]}}}],["难度",{"_index":379,"t":{"175":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":416,"t":{"175":{"position":[[246,2]]}}}],["需",{"_index":284,"t":{"171":{"position":[[129,1]]},"173":{"position":[[113,1]]}}}],["需求",{"_index":372,"t":{"175":{"position":[[37,2]]}}}],["首先",{"_index":254,"t":{"169":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/zh-CN/docs/next/tags/front-matter/index.html b/zh-CN/docs/next/tags/front-matter/index.html new file mode 100644 index 00000000..f042caf3 --- /dev/null +++ b/zh-CN/docs/next/tags/front-matter/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文档带有标签「Front matter」 | Docusaurus Search + + + + + +

1 篇文档带有标签「Front matter」

查看所有标签
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tags/index.html b/zh-CN/docs/next/tags/index.html new file mode 100644 index 00000000..de581478 --- /dev/null +++ b/zh-CN/docs/next/tags/index.html @@ -0,0 +1,14 @@ + + + + + +标签 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/docs/next/tags/keywords/index.html b/zh-CN/docs/next/tags/keywords/index.html new file mode 100644 index 00000000..d05383e8 --- /dev/null +++ b/zh-CN/docs/next/tags/keywords/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文档带有标签「Keywords」 | Docusaurus Search + + + + + +

1 篇文档带有标签「Keywords」

查看所有标签
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tags/test/index.html b/zh-CN/docs/next/tags/test/index.html new file mode 100644 index 00000000..b3adfef5 --- /dev/null +++ b/zh-CN/docs/next/tags/test/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文档带有标签「Test」 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/congratulations/index.html b/zh-CN/docs/next/tutorial-basics/congratulations/index.html new file mode 100644 index 00000000..dddfe4ad --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/congratulations/index.html @@ -0,0 +1,26 @@ + + + + + +Congratulations! | Docusaurus Search + + + + + +
版本:Next

Congratulations!

+

You have just learned the basics of Docusaurus and made some changes to the initial template.

+

Docusaurus has much more to offer!

+

Have 5 more minutes? Take a look at versioning and i18n.

+

Anything unclear or buggy in this tutorial? Please report it!

+

What's next?

+
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/create-a-blog-post/index.html b/zh-CN/docs/next/tutorial-basics/create-a-blog-post/index.html new file mode 100644 index 00000000..ddd3b98f --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/create-a-blog-post/index.html @@ -0,0 +1,19 @@ + + + + + +Create a Blog Post | Docusaurus Search + + + + + +
版本:Next

Create a Blog Post

+

Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

+

Create your first Post

+

Create a file at blog/2021-02-28-greetings.md:

+
blog/2021-02-28-greetings.md
---
slug: greetings
title: Greetings!
authors:
- name: Joel Marcey
title: Co-creator of Docusaurus 1
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
- name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
tags: [greetings]
---

Congratulations, you have made your first post!

Feel free to play around and edit this post as much you like.
+

A new blog post is now available at http://localhost:3000/blog/greetings.

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/create-a-document/index.html b/zh-CN/docs/next/tutorial-basics/create-a-document/index.html new file mode 100644 index 00000000..d8a59b28 --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/create-a-document/index.html @@ -0,0 +1,30 @@ + + + + + +Create a Document | Docusaurus Search + + + + + +
版本:Next

Create a Document

+

Documents are groups of pages connected through:

+
    +
  • a sidebar
  • +
  • previous/next navigation
  • +
  • versioning
  • +
+

Create your first Doc

+

Create a markdown file at docs/hello.md:

+
docs/hello.md
# Hello

This is my **first Docusaurus document**!
+

A new document is now available at http://localhost:3000/docs/hello.

+

Configure the Sidebar

+

Docusaurus automatically creates a sidebar from the docs folder.

+

Add metadata to customize the sidebar label and position:

+
docs/hello.md
---
sidebar_label: 'Hi!'
sidebar_position: 3
---

# Hello

This is my **first Docusaurus document**!
+

It is also possible to create your sidebar explicitly in sidebars.js:

+
sidebars.js
module.exports = {
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
};
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/create-a-page/index.html b/zh-CN/docs/next/tutorial-basics/create-a-page/index.html new file mode 100644 index 00000000..d96e6d10 --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/create-a-page/index.html @@ -0,0 +1,28 @@ + + + + + +Create a Page | Docusaurus Search + + + + + +
版本:Next

Create a Page

+

Add Markdown or React files to src/pages to create a standalone page:

+
    +
  • src/pages/index.js -> localhost:3000/
  • +
  • src/pages/foo.md -> localhost:3000/foo
  • +
  • src/pages/foo/bar.js -> localhost:3000/foo/bar
  • +
+

Create your first React Page

+

Create a file at src/pages/my-react-page.js:

+
src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';

export default function MyReactPage() {
return (
<Layout>
<h1>My React page</h1>
<p>This is a React page</p>
</Layout>
);
}
+

A new page is now available at http://localhost:3000/my-react-page.

+

Create your first Markdown Page

+

Create a file at src/pages/my-markdown-page.md:

+
src/pages/my-markdown-page.md
# My Markdown page

This is a Markdown page
+

A new page is now available at http://localhost:3000/my-markdown-page.

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/deploy-your-site/index.html b/zh-CN/docs/next/tutorial-basics/deploy-your-site/index.html new file mode 100644 index 00000000..db34fbe7 --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/deploy-your-site/index.html @@ -0,0 +1,25 @@ + + + + + +Deploy your site | Docusaurus Search + + + + + +
版本:Next

Deploy your site

+

Docusaurus is a static-site-generator (also called Jamstack).

+

It builds your site as simple static HTML, JavaScript and CSS files.

+

Build your site

+

Build your site for production:

+
npm run build
+

The static files are generated in the build folder.

+

Deploy your site

+

Test your production build locally:

+
npm run serve
+

The build folder is now served at http://localhost:3000/.

+

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-basics/markdown-features/index.html b/zh-CN/docs/next/tutorial-basics/markdown-features/index.html new file mode 100644 index 00000000..aadc176d --- /dev/null +++ b/zh-CN/docs/next/tutorial-basics/markdown-features/index.html @@ -0,0 +1,49 @@ + + + + + +Markdown Features | Docusaurus Search + + + + + +
版本:Next

Markdown Features

+

Docusaurus supports Markdown and a few additional features.

+

Front Matter

+

Markdown documents have metadata at the top called Front Matter:

+
my-doc.md
---
id: my-doc-id
title: My document title
description: My document description
slug: /my-custom-url
---

## Markdown heading

Markdown text with [links](./hello.md)
+ +

Regular Markdown links are supported, using url paths or relative file paths.

+
Let's see how to [Create a page](/create-a-page).
+
Let's see how to [Create a page](./create-a-page.md).
+

Result: Let's see how to Create a page.

+

Images

+

Regular Markdown images are supported.

+

You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

+
![Docusaurus logo](/img/docusaurus.png)
+

Docusaurus logo

+

You can reference images relative to the current file as well, as shown in the extra guides.

+

Code Blocks

+

Markdown code blocks are supported with Syntax highlighting.

+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return (
<h1>Hello, Docusaurus!</h1>
)
}
+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return <h1>Hello, Docusaurus!</h1>;
}
+

Admonitions

+

Docusaurus has a special syntax to create admonitions and callouts:

+

:::tip My tip

+

Use this awesome feature option

+

:::

+

:::danger Take care

+

This action is dangerous

+

:::

+
My tip

Use this awesome feature option

+
Take care

This action is dangerous

+

MDX and React Components

+

MDX can make your documentation more interactive and allows using any React components inside Markdown:

+
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '20px',
color: '#fff',
padding: '10px',
cursor: 'pointer',
}}
onClick={() => {
alert(`You clicked the color ${color} with label ${children}`)
}}>
{children}
</span>
);

This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !
+ +

This is Docusaurus green !

+

This is Facebook blue !

+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-extras/manage-docs-versions/index.html b/zh-CN/docs/next/tutorial-extras/manage-docs-versions/index.html new file mode 100644 index 00000000..0b317a65 --- /dev/null +++ b/zh-CN/docs/next/tutorial-extras/manage-docs-versions/index.html @@ -0,0 +1,36 @@ + + + + + +Manage Docs Versions | Docusaurus Search + + + + + +
版本:Next

Manage Docs Versions

+

Docusaurus can manage multiple versions of your docs.

+

Create a docs version

+

Release a version 1.0 of your project:

+
npm run docusaurus docs:version 1.0
+

The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

+

Your docs now have 2 versions:

+
    +
  • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
  • +
  • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
  • +
+

Add a Version Dropdown

+

To navigate seamlessly across versions, add a version dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'docsVersionDropdown',
},
],
},
},
};
+

The docs version dropdown appears in your navbar:

+

Docs Version Dropdown

+

Update an existing version

+

It is possible to edit versioned docs in their respective folder:

+
    +
  • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
  • +
  • docs/hello.md updates http://localhost:3000/docs/next/hello
  • +
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/tutorial-extras/translate-your-site/index.html b/zh-CN/docs/next/tutorial-extras/translate-your-site/index.html new file mode 100644 index 00000000..a3541b7b --- /dev/null +++ b/zh-CN/docs/next/tutorial-extras/translate-your-site/index.html @@ -0,0 +1,38 @@ + + + + + +Translate your site | Docusaurus Search + + + + + +
版本:Next

Translate your site

+

Let's translate docs/intro.md to French.

+

Configure i18n

+

Modify docusaurus.config.js to add support for the fr locale:

+
docusaurus.config.js
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
},
};
+

Translate a doc

+

Copy the docs/intro.md file to the i18n/fr folder:

+
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
+

Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

+

Start your localized site

+

Start your site on the French locale:

+
npm run start -- --locale fr
+

Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

+
警告

In development, you can only use one locale at a same time.

+

Add a Locale Dropdown

+

To navigate seamlessly across languages, add a locale dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'localeDropdown',
},
],
},
},
};
+

The locale dropdown now appears in your navbar:

+

Locale Dropdown

+

Build your localized site

+

Build your site for a specific locale:

+
npm run build -- --locale fr
+

Or build your site to include all the locales at once:

+
npm run build
+ + \ No newline at end of file diff --git a/zh-CN/docs/next/unlisted-post/index.html b/zh-CN/docs/next/unlisted-post/index.html new file mode 100644 index 00000000..051c5324 --- /dev/null +++ b/zh-CN/docs/next/unlisted-post/index.html @@ -0,0 +1,16 @@ + + + + + +Unlisted Post | Docusaurus Search + + + + + +
未列出页
此页面未列出。搜索引擎不会对其索引,只有拥有直接链接的用户才能访问。
版本:Next

Unlisted Post

+

This unlisted blog post should be "hidden" in production, but remain accessible.

+

It is filtered from the sidebar, sitemap, SEO indexation...

+ + \ No newline at end of file diff --git a/zh-CN/img/docusaurus.png b/zh-CN/img/docusaurus.png new file mode 100644 index 00000000..f458149e Binary files /dev/null and b/zh-CN/img/docusaurus.png differ diff --git a/zh-CN/img/favicon.ico b/zh-CN/img/favicon.ico new file mode 100644 index 00000000..c01d54bc Binary files /dev/null and b/zh-CN/img/favicon.ico differ diff --git a/zh-CN/img/logo.svg b/zh-CN/img/logo.svg new file mode 100644 index 00000000..9db6d0d0 --- /dev/null +++ b/zh-CN/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/zh-CN/img/undraw_docusaurus_mountain.svg b/zh-CN/img/undraw_docusaurus_mountain.svg new file mode 100644 index 00000000..431cef2f --- /dev/null +++ b/zh-CN/img/undraw_docusaurus_mountain.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zh-CN/img/undraw_docusaurus_react.svg b/zh-CN/img/undraw_docusaurus_react.svg new file mode 100644 index 00000000..e4170504 --- /dev/null +++ b/zh-CN/img/undraw_docusaurus_react.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zh-CN/img/undraw_docusaurus_tree.svg b/zh-CN/img/undraw_docusaurus_tree.svg new file mode 100644 index 00000000..a05cc03d --- /dev/null +++ b/zh-CN/img/undraw_docusaurus_tree.svg @@ -0,0 +1 @@ +docu_tree \ No newline at end of file diff --git a/zh-CN/index.html b/zh-CN/index.html new file mode 100644 index 00000000..2aa6e4c8 --- /dev/null +++ b/zh-CN/index.html @@ -0,0 +1,14 @@ + + + + + +Hello from Docusaurus Search | Docusaurus Search + + + + + +

Docusaurus Search

An offline/local search example using @easyops-cn/docusaurus-search-local.

💪 Written in TypeScript

💪 Written in TypeScript

A Result You Can Trust.

🌎 Multi Languages Supported

🌎 Multi Languages Supported

Dozens of languages supported, including 中文分词 🇨🇳.

💅 Styles polished

💅 Styles polished

Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website.

+ + \ No newline at end of file diff --git a/zh-CN/search-index.json b/zh-CN/search-index.json new file mode 100644 index 00000000..97e215dc --- /dev/null +++ b/zh-CN/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":233,"t":"","u":"/docusaurus-search-local/zh-CN/blog/archive","b":["Blog"]},{"i":234,"t":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","b":["Blog"]},{"i":236,"t":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","b":["Blog"]},{"i":238,"t":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","b":["Blog"]},{"i":240,"t":"A Document in Portuguese","u":"/docusaurus-search-local/zh-CN/docs/doc-in-pt","b":["Docs"]},{"i":242,"t":"Style Guide","u":"/docusaurus-search-local/zh-CN/docs/","b":["Docs","Docusaurus"]},{"i":271,"t":"Document Number 2","u":"/docusaurus-search-local/zh-CN/docs/doc2","b":["Docs","Docusaurus"]},{"i":273,"t":"This is Document Number 3","u":"/docusaurus-search-local/zh-CN/docs/doc3","b":["Docs","Docusaurus"]},{"i":275,"t":"Powered by MDX","u":"/docusaurus-search-local/zh-CN/docs/mdx","b":["Docs","Features"]},{"i":277,"t":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","b":["Blog"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/233",[]],["t/234",[0,2.435]],["t/236",[1,2.435]],["t/238",[2,2.435]],["t/240",[3,1.095,4,1.906]],["t/242",[5,1.906,6,1.906]],["t/271",[3,0.9,7,1.164,8,1.565]],["t/273",[3,0.9,7,1.164,9,1.565]],["t/275",[10,1.906,11,1.906]],["t/277",[12,1.565,13,1.565,14,1.565]]],"invertedIndex":[["2",{"_index":8,"t":{"271":{"position":[[16,1]]}}}],["3",{"_index":9,"t":{"273":{"position":[[24,1]]}}}],["document",{"_index":3,"t":{"240":{"position":[[2,8]]},"271":{"position":[[0,8]]},"273":{"position":[[8,8]]}}}],["guid",{"_index":6,"t":{"242":{"position":[[6,5]]}}}],["hello",{"_index":1,"t":{"236":{"position":[[0,5]]}}}],["hola",{"_index":2,"t":{"238":{"position":[[0,4]]}}}],["mdx",{"_index":11,"t":{"275":{"position":[[11,3]]}}}],["number",{"_index":7,"t":{"271":{"position":[[9,6]]},"273":{"position":[[17,6]]}}}],["portugues",{"_index":4,"t":{"240":{"position":[[14,10]]}}}],["power",{"_index":10,"t":{"275":{"position":[[0,7]]}}}],["style",{"_index":5,"t":{"242":{"position":[[0,5]]}}}],["welcom",{"_index":0,"t":{"234":{"position":[[0,7]]}}}],["单元测试",{"_index":14,"t":{"277":{"position":[[5,4]]}}}],["编写",{"_index":12,"t":{"277":{"position":[[0,2]]}}}],["良好",{"_index":13,"t":{"277":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":244,"t":"Markdown Syntax","u":"/docusaurus-search-local/zh-CN/docs/","h":"#markdown-syntax","p":242},{"i":246,"t":"Headers","u":"/docusaurus-search-local/zh-CN/docs/","h":"#headers","p":242},{"i":247,"t":"H1 - Create the best documentation","u":"/docusaurus-search-local/zh-CN/docs/","h":"","p":242},{"i":248,"t":"H2 - Create the best documentation","u":"/docusaurus-search-local/zh-CN/docs/","h":"#h2---create-the-best-documentation","p":242},{"i":249,"t":"H3 - Create the best documentation","u":"/docusaurus-search-local/zh-CN/docs/","h":"#h3---create-the-best-documentation","p":242},{"i":251,"t":"Emphasis","u":"/docusaurus-search-local/zh-CN/docs/","h":"#emphasis","p":242},{"i":253,"t":"Lists","u":"/docusaurus-search-local/zh-CN/docs/","h":"#lists","p":242},{"i":255,"t":"Links","u":"/docusaurus-search-local/zh-CN/docs/","h":"#links","p":242},{"i":257,"t":"Images","u":"/docusaurus-search-local/zh-CN/docs/","h":"#images","p":242},{"i":259,"t":"Code","u":"/docusaurus-search-local/zh-CN/docs/","h":"#code","p":242},{"i":261,"t":"Tables","u":"/docusaurus-search-local/zh-CN/docs/","h":"#tables","p":242},{"i":263,"t":"Blockquotes","u":"/docusaurus-search-local/zh-CN/docs/","h":"#blockquotes","p":242},{"i":265,"t":"Inline HTML","u":"/docusaurus-search-local/zh-CN/docs/","h":"#inline-html","p":242},{"i":267,"t":"Line Breaks","u":"/docusaurus-search-local/zh-CN/docs/","h":"#line-breaks","p":242},{"i":269,"t":"Admonitions","u":"/docusaurus-search-local/zh-CN/docs/","h":"#admonitions","p":242},{"i":279,"t":"基本方法","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#基本方法","p":277},{"i":281,"t":"输入","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输入","p":277},{"i":283,"t":"输出","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输出","p":277},{"i":285,"t":"重构与拆分","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#重构与拆分","p":277},{"i":287,"t":"总结","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#总结","p":277}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/244",[0,2.461,1,2.461]],["t/246",[2,3.174]],["t/247",[3,1.699,4,1.153,5,1.153,6,1.153]],["t/248",[4,1.153,5,1.153,6,1.153,7,1.699]],["t/249",[4,1.153,5,1.153,6,1.153,8,1.699]],["t/251",[9,3.174]],["t/253",[10,3.174]],["t/255",[11,3.174]],["t/257",[12,3.174]],["t/259",[13,3.174]],["t/261",[14,3.174]],["t/263",[15,3.174]],["t/265",[16,2.461,17,2.461]],["t/267",[18,2.461,19,2.461]],["t/269",[20,3.174]],["t/279",[21,2.461,22,2.461]],["t/281",[23,3.174]],["t/283",[24,3.174]],["t/285",[25,2.461,26,2.461]],["t/287",[27,3.174]]],"invertedIndex":[["admonit",{"_index":20,"t":{"269":{"position":[[0,11]]}}}],["best",{"_index":5,"t":{"247":{"position":[[16,4]]},"248":{"position":[[16,4]]},"249":{"position":[[16,4]]}}}],["blockquot",{"_index":15,"t":{"263":{"position":[[0,11]]}}}],["break",{"_index":19,"t":{"267":{"position":[[5,6]]}}}],["code",{"_index":13,"t":{"259":{"position":[[0,4]]}}}],["creat",{"_index":4,"t":{"247":{"position":[[5,6]]},"248":{"position":[[5,6]]},"249":{"position":[[5,6]]}}}],["document",{"_index":6,"t":{"247":{"position":[[21,13]]},"248":{"position":[[21,13]]},"249":{"position":[[21,13]]}}}],["emphasi",{"_index":9,"t":{"251":{"position":[[0,8]]}}}],["h1",{"_index":3,"t":{"247":{"position":[[0,2]]}}}],["h2",{"_index":7,"t":{"248":{"position":[[0,2]]}}}],["h3",{"_index":8,"t":{"249":{"position":[[0,2]]}}}],["header",{"_index":2,"t":{"246":{"position":[[0,7]]}}}],["html",{"_index":17,"t":{"265":{"position":[[7,4]]}}}],["imag",{"_index":12,"t":{"257":{"position":[[0,6]]}}}],["inlin",{"_index":16,"t":{"265":{"position":[[0,6]]}}}],["line",{"_index":18,"t":{"267":{"position":[[0,4]]}}}],["link",{"_index":11,"t":{"255":{"position":[[0,5]]}}}],["list",{"_index":10,"t":{"253":{"position":[[0,5]]}}}],["markdown",{"_index":0,"t":{"244":{"position":[[0,8]]}}}],["syntax",{"_index":1,"t":{"244":{"position":[[9,6]]}}}],["tabl",{"_index":14,"t":{"261":{"position":[[0,6]]}}}],["基本",{"_index":21,"t":{"279":{"position":[[0,2]]}}}],["总结",{"_index":27,"t":{"287":{"position":[[0,2]]}}}],["拆分",{"_index":26,"t":{"285":{"position":[[3,2]]}}}],["方法",{"_index":22,"t":{"279":{"position":[[2,2]]}}}],["输入",{"_index":23,"t":{"281":{"position":[[0,2]]}}}],["输出",{"_index":24,"t":{"283":{"position":[[0,2]]}}}],["重构",{"_index":25,"t":{"285":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":233,"t":"历史博文","s":"","u":"/docusaurus-search-local/zh-CN/blog/archive","p":233},{"i":234,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","p":234},{"i":236,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","p":236},{"i":238,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","p":238},{"i":240,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/zh-CN/docs/doc-in-pt","p":240},{"i":242,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/zh-CN/docs/","p":242},{"i":271,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/zh-CN/docs/doc2","p":271},{"i":273,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","s":"This is Document Number 3","u":"/docusaurus-search-local/zh-CN/docs/doc3","p":273},{"i":275,"t":"You can write JSX and use React components within your Markdown thanks to MDX.","s":"Powered by MDX","u":"/docusaurus-search-local/zh-CN/docs/mdx","p":275},{"i":277,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","p":277}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/233",[0,3.231,1,3.231]],["t/234",[2,2.665,3,2.626,4,2.626,5,2.626,6,2.626,7,2.626,8,2.626,9,2.626,10,2.626,11,2.626,12,2.626]],["t/236",[2,2.609,13,2.925,14,2.925,15,2.925,16,2.175,17,2.925]],["t/238",[18,2.187,19,2.456,20,2.187,21,2.187,22,2.187,23,1.645,24,1.645,25,1.645,26,2.212,27,1.645,28,2.212,29,1.645,30,2.212,31,2.212,32,2.212,33,1.645,34,1.645,35,1.645]],["t/240",[16,0.596,36,1.76,37,2.511,38,0.801,39,0.801,40,2.069,41,0.801,42,1.354,43,1.539,44,0.801,45,0.801,46,1.354,47,2.069,48,1.354,49,2.313,50,0.801,51,2.511,52,0.801,53,0.801,54,0.801,55,0.801,56,1.354,57,2.674,58,0.801,59,0.801,60,0.801,61,0.801,62,1.354,63,0.801,64,0.801,65,0.801,66,0.801,67,0.801,68,0.801,69,0.801,70,1.76,71,0.801,72,0.801,73,0.801,74,1.354,75,0.801,76,0.801,77,0.801,78,0.801,79,1.76,80,0.801,81,0.801,82,0.801,83,0.801,84,1.76,85,0.801,86,0.801,87,0.801,88,1.354,89,1.76,90,1.354,91,0.801,92,0.801,93,1.354,94,0.801,95,1.354,96,1.76,97,1.354,98,0.801,99,0.801,100,1.76,101,0.801,102,0.801,103,0.801,104,0.801,105,0.801,106,0.801,107,0.596,108,0.801,109,0.801,110,0.801,111,0.801,112,1.354,113,0.801,114,0.801,115,0.801,116,0.801,117,0.801,118,0.801,119,0.801,120,0.801,121,0.801,122,0.801,123,0.801,124,0.801,125,0.801,126,0.801]],["t/242",[127,1.681,128,2.925,129,2.175,130,2.925,131,2.925,132,2.175,133,2.925]],["t/271",[134,3.549,135,2.981,136,2.981,137,2.981,138,2.981]],["t/273",[18,1.32,19,1.32,20,1.32,21,1.32,22,1.32,23,1.879,24,1.32,25,1.32,27,0.827,29,0.827,33,0.827,34,1.32,35,0.827,107,0.827,139,1.112,140,1.112,141,1.774,142,1.112,143,1.112,144,1.112,145,1.112,146,1.112,147,1.774,148,1.112,149,1.112,150,1.112,151,1.112,152,1.112,153,1.774,154,1.112,155,1.112,156,1.774,157,1.112,158,1.112,159,1.112,160,1.112,161,1.112,162,1.112,163,1.112,164,1.112,165,1.112,166,1.774,167,1.112,168,1.774,169,1.112,170,1.112,171,1.112,172,1.112,173,1.112,174,1.112,175,1.112,176,1.774,177,1.112,178,1.112,179,1.112,180,2.214,181,1.112,182,1.112,183,1.774,184,1.112,185,1.774,186,1.112,187,1.112,188,1.112,189,1.112,190,1.112,191,1.112,192,1.112,193,1.112,194,1.112,195,1.112]],["t/275",[127,1.62,129,2.095,132,2.095,196,2.818,197,2.818,198,2.818,199,2.818,200,2.818,201,2.818]],["t/277",[43,2.095,127,1.62,202,2.818,203,2.818,204,2.818,205,2.818,206,2.818,207,2.818,208,2.818]]],"invertedIndex":[["0",{"_index":48,"t":{"240":{"position":[[77,1],[409,1]]}}}],["04",{"_index":69,"t":{"240":{"position":[[235,2]]}}}],["1",{"_index":110,"t":{"240":{"position":[[621,1]]}}}],["10",{"_index":93,"t":{"240":{"position":[[427,2],[469,2]]}}}],["14",{"_index":50,"t":{"240":{"position":[[84,2]]}}}],["15",{"_index":53,"t":{"240":{"position":[[109,2]]}}}],["16",{"_index":41,"t":{"240":{"position":[[38,2]]}}}],["17",{"_index":55,"t":{"240":{"position":[[127,2]]}}}],["2",{"_index":16,"t":{"236":{"position":[[59,1]]},"240":{"position":[[96,1]]}}}],["2010",{"_index":112,"t":{"240":{"position":[[629,4],[742,4]]}}}],["3",{"_index":74,"t":{"240":{"position":[[275,1],[727,1]]}}}],["305",{"_index":91,"t":{"240":{"position":[[411,3]]}}}],["32",{"_index":111,"t":{"240":{"position":[[623,2]]}}}],["4",{"_index":42,"t":{"240":{"position":[[41,1],[130,1]]}}}],["45",{"_index":94,"t":{"240":{"position":[[430,2]]}}}],["5",{"_index":121,"t":{"240":{"position":[[719,1]]}}}],["62",{"_index":99,"t":{"240":{"position":[[472,2]]}}}],["64",{"_index":54,"t":{"240":{"position":[[117,2]]}}}],["65",{"_index":58,"t":{"240":{"position":[[146,2]]}}}],["66",{"_index":52,"t":{"240":{"position":[[93,2]]}}}],["7",{"_index":122,"t":{"240":{"position":[[729,1]]}}}],["78",{"_index":68,"t":{"240":{"position":[[232,2]]}}}],["82",{"_index":85,"t":{"240":{"position":[[365,2]]}}}],["83",{"_index":113,"t":{"240":{"position":[[635,2]]}}}],["84",{"_index":124,"t":{"240":{"position":[[758,2]]}}}],["93",{"_index":73,"t":{"240":{"position":[[272,2]]}}}],["abaixo",{"_index":120,"t":{"240":{"position":[[708,6]]}}}],["ac",{"_index":139,"t":{"273":{"position":[[60,2]]}}}],["add",{"_index":7,"t":{"234":{"position":[[53,3]]}}}],["adipisc",{"_index":24,"t":{"238":{"position":[[40,10]]},"273":{"position":[[40,10],[671,10]]}}}],["alfabetiza",{"_index":72,"t":{"240":{"position":[[257,10]]}}}],["aliquam",{"_index":34,"t":{"238":{"position":[[133,7]]},"273":{"position":[[351,7],[543,7]]}}}],["alpha",{"_index":17,"t":{"236":{"position":[[61,5]]}}}],["amet",{"_index":22,"t":{"238":{"position":[[22,4],[174,4]]},"273":{"position":[[22,4],[653,4]]}}}],["analfabetismo",{"_index":80,"t":{"240":{"position":[[317,13]]}}}],["ano",{"_index":51,"t":{"240":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":135,"t":{"271":{"position":[[18,7]]}}}],["ant",{"_index":160,"t":{"273":{"position":[[236,4]]}}}],["ao",{"_index":82,"t":{"240":{"position":[[346,2]]}}}],["baixa",{"_index":117,"t":{"240":{"position":[[673,5]]}}}],["bibendum",{"_index":168,"t":{"273":{"position":[[306,8],[425,8]]}}}],["blog",{"_index":2,"t":{"234":{"position":[[0,4],[33,4],[70,4]]},"236":{"position":[[16,4],[27,4]]}}}],["cada",{"_index":95,"t":{"240":{"position":[[437,4],[479,4]]}}}],["com",{"_index":43,"t":{"240":{"position":[[45,3],[134,3],[510,3],[664,3]]},"277":{"position":[[26,3]]}}}],["como",{"_index":59,"t":{"240":{"position":[[155,4]]}}}],["compon",{"_index":198,"t":{"275":{"position":[[32,10]]}}}],["composta",{"_index":39,"t":{"240":{"position":[[25,8]]}}}],["compreendida",{"_index":45,"t":{"240":{"position":[[55,12]]}}}],["consectetur",{"_index":23,"t":{"238":{"position":[[28,11]]},"273":{"position":[[28,11],[111,11],[581,11],[659,11]]}}}],["consequat",{"_index":35,"t":{"238":{"position":[[141,9]]},"273":{"position":[[80,9]]}}}],["content",{"_index":128,"t":{"242":{"position":[[14,7]]}}}],["contribuindo",{"_index":105,"t":{"240":{"position":[[553,12]]}}}],["creat",{"_index":14,"t":{"236":{"position":[[35,7]]}}}],["crescimento",{"_index":86,"t":{"240":{"position":[[371,11]]}}}],["cursu",{"_index":174,"t":{"273":{"position":[[369,6]]}}}],["dapibu",{"_index":161,"t":{"273":{"position":[[246,7]]}}}],["de",{"_index":57,"t":{"240":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["descer",{"_index":81,"t":{"240":{"position":[[339,6]]}}}],["dia",{"_index":66,"t":{"240":{"position":[[215,3]]}}}],["diam",{"_index":165,"t":{"273":{"position":[[279,4]]}}}],["dignissim",{"_index":28,"t":{"238":{"position":[[80,9]]}}}],["directori",{"_index":9,"t":{"234":{"position":[[75,9]]}}}],["do",{"_index":84,"t":{"240":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":136,"t":{"271":{"position":[[26,8]]}}}],["docusauru",{"_index":15,"t":{"236":{"position":[[48,10]]}}}],["dolor",{"_index":20,"t":{"238":{"position":[[12,5],[164,5]]},"273":{"position":[[12,5],[643,5]]}}}],["dui",{"_index":143,"t":{"273":{"position":[[90,3]]}}}],["e",{"_index":49,"t":{"240":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["eget",{"_index":190,"t":{"273":{"position":[[519,4]]}}}],["elementum",{"_index":27,"t":{"238":{"position":[[70,9]]},"273":{"position":[[296,9]]}}}],["elit",{"_index":25,"t":{"238":{"position":[[51,4]]},"273":{"position":[[51,4],[682,4]]}}}],["em",{"_index":70,"t":{"240":{"position":[[244,2],[626,2],[739,2]]}}}],["entr",{"_index":46,"t":{"240":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":63,"t":{"240":{"position":[[189,10]]}}}],["ero",{"_index":33,"t":{"238":{"position":[[128,4]]},"273":{"position":[[568,4]]}}}],["escrev",{"_index":77,"t":{"240":{"position":[[291,8]]}}}],["esperan",{"_index":64,"t":{"240":{"position":[[203,7]]}}}],["est",{"_index":107,"t":{"240":{"position":[[571,4]]},"273":{"position":[[564,3]]}}}],["esteja",{"_index":102,"t":{"240":{"position":[[530,6]]}}}],["et",{"_index":179,"t":{"273":{"position":[[412,2]]}}}],["etiam",{"_index":173,"t":{"273":{"position":[[360,5]]}}}],["eu",{"_index":142,"t":{"273":{"position":[[77,2]]}}}],["euismod",{"_index":140,"t":{"273":{"position":[[63,7]]}}}],["extern",{"_index":137,"t":{"271":{"position":[[57,8]]}}}],["facto",{"_index":108,"t":{"240":{"position":[[576,5]]}}}],["falecendo",{"_index":98,"t":{"240":{"position":[[459,9]]}}}],["faucibu",{"_index":181,"t":{"273":{"position":[[434,8]]}}}],["faz",{"_index":101,"t":{"240":{"position":[[506,3]]}}}],["featur",{"_index":3,"t":{"234":{"position":[[5,8]]}}}],["feli",{"_index":186,"t":{"273":{"position":[[469,5]]}}}],["fertilidad",{"_index":109,"t":{"240":{"position":[[592,11]]}}}],["feugiat",{"_index":159,"t":{"273":{"position":[[228,7]]}}}],["file",{"_index":8,"t":{"234":{"position":[[57,5]]}}}],["flavor",{"_index":131,"t":{"242":{"position":[[35,8]]}}}],["fringilla",{"_index":191,"t":{"273":{"position":[[525,9]]}}}],["fusc",{"_index":30,"t":{"238":{"position":[[101,5]]}}}],["github",{"_index":130,"t":{"242":{"position":[[28,6]]}}}],["good",{"_index":206,"t":{"277":{"position":[[38,4]]}}}],["gravida",{"_index":171,"t":{"273":{"position":[[332,7]]}}}],["habitant",{"_index":97,"t":{"240":{"position":[[446,10],[488,10]]}}}],["hendrerit",{"_index":195,"t":{"273":{"position":[[620,9]]}}}],["http",{"_index":204,"t":{"277":{"position":[[6,5]]}}}],["id",{"_index":147,"t":{"273":{"position":[[129,2],[199,2]]}}}],["idad",{"_index":44,"t":{"240":{"position":[[49,5]]}}}],["imperdiet",{"_index":148,"t":{"273":{"position":[[132,9]]}}}],["infantil",{"_index":119,"t":{"240":{"position":[[699,8]]}}}],["interdum",{"_index":185,"t":{"273":{"position":[[460,8],[611,8]]}}}],["ipsum",{"_index":19,"t":{"238":{"position":[[6,5],[115,5],[158,5]]},"273":{"position":[[6,5],[637,5]]}}}],["jsx",{"_index":196,"t":{"275":{"position":[[14,3]]}}}],["lectu",{"_index":176,"t":{"273":{"position":[[387,6],[535,6]]}}}],["ler",{"_index":76,"t":{"240":{"position":[[285,3]]}}}],["ligula",{"_index":177,"t":{"273":{"position":[[394,6]]}}}],["link",{"_index":134,"t":{"271":{"position":[[10,4],[46,4]]}}}],["longo",{"_index":83,"t":{"240":{"position":[[349,5]]}}}],["lorem",{"_index":18,"t":{"238":{"position":[[0,5],[152,5]]},"273":{"position":[[0,5],[631,5]]}}}],["m",{"_index":65,"t":{"240":{"position":[[213,1]]}}}],["mai",{"_index":56,"t":{"240":{"position":[[138,4],[668,4]]}}}],["malesuada",{"_index":178,"t":{"273":{"position":[[402,9]]}}}],["markdown",{"_index":132,"t":{"242":{"position":[[44,8]]},"275":{"position":[[55,8]]}}}],["massa",{"_index":155,"t":{"273":{"position":[[183,5]]}}}],["mauri",{"_index":180,"t":{"273":{"position":[[415,6],[574,6],[604,6]]}}}],["mdx",{"_index":201,"t":{"275":{"position":[[74,3]]}}}],["mi",{"_index":182,"t":{"273":{"position":[[443,2]]}}}],["mil",{"_index":96,"t":{"240":{"position":[[442,3],[484,3],[735,3]]}}}],["molesti",{"_index":145,"t":{"273":{"position":[[102,8]]}}}],["molli",{"_index":154,"t":{"273":{"position":[[176,6]]}}}],["mortalidad",{"_index":118,"t":{"240":{"position":[[687,11]]}}}],["mundo",{"_index":123,"t":{"240":{"position":[[751,5]]}}}],["nam",{"_index":156,"t":{"273":{"position":[[203,3],[383,3]]}}}],["nascendo",{"_index":92,"t":{"240":{"position":[[418,8]]}}}],["nequ",{"_index":175,"t":{"273":{"position":[[376,5]]}}}],["nibh",{"_index":157,"t":{"273":{"position":[[210,4]]}}}],["no",{"_index":90,"t":{"240":{"position":[[405,3],[617,3]]}}}],["non",{"_index":153,"t":{"273":{"position":[[172,3],[241,3]]}}}],["nullam",{"_index":144,"t":{"273":{"position":[[95,6]]}}}],["o",{"_index":37,"t":{"240":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":141,"t":{"273":{"position":[[71,4],[489,4]]}}}],["ornar",{"_index":151,"t":{"273":{"position":[[157,6]]}}}],["os",{"_index":47,"t":{"240":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["pa",{"_index":116,"t":{"240":{"position":[[657,2]]}}}],["page",{"_index":138,"t":{"271":{"position":[[66,4]]}}}],["para",{"_index":106,"t":{"240":{"position":[[566,4]]}}}],["pellentesqu",{"_index":26,"t":{"238":{"position":[[57,12]]}}}],["phasellu",{"_index":183,"t":{"273":{"position":[[447,9],[476,9]]}}}],["plugin",{"_index":5,"t":{"234":{"position":[[38,6]]}}}],["popula",{"_index":36,"t":{"240":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":87,"t":{"240":{"position":[[383,12]]}}}],["por",{"_index":40,"t":{"240":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porttitor",{"_index":188,"t":{"273":{"position":[[504,9]]}}}],["portug",{"_index":114,"t":{"240":{"position":[[639,8]]}}}],["portuguesa",{"_index":38,"t":{"240":{"position":[[12,10]]}}}],["power",{"_index":4,"t":{"234":{"position":[[18,7]]}}}],["praesent",{"_index":169,"t":{"273":{"position":[[316,8]]}}}],["proin",{"_index":149,"t":{"273":{"position":[[143,5]]}}}],["pulvinar",{"_index":187,"t":{"273":{"position":[[494,8]]}}}],["quam",{"_index":193,"t":{"273":{"position":[[593,4]]}}}],["que",{"_index":100,"t":{"240":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":166,"t":{"273":{"position":[[284,4],[346,4]]}}}],["quilom",{"_index":125,"t":{"240":{"position":[[762,6]]}}}],["react",{"_index":197,"t":{"275":{"position":[[26,5]]}}}],["renovada",{"_index":104,"t":{"240":{"position":[[543,8]]}}}],["rhoncu",{"_index":31,"t":{"238":{"position":[[107,7]]}}}],["risu",{"_index":146,"t":{"273":{"position":[[123,5]]}}}],["sabem",{"_index":75,"t":{"240":{"position":[[279,5]]}}}],["scelerisqu",{"_index":158,"t":{"273":{"position":[[215,11]]}}}],["se",{"_index":89,"t":{"240":{"position":[[402,2],[608,2],[660,3]]}}}],["semper",{"_index":170,"t":{"273":{"position":[[325,6]]}}}],["ser",{"_index":103,"t":{"240":{"position":[[539,3]]}}}],["simpli",{"_index":6,"t":{"234":{"position":[[46,6]]}}}],["sit",{"_index":21,"t":{"238":{"position":[[18,3],[170,3]]},"273":{"position":[[18,3],[649,3]]}}}],["situa",{"_index":88,"t":{"240":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":150,"t":{"273":{"position":[[149,7]]}}}],["sollicitudin",{"_index":192,"t":{"273":{"position":[[551,12]]}}}],["support",{"_index":10,"t":{"234":{"position":[[89,8]]}}}],["syntax",{"_index":133,"t":{"242":{"position":[[53,6]]}}}],["tag",{"_index":11,"t":{"234":{"position":[[98,4]]}}}],["tal",{"_index":60,"t":{"240":{"position":[[160,3]]}}}],["taxa",{"_index":79,"t":{"240":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":167,"t":{"273":{"position":[[289,6]]}}}],["tem",{"_index":61,"t":{"240":{"position":[[177,3]]}}}],["tempor",{"_index":32,"t":{"238":{"position":[[121,6]]}}}],["tendo",{"_index":78,"t":{"240":{"position":[[301,5]]}}}],["termo",{"_index":71,"t":{"240":{"position":[[247,6]]}}}],["test",{"_index":208,"t":{"277":{"position":[[48,5]]}}}],["thank",{"_index":200,"t":{"275":{"position":[[64,6]]}}}],["tortor",{"_index":162,"t":{"273":{"position":[[254,6]]}}}],["trica",{"_index":126,"t":{"240":{"position":[[769,6]]}}}],["turpi",{"_index":152,"t":{"273":{"position":[[164,6]]}}}],["ultrici",{"_index":29,"t":{"238":{"position":[[90,9]]},"273":{"position":[[189,9]]}}}],["um",{"_index":115,"t":{"240":{"position":[[650,2]]}}}],["unit",{"_index":207,"t":{"277":{"position":[[43,4]]}}}],["urna",{"_index":189,"t":{"273":{"position":[[514,4]]}}}],["us",{"_index":129,"t":{"242":{"position":[[22,5]]},"275":{"position":[[22,3]]}}}],["ut",{"_index":184,"t":{"273":{"position":[[457,2]]}}}],["velit",{"_index":172,"t":{"273":{"position":[[340,5]]}}}],["vida",{"_index":67,"t":{"240":{"position":[[222,4]]}}}],["vindo",{"_index":62,"t":{"240":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":194,"t":{"273":{"position":[[598,5]]}}}],["vivamu",{"_index":163,"t":{"273":{"position":[[262,7]]}}}],["volutpat",{"_index":164,"t":{"273":{"position":[[270,8]]}}}],["wangshenwei",{"_index":205,"t":{"277":{"position":[[14,11]]}}}],["welcom",{"_index":13,"t":{"236":{"position":[[0,7]]}}}],["well",{"_index":12,"t":{"234":{"position":[[106,4]]}}}],["within",{"_index":199,"t":{"275":{"position":[[43,6]]}}}],["write",{"_index":127,"t":{"242":{"position":[[8,5]]},"275":{"position":[[8,5]]},"277":{"position":[[30,7]]}}}],["博文",{"_index":1,"t":{"233":{"position":[[2,2]]}}}],["历史",{"_index":0,"t":{"233":{"position":[[0,2]]}}}],["本文",{"_index":202,"t":{"277":{"position":[[0,2]]}}}],["转载自",{"_index":203,"t":{"277":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":235,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/zh-CN/blog/welcome","h":"","p":234},{"i":237,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/zh-CN/blog/hello-world","h":"","p":236},{"i":239,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-CN/blog/hola","h":"","p":238},{"i":241,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/zh-CN/docs/doc-in-pt","h":"","p":240},{"i":243,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/zh-CN/docs/","h":"","p":242},{"i":245,"t":"To serve as an example page when styling markdown based Docusaurus sites.","s":"Markdown Syntax","u":"/docusaurus-search-local/zh-CN/docs/","h":"#markdown-syntax","p":242},{"i":250,"t":"H4 - Create the best documentation​ H5 - Create the best documentation​ H6 - Create the best documentation​","s":"H3 - Create the best documentation","u":"/docusaurus-search-local/zh-CN/docs/","h":"#h3---create-the-best-documentation","p":242},{"i":252,"t":"Emphasis, aka italics, with asterisks or underscores. Strong emphasis, aka bold, with asterisks or underscores. Combined emphasis with asterisks and underscores. Strikethrough uses two tildes. Scratch this.","s":"Emphasis","u":"/docusaurus-search-local/zh-CN/docs/","h":"#emphasis","p":242},{"i":254,"t":"First ordered list item Another item Unordered sub-list. Actual numbers don't matter, just that it's a number Ordered sub-list And another item. Unordered list can use asterisks Or minuses Or pluses","s":"Lists","u":"/docusaurus-search-local/zh-CN/docs/","h":"#lists","p":242},{"i":256,"t":"I'm an inline-style link I'm an inline-style link with title I'm a reference-style link You can use numbers for reference-style link definitions Or leave it empty and use the link text itself. URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later.","s":"Links","u":"/docusaurus-search-local/zh-CN/docs/","h":"#links","p":242},{"i":258,"t":"Here's our logo (hover to see the title text): Inline-style: Reference-style: Images from any folder can be used by providing path to file. Path should be relative to markdown file.","s":"Images","u":"/docusaurus-search-local/zh-CN/docs/","h":"#images","p":242},{"i":260,"t":"var s = \"JavaScript syntax highlighting\"; alert(s); s = \"Python syntax highlighting\" print(s) No language indicated, so no syntax highlighting. But let's throw in a tag. function highlightMe() { console.log(\"This line can be highlighted!\"); }","s":"Code","u":"/docusaurus-search-local/zh-CN/docs/","h":"#code","p":242},{"i":262,"t":"Colons can be used to align columns. Tables Are Cool col 3 is right-aligned $1600 col 2 is centered $12 zebra stripes are neat $1 There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. Markdown Less Pretty Still renders nicely 1 2 3","s":"Tables","u":"/docusaurus-search-local/zh-CN/docs/","h":"#tables","p":242},{"i":264,"t":"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. Quote break. This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.","s":"Blockquotes","u":"/docusaurus-search-local/zh-CN/docs/","h":"#blockquotes","p":242},{"i":266,"t":"Definition list Is something people use sometimes. Markdown in HTML Does not work very well. Use HTML tags.","s":"Inline HTML","u":"/docusaurus-search-local/zh-CN/docs/","h":"#inline-html","p":242},{"i":268,"t":"Here's a line for us to start with. This line is separated from the one above by two newlines, so it will be a separate paragraph. This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.","s":"Line Breaks","u":"/docusaurus-search-local/zh-CN/docs/","h":"#line-breaks","p":242},{"i":270,"t":"备注 This is a note 提示 This is a tip important This is important 警告 This is a caution 注意 This is a warning","s":"Admonitions","u":"/docusaurus-search-local/zh-CN/docs/","h":"#admonitions","p":242},{"i":272,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/zh-CN/docs/doc2","h":"","p":271},{"i":274,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique. Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis. Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor. Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.","s":"This is Document Number 3","u":"/docusaurus-search-local/zh-CN/docs/doc3","h":"","p":273},{"i":276,"t":"You can write JSX and use React components within your Markdown thanks to MDX. Docusaurus green and Facebook blue are my favorite colors. I can write Markdown alongside my JSX!","s":"Powered by MDX","u":"/docusaurus-search-local/zh-CN/docs/mdx","h":"","p":275},{"i":278,"t":"备注 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"","p":277},{"i":280,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#基本方法","p":277},{"i":282,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输入","p":277},{"i":284,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#输出","p":277},{"i":286,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#重构与拆分","p":277},{"i":288,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/zh-CN/blog/writing-good-unit-tests","h":"#总结","p":277}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/235",[0,4.523,1,4.836,2,3.901,3,3.901,4,3.901,5,3.212,6,3.212,7,4.836,8,3.901,9,2.758,10,3.212,11,3.901,12,3.212,13,2.758,14,2.758,15,3.901,16,3.901]],["t/237",[0,4.222,12,3.537,17,4.296,18,3.537,19,3.037,20,2.663,21,4.296,22,2.365,23,4.296,24,4.296,25,4.296]],["t/239",[26,3.936,27,4.291,28,3.936,29,3.936,30,3.936,31,3.154,32,3.154,33,3.154,34,3.154,35,3.154,36,3.831,37,3.154,38,3.154,39,3.154,40,3.154,41,3.154,42,3.154,43,3.154]],["t/241",[20,1.125,44,3.465,45,4.486,46,1.814,47,1.814,48,3.91,49,1.814,50,2.823,51,2.764,52,1.814,53,1.814,54,2.823,55,3.91,56,2.823,57,4.236,58,1.814,59,4.486,60,1.814,61,1.814,62,1.814,63,1.814,64,2.823,65,4.683,66,1.814,67,1.814,68,1.814,69,1.814,70,2.823,71,1.814,72,1.814,73,1.494,74,1.814,75,1.814,76,1.814,77,1.814,78,3.465,79,1.814,80,1.814,81,1.814,82,1.995,83,1.814,84,1.814,85,1.814,86,1.814,87,3.465,88,1.814,89,1.814,90,1.814,91,1.814,92,3.465,93,1.814,94,1.814,95,1.814,96,2.823,97,3.465,98,2.823,99,1.814,100,1.814,101,2.823,102,1.814,103,2.823,104,3.465,105,2.823,106,1.814,107,1.814,108,3.465,109,1.814,110,1.814,111,1.814,112,1.814,113,1.814,114,1.814,115,1.494,116,1.814,117,1.814,118,1.282,119,1.814,120,2.823,121,1.814,122,1.814,123,1.814,124,1.814,125,1.814,126,1.814,127,1.814,128,1.814,129,1.814,130,1.814,131,1.814,132,1.814,133,1.814,134,1.814]],["t/243",[135,2.806,136,4.526,137,1.81,138,3.726,139,4.526,140,2.006,141,3.726]],["t/245",[19,3.165,140,1.985,142,4.478,143,3.687,144,3.687,145,3.165,146,4.478,147,4.478]],["t/250",[18,4.513,148,4.296,149,5.482,150,4.513,151,4.296,152,4.296]],["t/252",[137,1.589,153,5.299,154,4.891,155,3.974,156,4.363,157,5.299,158,3.974,159,3.974,160,3.974,161,3.974,162,3.272,163,3.974,164,3.974]],["t/254",[13,2.636,14,2.636,137,1.491,156,3.07,165,3.73,166,4.702,167,4.451,168,4.239,169,3.871,170,4.702,171,4.702,172,3.07,173,3.323,174,3.73,175,2.053,176,3.73,177,3.73]],["t/256",[51,2.992,73,3.921,137,1.692,138,2.611,143,3.921,145,3.592,173,2.242,178,2.992,179,4.578,180,2.611,181,3.921,182,2.611,183,3.171,184,3.171,185,2.992,186,3.171,187,3.484,188,3.171,189,3.171,190,3.171,191,3.171,192,2.611,193,3.171,194,2.611,195,3.171,196,3.171,197,3.171]],["t/258",[6,4.004,137,1.574,140,1.745,145,3.438,175,2.167,178,2.783,180,3.241,181,3.241,185,2.783,198,3.241,199,3.937,200,3.937,201,3.937,202,3.937,203,3.937,204,3.937,205,4.863,206,3.937]],["t/260",[9,2.613,141,4.222,175,3.06,207,3.697,208,3.697,209,5.389,210,3.697,211,3.697,212,3.697,213,3.697,214,3.697,215,3.697,216,3.849,217,2.613,218,3.697,219,3.697,220,3.697,221,2.292]],["t/262",[13,2.209,14,2.209,20,2.598,82,3.342,118,2.962,137,1.676,140,2.095,178,2.209,221,1.937,222,3.125,223,4.19,224,3.125,225,3.125,226,3.125,227,4.19,228,3.125,229,3.125,230,3.125,231,3.125,232,3.125,233,3.125,234,3.125,235,3.125,236,2.572,237,3.125,238,3.125,239,3.125,240,3.125,241,3.125,242,3.125,243,3.125,244,2.572,245,3.125,246,3.125,247,3.125,248,3.125,249,3.125,250,2.572,251,3.125,252,3.125]],["t/264",[135,2.142,140,1.532,172,2.845,175,1.902,185,2.443,221,2.776,244,2.845,250,2.845,253,4.478,254,3.687,255,3.456,256,3.456,257,3.456,258,3.456,259,3.456,260,2.845,261,4.968,262,3.456,263,4.478,264,3.456,265,4.478,266,4.478,267,3.456,268,3.456,269,3.456,270,3.456,271,3.456,272,3.456]],["t/266",[9,2.977,10,3.467,137,2.026,140,1.866,167,3.467,182,3.467,194,3.467,254,3.467,273,3.467,274,4.211,275,5.067,276,4.211]],["t/268",[162,3.154,175,2.632,198,3.154,221,3.482,236,4.625,260,3.154,277,3.831,278,3.831,279,3.831,280,4.781,281,5.212,282,3.831]],["t/270",[283,3.61,284,4.385,285,4.385,286,4.385,287,5.191,288,4.385,289,4.385,290,4.385,291,4.385]],["t/272",[144,3.766,150,3.766,169,3.766,179,4.381,292,4.575]],["t/274",[26,2.013,27,2.671,28,1.54,29,2.671,30,2.671,31,2.908,32,1.54,33,2.908,34,1.54,35,0.903,37,0.903,38,2.013,39,1.54,40,0.903,41,2.013,42,2.013,43,2.013,115,1.54,293,2.446,294,1.87,295,3.244,296,3.772,297,2.446,298,3.244,299,1.096,300,1.87,301,2.89,302,1.87,303,1.096,304,1.096,305,1.87,306,1.096,307,3.533,308,1.096,309,2.89,310,2.446,311,3.533,312,1.87,313,2.446,314,1.87,315,2.446,316,2.446,317,2.89,318,1.87,319,1.096,320,2.89,321,2.89,322,2.446,323,1.096,324,1.87,325,2.89,326,2.446,327,1.87,328,2.89,329,2.446,330,2.446,331,2.446,332,1.87,333,2.89,334,2.89,335,1.87,336,1.096,337,2.446,338,2.446,339,1.87,340,1.096,341,1.096,342,1.87,343,2.446,344,3.533,345,1.096,346,1.87,347,1.87,348,3.244,349,2.446,350,1.87,351,2.89,352,3.244,353,2.89,354,2.446,355,1.096,356,2.446,357,1.096,358,1.87,359,1.87,360,3.244,361,1.096,362,1.096,363,1.096,364,2.446,365,2.446,366,2.446,367,2.89,368,2.446,369,1.87,370,1.096,371,2.446,372,1.096,373,1.096,374,1.87,375,1.096,376,2.446,377,1.096,378,1.87,379,1.87,380,1.87,381,1.096,382,1.096,383,1.096,384,1.87,385,1.096,386,1.096,387,1.096,388,1.096,389,1.096,390,1.096]],["t/276",[19,2.836,135,3.05,137,1.604,140,2.18,391,4.92,392,2.487,393,4.012,394,4.012,395,4.012,396,4.012,397,4.012,398,4.012,399,4.012,400,4.012,401,4.012,402,4.012]],["t/278",[22,1.828,51,2.347,135,2.058,192,2.734,283,2.734,392,2.058,403,4.873,404,3.321,405,3.321,406,3.321,407,3.321,408,3.321,409,3.321,410,3.321,411,3.321,412,1.828,413,3.021,414,3.321,415,3.321,416,3.321,417,2.347,418,1.828,419,2.347,420,2.347,421,2.734,422,3.321,423,3.321,424,3.321,425,2.734,426,3.321,427,3.321,428,3.321,429,3.321,430,3.321,431,3.321,432,2.734,433,3.321]],["t/280",[5,3.433,20,1.923,22,0.843,82,2.193,118,2.193,173,2.193,216,2.033,217,1.083,412,1.958,413,2.205,418,1.708,419,1.083,421,2.929,432,1.261,434,2.469,435,2.554,436,1.532,437,2.033,438,2.998,439,2.929,440,2.758,441,2.998,442,1.531,443,1.532,444,2.193,445,1.083,446,2.554,447,1.261,448,1.532,449,1.746,450,1.746,451,1.746,452,1.083,453,2.033,454,2.033,455,2.418,456,1.532,457,1.532,458,1.532,459,1.532,460,1.532,461,1.261,462,1.746,463,2.147,464,1.261,465,1.532,466,1.532,467,3.102,468,1.261,469,2.033,470,1.746,471,1.746,472,3.102,473,1.261,474,3.102,475,1.746,476,1.261,477,2.469,478,2.033,479,3.102,480,2.033,481,2.469,482,1.083,483,1.532,484,2.469,485,1.532,486,1.532,487,1.746,488,2.193,489,1.532,490,1.532,491,1.531,492,2.469,493,1.532,494,1.532,495,1.261,496,1.532,497,1.532,498,0.95,499,1.532,500,1.532,501,1.532,502,1.532,503,1.532,504,1.532,505,1.083,506,0.843,507,1.532,508,1.261,509,2.033,510,2.033,511,1.532,512,0.95]],["t/282",[22,1.591,412,1.591,417,2.043,418,1.03,420,1.322,437,1.54,438,2.19,442,1.792,444,2.809,445,1.322,446,1.54,449,2.043,450,2.043,451,1.322,452,2.043,455,2.464,462,1.322,463,1.03,468,1.54,470,1.322,471,2.043,473,2.908,475,2.497,476,4.027,482,1.322,491,1.159,495,1.54,498,2.19,505,1.322,506,1.03,512,1.159,513,1.87,514,2.043,515,1.54,516,1.87,517,1.54,518,1.54,519,1.54,520,2.38,521,2.908,522,2.89,523,1.54,524,1.87,525,1.54,526,1.54,527,1.54,528,1.54,529,1.54,530,1.54,531,1.87,532,1.54,533,2.38,534,1.54,535,1.87,536,2.38,537,1.54,538,1.87,539,1.87,540,1.54,541,1.54,542,2.38,543,1.87,544,3.898,545,2.89,546,1.87,547,2.89,548,2.89,549,1.54,550,1.87,551,1.87,552,1.87,553,2.38,554,2.38,555,2.89,556,2.89,557,1.87,558,1.54,559,2.89,560,2.89,561,2.043,562,1.87,563,2.38,564,1.54,565,1.54,566,1.87,567,1.87]],["t/284",[22,1.559,168,2.332,187,2.332,217,0.949,273,1.106,392,0.832,412,1.559,417,1.567,420,0.949,425,1.106,439,1.826,440,3.272,441,2.256,442,1.756,445,0.949,447,1.106,449,2.002,450,2.002,451,0.949,452,2.324,453,2.707,454,2.332,455,2.43,462,1.567,463,1.559,470,0.949,471,1.567,475,0.949,478,1.106,480,2.332,482,2.931,487,2.573,488,1.567,491,0.832,498,2.038,505,0.949,506,0.739,512,0.832,514,0.949,518,1.106,519,1.106,520,1.826,521,2.332,523,1.106,525,1.106,526,1.106,527,1.106,528,1.106,529,1.106,530,1.106,532,2.332,533,1.826,534,1.106,536,1.106,537,1.106,540,1.106,541,1.106,542,1.106,544,2.997,553,2.332,554,2.332,558,1.826,561,1.567,563,2.332,564,1.106,565,1.106,568,1.106,569,1.826,570,0.949,571,2.218,572,2.218,573,1.343,574,2.707,575,1.343,576,1.343,577,4.146,578,2.832,579,2.218,580,2.832,581,1.343,582,1.343,583,1.343,584,1.343,585,1.343,586,1.343,587,1.343,588,1.343,589,1.343,590,1.343,591,2.218,592,1.343,593,1.343,594,2.218,595,3.64,596,1.343,597,1.343,598,2.832,599,2.218,600,2.218,601,2.832,602,1.343,603,1.343,604,1.343,605,1.343,606,1.343,607,1.343,608,1.343,609,1.343,610,1.343,611,1.343,612,2.218,613,1.826,614,2.218,615,1.343,616,1.343,617,1.343,618,1.343]],["t/286",[392,1.431,412,1.271,413,2.487,418,2.208,438,2.1,441,2.1,442,1.431,455,1.431,461,1.9,463,1.271,464,2.788,469,1.9,487,1.631,491,1.431,498,2.1,506,1.271,510,1.9,512,1.431,514,3.124,515,1.9,517,1.9,549,1.9,561,3.327,568,1.9,569,2.788,570,1.631,613,1.9,619,2.308,620,2.308,621,2.308,622,2.308,623,3.387,624,2.308,625,2.308,626,2.308,627,3.387,628,2.308,629,3.387,630,2.308,631,2.308,632,1.9,633,1.9,634,2.788,635,2.308,636,2.308,637,2.308,638,2.308,639,2.308,640,2.308,641,2.308,642,2.308,643,2.308,644,2.308,645,2.308,646,2.308,647,2.308,648,2.308,649,2.308,650,2.308,651,2.308,652,2.308,653,2.308,654,2.308,655,2.308,656,2.308,657,2.308,658,2.308,659,2.308,660,2.308,661,2.308,662,2.308,663,2.308,664,2.308,665,2.308,666,2.308,667,2.308,668,2.308]],["t/288",[413,2.252,418,2,419,2.568,435,2.991,438,2.867,440,2.568,441,2.867,444,2.568,463,2,488,2.568,506,2,508,2.991,509,2.991,570,2.568,574,2.991,632,2.991,633,2.991,634,2.991,669,3.634,670,3.634,671,3.634,672,3.634,673,3.634,674,3.634,675,3.634,676,3.634,677,3.634,678,3.634]]],"invertedIndex":[["0",{"_index":56,"t":{"241":{"position":[[77,1],[409,1]]}}}],["04",{"_index":77,"t":{"241":{"position":[[235,2]]}}}],["1",{"_index":118,"t":{"241":{"position":[[621,1]]},"262":{"position":[[128,1],[363,1]]},"280":{"position":[[179,1],[222,1],[262,1]]}}}],["10",{"_index":101,"t":{"241":{"position":[[427,2],[469,2]]}}}],["12",{"_index":231,"t":{"262":{"position":[[101,2]]}}}],["14",{"_index":58,"t":{"241":{"position":[[84,2]]}}}],["15",{"_index":61,"t":{"241":{"position":[[109,2]]}}}],["16",{"_index":49,"t":{"241":{"position":[[38,2]]}}}],["1600",{"_index":229,"t":{"262":{"position":[[77,4]]}}}],["17",{"_index":63,"t":{"241":{"position":[[127,2]]}}}],["2",{"_index":20,"t":{"237":{"position":[[59,1]]},"241":{"position":[[96,1]]},"262":{"position":[[86,1],[365,1]]},"280":{"position":[[182,1],[225,1],[265,1]]}}}],["2010",{"_index":120,"t":{"241":{"position":[[629,4],[742,4]]}}}],["3",{"_index":82,"t":{"241":{"position":[[275,1],[727,1]]},"262":{"position":[[57,1],[153,1],[367,1]]},"280":{"position":[[199,1],[234,1],[302,1]]}}}],["305",{"_index":99,"t":{"241":{"position":[[411,3]]}}}],["32",{"_index":119,"t":{"241":{"position":[[623,2]]}}}],["4",{"_index":50,"t":{"241":{"position":[[41,1],[130,1]]}}}],["45",{"_index":102,"t":{"241":{"position":[[430,2]]}}}],["5",{"_index":129,"t":{"241":{"position":[[719,1]]}}}],["62",{"_index":107,"t":{"241":{"position":[[472,2]]}}}],["64",{"_index":62,"t":{"241":{"position":[[117,2]]}}}],["65",{"_index":66,"t":{"241":{"position":[[146,2]]}}}],["66",{"_index":60,"t":{"241":{"position":[[93,2]]}}}],["7",{"_index":130,"t":{"241":{"position":[[729,1]]}}}],["78",{"_index":76,"t":{"241":{"position":[[232,2]]}}}],["82",{"_index":93,"t":{"241":{"position":[[365,2]]}}}],["83",{"_index":121,"t":{"241":{"position":[[635,2]]}}}],["84",{"_index":132,"t":{"241":{"position":[[758,2]]}}}],["93",{"_index":81,"t":{"241":{"position":[[272,2]]}}}],["abaixo",{"_index":128,"t":{"241":{"position":[[708,6]]}}}],["abov",{"_index":279,"t":{"268":{"position":[[72,5]]}}}],["ac",{"_index":293,"t":{"274":{"position":[[60,2],[869,2],[1681,2]]}}}],["accumsan",{"_index":390,"t":{"274":{"position":[[2019,8]]}}}],["actual",{"_index":172,"t":{"254":{"position":[[57,6]]},"264":{"position":[[246,8]]}}}],["add",{"_index":5,"t":{"235":{"position":[[53,3]]},"280":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]}}}],["addeventlisten",{"_index":546,"t":{"282":{"position":[[215,16]]}}}],["adipisc",{"_index":32,"t":{"239":{"position":[[40,10]]},"274":{"position":[[40,10],[671,10]]}}}],["aka",{"_index":154,"t":{"252":{"position":[[10,3],[71,3]]}}}],["alert",{"_index":210,"t":{"260":{"position":[[42,5]]}}}],["alfabetiza",{"_index":80,"t":{"241":{"position":[[257,10]]}}}],["align",{"_index":223,"t":{"262":{"position":[[22,5],[68,7]]}}}],["aliquam",{"_index":42,"t":{"239":{"position":[[133,7]]},"274":{"position":[[351,7],[543,7],[1036,7]]}}}],["aliquet",{"_index":370,"t":{"274":{"position":[[1134,7]]}}}],["alongsid",{"_index":402,"t":{"276":{"position":[[159,9]]}}}],["alpha",{"_index":21,"t":{"237":{"position":[[61,5]]}}}],["amet",{"_index":30,"t":{"239":{"position":[[22,4],[174,4]]},"274":{"position":[[22,4],[653,4],[1840,4],[1914,4],[2038,4]]}}}],["analfabetismo",{"_index":88,"t":{"241":{"position":[[317,13]]}}}],["angl",{"_index":188,"t":{"256":{"position":[[210,5]]}}}],["ano",{"_index":59,"t":{"241":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":169,"t":{"254":{"position":[[24,7],[131,7]]},"272":{"position":[[18,7]]}}}],["ant",{"_index":314,"t":{"274":{"position":[[236,4],[1226,4]]}}}],["ao",{"_index":90,"t":{"241":{"position":[[346,2]]}}}],["arcu",{"_index":355,"t":{"274":{"position":[[783,4]]}}}],["asterisk",{"_index":156,"t":{"252":{"position":[[28,9],[86,9],[135,9]]},"254":{"position":[[168,9]]}}}],["automat",{"_index":190,"t":{"256":{"position":[[230,13]]}}}],["b",{"_index":216,"t":{"260":{"position":[[166,1],[173,1]]},"280":{"position":[[115,1],[147,1]]}}}],["bad",{"_index":617,"t":{"284":{"position":[[1164,3]]}}}],["baixa",{"_index":125,"t":{"241":{"position":[[673,5]]}}}],["base",{"_index":146,"t":{"245":{"position":[[50,5]]}}}],["best",{"_index":149,"t":{"250":{"position":[[16,4],[52,4],[88,4]]}}}],["bibendum",{"_index":322,"t":{"274":{"position":[[306,8],[425,8],[989,8]]}}}],["blockquot",{"_index":253,"t":{"264":{"position":[[0,11],[306,10]]}}}],["blog",{"_index":0,"t":{"235":{"position":[[0,4],[33,4],[70,4],[161,4]]},"237":{"position":[[16,4],[27,4]]}}}],["blue",{"_index":399,"t":{"276":{"position":[[109,4]]}}}],["bold",{"_index":159,"t":{"252":{"position":[[75,4]]}}}],["boolean",{"_index":596,"t":{"284":{"position":[[691,7]]}}}],["boy",{"_index":267,"t":{"264":{"position":[[187,3]]}}}],["bracket",{"_index":189,"t":{"256":{"position":[[216,8]]}}}],["break",{"_index":262,"t":{"264":{"position":[[102,5]]}}}],["bunch",{"_index":24,"t":{"237":{"position":[[97,5]]}}}],["cada",{"_index":103,"t":{"241":{"position":[[437,4],[479,4]]}}}],["caution",{"_index":289,"t":{"270":{"position":[[76,7]]}}}],["cell",{"_index":239,"t":{"262":{"position":[[185,4]]}}}],["center",{"_index":230,"t":{"262":{"position":[[91,8]]}}}],["classnam",{"_index":599,"t":{"284":{"position":[[760,9],[1039,9]]}}}],["col",{"_index":227,"t":{"262":{"position":[[53,3],[82,3]]}}}],["colon",{"_index":222,"t":{"262":{"position":[[0,6]]}}}],["color",{"_index":401,"t":{"276":{"position":[[130,6]]}}}],["column",{"_index":224,"t":{"262":{"position":[[28,7]]}}}],["com",{"_index":51,"t":{"241":{"position":[[45,3],[134,3],[510,3],[664,3]]},"256":{"position":[[286,3],[313,3]]},"278":{"position":[[29,3]]}}}],["combin",{"_index":160,"t":{"252":{"position":[[112,8]]}}}],["commodo",{"_index":384,"t":{"274":{"position":[[1732,7],[1987,7]]}}}],["como",{"_index":67,"t":{"241":{"position":[[155,4]]}}}],["compon",{"_index":393,"t":{"276":{"position":[[32,10]]}}}],["composta",{"_index":47,"t":{"241":{"position":[[25,8]]}}}],["compreendida",{"_index":53,"t":{"241":{"position":[[55,12]]}}}],["congu",{"_index":358,"t":{"274":{"position":[[822,6],[1929,6]]}}}],["consectetur",{"_index":31,"t":{"239":{"position":[[28,11]]},"274":{"position":[[28,11],[111,11],[581,11],[659,11],[1573,11],[2105,11]]}}}],["consequat",{"_index":43,"t":{"239":{"position":[[141,9]]},"274":{"position":[[80,9],[1082,9],[2049,9]]}}}],["consol",{"_index":219,"t":{"260":{"position":[[202,7]]}}}],["const",{"_index":554,"t":{"282":{"position":[[409,5],[587,5]]},"284":{"position":[[507,5],[658,5],[908,5]]}}}],["content",{"_index":136,"t":{"243":{"position":[[14,7]]}}}],["contribuindo",{"_index":113,"t":{"241":{"position":[[553,12]]}}}],["conval",{"_index":361,"t":{"274":{"position":[[928,9]]}}}],["cool",{"_index":226,"t":{"262":{"position":[[48,4]]}}}],["cra",{"_index":389,"t":{"274":{"position":[[2014,4]]}}}],["creat",{"_index":18,"t":{"237":{"position":[[35,7]]},"250":{"position":[[5,6],[41,6],[77,6]]}}}],["crescimento",{"_index":94,"t":{"241":{"position":[[371,11]]}}}],["cursu",{"_index":328,"t":{"274":{"position":[[369,6],[872,6],[1412,6],[1617,6]]}}}],["dapibu",{"_index":315,"t":{"274":{"position":[[246,7],[813,7],[1521,7]]}}}],["dash",{"_index":235,"t":{"262":{"position":[[155,6]]}}}],["de",{"_index":65,"t":{"241":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["definit",{"_index":182,"t":{"256":{"position":[[133,11]]},"266":{"position":[[0,10]]}}}],["delet",{"_index":11,"t":{"235":{"position":[[112,6]]}}}],["descer",{"_index":89,"t":{"241":{"position":[[339,6]]}}}],["dia",{"_index":74,"t":{"241":{"position":[[215,3]]}}}],["diam",{"_index":319,"t":{"274":{"position":[[279,4]]}}}],["dignissim",{"_index":36,"t":{"239":{"position":[[80,9]]}}}],["directori",{"_index":7,"t":{"235":{"position":[[75,9],[129,9]]}}}],["dispatchev",{"_index":550,"t":{"282":{"position":[[333,13]]}}}],["do",{"_index":92,"t":{"241":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":150,"t":{"250":{"position":[[21,13],[57,13],[93,13]]},"272":{"position":[[26,8]]}}}],["docusauru",{"_index":19,"t":{"237":{"position":[[48,10]]},"245":{"position":[[56,10]]},"276":{"position":[[79,10]]}}}],["dolor",{"_index":28,"t":{"239":{"position":[[12,5],[164,5]]},"274":{"position":[[12,5],[643,5]]}}}],["don",{"_index":13,"t":{"235":{"position":[[146,3]]},"254":{"position":[[72,3]]},"262":{"position":[[233,3]]}}}],["donec",{"_index":374,"t":{"274":{"position":[[1215,5],[1284,5]]}}}],["dui",{"_index":297,"t":{"274":{"position":[[90,3],[688,4],[1709,3]]}}}],["e",{"_index":57,"t":{"241":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["each",{"_index":237,"t":{"262":{"position":[[173,4]]}}}],["editor",{"_index":559,"t":{"282":{"position":[[472,6],[642,6]]}}}],["egesta",{"_index":350,"t":{"274":{"position":[[696,7],[919,7]]}}}],["eget",{"_index":344,"t":{"274":{"position":[[519,4],[750,4],[1111,4],[1190,4],[1310,4],[1954,4]]}}}],["eleifend",{"_index":366,"t":{"274":{"position":[[1058,8],[1635,8],[2059,8]]}}}],["elementum",{"_index":35,"t":{"239":{"position":[[70,9]]},"274":{"position":[[296,9]]}}}],["elit",{"_index":33,"t":{"239":{"position":[[51,4]]},"274":{"position":[[51,4],[682,4],[879,4],[1357,4],[1407,4],[1660,4]]}}}],["em",{"_index":78,"t":{"241":{"position":[[244,2],[626,2],[739,2]]}}}],["email",{"_index":256,"t":{"264":{"position":[[30,5]]}}}],["emphasi",{"_index":153,"t":{"252":{"position":[[0,8],[61,8],[121,8]]}}}],["empti",{"_index":184,"t":{"256":{"position":[[157,5]]}}}],["emul",{"_index":257,"t":{"264":{"position":[[39,7]]}}}],["enim",{"_index":377,"t":{"274":{"position":[[1366,4]]}}}],["enough",{"_index":270,"t":{"264":{"position":[[236,6]]}}}],["entr",{"_index":54,"t":{"241":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":71,"t":{"241":{"position":[[189,10]]}}}],["enzym",{"_index":426,"t":{"278":{"position":[[136,6]]}}}],["erat",{"_index":364,"t":{"274":{"position":[[974,4],[1044,4],[1995,4]]}}}],["ero",{"_index":41,"t":{"239":{"position":[[128,4]]},"274":{"position":[[568,4],[1290,4],[1537,4]]}}}],["escrev",{"_index":85,"t":{"241":{"position":[[291,8]]}}}],["esperan",{"_index":72,"t":{"241":{"position":[[203,7]]}}}],["est",{"_index":115,"t":{"241":{"position":[[571,4]]},"274":{"position":[[564,3],[1295,3]]}}}],["esteja",{"_index":110,"t":{"241":{"position":[[530,6]]}}}],["et",{"_index":333,"t":{"274":{"position":[[412,2],[693,2],[1354,2],[1506,2]]}}}],["etiam",{"_index":327,"t":{"274":{"position":[[360,5],[1856,5]]}}}],["eu",{"_index":296,"t":{"274":{"position":[[77,2],[999,2],[1049,2],[1453,2],[1689,2],[1752,2],[1862,2]]}}}],["euismod",{"_index":294,"t":{"274":{"position":[[63,7],[1556,7]]}}}],["event",{"_index":552,"t":{"282":{"position":[[351,5]]}}}],["everyon",{"_index":271,"t":{"264":{"position":[[264,8]]}}}],["ex",{"_index":388,"t":{"274":{"position":[[1919,2]]}}}],["exampl",{"_index":143,"t":{"245":{"position":[[15,7]]},"256":{"position":[[278,7],[305,7],[341,7]]}}}],["expect",{"_index":453,"t":{"280":{"position":[[211,6],[285,6]]},"284":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["extern",{"_index":292,"t":{"272":{"position":[[57,8]]}}}],["facebook",{"_index":398,"t":{"276":{"position":[[100,8]]}}}],["facto",{"_index":116,"t":{"241":{"position":[[576,5]]}}}],["fake",{"_index":567,"t":{"282":{"position":[[670,5]]}}}],["falecendo",{"_index":106,"t":{"241":{"position":[[459,9]]}}}],["faucibu",{"_index":335,"t":{"274":{"position":[[434,8],[722,8]]}}}],["favorit",{"_index":400,"t":{"276":{"position":[[121,8]]}}}],["faz",{"_index":109,"t":{"241":{"position":[[506,3]]}}}],["featur",{"_index":1,"t":{"235":{"position":[[5,8],[166,8]]}}}],["feli",{"_index":340,"t":{"274":{"position":[[469,5]]}}}],["fermentum",{"_index":357,"t":{"274":{"position":[[798,9]]}}}],["fertilidad",{"_index":117,"t":{"241":{"position":[[592,11]]}}}],["feugiat",{"_index":313,"t":{"274":{"position":[[228,7],[764,7],[1439,7]]}}}],["file",{"_index":6,"t":{"235":{"position":[[57,5]]},"258":{"position":[[134,4],[176,4]]}}}],["find",{"_index":565,"t":{"282":{"position":[[637,4]]},"284":{"position":[[1017,4]]}}}],["finibu",{"_index":376,"t":{"274":{"position":[[1315,7],[1472,7],[1592,7]]}}}],["first",{"_index":165,"t":{"254":{"position":[[0,5]]}}}],["flavor",{"_index":139,"t":{"243":{"position":[[35,8]]}}}],["folder",{"_index":203,"t":{"258":{"position":[[94,6]]}}}],["follow",{"_index":196,"t":{"256":{"position":[[398,6]]}}}],["form",{"_index":598,"t":{"284":{"position":[[750,4],[824,4],[1022,4]]}}}],["fringilla",{"_index":345,"t":{"274":{"position":[[525,9]]}}}],["function",{"_index":217,"t":{"260":{"position":[[177,8]]},"280":{"position":[[91,8]]},"284":{"position":[[192,8]]}}}],["fusc",{"_index":38,"t":{"239":{"position":[[101,5]]},"274":{"position":[[837,5],[1030,5],[1881,5]]}}}],["github",{"_index":138,"t":{"243":{"position":[[28,6]]},"256":{"position":[[329,6]]}}}],["good",{"_index":406,"t":{"278":{"position":[[41,4]]}}}],["gravida",{"_index":325,"t":{"274":{"position":[[332,7],[966,7],[1196,7],[1756,7]]}}}],["green",{"_index":397,"t":{"276":{"position":[[90,5]]}}}],["gui",{"_index":523,"t":{"282":{"position":[[58,3]]},"284":{"position":[[44,3]]}}}],["h4",{"_index":148,"t":{"250":{"position":[[0,2]]}}}],["h5",{"_index":151,"t":{"250":{"position":[[36,2]]}}}],["h6",{"_index":152,"t":{"250":{"position":[[72,2]]}}}],["habitant",{"_index":105,"t":{"241":{"position":[[446,10],[488,10]]}}}],["handi",{"_index":255,"t":{"264":{"position":[[21,5]]}}}],["handlechang",{"_index":555,"t":{"282":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":577,"t":{"284":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":594,"t":{"284":{"position":[[664,16],[982,16]]}}}],["header",{"_index":238,"t":{"262":{"position":[[178,6]]}}}],["hendrerit",{"_index":349,"t":{"274":{"position":[[620,9],[1671,9],[1865,9]]}}}],["here",{"_index":198,"t":{"258":{"position":[[0,4]]},"268":{"position":[[0,4]]}}}],["highlight",{"_index":209,"t":{"260":{"position":[[27,12],[71,12],[130,12],[232,11]]}}}],["highlightm",{"_index":218,"t":{"260":{"position":[[186,11]]}}}],["histori",{"_index":578,"t":{"284":{"position":[[223,7],[348,7],[543,7]]}}}],["hover",{"_index":200,"t":{"258":{"position":[[17,5]]}}}],["html",{"_index":275,"t":{"266":{"position":[[63,4],[97,4]]}}}],["http",{"_index":192,"t":{"256":{"position":[[267,4]]},"278":{"position":[[9,5]]}}}],["iaculi",{"_index":385,"t":{"274":{"position":[[1784,7]]}}}],["id",{"_index":301,"t":{"274":{"position":[[129,2],[199,2],[1781,2],[2102,2]]}}}],["idad",{"_index":52,"t":{"241":{"position":[[49,5]]}}}],["imag",{"_index":202,"t":{"258":{"position":[[78,6]]}}}],["imperdiet",{"_index":302,"t":{"274":{"position":[[132,9],[712,9]]}}}],["import",{"_index":287,"t":{"270":{"position":[[35,9],[53,9]]}}}],["indic",{"_index":214,"t":{"260":{"position":[[106,9]]}}}],["infantil",{"_index":127,"t":{"241":{"position":[[699,8]]}}}],["inform",{"_index":25,"t":{"237":{"position":[[112,11]]}}}],["inlin",{"_index":178,"t":{"256":{"position":[[7,6],[32,6]]},"258":{"position":[[47,6]]},"262":{"position":[[304,6]]}}}],["input",{"_index":602,"t":{"284":{"position":[[813,5]]}}}],["instanc",{"_index":618,"t":{"284":{"position":[[1193,8]]}}}],["integ",{"_index":369,"t":{"274":{"position":[[1124,7],[2069,7]]}}}],["interdum",{"_index":339,"t":{"274":{"position":[[460,8],[611,8]]}}}],["invalid",{"_index":601,"t":{"284":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":566,"t":{"282":{"position":[[650,6]]}}}],["ipsum",{"_index":27,"t":{"239":{"position":[[6,5],[115,5],[158,5]]},"274":{"position":[[6,5],[637,5],[731,5],[913,5],[1105,5]]}}}],["ital",{"_index":155,"t":{"252":{"position":[[14,7]]}}}],["item",{"_index":168,"t":{"254":{"position":[[19,4],[32,4],[139,4]]},"284":{"position":[[755,4],[829,4],[1027,4]]}}}],["itself",{"_index":186,"t":{"256":{"position":[[185,6]]}}}],["javascript",{"_index":208,"t":{"260":{"position":[[9,10]]}}}],["jest",{"_index":425,"t":{"278":{"position":[[123,4]]},"284":{"position":[[532,4]]}}}],["jsx",{"_index":391,"t":{"276":{"position":[[14,3],[172,3]]}}}],["justo",{"_index":371,"t":{"274":{"position":[[1152,5],[1564,5],[2043,5]]}}}],["keep",{"_index":268,"t":{"264":{"position":[[197,4]]}}}],["lacu",{"_index":373,"t":{"274":{"position":[[1208,5]]}}}],["languag",{"_index":213,"t":{"260":{"position":[[97,8]]}}}],["later",{"_index":197,"t":{"256":{"position":[[405,5]]}}}],["leav",{"_index":183,"t":{"256":{"position":[[148,5]]}}}],["lectu",{"_index":330,"t":{"274":{"position":[[387,6],[535,6],[829,6]]}}}],["ler",{"_index":84,"t":{"241":{"position":[[285,3]]}}}],["less",{"_index":248,"t":{"262":{"position":[[330,4]]}}}],["libero",{"_index":351,"t":{"274":{"position":[[704,6],[1484,6],[1509,6],[1600,6]]}}}],["ligula",{"_index":331,"t":{"274":{"position":[[394,6],[1276,6],[1644,6]]}}}],["line",{"_index":221,"t":{"260":{"position":[[220,4]]},"262":{"position":[[269,4]]},"264":{"position":[[64,4],[129,4]]},"268":{"position":[[9,4],[41,4],[136,4],[183,4],[246,4]]}}}],["link",{"_index":179,"t":{"256":{"position":[[20,4],[45,4],[83,4],[128,4],[175,4],[260,5],[388,5]]},"272":{"position":[[10,4],[46,4]]}}}],["list",{"_index":167,"t":{"254":{"position":[[14,4],[51,4],[122,4],[155,4]]},"266":{"position":[[11,4]]}}}],["loborti",{"_index":381,"t":{"274":{"position":[[1497,8]]}}}],["locat",{"_index":581,"t":{"284":{"position":[[356,8]]}}}],["log",{"_index":220,"t":{"260":{"position":[[210,3]]}}}],["logo",{"_index":199,"t":{"258":{"position":[[11,4]]}}}],["long",{"_index":263,"t":{"264":{"position":[[124,4],[231,4]]}}}],["longo",{"_index":91,"t":{"241":{"position":[[349,5]]}}}],["lorem",{"_index":26,"t":{"239":{"position":[[0,5],[152,5]]},"274":{"position":[[0,5],[631,5],[1849,5]]}}}],["m",{"_index":73,"t":{"241":{"position":[[213,1]]},"256":{"position":[[2,1],[27,1],[63,1]]}}}],["mai",{"_index":64,"t":{"241":{"position":[[138,4],[668,4]]}}}],["make",{"_index":244,"t":{"262":{"position":[[247,4]]},"264":{"position":[[213,4]]}}}],["malesuada",{"_index":332,"t":{"274":{"position":[[402,9],[1232,9]]}}}],["markdown",{"_index":140,"t":{"243":{"position":[[44,8]]},"245":{"position":[[41,8]]},"258":{"position":[[167,8]]},"262":{"position":[[260,8],[311,8],[321,8]]},"264":{"position":[[290,8]]},"266":{"position":[[51,8]]},"276":{"position":[[55,8],[150,8]]}}}],["massa",{"_index":309,"t":{"274":{"position":[[183,5],[1052,5],[1245,5],[2028,5]]}}}],["matter",{"_index":174,"t":{"254":{"position":[[78,6]]}}}],["mauri",{"_index":334,"t":{"274":{"position":[[415,6],[574,6],[604,6],[1892,6]]}}}],["mdx",{"_index":396,"t":{"276":{"position":[[74,3]]}}}],["mi",{"_index":336,"t":{"274":{"position":[[443,2]]}}}],["mil",{"_index":104,"t":{"241":{"position":[[442,3],[484,3],[735,3]]}}}],["minus",{"_index":176,"t":{"254":{"position":[[181,7]]}}}],["mock",{"_index":585,"t":{"284":{"position":[[421,6]]}}}],["molesti",{"_index":299,"t":{"274":{"position":[[102,8]]}}}],["molli",{"_index":308,"t":{"274":{"position":[[176,6]]}}}],["morbi",{"_index":363,"t":{"274":{"position":[[960,5]]}}}],["mortalidad",{"_index":126,"t":{"241":{"position":[[687,11]]}}}],["mundo",{"_index":131,"t":{"241":{"position":[[751,5]]}}}],["mycompon",{"_index":544,"t":{"282":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"284":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["nam",{"_index":310,"t":{"274":{"position":[[203,3],[383,3],[1714,3]]}}}],["nascendo",{"_index":100,"t":{"241":{"position":[[418,8]]}}}],["neat",{"_index":234,"t":{"262":{"position":[[122,4]]}}}],["nec",{"_index":365,"t":{"274":{"position":[[979,3],[1362,3],[1516,3]]}}}],["need",{"_index":243,"t":{"262":{"position":[[239,4]]}}}],["nequ",{"_index":329,"t":{"274":{"position":[[376,5],[983,5],[1725,5]]}}}],["new",{"_index":551,"t":{"282":{"position":[[347,3]]}}}],["newlin",{"_index":280,"t":{"268":{"position":[[85,8],[218,7]]}}}],["next",{"_index":580,"t":{"284":{"position":[[238,4],[382,4],[603,4]]}}}],["nibh",{"_index":311,"t":{"274":{"position":[[210,4],[954,4],[1158,4],[1491,4],[1684,4],[1887,4]]}}}],["nice",{"_index":252,"t":{"262":{"position":[[356,6]]}}}],["nisl",{"_index":360,"t":{"274":{"position":[[863,4],[1340,4],[1665,4],[1875,4],[1944,4]]}}}],["no",{"_index":98,"t":{"241":{"position":[[405,3],[617,3]]}}}],["non",{"_index":307,"t":{"274":{"position":[[172,3],[241,3],[943,3],[1177,3],[1336,3],[1740,3]]}}}],["note",{"_index":284,"t":{"270":{"position":[[13,4]]}}}],["nulla",{"_index":382,"t":{"274":{"position":[[1586,5]]}}}],["nullam",{"_index":298,"t":{"274":{"position":[[95,6],[900,6],[1774,6],[1800,6],[1973,6]]}}}],["number",{"_index":173,"t":{"254":{"position":[[64,7],[103,6]]},"256":{"position":[[100,7]]},"280":{"position":[[107,6],[118,6],[127,6]]}}}],["o",{"_index":45,"t":{"241":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":295,"t":{"274":{"position":[[71,4],[489,4],[1221,4],[1400,4],[1810,4]]}}}],["oh",{"_index":266,"t":{"264":{"position":[[184,2],[274,2]]}}}],["on",{"_index":278,"t":{"268":{"position":[[68,3]]}}}],["onchang",{"_index":560,"t":{"282":{"position":[[479,8],[658,8]]}}}],["option",{"_index":242,"t":{"262":{"position":[[215,8]]}}}],["order",{"_index":166,"t":{"254":{"position":[[6,7],[110,7]]}}}],["ornar",{"_index":305,"t":{"274":{"position":[[157,6],[1371,6]]}}}],["os",{"_index":55,"t":{"241":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["outer",{"_index":240,"t":{"262":{"position":[[195,5]]}}}],["pa",{"_index":124,"t":{"241":{"position":[[657,2]]}}}],["page",{"_index":144,"t":{"245":{"position":[[23,4]]},"272":{"position":[[66,4]]}}}],["para",{"_index":114,"t":{"241":{"position":[[566,4]]}}}],["paragraph",{"_index":281,"t":{"268":{"position":[[120,9],[160,9],[263,9]]}}}],["part",{"_index":259,"t":{"264":{"position":[[72,4]]}}}],["path",{"_index":205,"t":{"258":{"position":[[126,4],[140,4]]}}}],["pathnam",{"_index":582,"t":{"284":{"position":[[365,8]]}}}],["pellentesqu",{"_index":34,"t":{"239":{"position":[[57,12]]},"274":{"position":[[1002,12],[1164,12]]}}}],["peopl",{"_index":274,"t":{"266":{"position":[[29,6]]}}}],["pharetra",{"_index":375,"t":{"274":{"position":[[1257,8]]}}}],["phasellu",{"_index":337,"t":{"274":{"position":[[447,9],[476,9],[1429,9]]}}}],["pipe",{"_index":241,"t":{"262":{"position":[[201,5]]}}}],["placerat",{"_index":378,"t":{"274":{"position":[[1378,8],[1607,8]]}}}],["plugin",{"_index":3,"t":{"235":{"position":[[38,6]]}}}],["pluse",{"_index":177,"t":{"254":{"position":[[192,6]]}}}],["popula",{"_index":44,"t":{"241":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":95,"t":{"241":{"position":[[383,12]]}}}],["por",{"_index":48,"t":{"241":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porta",{"_index":362,"t":{"274":{"position":[[948,5]]}}}],["porttitor",{"_index":342,"t":{"274":{"position":[[504,9],[853,9]]}}}],["portug",{"_index":122,"t":{"241":{"position":[[639,8]]}}}],["portuguesa",{"_index":46,"t":{"241":{"position":[[12,10]]}}}],["post",{"_index":23,"t":{"237":{"position":[[83,4]]}}}],["posuer",{"_index":353,"t":{"274":{"position":[[742,7],[1021,7],[1392,7],[1529,7]]}}}],["power",{"_index":2,"t":{"235":{"position":[[18,7]]}}}],["praesent",{"_index":323,"t":{"274":{"position":[[316,8]]}}}],["pretti",{"_index":249,"t":{"262":{"position":[[335,6]]}}}],["prettili",{"_index":247,"t":{"262":{"position":[[277,8]]}}}],["print",{"_index":212,"t":{"260":{"position":[[85,5]]}}}],["proin",{"_index":303,"t":{"274":{"position":[[143,5]]}}}],["prop",{"_index":605,"t":{"284":{"position":[[1033,4]]}}}],["properli",{"_index":264,"t":{"264":{"position":[[160,8]]}}}],["provid",{"_index":204,"t":{"258":{"position":[[116,9]]}}}],["pulvinar",{"_index":341,"t":{"274":{"position":[[494,8]]}}}],["puru",{"_index":379,"t":{"274":{"position":[[1447,5],[1966,5]]}}}],["push",{"_index":579,"t":{"284":{"position":[[231,4],[553,4]]}}}],["put",{"_index":272,"t":{"264":{"position":[[286,3]]}}}],["python",{"_index":211,"t":{"260":{"position":[[57,6]]}}}],["quam",{"_index":347,"t":{"274":{"position":[[593,4],[938,4]]}}}],["que",{"_index":108,"t":{"241":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":320,"t":{"274":{"position":[[284,4],[346,4],[1251,4],[1323,4]]}}}],["quilom",{"_index":133,"t":{"241":{"position":[[762,6]]}}}],["quot",{"_index":261,"t":{"264":{"position":[[89,5],[96,5],[153,6]]}}}],["raw",{"_index":245,"t":{"262":{"position":[[256,3]]}}}],["react",{"_index":392,"t":{"276":{"position":[[26,5]]},"278":{"position":[[129,5]]},"284":{"position":[[624,5]]},"286":{"position":[[162,5]]}}}],["redux",{"_index":648,"t":{"286":{"position":[[169,5]]}}}],["refer",{"_index":181,"t":{"256":{"position":[[67,9],[112,9],[378,9]]},"258":{"position":[[61,9]]}}}],["rel",{"_index":206,"t":{"258":{"position":[[155,8]]}}}],["render",{"_index":251,"t":{"262":{"position":[[348,7]]}}}],["renovada",{"_index":112,"t":{"241":{"position":[[543,8]]}}}],["repli",{"_index":258,"t":{"264":{"position":[[47,5]]}}}],["resiz",{"_index":547,"t":{"282":{"position":[[233,6],[358,6]]}}}],["return",{"_index":451,"t":{"280":{"position":[[136,6],[192,6]]},"282":{"position":[[464,6]]},"284":{"position":[[740,6]]}}}],["rhoncu",{"_index":39,"t":{"239":{"position":[[107,7]]},"274":{"position":[[1744,7],[1936,7]]}}}],["right",{"_index":228,"t":{"262":{"position":[[62,5]]}}}],["risu",{"_index":300,"t":{"274":{"position":[[123,5],[1767,5]]}}}],["s",{"_index":175,"t":{"254":{"position":[[99,1]]},"258":{"position":[[5,1]]},"260":{"position":[[4,1],[48,1],[52,1],[91,1],[152,1]]},"264":{"position":[[195,1]]},"268":{"position":[[5,1],[233,1]]}}}],["sabem",{"_index":83,"t":{"241":{"position":[[279,5]]}}}],["sagitti",{"_index":356,"t":{"274":{"position":[[788,8],[1419,8],[1547,8]]}}}],["same",{"_index":260,"t":{"264":{"position":[[84,4]]},"268":{"position":[[258,4]]}}}],["sapien",{"_index":383,"t":{"274":{"position":[[1624,6]]}}}],["scelerisqu",{"_index":312,"t":{"274":{"position":[[215,11],[2077,11]]}}}],["scratch",{"_index":164,"t":{"252":{"position":[[193,7]]}}}],["se",{"_index":97,"t":{"241":{"position":[[402,2],[608,2],[660,3]]}}}],["sed",{"_index":352,"t":{"274":{"position":[[738,3],[1078,3],[1388,3],[1543,3],[1950,3]]}}}],["see",{"_index":201,"t":{"258":{"position":[[26,3]]}}}],["sem",{"_index":386,"t":{"274":{"position":[[1818,3]]}}}],["semper",{"_index":324,"t":{"274":{"position":[[325,6],[1329,6]]}}}],["separ",{"_index":236,"t":{"262":{"position":[[162,10]]},"268":{"position":[[49,9],[111,8],[151,8],[196,9],[237,8]]}}}],["ser",{"_index":111,"t":{"241":{"position":[[539,3]]}}}],["serv",{"_index":142,"t":{"245":{"position":[[3,5]]}}}],["setstat",{"_index":597,"t":{"284":{"position":[[716,8]]}}}],["shallow",{"_index":564,"t":{"282":{"position":[[603,7]]},"284":{"position":[[924,7]]}}}],["show",{"_index":195,"t":{"256":{"position":[[364,4]]}}}],["simpl",{"_index":16,"t":{"235":{"position":[[179,6]]}}}],["simpli",{"_index":4,"t":{"235":{"position":[[46,6]]}}}],["singl",{"_index":282,"t":{"268":{"position":[[211,6]]}}}],["sit",{"_index":29,"t":{"239":{"position":[[18,3],[170,3]]},"274":{"position":[[18,3],[649,3],[1836,3],[1910,3],[2034,3]]}}}],["site",{"_index":147,"t":{"245":{"position":[[67,5]]}}}],["situa",{"_index":96,"t":{"241":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":304,"t":{"274":{"position":[[149,7]]}}}],["sollicitudin",{"_index":346,"t":{"274":{"position":[[551,12],[1092,12]]}}}],["someth",{"_index":273,"t":{"266":{"position":[[19,9]]},"284":{"position":[[963,9]]}}}],["sometim",{"_index":194,"t":{"256":{"position":[[295,9]]},"266":{"position":[[40,9]]}}}],["spec",{"_index":452,"t":{"280":{"position":[[160,4]]},"282":{"position":[[289,4],[549,4]]},"284":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["spyon",{"_index":592,"t":{"284":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":591,"t":{"284":{"position":[[513,16],[568,16]]}}}],["start",{"_index":277,"t":{"268":{"position":[[24,5]]}}}],["state",{"_index":600,"t":{"284":{"position":[[776,5],[1204,5]]}}}],["still",{"_index":250,"t":{"262":{"position":[[342,5]]},"264":{"position":[[144,5]]}}}],["strikethrough",{"_index":161,"t":{"252":{"position":[[162,13]]}}}],["string",{"_index":557,"t":{"282":{"position":[[438,6]]}}}],["stripe",{"_index":233,"t":{"262":{"position":[[110,7]]}}}],["strong",{"_index":158,"t":{"252":{"position":[[54,6]]}}}],["style",{"_index":145,"t":{"245":{"position":[[33,7]]},"256":{"position":[[14,5],[39,5],[77,5],[122,5]]},"258":{"position":[[54,5],[71,5]]}}}],["sub",{"_index":171,"t":{"254":{"position":[[47,3],[118,3]]}}}],["support",{"_index":8,"t":{"235":{"position":[[89,8]]}}}],["sure",{"_index":269,"t":{"264":{"position":[[218,4]]}}}],["suscipit",{"_index":372,"t":{"274":{"position":[[1181,8]]}}}],["syntax",{"_index":141,"t":{"243":{"position":[[53,6]]},"260":{"position":[[20,6],[64,6],[123,6]]}}}],["t",{"_index":14,"t":{"235":{"position":[[150,1]]},"254":{"position":[[76,1]]},"262":{"position":[[237,1]]}}}],["tabl",{"_index":225,"t":{"262":{"position":[[37,6]]}}}],["tag",{"_index":9,"t":{"235":{"position":[[98,4]]},"260":{"position":[[168,3]]},"266":{"position":[[102,4]]}}}],["tal",{"_index":68,"t":{"241":{"position":[[160,3]]}}}],["taxa",{"_index":87,"t":{"241":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":321,"t":{"274":{"position":[[289,6],[1718,6],[1959,6],[2095,6]]}}}],["tem",{"_index":69,"t":{"241":{"position":[[177,3]]}}}],["tempor",{"_index":40,"t":{"239":{"position":[[121,6]]},"274":{"position":[[1829,6]]}}}],["tempu",{"_index":368,"t":{"274":{"position":[[1116,6],[1702,6],[1980,6]]}}}],["tendo",{"_index":86,"t":{"241":{"position":[[301,5]]}}}],["termo",{"_index":79,"t":{"241":{"position":[[247,6]]}}}],["test",{"_index":22,"t":{"237":{"position":[[78,4]]},"278":{"position":[[51,5]]},"280":{"position":[[169,4]]},"282":{"position":[[298,4],[559,4]]},"284":{"position":[[298,4],[479,4],[880,4]]}}}],["text",{"_index":185,"t":{"256":{"position":[[180,4],[356,4]]},"258":{"position":[[40,4]]},"264":{"position":[[53,4]]}}}],["thank",{"_index":395,"t":{"276":{"position":[[64,6]]}}}],["throw",{"_index":215,"t":{"260":{"position":[[154,5]]}}}],["tild",{"_index":163,"t":{"252":{"position":[[185,6]]}}}],["tip",{"_index":286,"t":{"270":{"position":[[31,3]]}}}],["titl",{"_index":180,"t":{"256":{"position":[[55,5]]},"258":{"position":[[34,5]]}}}],["tobe",{"_index":454,"t":{"280":{"position":[[229,4],[297,4]]},"284":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":593,"t":{"284":{"position":[[586,14]]}}}],["tortor",{"_index":316,"t":{"274":{"position":[[254,6],[1456,6],[1792,6]]}}}],["trica",{"_index":134,"t":{"241":{"position":[[769,6]]}}}],["trigger",{"_index":604,"t":{"284":{"position":[[973,7]]}}}],["tristiqu",{"_index":367,"t":{"274":{"position":[[1067,9],[1266,9],[1300,9],[2003,9]]}}}],["ts",{"_index":450,"t":{"280":{"position":[[87,2],[165,2]]},"282":{"position":[[204,2],[294,2]]},"284":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":553,"t":{"282":{"position":[[404,3],[554,3]]},"284":{"position":[[653,3],[875,3],[1173,3]]}}}],["turn",{"_index":191,"t":{"256":{"position":[[248,6]]}}}],["turpi",{"_index":306,"t":{"274":{"position":[[164,6]]}}}],["two",{"_index":162,"t":{"252":{"position":[[181,3]]},"268":{"position":[[81,3]]}}}],["typescript",{"_index":424,"t":{"278":{"position":[[111,10]]}}}],["ultric",{"_index":380,"t":{"274":{"position":[[1463,8],[1693,8]]}}}],["ultrici",{"_index":37,"t":{"239":{"position":[[90,9]]},"274":{"position":[[189,9]]}}}],["um",{"_index":123,"t":{"241":{"position":[[650,2]]}}}],["underscor",{"_index":157,"t":{"252":{"position":[[41,11],[99,11],[149,11]]}}}],["unit",{"_index":407,"t":{"278":{"position":[[46,4]]}}}],["unord",{"_index":170,"t":{"254":{"position":[[37,9],[145,9]]}}}],["up",{"_index":246,"t":{"262":{"position":[[274,2]]}}}],["url",{"_index":187,"t":{"256":{"position":[[193,4],[202,4]]},"284":{"position":[[243,3],[387,3],[608,3]]}}}],["urna",{"_index":343,"t":{"274":{"position":[[514,4],[755,4],[808,4]]}}}],["us",{"_index":137,"t":{"243":{"position":[[22,5]]},"252":{"position":[[176,4]]},"254":{"position":[[164,3]]},"256":{"position":[[96,3],[167,3]]},"258":{"position":[[108,4]]},"262":{"position":[[14,4],[300,3]]},"266":{"position":[[36,3],[93,3]]},"276":{"position":[[22,3]]}}}],["ut",{"_index":338,"t":{"274":{"position":[[457,2],[1481,2],[2000,2]]}}}],["valid",{"_index":595,"t":{"284":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":556,"t":{"282":{"position":[[431,5],[676,5]]}}}],["var",{"_index":207,"t":{"260":{"position":[[0,3]]}}}],["variu",{"_index":387,"t":{"274":{"position":[[1822,6]]}}}],["vel",{"_index":354,"t":{"274":{"position":[[760,3],[1204,3],[1845,3]]}}}],["velit",{"_index":326,"t":{"274":{"position":[[340,5],[1015,5],[1142,5]]}}}],["veri",{"_index":254,"t":{"264":{"position":[[16,4],[119,4]]},"266":{"position":[[82,4]]}}}],["vida",{"_index":75,"t":{"241":{"position":[[222,4]]}}}],["vindo",{"_index":70,"t":{"241":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":348,"t":{"274":{"position":[[598,5],[893,5],[907,5],[1922,5],[2089,5]]}}}],["vivamu",{"_index":317,"t":{"274":{"position":[[262,7],[773,7],[1346,7],[1652,7]]}}}],["void",{"_index":558,"t":{"282":{"position":[[447,4]]},"284":{"position":[[216,4],[701,4]]}}}],["volutpat",{"_index":318,"t":{"274":{"position":[[270,8],[884,8]]}}}],["vulput",{"_index":359,"t":{"274":{"position":[[843,9],[1900,9]]}}}],["wangshenwei",{"_index":405,"t":{"278":{"position":[[17,11]]}}}],["want",{"_index":15,"t":{"235":{"position":[[152,4]]}}}],["warn",{"_index":291,"t":{"270":{"position":[[97,7]]}}}],["welcom",{"_index":17,"t":{"237":{"position":[[0,7]]}}}],["well",{"_index":10,"t":{"235":{"position":[[106,4]]},"266":{"position":[[87,4]]}}}],["whole",{"_index":12,"t":{"235":{"position":[[123,5]]},"237":{"position":[[91,5]]}}}],["window",{"_index":545,"t":{"282":{"position":[[208,6],[326,6]]}}}],["within",{"_index":394,"t":{"276":{"position":[[43,6]]}}}],["work",{"_index":276,"t":{"266":{"position":[[77,4]]}}}],["wrap",{"_index":265,"t":{"264":{"position":[[177,5],[255,4]]}}}],["wrapper",{"_index":563,"t":{"282":{"position":[[593,7],[629,7]]},"284":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":135,"t":{"243":{"position":[[8,5]]},"264":{"position":[[202,7]]},"276":{"position":[[8,5],[144,5]]},"278":{"position":[[33,7]]}}}],["www",{"_index":193,"t":{"256":{"position":[[274,3]]}}}],["zebra",{"_index":232,"t":{"262":{"position":[[104,5]]}}}],["一个",{"_index":442,"t":{"280":{"position":[[32,2],[69,2]]},"282":{"position":[[179,2],[382,2]]},"284":{"position":[[163,2],[621,2],[1139,2]]},"286":{"position":[[196,2]]}}}],["万物",{"_index":408,"t":{"278":{"position":[[61,2]]}}}],["三条",{"_index":671,"t":{"288":{"position":[[15,2]]}}}],["上述",{"_index":466,"t":{"280":{"position":[[332,2]]}}}],["下来",{"_index":670,"t":{"288":{"position":[[11,2]]}}}],["不再",{"_index":485,"t":{"280":{"position":[[434,2]]}}}],["不同",{"_index":509,"t":{"280":{"position":[[575,2],[585,2]]},"288":{"position":[[34,2]]}}}],["不断",{"_index":623,"t":{"286":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":612,"t":{"284":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":461,"t":{"280":{"position":[[317,2]]},"286":{"position":[[35,2]]}}}],["中",{"_index":573,"t":{"284":{"position":[[63,1]]}}}],["主动",{"_index":548,"t":{"282":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":650,"t":{"286":{"position":[[176,2]]}}}],["主要",{"_index":422,"t":{"278":{"position":[[106,2]]}}}],["之后",{"_index":496,"t":{"280":{"position":[[505,2]]}}}],["事件",{"_index":476,"t":{"280":{"position":[[368,2]]},"282":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":662,"t":{"286":{"position":[[226,2]]}}}],["以上",{"_index":674,"t":{"288":{"position":[[64,2]]}}}],["以下",{"_index":420,"t":{"278":{"position":[[103,2]]},"282":{"position":[[35,2]]},"284":{"position":[[31,2]]}}}],["任务",{"_index":539,"t":{"282":{"position":[[145,2]]}}}],["例子",{"_index":449,"t":{"280":{"position":[[75,2],[334,2]]},"282":{"position":[[184,2],[384,2]]},"284":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":526,"t":{"282":{"position":[[79,2]]},"284":{"position":[[75,2]]}}}],["依然",{"_index":543,"t":{"282":{"position":[[176,2]]}}}],["依赖",{"_index":521,"t":{"282":{"position":[[50,2],[510,2],[524,2]]},"284":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":668,"t":{"286":{"position":[[250,2]]}}}],["值",{"_index":575,"t":{"284":{"position":[[121,1]]}}}],["做",{"_index":505,"t":{"280":{"position":[[554,1]]},"282":{"position":[[159,1]]},"284":{"position":[[139,1]]}}}],["充分",{"_index":448,"t":{"280":{"position":[[61,2]]}}}],["关于",{"_index":429,"t":{"278":{"position":[[148,2]]}}}],["关键",{"_index":637,"t":{"286":{"position":[[106,2]]}}}],["其中",{"_index":657,"t":{"286":{"position":[[194,2]]}}}],["其它",{"_index":529,"t":{"282":{"position":[[90,2]]},"284":{"position":[[86,2]]}}}],["其实",{"_index":436,"t":{"280":{"position":[[11,2]]}}}],["内容",{"_index":675,"t":{"288":{"position":[[66,2]]}}}],["内部",{"_index":613,"t":{"284":{"position":[[1117,2],[1124,2]]},"286":{"position":[[46,2]]}}}],["几种",{"_index":519,"t":{"282":{"position":[[37,2]]},"284":{"position":[[33,2]]}}}],["函数",{"_index":472,"t":{"280":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":511,"t":{"280":{"position":[[599,2]]}}}],["判断",{"_index":603,"t":{"284":{"position":[[843,2]]}}}],["前端",{"_index":639,"t":{"286":{"position":[[113,2]]}}}],["前面",{"_index":502,"t":{"280":{"position":[[526,2]]}}}],["副作用",{"_index":482,"t":{"280":{"position":[[409,3]]},"282":{"position":[[113,3]]},"284":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":541,"t":{"282":{"position":[[164,2]]},"284":{"position":[[144,2]]}}}],["化",{"_index":640,"t":{"286":{"position":[[117,1]]}}}],["化繁为简",{"_index":499,"t":{"280":{"position":[[513,4]]}}}],["单一化",{"_index":661,"t":{"286":{"position":[[222,3]]}}}],["单元",{"_index":464,"t":{"280":{"position":[[328,2]]},"286":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":413,"t":{"278":{"position":[[80,4],[98,4],[150,4]]},"280":{"position":[[2,4],[36,4],[246,4],[547,4]]},"286":{"position":[[22,4],[76,4],[232,4]]},"288":{"position":[[5,4]]}}}],["单向",{"_index":654,"t":{"286":{"position":[[186,2]]}}}],["即可",{"_index":537,"t":{"282":{"position":[[136,2]]},"284":{"position":[[122,2]]}}}],["厘清",{"_index":507,"t":{"280":{"position":[[558,2]]}}}],["原因",{"_index":658,"t":{"286":{"position":[[198,2]]}}}],["参数",{"_index":473,"t":{"280":{"position":[[358,2]]},"282":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":522,"t":{"282":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":571,"t":{"284":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":645,"t":{"286":{"position":[[150,2]]}}}],["变量",{"_index":520,"t":{"282":{"position":[[43,2],[121,2]]},"284":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":608,"t":{"284":{"position":[[1098,2]]}}}],["可以",{"_index":498,"t":{"280":{"position":[[511,2]]},"282":{"position":[[10,2],[93,2],[103,2]]},"284":{"position":[[10,2],[89,2],[259,2],[432,2]]},"286":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":474,"t":{"280":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":660,"t":{"286":{"position":[[208,2]]}}}],["合理",{"_index":643,"t":{"286":{"position":[[127,2]]}}}],["同时",{"_index":664,"t":{"286":{"position":[[240,2]]}}}],["回归",{"_index":501,"t":{"280":{"position":[[523,2]]}}}],["因为",{"_index":615,"t":{"284":{"position":[[1122,2]]}}}],["因此",{"_index":477,"t":{"280":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":490,"t":{"280":{"position":[[467,2]]}}}],["地",{"_index":569,"t":{"284":{"position":[[15,1],[116,1]]},"286":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":446,"t":{"280":{"position":[[56,2],[319,2],[379,2]]},"282":{"position":[[24,2]]}}}],["基于",{"_index":423,"t":{"278":{"position":[[108,2]]}}}],["基本",{"_index":434,"t":{"280":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":430,"t":{"278":{"position":[[155,4]]}}}],["增大",{"_index":527,"t":{"282":{"position":[[81,2]]},"284":{"position":[[77,2]]}}}],["增长",{"_index":624,"t":{"286":{"position":[[41,2]]}}}],["备注",{"_index":283,"t":{"270":{"position":[[0,2]]},"278":{"position":[[0,2]]}}}],["复杂",{"_index":467,"t":{"280":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":626,"t":{"286":{"position":[[52,3]]}}}],["复杂度",{"_index":525,"t":{"282":{"position":[[76,3]]},"284":{"position":[[72,3]]}}}],["外界",{"_index":532,"t":{"282":{"position":[[110,2]]},"284":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":475,"t":{"280":{"position":[[365,2],[465,2]]},"282":{"position":[[48,2],[97,2],[151,2]]},"284":{"position":[[52,2]]}}}],["多",{"_index":468,"t":{"280":{"position":[[339,1]]},"282":{"position":[[22,1]]}}}],["多样化",{"_index":628,"t":{"286":{"position":[[67,3]]}}}],["大家",{"_index":676,"t":{"288":{"position":[[69,2]]}}}],["大致",{"_index":518,"t":{"282":{"position":[[32,2]]},"284":{"position":[[28,2]]}}}],["大道至简",{"_index":410,"t":{"278":{"position":[[66,4]]}}}],["如下",{"_index":457,"t":{"280":{"position":[[253,2]]}}}],["如今",{"_index":638,"t":{"286":{"position":[[110,2]]}}}],["如何",{"_index":417,"t":{"278":{"position":[[91,2]]},"282":{"position":[[258,2],[506,2]]},"284":{"position":[[252,2],[838,2]]}}}],["始",{"_index":409,"t":{"278":{"position":[[64,1]]}}}],["始终",{"_index":606,"t":{"284":{"position":[[1073,2]]}}}],["它们",{"_index":512,"t":{"280":{"position":[[603,2]]},"282":{"position":[[73,2]]},"284":{"position":[[65,2]]},"286":{"position":[[202,2]]}}}],["完成",{"_index":538,"t":{"282":{"position":[[138,2]]}}}],["实际",{"_index":620,"t":{"286":{"position":[[30,2]]}}}],["容易",{"_index":568,"t":{"284":{"position":[[13,2]]},"286":{"position":[[15,2]]}}}],["对",{"_index":574,"t":{"284":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"288":{"position":[[68,1]]}}}],["对于",{"_index":533,"t":{"282":{"position":[[117,2],[149,2]]},"284":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":611,"t":{"284":{"position":[[1108,2]]}}}],["对外部",{"_index":481,"t":{"280":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":488,"t":{"280":{"position":[[460,2],[481,2],[562,2]]},"284":{"position":[[1082,2],[1133,2]]},"288":{"position":[[23,2]]}}}],["将",{"_index":421,"t":{"278":{"position":[[105,1]]},"280":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":515,"t":{"282":{"position":[[14,1]]},"286":{"position":[[153,1]]}}}],["尝试",{"_index":411,"t":{"278":{"position":[[74,2]]}}}],["尤为重要",{"_index":642,"t":{"286":{"position":[[122,4]]}}}],["就",{"_index":497,"t":{"280":{"position":[[510,1]]}}}],["就是",{"_index":506,"t":{"280":{"position":[[556,2]]},"282":{"position":[[161,2]]},"284":{"position":[[141,2]]},"286":{"position":[[200,2]]},"288":{"position":[[13,2]]}}}],["工具",{"_index":652,"t":{"286":{"position":[[181,2]]}}}],["巧妙",{"_index":659,"t":{"286":{"position":[[204,2]]}}}],["希望",{"_index":673,"t":{"288":{"position":[[62,2]]}}}],["帮助",{"_index":678,"t":{"288":{"position":[[73,2]]}}}],["应该",{"_index":610,"t":{"284":{"position":[[1105,2]]}}}],["当然",{"_index":459,"t":{"280":{"position":[[312,2]]}}}],["形式",{"_index":510,"t":{"280":{"position":[[577,2],[587,2]]},"286":{"position":[[61,2]]}}}],["形态",{"_index":570,"t":{"284":{"position":[[26,2]]},"286":{"position":[[63,2]]},"288":{"position":[[36,2]]}}}],["影响",{"_index":487,"t":{"280":{"position":[[456,2],[492,2]]},"284":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"286":{"position":[[220,2]]}}}],["往往",{"_index":619,"t":{"286":{"position":[[28,2]]}}}],["思想",{"_index":414,"t":{"278":{"position":[[84,2]]}}}],["总结",{"_index":669,"t":{"288":{"position":[[9,2]]}}}],["情况",{"_index":621,"t":{"286":{"position":[[32,2]]}}}],["想",{"_index":540,"t":{"282":{"position":[[163,1]]},"284":{"position":[[143,1]]}}}],["我们",{"_index":455,"t":{"280":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"282":{"position":[[8,2],[126,2],[156,2],[174,2]]},"284":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"286":{"position":[[10,2]]}}}],["或者",{"_index":584,"t":{"284":{"position":[[414,2]]}}}],["所以",{"_index":503,"t":{"280":{"position":[[540,2]]}}}],["所有",{"_index":479,"t":{"280":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":634,"t":{"286":{"position":[[96,2],[129,2]]},"288":{"position":[[59,2]]}}}],["掌握",{"_index":508,"t":{"280":{"position":[[571,2]]},"288":{"position":[[32,2]]}}}],["探讨",{"_index":416,"t":{"278":{"position":[[89,2]]}}}],["推崇",{"_index":653,"t":{"286":{"position":[[183,2]]}}}],["提到",{"_index":484,"t":{"280":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":665,"t":{"286":{"position":[[242,2]]}}}],["提示",{"_index":285,"t":{"270":{"position":[[18,2]]}}}],["操作",{"_index":524,"t":{"282":{"position":[[62,2]]}}}],["数据流",{"_index":655,"t":{"286":{"position":[[188,3]]}}}],["断言",{"_index":440,"t":{"280":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"284":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"288":{"position":[[47,2]]}}}],["方法",{"_index":435,"t":{"280":{"position":[[9,2],[535,2],[593,2]]},"288":{"position":[[50,2]]}}}],["时",{"_index":667,"t":{"286":{"position":[[248,1]]}}}],["时间",{"_index":516,"t":{"282":{"position":[[16,2]]}}}],["是不是",{"_index":458,"t":{"280":{"position":[[305,3]]}}}],["是否",{"_index":589,"t":{"284":{"position":[[444,2]]}}}],["普通",{"_index":471,"t":{"280":{"position":[[351,2],[391,2]]},"282":{"position":[[41,2],[119,2]]},"284":{"position":[[37,2],[103,2]]}}}],["更",{"_index":514,"t":{"282":{"position":[[13,1],[21,1]]},"284":{"position":[[12,1]]},"286":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":469,"t":{"280":{"position":[[344,2],[384,2]]},"286":{"position":[[65,2]]}}}],["有所",{"_index":677,"t":{"288":{"position":[[71,2]]}}}],["有时",{"_index":583,"t":{"284":{"position":[[398,2]]}}}],["本文",{"_index":403,"t":{"278":{"position":[[3,2],[72,2],[165,2]]}}}],["来源",{"_index":517,"t":{"282":{"position":[[30,2]]},"286":{"position":[[215,2]]}}}],["来自",{"_index":531,"t":{"282":{"position":[[108,2]]}}}],["构造",{"_index":535,"t":{"282":{"position":[[130,2]]}}}],["框架",{"_index":651,"t":{"286":{"position":[[178,2]]}}}],["模式",{"_index":641,"t":{"286":{"position":[[119,2]]}}}],["正确",{"_index":590,"t":{"284":{"position":[[447,2]]}}}],["步骤",{"_index":456,"t":{"280":{"position":[[251,2]]}}}],["每个",{"_index":644,"t":{"286":{"position":[[138,2]]}}}],["注意",{"_index":290,"t":{"270":{"position":[[84,2]]}}}],["测试",{"_index":463,"t":{"280":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"282":{"position":[[69,2]]},"284":{"position":[[61,2],[1080,2],[1131,2]]},"286":{"position":[[140,2]]},"288":{"position":[[21,2]]}}}],["点",{"_index":588,"t":{"284":{"position":[[443,1]]}}}],["特定",{"_index":562,"t":{"282":{"position":[[515,2]]}}}],["状态",{"_index":614,"t":{"284":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":486,"t":{"280":{"position":[[437,2]]}}}],["理解",{"_index":495,"t":{"280":{"position":[[503,2]]},"282":{"position":[[105,2]]}}}],["监视",{"_index":587,"t":{"284":{"position":[[434,2]]}}}],["盛行",{"_index":656,"t":{"286":{"position":[[191,2]]}}}],["目标",{"_index":609,"t":{"284":{"position":[[1103,2]]}}}],["看作",{"_index":530,"t":{"282":{"position":[[95,2]]},"284":{"position":[[91,2]]}}}],["真实",{"_index":460,"t":{"280":{"position":[[315,2]]}}}],["着手",{"_index":415,"t":{"278":{"position":[[86,2]]}}}],["示例",{"_index":428,"t":{"278":{"position":[[145,2]]}}}],["称之为",{"_index":492,"t":{"280":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":528,"t":{"282":{"position":[[86,3]]},"284":{"position":[[82,3]]}}}],["等",{"_index":649,"t":{"286":{"position":[[175,1]]}}}],["简单",{"_index":412,"t":{"278":{"position":[[77,2]]},"280":{"position":[[14,2],[45,2],[72,2],[309,2]]},"282":{"position":[[2,2],[181,2]]},"284":{"position":[[2,2],[114,2],[165,2]]},"286":{"position":[[1,2]]}}}],["组件",{"_index":561,"t":{"282":{"position":[[512,2],[526,2]]},"284":{"position":[[630,2],[847,2]]},"286":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":480,"t":{"280":{"position":[[398,2],[421,2]]},"284":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":427,"t":{"278":{"position":[[143,2]]}}}],["给定",{"_index":437,"t":{"280":{"position":[[18,2],[257,2]]},"282":{"position":[[140,2]]}}}],["继续",{"_index":576,"t":{"284":{"position":[[160,2]]}}}],["编写",{"_index":418,"t":{"278":{"position":[[93,2]]},"280":{"position":[[0,2],[244,2],[542,2]]},"282":{"position":[[67,2]]},"286":{"position":[[18,2],[74,2],[230,2]]},"288":{"position":[[0,2]]}}}],["聚焦",{"_index":646,"t":{"286":{"position":[[156,2]]}}}],["良好",{"_index":419,"t":{"278":{"position":[[95,2]]},"280":{"position":[[544,2]]},"288":{"position":[[2,2]]}}}],["花",{"_index":513,"t":{"282":{"position":[[12,1]]}}}],["范围",{"_index":433,"t":{"278":{"position":[[169,2]]}}}],["行为",{"_index":489,"t":{"280":{"position":[[462,2]]}}}],["要",{"_index":462,"t":{"280":{"position":[[324,1],[553,1]]},"282":{"position":[[158,1]]},"284":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":443,"t":{"280":{"position":[[41,2]]}}}],["覆盖",{"_index":444,"t":{"280":{"position":[[49,2],[375,2],[573,2]]},"282":{"position":[[19,2],[71,2],[260,2],[508,2]]},"288":{"position":[[42,2]]}}}],["解决",{"_index":635,"t":{"286":{"position":[[99,2]]}}}],["触发",{"_index":542,"t":{"282":{"position":[[166,2],[522,2]]},"284":{"position":[[441,2]]}}}],["警告",{"_index":288,"t":{"270":{"position":[[63,2]]}}}],["讨论",{"_index":432,"t":{"278":{"position":[[167,2]]},"280":{"position":[[601,2]]}}}],["记得",{"_index":607,"t":{"284":{"position":[[1075,2]]}}}],["识别",{"_index":672,"t":{"288":{"position":[[19,2]]}}}],["诸如",{"_index":647,"t":{"286":{"position":[[159,2]]}}}],["调用",{"_index":572,"t":{"284":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":445,"t":{"280":{"position":[[51,2]]},"282":{"position":[[0,2]]},"284":{"position":[[0,2]]}}}],["转载自",{"_index":404,"t":{"278":{"position":[[5,3]]}}}],["输入",{"_index":438,"t":{"280":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"282":{"position":[[5,2],[27,2],[142,2]]},"286":{"position":[[4,2],[213,2]]},"288":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":627,"t":{"286":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":441,"t":{"280":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"284":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"286":{"position":[[7,2],[218,2]]},"288":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":500,"t":{"280":{"position":[[521,2]]}}}],["运行",{"_index":439,"t":{"280":{"position":[[23,2],[267,2],[419,2],[483,2]]},"284":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":549,"t":{"282":{"position":[[267,2]]},"286":{"position":[[101,2]]}}}],["这些",{"_index":536,"t":{"282":{"position":[[132,2],[168,2]]},"284":{"position":[[148,2]]}}}],["这样",{"_index":494,"t":{"280":{"position":[[501,2]]}}}],["这里",{"_index":483,"t":{"280":{"position":[[424,2]]}}}],["进行",{"_index":447,"t":{"280":{"position":[[59,2]]},"284":{"position":[[67,2]]}}}],["远",{"_index":465,"t":{"280":{"position":[[330,1]]}}}],["适时地",{"_index":632,"t":{"286":{"position":[[90,3]]},"288":{"position":[[53,3]]}}}],["造成",{"_index":493,"t":{"280":{"position":[[489,2]]}}}],["逻辑",{"_index":625,"t":{"286":{"position":[[48,2]]}}}],["那么",{"_index":586,"t":{"284":{"position":[[428,2]]}}}],["都",{"_index":491,"t":{"280":{"position":[[469,1],[494,1]]},"282":{"position":[[92,1]]},"284":{"position":[[88,1]]},"286":{"position":[[149,1]]}}}],["重构",{"_index":633,"t":{"286":{"position":[[93,2]]},"288":{"position":[[56,2]]}}}],["重要性",{"_index":431,"t":{"278":{"position":[[160,3]]}}}],["错误",{"_index":616,"t":{"284":{"position":[[1141,2]]}}}],["问题",{"_index":636,"t":{"286":{"position":[[103,2]]}}}],["降低",{"_index":663,"t":{"286":{"position":[[228,2]]}}}],["陡增",{"_index":631,"t":{"286":{"position":[[86,2]]}}}],["除了",{"_index":470,"t":{"280":{"position":[[349,2],[389,2]]},"282":{"position":[[84,2]]},"284":{"position":[[80,2]]}}}],["随之",{"_index":630,"t":{"286":{"position":[[84,2]]}}}],["难以",{"_index":478,"t":{"280":{"position":[[373,2],[415,2]]},"284":{"position":[[409,2]]}}}],["难度",{"_index":629,"t":{"286":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":666,"t":{"286":{"position":[[246,2]]}}}],["需",{"_index":534,"t":{"282":{"position":[[129,1]]},"284":{"position":[[113,1]]}}}],["需求",{"_index":622,"t":{"286":{"position":[[37,2]]}}}],["首先",{"_index":504,"t":{"280":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/zh-CN/search/index.html b/zh-CN/search/index.html new file mode 100644 index 00000000..60f0feaf --- /dev/null +++ b/zh-CN/search/index.html @@ -0,0 +1,14 @@ + + + + + +搜索文档 + + + + + + + + \ No newline at end of file diff --git a/zh-CN/sitemap.xml b/zh-CN/sitemap.xml new file mode 100644 index 00000000..b8c8690d --- /dev/null +++ b/zh-CN/sitemap.xml @@ -0,0 +1 @@ +https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blogweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/archiveweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/hello-worldweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/tags/docusaurusweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/tags/facebookweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/tags/helloweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/tags/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/welcomeweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/blog/writing-good-unit-testsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/searchweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tags/front-matterweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tags/keywordsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tags/testweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/category/tutorial---basicsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/category/tutorial---extrasweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/introweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/congratulationsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-blog-postweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-documentweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/create-a-pageweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/deploy-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-basics/markdown-featuresweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/manage-docs-versionsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/next/tutorial-extras/translate-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/doc-in-ptweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/doc2weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/doc3weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/docs/mdxweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-CN/weekly0.5 \ No newline at end of file diff --git a/zh-TW/.nojekyll b/zh-TW/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/zh-TW/404.html b/zh-TW/404.html new file mode 100644 index 00000000..5c477a64 --- /dev/null +++ b/zh-TW/404.html @@ -0,0 +1,14 @@ + + + + + +找不到頁面 | Docusaurus Search + + + + + +

找不到頁面

我們沒有您要找的頁面。

請聯絡原始連結來源網站的所有者,並通知他們連結已毀損。

+ + \ No newline at end of file diff --git a/zh-TW/assets/css/styles.13dc8b47.css b/zh-TW/assets/css/styles.13dc8b47.css new file mode 100644 index 00000000..c1feaf8f --- /dev/null +++ b/zh-TW/assets/css/styles.13dc8b47.css @@ -0,0 +1 @@ +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_HA4k,html{-webkit-tap-highlight-color:transparent}*,.loadingRing_MTs2 div{box-sizing:border-box}.clean-list,.containsTaskList_FA68,.details_KJn4>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#46cbae;--ifm-color-primary-lighter:#66d4bd;--ifm-color-primary-lightest:#92e0d0;--ifm-code-font-size:95%;--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_ckrM article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_kCh2,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:transparent;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_Eejg .wordWrapButtonIcon_IIsw{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_dLsS,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after,.searchBarContainer_nwld.searchIndexLoading_TSh5 .searchBarLoadingRing_RHN6{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.content_jqJ1 a,.hitFooter_MyWu a,.suggestion_m3ms.cursor_qOAr mark{text-decoration:underline}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_D4w5:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;pointer-events:none;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.sidebar_Tfnr,.tableOfContents_odbd{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_s2DS article>:first-child,.docItemContainer_s2DS header+*,.footer__item{margin-top:0}.admonitionContent_Izui>:last-child,.cardContainer_R7by :last-child,.collapsibleContent_pIWv p:last-child,.details_KJn4>summary>p:last-child,.footer__items,.searchResultItem_gF5N>h2{margin-bottom:0}.codeBlockStandalone_Zx9w,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.title_LFnH{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_KJn4[data-collapsed=false].isBrowser_Unbb>summary:before,.details_KJn4[open]:not(.isBrowser_Unbb)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_hYVY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.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)}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover,.sidebarItemLink_zGe6:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_FA68>li)>.containsTaskList_FA68{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}.docusaurus-highlight-code-line{background-color:#484d5b;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_l1sK,.hideAction_DX6M>svg,.navbarSearchContainer_bYhf:not(:has(>*)),.sidebarLogo_y82R,.themedComponent_lAfP,[data-theme=dark] .lightToggleIcon_tTRg,[data-theme=light] .darkToggleIcon_i3Jm,html[data-announcement-bar-initially-dismissed=true] .announcementBar_lHnW{display:none}.skipToContent__7wj{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__7wj:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_zp99{line-height:0;padding:0}.content_jqJ1{font-size:85%;padding:5px 0;text-align:center}.content_jqJ1 a{color:inherit}.announcementBar_lHnW{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_wKiJ{flex:0 0 10px}.announcementBarClose_NRWR{align-self:stretch;flex:0 0 30px}.toggle_QpWG{height:2rem;width:2rem}.toggleButton_HA4k{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_HA4k:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_Am9_{cursor:not-allowed}.darkNavbarColorModeToggle_MELe:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_kBbf,[data-theme=light] .themedComponent--light_XB4J,html:not([data-theme]) .themedComponent--light_XB4J{display:initial}.iconExternalLink_Olb8{margin-left:.3rem}.iconLanguage_RUbi{margin-right:5px;vertical-align:text-bottom}.searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,#f5f6f7);border-radius:6px;box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64);left:auto!important;margin-top:8px;padding:var(--search-local-spacing,12px);position:relative;right:0!important;width:var(--search-local-modal-width,560px)}html[data-theme=dark] .searchBar_ZNED .dropdownMenu_KI5l{background:var(--search-local-modal-background,var(--ifm-background-color));box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309)}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms{align-items:center;background:var(--search-local-hit-background,#fff);border-radius:4px;box-shadow:var(--search-local-hit-shadow,0 1px 3px 0 #d4d9e1);color:var(--search-local-hit-color,#444950);cursor:pointer;display:flex;flex-direction:row;height:var(--search-local-hit-height,56px);padding:0 var(--search-local-spacing,12px);width:100%}.buttons_pzbO,.features_keug,.hitTree_TD98,.noResults_iR5T{align-items:center;display:flex}html[data-theme=dark] .dropdownMenu_KI5l .suggestion_m3ms{background:var(--search-local-hit-background,var(--ifm-color-emphasis-100));box-shadow:var(--search-local-hit-shadow,none);color:var(--search-local-hit-color,var(--ifm-font-color-base))}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms:not(:last-child){margin-bottom:4px}.searchBar_ZNED .dropdownMenu_KI5l .suggestion_m3ms.cursor_qOAr{background-color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitFooter_MyWu a,.hitIcon_fMx6,.hitPath_nPSC,.hitTree_TD98,.noResultsIcon_UhOM{color:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .hitIcon_fMx6,html[data-theme=dark] .hitPath_nPSC,html[data-theme=dark] .hitTree_TD98,html[data-theme=dark] .noResultsIcon_UhOM{color:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}.hitTree_TD98>svg{height:var(--search-local-hit-height,56px);opacity:.5;width:24px}.hitIcon_fMx6,.hitTree_TD98>svg{stroke-width:var(--search-local-icon-stroke-width,1.4)}.hitAction_Dksg,.hitIcon_fMx6{height:20px;width:20px}.hitWrapper_FGPj{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;margin:0 8px;overflow-x:hidden;width:80%}.hitWrapper_FGPj mark{background:none;color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitTitle_jvEB{font-size:.9em}.hitPath_nPSC{font-size:.75em}.hitPath_nPSC,.hitTitle_jvEB{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.noResults_iR5T{flex-direction:column;justify-content:center;padding:var(--search-local-spacing,12px) 0}.noResultsIcon_UhOM{margin-bottom:var(--search-local-spacing,12px)}.hitFooter_MyWu{font-size:.85em;margin-top:var(--search-local-spacing,12px);text-align:center}.cursor_qOAr .hideAction_DX6M>svg,.tocCollapsibleContent_P7EO a{display:block}.suggestion_m3ms.cursor_qOAr,.suggestion_m3ms.cursor_qOAr .hitIcon_fMx6,.suggestion_m3ms.cursor_qOAr .hitPath_nPSC,.suggestion_m3ms.cursor_qOAr .hitTree_TD98,.suggestion_m3ms.cursor_qOAr mark{color:var(--search-local-hit-active-color,var(--ifm-color-white))!important}.searchBarContainer_nwld{margin-left:16px}.searchBarContainer_nwld .searchBarLoadingRing_RHN6{display:none;left:10px;position:absolute;top:6px}.searchBarContainer_nwld .searchClearButton_A9Ts{background:none;border:none;line-height:1rem;padding:0;position:absolute;right:.8rem;top:50%;transform:translateY(-50%)}.navbar__search{position:relative}.searchIndexLoading_TSh5 .navbar__search-input{background-image:none}.searchHintContainer_yMUd{align-items:center;display:flex;gap:4px;height:100%;justify-content:center;pointer-events:none;position:absolute;right:10px;top:0}.searchHint_CJly{background-color:var(--ifm-navbar-search-input-background-color);border:1px solid var(--ifm-color-emphasis-500);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-500);color:var(--ifm-navbar-search-input-placeholder-color)}.loadingRing_MTs2{display:inline-block;height:20px;opacity:var(--search-local-loading-icon-opacity,.5);position:relative;width:20px}.loadingRing_MTs2 div{animation:1.2s cubic-bezier(.5,0,.5,1) infinite a;border:2px solid var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color));border-color:var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color)) transparent transparent transparent;border-radius:50%;display:block;height:16px;margin:2px;position:absolute;width:16px}.loadingRing_MTs2 div:first-child{animation-delay:-.45s}.loadingRing_MTs2 div:nth-child(2){animation-delay:-.3s}.loadingRing_MTs2 div:nth-child(3){animation-delay:-.15s}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.navbarHideable_w2xG{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_bQ_v{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_Aej3{color:red;white-space:pre-wrap}.errorBoundaryFallback_Bfw0{color:red;padding:.55rem}.footerLogoLink_TWN7{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_TWN7:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_vYcL{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_x1aE{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_se6T{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.sidebar_Tfnr{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.sidebarItemTitle_qWx9{font-size:var(--ifm-h3-font-size);font-weight:var(--ifm-font-weight-bold)}.container_W46p,.sidebarItemList_FqE9{font-size:.9rem}.sidebarItem_w3b1{margin-top:.7rem}.sidebarItemLink_zGe6{color:var(--ifm-font-color-base);display:block}.sidebarItemLinkActive_PILC{color:var(--ifm-color-primary)!important}.cardContainer_R7by{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 rgba(0,0,0,.15);transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_R7by:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 rgba(0,0,0,.2)}.cardTitle_itJd{font-size:1.2rem}.cardDescription_OB3x{font-size:.8rem}.searchContextInput_IYNQ,.searchQueryInput_Rfes{background:var(--ifm-background-color);border:var(--ifm-global-border-width) solid var(--ifm-color-content-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-font-color-base);font-size:var(--ifm-font-size-base);margin-bottom:1rem;padding:.5rem;width:100%}.searchResultItem_gF5N{border-bottom:1px solid #dfe3e8;padding:1rem 0}.searchResultItemPath__vrn{color:var(--ifm-color-content-secondary);font-size:.8rem;margin:.5rem 0 0}.searchResultItemSummary_Kts6{font-style:italic;margin:.5rem 0 0}.authorCol_L2ln{flex-grow:1!important;max-width:inherit!important}.imageOnlyAuthorRow_pXm5{display:flex;flex-flow:row wrap}.imageOnlyAuthorCol_IIuY{margin-left:.3rem;margin-right:.3rem}.backToTopButton_xjLX{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup_Ux1A button,.codeBlockContainer_pqmR{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_xjLX:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_KuKn{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_IlcQ{display:none;margin:0}.docMainContainer_B_M8,.docRoot_hERl{display:flex;width:100%}.docsWrapper_sfhw{display:flex;flex:1 0 auto}.heroBanner_UJJx{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_pzbO{justify-content:center}.features_keug{padding:2rem 0;width:100%}.featureImage_yA8i{height:200px;width:200px}.codeBlockContainer_pqmR{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_qIvM{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_d1g5{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_fX_E{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_d1g5+.codeBlockContent_qIvM .codeBlock_fX_E{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_Qt9w{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_kJoj{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_Ux1A{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_Ux1A button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_Ux1A button:focus-visible,.buttonGroup_Ux1A button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_Ux1A button{opacity:.4}.iconEdit_yCMb{margin-right:.3em;vertical-align:sub}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_L2TN{counter-increment:a;display:table-row}.codeLineNumber_D4w5{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_D4w5:before{content:counter(a);opacity:.4}.codeLineContent_NH88{padding-right:var(--ifm-pre-padding)}.tag_TpAi{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_TpAi:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_ha55{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_mjGL{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_mjGL:after,.tagWithCount_mjGL:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_mjGL:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_mjGL:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_mjGL span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_BmfI{display:inline-block;margin:.5rem .5rem 0 1rem}.theme-code-block:hover .copyButtonCopied_dpE0{opacity:1!important}.copyButtonIcons_Za_O{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_INP8,.copyButtonSuccessIcon_IO9w{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_IO9w{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_dpE0 .copyButtonIcon_INP8{opacity:0;transform:scale(.33)}.copyButtonCopied_dpE0 .copyButtonSuccessIcon_IO9w{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.tags_e_7e{display:inline}.tag_YEUc{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vR6z{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_udMZ{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_udMZ:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_NZ_u:after,.tocCollapsibleExpanded_tJ0U{transform:none}.tocCollapsible_bciC{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_P7EO>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_P7EO ul li{margin:.4rem .8rem}.wordWrapButtonIcon_IIsw{height:1.2rem;width:1.2rem}.details_KJn4{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_KJn4>summary{cursor:pointer;padding-left:1rem;position:relative}.details_KJn4>summary::-webkit-details-marker{display:none}.details_KJn4>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_pIWv{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_Zfkn{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_hkHc{height:auto}.admonition_QpPJ{margin-bottom:1em}.admonitionHeading_dLsS{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_dLsS:not(:last-child){margin-bottom:.3rem}.admonitionHeading_dLsS code{text-transform:none}.admonitionIcon_m6FF{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_m6FF svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.blogPostFooterDetailsFull_DBmw{flex-direction:column}.tableOfContents_odbd{overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.breadcrumbHomeIcon_w6td{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_CzDA{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_p3ls{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media (min-width:997px){.collapseSidebarButton_IlcQ,.expandButton_zsBQ{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_NRWR,.announcementBarPlaceholder_wKiJ{flex-basis:50px}.navbarSearchContainer_bYhf{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_IlcQ{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_iyaO{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_DvE8,[dir=rtl] .collapseSidebarButtonIcon_iyaO{transform:rotate(0)}.collapseSidebarButton_IlcQ:focus,.collapseSidebarButton_IlcQ:hover,.expandButton_zsBQ:focus,.expandButton_zsBQ:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_ts5c{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_ficN{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_ficN{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_X2D6{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_s7Pv{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_bLvr{padding-top:0}.sidebarHidden_L71x{opacity:0;visibility:hidden}.sidebarLogo_y82R{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_y82R img{height:2rem;margin-right:.5rem}.expandButton_zsBQ{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_DvE8{transform:rotate(180deg)}.docSidebarContainer_l1sK{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_kDwv{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_GvwI{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_B_M8{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_L9NF{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_ZTSi{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.lastUpdated_vR6z{text-align:right}.tocMobile_LBM1{display:none}.docItemCol_TLyc,.generatedIndexPage_EoU2{max-width:75%!important}.list_ckrM article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_A5xQ,.footer__link-separator,.navbar__item,.sidebar_Tfnr,.tableOfContents_odbd{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_bYhf{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_V8qf{padding:0 .3rem}}@media not (max-width:996px){.searchBar_ZNED.searchBarLeft_ylsZ .dropdownMenu_KI5l{left:0!important;right:auto!important}}@media only screen and (max-width:996px){.searchQueryColumn__pwE{max-width:60%!important}.searchContextColumn_B1IM{max-width:40%!important}}@media screen and (max-width:966px){.heroBanner_UJJx{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}.navbar__search-input:not(:focus){width:2rem}.searchBar_ZNED .dropdownMenu_KI5l{max-width:calc(100vw - var(--ifm-navbar-padding-horizontal)*2);width:var(--search-local-modal-width-sm,340px)}.searchBarContainer_nwld:not(.focused_xMO5) .searchClearButton_A9Ts,.searchHintContainer_yMUd{display:none}.title_LFnH{font-size:2rem}}@media screen and (max-width:576px){.searchQueryColumn__pwE{max-width:100%!important}.searchContextColumn_B1IM{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media (hover:hover){.backToTopButton_xjLX:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_lHnW,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_LBM1{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_Qt9w{white-space:pre-wrap}} \ No newline at end of file diff --git a/zh-TW/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png b/zh-TW/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png new file mode 100644 index 00000000..97e41646 Binary files /dev/null and b/zh-TW/assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png differ diff --git a/zh-TW/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png b/zh-TW/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png new file mode 100644 index 00000000..e257edc1 Binary files /dev/null and b/zh-TW/assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png differ diff --git a/zh-TW/assets/js/01a85c17.cf6da810.js b/zh-TW/assets/js/01a85c17.cf6da810.js new file mode 100644 index 00000000..47d3915a --- /dev/null +++ b/zh-TW/assets/js/01a85c17.cf6da810.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4013],{1809:function(e,t,s){s.d(t,{Z:function(){return x}});var a=s(3900),i=s(7515),n=s(2786),r=s(879),l=s(3707),c=s(1207),o=s(382),m=s(4064);function d(e){const{pathname:t}=(0,o.TH)();return(0,a.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var u={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},g=s(966);function b(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("aside",{className:"col col--3",children:(0,g.jsxs)("nav",{className:(0,i.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,c.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,g.jsx)("div",{className:(0,i.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,g.jsx)("ul",{className:(0,i.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,g.jsx)("li",{className:u.sidebarItem,children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var h=s(3943);function p(e){let{sidebar:t}=e;const s=d(t.items);return(0,g.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,g.jsx)("li",{className:"menu__list-item",children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,g.jsx)(h.Zo,{component:p,props:e})}function f(e){let{sidebar:t}=e;const s=(0,r.i)();return null!=t&&t.items.length?"mobile"===s?(0,g.jsx)(j,{sidebar:t}):(0,g.jsx)(b,{sidebar:t}):null}function x(e){const{sidebar:t,toc:s,children:a,...r}=e,l=t&&t.items.length>0;return(0,g.jsx)(n.Z,{...r,children:(0,g.jsx)("div",{className:"container margin-vert--lg",children:(0,g.jsxs)("div",{className:"row",children:[(0,g.jsx)(f,{sidebar:t}),(0,g.jsx)("main",{className:(0,i.Z)("col",{"col--7":l,"col--9 col--offset-1":!l}),itemScope:!0,itemType:"https://schema.org/Blog",children:a}),s&&(0,g.jsx)("div",{className:"col col--2",children:s})]})})})}},5538:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});s(3900);var a=s(7515),i=s(2678),n=s(4181),r=s(8512),l=s(1809),c=s(5123),o=s(3806),m=s(4974),d=s(966);function u(e){let{tags:t,sidebar:s}=e;const u=(0,i.M)();return(0,d.jsxs)(n.FG,{className:(0,a.Z)(r.k.wrapper.blogPages,r.k.page.blogTagsListPage),children:[(0,d.jsx)(n.d,{title:u}),(0,d.jsx)(o.Z,{tag:"blog_tags_list"}),(0,d.jsxs)(l.Z,{sidebar:s,children:[(0,d.jsx)(m.Z,{as:"h1",children:u}),(0,d.jsx)(c.Z,{tags:t})]})]})}},1254:function(e,t,s){s.d(t,{Z:function(){return l}});s(3900);var a=s(7515),i=s(3707),n={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},r=s(966);function l(e){let{permalink:t,label:s,count:l}=e;return(0,r.jsxs)(i.Z,{href:t,className:(0,a.Z)(n.tag,l?n.tagWithCount:n.tagRegular),children:[s,l&&(0,r.jsx)("span",{children:l})]})}},5123:function(e,t,s){s.d(t,{Z:function(){return o}});s(3900);var a=s(2678),i=s(1254),n=s(4974),r={tag:"tag_BmfI"},l=s(966);function c(e){let{letterEntry:t}=e;return(0,l.jsxs)("article",{children:[(0,l.jsx)(n.Z,{as:"h2",id:t.letter,children:t.letter}),(0,l.jsx)("ul",{className:"padding--none",children:t.tags.map((e=>(0,l.jsx)("li",{className:r.tag,children:(0,l.jsx)(i.Z,{...e})},e.permalink)))}),(0,l.jsx)("hr",{})]})}function o(e){let{tags:t}=e;const s=(0,a.P)(t);return(0,l.jsx)("section",{className:"margin-vert--lg",children:s.map((e=>(0,l.jsx)(c,{letterEntry:e},e.letter)))})}},2678:function(e,t,s){s.d(t,{M:function(){return i},P:function(){return n}});var a=s(1207);const i=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function n(e){const t={};return Object.values(e).forEach((e=>{const s=function(e){return e[0].toUpperCase()}(e.label);null!=t[s]||(t[s]=[]),t[s].push(e)})),Object.entries(t).sort(((e,t)=>{let[s]=e,[a]=t;return s.localeCompare(a)})).map((e=>{let[t,s]=e;return{letter:t,tags:s.sort(((e,t)=>e.label.localeCompare(t.label)))}}))}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/0e384e19.fdd805ff.js b/zh-TW/assets/js/0e384e19.fdd805ff.js new file mode 100644 index 00000000..499517c6 --- /dev/null +++ b/zh-TW/assets/js/0e384e19.fdd805ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9671],{6133:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var r=n(966),s=n(1015);const o={sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},i="Tutorial Intro",a={id:"intro",title:"Tutorial Intro",description:"This is description in front matter",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/docusaurus-search-local/zh-TW/docs/next/intro",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/intro.md",tags:[{label:"Test",permalink:"/docusaurus-search-local/zh-TW/docs/next/tags/test"},{label:"Keywords",permalink:"/docusaurus-search-local/zh-TW/docs/next/tags/keywords"},{label:"Front matter",permalink:"/docusaurus-search-local/zh-TW/docs/next/tags/front-matter"}],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"This is description in front matter",keywords:["Keywords","intro","front matter","template"],tags:["Test","Keywords","Front matter"]},sidebar:"tutorialSidebar",next:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics"}},c={},l=[{value:"Getting Started",id:"getting-started",level:2},{value:"What you'll need",id:"what-youll-need",level:3},{value:"Generate a new site",id:"generate-a-new-site",level:2},{value:"Start your site",id:"start-your-site",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"tutorial-intro",children:"Tutorial Intro"}),"\n",(0,r.jsxs)(t.p,{children:["Let's discover ",(0,r.jsx)(t.strong,{children:"Docusaurus in less than 5 minutes"}),"."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"creating a new site"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Or ",(0,r.jsx)(t.strong,{children:"try Docusaurus immediately"})," with ",(0,r.jsx)(t.strong,{children:(0,r.jsx)(t.a,{href:"https://docusaurus.new",children:"docusaurus.new"})}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"what-youll-need",children:"What you'll need"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.a,{href:"https://nodejs.org/en/download/",children:"Node.js"})," version 14 or above:","\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"When installing Node.js, you are recommended to check all checkboxes related to dependencies."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"generate-a-new-site",children:"Generate a new site"}),"\n",(0,r.jsxs)(t.p,{children:["Generate a new Docusaurus site using the ",(0,r.jsx)(t.strong,{children:"classic template"}),"."]}),"\n",(0,r.jsx)(t.p,{children:"The classic template will automatically be added to your project after you run the command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"npm init docusaurus@latest my-website classic\n"})}),"\n",(0,r.jsx)(t.p,{children:"You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor."}),"\n",(0,r.jsx)(t.p,{children:"The command also installs all necessary dependencies you need to run Docusaurus."}),"\n",(0,r.jsx)(t.h2,{id:"start-your-site",children:"Start your site"}),"\n",(0,r.jsx)(t.p,{children:"Run the development server:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-bash",children:"cd my-website\nnpm run start\n"})}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"cd"})," command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."]}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"npm run start"})," command builds your website locally and serves it through a development server, ready for you to view at ",(0,r.jsx)(t.a,{href:"http://localhost:3000/",children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Open ",(0,r.jsx)(t.code,{children:"docs/intro.md"})," (this page) and edit some lines: the site ",(0,r.jsx)(t.strong,{children:"reloads automatically"})," and displays your changes."]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var r=n(3900);const s={},o=r.createContext(s);function i(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/14eb3368.f3087745.js b/zh-TW/assets/js/14eb3368.f3087745.js new file mode 100644 index 00000000..2f8278ac --- /dev/null +++ b/zh-TW/assets/js/14eb3368.f3087745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9817],{3225:function(e,n,t){t.d(n,{Z:function(){return p}});t(3900);var i=t(7515),s=t(8512),r=t(3025),a=t(4064),c=t(3707),l=t(1207),o=t(3373),d=t(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,o.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(c.Z,{"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var b={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function x(e){let{children:n,href:t,isLast:i}=e;const s="breadcrumbs__link";return i?(0,d.jsx)("span",{className:s,itemProp:"name",children:n}):t?(0,d.jsx)(c.Z,{className:s,href:t,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:n})}):(0,d.jsx)("span",{className:s,children:n})}function v(e){let{children:n,active:t,index:s,addMicrodata:r}=e;return(0,d.jsxs)("li",{...r&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":t}),children:[n,(0,d.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function p(){const e=(0,r.s1)(),n=(0,a.Ns)();return e?(0,d.jsx)("nav",{className:(0,i.Z)(s.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,l.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[n&&(0,d.jsx)(h,{}),e.map(((n,t)=>{const i=t===e.length-1,s="category"===n.type&&n.linkUnlisted?void 0:n.href;return(0,d.jsx)(v,{active:i,index:t,addMicrodata:!!s,children:(0,d.jsx)(x,{href:s,isLast:i,children:n.label})},t)}))]})}):null}},2260:function(e,n,t){t.r(n),t.d(n,{default:function(){return y}});t(3900);var i=t(4181),s=t(3025),r=t(3373),a=t(7515),c=t(3707),l=t(6843),o=t(1207),d=t(4974),u={cardContainer:"cardContainer_R7by",cardTitle:"cardTitle_itJd",cardDescription:"cardDescription_OB3x"},m=t(966);function h(e){let{href:n,children:t}=e;return(0,m.jsx)(c.Z,{href:n,className:(0,a.Z)("card padding--lg",u.cardContainer),children:t})}function b(e){let{href:n,icon:t,title:i,description:s}=e;return(0,m.jsxs)(h,{href:n,children:[(0,m.jsxs)(d.Z,{as:"h2",className:(0,a.Z)("text--truncate",u.cardTitle),title:i,children:[t," ",i]}),s&&(0,m.jsx)("p",{className:(0,a.Z)("text--truncate",u.cardDescription),title:s,children:s})]})}function x(e){var n;let{item:t}=e;const i=(0,s.LM)(t);return i?(0,m.jsx)(b,{href:i,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:null!=(n=t.description)?n:(0,o.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){var n,t;let{item:i}=e;const r=(0,l.Z)(i.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",a=(0,s.xz)(null!=(n=i.docId)?n:void 0);return(0,m.jsx)(b,{href:i.href,icon:r,title:i.label,description:null!=(t=i.description)?t:null==a?void 0:a.description})}function p(e){let{item:n}=e;switch(n.type){case"link":return(0,m.jsx)(v,{item:n});case"category":return(0,m.jsx)(x,{item:n});default:throw new Error("unknown item type "+JSON.stringify(n))}}function g(e){let{className:n}=e;const t=(0,s.jA)();return(0,m.jsx)(j,{items:t.items,className:n})}function j(e){const{items:n,className:t}=e;if(!n)return(0,m.jsx)(g,{...e});const i=(0,s.MN)(n);return(0,m.jsx)("section",{className:(0,a.Z)("row",t),children:i.map(((e,n)=>(0,m.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,m.jsx)(p,{item:e})},n)))})}var f=t(8608),N=t(6819),Z=t(657),L=t(3225),_={generatedIndexPage:"generatedIndexPage_EoU2",list:"list_ckrM",title:"title_p3ls"};function k(e){let{categoryGeneratedIndex:n}=e;return(0,m.jsx)(i.d,{title:n.title,description:n.description,keywords:n.keywords,image:(0,r.Z)(n.image)})}function T(e){let{categoryGeneratedIndex:n}=e;const t=(0,s.jA)();return(0,m.jsxs)("div",{className:_.generatedIndexPage,children:[(0,m.jsx)(N.Z,{}),(0,m.jsx)(L.Z,{}),(0,m.jsx)(Z.Z,{}),(0,m.jsxs)("header",{children:[(0,m.jsx)(d.Z,{as:"h1",className:_.title,children:n.title}),n.description&&(0,m.jsx)("p",{children:n.description})]}),(0,m.jsx)("article",{className:"margin-top--lg",children:(0,m.jsx)(j,{items:t.items,className:_.list})}),(0,m.jsx)("footer",{className:"margin-top--lg",children:(0,m.jsx)(f.Z,{previous:n.navigation.previous,next:n.navigation.next})})]})}function y(e){return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(k,{...e}),(0,m.jsx)(T,{...e})]})}},8608:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(1207),s=t(1554),r=t(966);function a(e){const{previous:n,next:t}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[n&&(0,r.jsx)(s.Z,{...n,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),t&&(0,r.jsx)(s.Z,{...t,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,n,t){t.d(n,{Z:function(){return l}});t(3900);var i=t(7515),s=t(1207),r=t(8512),a=t(7924),c=t(966);function l(e){let{className:n}=e;const t=(0,a.E)();return t.badge?(0,c.jsx)("span",{className:(0,i.Z)(n,r.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.jsx)(s.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:t.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,n,t){t.d(n,{Z:function(){return v}});t(3900);var i=t(7515),s=t(2442),r=t(3707),a=t(1207),c=t(304),l=t(8512),o=t(4924),d=t(7924),u=t(966);const m={unreleased:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:n,versionLabel:(0,u.jsx)("b",{children:t.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const n=m[e.versionMetadata.banner];return(0,u.jsx)(n,{...e})}function b(e){let{versionLabel:n,to:t,onClick:i}=e;return(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:n,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(r.Z,{to:t,onClick:i,children:(0,u.jsx)(a.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let{className:n,versionMetadata:t}=e;const{siteConfig:{title:r}}=(0,s.Z)(),{pluginId:a}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,o.J)(a),{latestDocSuggestion:m,latestVersionSuggestion:x}=(0,c.Jo)(a),v=null!=m?m:(p=x).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,i.Z)(n,l.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:r,versionMetadata:t})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:x.label,to:v.path,onClick:()=>d(x.name)})})]})}function v(e){let{className:n}=e;const t=(0,d.E)();return t.banner?(0,u.jsx)(x,{className:n,versionMetadata:t}):null}},1554:function(e,n,t){t.d(n,{Z:function(){return a}});t(3900);var i=t(7515),s=t(3707),r=t(966);function a(e){const{permalink:n,title:t,subLabel:a,isNext:c}=e;return(0,r.jsxs)(s.Z,{className:(0,i.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[a&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:a}),(0,r.jsx)("div",{className:"pagination-nav__label",children:t})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/17451492.8a792b98.js b/zh-TW/assets/js/17451492.8a792b98.js new file mode 100644 index 00000000..1e05623f --- /dev/null +++ b/zh-TW/assets/js/17451492.8a792b98.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9377],{741:function(s){s.exports=JSON.parse('{"label":"hola","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hola","allTagsPath":"/docusaurus-search-local/zh-TW/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/17896441.2342e34f.js b/zh-TW/assets/js/17896441.2342e34f.js new file mode 100644 index 00000000..6b0fde10 --- /dev/null +++ b/zh-TW/assets/js/17896441.2342e34f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7918],{3225:function(e,t,n){n.d(t,{Z:function(){return p}});n(3900);var s=n(7515),a=n(8512),i=n(3025),l=n(4064),o=n(3707),r=n(1207),c=n(3373),d=n(966);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}var m={breadcrumbHomeIcon:"breadcrumbHomeIcon_w6td"};function h(){const e=(0,c.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(o.Z,{"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}var v={breadcrumbsContainer:"breadcrumbsContainer_CzDA"};function b(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,d.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,d.jsx)(o.Z,{className:a,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:a,children:t})}function x(e){let{children:t,active:n,index:a,addMicrodata:i}=e;return(0,d.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function p(){const e=(0,i.s1)(),t=(0,l.Ns)();return e?(0,d.jsx)("nav",{className:(0,s.Z)(a.k.docs.docBreadcrumbs,v.breadcrumbsContainer),"aria-label":(0,r.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(b,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},6820:function(e,t,n){n.r(t),n.d(t,{default:function(){return q}});var s=n(3900),a=n(4181),i=n(5158),l=n(966);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){var e;const{metadata:t,frontMatter:n,assets:s}=c();return(0,l.jsx)(a.d,{title:t.title,description:t.description,keywords:n.keywords,image:null!=(e=s.image)?e:n.image})}var u=n(7515),m=n(879),h=n(8608);function v(){const{metadata:e}=c();return(0,l.jsx)(h.Z,{previous:e.previous,next:e.next})}var b=n(6819),x=n(657),p=n(8512),f=n(1207);function g(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function j(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(f.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function L(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:p.k.common.lastUpdated,children:[(0,l.jsx)(f.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(g,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(j,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var C=n(8427),N=n(3714),Z={lastUpdated:"lastUpdated_vR6z"};function k(e){return(0,l.jsx)("div",{className:(0,u.Z)(p.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(N.Z,{...e})})})}function _(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(C.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",Z.lastUpdated),children:(n||s)&&(0,l.jsx)(L,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function T(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(p.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(k,{tags:i}),r&&(0,l.jsx)(_,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var U=n(3663),H=n(8001),y={tocCollapsibleButton:"tocCollapsibleButton_udMZ",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_NZ_u"};function A(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",y.tocCollapsibleButton,!t&&y.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(f.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}var w={tocCollapsible:"tocCollapsible_bciC",tocCollapsibleContent:"tocCollapsibleContent_P7EO",tocCollapsibleExpanded:"tocCollapsibleExpanded_tJ0U"};function M(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,U.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(w.tocCollapsible,!i&&w.tocCollapsibleExpanded,n),children:[(0,l.jsx)(A,{collapsed:i,onClick:o}),(0,l.jsx)(U.z,{lazy:!0,className:w.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(H.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}var B={tocMobile:"tocMobile_LBM1"};function I(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(M,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(p.k.docs.docTocMobile,B.tocMobile)})}var E=n(2151);function O(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(E.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:p.k.docs.docTocDesktop})}var S=n(4974),V=n(4265);function D(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(p.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(S.Z,{as:"h1",children:n})}),(0,l.jsx)(V.Z,{children:t})]})}var P=n(3225),R=n(9843),z={docItemContainer:"docItemContainer_s2DS",docItemCol:"docItemCol_TLyc"};function F(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(I,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(O,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&z.docItemCol),children:[s&&(0,l.jsx)(R.Z,{}),(0,l.jsx)(b.Z,{}),(0,l.jsxs)("div",{className:z.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(P.Z,{}),(0,l.jsx)(x.Z,{}),n.mobile,(0,l.jsx)(D,{children:t}),(0,l.jsx)(T,{})]}),(0,l.jsx)(v,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function q(e){const t="docs-doc-id-"+e.content.metadata.id,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(F,{children:(0,l.jsx)(n,{})})]})})}},8608:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var s=n(1207),a=n(1554),i=n(966);function l(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(a.Z,{...t,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(a.Z,{...n,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},657:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7515),a=n(1207),i=n(8512),l=n(7924),o=n(966);function r(e){let{className:t}=e;const n=(0,l.E)();return n.badge?(0,o.jsx)("span",{className:(0,s.Z)(t,i.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,o.jsx)(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},6819:function(e,t,n){n.d(t,{Z:function(){return x}});n(3900);var s=n(7515),a=n(2442),i=n(3707),l=n(1207),o=n(304),r=n(8512),c=n(4924),d=n(7924),u=n(966);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function v(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(i.Z,{to:n,onClick:s,children:(0,u.jsx)(l.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function b(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:i}}=(0,a.Z)(),{pluginId:l}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,c.J)(l),{latestDocSuggestion:m,latestVersionSuggestion:b}=(0,o.Jo)(l),x=null!=m?m:(p=b).docs.find((e=>e.id===p.mainDocId));var p;return(0,u.jsxs)("div",{className:(0,s.Z)(t,r.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:i,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(v,{versionLabel:b.label,to:x.path,onClick:()=>d(b.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.E)();return n.banner?(0,u.jsx)(b,{className:t,versionMetadata:n}):null}},2151:function(e,t,n){n.d(t,{Z:function(){return c}});n(3900);var s=n(7515),a=n(8001),i={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},l=n(966);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},8001:function(e,t,n){n.d(t,{Z:function(){return b}});var s=n(3900),a=n(4715);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){var n;let{anchorTopOffset:s}=t;const a=e.find((e=>o(e).top>=s));if(a){var i;return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push("h"+a+".anchor");return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3707),m=n(966);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=s?s:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}var v=s.memo(h);function b(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const b=(0,a.L)(),x=null!=c?c:b.tableOfContents.minHeadingLevel,p=null!=u?u:b.tableOfContents.maxHeadingLevel,f=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:x,maxHeadingLevel:p});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:p}}),[o,r,x,p])),(0,m.jsx)(v,{toc:f,className:n,linkClassName:o,...h})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),l=n(966);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(8512),u=n(5085);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/18c41134.d05ae529.js b/zh-TW/assets/js/18c41134.d05ae529.js new file mode 100644 index 00000000..e2c8fbe5 --- /dev/null +++ b/zh-TW/assets/js/18c41134.d05ae529.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2859],{70:function(e,n,s){s.r(n),s.d(n,{Highlight:function(){return d},assets:function(){return c},contentTitle:function(){return o},default:function(){return h},frontMatter:function(){return a},metadata:function(){return i},toc:function(){return l}});var r=s(966),t=s(1015);const a={sidebar_position:4},o="Markdown Features",i={id:"tutorial-basics/markdown-features",title:"Markdown Features",description:"Docusaurus supports Markdown and a few additional features.",source:"@site/docs/tutorial-basics/markdown-features.mdx",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/markdown-features",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/markdown-features.mdx",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post"},next:{title:"Deploy your site",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site"}},c={},l=[{value:"Front Matter",id:"front-matter",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code Blocks",id:"code-blocks",level:2},{value:"Admonitions",id:"admonitions",level:2},{value:"MDX and React Components",id:"mdx-and-react-components",level:2}],d=({children:e,color:n})=>{const s={span:"span",...(0,t.a)()};return(0,r.jsx)(s.span,{style:{backgroundColor:n,borderRadius:"20px",color:"#fff",padding:"10px",cursor:"pointer"},onClick:()=>{alert(`You clicked the color ${n} with label ${e}`)},children:e})};function u(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"markdown-features",children:"Markdown Features"}),"\n",(0,r.jsxs)(n.p,{children:["Docusaurus supports ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"https://daringfireball.net/projects/markdown/syntax",children:"Markdown"})})," and a few ",(0,r.jsx)(n.strong,{children:"additional features"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"front-matter",children:"Front Matter"}),"\n",(0,r.jsxs)(n.p,{children:["Markdown documents have metadata at the top called ",(0,r.jsx)(n.a,{href:"https://jekyllrb.com/docs/front-matter/",children:"Front Matter"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-text",metastring:'title="my-doc.md"',children:"// highlight-start\n---\nid: my-doc-id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n"})}),"\n",(0,r.jsx)(n.h2,{id:"links",children:"Links"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown links are supported, using url paths or relative file paths."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](/create-a-page).\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"Let's see how to [Create a page](./create-a-page.md).\n"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Result:"})," Let's see how to ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page",children:"Create a page"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"images",children:"Images"}),"\n",(0,r.jsx)(n.p,{children:"Regular Markdown images are supported."}),"\n",(0,r.jsxs)(n.p,{children:["You can use absolute paths to reference images in the static directory (",(0,r.jsx)(n.code,{children:"static/img/docusaurus.png"}),"):"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-md",children:"![Docusaurus logo](/img/docusaurus.png)\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Docusaurus logo",src:s(766).Z+"",width:"200",height:"200"})}),"\n",(0,r.jsxs)(n.p,{children:["You can reference images relative to the current file as well, as shown in ",(0,r.jsx)(n.a,{href:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions",children:"the extra guides"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"code-blocks",children:"Code Blocks"}),"\n",(0,r.jsx)(n.p,{children:"Markdown code blocks are supported with Syntax highlighting."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return (\n

Hello, Docusaurus!

\n )\n}\n"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",metastring:'title="src/components/HelloDocusaurus.js"',children:"function HelloDocusaurus() {\n return

Hello, Docusaurus!

;\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,r.jsx)(n.p,{children:"Docusaurus has a special syntax to create admonitions and callouts:"}),"\n",(0,r.jsx)(n.p,{children:":::tip My tip"}),"\n",(0,r.jsx)(n.p,{children:"Use this awesome feature option"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.p,{children:":::danger Take care"}),"\n",(0,r.jsx)(n.p,{children:"This action is dangerous"}),"\n",(0,r.jsx)(n.p,{children:":::"}),"\n",(0,r.jsx)(n.admonition,{title:"My tip",type:"tip",children:(0,r.jsx)(n.p,{children:"Use this awesome feature option"})}),"\n",(0,r.jsx)(n.admonition,{title:"Take care",type:"danger",children:(0,r.jsx)(n.p,{children:"This action is dangerous"})}),"\n",(0,r.jsx)(n.h2,{id:"mdx-and-react-components",children:"MDX and React Components"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://mdxjs.com/",children:"MDX"})," can make your documentation more ",(0,r.jsx)(n.strong,{children:"interactive"})," and allows using any ",(0,r.jsx)(n.strong,{children:"React components inside Markdown"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:"export const Highlight = ({children, color}) => (\n {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n \n);\n\nThis is Docusaurus green !\n"})}),"\n","\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," !"]}),"\n",(0,r.jsxs)(n.p,{children:["This is ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," !"]})]})}function h(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},766:function(e,n){n.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"},1015:function(e,n,s){s.d(n,{Z:function(){return i},a:function(){return o}});var r=s(3900);const t={},a=r.createContext(t);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/1a4922cc.411c0d95.js b/zh-TW/assets/js/1a4922cc.411c0d95.js new file mode 100644 index 00000000..f6a5b03a --- /dev/null +++ b/zh-TW/assets/js/1a4922cc.411c0d95.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8293],{3129:function(e,i,t){t.r(i),t.d(i,{assets:function(){return o},contentTitle:function(){return r},default:function(){return m},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return l}});var s=t(966),u=t(1015);const n={id:"doc3",title:"This is Document Number 3"},r=void 0,a={id:"doc3",title:"This is Document Number 3",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",source:"@site/versioned_docs/version-1.0.0/doc3.md",sourceDirName:".",slug:"/doc3",permalink:"/docusaurus-search-local/zh-TW/docs/doc3",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc3.md",tags:[],version:"1.0.0",frontMatter:{id:"doc3",title:"This is Document Number 3"},sidebar:"someSidebar",previous:{title:"Document Number 2",permalink:"/docusaurus-search-local/zh-TW/docs/doc2"},next:{title:"Powered by MDX",permalink:"/docusaurus-search-local/zh-TW/docs/mdx"}},o={},l=[];function c(e){const i={p:"p",...(0,u.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),"\n",(0,s.jsx)(i.p,{children:"Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique."}),"\n",(0,s.jsx)(i.p,{children:"Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis."}),"\n",(0,s.jsx)(i.p,{children:"Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor."}),"\n",(0,s.jsx)(i.p,{children:"Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur."})]})}function m(e={}){const{wrapper:i}={...(0,u.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},1015:function(e,i,t){t.d(i,{Z:function(){return a},a:function(){return r}});var s=t(3900);const u={},n=s.createContext(u);function r(e){const i=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(u):e.components||u:r(e.components),s.createElement(n.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/1a4e3797.61d2a7de.js b/zh-TW/assets/js/1a4e3797.61d2a7de.js new file mode 100644 index 00000000..931b0ccc --- /dev/null +++ b/zh-TW/assets/js/1a4e3797.61d2a7de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7920],{960:function(e,t,r){r.d(t,{c:function(){return u}});var s=r(3900),a=r(2442);const n=["zero","one","two","few","many","other"];function c(e){return n.filter((t=>e.includes(t)))}const l={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(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 the default (English) implementation.\nError: '+t.message+"\n"),l}}),[e])}function u(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const a=r.select(t),n=r.pluralForms.indexOf(a);return s[Math.min(n,s.length-1)]}(r,t,e)}}},8713:function(e,t,r){r.r(t),r.d(t,{default:function(){return b}});var s=r(3900),a=r(2442),n=r(2786),c=r(743),l=r(3707),o=r(1207),u=r(960),h=r(7515),i=r(382),m=r(5106),d=r(3771);var p=function(){const e=(0,m.Z)(),t=(0,i.k6)(),r=(0,i.TH)(),{siteConfig:{baseUrl:s}}=(0,a.Z)(),n=e?new URLSearchParams(r.search):null,c=(null==n?void 0:n.get("q"))||"",l=(null==n?void 0:n.get("ctx"))||"",o=(null==n?void 0:n.get("version"))||"",u=e=>{const t=new URLSearchParams(r.search);return e?t.set("q",e):t.delete("q"),t};return{searchValue:c,searchContext:l&&Array.isArray(d.Kc)&&d.Kc.some((e=>"string"==typeof e?e===l:e.path===l))?l:"",searchVersion:o,updateSearchPath:e=>{const r=u(e);t.replace({search:r.toString()})},updateSearchContext:e=>{const s=new URLSearchParams(r.search);s.set("ctx",e),t.replace({search:s.toString()})},generateSearchPageLink:e=>{const t=u(e);return s+"search?"+t.toString()}}},g=r(1316),f=r(6329),x=r(557),y=r(7833),S=r(596),C=r(6481),I=r(6192),j=r(5486),v={searchContextInput:"searchContextInput_IYNQ",searchQueryInput:"searchQueryInput_Rfes",searchResultItem:"searchResultItem_gF5N",searchResultItemPath:"searchResultItemPath__vrn",searchResultItemSummary:"searchResultItemSummary_Kts6",searchQueryColumn:"searchQueryColumn__pwE",searchContextColumn:"searchContextColumn_B1IM"},w=r(7208),P=r(966);function R(){const{siteConfig:{baseUrl:e},i18n:{currentLocale:t}}=(0,a.Z)(),{selectMessage:r}=(0,u.c)(),{searchValue:n,searchContext:l,searchVersion:i,updateSearchPath:m,updateSearchContext:x}=p(),[y,S]=(0,s.useState)(n),[C,j]=(0,s.useState)(),[R,b]=(0,s.useState)(),A=""+e+i,F=(0,s.useMemo)((()=>y?(0,o.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:y}):(0,o.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[y]);(0,s.useEffect)((()=>{m(y),C&&(y?C(y,(e=>{b(e)})):b(void 0))}),[y,C]);const N=(0,s.useCallback)((e=>{S(e.target.value)}),[]);return(0,s.useEffect)((()=>{n&&n!==y&&S(n)}),[n]),(0,s.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=!Array.isArray(d.Kc)||l||d.pQ?await(0,g.w)(A,l):{wrappedIndexes:[],zhDictionary:[]};j((()=>(0,f.v)(e,t,100)))}()}),[l,A]),(0,P.jsxs)(s.Fragment,{children:[(0,P.jsxs)(c.Z,{children:[(0,P.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,P.jsx)("title",{children:F})]}),(0,P.jsxs)("div",{className:"container margin-vert--lg",children:[(0,P.jsx)("h1",{children:F}),(0,P.jsxs)("div",{className:"row",children:[(0,P.jsx)("div",{className:(0,h.Z)("col",{[v.searchQueryColumn]:Array.isArray(d.Kc),"col--9":Array.isArray(d.Kc),"col--12":!Array.isArray(d.Kc)}),children:(0,P.jsx)("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:N,value:y,autoComplete:"off",autoFocus:!0})}),Array.isArray(d.Kc)?(0,P.jsx)("div",{className:(0,h.Z)("col","col--3","padding-left--none",v.searchContextColumn),children:(0,P.jsxs)("select",{name:"search-context",className:v.searchContextInput,id:"context-selector",value:l,onChange:e=>x(e.target.value),children:[d.pQ&&(0,P.jsx)("option",{value:"",children:(0,o.I)({id:"theme.SearchPage.searchContext.everywhere",message:"everywhere"})}),d.Kc.map((e=>{const{label:r,path:s}=(0,w._)(e,t);return(0,P.jsx)("option",{value:s,children:r},s)}))]})}):null]}),!C&&y&&(0,P.jsx)("div",{children:(0,P.jsx)(I.Z,{})}),R&&(R.length>0?(0,P.jsx)("p",{children:r(R.length,(0,o.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:R.length}))}):(0,P.jsx)("p",{children:(0,o.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,P.jsx)("section",{children:R&&R.map((e=>(0,P.jsx)(_,{searchResult:e},e.document.i)))})]})]})}function _(e){let{searchResult:{document:t,type:r,page:s,tokens:a,metadata:n}}=e;const c=r===x.P.Title,o=r===x.P.Keywords,u=r===x.P.Description,h=u||o,i=c||h,m=r===x.P.Content,p=(c?t.b:s.b).slice(),g=m||h?t.s:t.t;i||p.push(s.t);let f="";if(d.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append("_highlight",t);f="?"+e.toString()}return(0,P.jsxs)("article",{className:v.searchResultItem,children:[(0,P.jsx)("h2",{children:(0,P.jsx)(l.Z,{to:t.u+f+(t.h||""),dangerouslySetInnerHTML:{__html:m||h?(0,y.C)(g,a):(0,S.o)(g,(0,C.m)(n,"t"),a,100)}})}),p.length>0&&(0,P.jsx)("p",{className:v.searchResultItemPath,children:(0,j.e)(p)}),(m||u)&&(0,P.jsx)("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,S.o)(t.t,(0,C.m)(n,"t"),a,100)}})]})}var b=function(){return(0,P.jsx)(n.Z,{children:(0,P.jsx)(R,{})})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/1cbf0e34.209620b2.js b/zh-TW/assets/js/1cbf0e34.209620b2.js new file mode 100644 index 00000000..a522a39b --- /dev/null +++ b/zh-TW/assets/js/1cbf0e34.209620b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7195],{2776:function(e){e.exports=JSON.parse('{"name":"@easyops-cn/docusaurus-search-local","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/1e4232ab.33e1d7a3.js b/zh-TW/assets/js/1e4232ab.33e1d7a3.js new file mode 100644 index 00000000..31cbcd74 --- /dev/null +++ b/zh-TW/assets/js/1e4232ab.33e1d7a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8818],{1567:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return l}});var s=n(966),r=n(1015);const o={sidebar_position:2},i="Create a Document",a={id:"tutorial-basics/create-a-document",title:"Create a Document",description:"Documents are groups of pages connected through:",source:"@site/docs/tutorial-basics/create-a-document.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-document",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-document.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Create a Page",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page"},next:{title:"Create a Blog Post",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post"}},c={},l=[{value:"Create your first Doc",id:"create-your-first-doc",level:2},{value:"Configure the Sidebar",id:"configure-the-sidebar",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"create-a-document",children:"Create a Document"}),"\n",(0,s.jsxs)(t.p,{children:["Documents are ",(0,s.jsx)(t.strong,{children:"groups of pages"})," connected through:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["a ",(0,s.jsx)(t.strong,{children:"sidebar"})]}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"previous/next navigation"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.strong,{children:"versioning"})}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"create-your-first-doc",children:"Create your first Doc"}),"\n",(0,s.jsxs)(t.p,{children:["Create a markdown file at ",(0,s.jsx)(t.code,{children:"docs/hello.md"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md"',children:"# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["A new document is now available at ",(0,s.jsx)(t.code,{children:"http://localhost:3000/docs/hello"}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"configure-the-sidebar",children:"Configure the Sidebar"}),"\n",(0,s.jsxs)(t.p,{children:["Docusaurus automatically ",(0,s.jsx)(t.strong,{children:"creates a sidebar"})," from the ",(0,s.jsx)(t.code,{children:"docs"})," folder."]}),"\n",(0,s.jsx)(t.p,{children:"Add metadata to customize the sidebar label and position:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-md",metastring:'title="docs/hello.md" {1-4}',children:"---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n"})}),"\n",(0,s.jsxs)(t.p,{children:["It is also possible to create your sidebar explicitly in ",(0,s.jsx)(t.code,{children:"sidebars.js"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-js",metastring:'title="sidebars.js"',children:"module.exports = {\n tutorialSidebar: [\n {\n type: 'category',\n label: 'Tutorial',\n // highlight-next-line\n items: ['hello'],\n },\n ],\n};\n"})})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var s=n(3900);const r={},o=s.createContext(r);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/2118.a37a5fbb.js b/zh-TW/assets/js/2118.a37a5fbb.js new file mode 100644 index 00000000..adefc633 --- /dev/null +++ b/zh-TW/assets/js/2118.a37a5fbb.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2118],{5085:function(e,n,t){"use strict";t.d(n,{Z:function(){return E}});var s=t(3900),o=t(966);function a(e){var n;const{mdxAdmonitionTitle:t,rest:a}=function(e){const n=s.Children.toArray(e),t=n.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:a.length>0?(0,o.jsx)(o.Fragment,{children:a}):null}}(e.children),i=null!=(n=e.title)?n:t;return{...e,...i&&{title:i},children:a}}var i=t(7515),c=t(1207),r=t(8512),l={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:s}=e;return(0,o.jsx)("div",{className:(0,i.Z)(r.k.common.admonition,r.k.common.admonitionType(n),l.admonition,t),children:s})}function u(e){let{icon:n,title:t}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:n}),t]})}function m(e){let{children:n}=e;return n?(0,o.jsx)("div",{className:l.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:s,children:a,className:i}=e;return(0,o.jsxs)(d,{type:n,className:i,children:[(0,o.jsx)(u,{title:s,icon:t}),(0,o.jsx)(m,{children:a})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,o.jsx)(h,{...f,...e,className:(0,i.Z)("alert alert--secondary",e.className),children:e.children})}function x(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const j={icon:(0,o.jsx)(x,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function b(e){return(0,o.jsx)(h,{...j,...e,className:(0,i.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,i.Z)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function w(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const B={icon:(0,o.jsx)(w,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Z={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(c.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var L={...{note:g,tip:b,info:k,warning:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...B,...e,className:(0,i.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(g,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(b,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...Z,...e,className:(0,i.Z)("alert alert--warning",e.className),children:e.children})}}};function E(e){const n=a(e),t=(s=n.type,L[s]||(console.warn('No admonition component found for admonition type "'+s+'". Using Info as fallback.'),L.info));var s;return(0,o.jsx)(t,{...n})}},8427:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});t(3900);var s=t(1207),o=t(8512),a=t(3707),i=t(7515),c={iconEdit:"iconEdit_yCMb"},r=t(966);function l(e){let{className:n,...t}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,i.Z)(c.iconEdit,n),"aria-hidden":"true",...t,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:n}=e;return(0,r.jsxs)(a.Z,{to:n,className:o.k.common.editThisPage,children:[(0,r.jsx)(l,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},4265:function(e,n,t){"use strict";t.d(n,{Z:function(){return se}});var s=t(3900),o=t(1015),a=t(743),i=t(5106),c=t(7515),r=t(8408),l=t(4715);function d(){const{prism:e}=(0,l.L)(),{colorMode:n}=(0,r.I)(),t=e.theme,s=e.darkTheme||t;return"dark"===n?s:t}var u=t(8512),m=t(8485),h=t.n(m);const p=/title=(?["'])(?.*?)\1/,f=/\{(?<range>[\d,-]+)\}/,g={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function x(e,n){const t=e.map((e=>{const{start:t,end:s}=g[e];return"(?:"+t+"\\s*("+n.flatMap((e=>{var n,t;return[e.line,null==(n=e.block)?void 0:n.start,null==(t=e.block)?void 0:t.end].filter(Boolean)})).join("|")+")\\s*"+s+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")}function j(e,n){let t=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:a}=n;if(a&&f.test(a)){const e=a.match(f).groups.range;if(0===o.length)throw new Error("A highlight range has been given in code block's metastring (``` "+a+"), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.");const n=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[n]]));return{lineClassNames:Object.fromEntries(s),code:t}}if(void 0===s)return{lineClassNames:{},code:t};const i=function(e,n){switch(e){case"js":case"javascript":case"ts":case"typescript":return x(["js","jsBlock"],n);case"jsx":case"tsx":return x(["js","jsBlock","jsx"],n);case"html":return x(["js","jsBlock","html"],n);case"python":case"py":case"bash":return x(["bash"],n);case"markdown":case"md":return x(["html","jsx","bash"],n);case"tex":case"latex":case"matlab":return x(["tex"],n);case"lua":case"haskell":case"sql":return x(["lua"],n);case"wasm":return x(["wasm"],n);default:return x(Object.keys(g).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),n)}}(s,o),c=t.split("\n"),r=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:n,line:t}=e;return[t,n]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.start,n]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:n,block:t}=e;return[t.end,n]})));for(let h=0;h<c.length;){const e=c[h].match(i);if(!e){h+=1;continue}const n=e.slice(1).find((e=>void 0!==e));l[n]?r[l[n]].range+=h+",":d[n]?r[d[n]].start=h:u[n]&&(r[u[n]].range+=r[u[n]].start+"-"+(h-1)+","),c.splice(h,1)}t=c.join("\n");const m={};return Object.entries(r).forEach((e=>{let[n,{range:t}]=e;h()(t).forEach((e=>{null!=m[e]||(m[e]=[]),m[e].push(n)}))})),{lineClassNames:m,code:t}}var b={codeBlockContainer:"codeBlockContainer_pqmR"},v=t(966);function N(e){let{as:n,...t}=e;const s=function(e){const n={color:"--prism-color",backgroundColor:"--prism-background-color"},t={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const a=n[s];a&&"string"==typeof o&&(t[a]=o)})),t}(d());return(0,v.jsx)(n,{...t,style:s,className:(0,c.Z)(t.className,b.codeBlockContainer,u.k.common.codeBlock)})}var k={codeBlockContent:"codeBlockContent_qIvM",codeBlockTitle:"codeBlockTitle_d1g5",codeBlock:"codeBlock_fX_E",codeBlockStandalone:"codeBlockStandalone_Zx9w",codeBlockLines:"codeBlockLines_Qt9w",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_kJoj",buttonGroup:"buttonGroup_Ux1A"};function y(e){let{children:n,className:t}=e;return(0,v.jsx)(N,{as:"pre",tabIndex:0,className:(0,c.Z)(k.codeBlockStandalone,"thin-scrollbar",t),children:(0,v.jsx)("code",{className:k.codeBlockLines,children:n})})}var C=t(5158);const w={attributes:!0,characterData:!0,childList:!0,subtree:!0};function B(e,n){const[t,o]=(0,s.useState)(),a=(0,s.useCallback)((()=>{var n;o(null==(n=e.current)?void 0:n.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{a()}),[a]),function(e,n,t){void 0===t&&(t=w);const o=(0,C.zX)(n),a=(0,C.Ql)(t);(0,s.useEffect)((()=>{const n=new MutationObserver(o);return e&&n.observe(e,a),()=>n.disconnect()}),[e,o,a])}(t,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(n(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Z=t(8334),L={codeLine:"codeLine_L2TN",codeLineNumber:"codeLineNumber_D4w5",codeLineContent:"codeLineContent_NH88"};function E(e){let{line:n,classNames:t,showLineNumbers:s,getLineProps:o,getTokenProps:a}=e;1===n.length&&"\n"===n[0].content&&(n[0].content="");const i=o({line:n,className:(0,c.Z)(t,s&&L.codeLine)}),r=n.map(((e,n)=>(0,v.jsx)("span",{...a({token:e,key:n})},n)));return(0,v.jsxs)("span",{...i,children:[s?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("span",{className:L.codeLineNumber}),(0,v.jsx)("span",{className:L.codeLineContent,children:r})]}):r,(0,v.jsx)("br",{})]})}var _=t(1207);function T(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function I(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}var z={copyButtonCopied:"copyButtonCopied_dpE0",copyButtonIcons:"copyButtonIcons_Za_O",copyButtonIcon:"copyButtonIcon_INP8",copyButtonSuccessIcon:"copyButtonSuccessIcon_IO9w"};function A(e){let{code:n,className:t}=e;const[o,a]=(0,s.useState)(!1),i=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,n){let{target:t=document.body}=void 0===n?{}:n;if("string"!=typeof e)throw new TypeError("Expected parameter `text` to be a `string`, got `"+typeof e+"`.");const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const a=document.getSelection(),i=a.rangeCount>0&&a.getRangeAt(0);t.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let c=!1;try{c=document.execCommand("copy")}catch{}s.remove(),i&&(a.removeAllRanges(),a.addRange(i)),o&&o.focus()}(n),a(!0),i.current=window.setTimeout((()=>{a(!1)}),1e3)}),[n]);return(0,s.useEffect)((()=>()=>window.clearTimeout(i.current)),[]),(0,v.jsx)("button",{type:"button","aria-label":o?(0,_.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,_.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,_.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.Z)("clean-btn",t,z.copyButton,o&&z.copyButtonCopied),onClick:r,children:(0,v.jsxs)("span",{className:z.copyButtonIcons,"aria-hidden":"true",children:[(0,v.jsx)(T,{className:z.copyButtonIcon}),(0,v.jsx)(I,{className:z.copyButtonSuccessIcon})]})})}function S(e){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,v.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}var M={wordWrapButtonIcon:"wordWrapButtonIcon_IIsw",wordWrapButtonEnabled:"wordWrapButtonEnabled_Eejg"};function H(e){let{className:n,onClick:t,isEnabled:s}=e;const o=(0,_.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,v.jsx)("button",{type:"button",onClick:t,className:(0,c.Z)("clean-btn",n,s&&M.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,v.jsx)(S,{className:M.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){var n;let{children:t,className:o="",metastring:a,title:i,showLineNumbers:r,language:u}=e;const{prism:{defaultLanguage:m,magicComments:h}}=(0,l.L)(),f=function(e){return null==e?void 0:e.toLowerCase()}(null!=(n=null!=u?u:function(e){const n=e.split(" ").find((e=>e.startsWith("language-")));return null==n?void 0:n.replace(/language-/,"")}(o))?n:m),g=d(),x=function(){const[e,n]=(0,s.useState)(!1),[t,o]=(0,s.useState)(!1),a=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const t=a.current.querySelector("code");e?t.removeAttribute("style"):(t.style.whiteSpace="pre-wrap",t.style.overflowWrap="anywhere"),n((e=>!e))}),[a,e]),c=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:n}=a.current,t=e>n||a.current.querySelector("code").hasAttribute("style");o(t)}),[a]);return B(a,c),(0,s.useEffect)((()=>{c()}),[e,c]),(0,s.useEffect)((()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)})),[c]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:t,toggle:i}}(),b=function(e){var n,t;return null!=(n=null==e||null==(t=e.match(p))?void 0:t.groups.title)?n:""}(a)||i,{lineClassNames:y,code:C}=j(t,{metastring:a,language:f,magicComments:h}),w=null!=r?r:function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(a);return(0,v.jsxs)(N,{as:"div",className:(0,c.Z)(o,f&&!o.includes("language-"+f)&&"language-"+f),children:[b&&(0,v.jsx)("div",{className:k.codeBlockTitle,children:b}),(0,v.jsxs)("div",{className:k.codeBlockContent,children:[(0,v.jsx)(Z.y$,{theme:g,code:C,language:null!=f?f:"text",children:e=>{let{className:n,style:t,tokens:s,getLineProps:o,getTokenProps:a}=e;return(0,v.jsx)("pre",{tabIndex:0,ref:x.codeBlockRef,className:(0,c.Z)(n,k.codeBlock,"thin-scrollbar"),style:t,children:(0,v.jsx)("code",{className:(0,c.Z)(k.codeBlockLines,w&&k.codeBlockLinesWithNumbering),children:s.map(((e,n)=>(0,v.jsx)(E,{line:e,getLineProps:o,getTokenProps:a,classNames:y[n],showLineNumbers:w},n)))})})}}),(0,v.jsxs)("div",{className:k.buttonGroup,children:[(x.isEnabled||x.isCodeScrollable)&&(0,v.jsx)(H,{className:k.codeButton,onClick:()=>x.toggle(),isEnabled:x.isEnabled}),(0,v.jsx)(A,{className:k.codeButton,code:C})]})]})]})}function W(e){let{children:n,...t}=e;const o=(0,i.Z)(),a=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(n),c="string"==typeof a?R:y;return(0,v.jsx)(c,{...t,children:a},String(o))}var V=t(3707);var P=t(3663),O={details:"details_KJn4",isBrowser:"isBrowser_Unbb",collapsibleContent:"collapsibleContent_pIWv"};function D(e){return!!e&&("SUMMARY"===e.tagName||D(e.parentElement))}function F(e,n){return!!e&&(e===n||F(e.parentElement,n))}function q(e){let{summary:n,children:t,...o}=e;const a=(0,i.Z)(),r=(0,s.useRef)(null),{collapsed:l,setCollapsed:d}=(0,P.u)({initialState:!o.open}),[u,m]=(0,s.useState)(o.open),h=s.isValidElement(n)?n:(0,v.jsx)("summary",{children:null!=n?n:"Details"});return(0,v.jsxs)("details",{...o,ref:r,open:u,"data-collapsed":l,className:(0,c.Z)(O.details,a&&O.isBrowser,o.className),onMouseDown:e=>{D(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const n=e.target;D(n)&&F(n,r.current)&&(e.preventDefault(),l?(d(!1),m(!0)):d(!0))},children:[h,(0,v.jsx)(P.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,v.jsx)("div",{className:O.collapsibleContent,children:t})})]})}var U={details:"details_Zfkn"};const $="alert alert--info";function G(e){let{...n}=e;return(0,v.jsx)(q,{...n,className:(0,c.Z)($,U.details,n.className)})}function J(e){const n=s.Children.toArray(e.children),t=n.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,v.jsx)(v.Fragment,{children:n.filter((e=>e!==t))});return(0,v.jsx)(G,{...e,summary:t,children:o})}var Q=t(4974);function X(e){return(0,v.jsx)(Q.Z,{...e})}var Y={containsTaskList:"containsTaskList_FA68"};function K(e){if(void 0!==e)return(0,c.Z)(e,(null==e?void 0:e.includes("contains-task-list"))&&Y.containsTaskList)}var ee={img:"img_hkHc"};var ne=t(5085);var te={Head:a.Z,details:J,Details:J,code:function(e){return s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))?(0,v.jsx)("code",{...e}):(0,v.jsx)(W,{...e})},a:function(e){return(0,v.jsx)(V.Z,{...e})},pre:function(e){return(0,v.jsx)(v.Fragment,{children:e.children})},ul:function(e){return(0,v.jsx)("ul",{...e,className:K(e.className)})},img:function(e){return(0,v.jsx)("img",{loading:"lazy",...e,className:(n=e.className,(0,c.Z)(n,ee.img))});var n},h1:e=>(0,v.jsx)(X,{as:"h1",...e}),h2:e=>(0,v.jsx)(X,{as:"h2",...e}),h3:e=>(0,v.jsx)(X,{as:"h3",...e}),h4:e=>(0,v.jsx)(X,{as:"h4",...e}),h5:e=>(0,v.jsx)(X,{as:"h5",...e}),h6:e=>(0,v.jsx)(X,{as:"h6",...e}),admonition:ne.Z,mermaid:()=>null};function se(e){let{children:n}=e;return(0,v.jsx)(o.Z,{components:te,children:n})}},1554:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});t(3900);var s=t(7515),o=t(3707),a=t(966);function i(e){const{permalink:n,title:t,subLabel:i,isNext:c}=e;return(0,a.jsxs)(o.Z,{className:(0,s.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[i&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,a.jsx)("div",{className:"pagination-nav__label",children:t})]})}},1254:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});t(3900);var s=t(7515),o=t(3707),a={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},i=t(966);function c(e){let{permalink:n,label:t,count:c}=e;return(0,i.jsxs)(o.Z,{href:n,className:(0,s.Z)(a.tag,c?a.tagWithCount:a.tagRegular),children:[t,c&&(0,i.jsx)("span",{children:c})]})}},3714:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});t(3900);var s=t(7515),o=t(1207),a=t(1254),i={tags:"tags_e_7e",tag:"tag_YEUc"},c=t(966);function r(e){let{tags:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("b",{children:(0,c.jsx)(o.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,c.jsx)("ul",{className:(0,s.Z)(i.tags,"padding--none","margin-left--sm"),children:n.map((e=>{let{label:n,permalink:t}=e;return(0,c.jsx)("li",{className:i.tag,children:(0,c.jsx)(a.Z,{label:n,permalink:t})},t)}))})]})}},8485:function(e,n){function t(e){let n,t=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))t.push(parseInt(s,10));else if(n=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,a]=n;if(s&&a){s=parseInt(s),a=parseInt(a);const e=s<a?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(a+=e);for(let n=s;n!==a;n+=e)t.push(n)}}return t}n.default=t,e.exports=t},1015:function(e,n,t){"use strict";t.d(n,{Z:function(){return c},a:function(){return i}});var s=t(3900);const o={},a=s.createContext(o);function i(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/269baefd.d5596efb.js b/zh-TW/assets/js/269baefd.d5596efb.js new file mode 100644 index 00000000..d9ede0a0 --- /dev/null +++ b/zh-TW/assets/js/269baefd.d5596efb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8611],{1112:function(n,e,t){t.r(e),t.d(e,{Highlight:function(){return d},assets:function(){return u},contentTitle:function(){return c},default:function(){return m},frontMatter:function(){return s},metadata:function(){return i},toc:function(){return a}});var r=t(966),o=t(1015);const s={id:"mdx",title:"Powered by MDX"},c=void 0,i={id:"mdx",title:"Powered by MDX",description:"You can write JSX and use React components within your Markdown thanks to MDX.",source:"@site/versioned_docs/version-1.0.0/mdx.mdx",sourceDirName:".",slug:"/mdx",permalink:"/docusaurus-search-local/zh-TW/docs/mdx",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/mdx.mdx",tags:[],version:"1.0.0",frontMatter:{id:"mdx",title:"Powered by MDX"},sidebar:"someSidebar",previous:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/zh-TW/docs/doc3"}},u={},a=[],d=({children:n,color:e})=>{const t={span:"span",...(0,o.a)()};return(0,r.jsx)(t.span,{style:{backgroundColor:e,borderRadius:"2px",color:"#fff",padding:"0.2rem"},children:n})};function l(n){const e={a:"a",em:"em",p:"p",strong:"strong",...(0,o.a)(),...n.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["You can write JSX and use React components within your Markdown thanks to ",(0,r.jsx)(e.a,{href:"https://mdxjs.com/",children:"MDX"}),"."]}),"\n","\n",(0,r.jsxs)(e.p,{children:[(0,r.jsx)(d,{color:"#25c2a0",children:"Docusaurus green"})," and ",(0,r.jsx)(d,{color:"#1877F2",children:"Facebook blue"})," are my favorite colors."]}),"\n",(0,r.jsxs)(e.p,{children:["I can write ",(0,r.jsx)(e.strong,{children:"Markdown"})," alongside my ",(0,r.jsx)(e.em,{children:"JSX"}),"!"]})]})}function m(n={}){const{wrapper:e}={...(0,o.a)(),...n.components};return e?(0,r.jsx)(e,{...n,children:(0,r.jsx)(l,{...n})}):l(n)}},1015:function(n,e,t){t.d(e,{Z:function(){return i},a:function(){return c}});var r=t(3900);const o={},s=r.createContext(o);function c(n){const e=r.useContext(s);return r.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:c(n.components),r.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/2868cdab.47f03180.js b/zh-TW/assets/js/2868cdab.47f03180.js new file mode 100644 index 00000000..ee3218d6 --- /dev/null +++ b/zh-TW/assets/js/2868cdab.47f03180.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4061],{6586:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/zh-TW/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"2019\u5e745\u670830\u65e5",tags:[{label:"facebook",permalink:"/docusaurus-search-local/zh-TW/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-TW/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/2ea63f09.2f26cb26.js b/zh-TW/assets/js/2ea63f09.2f26cb26.js new file mode 100644 index 00000000..14fa900c --- /dev/null +++ b/zh-TW/assets/js/2ea63f09.2f26cb26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7801],{8051:function(s){s.exports=JSON.parse('{"label":"hello","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hello","allTagsPath":"/docusaurus-search-local/zh-TW/blog/tags","count":2,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/337aaa52.1b7be315.js b/zh-TW/assets/js/337aaa52.1b7be315.js new file mode 100644 index 00000000..99fd849d --- /dev/null +++ b/zh-TW/assets/js/337aaa52.1b7be315.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4854],{4937:function(t,n,e){e.r(n),e.d(n,{assets:function(){return c},contentTitle:function(){return r},default:function(){return a},frontMatter:function(){return i},metadata:function(){return u},toc:function(){return d}});var s=e(966),o=e(1015);const i={unlisted:!0},r="Unlisted Post",u={id:"unlisted-post",title:"Unlisted Post",description:'This unlisted blog post should be "hidden" in production, but remain accessible.',source:"@site/docs/unlisted-post.md",sourceDirName:".",slug:"/unlisted-post",permalink:"/docusaurus-search-local/zh-TW/docs/next/unlisted-post",draft:!1,unlisted:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/unlisted-post.md",tags:[],version:"current",frontMatter:{unlisted:!0},sidebar:"tutorialSidebar"},c={},d=[];function l(t){const n={h1:"h1",p:"p",...(0,o.a)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"unlisted-post",children:"Unlisted Post"}),"\n",(0,s.jsx)(n.p,{children:'This unlisted blog post should be "hidden" in production, but remain accessible.'}),"\n",(0,s.jsx)(n.p,{children:"It is filtered from the sidebar, sitemap, SEO indexation..."})]})}function a(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,s.jsx)(n,{...t,children:(0,s.jsx)(l,{...t})}):l(t)}},1015:function(t,n,e){e.d(n,{Z:function(){return u},a:function(){return r}});var s=e(3900);const o={},i=s.createContext(o);function r(t){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function u(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:r(t.components),s.createElement(i.Provider,{value:n},t.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/3570154c.11dd2df2.js b/zh-TW/assets/js/3570154c.11dd2df2.js new file mode 100644 index 00000000..cd49a954 --- /dev/null +++ b/zh-TW/assets/js/3570154c.11dd2df2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3707],{98:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return n},default:function(){return h},frontMatter:function(){return a},metadata:function(){return s},toc:function(){return c}});var u=o(966),r=o(1015);const a={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},n=void 0,s={permalink:"/docusaurus-search-local/zh-TW/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"2019\u5e745\u670829\u65e5",tags:[{label:"hello",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-TW/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/zh-TW/blog/hola"}},l={authorsImageUrls:[void 0]},c=[];function i(t){const e={a:"a",p:"p",strong:"strong",...(0,r.a)(),...t.components};return(0,u.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,u.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,u.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]})}function h(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(i,{...t})}):i(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return s},a:function(){return n}});var u=o(3900);const r={},a=u.createContext(r);function n(t){const e=u.useContext(a);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:n(t.components),u.createElement(a.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/3720c009.696eeede.js b/zh-TW/assets/js/3720c009.696eeede.js new file mode 100644 index 00000000..a015812a --- /dev/null +++ b/zh-TW/assets/js/3720c009.696eeede.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3751],{3821:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});n(3900);var a=n(7515),s=n(4181),r=n(8512),l=n(2678),i=n(5123),c=n(3806),u=n(4974),o=n(966);function g(t){let{title:e}=t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.d,{title:e}),(0,o.jsx)(c.Z,{tag:"doc_tags_list"})]})}function h(t){let{tags:e,title:n}=t;return(0,o.jsx)(s.FG,{className:(0,a.Z)(r.k.page.docsTagsListPage),children:(0,o.jsx)("div",{className:"container margin-vert--lg",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("main",{className:"col col--8 col--offset-2",children:[(0,o.jsx)(u.Z,{as:"h1",children:n}),(0,o.jsx)(i.Z,{tags:e})]})})})})}function d(t){const e=(0,l.M)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...t,title:e}),(0,o.jsx)(h,{...t,title:e})]})}},1254:function(t,e,n){n.d(e,{Z:function(){return i}});n(3900);var a=n(7515),s=n(3707),r={tag:"tag_TpAi",tagRegular:"tagRegular_ha55",tagWithCount:"tagWithCount_mjGL"},l=n(966);function i(t){let{permalink:e,label:n,count:i}=t;return(0,l.jsxs)(s.Z,{href:e,className:(0,a.Z)(r.tag,i?r.tagWithCount:r.tagRegular),children:[n,i&&(0,l.jsx)("span",{children:i})]})}},5123:function(t,e,n){n.d(e,{Z:function(){return u}});n(3900);var a=n(2678),s=n(1254),r=n(4974),l={tag:"tag_BmfI"},i=n(966);function c(t){let{letterEntry:e}=t;return(0,i.jsxs)("article",{children:[(0,i.jsx)(r.Z,{as:"h2",id:e.letter,children:e.letter}),(0,i.jsx)("ul",{className:"padding--none",children:e.tags.map((t=>(0,i.jsx)("li",{className:l.tag,children:(0,i.jsx)(s.Z,{...t})},t.permalink)))}),(0,i.jsx)("hr",{})]})}function u(t){let{tags:e}=t;const n=(0,a.P)(e);return(0,i.jsx)("section",{className:"margin-vert--lg",children:n.map((t=>(0,i.jsx)(c,{letterEntry:t},t.letter)))})}},2678:function(t,e,n){n.d(e,{M:function(){return s},P:function(){return r}});var a=n(1207);const s=()=>(0,a.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function r(t){const e={};return Object.values(t).forEach((t=>{const n=function(t){return t[0].toUpperCase()}(t.label);null!=e[n]||(e[n]=[]),e[n].push(t)})),Object.entries(e).sort(((t,e)=>{let[n]=t,[a]=e;return n.localeCompare(a)})).map((t=>{let[e,n]=t;return{letter:e,tags:n.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/376a6b2e.5437b807.js b/zh-TW/assets/js/376a6b2e.5437b807.js new file mode 100644 index 00000000..dae3b1d1 --- /dev/null +++ b/zh-TW/assets/js/376a6b2e.5437b807.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7626],{1295:function(t){t.exports=JSON.parse('{"blogPosts":[{"id":"writing-good-unit-tests","metadata":{"permalink":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md","source":"@site/blog/2019-06-15-writing-good-unit-tests.md","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","description":"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002","date":"2019-06-15T00:00:00.000Z","formattedDate":"2019\u5e746\u670815\u65e5","tags":[],"readingTime":7.49,"hasTruncateMarker":false,"authors":[{"name":"Wang Shenwei","url":"https://github.com/weareoutman","imageURL":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],"frontMatter":{"slug":"writing-good-unit-tests","title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","author":"Wang Shenwei","author_url":"https://github.com/weareoutman","author_image_url":"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},"unlisted":false,"nextItem":{"title":"Welcome","permalink":"/docusaurus-search-local/zh-TW/blog/welcome"}},"content":":::note\\n\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002\\n:::\\n\\n> \u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d\\n\\n\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e [TypeScript], [Jest], [React], [Enzyme] \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002\\n\\n## \u57fa\u672c\u65b9\u6cd5\\n\\n\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\\n2. \u8fd0\u884c\\n3. \u65ad\u8a00\u8f93\u51fa\\n\\n\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a\\n\\n- \u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f\\n- \u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00\\n\\n\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `add.ts`\\nfunction add(a: number, b: number): number {\\n return a + b;\\n}\\n```\\n\\n```ts\\n// `add.spec.ts`\\ntest(\\"add(1, 2) should return 3\\", () => {\\n expect(add(1, 2)).toBe(3);\\n});\\n```\\n\\n\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a\\n\\n1. \u7ed9\u5b9a\u8f93\u5165\uff1a`1`, `2`\\n2. \u8fd0\u884c\uff1a `add(...)`\\n3. \u65ad\u8a00\u8f93\u51fa\uff1a`expect(...).toBe(3)`\\n\\n\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002\\n\\n- \u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f\\n- \u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\\n\\n> \u8fd9\u91cc\u63d0\u5230\u7684*\u8f93\u5165*\u3001*\u8f93\u51fa*\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002\\n\\n\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002\\n\\n## \u8f93\u5165\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u53c2\u6570\\n- \u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6\\n- GUI \u64cd\u4f5c\u4e8b\u4ef6\\n\\n\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5916\u90e8\u4e8b\u4ef6*\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a*\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210*\u7ed9\u5b9a\u8f93\u5165*\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002\\n\\n\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.ts`\\nwindow.addEventListener(\\"resize\\", () => { ... });\\n```\\n\\n\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.ts`\\ntest(\\"MyComponent\\", () => {\\n window.dispatchEvent(new Event(\\"resize\\"));\\n // ...\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleChange = (value: string): void => { ... };\\nreturn <Editor onChange={handleChange} />\\n```\\n\\n\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow(<MyComponent />);\\n wrapper.find(Editor).invoke(\\"onChange\\")(\\"faked value\\");\\n // ...\\n});\\n```\\n\\n## \u8f93\u51fa\\n\\n\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\\n\\n- \u666e\u901a\u53d8\u91cf\u8f93\u51fa\\n- GUI \u7684\u53d8\u5316\\n- \u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528\\n\\n\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c*\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528*\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002\\n\\n\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `handleClick.ts`\\nfunction handleClick(): void {\\n history.push(\\"/next/url\\");\\n}\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n handleClick();\\n expect(history.location.pathname).toBe(\\"/next/url\\");\\n});\\n```\\n\\n\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab _Mocked_\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a\\n\\n```ts\\n// `handleClick.spec.ts`\\ntest(\\"handleClick\\", () => {\\n const spyOnHistoryPush = jest.spyOn(history, \\"push\\");\\n expect(spyOnHistoryPush).toBeCalledWith(\\"/next/url\\");\\n});\\n```\\n\\n\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.tsx`\\nconst handleValidation = (valid: boolean): void => {\\n this.setState({ valid });\\n};\\nreturn (\\n <Form.Item className={this.state.valid ? \\"valid\\" : \\"invalid\\"}>\\n <Input />\\n </Form.Item>\\n);\\n```\\n\\n\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a\\n\\n```ts\\n// `MyComponent.spec.tsx`\\ntest(\\"MyComponent\\", () => {\\n const wrapper = shallow(<MyComponent />);\\n // ... after something trigger `handleValidation()`\\n expect(wrapper.find(Form.Item).prop(\\"className\\")).toBe(\\"invalid\\");\\n});\\n```\\n\\n\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002\\n\\n\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f*\u5bf9\u5916\u7684\u5f71\u54cd*\uff0c\u800c\u4e0d\u662f*\u5185\u90e8\u72b6\u6001*\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684*\u8f93\u51fa*\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a\\n\\n```ts\\n// `MyComponent.bad.spec.tsx`\\nexpect(wrapper.instance().state.valid).toBe(\\"invalid\\");\\n```\\n\\n## \u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002\\n\\n**\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206**\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, [Redux] \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684[\u5355\u5411\u6570\u636e\u6d41]\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002\\n\\n## \u603b\u7ed3\\n\\n\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a\\n\\n- \u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\\n- \u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5\\n- \u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206\\n\\n\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002\\n\\n[typescript]: https://www.typescriptlang.org/\\n[jest]: https://jestjs.io/\\n[react]: https://reactjs.org/\\n[enzyme]: https://airbnb.io/enzyme/\\n[redux]: https://redux.js.org/\\n[\u5355\u5411\u6570\u636e\u6d41]: https://flaviocopes.com/react-unidirectional-data-flow/\\n[\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027]: https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95"},{"id":"welcome","metadata":{"permalink":"/docusaurus-search-local/zh-TW/blog/welcome","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md","source":"@site/blog/2019-05-30-welcome.md","title":"Welcome","description":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","date":"2019-05-30T00:00:00.000Z","formattedDate":"2019\u5e745\u670830\u65e5","tags":[{"label":"facebook","permalink":"/docusaurus-search-local/zh-TW/blog/tags/facebook"},{"label":"hello","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],"readingTime":0.175,"hasTruncateMarker":false,"authors":[{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],"frontMatter":{"slug":"welcome","title":"Welcome","author":"Yangshun Tay","author_title":"Front End Engineer @ Facebook","author_url":"https://github.com/yangshun","author_image_url":"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4","tags":["facebook","hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests"},"nextItem":{"title":"Hello","permalink":"/docusaurus-search-local/zh-TW/blog/hello-world"}},"content":"Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!\\n\\nDelete the whole directory if you don\'t want the blog features. As simple as that!"},{"id":"hello-world","metadata":{"permalink":"/docusaurus-search-local/zh-TW/blog/hello-world","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md","source":"@site/blog/2019-05-29-hello-world.md","title":"Hello","description":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","date":"2019-05-29T00:00:00.000Z","formattedDate":"2019\u5e745\u670829\u65e5","tags":[{"label":"hello","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hello"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":true,"authors":[{"name":"Endilie Yacop Sucipto","title":"Maintainer of Docusaurus","url":"https://github.com/endiliey","imageURL":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],"frontMatter":{"slug":"hello-world","title":"Hello","author":"Endilie Yacop Sucipto","author_title":"Maintainer of Docusaurus","author_url":"https://github.com/endiliey","author_image_url":"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/docusaurus-search-local/zh-TW/blog/welcome"},"nextItem":{"title":"Hola","permalink":"/docusaurus-search-local/zh-TW/blog/hola"}},"content":"Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).\\n\\n\x3c!--truncate--\x3e\\n\\nThis is a test post.\\n\\nA whole bunch of other information."},{"id":"hola","metadata":{"permalink":"/docusaurus-search-local/zh-TW/blog/hola","editUrl":"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md","source":"@site/blog/2019-05-28-hola.md","title":"Hola","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","date":"2019-05-28T00:00:00.000Z","formattedDate":"2019\u5e745\u670828\u65e5","tags":[{"label":"hola","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hola"},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],"readingTime":0.12,"hasTruncateMarker":false,"authors":[{"name":"Gao Wei","title":"Docusaurus Core Team","url":"https://github.com/wgao19","imageURL":"https://avatars1.githubusercontent.com/u/2055384?v=4"}],"frontMatter":{"slug":"hola","title":"Hola","author":"Gao Wei","author_title":"Docusaurus Core Team","author_url":"https://github.com/wgao19","author_image_url":"https://avatars1.githubusercontent.com/u/2055384?v=4","tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Hello","permalink":"/docusaurus-search-local/zh-TW/blog/hello-world"}},"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/3a35335b.a497baee.js b/zh-TW/assets/js/3a35335b.a497baee.js new file mode 100644 index 00000000..9945d335 --- /dev/null +++ b/zh-TW/assets/js/3a35335b.a497baee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5322],{9679:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"2019\u5e746\u670815\u65e5",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-TW/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/438ae6a5.276f06e8.js b/zh-TW/assets/js/438ae6a5.276f06e8.js new file mode 100644 index 00000000..8eb074b8 --- /dev/null +++ b/zh-TW/assets/js/438ae6a5.276f06e8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9064],{1588:function(s){s.exports=JSON.parse('{"label":"facebook","permalink":"/docusaurus-search-local/zh-TW/blog/tags/facebook","allTagsPath":"/docusaurus-search-local/zh-TW/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/5130.49147aff.js b/zh-TW/assets/js/5130.49147aff.js new file mode 100644 index 00000000..8fe55b7f --- /dev/null +++ b/zh-TW/assets/js/5130.49147aff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5130],{1809:function(e,t,r){r.d(t,{Z:function(){return j}});var s=r(3900),n=r(7515),a=r(2786),l=r(879),i=r(3707),o=r(1207),c=r(382),m=r(4064);function u(e){const{pathname:t}=(0,c.TH)();return(0,s.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}var d={sidebar:"sidebar_Tfnr",sidebarItemTitle:"sidebarItemTitle_qWx9",sidebarItemList:"sidebarItemList_FqE9",sidebarItem:"sidebarItem_w3b1",sidebarItemLink:"sidebarItemLink_zGe6",sidebarItemLinkActive:"sidebarItemLinkActive_PILC"},h=r(966);function g(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,n.Z)(d.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,n.Z)(d.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,n.Z)(d.sidebarItemList,"clean-list"),children:r.map((e=>(0,h.jsx)("li",{className:d.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:d.sidebarItemLink,activeClassName:d.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=r(3943);function x(e){let{sidebar:t}=e;const r=u(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:r.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function f(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const r=(0,l.i)();return null!=t&&t.items.length?"mobile"===r?(0,h.jsx)(f,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function j(e){const{sidebar:t,toc:r,children:s,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(a.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,n.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:s}),r&&(0,h.jsx)("div",{className:"col col--2",children:r})]})})})}},87:function(e,t,r){r.d(t,{Z:function(){return y}});r(3900);var s=r(7515),n=r(7138),a=r(3373),l=r(966);function i(e){var t,r;let{children:s,className:i}=e;const{frontMatter:o,assets:c,metadata:{description:m}}=(0,n.C)(),{withBaseUrl:u}=(0,a.C)(),d=null!=(t=c.image)?t:o.image,h=null!=(r=o.keywords)?r:[];return(0,l.jsxs)("article",{className:i,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[m&&(0,l.jsx)("meta",{itemProp:"description",content:m}),d&&(0,l.jsx)("link",{itemProp:"image",href:u(d,{absolute:!0})}),h.length>0&&(0,l.jsx)("meta",{itemProp:"keywords",content:h.join(",")}),s]})}var o=r(3707),c={title:"title_LFnH"};function m(e){let{className:t}=e;const{metadata:r,isBlogPostPage:a}=(0,n.C)(),{permalink:i,title:m}=r,u=a?"h1":"h2";return(0,l.jsx)(u,{className:(0,s.Z)(c.title,t),itemProp:"headline",children:a?m:(0,l.jsx)(o.Z,{itemProp:"url",to:i,children:m})})}var u=r(1207),d=r(960),h={container:"container_W46p"};function g(e){let{readingTime:t}=e;const r=function(){const{selectMessage:e}=(0,d.c)();return t=>{const r=Math.ceil(t);return e(r,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return(0,l.jsx)(l.Fragment,{children:r(t)})}function p(e){let{date:t,formattedDate:r}=e;return(0,l.jsx)("time",{dateTime:t,itemProp:"datePublished",children:r})}function x(){return(0,l.jsx)(l.Fragment,{children:" \xb7 "})}function f(e){let{className:t}=e;const{metadata:r}=(0,n.C)(),{date:a,formattedDate:i,readingTime:o}=r;return(0,l.jsxs)("div",{className:(0,s.Z)(h.container,"margin-vert--md",t),children:[(0,l.jsx)(p,{date:a,formattedDate:i}),void 0!==o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(x,{}),(0,l.jsx)(g,{readingTime:o})]})]})}function b(e){return e.href?(0,l.jsx)(o.Z,{...e}):(0,l.jsx)(l.Fragment,{children:e.children})}function j(e){let{author:t,className:r}=e;const{name:n,title:a,url:i,imageURL:o,email:c}=t,m=i||c&&"mailto:"+c||void 0;return(0,l.jsxs)("div",{className:(0,s.Z)("avatar margin-bottom--sm",r),children:[o&&(0,l.jsx)(b,{href:m,className:"avatar__photo-link",children:(0,l.jsx)("img",{className:"avatar__photo",src:o,alt:n,itemProp:"image"})}),n&&(0,l.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,l.jsx)("div",{className:"avatar__name",children:(0,l.jsx)(b,{href:m,itemProp:"url",children:(0,l.jsx)("span",{itemProp:"name",children:n})})}),a&&(0,l.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:a})]})]})}var v={authorCol:"authorCol_L2ln",imageOnlyAuthorRow:"imageOnlyAuthorRow_pXm5",imageOnlyAuthorCol:"imageOnlyAuthorCol_IIuY"};function P(e){let{className:t}=e;const{metadata:{authors:r},assets:a}=(0,n.C)();if(0===r.length)return null;const i=r.every((e=>{let{name:t}=e;return!t}));return(0,l.jsx)("div",{className:(0,s.Z)("margin-top--md margin-bottom--sm",i?v.imageOnlyAuthorRow:"row",t),children:r.map(((e,t)=>{var r;return(0,l.jsx)("div",{className:(0,s.Z)(!i&&"col col--6",i?v.imageOnlyAuthorCol:v.authorCol),children:(0,l.jsx)(j,{author:{...e,imageURL:null!=(r=a.authorsImageUrls[t])?r:e.imageURL}})},t)}))})}function N(){return(0,l.jsxs)("header",{children:[(0,l.jsx)(m,{}),(0,l.jsx)(f,{}),(0,l.jsx)(P,{})]})}var _=r(181),k=r(4265);function Z(e){let{children:t,className:r}=e;const{isBlogPostPage:a}=(0,n.C)();return(0,l.jsx)("div",{id:a?_.blogPostContainerID:void 0,className:(0,s.Z)("markdown",r),itemProp:"articleBody",children:(0,l.jsx)(k.Z,{children:t})})}var I=r(8427),w=r(3714);function C(){return(0,l.jsx)("b",{children:(0,l.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function T(e){const{blogPostTitle:t,...r}=e;return(0,l.jsx)(o.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...r,children:(0,l.jsx)(C,{})})}var F={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_DBmw"};function L(){const{metadata:e,isBlogPostPage:t}=(0,n.C)(),{tags:r,title:a,editUrl:i,hasTruncateMarker:o}=e,c=!t&&o,m=r.length>0;return m||c||i?(0,l.jsxs)("footer",{className:(0,s.Z)("row docusaurus-mt-lg",t&&F.blogPostFooterDetailsFull),children:[m&&(0,l.jsx)("div",{className:(0,s.Z)("col",{"col--9":c}),children:(0,l.jsx)(w.Z,{tags:r})}),t&&i&&(0,l.jsx)("div",{className:"col margin-top--sm",children:(0,l.jsx)(I.Z,{editUrl:i})}),c&&(0,l.jsx)("div",{className:(0,s.Z)("col text--right",{"col--3":m}),children:(0,l.jsx)(T,{blogPostTitle:a,to:e.permalink})})]}):null}function y(e){let{children:t,className:r}=e;const a=function(){const{isBlogPostPage:e}=(0,n.C)();return e?void 0:"margin-bottom--xl"}();return(0,l.jsxs)(i,{className:(0,s.Z)(a,r),children:[(0,l.jsx)(N,{}),(0,l.jsx)(Z,{children:t}),(0,l.jsx)(L,{})]})}},7138:function(e,t,r){r.d(t,{C:function(){return o},n:function(){return i}});var s=r(3900),n=r(5158),a=r(966);const l=s.createContext(null);function i(e){let{children:t,content:r,isBlogPostPage:n=!1}=e;const i=function(e){let{content:t,isBlogPostPage:r}=e;return(0,s.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:r})),[t,r])}({content:r,isBlogPostPage:n});return(0,a.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,s.useContext)(l);if(null===e)throw new n.i6("BlogPostProvider");return e}},960:function(e,t,r){r.d(t,{c:function(){return c}});var s=r(3900),n=r(2442);const a=["zero","one","two","few","many","other"];function l(e){return a.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:l(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 the default (English) implementation.\nError: '+t.message+"\n"),i}}),[e])}function c(){const e=o();return{selectMessage:(t,r)=>function(e,t,r){const s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error("For locale="+r.locale+", a maximum of "+r.pluralForms.length+" plural forms are expected ("+r.pluralForms.join(",")+"), but the message contains "+s.length+": "+e);const n=r.select(t),a=r.pluralForms.indexOf(n);return s[Math.min(a,s.length-1)]}(r,t,e)}}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/533a09ca.69c3656d.js b/zh-TW/assets/js/533a09ca.69c3656d.js new file mode 100644 index 00000000..5ee2c40b --- /dev/null +++ b/zh-TW/assets/js/533a09ca.69c3656d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4607],{3089:function(e,t,s){s.r(t),s.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var r=s(966),n=s(1015);const o={sidebar_position:3},a="Create a Blog Post",i={id:"tutorial-basics/create-a-blog-post",title:"Create a Blog Post",description:"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...",source:"@site/docs/tutorial-basics/create-a-blog-post.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-blog-post",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-blog-post.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Create a Document",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document"},next:{title:"Markdown Features",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features"}},c={},u=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"}),"\n",(0,r.jsxs)(t.p,{children:["Docusaurus creates a ",(0,r.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,r.jsx)(t.strong,{children:"blog index page"}),", a ",(0,r.jsx)(t.strong,{children:"tag system"}),", an ",(0,r.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,r.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,r.jsxs)(t.p,{children:["Create a file at ",(0,r.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much you like.\n"})}),"\n",(0,r.jsxs)(t.p,{children:["A new blog post is now available at ",(0,r.jsx)(t.code,{children:"http://localhost:3000/blog/greetings"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1015:function(e,t,s){s.d(t,{Z:function(){return i},a:function(){return a}});var r=s(3900);const n={},o=r.createContext(n);function a(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/55526312.ee33dc15.js b/zh-TW/assets/js/55526312.ee33dc15.js new file mode 100644 index 00000000..9479f11f --- /dev/null +++ b/zh-TW/assets/js/55526312.ee33dc15.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3408],{3321:function(e,t,n){n.r(t),n.d(t,{assets:function(){return u},contentTitle:function(){return s},default:function(){return l},frontMatter:function(){return c},metadata:function(){return i},toc:function(){return a}});var o=n(966),r=n(1015);const c={id:"doc2",title:"Document Number 2"},s=void 0,i={id:"doc2",title:"Document Number 2",description:"This is a link to another document. This is a link to an external page.",source:"@site/versioned_docs/version-1.0.0/doc2.md",sourceDirName:".",slug:"/doc2",permalink:"/docusaurus-search-local/zh-TW/docs/doc2",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc2.md",tags:[],version:"1.0.0",frontMatter:{id:"doc2",title:"Document Number 2"},sidebar:"someSidebar",previous:{title:"Style Guide",permalink:"/docusaurus-search-local/zh-TW/docs/"},next:{title:"This is Document Number 3",permalink:"/docusaurus-search-local/zh-TW/docs/doc3"}},u={},a=[];function d(e){const t={a:"a",p:"p",...(0,r.a)(),...e.components};return(0,o.jsxs)(t.p,{children:["This is a link to ",(0,o.jsx)(t.a,{href:"/docusaurus-search-local/zh-TW/docs/doc3",children:"another document."})," This is a link to an ",(0,o.jsx)(t.a,{href:"http://www.example.com/",children:"external page."})]})}function l(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1015:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return s}});var o=n(3900);const r={},c=o.createContext(r);function s(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/55960ee5.f6f9139f.js b/zh-TW/assets/js/55960ee5.f6f9139f.js new file mode 100644 index 00000000..10e1d33c --- /dev/null +++ b/zh-TW/assets/js/55960ee5.f6f9139f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4121],{8070:function(e){e.exports=JSON.parse('[{"label":"Test","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/test","count":1},{"label":"Keywords","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/keywords","count":1},{"label":"Front matter","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/front-matter","count":1}]')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/562b6f2f.62a5aca2.js b/zh-TW/assets/js/562b6f2f.62a5aca2.js new file mode 100644 index 00000000..13018908 --- /dev/null +++ b/zh-TW/assets/js/562b6f2f.62a5aca2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2894],{6657:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/5920.83d9a30f.js b/zh-TW/assets/js/5920.83d9a30f.js new file mode 100644 index 00000000..855d8373 --- /dev/null +++ b/zh-TW/assets/js/5920.83d9a30f.js @@ -0,0 +1,2 @@ +/*! For license information please see 5920.83d9a30f.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5920],{5920:function(t,e,n){"use strict";t.exports=n(1251)},3765:function(t,e,n){"use strict";var i=n(4632),s={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(s.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&i.isMsie()<=7&&i.mixin(s.input,{marginTop:"-1px"}),t.exports=s},100:function(t,e,n){"use strict";var i="aaDataset",s="aaValue",r="aaDatum",o=n(4632),a=n(9446),u=n(9928),c=n(3765),l=n(1649);function h(t){var e;(t=t||{}).templates=t.templates||{},t.source||o.error("missing source"),t.name&&(e=t.name,!/^[_a-zA-Z0-9-]+$/.test(e))&&o.error("invalid dataset name: "+t.name),this.query=null,this._isEmpty=!0,this.highlight=!!t.highlight,this.name=void 0===t.name||null===t.name?o.getUniqueId():t.name,this.source=t.source,this.displayFn=function(t){return t=t||"value",o.isFunction(t)?t:e;function e(e){return e[t]}}(t.display||t.displayKey),this.debounce=t.debounce,this.cache=!1!==t.cache,this.templates=function(t,e){return{empty:t.empty&&o.templatify(t.empty),header:t.header&&o.templatify(t.header),footer:t.footer&&o.templatify(t.footer),suggestion:t.suggestion||n};function n(t){return"<p>"+e(t)+"</p>"}}(t.templates,this.displayFn),this.css=o.mixin({},c,t.appendTo?c.appendTo:{}),this.cssClasses=t.cssClasses=o.mixin({},c.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var n=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=t.$menu&&t.$menu.find(n+"-"+this.name).length>0?a.element(t.$menu.find(n+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=t.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(t){return a.element(t).data(i)},h.extractValue=function(t){return a.element(t).data(s)},h.extractDatum=function(t){var e=a.element(t).data(r);return"string"==typeof e&&(e=JSON.parse(e)),e},o.mixin(h.prototype,l,{_render:function(t,e){if(this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=e&&e.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!0}].concat(e),c.templates.empty.apply(this,e)}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html(function(){var t,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return t=a.element(p).css(this.css.suggestions),n=o.map(e,f),t.append.apply(t,n),t;function f(t){var e,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(e=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[t].concat(l)))).data(i,c.name),e.data(s,c.displayFn(t)||void 0),e.data(r,JSON.stringify(t)),e.children().each((function(){a.element(this).css(h.css.suggestionChild)})),e}}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(e&&!Array.isArray(e))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",t)}function h(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.header.apply(this,e)}function p(){var e=[].slice.call(arguments,0);return e=[{query:t,isEmpty:!n}].concat(e),c.templates.footer.apply(this,e)}},getRoot:function(){return this.$el},update:function(t){function e(e){if(!this.canceled&&t===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(t,e,n),this._render.apply(this,[t,e].concat(n))}}if(this.query=t,this.canceled=!1,this.shouldFetchFromCache(t))e.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(t,e.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){n.debounceTimeout=null,i()}),this.debounce)}else i()}},cacheSuggestions:function(t,e,n){this.cachedQuery=t,this.cachedSuggestions=e,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(t){return this.cache&&this.cachedQuery===t&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),t.exports=h},4410:function(t,e,n){"use strict";var i=n(4632),s=n(9446),r=n(1649),o=n(100),a=n(3765);function u(t){var e,n,r,o=this;(t=t||{}).menu||i.error("menu is required"),i.isArray(t.datasets)||i.isObject(t.datasets)||i.error("1 or more datasets required"),t.datasets||i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=t.minLength||0,this.templates={},this.appendTo=t.appendTo||!1,this.css=i.mixin({},a,t.appendTo?a.appendTo:{}),this.cssClasses=t.cssClasses=i.mixin({},a.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),e=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),r=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=s.element(t.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,r).on("click.aa",c,e),this.$container=t.appendTo?t.wrapper:this.$menu,t.templates&&t.templates.header&&(this.templates.header=i.templatify(t.templates.header),this.$menu.prepend(this.templates.header())),t.templates&&t.templates.empty&&(this.templates.empty=i.templatify(t.templates.empty),this.$empty=s.element('<div class="'+i.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(t.datasets,(function(e){return function(t,e,n){return new u.Dataset(i.mixin({$menu:t,cssClasses:n},e))}(o.$menu,e,t.cssClasses)})),i.each(this.datasets,(function(t){var e=t.getRoot();e&&0===e.parent().length&&o.$menu.append(e),t.onSync("rendered",o._onRendered,o)})),t.templates&&t.templates.footer&&(this.templates.footer=i.templatify(t.templates.footer),this.$menu.append(this.templates.footer()));var l=this;s.element(window).resize((function(){l._redraw()}))}i.mixin(u.prototype,r,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",s.element(t.currentTarget))},_onSuggestionMouseEnter:function(t){var e=s.element(t.currentTarget);if(!e.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout((function(){n._setCursor(e,!1)}),0)}},_onSuggestionMouseLeave:function(t){if(t.relatedTarget&&s.element(t.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(t,e){if(this.isEmpty=i.every(this.datasets,(function(t){return t.isEmpty()})),this.isEmpty)if(e.length>=this.minLength&&this.trigger("empty"),this.$empty)if(e.length<this.minLength)this._hide();else{var n=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(n),this.$empty.show(),this._show()}else i.any(this.datasets,(function(t){return t.templates&&t.templates.empty}))?e.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),e.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(t,e){t.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",e)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(t){var e,n,i,s;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(s=e.eq(i),!0),this._ensureVisible(s)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,s;n=(e=t.position().top)+t.height()+parseInt(t.css("margin-top"),10)+parseInt(t.css("margin-bottom"),10),i=this.$menu.scrollTop(),s=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),e<0?this.$menu.scrollTop(i+e):s<n&&this.$menu.scrollTop(i+(n-s))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:o.extractDatum(t),value:o.extractValue(t),datasetName:o.extractDatasetName(t)}),e},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(t){i.each(this.datasets,(function(e){e.update(t)}))},empty:function(){i.each(this.datasets,(function(t){t.clear()})),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,i.each(this.datasets,(function(t){t.destroy()}))}}),u.Dataset=o,t.exports=u},8142:function(t,e,n){"use strict";var i=n(4632),s=n(9446);function r(t){t&&t.el||i.error("EventBus initialized without el"),this.$el=s.element(t.el)}i.mixin(r.prototype,{trigger:function(t,e,n,s){var r=i.Event("autocomplete:"+t);return this.$el.trigger(r,[e,n,s]),r}}),t.exports=r},1649:function(t,e,n){"use strict";var i=n(5818),s=/\s+/;function r(t,e,n,i){var r;if(!n)return this;for(e=e.split(s),n=i?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};r=e.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][t].push(n);return this}function o(t,e,n){return function(){for(var i,s=0,r=t.length;!i&&s<r;s+=1)i=!1===t[s].apply(e,n);return!i}}t.exports={onSync:function(t,e,n){return r.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return r.call(this,"async",t,e,n)},off:function(t){var e;if(!this._callbacks)return this;t=t.split(s);for(;e=t.shift();)delete this._callbacks[e];return this},trigger:function(t){var e,n,r,a,u;if(!this._callbacks)return this;t=t.split(s),r=[].slice.call(arguments,1);for(;(e=t.shift())&&(n=this._callbacks[e]);)a=o(n.sync,this,[e].concat(r)),u=o(n.async,this,[e].concat(r)),a()&&i(u);return this}}},9928:function(t){"use strict";t.exports={wrapper:'<span class="%ROOT%"></span>',dropdown:'<span class="%PREFIX%%DROPDOWN_MENU%"></span>',dataset:'<div class="%PREFIX%%DATASET%-%CLASS%"></div>',suggestions:'<span class="%PREFIX%%SUGGESTIONS%"></span>',suggestion:'<div class="%PREFIX%%SUGGESTION%"></div>'}},3236:function(t,e,n){"use strict";var i;i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var s=n(4632),r=n(9446),o=n(1649);function a(t){var e,n,o,a,u,c=this;(t=t||{}).input||s.error("input is missing"),e=s.bind(this._onBlur,this),n=s.bind(this._onFocus,this),o=s.bind(this._onKeydown,this),a=s.bind(this._onInput,this),this.$hint=r.element(t.hint),this.$input=r.element(t.input).on("blur.aa",e).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=s.noop),s.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",(function(t){i[t.which||t.keyCode]||s.defer(s.bind(c._onInput,c,t))})):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,r.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}function u(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}a.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},s.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=i[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,s;switch(t){case"tab":i=this.getHint(),s=this.getInputValue(),n=i&&i!==s&&!u(e);break;case"up":case"down":n=!u(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;if("tab"===t)n=!u(e);else n=!0;return n},_checkInputValue:function(){var t,e,n,i,s;t=this.getInputValue(),i=t,s=this.query,n=!(!(e=a.normalizeQuery(i)===a.normalizeQuery(s))||!this.query)&&this.query.length!==t.length,this.query=t,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){void 0===t&&(t=this.query),this.$input.val(t),e?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(t){this.$input.attr("aria-activedescendant",t)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),""!==t&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,e,n;return t=this.$input.val().length,e=this.$input[0].selectionStart,s.isNumber(e)?e===t:!document.selection||((n=document.selection.createRange()).moveStart("character",-t),t===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),t.exports=a},9487:function(t,e,n){"use strict";var i="aaAttrs",s=n(4632),r=n(9446),o=n(8142),a=n(3236),u=n(4410),c=n(9928),l=n(3765);function h(t){var e,n;if((t=t||{}).input||s.error("missing input"),this.isActivated=!1,this.debug=!!t.debug,this.autoselect=!!t.autoselect,this.autoselectOnBlur=!!t.autoselectOnBlur,this.openOnFocus=!!t.openOnFocus,this.minLength=s.isNumber(t.minLength)?t.minLength:1,this.autoWidth=void 0===t.autoWidth||!!t.autoWidth,this.clearOnSelected=!!t.clearOnSelected,this.tabAutocomplete=void 0===t.tabAutocomplete||!!t.tabAutocomplete,t.hint=!!t.hint,t.hint&&t.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=t.css=s.mixin({},l,t.appendTo?l.appendTo:{}),this.cssClasses=t.cssClasses=s.mixin({},l.defaultClasses,t.cssClasses||{}),this.cssClasses.prefix=t.cssClasses.formattedPrefix=s.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=t.listboxId=[this.cssClasses.root,"listbox",s.getUniqueId()].join("-");var a=function(t){var e,n,o,a;e=r.element(t.input),n=r.element(c.wrapper.replace("%ROOT%",t.cssClasses.root)).css(t.css.wrapper),t.appendTo||"block"!==e.css("display")||"table"!==e.parent().css("display")||n.css("display","table-cell");var u=c.dropdown.replace("%PREFIX%",t.cssClasses.prefix).replace("%DROPDOWN_MENU%",t.cssClasses.dropdownMenu);o=r.element(u).css(t.css.dropdown).attr({role:"listbox",id:t.listboxId}),t.templates&&t.templates.dropdownMenu&&o.html(s.templatify(t.templates.dropdownMenu)());a=e.clone().css(t.css.hint).css(function(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}(e)),a.val("").addClass(s.className(t.cssClasses.prefix,t.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData();e.data(i,{"aria-autocomplete":e.attr("aria-autocomplete"),"aria-expanded":e.attr("aria-expanded"),"aria-owns":e.attr("aria-owns"),autocomplete:e.attr("autocomplete"),dir:e.attr("dir"),role:e.attr("role"),spellcheck:e.attr("spellcheck"),style:e.attr("style"),type:e.attr("type")}),e.addClass(s.className(t.cssClasses.prefix,t.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":t.datasets&&t.datasets[0]&&t.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":t.ariaLabel,"aria-owns":t.listboxId}).css(t.hint?t.css.input:t.css.inputWithNoHint);try{e.attr("dir")||e.attr("dir","auto")}catch(l){}return n=t.appendTo?n.appendTo(r.element(t.appendTo).eq(0)).eq(0):e.wrap(n).parent(),n.prepend(t.hint?a:null).append(o),{wrapper:n,input:e,hint:a,menu:o}}(t);this.$node=a.wrapper;var u=this.$input=a.input;e=a.menu,n=a.hint,t.dropdownMenuContainer&&r.element(t.dropdownMenuContainer).css("position","relative").append(e.css("top","0")),u.on("blur.aa",(function(t){var n=document.activeElement;s.isMsie()&&(e[0]===n||e[0].contains(n))&&(t.preventDefault(),t.stopImmediatePropagation(),s.defer((function(){u.focus()})))})),e.on("mousedown.aa",(function(t){t.preventDefault()})),this.eventBus=t.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:t.appendTo,wrapper:this.$node,menu:e,datasets:t.datasets,templates:t.templates,cssClasses:t.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(t),this._setLanguageDirection()}s.mixin(h.prototype,{_bindKeyboardShortcuts:function(t){if(t.keyboardShortcuts){var e=this.$input,n=[];s.each(t.keyboardShortcuts,(function(t){"string"==typeof t&&(t=t.toUpperCase().charCodeAt(0)),n.push(t)})),r.element(document).keydown((function(t){var i=t.target||t.srcElement,s=i.tagName;if(!i.isContentEditable&&"INPUT"!==s&&"SELECT"!==s&&"TEXTAREA"!==s){var r=t.which||t.keyCode;-1!==n.indexOf(r)&&(e.focus(),t.stopPropagation(),t.preventDefault())}}))}},_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(t,e){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(e&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var t=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",t.width+"px");var e=this.$node[0].getBoundingClientRect(),n=t.bottom-e.top;this.$node.css("top",n+"px");var i=t.left-e.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var t=this.input.getQuery();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var t,e;t=this.dropdown.getDatumForCursor(),e=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&t?this._select(t,n):this.autoselectOnBlur&&e?this._select(e,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var s={selectionMethod:"enterKey"};n?(this._select(n,s),e.preventDefault()):this.autoselect&&i&&(this._select(i,s),e.preventDefault())},_onTabKeyed:function(t,e){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),e.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t=this.input.getLanguageDirection();this.dir!==t&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,e,n,i,r;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(e=this.input.getInputValue(),n=a.normalizeQuery(e),i=s.escapeRegExChars(n),(r=new RegExp("^(?:"+i+")(.+$)","i").exec(t.value))?this.input.setHint(e+r[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,i,s;e=this.input.getHint(),n=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),e&&n!==e&&i&&((s=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(s.value),this.eventBus.trigger("autocompleted",s.raw,s.datasetName))},_select:function(t,e){void 0!==t.value&&this.input.setQuery(t.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(t.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",t.raw,t.datasetName,e).isDefaultPrevented()&&(this.dropdown.close(),s.defer(s.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var t=this.input.getInputValue();t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){t=s.toStr(t),this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(t,e){var n=t.find(s.className(e.prefix,e.input));s.each(n.data(i),(function(t,e){void 0===t?n.removeAttr(e):n.attr(e,t)})),n.detach().removeClass(s.className(e.prefix,e.input,!0)).insertAfter(t),n.removeData&&n.removeData(i);t.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=a,h.sources=n(3909),t.exports=h},9446:function(t){"use strict";t.exports={element:null}},5585:function(t){"use strict";t.exports=function(t){var e=t.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||t.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(e)return[e[1],e[2],e[3]]}},4632:function(t,e,n){"use strict";var i,s=n(4725),r=n(9446);function o(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(t){if(void 0===t&&(t=navigator.userAgent),/(msie|trident)/i.test(t)){var e=t.match(/(msie |rv:)(\d+(.\d+)?)/i);if(e)return e[2]}return!1},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(t){return"number"==typeof t},toStr:function(t){return null==t?"":t+""},cloneDeep:function(t){var e=this.mixin({},t),n=this;return this.each(e,(function(t,i){t&&(n.isArray(t)?e[i]=[].concat(t):n.isObject(t)&&(e[i]=n.cloneDeep(t)))})),e},error:function(t){throw new Error(t)},every:function(t,e){var n=!0;return t?(this.each(t,(function(i,s){n&&(n=e.call(null,i,s,t)&&n)})),!!n):n},any:function(t,e){var n=!1;return t?(this.each(t,(function(i,s){if(e.call(null,i,s,t))return n=!0,!1})),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(t){if(this.isFunction(t))return t;var e=r.element(t);return"SCRIPT"===e.prop("tagName")?function(){return e.text()}:function(){return String(t)}},defer:function(t){setTimeout(t,0)},noop:function(){},formatPrefix:function(t,e){return e?"":t+"-"},className:function(t,e,n){return n?t+e:"."+s(t+e,{isIdentifier:!0})},escapeHighlightedString:function(t,e,n){e=e||"<em>";var i=document.createElement("div");i.appendChild(document.createTextNode(e)),n=n||"</em>";var s=document.createElement("div");s.appendChild(document.createTextNode(n));var r=document.createElement("div");return r.appendChild(document.createTextNode(t)),r.innerHTML.replace(RegExp(o(i.innerHTML),"g"),e).replace(RegExp(o(s.innerHTML),"g"),n)}}},2701:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);var o,a,u=(o=[],a=window.Promise.resolve(),function(t,e){return function(n,s){(function(t,e){return window.Promise.resolve().then((function(){return o.length&&(a=t.search(o),o=[]),a})).then((function(t){if(t)return t.results[e]}))})(t.as,o.push({indexName:t.indexName,query:n,params:e})-1).then((function(t){t&&s(t.hits,t)})).catch((function(t){i.error(t.message)}))}});t.exports=function(t,e){var n=r(t.as._ua);if(n&&n[0]>=3&&n[1]>20){var i="autocomplete.js "+s;-1===t.as._ua.indexOf(i)&&(t.as._ua+="; "+i)}return u(t,e)}},3909:function(t,e,n){"use strict";t.exports={hits:n(2701),popularIn:n(3303)}},3303:function(t,e,n){"use strict";var i=n(4632),s=n(5900),r=n(5585);t.exports=function(t,e,n,o){var a=r(t.as._ua);if(a&&a[0]>=3&&a[1]>20&&((e=e||{}).additionalUA="autocomplete.js "+s),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(t){return t[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){t.search(a,e,(function(t,a){if(t)i.error(t.message);else{if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var f=r(c.as._ua);return f&&f[0]>=3&&f[1]>20&&(e.additionalUA="autocomplete.js "+s),void c.search(u(h),p,(function(t,e){if(t)i.error(t.message);else{var n=[];if(o.includeAll){var s=o.allTitle||"All departments";n.push(i.mixin({facet:{value:s,count:e.nbHits}},i.cloneDeep(h)))}i.each(e.facets,(function(t,e){i.each(t,(function(t,s){n.push(i.mixin({facet:{facet:e,value:s,count:t}},i.cloneDeep(h)))}))}));for(var r=1;r<a.hits.length;++r)n.push(a.hits[r]);l(n,a)}}))}l([])}}))}}},1251:function(t,e,n){"use strict";var i=n(9525);n(9446).element=i;var s=n(4632);s.isArray=i.isArray,s.isFunction=i.isFunction,s.isObject=i.isPlainObject,s.bind=i.proxy,s.each=function(t,e){i.each(t,(function(t,n){return e(n,t)}))},s.map=i.map,s.mixin=i.extend,s.Event=i.Event;var r="aaAutocomplete",o=n(9487),a=n(8142);function u(t,e,n,u){n=s.isArray(n)?n:[].slice.call(arguments,2);var c=i(t).each((function(t,s){var c=i(s),l=new a({el:c}),h=u||new o({input:c,eventBus:l,dropdownMenuContainer:e.dropdownMenuContainer,hint:void 0===e.hint||!!e.hint,minLength:e.minLength,autoselect:e.autoselect,autoselectOnBlur:e.autoselectOnBlur,tabAutocomplete:e.tabAutocomplete,openOnFocus:e.openOnFocus,templates:e.templates,debug:e.debug,clearOnSelected:e.clearOnSelected,cssClasses:e.cssClasses,datasets:n,keyboardShortcuts:e.keyboardShortcuts,appendTo:e.appendTo,autoWidth:e.autoWidth,ariaLabel:e.ariaLabel||s.getAttribute("aria-label")});c.data(r,h)}));return c.autocomplete={},s.each(["open","close","getVal","setVal","destroy","getWrapper"],(function(t){c.autocomplete[t]=function(){var e,n=arguments;return c.each((function(s,o){var a=i(o).data(r);e=a[t].apply(a,n)})),e}})),c}u.sources=o.sources,u.escapeHighlightedString=s.escapeHighlightedString;var c="autocomplete"in window,l=window.autocomplete;u.noConflict=function(){return c?window.autocomplete=l:delete window.autocomplete,u},t.exports=u},5900:function(t){t.exports="0.38.1"},9525:function(t){var e;e=window,t.exports=function(t){var e,n,i=function(){var e,n,i,s,r,o,a=[],u=a.concat,c=a.filter,l=a.slice,h=t.document,p={},f={},d={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,y=/^(?:body|html)$/i,w=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],C=["after","prepend","before","append"],x=h.createElement("table"),_=h.createElement("tr"),S={tr:h.createElement("tbody"),tbody:x,thead:x,tfoot:x,td:_,th:_,"*":h.createElement("div")},E=/complete|loaded|interactive/,A=/^[\w-]*$/,$={},T=$.toString,O={},D=h.createElement("div"),N={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},k=Array.isArray||function(t){return t instanceof Array};function I(t){return null==t?String(t):$[T.call(t)]||"object"}function P(t){return"function"==I(t)}function L(t){return null!=t&&t==t.window}function M(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function F(t){return"object"==I(t)}function R(t){return F(t)&&!L(t)&&Object.getPrototypeOf(t)==Object.prototype}function q(t){var e=!!t&&"length"in t&&t.length,n=i.type(t);return"function"!=n&&!L(t)&&("array"==n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function V(t){return c.call(t,(function(t){return null!=t}))}function H(t){return t.length>0?i.fn.concat.apply([],t):t}function B(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function K(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function j(t,e){return"number"!=typeof e||d[B(t)]?e:e+"px"}function z(t){var e,n;return p[t]||(e=h.createElement(t),h.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),p[t]=n),p[t]}function U(t){return"children"in t?l.call(t.children):i.map(t.childNodes,(function(t){if(1==t.nodeType)return t}))}function Q(t,e){var n,i=t?t.length:0;for(n=0;n<i;n++)this[n]=t[n];this.length=i,this.selector=e||""}function W(t,i,s){for(n in i)s&&(R(i[n])||k(i[n]))?(R(i[n])&&!R(t[n])&&(t[n]={}),k(i[n])&&!k(t[n])&&(t[n]=[]),W(t[n],i[n],s)):i[n]!==e&&(t[n]=i[n])}function Z(t,e){return null==e?i(t):i(t).filter(e)}function X(t,e,n,i){return P(e)?e.call(t,n,i):e}function G(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function J(t,n){var i=t.className||"",s=i&&i.baseVal!==e;if(n===e)return s?i.baseVal:i;s?i.baseVal=n:t.className=n}function Y(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?i.parseJSON(t):t):t}catch(e){return t}}function tt(t,e){e(t);for(var n=0,i=t.childNodes.length;n<i;n++)tt(t.childNodes[n],e)}return O.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,s=t.parentNode,r=!s;return r&&(s=D).appendChild(t),i=~O.qsa(s,e).indexOf(t),r&&D.removeChild(t),i},r=function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},o=function(t){return c.call(t,(function(e,n){return t.indexOf(e)==n}))},O.fragment=function(t,n,s){var r,o,a;return m.test(t)&&(r=i(h.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(v,"<$1></$2>")),n===e&&(n=g.test(t)&&RegExp.$1),n in S||(n="*"),(a=S[n]).innerHTML=""+t,r=i.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),R(s)&&(o=i(r),i.each(s,(function(t,e){b.indexOf(t)>-1?o[t](e):o.attr(t,e)}))),r},O.Z=function(t,e){return new Q(t,e)},O.isZ=function(t){return t instanceof O.Z},O.init=function(t,n){var s;if(!t)return O.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&g.test(t))s=O.fragment(t,RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}else{if(P(t))return i(h).ready(t);if(O.isZ(t))return t;if(k(t))s=V(t);else if(F(t))s=[t],t=null;else if(g.test(t))s=O.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==e)return i(n).find(t);s=O.qsa(h,t)}}return O.Z(s,t)},(i=function(t,e){return O.init(t,e)}).extend=function(t){var e,n=l.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach((function(n){W(t,n,e)})),t},O.qsa=function(t,e){var n,i="#"==e[0],s=!i&&"."==e[0],r=i||s?e.slice(1):e,o=A.test(r);return t.getElementById&&o&&i?(n=t.getElementById(r))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:l.call(o&&!i&&t.getElementsByClassName?s?t.getElementsByClassName(r):t.getElementsByTagName(e):t.querySelectorAll(e))},i.contains=h.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},i.type=I,i.isFunction=P,i.isWindow=L,i.isArray=k,i.isPlainObject=R,i.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},i.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},i.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},i.camelCase=r,i.trim=function(t){return null==t?"":String.prototype.trim.call(t)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(t,e){var n,i,s,r=[];if(q(t))for(i=0;i<t.length;i++)null!=(n=e(t[i],i))&&r.push(n);else for(s in t)null!=(n=e(t[s],s))&&r.push(n);return H(r)},i.each=function(t,e){var n,i;if(q(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},i.grep=function(t,e){return c.call(t,e)},t.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){$["[object "+e+"]"]=e.toLowerCase()})),i.fn={constructor:O.Z,length:0,forEach:a.forEach,reduce:a.reduce,push:a.push,sort:a.sort,splice:a.splice,indexOf:a.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=O.isZ(e)?e.toArray():e;return u.apply(O.isZ(this)?this.toArray():this,n)},map:function(t){return i(i.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return i(l.apply(this,arguments))},ready:function(t){return E.test(h.readyState)&&h.body?t(i):h.addEventListener("DOMContentLoaded",(function(){t(i)}),!1),this},get:function(t){return t===e?l.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(t){return a.every.call(this,(function(e,n){return!1!==t.call(e,n,e)})),this},filter:function(t){return P(t)?this.not(this.not(t)):i(c.call(this,(function(e){return O.matches(e,t)})))},add:function(t,e){return i(o(this.concat(i(t,e))))},is:function(t){return this.length>0&&O.matches(this[0],t)},not:function(t){var n=[];if(P(t)&&t.call!==e)this.each((function(e){t.call(this,e)||n.push(this)}));else{var s="string"==typeof t?this.filter(t):q(t)&&P(t.item)?l.call(t):i(t);this.forEach((function(t){s.indexOf(t)<0&&n.push(t)}))}return i(n)},has:function(t){return this.filter((function(){return F(t)?i.contains(this,t):i(this).find(t).size()}))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!F(t)?t:i(t)},last:function(){var t=this[this.length-1];return t&&!F(t)?t:i(t)},find:function(t){var e=this;return t?"object"==typeof t?i(t).filter((function(){var t=this;return a.some.call(e,(function(e){return i.contains(e,t)}))})):1==this.length?i(O.qsa(this[0],t)):this.map((function(){return O.qsa(this,t)})):i()},closest:function(t,e){var n=[],s="object"==typeof t&&i(t);return this.each((function(i,r){for(;r&&!(s?s.indexOf(r)>=0:O.matches(r,t));)r=r!==e&&!M(r)&&r.parentNode;r&&n.indexOf(r)<0&&n.push(r)})),i(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=i.map(n,(function(t){if((t=t.parentNode)&&!M(t)&&e.indexOf(t)<0)return e.push(t),t}));return Z(e,t)},parent:function(t){return Z(o(this.pluck("parentNode")),t)},children:function(t){return Z(this.map((function(){return U(this)})),t)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(t){return Z(this.map((function(t,e){return c.call(U(e.parentNode),(function(t){return t!==e}))})),t)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(t){return i.map(this,(function(e){return e[t]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=z(this.nodeName))}))},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=P(t);if(this[0]&&!e)var n=i(t).get(0),s=n.parentNode||this.length>1;return this.each((function(r){i(this).wrapAll(e?t.call(this,r):s?n.cloneNode(!0):n)}))},wrapAll:function(t){if(this[0]){var e;for(i(this[0]).before(t=i(t));(e=t.children()).length;)t=e.first();i(t).append(this)}return this},wrapInner:function(t){var e=P(t);return this.each((function(n){var s=i(this),r=s.contents(),o=e?t.call(this,n):t;r.length?r.wrapAll(o):s.append(o)}))},unwrap:function(){return this.parent().each((function(){i(this).replaceWith(i(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(t){return this.each((function(){var n=i(this);(t===e?"none"==n.css("display"):t)?n.show():n.hide()}))},prev:function(t){return i(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return i(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each((function(e){var n=this.innerHTML;i(this).empty().append(X(this,t,e,n))})):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each((function(e){var n=X(this,t,e,this.textContent);this.textContent=null==n?"":""+n})):0 in this?this.pluck("textContent").join(""):null},attr:function(t,i){var s;return"string"!=typeof t||1 in arguments?this.each((function(e){if(1===this.nodeType)if(F(t))for(n in t)G(this,n,t[n]);else G(this,t,X(this,i,e,this.getAttribute(t)))})):0 in this&&1==this[0].nodeType&&null!=(s=this[0].getAttribute(t))?s:e},removeAttr:function(t){return this.each((function(){1===this.nodeType&&t.split(" ").forEach((function(t){G(this,t)}),this)}))},prop:function(t,e){return t=N[t]||t,1 in arguments?this.each((function(n){this[t]=X(this,e,n,this[t])})):this[0]&&this[0][t]},removeProp:function(t){return t=N[t]||t,this.each((function(){delete this[t]}))},data:function(t,n){var i="data-"+t.replace(w,"-$1").toLowerCase(),s=1 in arguments?this.attr(i,n):this.attr(i);return null!==s?Y(s):e},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each((function(e){this.value=X(this,t,e,this.value)}))):this[0]&&(this[0].multiple?i(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(t){var n=i(this),s=X(this,e,t,n.offset()),r=n.offsetParent().offset(),o={top:s.top-r.top,left:s.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)}));if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+t.pageXOffset,top:n.top+t.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(t,e){if(arguments.length<2){var s=this[0];if("string"==typeof t){if(!s)return;return s.style[r(t)]||getComputedStyle(s,"").getPropertyValue(t)}if(k(t)){if(!s)return;var o={},a=getComputedStyle(s,"");return i.each(t,(function(t,e){o[e]=s.style[r(e)]||a.getPropertyValue(e)})),o}}var u="";if("string"==I(t))e||0===e?u=B(t)+":"+j(t,e):this.each((function(){this.style.removeProperty(B(t))}));else for(n in t)t[n]||0===t[n]?u+=B(n)+":"+j(n,t[n])+";":this.each((function(){this.style.removeProperty(B(n))}));return this.each((function(){this.style.cssText+=";"+u}))},index:function(t){return t?this.indexOf(i(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&a.some.call(this,(function(t){return this.test(J(t))}),K(t))},addClass:function(t){return t?this.each((function(e){if("className"in this){s=[];var n=J(this);X(this,t,e,n).split(/\s+/g).forEach((function(t){i(this).hasClass(t)||s.push(t)}),this),s.length&&J(this,n+(n?" ":"")+s.join(" "))}})):this},removeClass:function(t){return this.each((function(n){if("className"in this){if(t===e)return J(this,"");s=J(this),X(this,t,n,s).split(/\s+/g).forEach((function(t){s=s.replace(K(t)," ")})),J(this,s.trim())}}))},toggleClass:function(t,n){return t?this.each((function(s){var r=i(this);X(this,t,s,J(this)).split(/\s+/g).forEach((function(t){(n===e?!r.hasClass(t):n)?r.addClass(t):r.removeClass(t)}))})):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),s=y.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(i(t).css("margin-top"))||0,n.left-=parseFloat(i(t).css("margin-left"))||0,s.top+=parseFloat(i(e[0]).css("border-top-width"))||0,s.left+=parseFloat(i(e[0]).css("border-left-width"))||0,{top:n.top-s.top,left:n.left-s.left}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||h.body;t&&!y.test(t.nodeName)&&"static"==i(t).css("position");)t=t.offsetParent;return t}))}},i.fn.detach=i.fn.remove,["width","height"].forEach((function(t){var n=t.replace(/./,(function(t){return t[0].toUpperCase()}));i.fn[t]=function(s){var r,o=this[0];return s===e?L(o)?o["inner"+n]:M(o)?o.documentElement["scroll"+n]:(r=this.offset())&&r[t]:this.each((function(e){(o=i(this)).css(t,X(this,s,e,o[t]()))}))}})),C.forEach((function(n,s){var r=s%2;i.fn[n]=function(){var n,o,a=i.map(arguments,(function(t){var s=[];return"array"==(n=I(t))?(t.forEach((function(t){return t.nodeType!==e?s.push(t):i.zepto.isZ(t)?s=s.concat(t.get()):void(s=s.concat(O.fragment(t)))})),s):"object"==n||null==t?t:O.fragment(t)})),u=this.length>1;return a.length<1?this:this.each((function(e,n){o=r?n:n.parentNode,n=0==s?n.nextSibling:1==s?n.firstChild:2==s?n:null;var c=i.contains(h.documentElement,o);a.forEach((function(e){if(u)e=e.cloneNode(!0);else if(!o)return i(e).remove();o.insertBefore(e,n),c&&tt(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var n=e.ownerDocument?e.ownerDocument.defaultView:t;n.eval.call(n,e.innerHTML)}}))}))}))},i.fn[r?n+"To":"insert"+(s?"Before":"After")]=function(t){return i(t)[n](this),this}})),O.Z.prototype=Q.prototype=i.fn,O.uniq=o,O.deserializeValue=Y,i.zepto=O,i}();return function(e){var n,i=1,s=Array.prototype.slice,r=e.isFunction,o=function(t){return"string"==typeof t},a={},u={},c="onfocusin"in t,l={focus:"focusin",blur:"focusout"},h={mouseenter:"mouseover",mouseleave:"mouseout"};function p(t){return t._zid||(t._zid=i++)}function f(t,e,n,i){if((e=d(e)).ns)var s=g(e.ns);return(a[p(t)]||[]).filter((function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||s.test(t.ns))&&(!n||p(t.fn)===p(n))&&(!i||t.sel==i)}))}function d(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function g(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function m(t,e){return t.del&&!c&&t.e in l||!!e}function v(t){return h[t]||c&&l[t]||t}function y(t,i,s,r,o,u,c){var l=p(t),f=a[l]||(a[l]=[]);i.split(/\s/).forEach((function(i){if("ready"==i)return e(document).ready(s);var a=d(i);a.fn=s,a.sel=o,a.e in h&&(s=function(t){var n=t.relatedTarget;if(!n||n!==this&&!e.contains(this,n))return a.fn.apply(this,arguments)}),a.del=u;var l=u||s;a.proxy=function(e){if(!(e=S(e)).isImmediatePropagationStopped()){try{var i=Object.getOwnPropertyDescriptor(e,"data");i&&!i.writable||(e.data=r)}catch(e){}var s=l.apply(t,e._args==n?[e]:[e].concat(e._args));return!1===s&&(e.preventDefault(),e.stopPropagation()),s}},a.i=f.length,f.push(a),"addEventListener"in t&&t.addEventListener(v(a.e),a.proxy,m(a,c))}))}function w(t,e,n,i,s){var r=p(t);(e||"").split(/\s/).forEach((function(e){f(t,e,n,i).forEach((function(e){delete a[r][e.i],"removeEventListener"in t&&t.removeEventListener(v(e.e),e.proxy,m(e,s))}))}))}u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",e.event={add:y,remove:w},e.proxy=function(t,n){var i=2 in arguments&&s.call(arguments,2);if(r(t)){var a=function(){return t.apply(n,i?i.concat(s.call(arguments)):arguments)};return a._zid=p(t),a}if(o(n))return i?(i.unshift(t[n],t),e.proxy.apply(null,i)):e.proxy(t[n],t);throw new TypeError("expected function")},e.fn.bind=function(t,e,n){return this.on(t,e,n)},e.fn.unbind=function(t,e){return this.off(t,e)},e.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var b=function(){return!0},C=function(){return!1},x=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,_={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function S(t,i){if(i||!t.isDefaultPrevented){i||(i=t),e.each(_,(function(e,n){var s=i[e];t[e]=function(){return this[n]=b,s&&s.apply(i,arguments)},t[n]=C}));try{t.timeStamp||(t.timeStamp=Date.now())}catch(s){}(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(t.isDefaultPrevented=b)}return t}function E(t){var e,i={originalEvent:t};for(e in t)x.test(e)||t[e]===n||(i[e]=t[e]);return S(i,t)}e.fn.delegate=function(t,e,n){return this.on(e,t,n)},e.fn.undelegate=function(t,e,n){return this.off(e,t,n)},e.fn.live=function(t,n){return e(document.body).delegate(this.selector,t,n),this},e.fn.die=function(t,n){return e(document.body).undelegate(this.selector,t,n),this},e.fn.on=function(t,i,a,u,c){var l,h,p=this;return t&&!o(t)?(e.each(t,(function(t,e){p.on(t,i,a,e,c)})),p):(o(i)||r(u)||!1===u||(u=a,a=i,i=n),u!==n&&!1!==a||(u=a,a=n),!1===u&&(u=C),p.each((function(n,r){c&&(l=function(t){return w(r,t.type,u),u.apply(this,arguments)}),i&&(h=function(t){var n,o=e(t.target).closest(i,r).get(0);if(o&&o!==r)return n=e.extend(E(t),{currentTarget:o,liveFired:r}),(l||u).apply(o,[n].concat(s.call(arguments,1)))}),y(r,t,u,a,i,h||l)})))},e.fn.off=function(t,i,s){var a=this;return t&&!o(t)?(e.each(t,(function(t,e){a.off(t,i,e)})),a):(o(i)||r(s)||!1===s||(s=i,i=n),!1===s&&(s=C),a.each((function(){w(this,t,s,i)})))},e.fn.trigger=function(t,n){return(t=o(t)||e.isPlainObject(t)?e.Event(t):S(t))._args=n,this.each((function(){t.type in l&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,n)}))},e.fn.triggerHandler=function(t,n){var i,s;return this.each((function(r,a){(i=E(o(t)?e.Event(t):t))._args=n,i.target=a,e.each(f(a,t.type||t),(function(t,e){if(s=e.proxy(i),i.isImmediatePropagationStopped())return!1}))})),s},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(t,e){o(t)||(t=(e=t).type);var n=document.createEvent(u[t]||"Events"),i=!0;if(e)for(var s in e)"bubbles"==s?i=!!e[s]:n[s]=e[s];return n.initEvent(t,i,!0),S(n)}}(i),n=[],i.fn.remove=function(){return this.each((function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout((function(){n=[]}),6e4)),this.parentNode.removeChild(this))}))},function(t){var e={},n=t.fn.data,i=t.camelCase,s=t.expando="Zepto"+ +new Date,r=[];function o(r,o){var u=r[s],c=u&&e[u];if(void 0===o)return c||a(r);if(c){if(o in c)return c[o];var l=i(o);if(l in c)return c[l]}return n.call(t(r),o)}function a(n,r,o){var a=n[s]||(n[s]=++t.uuid),c=e[a]||(e[a]=u(n));return void 0!==r&&(c[i(r)]=o),c}function u(e){var n={};return t.each(e.attributes||r,(function(e,s){0==s.name.indexOf("data-")&&(n[i(s.name.replace("data-",""))]=t.zepto.deserializeValue(s.value))})),n}t.fn.data=function(e,n){return void 0===n?t.isPlainObject(e)?this.each((function(n,i){t.each(e,(function(t,e){a(i,t,e)}))})):0 in this?o(this[0],e):void 0:this.each((function(){a(this,e,n)}))},t.data=function(e,n,i){return t(e).data(n,i)},t.hasData=function(n){var i=n[s],r=i&&e[i];return!!r&&!t.isEmptyObject(r)},t.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each((function(){var r=this[s],o=r&&e[r];o&&t.each(n||o,(function(t){delete o[n?i(this):t]}))}))},["remove","empty"].forEach((function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}}))}(i),i}(e)},4725:function(t){"use strict";var e={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,r=function t(r,o){"single"!=(o=function(t,n){if(!t)return n;var i={};for(var s in n)i[s]=e.call(t,s)?t[s]:n[s];return i}(o,t.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var a="double"==o.quotes?'"':"'",u=o.isIdentifier,c=r.charAt(0),l="",h=0,p=r.length;h<p;){var f=r.charAt(h++),d=f.charCodeAt(),g=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&h<p){var m=r.charCodeAt(h++);56320==(64512&m)?d=((1023&d)<<10)+(1023&m)+65536:h--}g="\\"+d.toString(16).toUpperCase()+" "}else g=o.escapeEverything?n.test(f)?"\\"+f:"\\"+d.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?"\\"+d.toString(16).toUpperCase()+" ":"\\"==f||!u&&('"'==f&&a==f||"'"==f&&a==f)||u&&i.test(f)?"\\"+f:f;l+=g}return u&&(/^-[-\d]/.test(l)?l="\\-"+l.slice(1):/\d/.test(c)&&(l="\\3"+c+" "+l.slice(1))),l=l.replace(s,(function(t,e,n){return e&&e.length%2?t:(e||"")+n})),!u&&o.wrap?a+l+a:l};r.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},r.version="3.0.0",t.exports=r},5818:function(t,e,n){"use strict";var i,s,r,o=[n(8133),n(2063),n(2232),n(6197),n(8578),n(1297)],a=-1,u=[],c=!1;function l(){i&&s&&(i=!1,s.length?u=s.concat(u):a=-1,u.length&&h())}function h(){if(!i){c=!1,i=!0;for(var t=u.length,e=setTimeout(l);t;){for(s=u,u=[];s&&++a<t;)s[a].run();a=-1,t=u.length}s=null,a=-1,i=!1,clearTimeout(e)}}for(var p=-1,f=o.length;++p<f;)if(o[p]&&o[p].test&&o[p].test()){r=o[p].install(h);break}function d(t,e){this.fun=t,this.array=e}d.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),c||i||(c=!0,r())}},6197:function(t,e,n){"use strict";e.test=function(){return!n.g.setImmediate&&void 0!==n.g.MessageChannel},e.install=function(t){var e=new n.g.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}},2232:function(t,e,n){"use strict";var i=n.g.MutationObserver||n.g.WebKitMutationObserver;e.test=function(){return i},e.install=function(t){var e=0,s=new i(t),r=n.g.document.createTextNode("");return s.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}},2063:function(t,e,n){"use strict";e.test=function(){return"function"==typeof n.g.queueMicrotask},e.install=function(t){return function(){n.g.queueMicrotask(t)}}},8578:function(t,e,n){"use strict";e.test=function(){return"document"in n.g&&"onreadystatechange"in n.g.document.createElement("script")},e.install=function(t){return function(){var e=n.g.document.createElement("script");return e.onreadystatechange=function(){t(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},n.g.document.documentElement.appendChild(e),t}}},1297:function(t,e){"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/5920.83d9a30f.js.LICENSE.txt b/zh-TW/assets/js/5920.83d9a30f.js.LICENSE.txt new file mode 100644 index 00000000..4f7ccd8a --- /dev/null +++ b/zh-TW/assets/js/5920.83d9a30f.js.LICENSE.txt @@ -0,0 +1 @@ +/*! https://mths.be/cssesc v3.0.0 by @mathias */ diff --git a/zh-TW/assets/js/5c868d36.14675a5f.js b/zh-TW/assets/js/5c868d36.14675a5f.js new file mode 100644 index 00000000..27e88f6a --- /dev/null +++ b/zh-TW/assets/js/5c868d36.14675a5f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5589],{3408:function(e,a,t){t.r(a),t.d(a,{assets:function(){return i},contentTitle:function(){return c},default:function(){return u},frontMatter:function(){return s},metadata:function(){return o},toc:function(){return l}});var r=t(966),n=t(1015);const s={sidebar_position:1},c="Create a Page",o={id:"tutorial-basics/create-a-page",title:"Create a Page",description:"Add Markdown or React files to src/pages to create a standalone page:",source:"@site/docs/tutorial-basics/create-a-page.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/create-a-page",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/create-a-page.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Basics",permalink:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics"},next:{title:"Create a Document",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document"}},i={},l=[{value:"Create your first React Page",id:"create-your-first-react-page",level:2},{value:"Create your first Markdown Page",id:"create-your-first-markdown-page",level:2}];function d(e){const a={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h1,{id:"create-a-page",children:"Create a Page"}),"\n",(0,r.jsxs)(a.p,{children:["Add ",(0,r.jsx)(a.strong,{children:"Markdown or React"})," files to ",(0,r.jsx)(a.code,{children:"src/pages"})," to create a ",(0,r.jsx)(a.strong,{children:"standalone page"}),":"]}),"\n",(0,r.jsxs)(a.ul,{children:["\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/index.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo.md"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo"})]}),"\n",(0,r.jsxs)(a.li,{children:[(0,r.jsx)(a.code,{children:"src/pages/foo/bar.js"})," -> ",(0,r.jsx)(a.code,{children:"localhost:3000/foo/bar"})]}),"\n"]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-react-page",children:"Create your first React Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-react-page.js"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-jsx",metastring:'title="src/pages/my-react-page.js"',children:"import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n <Layout>\n <h1>My React page</h1>\n <p>This is a React page</p>\n </Layout>\n );\n}\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-react-page"}),"."]}),"\n",(0,r.jsx)(a.h2,{id:"create-your-first-markdown-page",children:"Create your first Markdown Page"}),"\n",(0,r.jsxs)(a.p,{children:["Create a file at ",(0,r.jsx)(a.code,{children:"src/pages/my-markdown-page.md"}),":"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{className:"language-mdx",metastring:'title="src/pages/my-markdown-page.md"',children:"# My Markdown page\n\nThis is a Markdown page\n"})}),"\n",(0,r.jsxs)(a.p,{children:["A new page is now available at ",(0,r.jsx)(a.code,{children:"http://localhost:3000/my-markdown-page"}),"."]})]})}function u(e={}){const{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,r.jsx)(a,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1015:function(e,a,t){t.d(a,{Z:function(){return o},a:function(){return c}});var r=t(3900);const n={},s=r.createContext(n);function c(e){const a=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(a):{...a,...e}}),[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(s.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/5e2d61df.ac595ad2.js b/zh-TW/assets/js/5e2d61df.ac595ad2.js new file mode 100644 index 00000000..560d255c --- /dev/null +++ b/zh-TW/assets/js/5e2d61df.ac595ad2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[139],{3691:function(t){t.exports=JSON.parse('{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/docusaurus-search-local/zh-TW/docs/next/intro"},"next":{"title":"Create a Page","permalink":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page"}}}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/5e95c892.18f37c2a.js b/zh-TW/assets/js/5e95c892.18f37c2a.js new file mode 100644 index 00000000..5314f03d --- /dev/null +++ b/zh-TW/assets/js/5e95c892.18f37c2a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9661],{1013:function(e,s,r){r.r(s),r.d(s,{default:function(){return f}});r(3900);var n=r(7515),t=r(4181),u=r(8512),c=r(4518),a=r(2786),i=r(966);function f(e){return(0,i.jsx)(t.FG,{className:(0,n.Z)(u.k.wrapper.docsPages),children:(0,i.jsx)(a.Z,{children:(0,c.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/61b4d5cb.7a207462.js b/zh-TW/assets/js/61b4d5cb.7a207462.js new file mode 100644 index 00000000..acc41417 --- /dev/null +++ b/zh-TW/assets/js/61b4d5cb.7a207462.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2652],{455:function(s){s.exports=JSON.parse('{"label":"Test","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/test","allTagsPath":"/docusaurus-search-local/zh-TW/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-TW/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/62e81aa6.dd604245.js b/zh-TW/assets/js/62e81aa6.dd604245.js new file mode 100644 index 00000000..cb0b3822 --- /dev/null +++ b/zh-TW/assets/js/62e81aa6.dd604245.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5329],{4421:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"1.0.0","label":"1.0.0","banner":null,"badge":true,"noIndex":false,"className":"docs-version-1.0.0","isLast":true,"docsSidebars":{"someSidebar":[{"type":"category","label":"Docusaurus","items":[{"type":"link","label":"Style Guide","href":"/docusaurus-search-local/zh-TW/docs/","docId":"doc1","unlisted":false},{"type":"link","label":"Document Number 2","href":"/docusaurus-search-local/zh-TW/docs/doc2","docId":"doc2","unlisted":false},{"type":"link","label":"This is Document Number 3","href":"/docusaurus-search-local/zh-TW/docs/doc3","docId":"doc3","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Features","items":[{"type":"link","label":"Powered by MDX","href":"/docusaurus-search-local/zh-TW/docs/mdx","docId":"mdx","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"doc-in-pt":{"id":"doc-in-pt","title":"A Document in Portuguese","description":"A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas\\""},"doc1":{"id":"doc1","title":"Style Guide","description":"You can write content using GitHub-flavored Markdown syntax.","sidebar":"someSidebar"},"doc2":{"id":"doc2","title":"Document Number 2","description":"This is a link to another document. This is a link to an external page.","sidebar":"someSidebar"},"doc3":{"id":"doc3","title":"This is Document Number 3","description":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","sidebar":"someSidebar"},"mdx":{"id":"mdx","title":"Powered by MDX","description":"You can write JSX and use React components within your Markdown thanks to MDX.","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/66664d5e.782ec853.js b/zh-TW/assets/js/66664d5e.782ec853.js new file mode 100644 index 00000000..92f014d3 --- /dev/null +++ b/zh-TW/assets/js/66664d5e.782ec853.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2353],{6108:function(a){a.exports=JSON.parse('{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras","navigation":{"previous":{"title":"Congratulations!","permalink":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions"}}}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/6875c492.45c8fa40.js b/zh-TW/assets/js/6875c492.45c8fa40.js new file mode 100644 index 00000000..7d690c43 --- /dev/null +++ b/zh-TW/assets/js/6875c492.45c8fa40.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8610],{6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(1207),a=n(1554),i=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,i.jsxs)("nav",{className:"pagination-nav","aria-label":(0,s.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,i.jsx)(a.Z,{permalink:n,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,i.jsx)(a.Z,{permalink:r,title:(0,i.jsx)(s.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var s=n(7138),a=n(87),i=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,i.jsx)(i.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,i.jsx)(s.n,{content:t,children:(0,i.jsx)(n,{children:(0,i.jsx)(t,{})})},t.metadata.permalink)}))})}},9829:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});n(3900);var s=n(7515),a=n(1207),i=n(960),r=n(4181),l=n(8512),o=n(3707),c=n(1809),u=n(6357),g=n(3806),d=n(2264),h=n(9843),p=n(4974),m=n(966);function x(e){const t=function(){const{selectMessage:e}=(0,i.c)();return t=>e(t,(0,a.I)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,a.I)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function j(e){let{tag:t}=e;const n=x(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(r.d,{title:n}),(0,m.jsx)(g.Z,{tag:"blog_tags_posts"})]})}function b(e){let{tag:t,items:n,sidebar:s,listMetadata:i}=e;const r=x(t);return(0,m.jsxs)(c.Z,{sidebar:s,children:[t.unlisted&&(0,m.jsx)(h.Z,{}),(0,m.jsxs)("header",{className:"margin-bottom--xl",children:[(0,m.jsx)(p.Z,{as:"h1",children:r}),(0,m.jsx)(o.Z,{href:t.allTagsPath,children:(0,m.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,m.jsx)(d.Z,{items:n}),(0,m.jsx)(u.Z,{metadata:i})]})}function f(e){return(0,m.jsxs)(r.FG,{className:(0,s.Z)(l.k.wrapper.blogPages,l.k.page.blogTagPostListPage),children:[(0,m.jsx)(j,{...e}),(0,m.jsx)(b,{...e})]})}},9843:function(e,t,n){n.d(t,{Z:function(){return h}});n(3900);var s=n(7515),a=n(1207),i=n(743),r=n(966);function l(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function o(){return(0,r.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,r.jsx)(i.Z,{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var u=n(8512),g=n(5085);function d(e){let{className:t}=e;return(0,r.jsx)(g.Z,{type:"caution",title:(0,r.jsx)(l,{}),className:(0,s.Z)(t,u.k.common.unlistedBanner),children:(0,r.jsx)(o,{})})}function h(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{}),(0,r.jsx)(d,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/6b3775fa.8589a71f.js b/zh-TW/assets/js/6b3775fa.8589a71f.js new file mode 100644 index 00000000..3f19aeb8 --- /dev/null +++ b/zh-TW/assets/js/6b3775fa.8589a71f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4484],{3769:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/7024.b093103e.js b/zh-TW/assets/js/7024.b093103e.js new file mode 100644 index 00000000..96cda135 --- /dev/null +++ b/zh-TW/assets/js/7024.b093103e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7024],{8724:function(e,t,n){n.d(t,{Z:function(){return a}});n(3900);var i=n(7515),o=n(1207),s=n(4974),r=n(966);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},7024:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});n(3900);var i=n(1207),o=n(4181),s=n(2786),r=n(8724),a=n(966);function c(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/76dd5930.6bcb224d.js b/zh-TW/assets/js/76dd5930.6bcb224d.js new file mode 100644 index 00000000..02186406 --- /dev/null +++ b/zh-TW/assets/js/76dd5930.6bcb224d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[719],{4347:function(s){s.exports=JSON.parse('{"label":"Keywords","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/keywords","allTagsPath":"/docusaurus-search-local/zh-TW/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-TW/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/7acd0c93.9a73f146.js b/zh-TW/assets/js/7acd0c93.9a73f146.js new file mode 100644 index 00000000..f81f8235 --- /dev/null +++ b/zh-TW/assets/js/7acd0c93.9a73f146.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3125],{5745:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/807d5d2d.04a46b82.js b/zh-TW/assets/js/807d5d2d.04a46b82.js new file mode 100644 index 00000000..d703f092 --- /dev/null +++ b/zh-TW/assets/js/807d5d2d.04a46b82.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1528],{5220:function(n,e,s){s.r(e),s.d(e,{assets:function(){return d},contentTitle:function(){return l},default:function(){return h},frontMatter:function(){return r},metadata:function(){return c},toc:function(){return o}});var t=s(966),i=s(1015);const r={slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},l=void 0,c={permalink:"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-06-15-writing-good-unit-tests.md",source:"@site/blog/2019-06-15-writing-good-unit-tests.md",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",description:"\u672c\u6587\u8f6c\u8f7d\u81ea https://wangshenwei.com/writing-good-unit-tests/ \u3002",date:"2019-06-15T00:00:00.000Z",formattedDate:"2019\u5e746\u670815\u65e5",tags:[],readingTime:7.49,hasTruncateMarker:!1,authors:[{name:"Wang Shenwei",url:"https://github.com/weareoutman",imageURL:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"}],frontMatter:{slug:"writing-good-unit-tests",title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",author:"Wang Shenwei",author_url:"https://github.com/weareoutman",author_image_url:"https://avatars2.githubusercontent.com/u/2338946?s=460&v=4"},unlisted:!1,nextItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-TW/blog/welcome"}},d={authorsImageUrls:[void 0]},o=[{value:"\u57fa\u672c\u65b9\u6cd5",id:"\u57fa\u672c\u65b9\u6cd5",level:2},{value:"\u8f93\u5165",id:"\u8f93\u5165",level:2},{value:"\u8f93\u51fa",id:"\u8f93\u51fa",level:2},{value:"\u91cd\u6784\u4e0e\u62c6\u5206",id:"\u91cd\u6784\u4e0e\u62c6\u5206",level:2},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:2}];function a(n){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",em:"em",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.admonition,{type:"note",children:(0,t.jsxs)(e.p,{children:["\u672c\u6587\u8f6c\u8f7d\u81ea ",(0,t.jsx)(e.a,{href:"https://wangshenwei.com/writing-good-unit-tests/",children:"https://wangshenwei.com/writing-good-unit-tests/"})," \u3002"]})}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsx)(e.p,{children:"\u201c\u4e07\u7269\u4e4b\u59cb\uff0c\u5927\u9053\u81f3\u7b80\u201d"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u672c\u6587\u5c1d\u8bd5\u4ece\u7b80\u5355\u7684\u5355\u5143\u6d4b\u8bd5\u601d\u60f3\u7740\u624b\uff0c\u63a2\u8ba8\u5982\u4f55\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u5c06\u4e3b\u8981\u57fa\u4e8e ",(0,t.jsx)(e.a,{href:"https://www.typescriptlang.org/",children:"TypeScript"}),", ",(0,t.jsx)(e.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,t.jsx)(e.a,{href:"https://reactjs.org/",children:"React"}),", ",(0,t.jsx)(e.a,{href:"https://airbnb.io/enzyme/",children:"Enzyme"})," \u7ed9\u51fa\u793a\u4f8b\u3002\u5173\u4e8e\u5355\u5143\u6d4b\u8bd5\u7684",(0,t.jsx)(e.a,{href:"https://zh.wikipedia.org/wiki/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95",children:"\u57fa\u672c\u6982\u5ff5\u548c\u91cd\u8981\u6027"}),"\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u57fa\u672c\u65b9\u6cd5",children:"\u57fa\u672c\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u57fa\u672c\u65b9\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\n",(0,t.jsx)(e.li,{children:"\u8fd0\u884c"}),"\n",(0,t.jsx)(e.li,{children:"\u65ad\u8a00\u8f93\u51fa"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u800c\u4e00\u4e2a\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u7684\u8981\u6c42\u4e5f\u5f88\u7b80\u5355\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8986\u76d6\u8db3\u591f\u7684\u8f93\u5165\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8fdb\u884c\u5145\u5206\u7684\u8f93\u51fa\u65ad\u8a00"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `add.ts`\nfunction add(a: number, b: number): number {\n return a + b;\n}\n"})}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `add.spec.ts`\ntest("add(1, 2) should return 3", () => {\n expect(add(1, 2)).toBe(3);\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["\u7ed9\u5b9a\u8f93\u5165\uff1a",(0,t.jsx)(e.code,{children:"1"}),", ",(0,t.jsx)(e.code,{children:"2"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u8fd0\u884c\uff1a ",(0,t.jsx)(e.code,{children:"add(...)"})]}),"\n",(0,t.jsxs)(e.li,{children:["\u65ad\u8a00\u8f93\u51fa\uff1a",(0,t.jsx)(e.code,{children:"expect(...).toBe(3)"})]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u662f\u4e0d\u662f\u5f88\u7b80\u5355\uff1f\u5f53\u7136\uff0c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u6211\u4eec\u8981\u6d4b\u8bd5\u7684\u5355\u5143\u8fdc\u6bd4\u4e0a\u8ff0\u4f8b\u5b50\u590d\u6742\u5f97\u591a\u3002"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8f93\u5165\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u5165\u53c2\u6570\uff0c\u8fd8\u53ef\u80fd\u6709\u5916\u90e8\u7684\u4e8b\u4ef6\uff0c\u56e0\u6b64\u96be\u4ee5\u8986\u76d6\u6240\u6709\u573a\u666f"}),"\n",(0,t.jsx)(e.li,{children:"\u8f93\u51fa\u66f4\u52a0\u590d\u6742\uff0c\u9664\u4e86\u666e\u901a\u7684\u51fd\u6570\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd8\u53ef\u80fd\u6709\u5bf9\u5916\u90e8\u7684\u526f\u4f5c\u7528\uff0c\u56e0\u6b64\u96be\u4ee5\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c"}),"\n"]}),"\n",(0,t.jsxs)(e.blockquote,{children:["\n",(0,t.jsxs)(e.p,{children:["\u8fd9\u91cc\u63d0\u5230\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u5165"}),"\u3001",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u4e0d\u518d\u662f\u72ed\u4e49\u4e0a\u7684\u51fd\u6570\u8f93\u5165\u3001\u8f93\u51fa\u3002\u6211\u4eec\u5c06\u6240\u6709\u53ef\u80fd\u5f71\u54cd\u6d4b\u8bd5\u5bf9\u8c61\u884c\u4e3a\u7684\u5916\u90e8\u56e0\u7d20\u90fd\u79f0\u4e4b\u4e3a\u8f93\u5165\uff0c\u5c06\u6240\u6709\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u90e8\u9020\u6210\u7684\u5f71\u54cd\u90fd\u79f0\u4e4b\u4e3a\u8f93\u51fa\u3002\u8fd9\u6837\u7406\u89e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5316\u7e41\u4e3a\u7b80\uff0c\u5c06\u6d4b\u8bd5\u8fc7\u7a0b\u56de\u5f52\u5230\u524d\u9762\u63d0\u5230\u7684\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e0a\u3002"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u6240\u4ee5\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u9996\u5148\u8981\u505a\u7684\u5c31\u662f\u5398\u6e05\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa\uff0c\u638c\u63e1\u8986\u76d6\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u5165\u3001\u65ad\u8a00\u4e0d\u540c\u5f62\u5f0f\u7684\u8f93\u51fa\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u5c06\u5206\u5f00\u8ba8\u8bba\u5b83\u4eec\u3002"}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u5165",children:"\u8f93\u5165"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u5165\u8ba9\u6211\u4eec\u53ef\u4ee5\u82b1\u66f4\u5c11\u7684\u65f6\u95f4\u3001\u8986\u76d6\u66f4\u591a\u7684\u573a\u666f\u3002\u8f93\u5165\u7684\u6765\u6e90\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u53c2\u6570"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u53d1\u9001\u7684\u4e8b\u4ef6"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u64cd\u4f5c\u4e8b\u4ef6"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u7f16\u5199\u6d4b\u8bd5\u8986\u76d6\u5b83\u4eec\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5916\u90e8\u4e8b\u4ef6"}),"\uff0c\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a",(0,t.jsx)(e.em,{children:"\u6765\u81ea\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u53c2\u6570\uff0c\u6211\u4eec\u53ea\u9700\u6784\u9020\u8fd9\u4e9b\u53c2\u6570\u5373\u53ef\u5b8c\u6210",(0,t.jsx)(e.em,{children:"\u7ed9\u5b9a\u8f93\u5165"}),"\u7684\u4efb\u52a1\u3002\u800c\u5bf9\u4e8e\u5916\u90e8\u4e8b\u4ef6\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u89e6\u53d1\u8fd9\u4e9b\u4e8b\u4ef6\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u4f9d\u7136\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.ts`\nwindow.addEventListener("resize", () => { ... });\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\uff1f\u4e3b\u52a8\u53d1\u9001\u8fd9\u4e2a\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.ts`\ntest("MyComponent", () => {\n window.dispatchEvent(new Event("resize"));\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"// `MyComponent.tsx`\nconst handleChange = (value: string): void => { ... };\nreturn <Editor onChange={handleChange} />\n"})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u8986\u76d6\u4f9d\u8d56\u7ec4\u4ef6\u7684\u7279\u5b9a\u4e8b\u4ef6\uff1f\u4e3b\u52a8\u89e6\u53d1\u4f9d\u8d56\u7ec4\u4ef6\u7684\u4e8b\u4ef6\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n wrapper.find(Editor).invoke("onChange")("faked value");\n // ...\n});\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u8f93\u51fa",children:"\u8f93\u51fa"}),"\n",(0,t.jsx)(e.p,{children:"\u8db3\u591f\u7b80\u5355\u7684\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u65ad\u8a00\u8fd0\u884c\u7ed3\u679c\u3002\u8f93\u51fa\u7684\u5f62\u6001\u5927\u81f4\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u666e\u901a\u53d8\u91cf\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"GUI \u7684\u53d8\u5316"}),"\n",(0,t.jsx)(e.li,{children:"\u5916\u90e8\u4f9d\u8d56\u7684\u8c03\u7528"}),"\n"]}),"\n",(0,t.jsxs)(e.p,{children:["\u5728\u6d4b\u8bd5\u4e2d\u5bf9\u5b83\u4eec\u8fdb\u884c\u65ad\u8a00\u7684\u590d\u6742\u5ea6\u4f9d\u6b21\u589e\u5927\u3002\u9664\u4e86\u7b2c\u4e00\u4e2a\uff0c\u5176\u5b83\u90fd\u53ef\u4ee5\u770b\u4f5c",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528"}),"\u3002\u5bf9\u4e8e\u666e\u901a\u53d8\u91cf\u8f93\u51fa\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u5730\u65ad\u8a00\u5b83\u7684\u503c\u5373\u53ef\u3002\u800c\u5bf9\u4e8e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\uff0c\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u60f3\u529e\u6cd5\u65ad\u8a00\u8fd9\u4e9b\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u3002"]}),"\n",(0,t.jsx)(e.p,{children:"\u6211\u4eec\u7ee7\u7eed\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.ts`\nfunction handleClick(): void {\n history.push("/next/url");\n}\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u6211\u4eec\u53ef\u4ee5\u65ad\u8a00\u526f\u4f5c\u7528\u7684\u5f71\u54cd\u7ed3\u679c\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n handleClick();\n expect(history.location.pathname).toBe("/next/url");\n});\n'})}),"\n",(0,t.jsxs)(e.p,{children:["\u6709\u65f6\u526f\u4f5c\u7528\u6240\u5f71\u54cd\u7684\u7ed3\u679c\u96be\u4ee5\u65ad\u8a00\uff0c\u6216\u8005\u8be5\u4f9d\u8d56\u88ab ",(0,t.jsx)(e.em,{children:"Mocked"}),"\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u76d1\u89c6\u8be5\u526f\u4f5c\u7528\u7684\u89e6\u53d1\u70b9\u662f\u5426\u88ab\u6b63\u786e\u8c03\u7528\u4e86\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `handleClick.spec.ts`\ntest("handleClick", () => {\n const spyOnHistoryPush = jest.spyOn(history, "push");\n expect(spyOnHistoryPush).toBeCalledWith("/next/url");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u518d\u770b\u4e00\u4e2a React \u7ec4\u4ef6\u7684\u4f8b\u5b50\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.tsx`\nconst handleValidation = (valid: boolean): void => {\n this.setState({ valid });\n};\nreturn (\n <Form.Item className={this.state.valid ? "valid" : "invalid"}>\n <Input />\n </Form.Item>\n);\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u5982\u4f55\u65ad\u8a00\uff1f\u5224\u65ad\u4f9d\u8d56\u7ec4\u4ef6\u7684\u53d8\u5316\uff1a"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.spec.tsx`\ntest("MyComponent", () => {\n const wrapper = shallow(<MyComponent />);\n // ... after something trigger `handleValidation()`\n expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");\n});\n'})}),"\n",(0,t.jsx)(e.p,{children:"\u59cb\u7ec8\u8bb0\u5f97\u8981\u65ad\u8a00\u6d4b\u8bd5\u5bf9\u8c61\u8fd0\u884c\u540e\u5bf9\u5916\u754c\u7684\u526f\u4f5c\u7528\u5f71\u54cd\u3002"}),"\n",(0,t.jsxs)(e.p,{children:["\u53e6\u5916\u65ad\u8a00\u7684\u76ee\u6807\u5e94\u8be5\u662f",(0,t.jsx)(e.em,{children:"\u5bf9\u5916\u7684\u5f71\u54cd"}),"\uff0c\u800c\u4e0d\u662f",(0,t.jsx)(e.em,{children:"\u5185\u90e8\u72b6\u6001"}),"\uff0c\u56e0\u4e3a\u5185\u90e8\u72b6\u6001\u5e76\u4e0d\u662f\u6d4b\u8bd5\u5bf9\u8c61\u7684",(0,t.jsx)(e.em,{children:"\u8f93\u51fa"}),"\u3002\u4e00\u4e2a\u9519\u8bef\u7684\u4f8b\u5b50\uff1a"]}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:'// `MyComponent.bad.spec.tsx`\nexpect(wrapper.instance().state.valid).toBe("invalid");\n'})}),"\n",(0,t.jsx)(e.h2,{id:"\u91cd\u6784\u4e0e\u62c6\u5206",children:"\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n",(0,t.jsx)(e.p,{children:"\u66f4\u7b80\u5355\u7684\u8f93\u5165\u3001\u8f93\u51fa\u8ba9\u6211\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u7f16\u5199\u597d\u7684\u5355\u5143\u6d4b\u8bd5\uff0c\u4f46\u5f80\u5f80\u5b9e\u9645\u60c5\u51b5\u662f\u4e1a\u52a1\u9700\u6c42\u4e0d\u65ad\u589e\u957f\uff0c\u7ec4\u4ef6\u5185\u90e8\u903b\u8f91\u4e0d\u65ad\u590d\u6742\u5316\uff0c\u8f93\u5165\u8f93\u51fa\u7684\u5f62\u5f0f\u5f62\u6001\u66f4\u52a0\u591a\u6837\u5316\uff0c\u4e3a\u7ec4\u4ef6\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\u4e5f\u968f\u4e4b\u9661\u589e\u3002"}),"\n",(0,t.jsxs)(e.p,{children:[(0,t.jsx)(e.strong,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u5173\u952e\u3002\u5728\u5982\u4eca\u7684\u524d\u7aef\u7ec4\u4ef6\u5316\u7684\u6a21\u5f0f\u4e0b\u5c24\u4e3a\u91cd\u8981\uff0c\u5408\u7406\u62c6\u5206\u540e\u7684\u7ec4\u4ef6\u53ef\u4ee5\u8ba9\u6bcf\u4e2a\u6d4b\u8bd5\u5355\u5143\u7684\u8f93\u5165\u8f93\u51fa\u90fd\u53d8\u5f97\u66f4\u5c11\u3001\u66f4\u805a\u7126\u3002\u8bf8\u5982 React, ",(0,t.jsx)(e.a,{href:"https://redux.js.org/",children:"Redux"})," \u7b49\u4e3b\u6d41\u6846\u67b6\u548c\u5de5\u5177\u63a8\u5d07\u7684",(0,t.jsx)(e.a,{href:"https://flaviocopes.com/react-unidirectional-data-flow/",children:"\u5355\u5411\u6570\u636e\u6d41"}),"\u76db\u884c\u7684\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u5de7\u5999\u5730\u8ba9\u5404\u4e2a\u5355\u5143\u7684\u8f93\u5165\u6765\u6e90\u3001\u8f93\u51fa\u5f71\u54cd\u5355\u4e00\u5316\uff0c\u4ece\u800c\u964d\u4f4e\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u7684\u96be\u5ea6\uff0c\u540c\u65f6\u63d0\u5347\u7ec4\u4ef6\u96c6\u6210\u65f6\u7684\u4fe1\u5fc3\u3002"]}),"\n",(0,t.jsx)(e.h2,{id:"\u603b\u7ed3",children:"\u603b\u7ed3"}),"\n",(0,t.jsx)(e.p,{children:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5\u603b\u7ed3\u4e0b\u6765\u5c31\u662f\u4e09\u6761\uff1a"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:"\u8bc6\u522b\u6d4b\u8bd5\u5bf9\u8c61\u7684\u8f93\u5165\u3001\u8f93\u51fa"}),"\n",(0,t.jsx)(e.li,{children:"\u638c\u63e1\u4e0d\u540c\u5f62\u6001\u4e0b\u7684\u8f93\u5165\u8986\u76d6\u3001\u8f93\u51fa\u65ad\u8a00\u7684\u65b9\u6cd5"}),"\n",(0,t.jsx)(e.li,{children:"\u9002\u65f6\u5730\u91cd\u6784\u4e0e\u62c6\u5206"}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:"\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002"})]})}function h(n={}){const{wrapper:e}={...(0,i.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1015:function(n,e,s){s.d(e,{Z:function(){return c},a:function(){return l}});var t=s(3900);const i={},r=t.createContext(i);function l(n){const e=t.useContext(r);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(i):n.components||i:l(n.components),t.createElement(r.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/8133.a27696f3.js b/zh-TW/assets/js/8133.a27696f3.js new file mode 100644 index 00000000..344ff530 --- /dev/null +++ b/zh-TW/assets/js/8133.a27696f3.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8133],{8133:function(){}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/814f3328.c46d9fef.js b/zh-TW/assets/js/814f3328.c46d9fef.js new file mode 100644 index 00000000..8f608c74 --- /dev/null +++ b/zh-TW/assets/js/814f3328.c46d9fef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2535],{5641:function(e){e.exports=JSON.parse('{"title":"Recent posts","items":[{"title":"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5","permalink":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","unlisted":false},{"title":"Welcome","permalink":"/docusaurus-search-local/zh-TW/blog/welcome","unlisted":false},{"title":"Hello","permalink":"/docusaurus-search-local/zh-TW/blog/hello-world","unlisted":false},{"title":"Hola","permalink":"/docusaurus-search-local/zh-TW/blog/hola","unlisted":false}]}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/822bd8ab.c08258f8.js b/zh-TW/assets/js/822bd8ab.c08258f8.js new file mode 100644 index 00000000..bd1216e2 --- /dev/null +++ b/zh-TW/assets/js/822bd8ab.c08258f8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6504],{3932:function(s,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return o},metadata:function(){return i},toc:function(){return u}});var e=n(966),r=n(1015);const o={sidebar_position:6},a="Congratulations!",i={id:"tutorial-basics/congratulations",title:"Congratulations!",description:"You have just learned the basics of Docusaurus and made some changes to the initial template.",source:"@site/docs/tutorial-basics/congratulations.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/congratulations",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/congratulations.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Deploy your site",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site"},next:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras"}},c={},u=[{value:"What's next?",id:"whats-next",level:2}];function l(s){const t={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...s.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.h1,{id:"congratulations",children:"Congratulations!"}),"\n",(0,e.jsxs)(t.p,{children:["You have just learned the ",(0,e.jsx)(t.strong,{children:"basics of Docusaurus"})," and made some changes to the ",(0,e.jsx)(t.strong,{children:"initial template"}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Docusaurus has ",(0,e.jsx)(t.strong,{children:"much more to offer"}),"!"]}),"\n",(0,e.jsxs)(t.p,{children:["Have ",(0,e.jsx)(t.strong,{children:"5 more minutes"}),"? Take a look at ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions",children:"versioning"})})," and ",(0,e.jsx)(t.strong,{children:(0,e.jsx)(t.a,{href:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site",children:"i18n"})}),"."]}),"\n",(0,e.jsxs)(t.p,{children:["Anything ",(0,e.jsx)(t.strong,{children:"unclear"})," or ",(0,e.jsx)(t.strong,{children:"buggy"})," in this tutorial? ",(0,e.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/discussions/4610",children:"Please report it!"})]}),"\n",(0,e.jsx)(t.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,e.jsxs)(t.ul,{children:["\n",(0,e.jsxs)(t.li,{children:["Read the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/",children:"official documentation"}),"."]}),"\n",(0,e.jsxs)(t.li,{children:["Add a custom ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/styling-layout",children:"Design and Layout"})]}),"\n",(0,e.jsxs)(t.li,{children:["Add a ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/docs/search",children:"search bar"})]}),"\n",(0,e.jsxs)(t.li,{children:["Find inspirations in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/showcase",children:"Docusaurus showcase"})]}),"\n",(0,e.jsxs)(t.li,{children:["Get involved in the ",(0,e.jsx)(t.a,{href:"https://docusaurus.io/community/support",children:"Docusaurus Community"})]}),"\n"]})]})}function d(s={}){const{wrapper:t}={...(0,r.a)(),...s.components};return t?(0,e.jsx)(t,{...s,children:(0,e.jsx)(l,{...s})}):l(s)}},1015:function(s,t,n){n.d(t,{Z:function(){return i},a:function(){return a}});var e=n(3900);const r={},o=e.createContext(r);function a(s){const t=e.useContext(o);return e.useMemo((function(){return"function"==typeof s?s(t):{...t,...s}}),[t,s])}function i(s){let t;return t=s.disableParentContext?"function"==typeof s.components?s.components(r):s.components||r:a(s.components),e.createElement(o.Provider,{value:t},s.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/8e9f0a8a.86883cd8.js b/zh-TW/assets/js/8e9f0a8a.86883cd8.js new file mode 100644 index 00000000..d2d1b55e --- /dev/null +++ b/zh-TW/assets/js/8e9f0a8a.86883cd8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4035],{4562:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/zh-TW/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"2019\u5e745\u670828\u65e5",tags:[{label:"hola",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-TW/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/935f2afb.444c2760.js b/zh-TW/assets/js/935f2afb.444c2760.js new file mode 100644 index 00000000..b0586210 --- /dev/null +++ b/zh-TW/assets/js/935f2afb.444c2760.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(a){a.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":"unreleased","badge":true,"noIndex":false,"className":"docs-version-current","isLast":false,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docusaurus-search-local/zh-TW/docs/next/intro","docId":"intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","docId":"tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","docId":"tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","docId":"tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","docId":"tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","docId":"tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","docId":"tutorial-basics/congratulations","unlisted":false}],"href":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","docId":"tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","docId":"tutorial-extras/translate-your-site","unlisted":false}],"href":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras"},{"type":"link","label":"Unlisted Post","href":"/docusaurus-search-local/zh-TW/docs/next/unlisted-post","docId":"unlisted-post","unlisted":true}]},"docs":{"intro":{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","sidebar":"tutorialSidebar"},"tutorial-basics/congratulations":{"id":"tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-blog-post":{"id":"tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-document":{"id":"tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-page":{"id":"tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"tutorial-basics/deploy-your-site":{"id":"tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"tutorial-basics/markdown-features":{"id":"tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"tutorialSidebar"},"tutorial-extras/manage-docs-versions":{"id":"tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"tutorial-extras/translate-your-site":{"id":"tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"},"unlisted-post":{"id":"unlisted-post","title":"Unlisted Post","description":"This unlisted blog post should be \\"hidden\\" in production, but remain accessible.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/94c7b267.214ad1fa.js b/zh-TW/assets/js/94c7b267.214ad1fa.js new file mode 100644 index 00000000..80ccf9b4 --- /dev/null +++ b/zh-TW/assets/js/94c7b267.214ad1fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7728],{8905:function(s){s.exports=JSON.parse('{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus","allTagsPath":"/docusaurus-search-local/zh-TW/blog/tags","count":3,"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/9e07b075.21455de0.js b/zh-TW/assets/js/9e07b075.21455de0.js new file mode 100644 index 00000000..3c7ba045 --- /dev/null +++ b/zh-TW/assets/js/9e07b075.21455de0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6537],{4320:function(t){t.exports=JSON.parse('{"label":"Front matter","permalink":"/docusaurus-search-local/zh-TW/docs/next/tags/front-matter","allTagsPath":"/docusaurus-search-local/zh-TW/docs/next/tags","count":1,"items":[{"id":"intro","title":"Tutorial Intro","description":"This is description in front matter","permalink":"/docusaurus-search-local/zh-TW/docs/next/intro"}],"unlisted":false}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/9e4087bc.395afb6f.js b/zh-TW/assets/js/9e4087bc.395afb6f.js new file mode 100644 index 00000000..214dadfc --- /dev/null +++ b/zh-TW/assets/js/9e4087bc.395afb6f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3608],{4160:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});r(3900);var s=r(3707),a=r(1207),i=r(4181),n=r(2786),c=r(4974),l=r(966);function h(e){let{year:t,posts:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{as:"h3",id:t,children:t}),(0,l.jsx)("ul",{children:r.map((e=>(0,l.jsx)("li",{children:(0,l.jsxs)(s.Z,{to:e.metadata.permalink,children:[e.metadata.formattedDate," - ",e.metadata.title]})},e.metadata.date)))})]})}function d(e){let{years:t}=e;return(0,l.jsx)("section",{className:"margin-vert--lg",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:t.map(((e,t)=>(0,l.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,l.jsx)(h,{...e})},t)))})})})}function o(e){let{archive:t}=e;const r=(0,a.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),s=(0,a.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),h=function(e){const t=e.reduce(((e,t)=>{var r;const s=t.metadata.date.split("-")[0],a=null!=(r=e.get(s))?r:[];return e.set(s,[t,...a])}),new Map);return Array.from(t,(e=>{let[t,r]=e;return{year:t,posts:r}}))}(t.blogPosts);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.d,{title:r,description:s}),(0,l.jsxs)(n.Z,{children:[(0,l.jsx)("header",{className:"hero hero--primary",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(c.Z,{as:"h1",className:"hero__title",children:r}),(0,l.jsx)("p",{className:"hero__subtitle",children:s})]})}),(0,l.jsx)("main",{children:h.length>0&&(0,l.jsx)(d,{years:h})})]})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/a6aa9e1f.e31ab401.js b/zh-TW/assets/js/a6aa9e1f.e31ab401.js new file mode 100644 index 00000000..13b3980b --- /dev/null +++ b/zh-TW/assets/js/a6aa9e1f.e31ab401.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3089],{3705:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});n(3900);var i=n(7515),a=n(2442),s=n(4181),r=n(8512),o=n(1809),l=n(6357),c=n(3806),g=n(2264),d=n(966);function p(e){const{metadata:t}=e,{siteConfig:{title:n}}=(0,a.Z)(),{blogDescription:i,blogTitle:r,permalink:o}=t,l="/"===o?n:r;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.d,{title:l,description:i}),(0,d.jsx)(c.Z,{tag:"blog_posts_list"})]})}function u(e){const{metadata:t,items:n,sidebar:i}=e;return(0,d.jsxs)(o.Z,{sidebar:i,children:[(0,d.jsx)(g.Z,{items:n}),(0,d.jsx)(l.Z,{metadata:t})]})}function b(e){return(0,d.jsxs)(s.FG,{className:(0,i.Z)(r.k.wrapper.blogPages,r.k.page.blogListPage),children:[(0,d.jsx)(p,{...e}),(0,d.jsx)(u,{...e})]})}},6357:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(1207),a=n(1554),s=n(966);function r(e){const{metadata:t}=e,{previousPage:n,nextPage:r}=t;return(0,s.jsxs)("nav",{className:"pagination-nav","aria-label":(0,i.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,s.jsx)(a.Z,{permalink:n,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),r&&(0,s.jsx)(a.Z,{permalink:r,title:(0,s.jsx)(i.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}},2264:function(e,t,n){n.d(t,{Z:function(){return r}});n(3900);var i=n(7138),a=n(87),s=n(966);function r(e){let{items:t,component:n=a.Z}=e;return(0,s.jsx)(s.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,s.jsx)(i.n,{content:t,children:(0,s.jsx)(n,{children:(0,s.jsx)(t,{})})},t.metadata.permalink)}))})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/a7bd4aaa.aef66c49.js b/zh-TW/assets/js/a7bd4aaa.aef66c49.js new file mode 100644 index 00000000..a897a776 --- /dev/null +++ b/zh-TW/assets/js/a7bd4aaa.aef66c49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8518],{9741:function(n,e,s){s.r(e),s.d(e,{default:function(){return d}});s(3900);var r=s(4181),t=s(488),o=s(7924),i=s(4518),c=s(3806),u=s(966);function a(n){const{version:e}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.Z,{version:e.version,tag:(0,t.os)(e.pluginId,e.version)}),(0,u.jsx)(r.d,{children:e.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){const{version:e,route:s}=n;return(0,u.jsx)(r.FG,{className:e.className,children:(0,u.jsx)(o.q,{version:e,children:(0,i.H)(s.routes)})})}function d(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(l,{...n})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/a94703ab.68bf235f.js b/zh-TW/assets/js/a94703ab.68bf235f.js new file mode 100644 index 00000000..aa08bf34 --- /dev/null +++ b/zh-TW/assets/js/a94703ab.68bf235f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4368],{5578:function(e,t,n){n.r(t),n.d(t,{default:function(){return be}});var a=n(3900),i=n(7515),o=n(4181),s=n(8512),l=n(3025),r=n(9888),c=n(1207),d=n(9611),u=n(8257);var m={backToTopButton:"backToTopButton_xjLX",backToTopButtonShow:"backToTopButtonShow_KuKn"},b=n(966);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,i]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=null==n?void 0:n.scrollY;s&&(o.current?o.current=!1:a>=s?(l(),i(!1)):a<t?i(!1):a+window.innerHeight<document.documentElement.scrollHeight&&i(!0))})),(0,u.S)((e=>{e.location.hash&&(o.current=!0,i(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(7525),x=n(382),v=n(879),f=n(4715),j=n(266);function k(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("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"}),(0,b.jsx)("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 _={collapseSidebarButton:"collapseSidebarButton_IlcQ",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_iyaO"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.Z)("button button--secondary button--outline",_.collapseSidebarButton),onClick:t,children:(0,b.jsx)(k,{className:_.collapseSidebarButtonIcon})})}var C=n(3308),S=n(5158);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,i]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:i})),[n]);return(0,b.jsx)(N.Provider,{value:o,children:t})}var B=n(3663),Z=n(4064),L=n(3707),y=n(5106);function w(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function A(e){let{item:t,onItemClick:n,activePath:o,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:v}}}=(0,f.L)(),j=function(e){const t=(0,y.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),k=(0,l._F)(t,o),_=(0,Z.Mg)(x,o),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!k&&t.collapsed)}),{expandedItem:T,setExpandedItem:A}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),A(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:i}=e;const o=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&i(!1)}),[t,o,n,i])}({isActive:k,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&v&&C(!0)}),[h,T,c,C,v]),(0,b.jsxs)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,i.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_}),children:[(0,b.jsx)(L.Z,{className:(0,i.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{null==n||n(t),x?E(!1):(e.preventDefault(),E())}:()=>{null==n||n(t)},"aria-current":_?"page":void 0,"aria-expanded":h?!g:void 0,href:h?null!=j?j:"#":j,...d,children:m}),x&&h&&(0,b.jsx)(w,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:o,level:r+1})})]})}var E=n(6843),H=n(4153),M={menuExternalLink:"menuExternalLink_kCh2"};function R(e){let{item:t,onItemClick:n,activePath:a,level:o,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(o),"menu__list-item",m),children:(0,b.jsxs)(L.Z,{className:(0,i.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}var D={menuHtmlItem:"menuHtmlItem_ts5c"};function F(e){let{item:t,level:n,index:a}=e;const{value:o,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,i.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[D.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:o}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(A,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function W(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}var V=(0,a.memo)(W),z={menu:"menu_ficN",menuWithAnnouncementBar:"menuWithAnnouncementBar_X2D6"};function K(e){let{path:t,sidebar:n,className:o}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.Z)("menu thin-scrollbar",z.menu,l&&z.menuWithAnnouncementBar,o),children:(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}var U="sidebar_s7Pv",Y="sidebarWithHideableNavbar_bLvr",G="sidebarHidden_L71x",O="sidebarLogo_y82R";function Q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:o}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,f.L)();return(0,b.jsxs)("div",{className:(0,i.Z)(U,s&&Y,o&&G),children:[s&&(0,b.jsx)(j.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}var X=a.memo(Q),q=n(3943),J=n(3215);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,J.e)();return(0,b.jsx)("ul",{className:(0,i.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(q.Zo,{component:$,props:e})}var te=a.memo(ee);function ne(e){const t=(0,v.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(X,{...e}),a&&(0,b.jsx)(te,{...e})]})}var ae={expandButton:"expandButton_zsBQ",expandButtonIcon:"expandButtonIcon_DvE8"};function ie(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(k,{className:ae.expandButtonIcon})})}var oe={docSidebarContainer:"docSidebarContainer_l1sK",docSidebarContainerHidden:"docSidebarContainerHidden_kDwv",sidebarViewport:"sidebarViewport_GvwI"};function se(e){var t;let{children:n}=e;const i=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:n},null!=(t=null==i?void 0:i.name)?t:"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),o((e=>!e))}),[o,r]);return(0,b.jsx)("aside",{className:(0,i.Z)(s.k.docs.docSidebarContainer,oe.docSidebarContainer,n&&oe.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(oe.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,i.Z)(oe.sidebarViewport,r&&oe.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(ie,{toggleSidebar:d})]})})})}var re={docMainContainer:"docMainContainer_B_M8",docMainContainerEnhanced:"docMainContainerEnhanced_L9NF",docItemWrapperEnhanced:"docItemWrapperEnhanced_ZTSi"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,i.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,i.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}var de={docRoot:"docRoot_hERl",docsWrapper:"docsWrapper_sfhw"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[i,o]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:i,setHiddenSidebarContainer:o}),(0,b.jsx)(ce,{hiddenSidebarContainer:i,children:t})]})]})}var me=n(8724);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(o.FG,{className:(0,i.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},8724:function(e,t,n){n.d(t,{Z:function(){return l}});n(3900);var a=n(7515),i=n(1207),o=n(4974),s=n(966);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(i.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(i.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"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/zh-TW/assets/js/af172acd.fa3b51eb.js b/zh-TW/assets/js/af172acd.fa3b51eb.js new file mode 100644 index 00000000..49a914cb --- /dev/null +++ b/zh-TW/assets/js/af172acd.fa3b51eb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1449],{9322:function(e,t,o){o.r(t),o.d(t,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return c}});var n=o(966),r=o(1015);const a={slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},s=void 0,u={permalink:"/docusaurus-search-local/zh-TW/blog/welcome",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-30-welcome.md",source:"@site/blog/2019-05-30-welcome.md",title:"Welcome",description:"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!",date:"2019-05-30T00:00:00.000Z",formattedDate:"2019\u5e745\u670830\u65e5",tags:[{label:"facebook",permalink:"/docusaurus-search-local/zh-TW/blog/tags/facebook"},{label:"hello",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.175,hasTruncateMarker:!1,authors:[{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4"}],frontMatter:{slug:"welcome",title:"Welcome",author:"Yangshun Tay",author_title:"Front End Engineer @ Facebook",author_url:"https://github.com/yangshun",author_image_url:"https://avatars0.githubusercontent.com/u/1315101?s=400&v=4",tags:["facebook","hello","docusaurus"]},unlisted:!1,prevItem:{title:"\u7f16\u5199\u826f\u597d\u7684\u5355\u5143\u6d4b\u8bd5",permalink:"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests"},nextItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-TW/blog/hello-world"}},l={authorsImageUrls:[void 0]},c=[];function i(e){const t={code:"code",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["Blog features are powered by the blog plugin. Simply add files to the ",(0,n.jsx)(t.code,{children:"blog"})," directory. It supports tags as well!"]}),"\n",(0,n.jsx)(t.p,{children:"Delete the whole directory if you don't want the blog features. As simple as that!"})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1015:function(e,t,o){o.d(t,{Z:function(){return u},a:function(){return s}});var n=o(3900);const r={},a=n.createContext(r);function s(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/b2cfdf8c.638e29bf.js b/zh-TW/assets/js/b2cfdf8c.638e29bf.js new file mode 100644 index 00000000..9de760fc --- /dev/null +++ b/zh-TW/assets/js/b2cfdf8c.638e29bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6253],{8588:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-TW/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":4,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/bc103642.60623091.js b/zh-TW/assets/js/bc103642.60623091.js new file mode 100644 index 00000000..f7118eef --- /dev/null +++ b/zh-TW/assets/js/bc103642.60623091.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2995],{2161:function(a){a.exports=JSON.parse('[{"label":"facebook","permalink":"/docusaurus-search-local/zh-TW/blog/tags/facebook","count":1},{"label":"hello","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hello","count":2},{"label":"docusaurus","permalink":"/docusaurus-search-local/zh-TW/blog/tags/docusaurus","count":3},{"label":"hola","permalink":"/docusaurus-search-local/zh-TW/blog/tags/hola","count":1}]')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/bdd709f1.e6a15d05.js b/zh-TW/assets/js/bdd709f1.e6a15d05.js new file mode 100644 index 00000000..649b5df1 --- /dev/null +++ b/zh-TW/assets/js/bdd709f1.e6a15d05.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4694],{846:function(t,e,o){o.r(e),o.d(e,{assets:function(){return i},contentTitle:function(){return s},default:function(){return m},frontMatter:function(){return r},metadata:function(){return n},toc:function(){return c}});var u=o(966),a=o(1015);const r={slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},s=void 0,n={permalink:"/docusaurus-search-local/zh-TW/blog/hola",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-28-hola.md",source:"@site/blog/2019-05-28-hola.md",title:"Hola",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet",date:"2019-05-28T00:00:00.000Z",formattedDate:"2019\u5e745\u670828\u65e5",tags:[{label:"hola",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hola"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!1,authors:[{name:"Gao Wei",title:"Docusaurus Core Team",url:"https://github.com/wgao19",imageURL:"https://avatars1.githubusercontent.com/u/2055384?v=4"}],frontMatter:{slug:"hola",title:"Hola",author:"Gao Wei",author_title:"Docusaurus Core Team",author_url:"https://github.com/wgao19",author_image_url:"https://avatars1.githubusercontent.com/u/2055384?v=4",tags:["hola","docusaurus"]},unlisted:!1,prevItem:{title:"Hello",permalink:"/docusaurus-search-local/zh-TW/blog/hello-world"}},i={authorsImageUrls:[void 0]},c=[];function l(t){const e={p:"p",...(0,a.a)(),...t.components};return(0,u.jsx)(e.p,{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"})}function m(t={}){const{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,u.jsx)(e,{...t,children:(0,u.jsx)(l,{...t})}):l(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return n},a:function(){return s}});var u=o(3900);const a={},r=u.createContext(a);function s(t){const e=u.useContext(r);return u.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function n(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),u.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/c4f5d8e4.c5786715.js b/zh-TW/assets/js/c4f5d8e4.c5786715.js new file mode 100644 index 00000000..1289aa73 --- /dev/null +++ b/zh-TW/assets/js/c4f5d8e4.c5786715.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4195],{9750:function(e,s,t){t.r(s),t.d(s,{default:function(){return h}});t(3900);var r=t(7515),a=t(2786),n=t(3707),i=t(2442),l=t(3373),c={heroBanner:"heroBanner_UJJx",buttons:"buttons_pzbO",features:"features_keug",featureImage:"featureImage_yA8i"},o=t(966);const u=[{title:"\ud83d\udcaa Written in TypeScript",imageUrl:"img/undraw_docusaurus_mountain.svg",description:(0,o.jsx)(o.Fragment,{children:"A Result You Can Trust."})},{title:"\ud83c\udf0e Multi Languages Supported",imageUrl:"img/undraw_docusaurus_tree.svg",description:(0,o.jsx)(o.Fragment,{children:"Dozens of languages supported, including \u4e2d\u6587\u5206\u8bcd \ud83c\udde8\ud83c\uddf3."})},{title:"\ud83d\udc85 Styles polished",imageUrl:"img/undraw_docusaurus_react.svg",description:(0,o.jsx)(o.Fragment,{children:"Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website."})}];function d(e){let{imageUrl:s,title:t,description:a}=e;const n=(0,l.Z)(s);return(0,o.jsxs)("div",{className:(0,r.Z)("col col--4",c.feature),children:[n&&(0,o.jsx)("div",{className:"text--center",children:(0,o.jsx)("img",{className:c.featureImage,src:n,alt:t})}),(0,o.jsx)("h3",{children:t}),(0,o.jsx)("p",{children:a})]})}var h=function(){const e=(0,i.Z)(),{siteConfig:s={}}=e;return(0,o.jsxs)(a.Z,{title:"Hello from "+s.title,description:"Description will go into a meta tag in <head />",children:[(0,o.jsx)("header",{className:(0,r.Z)("hero hero--primary",c.heroBanner),children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)("h1",{className:"hero__title",children:s.title}),(0,o.jsxs)("p",{className:"hero__subtitle",children:["An offline/local search example using"," ",(0,o.jsx)("a",{href:"https://github.com/easyops-cn/docusaurus-search-local",style:{color:"var(--ifm-hero-text-color)"},children:"@easyops-cn/docusaurus-search-local"}),"."]}),(0,o.jsx)("div",{className:c.buttons,children:(0,o.jsx)(n.Z,{className:(0,r.Z)("button button--outline button--secondary button--lg",c.getStarted),to:"#",children:"Try the search bar on the top-right corner."})})]})}),(0,o.jsx)("main",{children:u&&u.length>0&&(0,o.jsx)("section",{className:c.features,children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:u.map(((e,s)=>(0,o.jsx)(d,{...e},s)))})})})})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/c7798012.a789edfd.js b/zh-TW/assets/js/c7798012.a789edfd.js new file mode 100644 index 00000000..8263a896 --- /dev/null +++ b/zh-TW/assets/js/c7798012.a789edfd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5560],{4361:function(e,o,a){a.r(o),a.d(o,{assets:function(){return c},contentTitle:function(){return i},default:function(){return m},frontMatter:function(){return s},metadata:function(){return r},toc:function(){return d}});var n=a(966),t=a(1015);const s={title:"A Document in Portuguese"},i=void 0,r={id:"doc-in-pt",title:"A Document in Portuguese",description:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"',source:"@site/versioned_docs/version-1.0.0/doc-in-pt.md",sourceDirName:".",slug:"/doc-in-pt",permalink:"/docusaurus-search-local/zh-TW/docs/doc-in-pt",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc-in-pt.md",tags:[],version:"1.0.0",frontMatter:{title:"A Document in Portuguese"}},c={},d=[];function u(e){const o={p:"p",...(0,t.a)(),...e.components};return(0,n.jsx)(o.p,{children:'A popula\xe7\xe3o portuguesa \xe9 composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a popula\xe7\xe3o tem vindo a envelhecer. A esperan\xe7a m\xe9dia de vida \xe9 de 78,04 anos. Em termos de alfabetiza\xe7\xe3o, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a popula\xe7\xe3o esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal \xe9 um dos pa\xedses com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilom\xe9tricas"'})}function m(e={}){const{wrapper:o}={...(0,t.a)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1015:function(e,o,a){a.d(o,{Z:function(){return r},a:function(){return i}});var n=a(3900);const t={},s=n.createContext(t);function i(e){const o=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),n.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/c9e2ad75.c97a63ac.js b/zh-TW/assets/js/c9e2ad75.c97a63ac.js new file mode 100644 index 00000000..62634a17 --- /dev/null +++ b/zh-TW/assets/js/c9e2ad75.c97a63ac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4079],{9916:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-TW/blog/tags/hello","page":1,"postsPerPage":10,"totalPages":1,"totalCount":2,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/ccc49370.3766cae8.js b/zh-TW/assets/js/ccc49370.3766cae8.js new file mode 100644 index 00000000..86510887 --- /dev/null +++ b/zh-TW/assets/js/ccc49370.3766cae8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6103],{3378:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(3900);var i=t(7515),a=t(4181),l=t(8512),o=t(7138),s=t(1809),r=t(87),c=t(1207),d=t(1554),u=t(966);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.Z,{...t,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,u.jsx)(d.Z,{...n,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older Post"}),isNext:!0})]})}function f(){var e;const{assets:n,metadata:t}=(0,o.C)(),{title:i,description:l,date:s,tags:r,authors:c,frontMatter:d}=t,{keywords:m}=d,f=null!=(e=n.image)?e:d.image;return(0,u.jsxs)(a.d,{title:i,description:l,keywords:m,image:f,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:s}),c.some((e=>e.url))&&(0,u.jsx)("meta",{property:"article:author",content:c.map((e=>e.url)).filter(Boolean).join(",")}),r.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:r.map((e=>e.label)).join(",")})]})}var g=t(2151),h=t(9843);function v(e){let{sidebar:n,children:t}=e;const{metadata:i,toc:a}=(0,o.C)(),{nextItem:l,prevItem:c,frontMatter:d,unlisted:f}=i,{hide_table_of_contents:v,toc_min_heading_level:p,toc_max_heading_level:x}=d;return(0,u.jsxs)(s.Z,{sidebar:n,toc:!v&&a.length>0?(0,u.jsx)(g.Z,{toc:a,minHeadingLevel:p,maxHeadingLevel:x}):void 0,children:[f&&(0,u.jsx)(h.Z,{}),(0,u.jsx)(r.Z,{children:t}),(l||c)&&(0,u.jsx)(m,{nextItem:l,prevItem:c})]})}function p(e){const n=e.content;return(0,u.jsx)(o.n,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(a.FG,{className:(0,i.Z)(l.k.wrapper.blogPages,l.k.page.blogPostPage),children:[(0,u.jsx)(f,{}),(0,u.jsx)(v,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},2151:function(e,n,t){t.d(n,{Z:function(){return c}});t(3900);var i=t(7515),a=t(8001),l={tableOfContents:"tableOfContents_odbd",docItemContainer:"docItemContainer_V8qf"},o=t(966);const s="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,o.jsx)("div",{className:(0,i.Z)(l.tableOfContents,"thin-scrollbar",n),children:(0,o.jsx)(a.Z,{...t,linkClassName:s,linkActiveClassName:r})})}},8001:function(e,n,t){t.d(n,{Z:function(){return h}});var i=t(3900),a=t(4715);function l(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):i.push(a)})),i}function o(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=o({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function s(e){const n=e.getBoundingClientRect();return n.top===n.bottom?s(e.parentNode):n}function r(e,n){var t;let{anchorTopOffset:i}=n;const a=e.find((e=>s(e).top>=i));if(a){var l;return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(s(a))?a:null!=(l=e[e.indexOf(a)-1])?l:null}return null!=(t=e[e.length-1])?t:null}function c(){const e=(0,i.useRef)(0),{navbar:{hideOnScroll:n}}=(0,a.L)();return(0,i.useEffect)((()=>{e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=c();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:a,minHeadingLevel:l,maxHeadingLevel:o}=e;function s(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),s=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let a=n;a<=t;a+=1)i.push("h"+a+".anchor");return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:l,maxHeadingLevel:o}),c=r(s,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[e,t])}var u=t(3707),m=t(966);function f(e){let{toc:n,className:t,linkClassName:i,isChild:a}=e;return n.length?(0,m.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:"#"+e.id,className:null!=i?i:void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(f,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}var g=i.memo(f);function h(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:s="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...f}=e;const h=(0,a.L)(),v=null!=c?c:h.tableOfContents.minHeadingLevel,p=null!=u?u:h.tableOfContents.maxHeadingLevel,x=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,i.useMemo)((()=>o({toc:l(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:v,maxHeadingLevel:p});return d((0,i.useMemo)((()=>{if(s&&r)return{linkClassName:s,linkActiveClassName:r,minHeadingLevel:v,maxHeadingLevel:p}}),[s,r,v,p])),(0,m.jsx)(g,{toc:x,className:t,linkClassName:s,...f})}},9843:function(e,n,t){t.d(n,{Z:function(){return f}});t(3900);var i=t(7515),a=t(1207),l=t(743),o=t(966);function s(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,o.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,o.jsx)(l.Z,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function m(e){let{className:n}=e;return(0,o.jsx)(u.Z,{type:"caution",title:(0,o.jsx)(s,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,o.jsx)(r,{})})}function f(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/d3609805.382f25ff.js b/zh-TW/assets/js/d3609805.382f25ff.js new file mode 100644 index 00000000..4d4c0276 --- /dev/null +++ b/zh-TW/assets/js/d3609805.382f25ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8864],{4469:function(e){e.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/d610846f.69b352c0.js b/zh-TW/assets/js/d610846f.69b352c0.js new file mode 100644 index 00000000..2bd2e088 --- /dev/null +++ b/zh-TW/assets/js/d610846f.69b352c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6176],{1940:function(t,e,o){o.r(e),o.d(e,{assets:function(){return l},contentTitle:function(){return s},default:function(){return h},frontMatter:function(){return n},metadata:function(){return a},toc:function(){return i}});var r=o(966),u=o(1015);const n={slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},s=void 0,a={permalink:"/docusaurus-search-local/zh-TW/blog/hello-world",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/blog/2019-05-29-hello-world.md",source:"@site/blog/2019-05-29-hello-world.md",title:"Hello",description:"Welcome to this blog. This blog is created with Docusaurus 2 alpha.",date:"2019-05-29T00:00:00.000Z",formattedDate:"2019\u5e745\u670829\u65e5",tags:[{label:"hello",permalink:"/docusaurus-search-local/zh-TW/blog/tags/hello"},{label:"docusaurus",permalink:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus"}],readingTime:.12,hasTruncateMarker:!0,authors:[{name:"Endilie Yacop Sucipto",title:"Maintainer of Docusaurus",url:"https://github.com/endiliey",imageURL:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4"}],frontMatter:{slug:"hello-world",title:"Hello",author:"Endilie Yacop Sucipto",author_title:"Maintainer of Docusaurus",author_url:"https://github.com/endiliey",author_image_url:"https://avatars1.githubusercontent.com/u/17883920?s=460&v=4",tags:["hello","docusaurus"]},unlisted:!1,prevItem:{title:"Welcome",permalink:"/docusaurus-search-local/zh-TW/blog/welcome"},nextItem:{title:"Hola",permalink:"/docusaurus-search-local/zh-TW/blog/hola"}},l={authorsImageUrls:[void 0]},i=[];function c(t){const e={a:"a",p:"p",strong:"strong",...(0,u.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(e.p,{children:["Welcome to this blog. This blog is created with ",(0,r.jsx)(e.a,{href:"https://v2.docusaurus.io/",children:(0,r.jsx)(e.strong,{children:"Docusaurus 2 alpha"})}),"."]}),"\n",(0,r.jsx)(e.p,{children:"This is a test post."}),"\n",(0,r.jsx)(e.p,{children:"A whole bunch of other information."})]})}function h(t={}){const{wrapper:e}={...(0,u.a)(),...t.components};return e?(0,r.jsx)(e,{...t,children:(0,r.jsx)(c,{...t})}):c(t)}},1015:function(t,e,o){o.d(e,{Z:function(){return a},a:function(){return s}});var r=o(3900);const u={},n=r.createContext(u);function s(t){const e=r.useContext(n);return r.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(u):t.components||u:s(t.components),r.createElement(n.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/d6c84f37.2c81f1a6.js b/zh-TW/assets/js/d6c84f37.2c81f1a6.js new file mode 100644 index 00000000..bba9164e --- /dev/null +++ b/zh-TW/assets/js/d6c84f37.2c81f1a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6372],{6845:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-TW/blog/tags/facebook","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/df203c0f.3452c979.js b/zh-TW/assets/js/df203c0f.3452c979.js new file mode 100644 index 00000000..47125b5e --- /dev/null +++ b/zh-TW/assets/js/df203c0f.3452c979.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9924],{5085:function(e,n,t){t.d(n,{Z:function(){return k}});var i=t(3900),s=t(966);function o(e){var n;const{mdxAdmonitionTitle:t,rest:o}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),o=n.filter((e=>e!==t));return{mdxAdmonitionTitle:null==t?void 0:t.props.children,rest:o.length>0?(0,s.jsx)(s.Fragment,{children:o}):null}}(e.children),l=null!=(n=e.title)?n:t;return{...e,...l&&{title:l},children:o}}var l=t(7515),r=t(1207),a=t(8512),c={admonition:"admonition_QpPJ",admonitionHeading:"admonitionHeading_dLsS",admonitionIcon:"admonitionIcon_m6FF",admonitionContent:"admonitionContent_Izui"};function d(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,l.Z)(a.k.common.admonition,a.k.common.admonitionType(n),c.admonition,t),children:i})}function u(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:c.admonitionHeading,children:[(0,s.jsx)("span",{className:c.admonitionIcon,children:n}),t]})}function h(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:c.admonitionContent,children:n}):null}function m(e){const{type:n,icon:t,title:i,children:o,className:l}=e;return(0,s.jsxs)(d,{type:n,className:l,children:[(0,s.jsx)(u,{title:i,icon:t}),(0,s.jsx)(h,{children:o})]})}function g(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(g,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,s.jsx)(m,{...f,...e,className:(0,l.Z)("alert alert--secondary",e.className),children:e.children})}function j(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const p={icon:(0,s.jsx)(j,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function v(e){return(0,s.jsx)(m,{...p,...e,className:(0,l.Z)("alert alert--success",e.className),children:e.children})}function N(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const Z={icon:(0,s.jsx)(N,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function w(e){return(0,s.jsx)(m,{...Z,...e,className:(0,l.Z)("alert alert--info",e.className),children:e.children})}function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const b={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function z(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const y={icon:(0,s.jsx)(z,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const C={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};var F={...{note:x,tip:v,info:w,warning:function(e){return(0,s.jsx)(m,{...b,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(m,{...y,...e,className:(0,l.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(x,{title:"secondary",...e}),important:e=>(0,s.jsx)(w,{title:"important",...e}),success:e=>(0,s.jsx)(v,{title:"success",...e}),caution:function(e){return(0,s.jsx)(m,{...C,...e,className:(0,l.Z)("alert alert--warning",e.className),children:e.children})}}};function k(e){const n=o(e),t=(i=n.type,F[i]||(console.warn('No admonition component found for admonition type "'+i+'". Using Info as fallback.'),F.info));var i;return(0,s.jsx)(t,{...n})}},2883:function(e,n,t){t.r(n),t.d(n,{default:function(){return j}});t(3900);var i=t(7515),s=t(3707),o=t(960),l=t(4181),r=t(8512),a=t(1207),c=t(3806),d=t(9843),u=t(4974),h=t(966);function m(e){const n=function(){const{selectMessage:e}=(0,o.c)();return n=>e(n,(0,a.I)({id:"theme.docs.tagDocListPageTitle.nDocsTagged",description:'Pluralized label for "{count} docs tagged". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One doc tagged|{count} docs tagged"},{count:n}))}();return(0,a.I)({id:"theme.docs.tagDocListPageTitle",description:"The title of the page for a docs tag",message:'{nDocsTagged} with "{tagName}"'},{nDocsTagged:n(e.tag.count),tagName:e.tag.label})}function g(e){let{doc:n}=e;return(0,h.jsxs)("article",{className:"margin-vert--lg",children:[(0,h.jsx)(s.Z,{to:n.permalink,children:(0,h.jsx)(u.Z,{as:"h2",children:n.title})}),n.description&&(0,h.jsx)("p",{children:n.description})]})}function f(e){let{title:n}=e;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.d,{title:n}),(0,h.jsx)(c.Z,{tag:"doc_tag_doc_list"})]})}function x(e){let{tag:n,title:t}=e;return(0,h.jsx)(l.FG,{className:(0,i.Z)(r.k.page.docsTagDocListPage),children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsx)("div",{className:"row",children:(0,h.jsxs)("main",{className:"col col--8 col--offset-2",children:[n.unlisted&&(0,h.jsx)(d.Z,{}),(0,h.jsxs)("header",{className:"margin-bottom--xl",children:[(0,h.jsx)(u.Z,{as:"h1",children:t}),(0,h.jsx)(s.Z,{href:n.allTagsPath,children:(0,h.jsx)(a.Z,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),(0,h.jsx)("section",{className:"margin-vert--lg",children:n.items.map((e=>(0,h.jsx)(g,{doc:e},e.id)))})]})})})})}function j(e){const n=m(e);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(f,{...e,title:n}),(0,h.jsx)(x,{...e,title:n})]})}},9843:function(e,n,t){t.d(n,{Z:function(){return m}});t(3900);var i=t(7515),s=t(1207),o=t(743),l=t(966);function r(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function a(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(o.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(8512),u=t(5085);function h(e){let{className:n}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(r,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(a,{})})}function m(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(h,{...e})]})}},960:function(e,n,t){t.d(n,{c:function(){return c}});var i=t(3900),s=t(2442);const o=["zero","one","two","few","many","other"];function l(e){return o.filter((n=>e.includes(n)))}const r={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function a(){const{i18n:{currentLocale:e}}=(0,s.Z)();return(0,i.useMemo)((()=>{try{return function(e){const n=new Intl.PluralRules(e);return{locale:e,pluralForms:l(n.resolvedOptions().pluralCategories),select:e=>n.select(e)}}(e)}catch(n){return console.error('Failed to use Intl.PluralRules for locale "'+e+'".\nDocusaurus will fallback to the default (English) implementation.\nError: '+n.message+"\n"),r}}),[e])}function c(){const e=a();return{selectMessage:(n,t)=>function(e,n,t){const i=e.split("|");if(1===i.length)return i[0];i.length>t.pluralForms.length&&console.error("For locale="+t.locale+", a maximum of "+t.pluralForms.length+" plural forms are expected ("+t.pluralForms.join(",")+"), but the message contains "+i.length+": "+e);const s=t.select(n),o=t.pluralForms.indexOf(s);return i[Math.min(o,i.length-1)]}(t,n,e)}}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/dff1c289.deb1f161.js b/zh-TW/assets/js/dff1c289.deb1f161.js new file mode 100644 index 00000000..68712fab --- /dev/null +++ b/zh-TW/assets/js/dff1c289.deb1f161.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3792],{9309:function(e,n,s){s.r(n),s.d(n,{assets:function(){return a},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return t},metadata:function(){return c},toc:function(){return d}});var o=s(966),r=s(1015);const t={sidebar_position:1},i="Manage Docs Versions",c={id:"tutorial-extras/manage-docs-versions",title:"Manage Docs Versions",description:"Docusaurus can manage multiple versions of your docs.",source:"@site/docs/tutorial-extras/manage-docs-versions.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/manage-docs-versions",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/manage-docs-versions.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Tutorial - Extras",permalink:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras"},next:{title:"Translate your site",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site"}},a={},d=[{value:"Create a docs version",id:"create-a-docs-version",level:2},{value:"Add a Version Dropdown",id:"add-a-version-dropdown",level:2},{value:"Update an existing version",id:"update-an-existing-version",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"manage-docs-versions",children:"Manage Docs Versions"}),"\n",(0,o.jsx)(n.p,{children:"Docusaurus can manage multiple versions of your docs."}),"\n",(0,o.jsx)(n.h2,{id:"create-a-docs-version",children:"Create a docs version"}),"\n",(0,o.jsx)(n.p,{children:"Release a version 1.0 of your project:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-bash",children:"npm run docusaurus docs:version 1.0\n"})}),"\n",(0,o.jsxs)(n.p,{children:["The ",(0,o.jsx)(n.code,{children:"docs"})," folder is copied into ",(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0"})," and ",(0,o.jsx)(n.code,{children:"versions.json"})," is created."]}),"\n",(0,o.jsx)(n.p,{children:"Your docs now have 2 versions:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"1.0"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/"})," for the version 1.0 docs"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"current"})," at ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/"})," for the ",(0,o.jsx)(n.strong,{children:"upcoming, unreleased docs"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"add-a-version-dropdown",children:"Add a Version Dropdown"}),"\n",(0,o.jsx)(n.p,{children:"To navigate seamlessly across versions, add a version dropdown."}),"\n",(0,o.jsxs)(n.p,{children:["Modify the ",(0,o.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'docsVersionDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,o.jsx)(n.p,{children:"The docs version dropdown appears in your navbar:"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{alt:"Docs Version Dropdown",src:s(2480).Z+"",width:"370",height:"302"})}),"\n",(0,o.jsx)(n.h2,{id:"update-an-existing-version",children:"Update an existing version"}),"\n",(0,o.jsx)(n.p,{children:"It is possible to edit versioned docs in their respective folder:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"versioned_docs/version-1.0/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/hello"})]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"docs/hello.md"})," updates ",(0,o.jsx)(n.code,{children:"http://localhost:3000/docs/next/hello"})]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},2480:function(e,n,s){n.Z=s.p+"assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"},1015:function(e,n,s){s.d(n,{Z:function(){return c},a:function(){return i}});var o=s(3900);const r={},t=o.createContext(r);function i(e){const n=o.useContext(t);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/e44a2883.dc599c4a.js b/zh-TW/assets/js/e44a2883.dc599c4a.js new file mode 100644 index 00000000..a09558cc --- /dev/null +++ b/zh-TW/assets/js/e44a2883.dc599c4a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6755],{7701:function(e,n,t){t.r(n),t.d(n,{assets:function(){return l},contentTitle:function(){return i},default:function(){return u},frontMatter:function(){return o},metadata:function(){return a},toc:function(){return c}});var r=t(966),s=t(1015);const o={sidebar_position:2},i="Translate your site",a={id:"tutorial-extras/translate-your-site",title:"Translate your site",description:"Let's translate docs/intro.md to French.",source:"@site/docs/tutorial-extras/translate-your-site.md",sourceDirName:"tutorial-extras",slug:"/tutorial-extras/translate-your-site",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-extras/translate-your-site.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Manage Docs Versions",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions"}},l={},c=[{value:"Configure i18n",id:"configure-i18n",level:2},{value:"Translate a doc",id:"translate-a-doc",level:2},{value:"Start your localized site",id:"start-your-localized-site",level:2},{value:"Add a Locale Dropdown",id:"add-a-locale-dropdown",level:2},{value:"Build your localized site",id:"build-your-localized-site",level:2}];function d(e){const n={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"translate-your-site",children:"Translate your site"}),"\n",(0,r.jsxs)(n.p,{children:["Let's translate ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," to French."]}),"\n",(0,r.jsx)(n.h2,{id:"configure-i18n",children:"Configure i18n"}),"\n",(0,r.jsxs)(n.p,{children:["Modify ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," to add support for the ",(0,r.jsx)(n.code,{children:"fr"})," locale:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n"})}),"\n",(0,r.jsx)(n.h2,{id:"translate-a-doc",children:"Translate a doc"}),"\n",(0,r.jsxs)(n.p,{children:["Copy the ",(0,r.jsx)(n.code,{children:"docs/intro.md"})," file to the ",(0,r.jsx)(n.code,{children:"i18n/fr"})," folder:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Translate ",(0,r.jsx)(n.code,{children:"i18n/fr/docusaurus-plugin-content-docs/current/intro.md"})," in French."]}),"\n",(0,r.jsx)(n.h2,{id:"start-your-localized-site",children:"Start your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Start your site on the French locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run start -- --locale fr\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Your localized site is accessible at ",(0,r.jsx)(n.code,{children:"http://localhost:3000/fr/"})," and the ",(0,r.jsx)(n.code,{children:"Getting Started"})," page is translated."]}),"\n",(0,r.jsx)(n.admonition,{type:"caution",children:(0,r.jsx)(n.p,{children:"In development, you can only use one locale at a same time."})}),"\n",(0,r.jsx)(n.h2,{id:"add-a-locale-dropdown",children:"Add a Locale Dropdown"}),"\n",(0,r.jsx)(n.p,{children:"To navigate seamlessly across languages, add a locale dropdown."}),"\n",(0,r.jsxs)(n.p,{children:["Modify the ",(0,r.jsx)(n.code,{children:"docusaurus.config.js"})," file:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",metastring:'title="docusaurus.config.js"',children:"module.exports = {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n"})}),"\n",(0,r.jsx)(n.p,{children:"The locale dropdown now appears in your navbar:"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.img,{alt:"Locale Dropdown",src:t(3412).Z+"",width:"370",height:"302"})}),"\n",(0,r.jsx)(n.h2,{id:"build-your-localized-site",children:"Build your localized site"}),"\n",(0,r.jsx)(n.p,{children:"Build your site for a specific locale:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build -- --locale fr\n"})}),"\n",(0,r.jsx)(n.p,{children:"Or build your site to include all the locales at once:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm run build\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},3412:function(e,n,t){n.Z=t.p+"assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"},1015:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var r=t(3900);const s={},o=r.createContext(s);function i(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/eb2f9b91.038af575.js b/zh-TW/assets/js/eb2f9b91.038af575.js new file mode 100644 index 00000000..9230a367 --- /dev/null +++ b/zh-TW/assets/js/eb2f9b91.038af575.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9435],{8522:function(e){e.exports=JSON.parse('{"permalink":"/docusaurus-search-local/zh-TW/blog/tags/hola","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/f054516d.ccde5e1e.js b/zh-TW/assets/js/f054516d.ccde5e1e.js new file mode 100644 index 00000000..4eef1327 --- /dev/null +++ b/zh-TW/assets/js/f054516d.ccde5e1e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1771],{5679:function(M,e,t){t.r(e),t.d(e,{assets:function(){return u},contentTitle:function(){return s},default:function(){return g},frontMatter:function(){return n},metadata:function(){return L},toc:function(){return l}});var i=t(966),j=t(1015);const n={id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},s=void 0,L={id:"doc1",title:"Style Guide",description:"You can write content using GitHub-flavored Markdown syntax.",source:"@site/versioned_docs/version-1.0.0/doc1.md",sourceDirName:".",slug:"/",permalink:"/docusaurus-search-local/zh-TW/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/versioned_docs/version-1.0.0/doc1.md",tags:[],version:"1.0.0",frontMatter:{id:"doc1",title:"Style Guide",sidebar_label:"Style Guide",slug:"/"},sidebar:"someSidebar",next:{title:"Document Number 2",permalink:"/docusaurus-search-local/zh-TW/docs/doc2"}},u={},l=[{value:"Markdown Syntax",id:"markdown-syntax",level:2},{value:"Headers",id:"headers",level:2},{value:"H2 - Create the best documentation",id:"h2---create-the-best-documentation",level:2},{value:"H3 - Create the best documentation",id:"h3---create-the-best-documentation",level:3},{value:"H4 - Create the best documentation",id:"h4---create-the-best-documentation",level:4},{value:"H5 - Create the best documentation",id:"h5---create-the-best-documentation",level:5},{value:"H6 - Create the best documentation",id:"h6---create-the-best-documentation",level:6},{value:"Emphasis",id:"emphasis",level:2},{value:"Lists",id:"lists",level:2},{value:"Links",id:"links",level:2},{value:"Images",id:"images",level:2},{value:"Code",id:"code",level:2},{value:"Tables",id:"tables",level:2},{value:"Blockquotes",id:"blockquotes",level:2},{value:"Inline HTML",id:"inline-html",level:2},{value:"Line Breaks",id:"line-breaks",level:2},{value:"Admonitions",id:"admonitions",level:2}];function r(M){const e={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",del:"del",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,j.a)(),...M.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(e.p,{children:["You can write content using ",(0,i.jsx)(e.a,{href:"https://github.github.com/gfm/",children:"GitHub-flavored Markdown syntax"}),"."]}),"\n",(0,i.jsx)(e.h2,{id:"markdown-syntax",children:"Markdown Syntax"}),"\n",(0,i.jsx)(e.p,{children:"To serve as an example page when styling markdown based Docusaurus sites."}),"\n",(0,i.jsx)(e.h2,{id:"headers",children:"Headers"}),"\n",(0,i.jsx)(e.h1,{id:"h1---create-the-best-documentation",children:"H1 - Create the best documentation"}),"\n",(0,i.jsx)(e.h2,{id:"h2---create-the-best-documentation",children:"H2 - Create the best documentation"}),"\n",(0,i.jsx)(e.h3,{id:"h3---create-the-best-documentation",children:"H3 - Create the best documentation"}),"\n",(0,i.jsx)(e.h4,{id:"h4---create-the-best-documentation",children:"H4 - Create the best documentation"}),"\n",(0,i.jsx)(e.h5,{id:"h5---create-the-best-documentation",children:"H5 - Create the best documentation"}),"\n",(0,i.jsx)(e.h6,{id:"h6---create-the-best-documentation",children:"H6 - Create the best documentation"}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"emphasis",children:"Emphasis"}),"\n",(0,i.jsxs)(e.p,{children:["Emphasis, aka italics, with ",(0,i.jsx)(e.em,{children:"asterisks"})," or ",(0,i.jsx)(e.em,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strong emphasis, aka bold, with ",(0,i.jsx)(e.strong,{children:"asterisks"})," or ",(0,i.jsx)(e.strong,{children:"underscores"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Combined emphasis with ",(0,i.jsxs)(e.strong,{children:["asterisks and ",(0,i.jsx)(e.em,{children:"underscores"})]}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Strikethrough uses two tildes. ",(0,i.jsx)(e.del,{children:"Scratch this."})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"lists",children:"Lists"}),"\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"First ordered list item"}),"\n",(0,i.jsxs)(e.li,{children:["Another item","\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered sub-list."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(e.li,{children:["Actual numbers don't matter, just that it's a number","\n",(0,i.jsxs)(e.ol,{children:["\n",(0,i.jsx)(e.li,{children:"Ordered sub-list"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(e.li,{children:"And another item."}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Unordered list can use asterisks"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or minuses"}),"\n"]}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Or pluses"}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"links",children:"Links"}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",children:"I'm an inline-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.google.com/",title:"Google's Homepage",children:"I'm an inline-style link with title"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"https://www.mozilla.org/",children:"I'm a reference-style link"})}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.a,{href:"http://slashdot.org/",children:"You can use numbers for reference-style link definitions"})}),"\n",(0,i.jsxs)(e.p,{children:["Or leave it empty and use the ",(0,i.jsx)(e.a,{href:"http://www.reddit.com/",children:"link text itself"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["URLs and URLs in angle brackets will automatically get turned into links. ",(0,i.jsx)(e.a,{href:"http://www.example.com/",children:"http://www.example.com/"})," and sometimes example.com (but not on GitHub, for example)."]}),"\n",(0,i.jsx)(e.p,{children:"Some text to show that the reference links can follow later."}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"images",children:"Images"}),"\n",(0,i.jsx)(e.p,{children:"Here's our logo (hover to see the title text):"}),"\n",(0,i.jsxs)(e.p,{children:["Inline-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 1"})]}),"\n",(0,i.jsxs)(e.p,{children:["Reference-style: ",(0,i.jsx)(e.img,{src:"https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png",alt:"alt text",title:"Logo Title Text 2"})]}),"\n",(0,i.jsx)(e.p,{children:"Images from any folder can be used by providing path to file. Path should be relative to markdown file."}),"\n",(0,i.jsx)(e.p,{children:(0,i.jsx)(e.img,{alt:"img",src:t(47).Z+"",width:"200",height:"200"})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"code",children:"Code"}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-javascript",children:'var s = "JavaScript syntax highlighting";\nalert(s);\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-python",children:'s = "Python syntax highlighting"\nprint(s)\n'})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{children:"No language indicated, so no syntax highlighting.\nBut let's throw in a <b>tag</b>.\n"})}),"\n",(0,i.jsx)(e.pre,{children:(0,i.jsx)(e.code,{className:"language-js",metastring:"{2}",children:'function highlightMe() {\n console.log("This line can be highlighted!");\n}\n'})}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"tables",children:"Tables"}),"\n",(0,i.jsx)(e.p,{children:"Colons can be used to align columns."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Tables"}),(0,i.jsx)(e.th,{style:{textAlign:"center"},children:"Are"}),(0,i.jsx)(e.th,{style:{textAlign:"right"},children:"Cool"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 3 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"right-aligned"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1600"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"col 2 is"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"centered"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$12"})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"zebra stripes"}),(0,i.jsx)(e.td,{style:{textAlign:"center"},children:"are neat"}),(0,i.jsx)(e.td,{style:{textAlign:"right"},children:"$1"})]})]})]}),"\n",(0,i.jsx)(e.p,{children:"There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown."}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{children:"Markdown"}),(0,i.jsx)(e.th,{children:"Less"}),(0,i.jsx)(e.th,{children:"Pretty"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:(0,i.jsx)(e.em,{children:"Still"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.code,{children:"renders"})}),(0,i.jsx)(e.td,{children:(0,i.jsx)(e.strong,{children:"nicely"})})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{children:"1"}),(0,i.jsx)(e.td,{children:"2"}),(0,i.jsx)(e.td,{children:"3"})]})]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"blockquotes",children:"Blockquotes"}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsx)(e.p,{children:"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote."}),"\n"]}),"\n",(0,i.jsx)(e.p,{children:"Quote break."}),"\n",(0,i.jsxs)(e.blockquote,{children:["\n",(0,i.jsxs)(e.p,{children:["This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can ",(0,i.jsx)(e.em,{children:"put"})," ",(0,i.jsx)(e.strong,{children:"Markdown"})," into a blockquote."]}),"\n"]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"inline-html",children:"Inline HTML"}),"\n",(0,i.jsxs)("dl",{children:[(0,i.jsx)("dt",{children:"Definition list"}),(0,i.jsx)("dd",{children:"Is something people use sometimes."}),(0,i.jsx)("dt",{children:"Markdown in HTML"}),(0,i.jsxs)("dd",{children:["Does ",(0,i.jsx)(e.em,{children:"not"})," work ",(0,i.jsx)(e.strong,{children:"very"})," well. Use HTML ",(0,i.jsx)("em",{children:"tags"}),"."]})]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"line-breaks",children:"Line Breaks"}),"\n",(0,i.jsx)(e.p,{children:"Here's a line for us to start with."}),"\n",(0,i.jsxs)(e.p,{children:["This line is separated from the one above by two newlines, so it will be a ",(0,i.jsx)(e.em,{children:"separate paragraph"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the ",(0,i.jsx)(e.em,{children:"same paragraph"}),"."]}),"\n",(0,i.jsx)(e.hr,{}),"\n",(0,i.jsx)(e.h2,{id:"admonitions",children:"Admonitions"}),"\n",(0,i.jsx)(e.admonition,{type:"note",children:(0,i.jsx)(e.p,{children:"This is a note"})}),"\n",(0,i.jsx)(e.admonition,{type:"tip",children:(0,i.jsx)(e.p,{children:"This is a tip"})}),"\n",(0,i.jsx)(e.admonition,{type:"important",children:(0,i.jsx)(e.p,{children:"This is important"})}),"\n",(0,i.jsx)(e.admonition,{type:"caution",children:(0,i.jsx)(e.p,{children:"This is a caution"})}),"\n",(0,i.jsx)(e.admonition,{type:"warning",children:(0,i.jsx)(e.p,{children:"This is a warning"})})]})}function g(M={}){const{wrapper:e}={...(0,j.a)(),...M.components};return e?(0,i.jsx)(e,{...M,children:(0,i.jsx)(r,{...M})}):r(M)}},47:function(M,e){e.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjRkZGIiBkPSJNOTkgNTJoODR2MzRIOTl6Ii8+PHBhdGggZD0iTTIzIDE2M2MtNy4zOTggMC0xMy44NDMtNC4wMjctMTcuMzAzLTEwQTE5Ljg4NiAxOS44ODYgMCAwIDAgMyAxNjNjMCAxMS4wNDYgOC45NTQgMjAgMjAgMjBoMjB2LTIwSDIzeiIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGQ9Ik0xMTIuOTggNTcuMzc2TDE4MyA1M1Y0M2MwLTExLjA0Ni04Ljk1NC0yMC0yMC0yMEg3M2wtMi41LTQuMzNjLTEuMTEyLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw2MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw1MyAyM2wtMi41LTQuMzNjLTEuMTExLTEuOTI1LTMuODg5LTEuOTI1LTUgMEw0MyAyM2MtLjAyMiAwLS4wNDIuMDAzLS4wNjUuMDAzbC00LjE0Mi00LjE0MWMtMS41Ny0xLjU3MS00LjI1Mi0uODUzLTQuODI4IDEuMjk0bC0xLjM2OSA1LjEwNC01LjE5Mi0xLjM5MmMtMi4xNDgtLjU3NS00LjExMSAxLjM4OS0zLjUzNSAzLjUzNmwxLjM5IDUuMTkzLTUuMTAyIDEuMzY3Yy0yLjE0OC41NzYtMi44NjcgMy4yNTktMS4yOTYgNC44M2w0LjE0MiA0LjE0MmMwIC4wMjEtLjAwMy4wNDItLjAwMy4wNjRsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgNzNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgODNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgOTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTAzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDExM2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxMjNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTMzbC00LjMzIDIuNWMtMS45MjUgMS4xMTEtMS45MjUgMy44ODkgMCA1TDIzIDE0M2wtNC4zMyAyLjVjLTEuOTI1IDEuMTExLTEuOTI1IDMuODg5IDAgNUwyMyAxNTNsLTQuMzMgMi41Yy0xLjkyNSAxLjExMS0xLjkyNSAzLjg4OSAwIDVMMjMgMTYzYzAgMTEuMDQ2IDguOTU0IDIwIDIwIDIwaDEyMGMxMS4wNDYgMCAyMC04Ljk1NCAyMC0yMFY4M2wtNzAuMDItNC4zNzZBMTAuNjQ1IDEwLjY0NSAwIDAgMSAxMDMgNjhjMC01LjYyMSA0LjM3LTEwLjI3MyA5Ljk4LTEwLjYyNCIgZmlsbD0iIzNFQ0M1RiIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNDMgMTgzaDMwdi00MGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxOTAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik0xNTMgMTIzaDMwdi0yMGgtMzB6Ii8+PHBhdGggZD0iTTE5MyAxMTUuNWEyLjUgMi41IDAgMSAwIDAtNWMtLjEwOSAwLS4yMTQuMDE5LS4zMTkuMDMyLS4wMi0uMDc1LS4wMzctLjE1LS4wNTgtLjIyNWEyLjUwMSAyLjUwMSAwIDAgMC0uOTYzLTQuODA3Yy0uNTY5IDAtMS4wODguMTk3LTEuNTA4LjUxOGE2LjY1MyA2LjY1MyAwIDAgMC0uMTY4LS4xNjhjLjMxNC0uNDE3LjUwNi0uOTMxLjUwNi0xLjQ5NGEyLjUgMi41IDAgMCAwLTQuOC0uOTc5QTkuOTg3IDkuOTg3IDAgMCAwIDE4MyAxMDNjLTUuNTIyIDAtMTAgNC40NzgtMTAgMTBzNC40NzggMTAgMTAgMTBjLjkzNCAwIDEuODMzLS4xMzggMi42OS0uMzc3YTIuNSAyLjUgMCAwIDAgNC44LS45NzljMC0uNTYzLS4xOTItMS4wNzctLjUwNi0xLjQ5NC4wNTctLjA1NS4xMTMtLjExMS4xNjgtLjE2OC40Mi4zMjEuOTM5LjUxOCAxLjUwOC41MThhMi41IDIuNSAwIDAgMCAuOTYzLTQuODA3Yy4wMjEtLjA3NC4wMzgtLjE1LjA1OC0uMjI1LjEwNS4wMTMuMjEuMDMyLjMxOS4wMzIiIGZpbGw9IiM0NEQ4NjAiLz48cGF0aCBkPSJNNjMgNTUuNWEyLjUgMi41IDAgMCAxLTIuNS0yLjVjMC00LjEzNi0zLjM2NC03LjUtNy41LTcuNXMtNy41IDMuMzY0LTcuNSA3LjVhMi41IDIuNSAwIDEgMS01IDBjMC02Ljg5MyA1LjYwNy0xMi41IDEyLjUtMTIuNVM2NS41IDQ2LjEwNyA2NS41IDUzYTIuNSAyLjUgMCAwIDEtMi41IDIuNSIgZmlsbD0iIzAwMCIvPjxwYXRoIGQ9Ik0xMDMgMTgzaDYwYzExLjA0NiAwIDIwLTguOTU0IDIwLTIwVjkzaC02MGMtMTEuMDQ2IDAtMjAgOC45NTQtMjAgMjB2NzB6IiBmaWxsPSIjRkZGRjUwIi8+PHBhdGggZD0iTTE2OC4wMiAxMjRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAyMGgtNTAuMDRhMSAxIDAgMSAxIDAtMmg1MC4wNGExIDEgMCAxIDEgMCAybTAtNDkuODE0aC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJtMCAxOS44MTRoLTUwLjA0YTEgMSAwIDEgMSAwLTJoNTAuMDRhMSAxIDAgMSAxIDAgMm0wIDIwaC01MC4wNGExIDEgMCAxIDEgMC0yaDUwLjA0YTEgMSAwIDEgMSAwIDJNMTgzIDYxLjYxMWMtLjAxMiAwLS4wMjItLjAwNi0uMDM0LS4wMDUtMy4wOS4xMDUtNC41NTIgMy4xOTYtNS44NDIgNS45MjMtMS4zNDYgMi44NS0yLjM4NyA0LjcwMy00LjA5MyA0LjY0Ny0xLjg4OS0uMDY4LTIuOTY5LTIuMjAyLTQuMTEzLTQuNDYtMS4zMTQtMi41OTQtMi44MTQtNS41MzYtNS45NjMtNS40MjYtMy4wNDYuMTA0LTQuNTEzIDIuNzk0LTUuODA3IDUuMTY3LTEuMzc3IDIuNTI4LTIuMzE0IDQuMDY1LTQuMTIxIDMuOTk0LTEuOTI3LS4wNy0yLjk1MS0xLjgwNS00LjEzNi0zLjgxMy0xLjMyMS0yLjIzNi0yLjg0OC00Ljc1LTUuOTM2LTQuNjY0LTIuOTk0LjEwMy00LjQ2NSAyLjM4NS01Ljc2MyA0LjQtMS4zNzMgMi4xMy0yLjMzNSAzLjQyOC00LjE2NSAzLjM1MS0xLjk3My0uMDctMi45OTItMS41MS00LjE3MS0zLjE3Ny0xLjMyNC0xLjg3My0yLjgxNi0zLjk5My01Ljg5NS0zLjg5LTIuOTI4LjEtNC4zOTkgMS45Ny01LjY5NiAzLjYxOC0xLjIzMiAxLjU2NC0yLjE5NCAyLjgwMi00LjIyOSAyLjcyNGExIDEgMCAwIDAtLjA3MiAyYzMuMDE3LjEwMSA0LjU0NS0xLjggNS44NzItMy40ODcgMS4xNzctMS40OTYgMi4xOTMtMi43ODcgNC4xOTMtMi44NTUgMS45MjYtLjA4MiAyLjgyOSAxLjExNSA0LjE5NSAzLjA0NSAxLjI5NyAxLjgzNCAyLjc2OSAzLjkxNCA1LjczMSA0LjAyMSAzLjEwMy4xMDQgNC41OTYtMi4yMTUgNS45MTgtNC4yNjcgMS4xODItMS44MzQgMi4yMDItMy40MTcgNC4xNS0zLjQ4NCAxLjc5My0uMDY3IDIuNzY5IDEuMzUgNC4xNDUgMy42ODEgMS4yOTcgMi4xOTcgMi43NjYgNC42ODYgNS43ODcgNC43OTYgMy4xMjUuMTA4IDQuNjM0LTIuNjIgNS45NDktNS4wMzUgMS4xMzktMi4wODggMi4yMTQtNC4wNiA0LjExOS00LjEyNiAxLjc5My0uMDQyIDIuNzI4IDEuNTk1IDQuMTExIDQuMzMgMS4yOTIgMi41NTMgMi43NTcgNS40NDUgNS44MjUgNS41NTZsLjE2OS4wMDNjMy4wNjQgMCA0LjUxOC0zLjA3NSA1LjgwNS01Ljc5NCAxLjEzOS0yLjQxIDIuMjE3LTQuNjggNC4wNjctNC43NzN2LTJ6IiBmaWxsPSIjMDAwIi8+PHBhdGggZmlsbD0iIzNFQ0M1RiIgZD0iTTgzIDE4M2g0MHYtNDBIODN6Ii8+PHBhdGggZD0iTTE0MyAxNThjLS4yMTkgMC0uNDI4LjAzNy0uNjM5LjA2NC0uMDM4LS4xNS0uMDc0LS4zMDEtLjExNi0uNDUxQTUgNSAwIDAgMCAxNDAuMzIgMTQ4YTQuOTYgNC45NiAwIDAgMC0zLjAxNiAxLjAzNiAyNi41MzEgMjYuNTMxIDAgMCAwLS4zMzUtLjMzNiA0Ljk1NSA0Ljk1NSAwIDAgMCAxLjAxMS0yLjk4NyA1IDUgMCAwIDAtOS41OTktMS45NTljLS4xNDgtLjA0Mi0uMjk3LS4wNzctLjQ0NS0uMTE1LjAyNy0uMjExLjA2NC0uNDIuMDY0LS42MzlhNSA1IDAgMCAwLTUtNSA1IDUgMCAwIDAtNSA1YzAgLjIxOS4wMzcuNDI4LjA2NC42MzktLjE0OC4wMzgtLjI5Ny4wNzMtLjQ0NS4xMTVhNC45OTggNC45OTggMCAwIDAtOS41OTkgMS45NTljMCAxLjEyNS4zODQgMi4xNTEgMS4wMTEgMi45ODctMy43MTcgMy42MzItNi4wMzEgOC42OTMtNi4wMzEgMTQuMyAwIDExLjA0NiA4Ljk1NCAyMCAyMCAyMCA5LjMzOSAwIDE3LjE2LTYuNDEgMTkuMzYxLTE1LjA2NC4yMTEuMDI3LjQyLjA2NC42MzkuMDY0YTUgNSAwIDAgMCA1LTUgNSA1IDAgMCAwLTUtNSIgZmlsbD0iIzQ0RDg2MCIvPjxwYXRoIGZpbGw9IiMzRUNDNUYiIGQ9Ik04MyAxMjNoNDB2LTIwSDgzeiIvPjxwYXRoIGQ9Ik0xMzMgMTE1LjVhMi41IDIuNSAwIDEgMCAwLTVjLS4xMDkgMC0uMjE0LjAxOS0uMzE5LjAzMi0uMDItLjA3NS0uMDM3LS4xNS0uMDU4LS4yMjVhMi41MDEgMi41MDEgMCAwIDAtLjk2My00LjgwN2MtLjU2OSAwLTEuMDg4LjE5Ny0xLjUwOC41MThhNi42NTMgNi42NTMgMCAwIDAtLjE2OC0uMTY4Yy4zMTQtLjQxNy41MDYtLjkzMS41MDYtMS40OTRhMi41IDIuNSAwIDAgMC00LjgtLjk3OUE5Ljk4NyA5Ljk4NyAwIDAgMCAxMjMgMTAzYy01LjUyMiAwLTEwIDQuNDc4LTEwIDEwczQuNDc4IDEwIDEwIDEwYy45MzQgMCAxLjgzMy0uMTM4IDIuNjktLjM3N2EyLjUgMi41IDAgMCAwIDQuOC0uOTc5YzAtLjU2My0uMTkyLTEuMDc3LS41MDYtMS40OTQuMDU3LS4wNTUuMTEzLS4xMTEuMTY4LS4xNjguNDIuMzIxLjkzOS41MTggMS41MDguNTE4YTIuNSAyLjUgMCAwIDAgLjk2My00LjgwN2MuMDIxLS4wNzQuMDM4LS4xNS4wNTgtLjIyNS4xMDUuMDEzLjIxLjAzMi4zMTkuMDMyIiBmaWxsPSIjNDREODYwIi8+PHBhdGggZD0iTTE0MyA0MS43NWMtLjE2IDAtLjMzLS4wMi0uNDktLjA1YTIuNTIgMi41MiAwIDAgMS0uNDctLjE0Yy0uMTUtLjA2LS4yOS0uMTQtLjQzMS0uMjMtLjEzLS4wOS0uMjU5LS4yLS4zOC0uMzEtLjEwOS0uMTItLjIxOS0uMjQtLjMwOS0uMzhzLS4xNy0uMjgtLjIzMS0uNDNhMi42MTkgMi42MTkgMCAwIDEtLjE4OS0uOTZjMC0uMTYuMDItLjMzLjA1LS40OS4wMy0uMTYuMDgtLjMxLjEzOS0uNDcuMDYxLS4xNS4xNDEtLjI5LjIzMS0uNDMuMDktLjEzLjItLjI2LjMwOS0uMzguMTIxLS4xMS4yNS0uMjIuMzgtLjMxLjE0MS0uMDkuMjgxLS4xNy40MzEtLjIzLjE0OS0uMDYuMzEtLjExLjQ3LS4xNC4zMi0uMDcuNjUtLjA3Ljk4IDAgLjE1OS4wMy4zMi4wOC40Ny4xNC4xNDkuMDYuMjkuMTQuNDMuMjMuMTMuMDkuMjU5LjIuMzguMzEuMTEuMTIuMjIuMjUuMzEuMzguMDkuMTQuMTcuMjguMjMuNDMuMDYuMTYuMTEuMzEuMTQuNDcuMDI5LjE2LjA1LjMzLjA1LjQ5IDAgLjY2LS4yNzEgMS4zMS0uNzMgMS43Ny0uMTIxLjExLS4yNS4yMi0uMzguMzEtLjE0LjA5LS4yODEuMTctLjQzLjIzYTIuNTY1IDIuNTY1IDAgMCAxLS45Ni4xOW0yMC0xLjI1Yy0uNjYgMC0xLjMtLjI3LTEuNzcxLS43M2EzLjgwMiAzLjgwMiAwIDAgMS0uMzA5LS4zOGMtLjA5LS4xNC0uMTctLjI4LS4yMzEtLjQzYTIuNjE5IDIuNjE5IDAgMCAxLS4xODktLjk2YzAtLjY2LjI3LTEuMy43MjktMS43Ny4xMjEtLjExLjI1LS4yMi4zOC0uMzEuMTQxLS4wOS4yODEtLjE3LjQzMS0uMjMuMTQ5LS4wNi4zMS0uMTEuNDctLjE0LjMyLS4wNy42Ni0uMDcuOTggMCAuMTU5LjAzLjMyLjA4LjQ3LjE0LjE0OS4wNi4yOS4xNC40My4yMy4xMy4wOS4yNTkuMi4zOC4zMS40NTkuNDcuNzMgMS4xMS43MyAxLjc3IDAgLjE2LS4wMjEuMzMtLjA1LjQ5LS4wMy4xNi0uMDguMzItLjE0LjQ3LS4wNy4xNS0uMTQuMjktLjIzLjQzLS4wOS4xMy0uMi4yNi0uMzEuMzgtLjEyMS4xMS0uMjUuMjItLjM4LjMxLS4xNC4wOS0uMjgxLjE3LS40My4yM2EyLjU2NSAyLjU2NSAwIDAgMS0uOTYuMTkiIGZpbGw9IiMwMDAiLz48L2c+PC9zdmc+"},1015:function(M,e,t){t.d(e,{Z:function(){return L},a:function(){return s}});var i=t(3900);const j={},n=i.createContext(j);function s(M){const e=i.useContext(n);return i.useMemo((function(){return"function"==typeof M?M(e):{...e,...M}}),[e,M])}function L(M){let e;return e=M.disableParentContext?"function"==typeof M.components?M.components(j):M.components||j:s(M.components),i.createElement(n.Provider,{value:e},M.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/f55d3e7a.d4e0c197.js b/zh-TW/assets/js/f55d3e7a.d4e0c197.js new file mode 100644 index 00000000..d63010d2 --- /dev/null +++ b/zh-TW/assets/js/f55d3e7a.d4e0c197.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4193],{622:function(e,s,t){t.r(s),t.d(s,{assets:function(){return l},contentTitle:function(){return i},default:function(){return d},frontMatter:function(){return o},metadata:function(){return c},toc:function(){return a}});var r=t(966),n=t(1015);const o={sidebar_position:5},i="Deploy your site",c={id:"tutorial-basics/deploy-your-site",title:"Deploy your site",description:"Docusaurus is a static-site-generator (also called Jamstack).",source:"@site/docs/tutorial-basics/deploy-your-site.md",sourceDirName:"tutorial-basics",slug:"/tutorial-basics/deploy-your-site",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site",draft:!1,unlisted:!1,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/docs/tutorial-basics/deploy-your-site.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Markdown Features",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features"},next:{title:"Congratulations!",permalink:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations"}},l={},a=[{value:"Build your site",id:"build-your-site",level:2},{value:"Deploy your site",id:"deploy-your-site-1",level:2}];function u(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"deploy-your-site",children:"Deploy your site"}),"\n",(0,r.jsxs)(s.p,{children:["Docusaurus is a ",(0,r.jsx)(s.strong,{children:"static-site-generator"})," (also called ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://jamstack.org/",children:"Jamstack"})}),")."]}),"\n",(0,r.jsxs)(s.p,{children:["It builds your site as simple ",(0,r.jsx)(s.strong,{children:"static HTML, JavaScript and CSS files"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"build-your-site",children:"Build your site"}),"\n",(0,r.jsxs)(s.p,{children:["Build your site ",(0,r.jsx)(s.strong,{children:"for production"}),":"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run build\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The static files are generated in the ",(0,r.jsx)(s.code,{children:"build"})," folder."]}),"\n",(0,r.jsx)(s.h2,{id:"deploy-your-site-1",children:"Deploy your site"}),"\n",(0,r.jsx)(s.p,{children:"Test your production build locally:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-bash",children:"npm run serve\n"})}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.code,{children:"build"})," folder is now served at ",(0,r.jsx)(s.code,{children:"http://localhost:3000/"}),"."]}),"\n",(0,r.jsxs)(s.p,{children:["You can now deploy the ",(0,r.jsx)(s.code,{children:"build"})," folder ",(0,r.jsx)(s.strong,{children:"almost anywhere"})," easily, ",(0,r.jsx)(s.strong,{children:"for free"})," or very small cost (read the ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.a,{href:"https://docusaurus.io/docs/deployment",children:"Deployment Guide"})}),")."]})]})}function d(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1015:function(e,s,t){t.d(s,{Z:function(){return c},a:function(){return i}});var r=t(3900);const n={},o=r.createContext(n);function i(e){const s=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/zh-TW/assets/js/main.0c19b3d1.js b/zh-TW/assets/js/main.0c19b3d1.js new file mode 100644 index 00000000..7bba1eb1 --- /dev/null +++ b/zh-TW/assets/js/main.0c19b3d1.js @@ -0,0 +1,2 @@ +/*! For license information please see main.0c19b3d1.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{537:function(e,t,n){"use strict";n.d(t,{_:function(){return a},t:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},773:function(e,t,n){"use strict";var r=n(3900),o=n(4932),a=n(3525),i=n(7782),s=n(3043),l=[n(4553),n(6633),n(6797),n(8306)],u=n(9850),c=n(382),d=n(4518),f=n(966);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(743),m=n(2442),g=n(3373),y=n(4715),b=n(4181),v=n(5028),w=n(3936),k=n(488),x=n(181),S=n(3806);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,v.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(h.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},"meta-og-"+e.htmlLang)))]})}function T(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?""+n+t:r;return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),n&&(0,f.jsx)(b.d,{image:n}),(0,f.jsx)(T,{}),(0,f.jsx)(E,{}),(0,f.jsx)(S.Z,{tag:k.HX,locale:e}),(0,f.jsx)(h.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const _=new Map;function L(e){if(_.has(e.pathname))return{...e,pathname:_.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return _.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),{...e,pathname:t}}var j=n(537),A=n(1347),R=n(2194);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=l.map((t=>{var r,o;const a=null!=(r=null==(o=t.default)?void 0:o[e])?r:t[e];return null==a?void 0:a(...n)}));return()=>o.forEach((e=>null==e?void 0:e()))}var P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,R.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class I extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(c.AW,{location:t,render:()=>e})})}}var D=I;const z="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",M="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return"\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '"+z+"';\n var bannerHtml = "+JSON.stringify(function(e){return'\n<div id="'+F+'" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">'+e+"</span> "+("/"===e?" (default value)":"")+'</p>\n <p>We suggest trying baseUrl = <span id="'+M+'" style="font-weight: bold; color: green;"></span></p>\n</div>\n'}(e)).replace(/</g,"\\<")+";\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('"+M+"');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n"}function W(){const{siteConfig:{baseUrl:e}}=(0,m.Z)();return(0,f.jsx)(f.Fragment,{children:!s.Z.canUseDOM&&(0,f.jsx)(h.Z,{children:(0,f.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?(0,f.jsx)(W,{}):null}function $(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:o}}=(0,m.Z)(),a=(0,g.Z)(e),{htmlLang:i,direction:s}=o[r];return(0,f.jsxs)(h.Z,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:a})]})}var q=n(9933),H=n(5106);function Q(){const e=(0,H.Z)();return(0,f.jsx)(h.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function Z(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return(0,f.jsx)(q.Z,{children:(0,f.jsx)(A.M,{children:(0,f.jsxs)(j.t,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)($,{}),(0,f.jsx)(C,{}),(0,f.jsx)(U,{}),(0,f.jsx)(D,{location:L(t),children:e})]}),(0,f.jsx)(Q,{})]})})})}var V=n(6887);const G=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r,o;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const i=null!=(r=document.getElementsByTagName("head")[0])?r:null==(o=document.getElementsByName("script")[0])?void 0:o.parentNode;null==i||i.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(7126);const Y=new Set,X=new Set,J=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?G(t).catch((()=>{})):Promise.resolve()})))},preload(e){return!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))}};var te=Object.freeze(ee);const ne=Boolean(!0);if(s.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.B6,{children:(0,f.jsx)(a.VK,{children:(0,f.jsx)(Z,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(s)}},1347:function(e,t,n){"use strict";n.d(t,{_:function(){return d},M:function(){return f}});var r=n(3900),o=n(6809),a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docusaurus-search-local/zh-TW/docs","versions":[{"name":"current","label":"Next","isLast":false,"path":"/docusaurus-search-local/zh-TW/docs/next","mainDocId":"intro","docs":[{"id":"intro","path":"/docusaurus-search-local/zh-TW/docs/next/intro","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/congratulations","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-blog-post","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-document","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-page","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/deploy-your-site","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/markdown-features","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/manage-docs-versions","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/translate-your-site","path":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","sidebar":"tutorialSidebar"},{"id":"unlisted-post","path":"/docusaurus-search-local/zh-TW/docs/next/unlisted-post","unlisted":true,"sidebar":"tutorialSidebar"},{"id":"/category/tutorial---basics","path":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docusaurus-search-local/zh-TW/docs/next/intro","label":"intro"}}}},{"name":"1.0.0","label":"1.0.0","isLast":true,"path":"/docusaurus-search-local/zh-TW/docs","mainDocId":"doc1","docs":[{"id":"doc-in-pt","path":"/docusaurus-search-local/zh-TW/docs/doc-in-pt"},{"id":"doc1","path":"/docusaurus-search-local/zh-TW/docs/","sidebar":"someSidebar"},{"id":"doc2","path":"/docusaurus-search-local/zh-TW/docs/doc2","sidebar":"someSidebar"},{"id":"doc3","path":"/docusaurus-search-local/zh-TW/docs/doc3","sidebar":"someSidebar"},{"id":"mdx","path":"/docusaurus-search-local/zh-TW/docs/mdx","sidebar":"someSidebar"}],"draftIds":[],"sidebars":{"someSidebar":{"link":{"path":"/docusaurus-search-local/zh-TW/docs/","label":"doc1"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en","zh-CN","zh-TW"],"path":"i18n","currentLocale":"zh-TW","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"},"zh-CN":{"label":"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09","direction":"ltr","htmlLang":"zh-CN","calendar":"gregory","path":"zh-CN"},"zh-TW":{"label":"\u4e2d\u6587\uff08\u53f0\u7063\uff09","direction":"ltr","htmlLang":"zh-TW","calendar":"gregory","path":"zh-TW"}}}'),s=n(7529),l=JSON.parse('{"docusaurusVersion":"3.0.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.0.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.41.0"}}}'),u=n(966);const c={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(c);function f(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},9933:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3043),a=n(743),i=n(346),s=n(2786),l=n(966);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(a.Z,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){var n;const e={error:t,tryAgain:()=>this.setState({error:null})};return(null!=(n=this.props.fallback)?n:f)(e)}return null!=e?e:null}}},3043:function(e,t){"use strict";const n="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,r={canUseDOM:n,canUseEventListeners:n&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:n&&"IntersectionObserver"in window,canUseViewport:n&&"screen"in window};t.Z=r},743:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(7782),o=n(966);function a(e){return(0,o.jsx)(r.ql,{...e})}},3707:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(3900),o=n(3525),a=n(346),i=n(2442),s=n(6843),l=n(3043),u=n(966);const c=r.createContext({collectLink:()=>{}});var d=n(3373);function f(e,t){var n,f;let{isNavLink:p,to:h,href:m,activeClassName:g,isActive:y,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...w}=e;const{siteConfig:{trailingSlash:k,baseUrl:x}}=(0,i.Z)(),{withBaseUrl:S}=(0,d.C)(),E=(0,r.useContext)(c),T=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>T.current));const C=h||m;const _=(0,s.Z)(C),L=null==C?void 0:C.replace("pathname://","");let j=void 0!==L?(A=L,v&&(e=>e.startsWith("/"))(A)?S(A):A):void 0;var A;j&&_&&(j=(0,a.applyTrailingSlash)(j,{trailingSlash:k,baseUrl:x}));const R=(0,r.useRef)(!1),N=p?o.OL:o.rU,P=l.Z.canUseIntersectionObserver,O=(0,r.useRef)(),I=()=>{R.current||null==j||(window.docusaurus.preload(j),R.current=!0)};(0,r.useEffect)((()=>(!P&&_&&null!=j&&window.docusaurus.prefetch(j),()=>{P&&O.current&&O.current.disconnect()})),[O,j,P,_]);const D=null!=(n=null==(f=j)?void 0:f.startsWith("#"))&&n,z=!j||!_||D;return z||b||E.collectLink(j),z?(0,u.jsx)("a",{ref:T,href:j,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...w}):(0,u.jsx)(N,{...w,onMouseEnter:I,onTouchStart:I,innerRef:e=>{T.current=e,P&&e&&_&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),O.current.observe(e))},to:j,...p&&{isActive:y,activeClassName:g}})}var p=r.forwardRef(f)},1207:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},I:function(){return l}});var r=n(3900),o=n(966);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function s(e){var t,n;let{id:r,message:o}=e;if(void 0===r&&void 0===o)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=i[null!=r?r:o])?n:o)?t:r}function l(e,t){let{message:n,id:r}=e;return a(s({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},63:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r="default"},6843:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return o},b:function(){return r}})},3373:function(e,t,n){"use strict";n.d(t,{C:function(){return i},Z:function(){return s}});var r=n(3900),o=n(2442),a=n(6843);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},2442:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(1347);function a(){return(0,r.useContext)(o._)}},5019:function(e,t,n){"use strict";n.d(t,{OD:function(){return a},eZ:function(){return i}});var r=n(2442),o=n(63);function a(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}function i(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=a(e),i=null==r?void 0:r[t];if(!i&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return i}},5106:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3900),o=n(537);function a(){return(0,r.useContext)(o._)}},2194:function(e,t,n){"use strict";var r=n(3900);const o=n(3043).Z.canUseDOM?r.useLayoutEffect:r.useEffect;t.Z=o},7126:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?o+"."+a:a;r(i)?e(i,s):t[s]=i}))}(e),t}},778:function(e,t,n){"use strict";n.d(t,{_:function(){return a},z:function(){return i}});var r=n(3900),o=n(966);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},8213:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},_r:function(){return l},zh:function(){return u},yW:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){const t=u(e);return a(t)}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}},304:function(e,t,n){"use strict";n.d(t,{Iw:function(){return f},gA:function(){return c},Jo:function(){return p},gB:function(){return d}});var r=n(382),o=n(5019);const a=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=a(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},l=()=>{var e;return null!=(e=(0,o.OD)("docusaurus-plugin-content-docs"))?e:s},u=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function c(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((e=>e.path)).join(", "));return a}(t,n,e)}function d(e){return u(e).versions}function f(e){const t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function p(e){const t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=a(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},5009:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(3900),l=n(5401),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=d(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function g(){return m||(m=e(h.loader)),m.promise}return u.push(g),"function"==typeof h.webpack&&c.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return a(o(o(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(h.loader),r._loadModule()})),g(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),a(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function m(e){return h(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}a(g,"propTypes",{report:l.func.isRequired}),a(g,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),m.Capture=g,m.preloadAll=function(){return new Promise((function(e,t){y(u).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){y(c).then(e,e)}))},e.exports=m},6797:function(e,t,n){"use strict";n.r(t);var r=n(2130),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}};t.default=a},6633:function(e,t,n){"use strict";n.r(t);var r=n(8334),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(4266),n(4453)("./prism-"+e)})),delete globalThis.Prism}(r.p1)},4974:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});n(3900);var r=n(7515),o=n(1207),a=n(4715),i=n(3707),s={anchorWithStickyNavbar:"anchorWithStickyNavbar_vYcL",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_x1aE"},l=n(966);function u(e){let{as:t,id:n,...u}=e;const{navbar:{hideOnScroll:c}}=(0,a.L)();if("h1"===t||!n)return(0,l.jsx)(t,{...u,id:void 0});const d=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,l.jsxs)(t,{...u,className:(0,r.Z)("anchor",c?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,l.jsx)(i.Z,{className:"hash-link",to:"#"+n,"aria-label":d,title:d,children:"\u200b"})]})}},4153:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r={iconExternalLink:"iconExternalLink_Olb8"},o=n(966);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2786:function(e,t,n){"use strict";n.d(t,{Z:function(){return It}});var r=n(3900),o=n(7515),a=n(9933),i=n(4181),s=n(382),l=n(1207),u=n(8257),c=n(966);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=null!=(n=document.querySelector("main:first-of-type"))?n:document.getElementById(d);var n;t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){var t;const n=null!=(t=e.children)?t:h,{containerRef:r,onClick:o}=p();return(0,c.jsx)("div",{ref:r,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:"#"+d,onClick:o,children:n})})}var g=n(8512),y=n(3936),b={skipToContent:"skipToContent__7wj"};function v(){return(0,c.jsx)(m,{className:b.skipToContent})}var w=n(4715),k=n(3308);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:o,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}var S={closeButton:"closeButton_zp99"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}var T={content:"content_jqJ1"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,o.Z)(T.content,e.className),dangerouslySetInnerHTML:{__html:n}})}var _={announcementBar:"announcementBar_lHnW",announcementBarPlaceholder:"announcementBarPlaceholder_wKiJ",announcementBarClose:"announcementBarClose_NRWR",announcementBarContent:"announcementBarContent_hYVY"};function L(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,c.jsxs)("div",{className:_.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,c.jsx)("div",{className:_.announcementBarPlaceholder}),(0,c.jsx)(C,{className:_.announcementBarContent}),a&&(0,c.jsx)(E,{onClick:n,className:_.announcementBarClose})]})}var j=n(3215),A=n(9611);var R=n(5158),N=n(3943);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,j.e)(),t=(0,N.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,R.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(P);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,N.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function z(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(8408),M=n(5106);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function W(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}var U={toggle:"toggle_QpWG",toggleButton:"toggleButton_HA4k",darkToggleIcon:"darkToggleIcon_i3Jm",lightToggleIcon:"lightToggleIcon_tTRg",toggleButtonDisabled:"toggleButtonDisabled_Am9_"};function $(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,M.Z)(),s=(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,o.Z)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,o.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,o.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)(W,{className:(0,o.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}var q=r.memo($),H={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_MELe"};function Q(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,F.I)();return r?null:(0,c.jsx)(q,{className:t,buttonClassName:"dark"===n?H.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var Z=n(266);function V(){return(0,c.jsx)(Z.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,j.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(V,{}),(0,c.jsx)(Q,{className:"margin-right--md"}),(0,c.jsx)(G,{})]})}var Y=n(3707),X=n(3373),J=n(6843);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(4153);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...u}=e;const d=(0,X.Z)(r),f=(0,X.Z)(t),p=(0,X.Z)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,J.Z)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[a,h&&(0,c.jsx)(te.Z,{...s&&{width:12,height:12}})]})};return o?(0,c.jsx)(Y.Z,{href:l?p:o,...u,...m}):(0,c.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...u,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,c.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){var t;let{mobile:n=!1,position:r,...o}=e;const a=n?oe:re;return(0,c.jsx)(a,{...o,activeClassName:null!=(t=o.activeClassName)?t:n?"menu__link--active":"navbar__link--active"})}var ie=n(3663),se=n(4064),le=n(2442);function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ce(e){var t;let{items:n,position:a,className:i,onClick:s,...l}=e;const u=(0,r.useRef)(null),[d,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[u]),(0,c.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===a,"dropdown--show":d}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":d,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!d))},children:null!=(t=l.children)?t:l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:n.map(((e,t)=>(0,r.createElement)(Ze,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function de(e){var t;let{items:n,className:a,position:i,onClick:l,...u}=e;const d=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),f=ue(n,d),{collapsed:p,toggleCollapsed:h,setCollapsed:m}=(0,ie.u)({initialState:()=>!f});return(0,r.useEffect)((()=>{f&&m(!f)}),[d,f,m]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,o.Z)("menu__link menu__link--sublist menu__link--sublist-caret",a),...u,onClick:e=>{e.preventDefault(),h()},children:null!=(t=u.children)?t:u.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:n.map(((e,t)=>(0,r.createElement)(Ze,{mobile:!0,isDropdownItem:!0,onClick:l,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?de:ce;return(0,c.jsx)(r,{...n})}var pe=n(5028);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}var me="iconLanguage_RUbi";var ge=n(3771),ye=n(4924),be=n(8213),ve=n(1316),we=n(6329),ke=n(557),xe=n(5486),Se=n(6481),Ee=n(7833),Te=n(596);const Ce='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',_e='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>',Le='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 5H3h14zm0 5H3h14zm0 5H3h14z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>',je='<svg width="20" height="20" viewBox="0 0 20 20"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M18 3v4c0 2-2 4-4 4H2"></path><path d="M8 17l-6-6 6-6"></path></g></svg>',Ae='<svg width="40" height="40" viewBox="0 0 20 20" fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"></path></svg>',Re='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v42M20 27H8.3"></path></g></svg>',Ne='<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v21M20 27H8.3"></path></g></svg>';var Pe={searchBar:"searchBar_ZNED",dropdownMenu:"dropdownMenu_KI5l",searchBarLeft:"searchBarLeft_ylsZ",suggestion:"suggestion_m3ms",cursor:"cursor_qOAr",hitTree:"hitTree_TD98",hitIcon:"hitIcon_fMx6",hitPath:"hitPath_nPSC",noResultsIcon:"noResultsIcon_UhOM",hitFooter:"hitFooter_MyWu",hitWrapper:"hitWrapper_FGPj",hitTitle:"hitTitle_jvEB",hitAction:"hitAction_Dksg",hideAction:"hideAction_DX6M",noResults:"noResults_iR5T",searchBarContainer:"searchBarContainer_nwld",searchBarLoadingRing:"searchBarLoadingRing_RHN6",searchClearButton:"searchClearButton_A9Ts",searchIndexLoading:"searchIndexLoading_TSh5",searchHintContainer:"searchHintContainer_yMUd",searchHint:"searchHint_CJly",focused:"focused_xMO5",input:"input_klxF",hint:"hint_rKnm",suggestions:"suggestions_dbK7",dataset:"dataset_sVTZ",empty:"empty_u4uY"};function Oe(e){let{document:t,type:n,page:r,metadata:o,tokens:a,isInterOfTree:i,isLastOfTree:s}=e;const l=n===ke.P.Title,u=n===ke.P.Keywords,c=l||u,d=n===ke.P.Heading,f=[];i?f.push(Re):s&&f.push(Ne);const p=f.map((e=>'<span class="'+Pe.hitTree+'">'+e+"</span>")),h='<span class="'+Pe.hitIcon+'">'+(c?Ce:d?_e:Le)+"</span>",m=['<span class="'+Pe.hitTitle+'">'+(u?(0,Ee.C)(t.s,a):(0,Te.o)(t.t,(0,Se.m)(o,"t"),a))+"</span>"];if(!i&&!s&&ge.H6){var g;const e=r?null==(g=r.b)?void 0:g.concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;m.push('<span class="'+Pe.hitPath+'">'+(0,xe.e)(null!=e?e:[])+"</span>")}else c||m.push('<span class="'+Pe.hitPath+'">'+(0,Ee.C)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),a)+"</span>");const y='<span class="'+Pe.hitAction+'">'+je+"</span>";return[...p,h,'<span class="'+Pe.hitWrapper+'">',...m,"</span>",y].join("")}function Ie(){return'<span class="'+Pe.noResults+'"><span class="'+Pe.noResultsIcon+'">'+Ae+"</span><span>"+(0,l.I)({id:"theme.SearchBar.noResultsText",message:"No results"})+"</span></span>"}var De=n(6192),ze=n(7208);async function Fe(){const e=await Promise.all([n.e(5920),n.e(8133)]).then(n.t.bind(n,5920,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const Me="_highlight";var Be=function(e){var t,n;let{handleSearchBarToggle:a}=e;const i=(0,M.Z)(),{siteConfig:{baseUrl:u},i18n:{currentLocale:d}}=(0,le.Z)(),f=(0,be.gA)();let p=u;try{var h;const{preferredVersion:e}=(0,ye.J)(null!=(h=null==f?void 0:f.pluginId)?h:ge.gQ);e&&!e.isLast&&(p=e.path+"/")}catch(U){if(ge.l9&&!(U instanceof R.i6))throw U}const m=(0,s.k6)(),g=(0,s.TH)(),y=(0,r.useRef)(null),b=(0,r.useRef)(new Map),v=(0,r.useRef)(!1),[w,k]=(0,r.useState)(!1),[x,S]=(0,r.useState)(!1),[E,T]=(0,r.useState)(""),C=(0,r.useRef)(null),_=(0,r.useRef)(""),[L,j]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(ge.Kc))return;let e="";if(g.pathname.startsWith(p)){const t=g.pathname.substring(p.length);let n;for(const e of ge.Kc){const r="string"==typeof e?e:e.path;if(t===r||t.startsWith(r+"/")){n=r;break}}n&&(e=n)}_.current!==e&&(b.current.delete(e),_.current=e),j(e)}),[g.pathname,p]);const A=!!ge.hG&&Array.isArray(ge.Kc)&&""===L,N=(0,r.useCallback)((async()=>{var e;if(A||b.current.get(L))return;b.current.set(L,"loading"),null==(e=C.current)||e.autocomplete.destroy(),k(!0);const[{wrappedIndexes:t,zhDictionary:n},r]=await Promise.all([(0,ve.w)(p,L),Fe()]);if(C.current=r(y.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,o.Z)(Pe.searchBar,{[Pe.searchBarLeft]:"left"===ge.pu}),noPrefix:!0,dropdownMenu:Pe.dropdownMenu,input:Pe.input,hint:Pe.hint,suggestions:Pe.suggestions,suggestion:Pe.suggestion,cursor:Pe.cursor,dataset:Pe.dataset,empty:Pe.empty}},[{source:(0,we.v)(t,n,ge.qo),templates:{suggestion:Oe,empty:Ie,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&(!L||!ge.pQ))return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),o=new URLSearchParams;let a;if(o.set("q",t),L){const e=L&&Array.isArray(ge.Kc)?ge.Kc.find((e=>"string"==typeof e?e===L:e.path===L)):L,t=e?(0,ze._)(e,d).label:L;a=ge.pQ&&n?(0,l.I)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:t}):(0,l.I)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:t})}else a=(0,l.I)({id:"theme.SearchBar.seeAll",message:"See all results"});if(!L||!Array.isArray(ge.Kc)||ge.pQ&&n||o.set("ctx",L),p!==u){if(!p.startsWith(u))throw new Error("Version url '"+p+"' does not start with base url '"+u+"', this is a bug of `@easyops-cn/docusaurus-search-local`, please report it.");o.set("version",p.substring(u.length))}const i=u+"search?"+o.toString();return r.href=i,r.textContent=a,r.addEventListener("click",(e=>{var t;e.ctrlKey||e.metaKey||(e.preventDefault(),null==(t=C.current)||t.autocomplete.close(),m.push(i))})),r})({query:t,isEmpty:n}),o=document.createElement("div");return o.className=Pe.hitFooter,o.appendChild(r),o}}}]).on("autocomplete:selected",(function(e,t){var n;let{document:{u:r,h:o},tokens:a}=t;null==(n=y.current)||n.blur();let i=r;if(ge.vc&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append(Me,t);i+="?"+e.toString()}o&&(i+=o),m.push(i)})).on("autocomplete:closed",(()=>{var e;null==(e=y.current)||e.blur()})),b.current.set(L,"done"),k(!1),v.current){const e=y.current;var a;if(e.value)null==(a=C.current)||a.autocomplete.open();e.focus()}}),[A,L,p,u,m]);(0,r.useEffect)((()=>{if(!ge.vc)return;const e=i?new URLSearchParams(g.search).getAll(Me):[];setTimeout((()=>{var t;const n=document.querySelector("article");if(!n)return;const r=new ge.vc(n);r.unmark(),0!==e.length&&r.mark(e),T(e.join(" ")),null==(t=C.current)||t.autocomplete.setVal(e.join(" "))}))}),[i,g.search,g.pathname]);const[P,O]=(0,r.useState)(!1),I=(0,r.useCallback)((()=>{v.current=!0,N(),O(!0),null==a||a(!0)}),[a,N]),D=(0,r.useCallback)((()=>{O(!1),null==a||a(!1)}),[a]),z=(0,r.useCallback)((()=>{N()}),[N]),F=(0,r.useCallback)((e=>{T(e.target.value),e.target.value&&S(!0)}),[]),B=!!i&&/mac/i.test(null!=(t=null==(n=navigator.userAgentData)?void 0:n.platform)?t:navigator.platform);(0,r.useEffect)((()=>{if(!ge.AY)return;const e=e=>{var t;!(B?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),null==(t=y.current)||t.focus(),I())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[B,I]);const W=(0,r.useCallback)((()=>{var e;const t=new URLSearchParams(g.search);t.delete(Me);const n=t.toString(),r=g.pathname+(""!=n?"?"+n:"")+g.hash;r!=g.pathname+g.search+g.hash&&m.push(r),T(""),null==(e=C.current)||e.autocomplete.setVal("")}),[g.pathname,g.search,g.hash,m]);return(0,c.jsxs)("div",{className:(0,o.Z)("navbar__search",Pe.searchBarContainer,{[Pe.searchIndexLoading]:w&&x,[Pe.focused]:P}),hidden:A,children:[(0,c.jsx)("input",{placeholder:(0,l.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:z,onFocus:I,onBlur:D,onChange:F,ref:y,value:E}),(0,c.jsx)(De.Z,{className:Pe.searchBarLoadingRing}),ge.AY&&ge.t_&&(""!==E?(0,c.jsx)("button",{className:Pe.searchClearButton,onClick:W,children:"\u2715"}):i&&(0,c.jsxs)("div",{className:Pe.searchHintContainer,children:[(0,c.jsx)("kbd",{className:Pe.searchHint,children:B?"\u2318":"ctrl"}),(0,c.jsx)("kbd",{className:Pe.searchHint,children:"K"})]}))]})},We={navbarSearchContainer:"navbarSearchContainer_bYhf"};function Ue(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(n,We.navbarSearchContainer),children:t})}var $e=n(304),qe=n(3025);const He=e=>e.docs.find((t=>t.id===e.mainDocId));var Qe={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,le.Z)(),f=(0,pe.l)(),{search:p,hash:h}=(0,s.TH)(),m=[...n,...u.map((e=>{const n=""+("pathname://"+f.createUrl({locale:e,fullyQualified:!1}))+p+h+o;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...a,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(Ue,{className:n,children:(0,c.jsx)(Be,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,c.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,$e.Iw)(r),i=(0,qe.vY)(t,r),s=(null==a?void 0:a.path)===(null==i?void 0:i.path);return null===i||i.unlisted&&!s?null:(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>s||!(null==a||!a.sidebar)&&a.sidebar===i.sidebar,label:null!=n?n:i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,$e.Iw)(r),i=(0,qe.oz)(t,r).link;if(!i)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>(null==a?void 0:a.sidebar)===t,label:null!=n?n:i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,qe.lO)(r)[0],i=null!=t?t:a.label,s=null!=n?n:(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,c.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:u,hash:d}=(0,s.TH)(),f=(0,$e.Iw)(n),p=(0,$e.gB)(n),{savePreferredVersionName:h}=(0,ye.J)(n),m=[...o,...p.map((e=>{var t;const n=null!=(t=f.alternateDocVersions[e.name])?t:He(e);return{label:e.label,to:""+n.path+u+d,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}})),...a],g=(0,qe.lO)(n)[0],y=t&&m.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&m.length>1?void 0:He(g).path;return m.length<=1?(0,c.jsx)(ae,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:m,isActive:r?()=>!1:void 0})}};function Ze(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Qe[r];if(!o)throw new Error('No NavbarItem component found for type "'+t+'".');return(0,c.jsx)(o,{...n})}function Ve(){const e=(0,j.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ze,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ge(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ke(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Ge,{onClick:()=>t.hide()}),t.content]})}function Ye(){const e=(0,j.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(z,{header:(0,c.jsx)(K,{}),primaryMenu:(0,c.jsx)(Ve,{}),secondaryMenu:(0,c.jsx)(Ke,{})}):null}var Xe={navbarHideable:"navbarHideable_w2xG",navbarHidden:"navbarHidden_bQ_v"};function Je(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function et(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,w.L)(),i=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<a.current)return void n(!0);if(o.current)return void(o.current=!1);const s=null==r?void 0:r.scrollY,l=document.documentElement.scrollHeight-a.current,u=window.innerHeight;s&&i>=s?n(!1):i+u<l&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:s,"aria-label":(0,l.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Xe.navbarHideable,!d&&Xe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Je,{onClick:i.toggle}),(0,c.jsx)(Ye,{})]})}var tt=n(346),nt={errorBoundaryError:"errorBoundaryError_Aej3",errorBoundaryFallback:"errorBoundaryFallback_Bfw0"};function rt(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function ot(e){let{error:t}=e;const n=(0,tt.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:nt.errorBoundaryError,children:n})}class at extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const it="right";function st(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function lt(){const{toggle:e,shown:t}=(0,j.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,l.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(st,{})})}var ut={colorModeToggle:"colorModeToggle_A5xQ"};function ct(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(at,{onError:t=>new Error("A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n"+JSON.stringify(e,null,2),{cause:t}),children:(0,c.jsx)(Ze,{...e})},t)))})}function dt(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function ft(){const e=(0,j.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){var t;return"left"===(null!=(t=e.position)?t:it)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(dt,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(lt,{}),(0,c.jsx)(V,{}),(0,c.jsx)(ct,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ct,{items:r}),(0,c.jsx)(Q,{className:ut.colorModeToggle}),!o&&(0,c.jsx)(Ue,{children:(0,c.jsx)(Be,{})})]})})}function pt(){return(0,c.jsx)(et,{children:(0,c.jsx)(ft,{})})}function ht(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,X.Z)(n),l=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function mt(e){var t;let{item:n}=e;return n.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(ht,{item:n})},null!=(t=n.href)?t:n.to)}function gt(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(mt,{item:e},t)))})]})}function yt(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(gt,{column:e},t)))})}function bt(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function vt(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(ht,{item:t})}function wt(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(vt,{item:e}),t.length!==n+1&&(0,c.jsx)(bt,{})]},n)))})})}function kt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(yt,{columns:t}):(0,c.jsx)(wt,{links:t})}var xt=n(3108),St={footerLogoLink:"footerLogoLink_TWN7"};function Et(e){var t;let{logo:n}=e;const{withBaseUrl:r}=(0,X.C)(),a={light:r(n.src),dark:r(null!=(t=n.srcDark)?t:n.src)};return(0,c.jsx)(xt.Z,{className:(0,o.Z)("footer__logo",n.className),alt:n.alt,sources:a,width:n.width,height:n.height,style:n.style})}function Tt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Y.Z,{href:t.href,className:St.footerLogoLink,target:t.target,children:(0,c.jsx)(Et,{logo:t})}):(0,c.jsx)(Et,{logo:t})}function Ct(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function _t(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function Lt(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(_t,{style:o,links:n&&n.length>0&&(0,c.jsx)(kt,{links:n}),logo:r&&(0,c.jsx)(Tt,{logo:r}),copyright:t&&(0,c.jsx)(Ct,{copyright:t})})}var jt=r.memo(Lt);const At=(0,R.Qc)([F.S,k.pl,A.OC,ye.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(N.n2,{children:(0,c.jsx)(j.M,{children:(0,c.jsx)(O,{children:t})})})}]);function Rt(e){let{children:t}=e;return(0,c.jsx)(At,{children:t})}var Nt=n(4974);function Pt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(Nt.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(rt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(ot,{error:t})})]})})})}var Ot={mainWrapper:"mainWrapper_se6T"};function It(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,y.t)(),(0,c.jsxs)(Rt,{children:[(0,c.jsx)(i.d,{title:s,description:l}),(0,c.jsx)(v,{}),(0,c.jsx)(L,{}),(0,c.jsx)(pt,{}),(0,c.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,Ot.mainWrapper,r),children:(0,c.jsx)(a.Z,{fallback:e=>(0,c.jsx)(Pt,{...e}),children:t})}),!n&&(0,c.jsx)(jt,{})]})}},266:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(3900);var r=n(3707),o=n(3373),a=n(2442),i=n(4715),s=n(3108),l=n(966);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,l.jsx)(s.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function c(e){var t;const{siteConfig:{title:n}}=(0,a.Z)(),{navbar:{title:s,logo:c}}=(0,i.L)(),{imageClassName:d,titleClassName:f,...p}=e,h=(0,o.Z)((null==c?void 0:c.href)||"/"),m=s?"":n,g=null!=(t=null==c?void 0:c.alt)?t:m;return(0,l.jsxs)(r.Z,{to:h,...p,...(null==c?void 0:c.target)&&{target:c.target},children:[c&&(0,l.jsx)(u,{logo:c,alt:g,imageClassName:d}),null!=s&&(0,l.jsx)("b",{className:f,children:s})]})}},3806:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(3900);var r=n(743),o=n(966);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},3108:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(3900),o=n(7515),a=n(5106),i=n(8408),s={themedComponent:"themedComponent_lAfP","themedComponent--light":"themedComponent--light_XB4J","themedComponent--dark":"themedComponent--dark_kBbf"},l=n(966);function u(e){let{className:t,children:n}=e;const u=(0,a.Z)(),{colorMode:c}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s["themedComponent--"+e])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},3663:function(e,t,n){"use strict";n.d(t,{u:function(){return u},z:function(){return y}});var r=n(3900),o=n(3043),a=n(2194),i=n(7525),s=n(966);const l="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(null!=t&&t),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){var t,n;const r=e.scrollHeight,a=null!=(t=null==o?void 0:o.duration)?t:function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(r);return{transition:"height "+a+"ms "+(null!=(n=null==o?void 0:o.easing)?n:l),height:r+"px"}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return f(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.Z.canUseDOM)return e?c:d}function m(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:c,style:u?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(c.current,n),null==i||i(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,u]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&u(t)}),[o,t]),o?(0,s.jsx)(m,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},3308:function(e,t,n){"use strict";n.d(t,{nT:function(){return m},pl:function(){return h}});var r=n(3900),o=n(5106),a=n(4780),i=n(5158),s=n(4715),l=n(966);const u=(0,a.WA)("docusaurus.announcement.dismiss"),c=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&f(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},8408:function(e,t,n){"use strict";n.d(t,{I:function(){return y},S:function(){return g}});var r=n(3900),o=n(3043),a=n(5158),i=n(4780),s=n(4715),l=n(966);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[o,a]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&m(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[o,i])}();return(0,l.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4924:function(e,t,n){"use strict";n.d(t,{J:function(){return v},L5:function(){return y}});var r=n(3900),o=n(8213),a=n(63),i=n(4715),s=n(3025),l=n(5158),u=n(4780),c=n(966);const d=e=>"docs-preferred-version-"+e,f={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,c.jsx)(h.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.cE?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(h);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){var t;void 0===e&&(e=a.m);const n=(0,o.zh)(e),[i,s]=b(),{preferredVersionName:l}=i[e];return{preferredVersion:null!=(t=n.versions.find((e=>e.name===l)))?t:null,savePreferredVersionName:(0,r.useCallback)((t=>{s.savePreferredVersion(e,t)}),[s,e])}}},9888:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return l}});var r=n(3900),o=n(5158),a=n(966);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},7924:function(e,t,n){"use strict";n.d(t,{E:function(){return l},q:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},3215:function(e,t,n){"use strict";n.d(t,{M:function(){return p},e:function(){return h}});var r=n(3900),o=n(3943),a=n(879),i=n(382),s=n(5158);function l(e){!function(e){const t=(0,i.k6)(),n=(0,s.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(4715),c=n(966);const d=r.createContext(void 0);function f(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const c=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function p(e){let{children:t}=e;const n=f();return(0,c.jsx)(d.Provider,{value:n,children:t})}function h(){const e=r.useContext(d);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3943:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},Zo:function(){return u},n2:function(){return s}});var r=n(3900),o=n(5158),a=n(966);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Ql)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},3936:function(e,t,n){"use strict";n.d(t,{h:function(){return o},t:function(){return a}});var r=n(3900);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},879:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(3900),o=n(3043);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(){const[e,t]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){t(function(){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?a.desktop:a.mobile}())}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},8512:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>"theme-admonition-"+e},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>"theme-doc-sidebar-item-category-level-"+e,docSidebarItemLinkLevel:e=>"theme-doc-sidebar-item-link-level-"+e},blog:{}}},7525:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},3025:function(e,t,n){"use strict";n.d(t,{MN:function(){return _},LM:function(){return h},_F:function(){return b},cE:function(){return f},jA:function(){return m},xz:function(){return p},SN:function(){return C},lO:function(){return S},vY:function(){return T},oz:function(){return E},s1:function(){return x},f:function(){return w}});var r=n(3900),o=n(382),a=n(4518),i=n(8213),s=n(4924),l=n(7924),u=n(9888);function c(e){return Array.from(new Set(e))}var d=n(4064);const f=!!i._r;function p(e){const t=(0,l.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error("no version doc found by id="+e);return n}function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=h(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,o.TH)(),t=(0,u.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(e+" is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.");return n}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),y=(e,t)=>e.some((e=>b(e,t)));function b(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||y(e.items,t))}function v(e,t){switch(e.type){case"category":return b(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||b(e,t);default:return!1}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function x(){var e;const t=(0,u.V)(),{pathname:n}=(0,o.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?k({sidebarItems:t.items,pathname:n}):null}function S(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,s.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((e=>e.name)).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((e=>e[0])).join("\n- "));return r[1]}),[e,n])}function T(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((e=>e.name)).join(", ")+'".\nAvailable doc ids are:\n- '+c(t.map((e=>e.id))).join("\n- "))}return r}),[e,n])}function C(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,l.E)(),i=t.routes,s=i.find((e=>(0,o.LX)(n.pathname,e)));if(!s)return null;const u=s.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.H)(i),sidebarName:u,sidebarItems:c}}function _(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!h(e)))}},4181:function(e,t,n){"use strict";n.d(t,{FG:function(){return p},d:function(){return d},VC:function(){return h}});var r=n(3900),o=n(7515),a=n(743),i=n(778);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(3373),u=n(2442);var c=n(966);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),{withBaseUrl:d}=(0,l.C)(),f=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.Z,{children:[t&&(0,c.jsx)("title",{children:s}),t&&(0,c.jsx)("meta",{property:"og:title",content:s}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,o.Z)(i,t);return(0,c.jsxs)(f.Provider,{value:s,children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"");const a="plugin-id-"+n.plugin.id;return(0,c.jsx)(p,{className:(0,o.Z)(r,a),children:t})}},5158:function(e,t,n){"use strict";n.d(t,{D9:function(){return s},Qc:function(){return c},Ql:function(){return u},i6:function(){return l},zX:function(){return i}});var r=n(3900),o=n(2194),a=n(966);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r;super(),this.name="ReactContextError",this.message="Hook "+(null!=(n=null==(r=this.stack)||null==(r=r.split("\n")[1])||null==(r=r.match(/at (?:\w+\.)?(?<name>\w+)/))?void 0:r.groups.name)?n:"")+" is called outside the <"+e+">. "+(null!=t?t:"")}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},4064:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return s}});var r=n(3900),o=n(9850),a=n(2442);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>{var t;return null!=(t=e.routes)?t:[]})))}(n)}({routes:o.Z,baseUrl:e})),[e])}},9611:function(e,t,n){"use strict";n.d(t,{Ct:function(){return p},OC:function(){return u},RF:function(){return f}});var r=n(3900),o=n(3043),a=n(5106),i=(n(2194),n(5158)),s=n(966);const l=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},488:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},os:function(){return o}});n(2442);const r="default";function o(e,t){return"docs-"+e+"-"+t}},4780:function(e,t,n){"use strict";n.d(t,{WA:function(){return l}});n(3900);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(e);const n=a(null==t?void 0:t.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error("Docusaurus storage error, can't listen for changes of key="+e,r),()=>{}}}}}},5028:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2442),o=n(382),a=n(346);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,o.TH)(),u=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),c=s===i?e:e.replace("/"+s+"/","/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return""+(r?t:"")+function(e){return e===i?""+c:""+c+e+"/"}(n)+d}}}},8257:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(3900),o=n(382),a=n(5158);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},4715:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2442);function o(){return(0,r.Z)().siteConfig.themeConfig}},4848:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},346:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(4848);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(231);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},1054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:e+"/"}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},710:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},181:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(1054);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(710);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},6192:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});n(3900);var r=n(7515),o={loadingRing:"loadingRing_MTs2","loading-ring":"loading-ring_ymXU"},a=n(966);function i(e){let{className:t}=e;return(0,a.jsxs)("div",{className:(0,r.Z)(o.loadingRing,t),children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]})}},1316:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(8355),o=n.n(r),a=n(3771);const i=new Map;function s(e,t){const n=""+e+t;let r=i.get(n);return r||(r=async function(e,t){{const n=""+e+a.J.replace("{dir}",t?"-"+t.replace(/\//g,"-"):"");if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:o().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},6329:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(8355),o=n.n(r);var a=n(3771);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:o().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?o().Query.wildcard.TRAILING:o().Query.wildcard.NONE})))})))}var l=n(557);function u(e,t,n){return function(r,s){const u=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return o()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,a.dK);if(0===u.length)return void s([]);const c=function(e,t){const n=function(e,t){const n=[];return function e(r,o){if(0===r.length)return void n.push(o);const a=r[0];if(/\p{Unified_Ideograph}/u.test(a)){const n=function(e,t){const n=[];return function e(r,o){let a=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:o.missed,term:o.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>a;t-=1){const l=s.substr(0,t);if(r.substr(0,t)===l){a=t;const s={missed:o.missed,term:o.term.concat({value:l,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:o.missed+1,term:o.term}):o.term.length>0&&n.push(o))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(a,t);for(const t of n){const n=o.concat(...t);e(r.slice(1),n)}}else{const t=o.concat({value:a});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:o().Query.presence.REQUIRED,wildcard:o().Query.wildcard.LEADING|o().Query.wildcard.TRAILING})))}];for(const o of n)o[o.length-1].maybeTyping=!0;const r=[];for(const i of a.dK)if("en"===i)a._k||r.unshift(o().stopWordFilter);else{const e=o()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length<r.length&&n.length>0&&t.push(n)}n.push(...t)}else s=n.slice();const l=[];for(const o of s)if(o.length>2)for(let e=o.length-1;e>=0;e-=1)l.push(o.slice(0,e).concat(o.slice(e+1)));return i(n).concat(i(l))}(u,t),d=[];e:for(const{term:t,tokens:o}of c)for(const{documents:r,index:a,type:i}of e)if(d.push(...a.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!d.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-d.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:i!==l.P.Title&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:o,score:t.score}}))),d.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type!==l.P.Heading&&t.type!==l.P.Content&&t.type!==l.P.Description||!t.page?t.index:e.findIndex((e=>e.document===t.page)),o=n.type!==l.P.Heading&&n.type!==l.P.Content&&n.type!==l.P.Description||!n.page?n.index:e.findIndex((e=>e.document===n.page));if(-1===r&&(r=t.index),-1===o&&(o=n.index),r===o){const e=(0===n.type?1:0)-(0===t.type?1:0);return 0===e?t.index-n.index:e}return r-o}))}(d),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.slice(0,n).some((e=>(e.type===l.P.Keywords?e.page:e.document)===t.page))&&(n<e.length-1&&e[n+1].page===t.page?t.isInterOfTree=!0:t.isLastOfTree=!0)}))}(d),s(d)}}},5486:function(e,t,n){"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{e:function(){return r}})},1071:function(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{X:function(){return r}})},6481:function(e,t,n){"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{m:function(){return r}})},7833:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(1071);function o(e,t,n){const a=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&a.push(o(e.substr(0,n),t)),a.push("<mark>"+(0,r.X)(e.substr(n,i.length))+"</mark>");const s=n+i.length;s<e.length&&a.push(o(e.substr(s),t));break}}return 0===a.length?n?"<mark>"+(0,r.X)(e)+"</mark>":(0,r.X)(e):a.join("")}},596:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});var r=n(1071),o=n(7833);const a=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const o=r.match(a);if(!o){t.push(r);break}o.index>0&&t.push(r.substring(0,o.index)),t.push(o[0]),n+=o.index+o[0].length,r=e.substring(n)}return t}var s=n(3771);function l(e,t,n,a){void 0===a&&(a=s.Hk);const{chunkIndex:l,chunks:u}=function(e,t,n){const a=[];let s=0,l=0,u=-1;for(;s<t.length;){const[c,d]=t[s];if(s+=1,!(c<l)){if(c>l){const t=i(e.substring(l,c)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}-1===u&&(u=a.length),l=c+d,a.push({html:(0,o.C)(e.substring(c,l),n,!0),textLength:d})}}if(l<e.length){const t=i(e.substring(l)).map((e=>({html:(0,r.X)(e),textLength:e.length})));for(const e of t)a.push(e)}return{chunkIndex:u,chunks:a}}(e,t,n),c=u.slice(0,l),d=u[l],f=[d.html],p=u.slice(l+1);let h=d.textLength,m=0,g=0,y=!1,b=!1;for(;h<a;)if((m<=g||0===p.length)&&c.length>0){const e=c.pop();h+e.textLength<=a?(f.unshift(e.html),m+=e.textLength,h+=e.textLength):(y=!0,c.length=0)}else{if(!(p.length>0))break;{const e=p.shift();h+e.textLength<=a?(f.push(e.html),g+=e.textLength,h+=e.textLength):(b=!0,p.length=0)}}return(y||c.length>0)&&f.unshift("\u2026"),(b||p.length>0)&&f.push("\u2026"),f.join("")}},7208:function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{const{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{_:function(){return r}})},3771:function(e,t,n){"use strict";n.d(t,{vc:function(){return i()},gQ:function(){return g},H6:function(){return f},hG:function(){return v},l9:function(){return y},dK:function(){return s},_k:function(){return l},pu:function(){return m},AY:function(){return p},t_:function(){return h},Kc:function(){return b},J:function(){return u},Hk:function(){return d},qo:function(){return c},pQ:function(){return w}});var r=n(8355),o=n.n(r),a=n(7179),i=n.n(a);n(1651)(o()),n(5634).w(o()),n(5654)(o());const s=["en","zh"],l=!1,u="search-index{dir}.json?_=2cfa5a27",c=8,d=50,f=!0,p=!0,h=!0,m="right",g=void 0,y=!0,b=null,v=!1,w=!1},557:function(e,t,n){"use strict";var r;n.d(t,{P:function(){return r}}),function(e){e[e.Title=0]="Title",e[e.Heading=1]="Heading",e[e.Description=2]="Description",e[e.Keywords=3]="Keywords",e[e.Content=4]="Content"}(r||(r={}))},5634:function(e,t,n){"use strict";function r(e){const t=new RegExp("^[^"+e+"]+","u"),n=new RegExp("[^"+e+"]+$","u");return function(e){return e.update((function(e){return e.replace(t,"").replace(n,"")}))}}function o(e,t){e.trimmerSupport.generateTrimmer=r,e.zh=function(){this.pipeline.reset(),this.pipeline.add(e.zh.trimmer,e.zh.stopWordFilter),t&&(this.tokenizer=t)},t&&(e.zh.tokenizer=t),e.zh.wordCharacters="\\u3400-\\u4DBF\\u4E00-\\u9FFC\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29\\u{20000}-\\u{2A6DD}\\u{2A700}-\\u{2B734}\\u{2B740}-\\u{2B81D}\\u{2B820}-\\u{2CEA1}\\u{2CEB0}-\\u{2EBE0}\\u{30000}-\\u{3134A}",e.zh.trimmer=e.trimmerSupport.generateTrimmer(e.zh.wordCharacters),e.Pipeline.registerFunction(e.zh.trimmer,"trimmer-zh"),e.zh.stopWordFilter=e.generateStopWordFilter("\u7684 \u4e00 \u4e0d \u5728 \u4eba \u6709 \u662f \u4e3a \u4ee5 \u4e8e \u4e0a \u4ed6 \u800c \u540e \u4e4b \u6765 \u53ca \u4e86 \u56e0 \u4e0b \u53ef \u5230 \u7531 \u8fd9 \u4e0e \u4e5f \u6b64 \u4f46 \u5e76 \u4e2a \u5176 \u5df2 \u65e0 \u5c0f \u6211 \u4eec \u8d77 \u6700 \u518d \u4eca \u53bb \u597d \u53ea \u53c8 \u6216 \u5f88 \u4ea6 \u67d0 \u628a \u90a3 \u4f60 \u4e43 \u5b83 \u5427 \u88ab \u6bd4 \u522b \u8d81 \u5f53 \u4ece \u5230 \u5f97 \u6253 \u51e1 \u513f \u5c14 \u8be5 \u5404 \u7ed9 \u8ddf \u548c \u4f55 \u8fd8 \u5373 \u51e0 \u65e2 \u770b \u636e \u8ddd \u9760 \u5566 \u4e86 \u53e6 \u4e48 \u6bcf \u4eec \u561b \u62ff \u54ea \u90a3 \u60a8 \u51ed \u4e14 \u5374 \u8ba9 \u4ecd \u5565 \u5982 \u82e5 \u4f7f \u8c01 \u867d \u968f \u540c \u6240 \u5979 \u54c7 \u55e1 \u5f80 \u54ea \u4e9b \u5411 \u6cbf \u54df \u7528 \u4e8e \u54b1 \u5219 \u600e \u66fe \u81f3 \u81f4 \u7740 \u8bf8 \u81ea".split(" ")),e.Pipeline.registerFunction(e.zh.stopWordFilter,"stopWordFilter-zh")}n.d(t,{w:function(){return o}})},9850:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});n(3900);var r=n(5009),o=n.n(r),a=n(6887),i={"01a85c17":[()=>Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,5538)),"@theme/BlogTagsListPage",5538],"0e384e19":[()=>n.e(9671).then(n.bind(n,6133)),"@site/docs/intro.md",6133],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,2260)),"@theme/DocCategoryGeneratedIndexPage",2260],17451492:[()=>n.e(9377).then(n.t.bind(n,741,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-hola-76a.json",741],17896441:[()=>Promise.all([n.e(532),n.e(2118),n.e(7918)]).then(n.bind(n,6820)),"@theme/DocItem",6820],"18c41134":[()=>n.e(2859).then(n.bind(n,70)),"@site/docs/tutorial-basics/markdown-features.mdx",70],"1a4922cc":[()=>n.e(8293).then(n.bind(n,3129)),"@site/versioned_docs/version-1.0.0/doc3.md",3129],"1a4e3797":[()=>Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,8713)),"@theme/SearchPage",8713],"1cbf0e34":[()=>n.e(7195).then(n.t.bind(n,2776,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/@easyops-cn/docusaurus-search-local/default/plugin-route-context-module-100.json",2776],"1e4232ab":[()=>n.e(8818).then(n.bind(n,1567)),"@site/docs/tutorial-basics/create-a-document.md",1567],"269baefd":[()=>n.e(8611).then(n.bind(n,1112)),"@site/versioned_docs/version-1.0.0/mdx.mdx",1112],"2868cdab":[()=>n.e(4061).then(n.bind(n,6586)),"@site/blog/2019-05-30-welcome.md",6586],"2ea63f09":[()=>n.e(7801).then(n.t.bind(n,8051,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-hello-b88.json",8051],"337aaa52":[()=>n.e(4854).then(n.bind(n,4937)),"@site/docs/unlisted-post.md",4937],"3570154c":[()=>n.e(3707).then(n.bind(n,98)),"@site/blog/2019-05-29-hello-world.md?truncated=true",98],"3720c009":[()=>Promise.all([n.e(532),n.e(3751)]).then(n.bind(n,3821)),"@theme/DocTagsListPage",3821],"376a6b2e":[()=>n.e(7626).then(n.t.bind(n,1295,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-archive-143.json",1295],"3a35335b":[()=>n.e(5322).then(n.bind(n,9679)),"@site/blog/2019-06-15-writing-good-unit-tests.md",9679],"438ae6a5":[()=>n.e(9064).then(n.t.bind(n,1588,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-facebook-3de.json",1588],"533a09ca":[()=>n.e(4607).then(n.bind(n,3089)),"@site/docs/tutorial-basics/create-a-blog-post.md",3089],55526312:[()=>n.e(3408).then(n.bind(n,3321)),"@site/versioned_docs/version-1.0.0/doc2.md",3321],"55960ee5":[()=>n.e(4121).then(n.t.bind(n,8070,19)),"~docs/default/tags-list-current-prop-15a.json",8070],"562b6f2f":[()=>n.e(2894).then(n.t.bind(n,6657,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-docusaurus-941-list.json",6657],"5c868d36":[()=>n.e(5589).then(n.bind(n,3408)),"@site/docs/tutorial-basics/create-a-page.md",3408],"5e2d61df":[()=>n.e(139).then(n.t.bind(n,3691,19)),"~docs/default/category-docusaurus-search-localzh-twdocsnext-tutorialsidebar-category-tutorial-basics-a98.json",3691],"5e95c892":[()=>n.e(9661).then(n.bind(n,1013)),"@theme/DocsRoot",1013],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"61b4d5cb":[()=>n.e(2652).then(n.t.bind(n,455,19)),"~docs/default/tag-docusaurus-search-local-zh-tw-docs-next-tags-test-169.json",455],"62e81aa6":[()=>n.e(5329).then(n.t.bind(n,4421,19)),"~docs/default/version-1-0-0-metadata-prop-608.json",4421],"66664d5e":[()=>n.e(2353).then(n.t.bind(n,6108,19)),"~docs/default/category-docusaurus-search-localzh-twdocsnext-tutorialsidebar-category-tutorial-extras-cfb.json",6108],"6875c492":[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(8610)]).then(n.bind(n,9829)),"@theme/BlogTagsPostsPage",9829],"6b3775fa":[()=>n.e(4484).then(n.t.bind(n,3769,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"76dd5930":[()=>n.e(719).then(n.t.bind(n,4347,19)),"~docs/default/tag-docusaurus-search-local-zh-tw-docs-next-tags-keywords-c89.json",4347],"7acd0c93":[()=>n.e(3125).then(n.t.bind(n,5745,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"807d5d2d":[()=>n.e(1528).then(n.bind(n,5220)),"@site/blog/2019-06-15-writing-good-unit-tests.md?truncated=true",5220],"814f3328":[()=>n.e(2535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"822bd8ab":[()=>n.e(6504).then(n.bind(n,3932)),"@site/docs/tutorial-basics/congratulations.md",3932],"8e9f0a8a":[()=>n.e(4035).then(n.bind(n,4562)),"@site/blog/2019-05-28-hola.md?truncated=true",4562],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94c7b267":[()=>n.e(7728).then(n.t.bind(n,8905,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-docusaurus-941.json",8905],"9e07b075":[()=>n.e(6537).then(n.t.bind(n,4320,19)),"~docs/default/tag-docusaurus-search-local-zh-tw-docs-next-tags-front-matter-9a0.json",4320],"9e4087bc":[()=>n.e(3608).then(n.bind(n,4160)),"@theme/BlogArchivePage",4160],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(3089)]).then(n.bind(n,3705)),"@theme/BlogListPage",3705],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,9741)),"@theme/DocVersionRoot",9741],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,5578)),"@theme/DocRoot",5578],af172acd:[()=>n.e(1449).then(n.bind(n,9322)),"@site/blog/2019-05-30-welcome.md?truncated=true",9322],b2cfdf8c:[()=>n.e(6253).then(n.t.bind(n,8588,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-d53.json",8588],bc103642:[()=>n.e(2995).then(n.t.bind(n,2161,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-tags-eb7.json",2161],bdd709f1:[()=>n.e(4694).then(n.bind(n,846)),"@site/blog/2019-05-28-hola.md",846],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,9750)),"@site/src/pages/index.js",9750],c7798012:[()=>n.e(5560).then(n.bind(n,4361)),"@site/versioned_docs/version-1.0.0/doc-in-pt.md",4361],c9e2ad75:[()=>n.e(4079).then(n.t.bind(n,9916,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-hello-b88-list.json",9916],ccc49370:[()=>Promise.all([n.e(532),n.e(2118),n.e(5130),n.e(6103)]).then(n.bind(n,3378)),"@theme/BlogPostPage",3378],d3609805:[()=>n.e(8864).then(n.t.bind(n,4469,19)),"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],d610846f:[()=>n.e(6176).then(n.bind(n,1940)),"@site/blog/2019-05-29-hello-world.md",1940],d6c84f37:[()=>n.e(6372).then(n.t.bind(n,6845,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-facebook-3de-list.json",6845],df203c0f:[()=>Promise.all([n.e(532),n.e(9924)]).then(n.bind(n,2883)),"@theme/DocTagDocListPage",2883],dff1c289:[()=>n.e(3792).then(n.bind(n,9309)),"@site/docs/tutorial-extras/manage-docs-versions.md",9309],e44a2883:[()=>n.e(6755).then(n.bind(n,7701)),"@site/docs/tutorial-extras/translate-your-site.md",7701],eb2f9b91:[()=>n.e(9435).then(n.t.bind(n,8522,19)),"~blog/default/docusaurus-search-local-zh-tw-blog-tags-hola-76a-list.json",8522],f054516d:[()=>n.e(1771).then(n.bind(n,5679)),"@site/versioned_docs/version-1.0.0/doc1.md",5679],f55d3e7a:[()=>n.e(4193).then(n.bind(n,622)),"@site/docs/tutorial-basics/deploy-your-site.md",622]},s=n(966);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7126),c=n(778);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(7024).then(n.bind(n,7024)),modules:["@theme/NotFound"],webpack:()=>[7024],render(e,t){const n=e.default;return(0,s.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[e+"-"+t],d={},f=[],p=[],h=(0,u.Z)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),o().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,s.jsx)(c.z,{value:i,children:(0,s.jsx)(a,{...o,...n})})}})}var f=[{path:"/docusaurus-search-local/zh-TW/blog",component:d("/docusaurus-search-local/zh-TW/blog","9aa"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/archive",component:d("/docusaurus-search-local/zh-TW/blog/archive","282"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/hello-world",component:d("/docusaurus-search-local/zh-TW/blog/hello-world","48b"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/hola",component:d("/docusaurus-search-local/zh-TW/blog/hola","7c1"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/tags",component:d("/docusaurus-search-local/zh-TW/blog/tags","b58"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/tags/docusaurus",component:d("/docusaurus-search-local/zh-TW/blog/tags/docusaurus","65f"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/tags/facebook",component:d("/docusaurus-search-local/zh-TW/blog/tags/facebook","0f6"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/tags/hello",component:d("/docusaurus-search-local/zh-TW/blog/tags/hello","bf3"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/tags/hola",component:d("/docusaurus-search-local/zh-TW/blog/tags/hola","546"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/welcome",component:d("/docusaurus-search-local/zh-TW/blog/welcome","942"),exact:!0},{path:"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests",component:d("/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","edc"),exact:!0},{path:"/docusaurus-search-local/zh-TW/search",component:d("/docusaurus-search-local/zh-TW/search","3c1"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs",component:d("/docusaurus-search-local/zh-TW/docs","676"),routes:[{path:"/docusaurus-search-local/zh-TW/docs/next",component:d("/docusaurus-search-local/zh-TW/docs/next","514"),routes:[{path:"/docusaurus-search-local/zh-TW/docs/next/tags",component:d("/docusaurus-search-local/zh-TW/docs/next/tags","3dc"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs/next/tags/front-matter",component:d("/docusaurus-search-local/zh-TW/docs/next/tags/front-matter","842"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs/next/tags/keywords",component:d("/docusaurus-search-local/zh-TW/docs/next/tags/keywords","146"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs/next/tags/test",component:d("/docusaurus-search-local/zh-TW/docs/next/tags/test","65b"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs/next",component:d("/docusaurus-search-local/zh-TW/docs/next","747"),routes:[{path:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics",component:d("/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics","268"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras",component:d("/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras","ceb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/intro",component:d("/docusaurus-search-local/zh-TW/docs/next/intro","77b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","caa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","cf6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","7c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","fb5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","013"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","802"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","cfc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site",component:d("/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","7d9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/next/unlisted-post",component:d("/docusaurus-search-local/zh-TW/docs/next/unlisted-post","4e6"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/docusaurus-search-local/zh-TW/docs",component:d("/docusaurus-search-local/zh-TW/docs","2d6"),routes:[{path:"/docusaurus-search-local/zh-TW/docs",component:d("/docusaurus-search-local/zh-TW/docs","970"),routes:[{path:"/docusaurus-search-local/zh-TW/docs/",component:d("/docusaurus-search-local/zh-TW/docs/","22b"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/doc-in-pt",component:d("/docusaurus-search-local/zh-TW/docs/doc-in-pt","9fc"),exact:!0},{path:"/docusaurus-search-local/zh-TW/docs/doc2",component:d("/docusaurus-search-local/zh-TW/docs/doc2","7aa"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/doc3",component:d("/docusaurus-search-local/zh-TW/docs/doc3","88e"),exact:!0,sidebar:"someSidebar"},{path:"/docusaurus-search-local/zh-TW/docs/mdx",component:d("/docusaurus-search-local/zh-TW/docs/mdx","a34"),exact:!0,sidebar:"someSidebar"}]}]}]},{path:"/docusaurus-search-local/zh-TW/",component:d("/docusaurus-search-local/zh-TW/","523"),exact:!0},{path:"*",component:d("*")}]},4553:function(e,t,n){"use strict";n.r(t)},8306:function(e,t,n){"use strict";n.r(t)},600:function(e,t,n){"use strict";var r=n(3900),o=n(4179);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),_=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,z=Object.assign;function F(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var M=!1;function B(e,t){if(!e||M)return"";M=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{M=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function W(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case T:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function V(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&V(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ae(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Te(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function _e(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Te(e),t)for(e=0;e<t.length;e++)Te(t[e])}}function Le(e,t){return e(t)}function je(){}var Ae=!1;function Re(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Le(e,t,n)}finally{Ae=!1,(null!==Se||null!==Ee)&&(je(),_e())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Pe=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Pe=!1}function Ie(e,t,n,r,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,ze=null,Fe=!1,Me=null,Be={onError:function(e){De=!0,ze=e}};function We(e,t,n,r,o,a,i,s,l){De=!1,ze=null,Ie.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(Ue(e)!==e)throw Error(a(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return qe(o),e;if(i===r)return qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var Ze=o.unstable_scheduleCallback,Ve=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~o;0!==s?r=dt(s):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,Tt,Ct=!1,_t=[],Lt=null,jt=null,At=null,Rt=new Map,Nt=new Map,Pt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Lt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function zt(e){var t=vo(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void Tt(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Mt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Lt&&Ft(Lt)&&(Lt=null),null!==jt&&Ft(jt)&&(jt=null),null!==At&&Ft(At)&&(At=null),Rt.forEach(Mt),Nt.forEach(Mt)}function Wt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return Wt(t,e)}if(0<_t.length){Wt(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Lt&&Wt(Lt,e),null!==jt&&Wt(jt,e),null!==At&&Wt(At,e),Rt.forEach(t),Nt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)zt(n),null===n.blockedOn&&Pt.shift()}var $t=w.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=vt,a=$t.transition;$t.transition=null;try{vt=1,Zt(e,t,n,r)}finally{vt=o,$t.transition=a}}function Qt(e,t,n,r){var o=vt,a=$t.transition;$t.transition=null;try{vt=4,Zt(e,t,n,r)}finally{vt=o,$t.transition=a}}function Zt(e,t,n,r){if(qt){var o=Gt(e,t,n,r);if(null===o)qr(e,t,r,Vt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Lt=Dt(Lt,e,t,n,r,o),!0;case"dragenter":return jt=Dt(jt,e,t,n,r,o),!0;case"mouseover":return At=Dt(At,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Rt.set(a,Dt(Rt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Nt.set(a,Dt(Nt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&kt(a),null===(a=Gt(e,t,n,r))&&qr(e,t,r,Vt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Vt=null;function Gt(e,t,n,r){if(Vt=null,null!==(e=vo(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=z({},un,{view:0,detail:0}),fn=on(dn),pn=z({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(z({},pn,{dataTransfer:0})),gn=on(z({},dn,{relatedTarget:0})),yn=on(z({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=z({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(bn),wn=on(z({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Tn(){return En}var Cn=z({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=on(Cn),Ln=on(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=on(z({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tn})),An=on(z({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Rn),Pn=[9,13,27,32],On=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,zn=c&&(!On||In&&8<In&&11>=In),Fn=String.fromCharCode(32),Mn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Hn(e,t,n,r){Ce(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Zn=null;function Vn(e){Fr(e,0)}function Gn(e){if(Z(ko(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Qn&&(Qn.detachEvent("onpropertychange",nr),Zn=Qn=null)}function nr(e){if("value"===e.propertyName&&Gn(Zn)){var t=[];Hn(t,Zn,e,ke(e)),Re(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(Qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Zn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=V();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=V((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==V(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&lr(br,r)||(br=r,0<(r=Qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Tr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=Tr("animationend"),_r=Tr("animationiteration"),Lr=Tr("animationstart"),jr=Tr("transitionend"),Ar=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Ar.set(e,t),l(t,[e])}for(var Pr=0;Pr<Rr.length;Pr++){var Or=Rr[Pr];Nr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Nr(Cr,"onAnimationEnd"),Nr(_r,"onAnimationIteration"),Nr(Lr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(jr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function zr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if(We.apply(this,arguments),De){if(!De)throw Error(a(198));var c=ze;De=!1,ze=null,Fe||(Fe=!0,Me=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;zr(o,s,u),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;zr(o,s,u),a=l}}}if(Fe)throw e=Me,Fe=!1,Me=null,e}function Mr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Wr]){e[Wr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,Br("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Kt(t)){case 1:var o=Ht;break;case 4:o=Qt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=vo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Re((function(){var r=a,o=ke(n),i=[];e:{var s=Ar.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=_n;break;case"focusin":u="focus",l=gn;break;case"focusout":u="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=jn;break;case Cr:case _r:case Lr:l=yn;break;case jr:l=An;break;case"scroll":l=fn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ln}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ne(h,f))&&c.push(Hr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),i.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!vo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?vo(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ln,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:ko(l),p=null==u?s:ko(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,vo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Zr(p))h++;for(p=0,m=f;m;m=Zr(m))p++;for(;0<h-p;)c=Zr(c),h--;for(;0<p-h;)f=Zr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Zr(c),f=Zr(f)}c=null}else c=null;null!==l&&Vr(i,s,l,c,!1),null!==u&&null!==d&&Vr(i,d,u,c,!0)}if("select"===(l=(s=r?ko(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(qn(s))if(Yn)g=ir;else{g=or;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?Hn(i,g,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?ko(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,o)}var b;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(zn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,Un=!0)),0<(y=Qr(r,v)).length&&(v=new wn(v,e,null,n,o),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=Wn(n))&&(v.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Mn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Mn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Yt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=b))}Fr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ne(e,n))&&r.unshift(Hr(e,a,o)),null!=(a=Ne(e,t))&&r.push(Hr(e,a,o))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Ne(n,a))&&i.unshift(Hr(n,l,s)):o||null!=(l=Ne(n,a))&&i.push(Hr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ut(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,yo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function vo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ko(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[ho]||null}var So=[],Eo=-1;function To(e){return{current:e}}function Co(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function _o(e,t){Eo++,So[Eo]=e.current,e.current=t}var Lo={},jo=To(Lo),Ao=To(!1),Ro=Lo;function No(e,t){var n=e.type.contextTypes;if(!n)return Lo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Po(e){return null!=(e=e.childContextTypes)}function Oo(){Co(Ao),Co(jo)}function Io(e,t,n){if(jo.current!==Lo)throw Error(a(168));_o(jo,t),_o(Ao,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,$(e)||"Unknown",o));return z({},n,r)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lo,Ro=jo.current,_o(jo,e),_o(Ao,Ao.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,Co(Ao),Co(jo),_o(jo,e)):Co(Ao),_o(Ao,n)}var Mo=null,Bo=!1,Wo=!1;function Uo(e){null===Mo?Mo=[e]:Mo.push(e)}function $o(){if(!Wo&&null!==Mo){Wo=!0;var e=0,t=vt;try{var n=Mo;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Mo=null,Bo=!1}catch(o){throw null!==Mo&&(Mo=Mo.slice(e+1)),Ze(Je,$o),o}finally{vt=t,Wo=!1}}return null}var qo=[],Ho=0,Qo=null,Zo=0,Vo=[],Go=0,Ko=null,Yo=1,Xo="";function Jo(e,t){qo[Ho++]=Zo,qo[Ho++]=Qo,Qo=e,Zo=t}function ea(e,t,n){Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Ko=e;var r=Yo;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Yo=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Qo;)Qo=qo[--Ho],qo[Ho]=null,Zo=qo[--Ho],qo[Ho]=null;for(;e===Ko;)Ko=Vo[--Go],Vo[Go]=null,Xo=Vo[--Go],Vo[Go]=null,Yo=Vo[--Go],Vo[Go]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,t){var n=Nu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function la(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!la(e,t)){if(ua(e))throw Error(a(418));t=uo(n.nextSibling);var r=ra;t&&la(e,t)?sa(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw pa(),Error(a(418));for(;t;)sa(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var ga=w.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ba=To(null),va=null,wa=null,ka=null;function xa(){ka=wa=va=null}function Sa(e){var t=ba.current;Co(ba),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ta(e,t){va=e,ka=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ws=!0),e.firstContext=null)}function Ca(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===va)throw Error(a(308));wa=e,va.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var _a=null;function La(e){null===_a?_a=[e]:_a.push(e)}function ja(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,La(t)):(n.next=o.next,o.next=n),t.interleaved=n,Aa(e,r)}function Aa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ra=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&jl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Aa(e,n)}return null===(o=r.interleaved)?(t.next=t,La(r)):(t.next=o.next,o.next=t),r.interleaved=t,Aa(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function za(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;Ra=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=z({},d,f);break e;case 2:Ra=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zl|=i,e.lanes=i,e.memoizedState=d}}function Ma(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ua={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Oa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(ru(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Oa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ia(e,o,r))&&(ru(t,e,r,n),Da(t,e,r))}};function $a(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,a))}function qa(e,t,n){var r=!1,o=Lo,a=t.contextType;return"object"==typeof a&&null!==a?a=Ca(a):(o=Po(t)?Ro:jo.current,a=(r=null!=(r=t.contextTypes))?No(e,o):Lo),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ua,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ha(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ua.enqueueReplaceState(t,t.state,null)}function Qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,Na(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Ca(a):(a=Po(t)?Ro:jo.current,o.context=No(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Wa(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ua.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Za(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ga(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===N&&Ga(a)===t.type)?((r=o(t,n.props)).ref=Za(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Za(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Du(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Za(e,null,t),n.return=e,n;case x:return(t=Mu(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;Va(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Va(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Va(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(o,d),aa&&Jo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Jo(o,m),u}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,m),u}function g(o,s,l,u){var c=I(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,g=s=0,y=null,b=l.next();null!==m&&!b.done;g++,b=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var v=p(o,m,b.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),s=i(v,s,g),null===d?c=v:d.sibling=v,d=v,m=y}if(b.done)return n(o,m),aa&&Jo(o,g),c;if(null===m){for(;!b.done;g++,b=l.next())null!==(b=f(o,b.value,u))&&(s=i(b,s,g),null===d?c=b:d.sibling=b,d=b);return aa&&Jo(o,g),c}for(m=r(o,m);!b.done;g++,b=l.next())null!==(b=h(m,o,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),aa&&Jo(o,g),c}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Ga(u)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Za(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Du(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Iu(i.type,i.key,i.props,null,r.mode,l)).ref=Za(r,a,i),l.return=r,r=l)}return s(r);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Mu(i,r.mode,l)).return=r,r=a}return s(r);case N:return e(r,a,(c=i._init)(i._payload),l)}if(te(i))return m(r,a,i,l);if(I(i))return g(r,a,i,l);Va(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Fu(i,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ya=Ka(!0),Xa=Ka(!1),Ja={},ei=To(Ja),ti=To(Ja),ni=To(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(_o(ni,t),_o(ti,e),_o(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ei),_o(ei,t)}function ai(){Co(ei),Co(ti),Co(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(_o(ti,e),_o(ei,n))}function si(e){ti.current===e&&(Co(ei),Co(ti))}var li=To(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,mi=null,gi=null,yi=null,bi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(a(301));i+=1,yi=gi=null,t.updateQueue=null,fi.current=us,e=n(r,o)}while(vi)}if(fi.current=is,t=null!==gi&&null!==gi.next,hi=0,yi=gi=mi=null,bi=!1,t)throw Error(a(300));return e}function Ti(){var e=0!==wi;return wi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?mi.memoizedState=yi=e:yi=yi.next=e,yi}function _i(){if(null===gi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===yi?mi.memoizedState:yi.next;if(null!==t)yi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===yi?mi.memoizedState=yi=e:yi=yi.next=e}return yi}function Li(e,t){return"function"==typeof t?t(e):t}function ji(e){var t=_i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,mi.lanes|=d,zl|=d}c=c.next}while(null!==c&&c!==i);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,mi.lanes|=i,zl|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ai(e){var t=_i(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ri(){}function Ni(e,t){var n=mi,r=_i(),o=t(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,ws=!0),r=r.queue,qi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,Mi(9,Oi.bind(null,n,r,o,t),void 0,null),null===Al)throw Error(a(349));0!=(30&hi)||Pi(n,t,o)}return o}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&zi(e)}function Ii(e,t,n){return n((function(){Di(t)&&zi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function zi(e){var t=Aa(e,1);null!==t&&ru(t,e,1,-1)}function Fi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Li,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,mi,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return _i().memoizedState}function Wi(e,t,n,r){var o=Ci();mi.flags|=e,o.memoizedState=Mi(1|t,n,void 0,void 0===r?null:r)}function Ui(e,t,n,r){var o=_i();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Mi(t,n,a,r))}mi.flags|=e,o.memoizedState=Mi(1|t,n,a,r)}function $i(e,t){return Wi(8390656,8,e,t)}function qi(e,t){return Ui(2048,8,e,t)}function Hi(e,t){return Ui(4,2,e,t)}function Qi(e,t){return Ui(4,4,e,t)}function Zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vi(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4,4,Zi.bind(null,t,e),n)}function Gi(){}function Ki(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),mi.lanes|=n,zl|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function es(){return _i().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=ja(e,t,n,r))){ru(n,e,r,tu()),as(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(o.next=o,La(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=ja(e,t,o,r))&&(ru(n,e,r,o=tu()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function os(e,t){vi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var is={readContext:Ca,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ss={readContext:Ca,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Ca,useEffect:$i,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Wi(4194308,4,Zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Fi,useDebugValue:Gi,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,o=Ci();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Al)throw Error(a(349));0!=(30&hi)||Pi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,$i(Ii.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=Al.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Ca,useCallback:Ki,useContext:Ca,useEffect:qi,useImperativeHandle:Vi,useInsertionEffect:Hi,useLayoutEffect:Qi,useMemo:Yi,useReducer:ji,useRef:Bi,useState:function(){return ji(Li)},useDebugValue:Gi,useDeferredValue:function(e){return Xi(_i(),gi.memoizedState,e)},useTransition:function(){return[ji(Li)[0],_i().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ni,useId:es,unstable_isNewReconciler:!1},us={readContext:Ca,useCallback:Ki,useContext:Ca,useEffect:qi,useImperativeHandle:Vi,useInsertionEffect:Hi,useLayoutEffect:Qi,useMemo:Yi,useReducer:Ai,useRef:Bi,useState:function(){return Ai(Li)},useDebugValue:Gi,useDeferredValue:function(e){var t=_i();return null===gi?t.memoizedState=e:Xi(t,gi.memoizedState,e)},useTransition:function(){return[Ai(Li)[0],_i().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ni,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Ql=r),fs(0,t)},n}function ms(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Ia(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=w.ReactCurrentOwner,ws=!1;function ks(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ya(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var a=t.ref;return Ta(t,o),r=Ei(e,t,n,r,a,o),n=Ti(),null===e||ws?(aa&&n&&ta(t),t.flags|=1,ks(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hs(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Pu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Hs(e,t,o)}return t.flags|=1,(e=Ou(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Hs(e,t,o);0!=(131072&e.flags)&&(ws=!0)}}return _s(e,t,n,r,o)}function Ts(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Ol,Pl),Pl|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Ol,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,_o(Ol,Pl),Pl|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,_o(Ol,Pl),Pl|=r;return ks(e,t,o,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _s(e,t,n,r,o){var a=Po(n)?Ro:jo.current;return a=No(t,a),Ta(t,o),n=Ei(e,t,n,r,a,o),r=Ti(),null===e||ws?(aa&&r&&ta(t),t.flags|=1,ks(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hs(e,t,o))}function Ls(e,t,n,r,o){if(Po(n)){var a=!0;zo(t)}else a=!1;if(Ta(t,o),null===t.stateNode)qs(e,t),qa(t,n,r),Qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ca(u):u=No(t,u=Po(n)?Ro:jo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==u)&&Ha(t,i,r,u),Ra=!1;var f=t.memoizedState;i.state=f,Fa(t,r,i,o),l=t.memoizedState,s!==r||f!==l||Ao.current||Ra?("function"==typeof c&&(Wa(t,n,c,r),l=t.memoizedState),(s=Ra||$a(t,n,s,r,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pa(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ya(t.type,s),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ca(l):l=No(t,l=Po(n)?Ro:jo.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Ha(t,i,r,l),Ra=!1,f=t.memoizedState,i.state=f,Fa(t,r,i,o);var h=t.memoizedState;s!==d||f!==h||Ao.current||Ra?("function"==typeof p&&(Wa(t,n,p,r),h=t.memoizedState),(u=Ra||$a(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return js(e,t,n,r,a,o)}function js(e,t,n,r,o,a){Cs(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),Hs(e,t,a);r=t.stateNode,vs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,s,a)):ks(e,t,s,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oi(e,t.containerInfo)}function Rs(e,t,n,r,o){return ha(),ma(o),t.flags|=256,ks(e,t,n,r),t.child}var Ns,Ps,Os,Is,Ds={dehydrated:null,treeContext:null,retryLane:0};function zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,o=t.pendingProps,i=li.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),_o(li,1&i),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=zu(l,o,0,null),e=Du(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=zs(n),t.memoizedState=Ds,e):Ms(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,Bs(e,t,s,r=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=zu({mode:"visible",children:r.children},o,0,null),(i=Du(i,o,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ya(t,e.child,null,s),t.child.memoizedState=zs(s),t.memoizedState=Ds,i);if(0==(1&t.mode))return Bs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Bs(e,t,s,r=ds(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),ws||l){if(null!==(r=Al)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Aa(e,o),ru(r,e,o,-1))}return gu(),Bs(e,t,s,r=ds(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Lu.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=uo(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Vo[Go++]=Yo,Vo[Go++]=Xo,Vo[Go++]=Ko,Yo=e.id,Xo=e.overflow,Ko=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(s){s=o.fallback,l=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ou(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ou(r,s):(s=Du(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?zs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Ou(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ms(e,t){return(t=zu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bs(e,t,n,r){return null!==r&&ma(r),Ya(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ws(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Us(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function $s(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(ks(e,t,r.children,n),0!=(2&(r=li.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ws(e,n,t);else if(19===e.tag)Ws(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_o(li,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Us(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Us(t,!0,n,null,a);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qs(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Po(t.type)&&Oo(),Zs(t),null;case 3:return r=t.stateNode,ai(),Co(Ao),Co(jo),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(su(ia),ia=null))),Ps(e,t),Zs(t),null;case 5:si(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Zs(t),null}if(e=ri(ei.current),fa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=0!=(1&t.mode),n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Mr(Ir[o],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":K(r,i),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Mr("invalid",r);break;case"textarea":oe(r,i),Mr("invalid",r)}for(var l in be(n,i),o=null,i)if(i.hasOwnProperty(l)){var u=i[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Mr("scroll",r)}switch(n){case"input":Q(r),J(r,i,!0);break;case"textarea":Q(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),o=r;break;case"iframe":case"object":case"embed":Mr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Mr(Ir[o],e);o=r;break;case"source":Mr("error",e),o=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),o=r;break;case"details":Mr("toggle",e),o=r;break;case"input":K(e,r),o=G(e,r),Mr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=z({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Mr("invalid",e)}for(i in be(n,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Mr("scroll",e):null!=c&&v(e,i,c,l))}switch(n){case"input":Q(e),J(e,r,!1);break;case"textarea":Q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Zs(t),null;case 13:if(Co(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),i=!1}else null!==ia&&(su(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&li.current)?0===Il&&(Il=3):gu())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return ai(),Ps(e,t),null===e&&Ur(t.stateNode.containerInfo),Zs(t),null;case 10:return Sa(t.type._context),Zs(t),null;case 19:if(Co(li),null===(i=t.memoizedState))return Zs(t),null;if(r=0!=(128&t.flags),null===(l=i.rendering))if(r)Qs(i,!1);else{if(0!==Il||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ui(e))){for(t.flags|=128,Qs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>$l&&(t.flags|=128,r=!0,Qs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Qs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Zs(t),null}else 2*Ye()-i.renderingStartTime>$l&&1073741824!==n&&(t.flags|=128,r=!0,Qs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=li.current,_o(li,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gs(e,t){switch(na(t),t.tag){case 1:return Po(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),Co(Ao),Co(jo),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(Co(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(li),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ps=function(){},Os=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=G(e,o),r=G(e,r),i=[];break;case"select":o=z({},o,{value:void 0}),r=z({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Mr("scroll",e),i||l===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Ys=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Tu(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Tu(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&tl(t,n,a)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[yo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Ys||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ut(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&tl(n,t,i),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Ys&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Tu(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,pl(e,t,n),Ys=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=ju.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(a(160));hl(i,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Tu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yl(t,e),t=t.sibling}function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),bl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(g){Tu(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Tu(e,e.return,g)}}break;case 1:gl(t,e),bl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),bl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(g){Tu(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Y(o,i),ve(l,s);var c=ve(l,i);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):v(o,d,f,c)}switch(l){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(g){Tu(e,e.return,g)}}break;case 6:if(gl(t,e),bl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Tu(e,e.return,g)}}break;case 3:if(gl(t,e),bl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Tu(e,e.return,g)}break;case 4:default:gl(t,e),bl(e);break;case 13:gl(t,e),bl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ul=Ye())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(c=Ys)||d,gl(t,e),Ys=c):gl(t,e),bl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Tu(r,n,g)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Js=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(g){Tu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Tu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),bl(e),4&r&&ml(e);case 21:}}function bl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;ul(e,ll(e),i);break;default:throw Error(a(161))}}catch(s){Tu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var o=Js,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ks;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Ks;var u=Ys;if(Ks=i,(Ys=l)&&!u)for(Js=o;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?Sl(o):null!==l?(l.return=i,Js=l):Sl(o);for(;null!==a;)Js=a,wl(a,t,n),a=a.sibling;Js=o,Ks=s,Ys=u}kl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Js=a):kl(e)}}function kl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ys||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ma(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ma(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(a(163))}Ys||512&t.flags&&al(t)}catch(p){Tu(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Tu(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Tu(t,o,l)}}var a=t.return;try{al(t)}catch(l){Tu(t,a,l)}break;case 5:var i=t.return;try{al(t)}catch(l){Tu(t,i,l)}}}catch(l){Tu(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,Tl=Math.ceil,Cl=w.ReactCurrentDispatcher,_l=w.ReactCurrentOwner,Ll=w.ReactCurrentBatchConfig,jl=0,Al=null,Rl=null,Nl=0,Pl=0,Ol=To(0),Il=0,Dl=null,zl=0,Fl=0,Ml=0,Bl=null,Wl=null,Ul=0,$l=1/0,ql=null,Hl=!1,Ql=null,Zl=null,Vl=!1,Gl=null,Kl=0,Yl=0,Xl=null,Jl=-1,eu=0;function tu(){return 0!=(6&jl)?Ye():-1!==Jl?Jl:Jl=Ye()}function nu(e){return 0==(1&e.mode)?1:0!=(2&jl)&&0!==Nl?Nl&-Nl:null!==ga.transition?(0===eu&&(eu=mt()),eu):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Yl)throw Yl=0,Xl=null,Error(a(185));yt(e,n,r),0!=(2&jl)&&e===Al||(e===Al&&(0==(2&jl)&&(Fl|=n),4===Il&&lu(e,Nl)),ou(e,r),1===n&&0===jl&&0==(1&t.mode)&&($l=Ye()+500,Bo&&$o()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),s=1<<i,l=o[i];-1===l?0!=(s&n)&&0==(s&r)||(o[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=ft(e,e===Al?Nl:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Bo=!0,Uo(e)}(uu.bind(null,e)):Uo(uu.bind(null,e)),io((function(){0==(6&jl)&&$o()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Au(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Jl=-1,eu=0,0!=(6&jl))throw Error(a(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Al?Nl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var o=jl;jl|=2;var i=mu();for(Al===e&&Nl===t||(ql=null,$l=Ye()+500,pu(e,t));;)try{vu();break}catch(l){hu(e,l)}xa(),Cl.current=i,jl=o,null!==Rl?t=0:(Al=null,Nl=0,t=Il)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t)throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=yu(e,r))&&(0!==(i=ht(e))&&(r=i,t=iu(e,i))),1===t))throw n=Dl,pu(e,0),lu(e,r),ou(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,Wl,ql);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Ul+500-Ye())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,Wl,ql),t);break}xu(e,Wl,ql);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Tl(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,Wl,ql),r);break}xu(e,Wl,ql);break;default:throw Error(a(329))}}}return ou(e,Ye()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=Wl,Wl=n,null!==t&&su(t)),e}function su(e){null===Wl?Wl=e:Wl.push.apply(Wl,e)}function lu(e,t){for(t&=~Ml,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&jl))throw Error(a(327));Su();var t=ft(e,0);if(0==(1&t))return ou(e,Ye()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Dl,pu(e,0),lu(e,t),ou(e,Ye()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Wl,ql),ou(e,Ye()),null}function cu(e,t){var n=jl;jl|=1;try{return e(t)}finally{0===(jl=n)&&($l=Ye()+500,Bo&&$o())}}function du(e){null!==Gl&&0===Gl.tag&&0==(6&jl)&&Su();var t=jl;jl|=1;var n=Ll.transition,r=vt;try{if(Ll.transition=null,vt=1,e)return e()}finally{vt=r,Ll.transition=n,0==(6&(jl=t))&&$o()}}function fu(){Pl=Ol.current,Co(Ol)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ai(),Co(Ao),Co(jo),di();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:Co(li);break;case 10:Sa(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Al=e,Rl=e=Ou(e.current,null),Nl=Pl=t,Il=0,Dl=null,Ml=Fl=zl=0,Wl=Bl=null,null!==_a){for(t=0;t<_a.length;t++)if(null!==(r=(n=_a[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}_a=null}return e}function hu(e,t){for(;;){var n=Rl;try{if(xa(),fi.current=is,bi){for(var r=mi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}bi=!1}if(hi=0,yi=gi=mi=null,vi=!1,wi=0,_l.current=null,null===n||null===n.return){Il=1,Dl=t,Rl=null;break}e:{var i=e,s=n.return,l=n,u=t;if(t=Nl,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,bs(h,s,l,0,t),1&h.mode&&gs(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){gs(i,c,t),gu();break e}u=Error(a(426))}else if(aa&&1&l.mode){var y=ys(s);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),bs(y,s,l,0,t),ma(cs(u,l));break e}}i=u=cs(u,l),4!==Il&&(Il=2),null===Bl?Bl=[i]:Bl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,za(i,hs(0,u,t));break e;case 1:l=u;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Zl||!Zl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,za(i,ms(i,l,t));break e}}i=i.return}while(null!==i)}ku(n)}catch(w){t=w,Rl===n&&null!==n&&(Rl=n=n.return);continue}break}}function mu(){var e=Cl.current;return Cl.current=is,null===e?is:e}function gu(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===Al||0==(268435455&zl)&&0==(268435455&Fl)||lu(Al,Nl)}function yu(e,t){var n=jl;jl|=2;var r=mu();for(Al===e&&Nl===t||(ql=null,pu(e,t));;)try{bu();break}catch(o){hu(e,o)}if(xa(),jl=n,Cl.current=r,null!==Rl)throw Error(a(261));return Al=null,Nl=0,Il}function bu(){for(;null!==Rl;)wu(Rl)}function vu(){for(;null!==Rl&&!Ge();)wu(Rl)}function wu(e){var t=El(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?ku(e):Rl=t,_l.current=null}function ku(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Vs(n,t,Pl)))return void(Rl=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Rl=n);if(null===e)return Il=6,void(Rl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Rl=t);Rl=t=e}while(null!==t);0===Il&&(Il=5)}function xu(e,t,n){var r=vt,o=Ll.transition;try{Ll.transition=null,vt=1,function(e,t,n,r){do{Su()}while(null!==Gl);if(0!=(6&jl))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Al&&(Rl=Al=null,Nl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Vl||(Vl=!0,Au(tt,(function(){return Su(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ll.transition,Ll.transition=null;var s=vt;vt=1;var l=jl;jl|=4,_l.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==i||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===i&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:ya(t.type,g),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(k){Tu(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),yl(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,vl(n,e,o),Ke(),jl=l,vt=s,Ll.transition=i}else e.current=n;if(Vl&&(Vl=!1,Gl=e,Kl=o),i=e.pendingLanes,0===i&&(Zl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Hl)throw Hl=!1,e=Ql,Ql=null,e;0!=(1&Kl)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Xl?Yl++:(Yl=0,Xl=e):Yl=0,$o()}(e,t,n,r)}finally{Ll.transition=o,vt=r}return null}function Su(){if(null!==Gl){var e=wt(Kl),t=Ll.transition,n=vt;try{if(Ll.transition=null,vt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Kl=0,0!=(6&jl))throw Error(a(331));var o=jl;for(jl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(0!=(16&Js.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===c){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Js=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(0!=(2048&(i=Js).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Js=b;break e}Js=i.return}}var v=e.current;for(Js=v;null!==Js;){var w=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=v;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(x){Tu(l,l.return,x)}if(l===s){Js=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Js=k;break e}Js=l.return}}if(jl=o,$o(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(x){}r=!0}return r}finally{vt=n,Ll.transition=t}}return!1}function Eu(e,t,n){e=Ia(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),ou(e,t))}function Tu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Ia(t,e=ms(t,e=cs(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),ou(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Al===e&&(Nl&n)===n&&(4===Il||3===Il&&(130023424&Nl)===Nl&&500>Ye()-Ul?pu(e,0):Ml|=n),ou(e,t)}function _u(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Aa(e,t))&&(yt(e,t,n),ou(e,n))}function Lu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_u(e,n)}function ju(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),_u(e,n)}function Au(e,t){return Ze(e,t)}function Ru(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nu(e,t,n,r){return new Ru(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Nu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Pu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Du(n.children,o,i,t);case E:s=8,o|=8;break;case T:return(e=Nu(12,n,t,2|o)).elementType=T,e.lanes=i,e;case j:return(e=Nu(13,n,t,o)).elementType=j,e.lanes=i,e;case A:return(e=Nu(19,n,t,o)).elementType=A,e.lanes=i,e;case P:return zu(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case _:s=9;break e;case L:s=11;break e;case R:s=14;break e;case N:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Nu(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Nu(7,e,r,t)).lanes=n,e}function zu(e,t,n,r){return(e=Nu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Nu(6,e,null,t)).lanes=n,e}function Mu(e,t,n){return(t=Nu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wu(e,t,n,r,o,a,i,s,l){return e=new Bu(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Nu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Na(a),e}function Uu(e){if(!e)return Lo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Po(n))return Do(e,n,t)}return t}function $u(e,t,n,r,o,a,i,s,l){return(e=Wu(n,r,!0,e,0,a,0,s,l)).context=Uu(null),n=e.current,(a=Oa(r=tu(),o=nu(n))).callback=null!=t?t:null,Ia(n,a,o),e.current.lanes=o,yt(e,o,r),ou(e,r),e}function qu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ia(o,t,i))&&(ru(e,o,i,a),Da(e,o,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ao.current)ws=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:As(t),ha();break;case 5:ii(t);break;case 1:Po(t.type)&&zo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(li,1&li.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fs(e,t,n):(_o(li,1&li.current),null!==(e=Hs(e,t,n))?e.sibling:null);_o(li,1&li.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return $s(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Ts(e,t,n)}return Hs(e,t,n)}(e,t,n);ws=0!=(131072&e.flags)}else ws=!1,aa&&0!=(1048576&t.flags)&&ea(t,Zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var o=No(t,jo.current);Ta(t,n),o=Ei(null,t,r,e,o,n);var i=Ti();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Po(r)?(i=!0,zo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Na(t),o.updater=Ua,t.stateNode=o,o._reactInternals=t,Qa(t,r,e,n),t=js(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),ks(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Pu(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===R)return 14}return 2}(r),e=ya(r,e),o){case 0:t=_s(null,t,r,e,n);break e;case 1:t=Ls(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ya(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ls(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 3:e:{if(As(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Pa(e,t),Fa(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rs(e,t,r,n,o=cs(Error(a(423)),t));break e}if(r!==o){t=Rs(e,t,r,n,o=cs(Error(a(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=Hs(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==i&&no(r,i)&&(t.flags|=32),Cs(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Fs(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,_o(ba,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!Ao.current){t=Hs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Oa(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ea(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ea(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ks(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ta(t,n),r=r(o=Ca(o)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return o=ya(r=t.type,t.pendingProps),Ss(e,t,r,o=ya(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ya(r,o),qs(e,t),t.tag=1,Po(r)?(e=!0,zo(t)):e=!1,Ta(t,n),qa(t,r,o),Qa(t,r,o,n),js(null,t,r,!0,e,n);case 19:return $s(e,t,n);case 22:return Ts(e,t,n)}throw Error(a(156,t.tag))};var Vu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Hu(i);s.call(e)}}qu(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Hu(i);a.call(e)}}var i=$u(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[mo]=i.current,Ur(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Hu(l);s.call(e)}}var l=Wu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[mo]=l.current,Ur(8===e.nodeType?e.parentNode:e),du((function(){qu(t,l,n,r)})),l}(n,t,e,o,r);return Hu(i)}Ku.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));qu(e,t,null,null)},Ku.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){qu(null,e,null,null)})),t[mo]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&zt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ou(t,Ye()),0==(6&jl)&&($l=Ye()+500,$o()))}break;case 13:du((function(){var t=Aa(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Zu(e,1)}},xt=function(e){if(13===e.tag){var t=Aa(e,134217728);if(null!==t)ru(t,e,134217728,tu());Zu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Aa(e,t);if(null!==n)ru(n,e,t,tu());Zu(e,t)}},Et=function(){return vt},Tt=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));Z(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Le=cu,je=du;var tc={usingClientEntryPoint:!1,Events:[wo,ko,xo,Ce,_e,cu]},nc={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(a(299));var n=!1,r="",o=Vu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Wu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Vu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=$u(t,null,e,1,null!=n?n:null,o,0,i,s),e[mo]=t.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ku(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(a(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},4932:function(e,t,n){"use strict";var r=n(3951);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3951:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(600)},7782:function(e,t,n){"use strict";n.d(t,{B6:function(){return H},ql:function(){return J}});var r=n(3900),o=n(5401),a=n.n(o),i=n(2227),s=n.n(i),l=n(5479),u=n.n(l),c=n(9494),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},T=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},_=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},L=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var s=a[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var s=a[i],l=f({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},j=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},A=function(e){return Array.isArray(e)?e.join(""):e},R=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},z=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=D(n,o),[r.createElement(g.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=I(n),a=A(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return z(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=R(e.metaTags,v),a=R(t,y),i=R(n,b);return{priorityMethods:{toComponent:function(){return[].concat(z(g.META,o.priority),z(g.LINK,a.priority),z(g.SCRIPT,i.priority))},toString:function(){return F(g.META,o.priority,r)+" "+F(g.LINK,a.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);p=h.priorityMethods,c=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",o,r),link:F(g.LINK,c,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,a,r),script:F(g.SCRIPT,f,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:l,titleAttributes:u},r)}},B=[],W=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),$=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),q="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new W(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=q,H.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var Q=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},Z=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===o.indexOf(l)&&o.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;Z(g.BODY,e.bodyAttributes),Z(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=A(e)),Z(g.TITLE,t)}(c,d);var f={baseTag:Q(g.BASE,n),linkTags:Q(g.LINK,o),metaTags:Q(g.META,a),noscriptTags:Q(g.NOSCRIPT,i),scriptTags:Q(g.SCRIPT,l),styleTags:Q(g.STYLE,u)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},G=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:_(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:L(g.LINK,["rel","href"],e),metaTags:L(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:L(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:T(e),scriptTags:L(g.SCRIPT,["src","innerHTML"],e),styleTags:L(g.STYLE,["cssText"],e),title:E(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:j(e,"prioritizeSeoTags")});H.canUseDOM?(t=a,G&&cancelAnimationFrame(G),t.defer?G=requestAnimationFrame((function(){V(t,(function(){G=null}))})):(V(t),G=null)):M&&(o=M(a)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:$.isRequired},K.displayName="HelmetDispatcher";var Y=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},o,((t={})[r.type]=i,t.titleAttributes=f({},a),t));case g.BODY:return f({},o,{bodyAttributes:f({},a)});case g.HTML:return f({},o,{htmlAttributes:f({},a)});default:return f({},o,((n={})[r.type]=f({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=m(r,Y),s=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,a),l){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,X),o=f({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof W||(a=new W(a.context,a.instances)),a?r.createElement(K,f({},o,{context:a.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(K,f({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},4518:function(e,t,n){"use strict";n.d(t,{H:function(){return s},f:function(){return i}});var r=n(382),o=n(922),a=n(3900);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},3525:function(e,t,n){"use strict";n.d(t,{OL:function(){return v},VK:function(){return c},rU:function(){return g}});var r=n(382),o=n(7535),a=n(3900),i=n(470),s=n(922),l=n(1360),u=n(3546),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},h=a.forwardRef;void 0===h&&(h=p);var m=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,s.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.createElement("a",c)}));var g=h((function(e,t){var n=e.component,o=void 0===n?m:n,c=e.replace,g=e.to,y=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.Z)({},b,{href:l,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==h?m.ref=t||y:m.innerRef=y,a.createElement(o,m)}))})),y=function(e){return e},b=a.forwardRef;void 0===b&&(b=y);var v=b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,h=e.className,m=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,T=e.innerRef,C=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(E,n),n),l=i.pathname,_=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),L=_?(0,r.LX)(n.pathname,{path:_,exact:m,sensitive:k,strict:x}):null,j=!!(v?v(L,n):L),A="function"==typeof h?h(j):h,R="function"==typeof S?S(j):S;j&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,c),R=(0,s.Z)({},R,p));var N=(0,s.Z)({"aria-current":j&&o||null,className:A,style:R,to:i},C);return y!==b?N.ref=t||T:N.innerRef=T,a.createElement(g,N)}))}))},382:function(e,t,n){"use strict";n.d(t,{AW:function(){return E},F0:function(){return v},LX:function(){return S},TH:function(){return P},k6:function(){return N},rs:function(){return A},s6:function(){return b}});var r=n(7535),o=n(3900),a=n(5401),i=n.n(a),s=n(470),l=n(3546),u=n(922),c=n(7837),d=n.n(c),f=(n(3585),n(1360)),p=(n(850),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var m=o.createContext||function(e,t){var n,a,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((a={})[s]=i().object,a),{Provider:l,Consumer:u}},g=function(e){var t=m();return t.displayName=e,t},y=g("Router-History"),b=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,s=void 0!==i&&i,l=n.sensitive,u=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var o=[],a={regexp:d()(e,o,t),keys:o};return x<k&&(r[e]=a,x++),a}(n,{end:a,strict:s,sensitive:u}),o=r.regexp,i=r.keys,l=o.exec(e);if(!l)return null;var c=l[0],f=l.slice(1),p=e===c;return a&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,a=(0,u.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,c=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(b.Provider,{value:a},a.match?s?"function"==typeof s?s(a):s:c?o.createElement(c,a):d?d(a):null:"function"==typeof s?s(a):null)}))},t}(o.Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function _(e){return"string"==typeof e?e:(0,s.Ep)(e)}function L(e){return function(){(0,l.Z)(!1)}}function j(){}o.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);var R=o.useContext;function N(){return R(y)}function P(){return R(b).location}},7515:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},470:function(e,t,n){"use strict";n.d(t,{lX:function(){return w},q_:function(){return C},ob:function(){return p},PP:function(){return L},Ep:function(){return f}});var r=n(922);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),u=s||l;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?a(i,f):".."===p?(a(i,f),d++):d&&(a(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h},s=n(3546);function l(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,T=e.basename?d(l(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return T&&(a=c(a,T)),p(a,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var L=h();function j(e){(0,r.Z)(W,e),W.length=n.length,L.notifyListeners(W.location,W.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(C(e.state))}function R(){P(C(v()))}var N=!1;function P(e){if(N)N=!1,j();else{L.confirmTransitionTo(e,"POP",x,(function(t){t?j({action:"POP",location:e}):function(e){var t=W.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(N=!0,z(o))}(e)}))}}var O=C(v()),I=[O.key];function D(e){return T+f(e)}function z(e){n.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?(window.addEventListener(y,A),a&&window.addEventListener(b,R)):0===F&&(window.removeEventListener(y,A),a&&window.removeEventListener(b,R))}var B=!1;var W={length:n.length,action:"POP",location:O,createHref:D,push:function(e,t){var r="PUSH",a=p(e,t,_(),W.location);L.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.pushState({key:i,state:s},null,t),w)window.location.href=t;else{var l=I.indexOf(W.location.key),u=I.slice(0,l+1);u.push(a.key),I=u,j({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,_(),W.location);L.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,s=a.state;if(o)if(n.replaceState({key:i,state:s},null,t),w)window.location.replace(t);else{var l=I.indexOf(W.location.key);-1!==l&&(I[l]=a.key),j({action:r,location:a})}else window.location.replace(t)}}))},go:z,goBack:function(){z(-1)},goForward:function(){z(1)},block:function(e){void 0===e&&(e=!1);var t=L.setPrompt(e);return B||(M(1),B=!0),function(){return B&&(B=!1,M(-1)),t()}},listen:function(e){var t=L.appendListener(e);return M(1),function(){M(-1),t()}}};return W}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function T(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),m||(0,s.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?g:o,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(l(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function C(){var e=w(E());return y&&(e=c(e,y)),p(e)}var _=h();function L(e){(0,r.Z)(B,e),B.length=t.length,_.notifyListeners(B.location,B.action)}var j=!1,A=null;function R(){var e,t,n=E(),r=v(n);if(n!==r)T(r);else{var o=C(),i=B.location;if(!j&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===f(o))return;A=null,function(e){if(j)j=!1,L();else{var t="POP";_.confirmTransitionTo(e,t,a,(function(n){n?L({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var o=n-r;o&&(j=!0,D(o))}(e)}))}}(o)}}var N=E(),P=v(N);N!==P&&T(P);var O=C(),I=[f(O)];function D(e){t.go(e)}var z=0;function F(e){1===(z+=e)&&1===e?window.addEventListener(k,R):0===z&&window.removeEventListener(k,R)}var M=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,B.location);_.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=v(y+t);if(E()!==o){A=t,function(e){window.location.hash=e}(o);var a=I.lastIndexOf(f(B.location)),i=I.slice(0,a+1);i.push(t),I=i,L({action:n,location:r})}else L()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,B.location);_.confirmTransitionTo(r,n,a,(function(e){if(e){var t=f(r),o=v(y+t);E()!==o&&(A=t,T(o));var a=I.indexOf(f(B.location));-1!==a&&(I[a]=t),L({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return M||(F(1),M=!0),function(){return M&&(M=!1,F(-1)),t()}},listen:function(e){var t=_.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function _(e,t,n){return Math.min(Math.max(e,t),n)}function L(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,u=void 0===l?6:l,c=h();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,u)}var g=_(s,0,a.length-1),y=a.map((function(e){return p(e,void 0,"string"==typeof e?m():e.key||m())})),b=f;function v(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},850:function(e,t,n){"use strict";var r=n(3585),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var b=f(n,y);try{u(t,y,b)}catch(v){}}}}return t}},5479:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},8161:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},5654:function(e,t,n){var r,o;r=function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),n=t.join("-"),r="",o=[],a=[],i=0;i<t.length;++i)"en"==t[i]?(r+="\\w",o.unshift(e.stopWordFilter),o.push(e.stemmer),a.push(e.stemmer)):(r+=e[t[i]].wordCharacters,e[t[i]].stopWordFilter&&o.unshift(e[t[i]].stopWordFilter),e[t[i]].stemmer&&(o.push(e[t[i]].stemmer),a.push(e[t[i]].stemmer)));var s=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(s,"lunr-multi-trimmer-"+n),o.unshift(s),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,o),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,a))}}}},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},1651:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){return function(e){e.stemmerSupport={Among:function(e,t,n,r){if(this.toCharArray=function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},!e&&""!=e||!t&&0!=t||!n)throw"Bad Among initialisation: s:"+e+", substring_i: "+t+", result: "+n;this.s_size=e.length,this.s=this.toCharArray(e),this.substring_i=t,this.result=n,this.method=r},SnowballProgram:function(){var e;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){e=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=e;return e=null,t},in_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursor<this.limit){var o=e.charCodeAt(this.cursor);if(o>r||o<n)return this.cursor++,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o>r||o<n)return this.cursor--,!0;if(!(t[(o-=n)>>3]&1<<(7&o)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor+r)!=n.charCodeAt(r))return!1;return this.cursor+=t,!0},eq_s_b:function(t,n){if(this.cursor-this.limit_backward<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor-t+r)!=n.charCodeAt(r))return!1;return this.cursor-=t,!0},find_among:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=t[c],h=f;h<p.s_size;h++){if(a+f==i){d=-1;break}if(d=e.charCodeAt(a+f)-p.s[h])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){if(s>=(p=t[r]).s_size){if(this.cursor=a+p.s_size,!p.method)return p.result;var m=p.method();if(this.cursor=a+p.s_size,m)return p.result}if((r=p.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit_backward,s=0,l=0,u=!1;;){for(var c=r+(o-r>>1),d=0,f=s<l?s:l,p=(h=t[c]).s_size-1-f;p>=0;p--){if(a-f==i){d=-1;break}if(d=e.charCodeAt(a-1-f)-h.s[p])break;f++}if(d<0?(o=c,l=f):(r=c,s=f),o-r<=1){if(r>0||o==r||u)break;u=!0}}for(;;){var h;if(s>=(h=t[r]).s_size){if(this.cursor=a-h.s_size,!h.method)return h.result;var m=h.method();if(this.cursor=a-h.s_size,m)return h.result}if((r=h.substring_i)<0)return 0}},replace_s:function(t,n,r){var o=r.length-(n-t),a=e.substring(0,t),i=e.substring(n);return e=a+r+i,this.limit+=o,this.cursor>=n?this.cursor+=o:this.cursor>t&&(this.cursor=t),o},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=o)},8355:function(e,t,n){var r,o;!function(){var a,i,s,l,u,c,d,f,p,h,m,g,y,b,v,w,k,x,S,E,T,C,_,L,j,A,R,N,P,O,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.9",I.utils={},I.utils.warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],a=e[o];if(Array.isArray(a))t[o]=a.slice();else{if("string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a)throw new TypeError("clone is not deep and does not support nested objects");t[o]=a}}return t},I.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},I.FieldRef.joiner="/",I.FieldRef.fromString=function(e){var t=e.indexOf(I.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new I.FieldRef(r,n,e)},I.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+I.FieldRef.joiner+this.docRef),this._stringValue},I.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},I.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},I.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},I.Set.prototype.contains=function(e){return!!this.elements[e]},I.Set.prototype.intersect=function(e){var t,n,r,o=[];if(e===I.Set.complete)return this;if(e===I.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var a=0;a<r.length;a++){var i=r[a];i in n.elements&&o.push(i)}return new I.Set(o)},I.Set.prototype.union=function(e){return e===I.Set.complete?I.Set.complete:e===I.Set.empty?this:new I.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},I.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},I.Token=function(e,t){this.str=e||"",this.metadata=t||{}},I.Token.prototype.toString=function(){return this.str},I.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},I.Token.prototype.clone=function(e){return e=e||function(e){return e},new I.Token(e(this.str,this.metadata),this.metadata)},I.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new I.Token(I.utils.asString(e).toLowerCase(),I.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,o=[],a=0,i=0;a<=r;a++){var s=a-i;if(n.charAt(a).match(I.tokenizer.separator)||a==r){if(s>0){var l=I.utils.clone(t)||{};l.position=[i,s],l.index=o.length,o.push(new I.Token(n.slice(i,a),l))}i=a+1}}return o},I.tokenizer.separator=/[\s\-]+/,I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],a=0;a<e.length;a++){var i=r(e[a],a,e);if(null!=i&&""!==i)if(Array.isArray(i))for(var s=0;s<i.length;s++)o.push(i[s]);else o.push(i)}e=o}return e},I.Pipeline.prototype.runString=function(e,t){var n=new I.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},I.Pipeline.prototype.reset=function(){this._stack=[]},I.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return I.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},I.Vector=function(e){this._magnitude=0,this.elements=e||[]},I.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),a=this.elements[2*o];r>1&&(a<e&&(t=o),a>e&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:a<e?2*(o+1):void 0},I.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},I.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},I.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},I.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,a=r.length,i=0,s=0,l=0,u=0;l<o&&u<a;)(i=n[l])<(s=r[u])?l+=2:i>s?u+=2:i==s&&(t+=n[l+1]*r[u+1],l+=2,u+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},I.Vector.prototype.toJSON=function(){return this.elements},I.stemmer=(i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},s={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},d="^("+(u="[^aeiou][^aeiouy]*")+")?"+(c=(l="[aeiouy]")+"[aeiou]*")+u+"("+c+")?$",f="^("+u+")?"+c+u+c+u,p="^("+u+")?"+l,h=new RegExp("^("+u+")?"+c+u),m=new RegExp(f),g=new RegExp(d),y=new RegExp(p),b=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,w=/^(.+?)eed$/,k=/^(.+?)(ed|ing)$/,x=/.$/,S=/(at|bl|iz)$/,E=new RegExp("([^aeiouylsz])\\1$"),T=new RegExp("^"+u+l+"[^aeiouwxy]$"),C=/^(.+?[^aeiou])y$/,_=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,L=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,j=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,A=/^(.+?)(s|t)(ion)$/,R=/^(.+?)e$/,N=/ll$/,P=new RegExp("^"+u+l+"[^aeiouwxy]$"),O=function(e){var t,n,r,o,a,l,u;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),a=v,(o=b).test(e)?e=e.replace(o,"$1$2"):a.test(e)&&(e=e.replace(a,"$1$2")),a=k,(o=w).test(e)){var c=o.exec(e);(o=h).test(c[1])&&(o=x,e=e.replace(o,""))}else a.test(e)&&(t=(c=a.exec(e))[1],(a=y).test(t)&&(l=E,u=T,(a=S).test(e=t)?e+="e":l.test(e)?(o=x,e=e.replace(o,"")):u.test(e)&&(e+="e")));return(o=C).test(e)&&(e=(t=(c=o.exec(e))[1])+"i"),(o=_).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+i[n])),(o=L).test(e)&&(t=(c=o.exec(e))[1],n=c[2],(o=h).test(t)&&(e=t+s[n])),a=A,(o=j).test(e)?(t=(c=o.exec(e))[1],(o=m).test(t)&&(e=t)):a.test(e)&&(t=(c=a.exec(e))[1]+c[2],(a=m).test(t)&&(e=t)),(o=R).test(e)&&(t=(c=o.exec(e))[1],a=g,l=P,((o=m).test(t)||a.test(t)&&!l.test(t))&&(e=t)),a=m,(o=N).test(e)&&a.test(e)&&(o=x,e=e.replace(o,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update(O)}),I.Pipeline.registerFunction(I.stemmer,"stemmer"),I.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},I.stopWordFilter=I.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),I.Pipeline.registerFunction(I.stopWordFilter,"stopWordFilter"),I.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},I.Pipeline.registerFunction(I.trimmer,"trimmer"),I.TokenSet=function(){this.final=!1,this.edges={},this.id=I.TokenSet._nextId,I.TokenSet._nextId+=1},I.TokenSet._nextId=1,I.TokenSet.fromArray=function(e){for(var t=new I.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},I.TokenSet.fromClause=function(e){return"editDistance"in e?I.TokenSet.fromFuzzyString(e.term,e.editDistance):I.TokenSet.fromString(e.term)},I.TokenSet.fromFuzzyString=function(e,t){for(var n=new I.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o=r.pop();if(o.str.length>0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new I.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new I.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new I.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?u=o.node.edges[d]:(u=new I.TokenSet,o.node.edges[d]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r<o;r++){var a=e[r],i=r==o-1;if("*"==a)t.edges[a]=t,t.final=i;else{var s=new I.TokenSet;s.final=i,t.edges[a]=s,t=s}}return n},I.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var a=0;a<o;a++){var i=r[a];t.push({prefix:n.prefix.concat(i),node:n.node.edges[i]})}}return e},I.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},I.TokenSet.prototype.intersect=function(e){for(var t=new I.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),a=o.length,i=Object.keys(n.node.edges),s=i.length,l=0;l<a;l++)for(var u=o[l],c=0;c<s;c++){var d=i[c];if(d==u||"*"==u){var f=n.node.edges[d],p=n.qNode.edges[u],h=f.final&&p.final,m=void 0;d in n.output.edges?(m=n.output.edges[d]).final=m.final||h:((m=new I.TokenSet).final=h,n.output.edges[d]=m),r.push({qNode:p,output:m,node:f})}}}return t},I.TokenSet.Builder=function(){this.previousWord="",this.root=new I.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},I.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var o=new I.TokenSet,a=e[r];t.edges[a]=o,this.uncheckedNodes.push({parent:t,char:a,child:o}),t=o}t.final=!0,this.previousWord=e},I.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},I.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),s=0;s<this.fields.length;s++)r[this.fields[s]]=new I.Vector;e.call(t,t);for(s=0;s<t.clauses.length;s++){var l=t.clauses[s],u=null,c=I.Set.empty;u=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var d=0;d<u.length;d++){var f=u[d];l.term=f;var p=I.TokenSet.fromClause(l),h=this.tokenSet.intersect(p).toArray();if(0===h.length&&l.presence===I.Query.presence.REQUIRED){for(var m=0;m<l.fields.length;m++){a[R=l.fields[m]]=I.Set.empty}break}for(var g=0;g<h.length;g++){var y=h[g],b=this.invertedIndex[y],v=b._index;for(m=0;m<l.fields.length;m++){var w=b[R=l.fields[m]],k=Object.keys(w),x=y+"/"+R,S=new I.Set(k);if(l.presence==I.Query.presence.REQUIRED&&(c=c.union(S),void 0===a[R]&&(a[R]=I.Set.complete)),l.presence!=I.Query.presence.PROHIBITED){if(r[R].upsert(v,l.boost,(function(e,t){return e+t})),!o[x]){for(var E=0;E<k.length;E++){var T,C=k[E],_=new I.FieldRef(C,R),L=w[C];void 0===(T=n[_])?n[_]=new I.MatchData(y,R,L):T.add(y,R,L)}o[x]=!0}}else void 0===i[R]&&(i[R]=I.Set.empty),i[R]=i[R].union(S)}}}if(l.presence===I.Query.presence.REQUIRED)for(m=0;m<l.fields.length;m++){a[R=l.fields[m]]=a[R].intersect(c)}}var j=I.Set.complete,A=I.Set.empty;for(s=0;s<this.fields.length;s++){var R;a[R=this.fields[s]]&&(j=j.intersect(a[R])),i[R]&&(A=A.union(i[R]))}var N=Object.keys(n),P=[],O=Object.create(null);if(t.isNegated()){N=Object.keys(this.fieldVectors);for(s=0;s<N.length;s++){_=N[s];var D=I.FieldRef.fromString(_);n[_]=new I.MatchData}}for(s=0;s<N.length;s++){var z=(D=I.FieldRef.fromString(N[s])).docRef;if(j.contains(z)&&!A.contains(z)){var F,M=this.fieldVectors[D],B=r[D.fieldName].similarity(M);if(void 0!==(F=O[z]))F.score+=B,F.matchData.combine(n[D]);else{var W={ref:z,score:B,matchData:n[D]};O[z]=W,P.push(W)}}}return P.sort((function(e,t){return t.score-e.score}))},I.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:I.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},I.Index.load=function(e){var t={},n={},r=e.fieldVectors,o=Object.create(null),a=e.invertedIndex,i=new I.TokenSet.Builder,s=I.Pipeline.load(e.pipeline);e.version!=I.version&&I.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+I.version+"' does not match serialized index '"+e.version+"'");for(var l=0;l<r.length;l++){var u=(d=r[l])[0],c=d[1];n[u]=new I.Vector(c)}for(l=0;l<a.length;l++){var d,f=(d=a[l])[0],p=d[1];i.insert(f),o[f]=p}return i.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=i.root,t.pipeline=s,new I.Index(t)},I.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=I.tokenizer,this.pipeline=new I.Pipeline,this.searchPipeline=new I.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},I.Builder.prototype.ref=function(e){this._ref=e},I.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},I.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o<r.length;o++){var a=r[o],i=this._fields[a].extractor,s=i?i(e):e[a],l=this.tokenizer(s,{fields:[a]}),u=this.pipeline.run(l),c=new I.FieldRef(n,a),d=Object.create(null);this.fieldTermFrequencies[c]=d,this.fieldLengths[c]=0,this.fieldLengths[c]+=u.length;for(var f=0;f<u.length;f++){var p=u[f];if(null==d[p]&&(d[p]=0),d[p]+=1,null==this.invertedIndex[p]){var h=Object.create(null);h._index=this.termIndex,this.termIndex+=1;for(var m=0;m<r.length;m++)h[r[m]]=Object.create(null);this.invertedIndex[p]=h}null==this.invertedIndex[p][a][n]&&(this.invertedIndex[p][a][n]=Object.create(null));for(var g=0;g<this.metadataWhitelist.length;g++){var y=this.metadataWhitelist[g],b=p.metadata[y];null==this.invertedIndex[p][a][n][y]&&(this.invertedIndex[p][a][n][y]=[]),this.invertedIndex[p][a][n][y].push(b)}}}},I.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var a=I.FieldRef.fromString(e[o]),i=a.fieldName;r[i]||(r[i]=0),r[i]+=1,n[i]||(n[i]=0),n[i]+=this.fieldLengths[a]}var s=Object.keys(this._fields);for(o=0;o<s.length;o++){var l=s[o];n[l]=n[l]/r[l]}this.averageFieldLength=n},I.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var a=I.FieldRef.fromString(t[o]),i=a.fieldName,s=this.fieldLengths[a],l=new I.Vector,u=this.fieldTermFrequencies[a],c=Object.keys(u),d=c.length,f=this._fields[i].boost||1,p=this._documents[a.docRef].boost||1,h=0;h<d;h++){var m,g,y,b=c[h],v=u[b],w=this.invertedIndex[b]._index;void 0===r[b]?(m=I.idf(this.invertedIndex[b],this.documentCount),r[b]=m):m=r[b],g=m*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(s/this.averageFieldLength[i]))+v),g*=f,g*=p,y=Math.round(1e3*g)/1e3,l.insert(w,y)}e[a]=l}this.fieldVectors=e},I.Builder.prototype.createTokenSet=function(){this.tokenSet=I.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},I.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new I.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},I.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},I.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n||{}),a=0;a<o.length;a++){var i=o[a];r[i]=n[i].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},I.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var a=0;a<o.length;a++){var i=o[a],s=Object.keys(e.metadata[r][i]);null==this.metadata[r][i]&&(this.metadata[r][i]=Object.create(null));for(var l=0;l<s.length;l++){var u=s[l];null==this.metadata[r][i][u]?this.metadata[r][i][u]=e.metadata[r][i][u]:this.metadata[r][i][u]=this.metadata[r][i][u].concat(e.metadata[r][i][u])}}}},I.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o];a in this.metadata[e][t]?this.metadata[e][t][a]=this.metadata[e][t][a].concat(n[a]):this.metadata[e][t][a]=n[a]}else this.metadata[e][t]=n},I.Query=function(e){this.clauses=[],this.allFields=e},I.Query.wildcard=new String("*"),I.Query.wildcard.NONE=0,I.Query.wildcard.LEADING=1,I.Query.wildcard.TRAILING=2,I.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},I.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=I.Query.wildcard.NONE),e.wildcard&I.Query.wildcard.LEADING&&e.term.charAt(0)!=I.Query.wildcard&&(e.term="*"+e.term),e.wildcard&I.Query.wildcard.TRAILING&&e.term.slice(-1)!=I.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=I.Query.presence.OPTIONAL),this.clauses.push(e),this},I.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=I.Query.presence.PROHIBITED)return!1;return!0},I.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,I.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},I.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},I.QueryParseError.prototype=new Error,I.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},I.QueryLexer.prototype.run=function(){for(var e=I.QueryLexer.lexText;e;)e=e(this)},I.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},I.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},I.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},I.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos<this.length},I.QueryLexer.EOS="EOS",I.QueryLexer.FIELD="FIELD",I.QueryLexer.TERM="TERM",I.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",I.QueryLexer.BOOST="BOOST",I.QueryLexer.PRESENCE="PRESENCE",I.QueryLexer.lexField=function(e){return e.backup(),e.emit(I.QueryLexer.FIELD),e.ignore(),I.QueryLexer.lexText},I.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new I.QueryParseError(n,t.start,t.end)}switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new I.QueryParseError(r,t.start,t.end)}if(o.type===I.QueryLexer.TERM)return I.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return I})?r.call(t,n,t,e):r)||(e.exports=o)}()},7179:function(e){e.exports=function(){"use strict";var e="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},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=a}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(a){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,a=null,i=function i(){if(!o){o=!0,clearTimeout(a);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var o=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);var u=function(){--s<=0&&a(l)};s||u(),i.forEach((function(t){e.matches(t,o.exclude)?u():o.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),u()}),u)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,a=!1;return r.forEach((function(e,t){e.val===n&&(o=t,a=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==o||a?!1===o||a||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach((function(e){e.handled||o.getIframeContents(e.val,(function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var a=this,i=this.createIterator(t,e,r),s=[],l=[],u=void 0,c=void 0,d=function(){var e=a.getIteratorNode(i);return c=e.prevNode,u=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return a.checkIframeFilter(u,c,e,s)}),(function(t){a.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),r)})),l.push(u);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),o()}},{key:"forEachNode",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=this.getContexts(),i=a.length;i||o(),a.forEach((function(a){var s=function(){r.iterateThroughNodes(e,a,t,n,(function(){--i<=0&&o()}))};r.iframes?r.waitForIframes(a,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var o=!1;return n.every((function(t){return!r.call(e,t)||(o=!0,!1)})),o}return!1}}]),e}(),a=function(){function a(e){t(this,a),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(a,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(o){n.every((function(n){if(-1!==n.indexOf(o)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,o="string"==typeof r?r:r.value,a="string"==typeof r?[]:r.limiters,i="";switch(a.forEach((function(e){i+="|"+t.escapeStr(e)})),o){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var o=t.callNoMatchOnInvalidRanges(e,r),a=o.start,i=o.end;o.valid&&(e.start=a,e.length=i-a,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,o=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?o=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:o}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,o=!0,a=n.length,i=t-a,s=parseInt(e.start,10)-i;return(r=(s=s>a?a:s)+parseInt(e.length,10))>a&&(r=a,this.log("End range automatically set to the max value of "+a)),s<0||r-s<0||s>a||r>a?(o=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(o=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:o}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return o.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",o=e.splitText(t),a=o.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=o.textContent,o.parentNode.replaceChild(i,o),a}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,o){var a=this;e.nodes.every((function(i,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=a.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=c),e.nodes[n].end-=c)})),n-=c,o(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var o=void 0;null!==(o=e.exec(t.textContent))&&""!==o[i];)if(n(o[i],t)){var s=o.index;if(0!==i)for(var l=1;l<i;l++)s+=o[l].length;t=a.wrapRangeInTextNode(t,s,s+o[i].length),r(t.previousSibling),e.lastIndex=0}})),o()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,o){var a=this,i=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[i];){var l=s.index;if(0!==i)for(var u=1;u<i;u++)l+=s[u].length;var c=l+s[i].length;a.wrapRangeInMappedTextNode(t,l,c,(function(e){return n(s[i],e)}),(function(t,n){e.lastIndex=n,r(t)}))}o()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var o=this;this.getTextNodes((function(a){var i=a.value.length;e.forEach((function(e,r){var s=o.checkWhitespaceRanges(e,i,a.value),l=s.start,u=s.end;s.valid&&o.wrapRangeInMappedTextNode(a,l,u,(function(n){return t(n,e,a.value.substring(l,u),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,o="wrapMatches",a=function(e){r++,n.opt.each(e)};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),this[o](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),a,(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,o="wrapMatches",a=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=a.keywords,s=a.length,l=this.opt.caseSensitive?"":"i",u=function e(t){var a=new RegExp(n.createRegExp(t),"gm"+l),u=0;n.log('Searching with expression "'+a+'"'),n[o](a,1,(function(e,o){return n.opt.filter(o,t,r,u)}),(function(e){u++,r++,n.opt.each(e)}),(function(){0===u&&n.opt.noMatch(t),i[s-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),0===s?this.opt.done(r):u(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,o=this.checkRanges(e);o&&o.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(o)),this.wrapRangeFromIndex(o,(function(e,t,r,o){return n.opt.filter(e,t,r,o)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=o.matches(e,n),a=t.matchesExclude(e);return!r||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new o(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),a}();function i(e){var t=this,n=new a(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}return i}()},2130:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,i(e,c,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},7837:function(e,t,n){var r=n(8161);e.exports=p,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,s="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],m=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=m&&null!=h&&h!==m,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,T=y||b;r.push({name:g||a++,prefix:m||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:T?u(T):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var a="",s=t||{},l=(o||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=s[c.name];if(null==f){if(c.optional){c.partial&&(a+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');a+=c.prefix+d}}else a+=c}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",s=0;s<e.length;s++){var u=e[s];if("string"==typeof u)i+=l(u);else{var f=l(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),m=i.slice(-h.length)===h;return o||(i=(m?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":o&&m?"":"(?="+h+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(a(e,n),t,n)}(e,t,n)}},1875:function(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2570:function(e,t,n){const r=n(1875),o=n(9246),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(4453).resolve(t)],delete Prism.languages[e],n(4453)(t),a.add(e)}))}i.silent=!1,e.exports=i},4266:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(o>=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),h=f.indexOf(p);if(h>-1){++o;var m=f.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),b=[];m&&b.push.apply(b,i([m])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?s.splice.apply(s,[l,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(Prism)},4453:function(e,t,n){var r={"./":2570};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=4453},9246:function(e){"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function o(r,a){if(!(r in n)){a.push(r);var i=a.indexOf(r);if(i<a.length-1)throw new Error("Circular dependency: "+a.slice(i).join(" -> "));var s={},l=e[r];if(l){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in o(t,a),s[t]=!0,n[t])s[i]=!0}t(l.require,u),t(l.optional,u),t(l.modify,u)}n[r]=s,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(l);i=i.map(u),s=(s||[]).map(u);var c=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(l),h=c;o(h);){for(var m in f={},h){var g=l[m];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in p(y))if(b in c){f[y]=!0;break}for(var v in h=f)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,s={},l={};function u(e){if(e in s)return s[e];l[e]=!0;var o,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)o=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete l[e],t})));a?o=a(f,(function(){return r(e)})):r(e)}return s[e]=o}for(var c in n)u(c);var d=[];for(var f in l)d.push(s[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},4404:function(e,t,n){"use strict";var r=n(1986);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5401:function(e,t,n){e.exports=n(4404)()},1986:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2227:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!a(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],i[u[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},7959:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},3585:function(e,t,n){"use strict";e.exports=n(7959)},3407:function(e,t,n){"use strict";var r=n(3900),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},5674:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,m(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,r){var o,a={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:s,props:a,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===a?"."+L(l,0):a,k(i)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),j(i,t,o,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(_,"$&/")+"/")+e)),t.push(i)),1;if(l=0,a=""===a?".":a+":",k(e))for(var u=0;u<e.length;u++){var c=a+L(s=e[u],u);l+=j(s,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=j(s=s.value,t,o,c=a+L(s,u++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function A(e,t,n){if(null==e)return e;var r=[],o=0;return j(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},P={transition:null},O={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=v,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},3900:function(e,t,n){"use strict";e.exports=n(5674)},966:function(e,t,n){"use strict";e.exports=n(3407)},1107:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<o&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,P(x);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,b(C),C=-1),h=!0;var a=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!j());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&O(k,d.startTime-n),l=!1}return l}finally{f=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,T=null,C=-1,_=5,L=-1;function j(){return!(t.unstable_now()-L<_)}function A(){if(null!==T){var e=t.unstable_now();L=e;var n=!0;try{n=T(!0,e)}finally{n?S():(E=!1,T=null)}}else E=!1}if("function"==typeof v)S=function(){v(A)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,N=R.port2;R.port1.onmessage=A,S=function(){N.postMessage(null)}}else S=function(){y(A,0)};function P(e){T=e,E||(E=!0,S())}function O(e,n){C=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(b(C),C=-1):g=!0,O(k,a-i))):(e.sortIndex=s,n(u,e),m||h||(m=!0,P(x))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4179:function(e,t,n){"use strict";e.exports=n(1107)},9494:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var u=a[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},3546:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t;throw new Error(n?o+": "+n:o)}}},8334:function(e,t,n){"use strict";n.d(t,{p1:function(){return _},y$:function(){return ee}});var r,o,a,i,s,l,u,c=n(3900),d=n(7515),f=Object.create,p=Object.defineProperty,h=Object.defineProperties,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>h(e,g(t)),T=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=a[s])}var u=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var l=t[s],u=r.util.type(l);"Object"!==u||a[i(l)]?"Array"!==u||a[i(l)]||(a[i(l)]=!0,e(l,n,s,a)):(a[i(l)]=!0,e(l,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,s,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],g=m.inside,y=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var k=m.pattern||m,x=s.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof o)){var T,C=1;if(b){if(!(T=a(k,S,e,y))||T.index>=e.length)break;var _=T.index,L=T.index+T[0].length,j=S;for(j+=x.value.length;_>=j;)j+=(x=x.next).value.length;if(S=j-=x.value.length,x.value instanceof o)continue;for(var A=x;A!==t.tail&&(j<L||"string"==typeof A.value);A=A.next)C++,j+=A.value.length;C--,E=e.slice(S,j),T.index-=S}else if(!(T=a(k,0,E,y)))continue;_=T.index;var R=T[0],N=E.slice(0,_),P=E.slice(_+R.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var I=x.prev;if(N&&(I=l(t,I,N),S+=N.length),u(t,I,C),x=l(t,I,new o(f,g?r.tokenize(R,g):R,v,R)),P&&l(t,x,P),C>1){var D={cause:f+","+h,reach:O};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return o||(0,r[y(r)[0]])((o={exports:{}}).exports,o),o.exports}),_=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of y(t))w.call(e,o)||o===n||p(e,o,{get:()=>t[o],enumerable:!(r=m(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());a=_,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},_.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},_.languages.javascript=_.languages.extend("clike",{"class-name":[_.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),_.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,_.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:_.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:_.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:_.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:_.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:_.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),_.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:_.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),_.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),_.languages.markup&&(_.languages.markup.tag.addInlined("script","javascript"),_.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),_.languages.js=_.languages.javascript,_.languages.actionscript=_.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),_.languages.actionscript["class-name"].alias="function",delete _.languages.actionscript.parameter,delete _.languages.actionscript["literal-property"],_.languages.markup&&_.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:_.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(_),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(_),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(_),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(_),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(_),_.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},_.languages.markup.tag.inside["attr-value"].inside.entity=_.languages.markup.entity,_.languages.markup.doctype.inside["internal-subset"].inside=_.languages.markup,_.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(_.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:_.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:_.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},_.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(_.languages.markup.tag,"addAttribute",{value:function(e,t){_.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:_.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),_.languages.html=_.languages.markup,_.languages.mathml=_.languages.markup,_.languages.svg=_.languages.markup,_.languages.xml=_.languages.extend("markup",{}),_.languages.ssml=_.languages.xml,_.languages.atom=_.languages.xml,_.languages.rss=_.languages.xml,function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(_),_.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:_.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},_.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var a=f(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),o.push(i.content))}n=a+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),0<o.length)){var s=f(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var u=t[l];"variable"===u.type&&0<=o.indexOf(u.content)&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),_.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),u=0,c={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var a=0;a<n.length;a++){if(u>=d.length)return;var i,l,f,p,h,m,g,y=n[a];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(i))&&(++u,l=m.substring(0,g),h=c[i],f=void 0,(p={})["interpolation-punctuation"]=o,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,s(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=m.substring(g+i.length),h=[],l&&h.push(l),h.push(f),p&&(t(m=[p]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[a,1].concat(h)),a+=h.length-1):y.content=h)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,s,u=n[r];"string"!=typeof u&&(a=u.content,Array.isArray(a)?"template-string"===u.type?(u=a[1],3===a.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,s=e.languages[u])&&(a[1]=l(i,s,u))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)}))}(_),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(_),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(_),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(_),_.languages.n4js=_.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),_.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),_.languages.n4jsd=_.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(_),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=s(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=s(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(_),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(_),_.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},_.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=_.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(_),_.languages.c=_.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),_.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),_.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},_.languages.c.string],char:_.languages.c.char,comment:_.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:_.languages.c}}}}),_.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete _.languages.c.boolean,_.languages.objectivec=_.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete _.languages.objectivec["class-name"],_.languages.objc=_.languages.objectivec,_.languages.reason=_.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),_.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete _.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(_),_.languages.go=_.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),_.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete _.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(_);((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>L,duotoneDark:()=>j,duotoneLight:()=>A,github:()=>R,jettwaveDark:()=>q,jettwaveLight:()=>H,nightOwl:()=>N,nightOwlLight:()=>P,oceanicNext:()=>D,okaidia:()=>z,oneDark:()=>Q,oneLight:()=>Z,palenight:()=>F,shadesOfPurple:()=>M,synthwave84:()=>B,ultramin:()=>W,vsDark:()=>U,vsLight:()=>$});var L={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},j={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"}}]},A={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{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:"#896724"}}]},R={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},N={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},P={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},z={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},M={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},W={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},$={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},q={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},H={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Q={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{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:"hsl(220, 14%, 71%)"}}]},Z={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{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:"hsl(230, 8%, 24%)"}}]},V=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),o);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},G=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,u=t[i];const c=n[i][a];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=Y(u,c.type),c.alias&&(u=Y(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(G),f=d.length;s.push({types:u,content:d[0]});for(let t=1;t<f;t++)K(s),l.push(s=[]),s.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return K(s),l},J=({children:e,language:t,code:n,theme:r,prism:o})=>{const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(V(t,e)),o=(0,c.useRef)(),a=(0,c.useRef)();return(0,c.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(V(t,e)))}),[e,t]),n})(a,r),s=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=T(n,["className","style","line"]);const s=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=S(S({},s.style||{}),o)),s}),[e]))(i),l=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=T(n,["token","className","style"]);const s=E(S({},i),{className:(0,d.Z)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(s.style=S(S({},s.style||{}),a)),s}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:u,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||_,theme:e.theme||U,code:e.code,language:e.language}))},922:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},7535:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},1360:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},6809:function(e,t,n){"use strict";n.r(t),t.default={title:"Docusaurus Search",tagline:"An offline/local search example using @easyops-cn/docusaurus-search-local",url:"https://easyops-cn.github.io",baseUrl:"/docusaurus-search-local/zh-TW/",onBrokenLinks:"throw",favicon:"img/favicon.ico",organizationName:"easyops-cn",projectName:"docusaurus-search-local",i18n:{defaultLocale:"en",locales:["en","zh-CN","zh-TW"],path:"i18n",localeConfigs:{}},themeConfig:{navbar:{title:"Docusaurus Search",logo:{alt:"My Site Logo",src:"img/logo.svg"},items:[{to:"docs/",activeBasePath:"docs",label:"Docs",position:"left"},{to:"blog",label:"Blog",position:"left"},{href:"https://github.com/easyops-cn/docusaurus-search-local",label:"GitHub",position:"right"},{type:"localeDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]},{type:"docsVersionDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Style Guide",to:"docs/"},{label:"Second Doc",to:"docs/doc2/"}]},{title:"Community",items:[{label:"Stack Overflow",href:"https://stackoverflow.com/questions/tagged/docusaurus"},{label:"Discord",href:"https://discordapp.com/invite/docusaurus"},{label:"Twitter",href:"https://twitter.com/docusaurus"}]},{title:"More",items:[{label:"Blog",to:"blog"},{label:"GitHub",href:"https://github.com/easyops-cn/docusaurus-search-local"}]}],copyright:"Copyright \xa9 2024 My Project, Inc. Built with Docusaurus."},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],prism:{additionalLanguages:[],theme:{plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/sidebars.js",editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},blog:{showReadingTime:!0,editUrl:"https://github.com/easyops-cn/docusaurus-search-local/edit/master/website/"},theme:{customCss:"/home/runner/work/docusaurus-search-local/docusaurus-search-local/website/src/css/custom.css"}}]],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en","zh"],highlightSearchTermsOnTargetPage:!0,explicitSearchResultPath:!0}]],baseUrlIssueBanner:!0,onBrokenMarkdownLinks:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7529:function(e){"use strict";e.exports=JSON.parse('{"theme.AnnouncementBar.closeButtonAriaLabel":"\u95dc\u9589","theme.BackToTopButton.buttonAriaLabel":"\u56de\u5230\u9802\u90e8","theme.CodeBlock.copied":"\u8907\u88fd\u6210\u529f","theme.CodeBlock.copy":"\u8907\u88fd","theme.CodeBlock.copyButtonAriaLabel":"\u8907\u88fd\u4ee3\u78bc\u81f3\u526a\u8cbc\u7c3f","theme.CodeBlock.wordWrapToggle":"\u5207\u63db\u81ea\u52d5\u63db\u884c","theme.DocSidebarItem.collapseCategoryAriaLabel":"Collapse sidebar category \'{label}\'","theme.DocSidebarItem.expandCategoryAriaLabel":"Expand sidebar category \'{label}\'","theme.ErrorPageContent.title":"\u6b64\u9801\u5df2\u7576\u6a5f\u3002","theme.ErrorPageContent.tryAgain":"\u91cd\u8a66","theme.NavBar.navAriaLabel":"\u4e3b\u5c0e\u822a","theme.NotFound.p1":"\u6211\u5011\u6c92\u6709\u60a8\u8981\u627e\u7684\u9801\u9762\u3002","theme.NotFound.p2":"\u8acb\u806f\u7d61\u539f\u59cb\u9023\u7d50\u4f86\u6e90\u7db2\u7ad9\u7684\u6240\u6709\u8005\uff0c\u4e26\u901a\u77e5\u4ed6\u5011\u9023\u7d50\u5df2\u6bc0\u640d\u3002","theme.NotFound.title":"\u627e\u4e0d\u5230\u9801\u9762","theme.TOCCollapsible.toggleButtonLabel":"\u672c\u9801\u5c0e\u89bd","theme.admonition.caution":"\u8b66\u544a","theme.admonition.danger":"\u5371\u96aa","theme.admonition.info":"\u4fe1\u606f","theme.admonition.note":"\u5099\u8a3b","theme.admonition.tip":"\u63d0\u793a","theme.admonition.warning":"warning","theme.blog.archive.description":"\u6b77\u53f2\u6587\u7ae0","theme.blog.archive.title":"\u6b77\u53f2\u6587\u7ae0","theme.blog.paginator.navAriaLabel":"\u90e8\u843d\u683c\u6587\u7ae0\u5217\u8868\u5206\u9801\u5c0e\u89bd","theme.blog.paginator.newerEntries":"\u8f03\u65b0\u7684\u6587\u7ae0","theme.blog.paginator.olderEntries":"\u8f03\u820a\u7684\u6587\u7ae0","theme.blog.post.paginator.navAriaLabel":"\u90e8\u843d\u683c\u6587\u7ae0\u5206\u9801\u5c0e\u89bd","theme.blog.post.paginator.newerPost":"\u8f03\u65b0\u4e00\u7bc7","theme.blog.post.paginator.olderPost":"\u8f03\u820a\u4e00\u7bc7","theme.blog.post.plurals":"{count} \u7bc7\u6587\u7ae0","theme.blog.post.readMore":"\u95b1\u8b80\u66f4\u591a","theme.blog.post.readMoreLabel":"\u95b1\u8b80 {title} \u5168\u6587","theme.blog.post.readingTime.plurals":"\u95b1\u8b80\u6642\u9593\u7d04 {readingTime} \u5206\u9418","theme.blog.sidebar.navAriaLabel":"\u6700\u8fd1\u90e8\u843d\u683c\u6587\u7ae0\u5c0e\u89bd","theme.blog.tagTitle":"{nPosts} \u542b\u6709\u6a19\u7c64\u300c{tagName}\u300d","theme.colorToggle.ariaLabel":"\u5207\u63db\u6dfa\u8272/\u6697\u9ed1\u6a21\u5f0f\uff08\u7576\u524d\u70ba{mode}\uff09","theme.colorToggle.ariaLabel.mode.dark":"\u6697\u9ed1\u6a21\u5f0f","theme.colorToggle.ariaLabel.mode.light":"\u6dfa\u8272\u6a21\u5f0f","theme.common.editThisPage":"\u7de8\u8f2f\u6b64\u9801","theme.common.headingLinkTitle":"{heading}\u7684\u76f4\u63a5\u9023\u7d50","theme.common.skipToMainContent":"\u8df3\u81f3\u4e3b\u8981\u5185\u5bb9","theme.docs.DocCard.categoryDescription":"{count} \u500b\u9805\u76ee","theme.docs.breadcrumbs.home":"\u4e3b\u9801\u9762","theme.docs.breadcrumbs.navAriaLabel":"\u9801\u9762\u8def\u5f91","theme.docs.paginator.navAriaLabel":"\u6587\u4ef6\u9078\u9805\u5361","theme.docs.paginator.next":"\u4e0b\u4e00\u9801","theme.docs.paginator.previous":"\u4e0a\u4e00\u9801","theme.docs.sidebar.closeSidebarButtonAriaLabel":"Close navigation bar","theme.docs.sidebar.collapseButtonAriaLabel":"\u6536\u8d77\u5074\u908a\u6b04","theme.docs.sidebar.collapseButtonTitle":"\u6536\u8d77\u5074\u908a\u6b04","theme.docs.sidebar.expandButtonAriaLabel":"\u5c55\u958b\u5074\u908a\u6b04","theme.docs.sidebar.expandButtonTitle":"\u5c55\u958b\u5074\u908a\u6b04","theme.docs.sidebar.navAriaLabel":"\u6587\u4ef6\u5074\u908a\u6b04","theme.docs.sidebar.toggleSidebarButtonAriaLabel":"Toggle navigation bar","theme.docs.tagDocListPageTitle":"{nDocsTagged}\u300c{tagName}\u300d","theme.docs.tagDocListPageTitle.nDocsTagged":"{count} \u7bc7\u6587\u4ef6\u5e36\u6709\u6a19\u7c64","theme.docs.versionBadge.label":"\u7248\u672c\uff1a{versionLabel}","theme.docs.versions.latestVersionLinkLabel":"\u6700\u65b0\u7248\u672c","theme.docs.versions.latestVersionSuggestionLabel":"\u6700\u65b0\u7684\u6587\u4ef6\u8acb\u53c3\u95b1 {latestVersionLink} ({versionLabel})\u3002","theme.docs.versions.unmaintainedVersionLabel":"\u6b64\u70ba {siteTitle} {versionLabel} \u7248\u7684\u6587\u4ef6\uff0c\u73fe\u5df2\u4e0d\u518d\u7a4d\u6975\u7dad\u8b77\u3002","theme.docs.versions.unreleasedVersionLabel":"\u6b64\u70ba {siteTitle} {versionLabel} \u7248\u5c1a\u672a\u767c\u884c\u7684\u6587\u4ef6\u3002","theme.lastUpdated.atDate":"\u65bc {date} ","theme.lastUpdated.byUser":"\u7531 {user} ","theme.lastUpdated.lastUpdatedAtBy":"\u6700\u5f8c{byUser}{atDate}\u66f4\u65b0","theme.navbar.mobileLanguageDropdown.label":"\u9078\u64c7\u8a9e\u8a00","theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel":"\u2190 \u56de\u5230\u4e3b\u9078\u55ae","theme.navbar.mobileVersionsDropdown.label":"\u9078\u64c7\u7248\u672c","theme.tags.tagsListLabel":"\u6a19\u7c64\uff1a","theme.tags.tagsPageLink":"\u6aa2\u8996\u6240\u6709\u6a19\u7c64","theme.tags.tagsPageTitle":"\u6a19\u7c64","theme.unlistedContent.message":"\u6b64\u9801\u9762\u672a\u5217\u51fa\u3002\u641c\u7d22\u5f15\u64ce\u4e0d\u6703\u5c0d\u5176\u7d22\u5f15\uff0c\u53ea\u6709\u64c1\u6709\u76f4\u63a5\u9023\u7d50\u7684\u7528\u6236\u624d\u80fd\u8a2a\u554f\u3002","theme.unlistedContent.title":"\u672a\u5217\u51fa\u9801","theme.SearchBar.label":"\u6aa2\u7d22"}')},6887:function(e){"use strict";e.exports=JSON.parse('{"/docusaurus-search-local/zh-TW/blog-9aa":{"__comp":"a6aa9e1f","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"807d5d2d"},{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"metadata":"b2cfdf8c"},"/docusaurus-search-local/zh-TW/blog/archive-282":{"__comp":"9e4087bc","__context":{"plugin":"d3609805"},"archive":"376a6b2e"},"/docusaurus-search-local/zh-TW/blog/hello-world-48b":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"d610846f"},"/docusaurus-search-local/zh-TW/blog/hola-7c1":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"bdd709f1"},"/docusaurus-search-local/zh-TW/blog/tags-b58":{"__comp":"01a85c17","__context":{"plugin":"d3609805"},"sidebar":"814f3328","tags":"bc103642"},"/docusaurus-search-local/zh-TW/blog/tags/docusaurus-65f":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"tag":"94c7b267","listMetadata":"562b6f2f"},"/docusaurus-search-local/zh-TW/blog/tags/facebook-0f6":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"}],"tag":"438ae6a5","listMetadata":"d6c84f37"},"/docusaurus-search-local/zh-TW/blog/tags/hello-bf3":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"af172acd"},{"content":"3570154c"}],"tag":"2ea63f09","listMetadata":"c9e2ad75"},"/docusaurus-search-local/zh-TW/blog/tags/hola-546":{"__comp":"6875c492","__context":{"plugin":"d3609805"},"sidebar":"814f3328","items":[{"content":"8e9f0a8a"}],"tag":"17451492","listMetadata":"eb2f9b91"},"/docusaurus-search-local/zh-TW/blog/welcome-942":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"2868cdab"},"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests-edc":{"__comp":"ccc49370","__context":{"plugin":"d3609805"},"sidebar":"814f3328","content":"3a35335b"},"/docusaurus-search-local/zh-TW/search-3c1":{"__comp":"1a4e3797","__context":{"plugin":"1cbf0e34"}},"/docusaurus-search-local/zh-TW/docs-676":{"__comp":"5e95c892","__context":{"plugin":"6b3775fa"}},"/docusaurus-search-local/zh-TW/docs/next-514":{"__comp":"a7bd4aaa","version":"935f2afb"},"/docusaurus-search-local/zh-TW/docs/next/tags-3dc":{"__comp":"3720c009","tags":"55960ee5"},"/docusaurus-search-local/zh-TW/docs/next/tags/front-matter-842":{"__comp":"df203c0f","tag":"9e07b075"},"/docusaurus-search-local/zh-TW/docs/next/tags/keywords-146":{"__comp":"df203c0f","tag":"76dd5930"},"/docusaurus-search-local/zh-TW/docs/next/tags/test-65b":{"__comp":"df203c0f","tag":"61b4d5cb"},"/docusaurus-search-local/zh-TW/docs/next-747":{"__comp":"a94703ab"},"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basics-268":{"__comp":"14eb3368","categoryGeneratedIndex":"5e2d61df"},"/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extras-ceb":{"__comp":"14eb3368","categoryGeneratedIndex":"66664d5e"},"/docusaurus-search-local/zh-TW/docs/next/intro-77b":{"__comp":"17896441","content":"0e384e19"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations-caa":{"__comp":"17896441","content":"822bd8ab"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post-cf6":{"__comp":"17896441","content":"533a09ca"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document-7c3":{"__comp":"17896441","content":"1e4232ab"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page-fb5":{"__comp":"17896441","content":"5c868d36"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site-013":{"__comp":"17896441","content":"f55d3e7a"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features-802":{"__comp":"17896441","content":"18c41134"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions-cfc":{"__comp":"17896441","content":"dff1c289"},"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site-7d9":{"__comp":"17896441","content":"e44a2883"},"/docusaurus-search-local/zh-TW/docs/next/unlisted-post-4e6":{"__comp":"17896441","content":"337aaa52"},"/docusaurus-search-local/zh-TW/docs-2d6":{"__comp":"a7bd4aaa","version":"62e81aa6"},"/docusaurus-search-local/zh-TW/docs-970":{"__comp":"a94703ab"},"/docusaurus-search-local/zh-TW/docs/-22b":{"__comp":"17896441","content":"f054516d"},"/docusaurus-search-local/zh-TW/docs/doc-in-pt-9fc":{"__comp":"17896441","content":"c7798012"},"/docusaurus-search-local/zh-TW/docs/doc2-7aa":{"__comp":"17896441","content":"55526312"},"/docusaurus-search-local/zh-TW/docs/doc3-88e":{"__comp":"17896441","content":"1a4922cc"},"/docusaurus-search-local/zh-TW/docs/mdx-a34":{"__comp":"17896441","content":"269baefd"},"/docusaurus-search-local/zh-TW/-523":{"__comp":"c4f5d8e4","__context":{"plugin":"7acd0c93"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,[532],(function(){return t=773,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/zh-TW/assets/js/main.0c19b3d1.js.LICENSE.txt b/zh-TW/assets/js/main.0c19b3d1.js.LICENSE.txt new file mode 100644 index 00000000..89312577 --- /dev/null +++ b/zh-TW/assets/js/main.0c19b3d1.js.LICENSE.txt @@ -0,0 +1,142 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ + +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ + +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/zh-TW/assets/js/runtime~main.a0a36756.js b/zh-TW/assets/js/runtime~main.a0a36756.js new file mode 100644 index 00000000..55e2a7cd --- /dev/null +++ b/zh-TW/assets/js/runtime~main.a0a36756.js @@ -0,0 +1 @@ +!function(){"use strict";var e,a,c,t,f,n={},r={};function d(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(c.exports,c,c.exports,d),c.loaded=!0,c.exports}d.m=n,d.c=r,e=[],d.O=function(a,c,t,f){if(!c){var n=1/0;for(u=0;u<e.length;u++){c=e[u][0],t=e[u][1],f=e[u][2];for(var r=!0,o=0;o<c.length;o++)(!1&f||n>=f)&&Object.keys(d.O).every((function(e){return d.O[e](c[o])}))?c.splice(o--,1):(r=!1,f<n&&(n=f));if(r){e.splice(u--,1);var b=t();void 0!==b&&(a=b)}}return a}f=f||0;for(var u=e.length;u>0&&e[u-1][2]>f;u--)e[u]=e[u-1];e[u]=[c,t,f]},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,{a:a}),a},c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var n={};a=a||[null,c({}),c([]),c(c)];for(var r=2&t&&e;"object"==typeof r&&!~a.indexOf(r);r=c(r))Object.getOwnPropertyNames(r).forEach((function(a){n[a]=function(){return e[a]}}));return n.default=function(){return e},d.d(f,n),f},d.d=function(e,a){for(var c in a)d.o(a,c)&&!d.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce((function(a,c){return d.f[c](e,a),a}),[]))},d.u=function(e){return"assets/js/"+({53:"935f2afb",139:"5e2d61df",719:"76dd5930",1449:"af172acd",1528:"807d5d2d",1771:"f054516d",2353:"66664d5e",2535:"814f3328",2652:"61b4d5cb",2859:"18c41134",2894:"562b6f2f",2995:"bc103642",3089:"a6aa9e1f",3125:"7acd0c93",3408:"55526312",3608:"9e4087bc",3707:"3570154c",3751:"3720c009",3792:"dff1c289",4013:"01a85c17",4035:"8e9f0a8a",4061:"2868cdab",4079:"c9e2ad75",4121:"55960ee5",4193:"f55d3e7a",4195:"c4f5d8e4",4368:"a94703ab",4484:"6b3775fa",4607:"533a09ca",4694:"bdd709f1",4854:"337aaa52",5322:"3a35335b",5329:"62e81aa6",5560:"c7798012",5589:"5c868d36",6103:"ccc49370",6176:"d610846f",6253:"b2cfdf8c",6372:"d6c84f37",6504:"822bd8ab",6537:"9e07b075",6755:"e44a2883",7195:"1cbf0e34",7626:"376a6b2e",7728:"94c7b267",7801:"2ea63f09",7918:"17896441",7920:"1a4e3797",8293:"1a4922cc",8518:"a7bd4aaa",8610:"6875c492",8611:"269baefd",8818:"1e4232ab",8864:"d3609805",9064:"438ae6a5",9377:"17451492",9435:"eb2f9b91",9661:"5e95c892",9671:"0e384e19",9817:"14eb3368",9924:"df203c0f"}[e]||e)+"."+{53:"444c2760",139:"ac595ad2",719:"6bcb224d",1449:"fa3b51eb",1528:"04a46b82",1771:"ccde5e1e",2118:"a37a5fbb",2353:"782ec853",2535:"c46d9fef",2652:"7a207462",2859:"d05ae529",2894:"62a5aca2",2995:"60623091",3089:"e31ab401",3125:"9a73f146",3408:"ee33dc15",3608:"395afb6f",3707:"11dd2df2",3751:"696eeede",3792:"deb1f161",4013:"cf6da810",4035:"86883cd8",4061:"47f03180",4079:"c97a63ac",4121:"f6f9139f",4193:"d4e0c197",4195:"c5786715",4368:"68bf235f",4484:"8589a71f",4607:"69c3656d",4694:"e6a15d05",4854:"1b7be315",5130:"49147aff",5322:"a497baee",5329:"dd604245",5560:"a789edfd",5589:"14675a5f",5920:"83d9a30f",6103:"3766cae8",6176:"69b352c0",6253:"638e29bf",6372:"2c81f1a6",6504:"c08258f8",6537:"21455de0",6755:"dc599c4a",7024:"b093103e",7195:"209620b2",7626:"5437b807",7728:"214ad1fa",7801:"2f26cb26",7918:"2342e34f",7920:"61d2a7de",8133:"a27696f3",8293:"411c0d95",8518:"aef66c49",8610:"45c8fa40",8611:"d5596efb",8818:"33e1d7a3",8864:"382f25ff",9064:"276f06e8",9377:"8a792b98",9435:"038af575",9661:"18f37c2a",9671:"fdd805ff",9817:"f3087745",9924:"3452c979"}[e]+".js"},d.miniCssF=function(e){},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t={},f="website:",d.l=function(e,a,c,n){if(t[e])t[e].push(a);else{var r,o;if(void 0!==c)for(var b=document.getElementsByTagName("script"),u=0;u<b.length;u++){var i=b[u];if(i.getAttribute("src")==e||i.getAttribute("data-webpack")==f+c){r=i;break}}r||(o=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,d.nc&&r.setAttribute("nonce",d.nc),r.setAttribute("data-webpack",f+c),r.src=e),t[e]=[a];var l=function(a,c){r.onerror=r.onload=null,clearTimeout(s);var f=t[e];if(delete t[e],r.parentNode&&r.parentNode.removeChild(r),f&&f.forEach((function(e){return e(c)})),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/docusaurus-search-local/zh-TW/",d.gca=function(e){return e={17451492:"9377",17896441:"7918",55526312:"3408","935f2afb":"53","5e2d61df":"139","76dd5930":"719",af172acd:"1449","807d5d2d":"1528",f054516d:"1771","66664d5e":"2353","814f3328":"2535","61b4d5cb":"2652","18c41134":"2859","562b6f2f":"2894",bc103642:"2995",a6aa9e1f:"3089","7acd0c93":"3125","9e4087bc":"3608","3570154c":"3707","3720c009":"3751",dff1c289:"3792","01a85c17":"4013","8e9f0a8a":"4035","2868cdab":"4061",c9e2ad75:"4079","55960ee5":"4121",f55d3e7a:"4193",c4f5d8e4:"4195",a94703ab:"4368","6b3775fa":"4484","533a09ca":"4607",bdd709f1:"4694","337aaa52":"4854","3a35335b":"5322","62e81aa6":"5329",c7798012:"5560","5c868d36":"5589",ccc49370:"6103",d610846f:"6176",b2cfdf8c:"6253",d6c84f37:"6372","822bd8ab":"6504","9e07b075":"6537",e44a2883:"6755","1cbf0e34":"7195","376a6b2e":"7626","94c7b267":"7728","2ea63f09":"7801","1a4e3797":"7920","1a4922cc":"8293",a7bd4aaa:"8518","6875c492":"8610","269baefd":"8611","1e4232ab":"8818",d3609805:"8864","438ae6a5":"9064",eb2f9b91:"9435","5e95c892":"9661","0e384e19":"9671","14eb3368":"9817",df203c0f:"9924"}[e]||e,d.p+d.u(e)},function(){var e={1303:0,532:0};d.f.j=function(a,c){var t=d.o(e,a)?e[a]:void 0;if(0!==t)if(t)c.push(t[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise((function(c,f){t=e[a]=[c,f]}));c.push(t[2]=f);var n=d.p+d.u(a),r=new Error;d.l(n,(function(c){if(d.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var f=c&&("load"===c.type?"missing":c.type),n=c&&c.target&&c.target.src;r.message="Loading chunk "+a+" failed.\n("+f+": "+n+")",r.name="ChunkLoadError",r.type=f,r.request=n,t[1](r)}}),"chunk-"+a,a)}},d.O.j=function(a){return 0===e[a]};var a=function(a,c){var t,f,n=c[0],r=c[1],o=c[2],b=0;if(n.some((function(a){return 0!==e[a]}))){for(t in r)d.o(r,t)&&(d.m[t]=r[t]);if(o)var u=o(d)}for(a&&a(c);b<n.length;b++)f=n[b],d.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return d.O(u)},c=self.webpackChunkwebsite=self.webpackChunkwebsite||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))}()}(); \ No newline at end of file diff --git a/zh-TW/blog/archive/index.html b/zh-TW/blog/archive/index.html new file mode 100644 index 00000000..53a0c70d --- /dev/null +++ b/zh-TW/blog/archive/index.html @@ -0,0 +1,14 @@ +<!doctype html> +<html lang="zh-TW" dir="ltr" class="plugin-blog plugin-id-default" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.0.0"> +<title data-rh="true">歷史文章 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/blog/atom.xml b/zh-TW/blog/atom.xml new file mode 100644 index 00000000..5149c1ae --- /dev/null +++ b/zh-TW/blog/atom.xml @@ -0,0 +1,150 @@ + + + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog + Docusaurus Search Blog + 2019-06-15T00:00:00.000Z + https://github.com/jpmonette/feed + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/img/favicon.ico + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests + + 2019-06-15T00:00:00.000Z + +
備註
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+ + Wang Shenwei + https://github.com/weareoutman + +
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/welcome + + 2019-05-30T00:00:00.000Z + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ + Yangshun Tay + https://github.com/yangshun + + + + +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hello-world + + 2019-05-29T00:00:00.000Z + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ + Endilie Yacop Sucipto + https://github.com/endiliey + + + +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hola + + 2019-05-28T00:00:00.000Z + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ + Gao Wei + https://github.com/wgao19 + + + +
+
\ No newline at end of file diff --git a/zh-TW/blog/hello-world/index.html b/zh-TW/blog/hello-world/index.html new file mode 100644 index 00000000..d677de90 --- /dev/null +++ b/zh-TW/blog/hello-world/index.html @@ -0,0 +1,16 @@ + + + + + +Hello | Docusaurus Search + + + + + +
+ + \ No newline at end of file diff --git a/zh-TW/blog/hola/index.html b/zh-TW/blog/hola/index.html new file mode 100644 index 00000000..e7907cc1 --- /dev/null +++ b/zh-TW/blog/hola/index.html @@ -0,0 +1,14 @@ + + + + + +Hola | Docusaurus Search + + + + + +

Hola

· 閱讀時間約 1 分鐘
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-TW/blog/index.html b/zh-TW/blog/index.html new file mode 100644 index 00000000..fc945949 --- /dev/null +++ b/zh-TW/blog/index.html @@ -0,0 +1,97 @@ + + + + + +Blog | Docusaurus Search + + + + + +

· 閱讀時間約 8 分鐘
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

· 閱讀時間約 1 分鐘
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· 閱讀時間約 1 分鐘
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-TW/blog/rss.xml b/zh-TW/blog/rss.xml new file mode 100644 index 00000000..537492ff --- /dev/null +++ b/zh-TW/blog/rss.xml @@ -0,0 +1,136 @@ + + + + Docusaurus Search Blog + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog + Docusaurus Search Blog + Sat, 15 Jun 2019 00:00:00 GMT + https://validator.w3.org/feed/docs/rss2.html + https://github.com/jpmonette/feed + zh-TW + + <![CDATA[编写良好的单元测试]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests + Sat, 15 Jun 2019 00:00:00 GMT + +
備註
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

]]>
+
+ + <![CDATA[Welcome]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/welcome + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/welcome + Thu, 30 May 2019 00:00:00 GMT + + Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

]]>
+ facebook + hello + docusaurus +
+ + <![CDATA[Hello]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hello-world + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hello-world + Wed, 29 May 2019 00:00:00 GMT + + Welcome to this blog. This blog is created with Docusaurus 2 alpha.

+

This is a test post.

+

A whole bunch of other information.

]]>
+ hello + docusaurus +
+ + <![CDATA[Hola]]> + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hola + https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hola + Tue, 28 May 2019 00:00:00 GMT + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

]]>
+ hola + docusaurus +
+
+
\ No newline at end of file diff --git a/zh-TW/blog/tags/docusaurus/index.html b/zh-TW/blog/tags/docusaurus/index.html new file mode 100644 index 00000000..f4ca0d5a --- /dev/null +++ b/zh-TW/blog/tags/docusaurus/index.html @@ -0,0 +1,15 @@ + + + + + +3 篇文章 含有標籤「docusaurus」 | Docusaurus Search + + + + + +

3 篇文章 含有標籤「docusaurus」

檢視所有標籤

· 閱讀時間約 1 分鐘
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

· 閱讀時間約 1 分鐘
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-TW/blog/tags/facebook/index.html b/zh-TW/blog/tags/facebook/index.html new file mode 100644 index 00000000..b52bc362 --- /dev/null +++ b/zh-TW/blog/tags/facebook/index.html @@ -0,0 +1,15 @@ + + + + + +1 篇文章 含有標籤「facebook」 | Docusaurus Search + + + + + +

1 篇文章 含有標籤「facebook」

檢視所有標籤

· 閱讀時間約 1 分鐘
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-TW/blog/tags/hello/index.html b/zh-TW/blog/tags/hello/index.html new file mode 100644 index 00000000..dcbe6b33 --- /dev/null +++ b/zh-TW/blog/tags/hello/index.html @@ -0,0 +1,15 @@ + + + + + +2 篇文章 含有標籤「hello」 | Docusaurus Search + + + + + +

2 篇文章 含有標籤「hello」

檢視所有標籤

· 閱讀時間約 1 分鐘
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-TW/blog/tags/hola/index.html b/zh-TW/blog/tags/hola/index.html new file mode 100644 index 00000000..07c22057 --- /dev/null +++ b/zh-TW/blog/tags/hola/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文章 含有標籤「hola」 | Docusaurus Search + + + + + +

1 篇文章 含有標籤「hola」

檢視所有標籤

· 閱讀時間約 1 分鐘
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + \ No newline at end of file diff --git a/zh-TW/blog/tags/index.html b/zh-TW/blog/tags/index.html new file mode 100644 index 00000000..dc147d0d --- /dev/null +++ b/zh-TW/blog/tags/index.html @@ -0,0 +1,14 @@ + + + + + +標籤 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/blog/welcome/index.html b/zh-TW/blog/welcome/index.html new file mode 100644 index 00000000..bd90937b --- /dev/null +++ b/zh-TW/blog/welcome/index.html @@ -0,0 +1,15 @@ + + + + + +Welcome | Docusaurus Search + + + + + +

Welcome

· 閱讀時間約 1 分鐘
Yangshun Tay

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

+

Delete the whole directory if you don't want the blog features. As simple as that!

+ + \ No newline at end of file diff --git a/zh-TW/blog/writing-good-unit-tests/index.html b/zh-TW/blog/writing-good-unit-tests/index.html new file mode 100644 index 00000000..d5d3aca4 --- /dev/null +++ b/zh-TW/blog/writing-good-unit-tests/index.html @@ -0,0 +1,96 @@ + + + + + +编写良好的单元测试 | Docusaurus Search + + + + + +

编写良好的单元测试

· 閱讀時間約 8 分鐘
+
+

“万物之始,大道至简”

+
+

本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。

+

基本方法

+

编写单元测试的基本方法其实很简单:

+
    +
  1. 给定输入
  2. +
  3. 运行
  4. +
  5. 断言输出
  6. +
+

而一个好的单元测试的要求也很简单:

+
    +
  • 覆盖足够的输入场景
  • +
  • 进行充分的输出断言
  • +
+

一个最简单的例子:

+
// `add.ts`
function add(a: number, b: number): number {
return a + b;
}
+
// `add.spec.ts`
test("add(1, 2) should return 3", () => {
expect(add(1, 2)).toBe(3);
});
+

我们编写单元测试的步骤如下:

+
    +
  1. 给定输入:1, 2
  2. +
  3. 运行: add(...)
  4. +
  5. 断言输出:expect(...).toBe(3)
  6. +
+

是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。

+
    +
  • 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景
  • +
  • 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果
  • +
+
+

这里提到的输入输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。

+
+

所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。

+

输入

+

足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种:

+
    +
  • 普通变量参数
  • +
  • 外部依赖发送的事件
  • +
  • GUI 操作事件
  • +
+

编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。

+

我们依然看一个简单的例子:

+
// `MyComponent.ts`
window.addEventListener("resize", () => { ... });
+

如何覆盖?主动发送这个事件:

+
// `MyComponent.spec.ts`
test("MyComponent", () => {
window.dispatchEvent(new Event("resize"));
// ...
});
+

再看一个例子:

+
// `MyComponent.tsx`
const handleChange = (value: string): void => { ... };
return <Editor onChange={handleChange} />
+

如何覆盖依赖组件的特定事件?主动触发依赖组件的事件:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
wrapper.find(Editor).invoke("onChange")("faked value");
// ...
});
+

输出

+

足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种:

+
    +
  • 普通变量输出
  • +
  • GUI 的变化
  • +
  • 外部依赖的调用
  • +
+

在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。

+

我们继续看一个简单的例子:

+
// `handleClick.ts`
function handleClick(): void {
history.push("/next/url");
}
+

如何断言?我们可以断言副作用的影响结果:

+
// `handleClick.spec.ts`
test("handleClick", () => {
handleClick();
expect(history.location.pathname).toBe("/next/url");
});
+

有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了:

+
// `handleClick.spec.ts`
test("handleClick", () => {
const spyOnHistoryPush = jest.spyOn(history, "push");
expect(spyOnHistoryPush).toBeCalledWith("/next/url");
});
+

再看一个 React 组件的例子:

+
// `MyComponent.tsx`
const handleValidation = (valid: boolean): void => {
this.setState({ valid });
};
return (
<Form.Item className={this.state.valid ? "valid" : "invalid"}>
<Input />
</Form.Item>
);
+

如何断言?判断依赖组件的变化:

+
// `MyComponent.spec.tsx`
test("MyComponent", () => {
const wrapper = shallow(<MyComponent />);
// ... after something trigger `handleValidation()`
expect(wrapper.find(Form.Item).prop("className")).toBe("invalid");
});
+

始终记得要断言测试对象运行后对外界的副作用影响。

+

另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子:

+
// `MyComponent.bad.spec.tsx`
expect(wrapper.instance().state.valid).toBe("invalid");
+

重构与拆分

+

更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。

+

适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。

+

总结

+

编写良好的单元测试总结下来就是三条:

+
    +
  • 识别测试对象的输入、输出
  • +
  • 掌握不同形态下的输入覆盖、输出断言的方法
  • +
  • 适时地重构与拆分
  • +
+

希望以上内容对大家有所帮助。

+ + \ No newline at end of file diff --git a/zh-TW/docs/doc-in-pt/index.html b/zh-TW/docs/doc-in-pt/index.html new file mode 100644 index 00000000..9b9fddfe --- /dev/null +++ b/zh-TW/docs/doc-in-pt/index.html @@ -0,0 +1,14 @@ + + + + + +A Document in Portuguese | Docusaurus Search + + + + + +
版本:1.0.0

A Document in Portuguese

A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas"

+ + \ No newline at end of file diff --git a/zh-TW/docs/doc2/index.html b/zh-TW/docs/doc2/index.html new file mode 100644 index 00000000..c85ef627 --- /dev/null +++ b/zh-TW/docs/doc2/index.html @@ -0,0 +1,14 @@ + + + + + +Document Number 2 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/docs/doc3/index.html b/zh-TW/docs/doc3/index.html new file mode 100644 index 00000000..f3ffa638 --- /dev/null +++ b/zh-TW/docs/doc3/index.html @@ -0,0 +1,18 @@ + + + + + +This is Document Number 3 | Docusaurus Search + + + + + +
版本:1.0.0

This is Document Number 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.

+

Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.

+

Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.

+

Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.

+ + \ No newline at end of file diff --git a/zh-TW/docs/index.html b/zh-TW/docs/index.html new file mode 100644 index 00000000..3f11cda1 --- /dev/null +++ b/zh-TW/docs/index.html @@ -0,0 +1,106 @@ + + + + + +Style Guide | Docusaurus Search + + + + + +
版本:1.0.0

Style Guide

You can write content using GitHub-flavored Markdown syntax.

+

Markdown Syntax

+

To serve as an example page when styling markdown based Docusaurus sites.

+

Headers

+

H1 - Create the best documentation

+

H2 - Create the best documentation

+

H3 - Create the best documentation

+

H4 - Create the best documentation

+
H5 - Create the best documentation
+
H6 - Create the best documentation
+
+

Emphasis

+

Emphasis, aka italics, with asterisks or underscores.

+

Strong emphasis, aka bold, with asterisks or underscores.

+

Combined emphasis with asterisks and underscores.

+

Strikethrough uses two tildes. Scratch this.

+
+

Lists

+
    +
  1. First ordered list item
  2. +
  3. Another item +
      +
    • Unordered sub-list.
    • +
    +
  4. +
  5. Actual numbers don't matter, just that it's a number +
      +
    1. Ordered sub-list
    2. +
    +
  6. +
  7. And another item.
  8. +
+
    +
  • Unordered list can use asterisks
  • +
+
    +
  • Or minuses
  • +
+
    +
  • Or pluses
  • +
+
+ +

I'm an inline-style link

+

I'm an inline-style link with title

+

I'm a reference-style link

+

You can use numbers for reference-style link definitions

+

Or leave it empty and use the link text itself.

+

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example).

+

Some text to show that the reference links can follow later.

+
+

Images

+

Here's our logo (hover to see the title text):

+

Inline-style: alt text

+

Reference-style: alt text

+

Images from any folder can be used by providing path to file. Path should be relative to markdown file.

+

img

+
+

Code

+
var s = "JavaScript syntax highlighting";
alert(s);
+
s = "Python syntax highlighting"
print(s)
+
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
+
function highlightMe() {
console.log("This line can be highlighted!");
}
+
+

Tables

+

Colons can be used to align columns.

+
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1
+

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

+
MarkdownLessPretty
Stillrendersnicely
123
+
+

Blockquotes

+
+

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

+
+

Quote break.

+
+

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

+
+
+

Inline HTML

+
Definition list
Is something people use sometimes.
Markdown in HTML
Does not work very well. Use HTML tags.
+
+

Line Breaks

+

Here's a line for us to start with.

+

This line is separated from the one above by two newlines, so it will be a separate paragraph.

+

This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.

+
+

Admonitions

+
備註

This is a note

+
提示

This is a tip

+
important

This is important

+
警告

This is a caution

+
warning

This is a warning

+ + \ No newline at end of file diff --git a/zh-TW/docs/mdx/index.html b/zh-TW/docs/mdx/index.html new file mode 100644 index 00000000..961915c5 --- /dev/null +++ b/zh-TW/docs/mdx/index.html @@ -0,0 +1,17 @@ + + + + + +Powered by MDX | Docusaurus Search + + + + + +
版本:1.0.0

Powered by MDX

You can write JSX and use React components within your Markdown thanks to MDX.

+ +

Docusaurus green and Facebook blue are my favorite colors.

+

I can write Markdown alongside my JSX!

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/category/tutorial---basics/index.html b/zh-TW/docs/next/category/tutorial---basics/index.html new file mode 100644 index 00000000..10c05ee1 --- /dev/null +++ b/zh-TW/docs/next/category/tutorial---basics/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Basics | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/docs/next/category/tutorial---extras/index.html b/zh-TW/docs/next/category/tutorial---extras/index.html new file mode 100644 index 00000000..cd1faca6 --- /dev/null +++ b/zh-TW/docs/next/category/tutorial---extras/index.html @@ -0,0 +1,14 @@ + + + + + +Tutorial - Extras | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/docs/next/intro/index.html b/zh-TW/docs/next/intro/index.html new file mode 100644 index 00000000..e36790d4 --- /dev/null +++ b/zh-TW/docs/next/intro/index.html @@ -0,0 +1,38 @@ + + + + + +Tutorial Intro | Docusaurus Search + + + + + +
版本:Next

Tutorial Intro

+

Let's discover Docusaurus in less than 5 minutes.

+

Getting Started

+

Get started by creating a new site.

+

Or try Docusaurus immediately with docusaurus.new.

+

What you'll need

+
    +
  • Node.js version 14 or above: +
      +
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
    • +
    +
  • +
+

Generate a new site

+

Generate a new Docusaurus site using the classic template.

+

The classic template will automatically be added to your project after you run the command:

+
npm init docusaurus@latest my-website classic
+

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

+

The command also installs all necessary dependencies you need to run Docusaurus.

+

Start your site

+

Run the development server:

+
cd my-website
npm run start
+

The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

+

The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

+

Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/search-index.json b/zh-TW/docs/next/search-index.json new file mode 100644 index 00000000..69ae1bb2 --- /dev/null +++ b/zh-TW/docs/next/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":289,"t":"","u":"/docusaurus-search-local/zh-TW/blog/archive","b":["Blog"]},{"i":290,"t":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","b":["Blog"]},{"i":292,"t":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","b":["Blog"]},{"i":294,"t":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","b":["Blog"]},{"i":306,"t":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","b":["Blog"]},{"i":308,"t":"Congratulations!","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","b":["Docs","Tutorial - Basics"]},{"i":312,"t":"Tutorial Intro","u":"/docusaurus-search-local/zh-TW/docs/next/intro","b":["Docs"]},{"i":322,"t":"Deploy your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","b":["Docs","Tutorial - Basics"]},{"i":327,"t":"Create a Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","b":["Docs","Tutorial - Basics"]},{"i":333,"t":"Create a Blog Post","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","b":["Docs","Tutorial - Basics"]},{"i":337,"t":"Create a Document","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","b":["Docs","Tutorial - Basics"]},{"i":343,"t":"Translate your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","b":["Docs","Tutorial - Extras"]},{"i":355,"t":"Manage Docs Versions","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","b":["Docs","Tutorial - Extras"]},{"i":363,"t":"Markdown Features","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","b":["Docs","Tutorial - Basics"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/289",[]],["t/290",[0,2.808]],["t/292",[1,2.808]],["t/294",[2,1.801,3,1.801,4,1.801]],["t/306",[5,2.808]],["t/308",[6,2.808]],["t/312",[7,2.195,8,2.195]],["t/322",[9,2.195,10,1.708]],["t/327",[11,1.387,12,2.195]],["t/333",[11,1.139,13,1.801,14,1.801]],["t/337",[11,1.387,15,2.195]],["t/343",[10,1.708,16,2.195]],["t/355",[17,1.801,18,1.801,19,1.801]],["t/363",[20,2.195,21,2.195]]],"invertedIndex":[["blog",{"_index":13,"t":{"333":{"position":[[9,4]]}}}],["congratul",{"_index":6,"t":{"308":{"position":[[0,15]]}}}],["creat",{"_index":11,"t":{"327":{"position":[[0,6]]},"333":{"position":[[0,6]]},"337":{"position":[[0,6]]}}}],["deploy",{"_index":9,"t":{"322":{"position":[[0,6]]}}}],["doc",{"_index":18,"t":{"355":{"position":[[7,4]]}}}],["document",{"_index":15,"t":{"337":{"position":[[9,8]]}}}],["featur",{"_index":21,"t":{"363":{"position":[[9,8]]}}}],["hello",{"_index":0,"t":{"290":{"position":[[0,5]]}}}],["hola",{"_index":1,"t":{"292":{"position":[[0,4]]}}}],["intro",{"_index":8,"t":{"312":{"position":[[9,5]]}}}],["manag",{"_index":17,"t":{"355":{"position":[[0,6]]}}}],["markdown",{"_index":20,"t":{"363":{"position":[[0,8]]}}}],["page",{"_index":12,"t":{"327":{"position":[[9,4]]}}}],["post",{"_index":14,"t":{"333":{"position":[[14,4]]}}}],["site",{"_index":10,"t":{"322":{"position":[[12,4]]},"343":{"position":[[15,4]]}}}],["translat",{"_index":16,"t":{"343":{"position":[[0,9]]}}}],["tutori",{"_index":7,"t":{"312":{"position":[[0,8]]}}}],["version",{"_index":19,"t":{"355":{"position":[[12,8]]}}}],["welcom",{"_index":5,"t":{"306":{"position":[[0,7]]}}}],["单元测试",{"_index":4,"t":{"294":{"position":[[5,4]]}}}],["编写",{"_index":2,"t":{"294":{"position":[[0,2]]}}}],["良好",{"_index":3,"t":{"294":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":296,"t":"基本方法","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#基本方法","p":294},{"i":298,"t":"输入","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输入","p":294},{"i":300,"t":"输出","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输出","p":294},{"i":302,"t":"重构与拆分","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#重构与拆分","p":294},{"i":304,"t":"总结","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#总结","p":294},{"i":310,"t":"What's next?","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":308},{"i":314,"t":"Getting Started","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#getting-started","p":312},{"i":316,"t":"What you'll need","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#what-youll-need","p":312},{"i":318,"t":"Generate a new site","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#generate-a-new-site","p":312},{"i":320,"t":"Start your site","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#start-your-site","p":312},{"i":324,"t":"Build your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":322},{"i":329,"t":"Create your first React Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":327},{"i":331,"t":"Create your first Markdown Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":327},{"i":335,"t":"Create your first Post","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":333},{"i":339,"t":"Create your first Doc","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":337},{"i":341,"t":"Configure the Sidebar","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":337},{"i":345,"t":"Configure i18n","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":343},{"i":347,"t":"Translate a doc","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":343},{"i":349,"t":"Start your localized site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":343},{"i":351,"t":"Add a Locale Dropdown","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":343},{"i":353,"t":"Build your localized site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":343},{"i":357,"t":"Create a docs version","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":355},{"i":359,"t":"Add a Version Dropdown","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":355},{"i":361,"t":"Update an existing version","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":355},{"i":365,"t":"Front Matter","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":363},{"i":367,"t":"Links","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#links","p":363},{"i":369,"t":"Images","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#images","p":363},{"i":371,"t":"Code Blocks","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":363},{"i":373,"t":"Admonitions","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":363},{"i":375,"t":"MDX and React Components","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":363}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/296",[0,3.182,1,3.182]],["t/298",[2,3.926]],["t/300",[3,3.926]],["t/302",[4,3.182,5,3.182]],["t/304",[6,3.926]],["t/310",[7,3.182,8,3.182]],["t/314",[9,3.182,10,2.292]],["t/316",[11,3.182,12,3.182]],["t/318",[13,2.675,14,2.675,15,1.527]],["t/320",[10,2.292,15,1.817]],["t/324",[15,1.817,16,2.645]],["t/329",[17,1.317,18,1.47,19,1.918,20,1.918]],["t/331",[17,1.317,18,1.47,20,1.918,21,2.307]],["t/335",[17,1.527,18,1.704,22,2.675]],["t/339",[17,1.527,18,1.704,23,1.926]],["t/341",[24,2.645,25,3.182]],["t/345",[24,2.645,26,3.182]],["t/347",[23,2.292,27,3.182]],["t/349",[10,1.926,15,1.527,28,1.926]],["t/351",[28,1.926,29,2.223,30,2.223]],["t/353",[15,1.527,16,2.223,28,1.926]],["t/357",[17,1.527,23,1.926,31,1.926]],["t/359",[29,2.223,30,2.223,31,1.926]],["t/361",[31,1.926,32,2.675,33,2.675]],["t/365",[34,3.182,35,3.182]],["t/367",[36,3.926]],["t/369",[37,3.926]],["t/371",[38,3.182,39,3.182]],["t/373",[40,3.926]],["t/375",[19,2.223,41,2.675,42,2.675]]],"invertedIndex":[["add",{"_index":29,"t":{"351":{"position":[[0,3]]},"359":{"position":[[0,3]]}}}],["admonit",{"_index":40,"t":{"373":{"position":[[0,11]]}}}],["block",{"_index":39,"t":{"371":{"position":[[5,6]]}}}],["build",{"_index":16,"t":{"324":{"position":[[0,5]]},"353":{"position":[[0,5]]}}}],["code",{"_index":38,"t":{"371":{"position":[[0,4]]}}}],["compon",{"_index":42,"t":{"375":{"position":[[14,10]]}}}],["configur",{"_index":24,"t":{"341":{"position":[[0,9]]},"345":{"position":[[0,9]]}}}],["creat",{"_index":17,"t":{"329":{"position":[[0,6]]},"331":{"position":[[0,6]]},"335":{"position":[[0,6]]},"339":{"position":[[0,6]]},"357":{"position":[[0,6]]}}}],["doc",{"_index":23,"t":{"339":{"position":[[18,3]]},"347":{"position":[[12,3]]},"357":{"position":[[9,4]]}}}],["dropdown",{"_index":30,"t":{"351":{"position":[[13,8]]},"359":{"position":[[14,8]]}}}],["exist",{"_index":33,"t":{"361":{"position":[[10,8]]}}}],["first",{"_index":18,"t":{"329":{"position":[[12,5]]},"331":{"position":[[12,5]]},"335":{"position":[[12,5]]},"339":{"position":[[12,5]]}}}],["front",{"_index":34,"t":{"365":{"position":[[0,5]]}}}],["gener",{"_index":13,"t":{"318":{"position":[[0,8]]}}}],["get",{"_index":9,"t":{"314":{"position":[[0,7]]}}}],["i18n",{"_index":26,"t":{"345":{"position":[[10,4]]}}}],["imag",{"_index":37,"t":{"369":{"position":[[0,6]]}}}],["link",{"_index":36,"t":{"367":{"position":[[0,5]]}}}],["ll",{"_index":11,"t":{"316":{"position":[[9,2]]}}}],["local",{"_index":28,"t":{"349":{"position":[[11,9]]},"351":{"position":[[6,6]]},"353":{"position":[[11,9]]}}}],["markdown",{"_index":21,"t":{"331":{"position":[[18,8]]}}}],["matter",{"_index":35,"t":{"365":{"position":[[6,6]]}}}],["mdx",{"_index":41,"t":{"375":{"position":[[0,3]]}}}],["need",{"_index":12,"t":{"316":{"position":[[12,4]]}}}],["new",{"_index":14,"t":{"318":{"position":[[11,3]]}}}],["next",{"_index":8,"t":{"310":{"position":[[7,4]]}}}],["page",{"_index":20,"t":{"329":{"position":[[24,4]]},"331":{"position":[[27,4]]}}}],["post",{"_index":22,"t":{"335":{"position":[[18,4]]}}}],["react",{"_index":19,"t":{"329":{"position":[[18,5]]},"375":{"position":[[8,5]]}}}],["s",{"_index":7,"t":{"310":{"position":[[5,1]]}}}],["sidebar",{"_index":25,"t":{"341":{"position":[[14,7]]}}}],["site",{"_index":15,"t":{"318":{"position":[[15,4]]},"320":{"position":[[11,4]]},"324":{"position":[[11,4]]},"349":{"position":[[21,4]]},"353":{"position":[[21,4]]}}}],["start",{"_index":10,"t":{"314":{"position":[[8,7]]},"320":{"position":[[0,5]]},"349":{"position":[[0,5]]}}}],["translat",{"_index":27,"t":{"347":{"position":[[0,9]]}}}],["updat",{"_index":32,"t":{"361":{"position":[[0,6]]}}}],["version",{"_index":31,"t":{"357":{"position":[[14,7]]},"359":{"position":[[6,7]]},"361":{"position":[[19,7]]}}}],["基本",{"_index":0,"t":{"296":{"position":[[0,2]]}}}],["总结",{"_index":6,"t":{"304":{"position":[[0,2]]}}}],["拆分",{"_index":5,"t":{"302":{"position":[[3,2]]}}}],["方法",{"_index":1,"t":{"296":{"position":[[2,2]]}}}],["输入",{"_index":2,"t":{"298":{"position":[[0,2]]}}}],["输出",{"_index":3,"t":{"300":{"position":[[0,2]]}}}],["重构",{"_index":4,"t":{"302":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":289,"t":"歷史文章","s":"","u":"/docusaurus-search-local/zh-TW/blog/archive","p":289},{"i":290,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","p":290},{"i":292,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","p":292},{"i":294,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","p":294},{"i":306,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","p":306},{"i":308,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template.","s":"Congratulations!","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","p":308},{"i":312,"t":"This is description in front matter","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-TW/docs/next/intro","p":312},{"i":322,"t":"Docusaurus is a static-site-generator (also called Jamstack).","s":"Deploy your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","p":322},{"i":327,"t":"Add Markdown or React files to src/pages to create a standalone page:","s":"Create a Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","p":327},{"i":333,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","p":333},{"i":337,"t":"Documents are groups of pages connected through:","s":"Create a Document","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","p":337},{"i":343,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","p":343},{"i":355,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","p":355},{"i":363,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","p":363}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/289",[0,3.116,1,3.116,2,3.116]],["t/290",[3,2.459,4,2.092,5,1.554,6,0.893,7,2.459,8,2.459]],["t/292",[9,2.065,10,2.573,11,2.065,12,2.065,13,2.065,14,1.297,15,1.297,16,1.297,17,1.297,18,1.297,19,1.297,20,1.297,21,1.297,22,1.297,23,1.297,24,1.297,25,1.297,26,1.297]],["t/294",[27,2.224,28,2.224,29,2.224,30,2.224,31,2.224,32,2.224,33,2.224,34,2.224,35,2.224]],["t/306",[4,2.038,36,1.453,37,1.868,38,1.868,39,1.868,40,1.453,41,1.453,42,1.868,43,1.453,44,1.453,45,1.868]],["t/308",[6,0.893,46,2.459,47,2.459,48,2.459,49,2.459,50,2.459,51,2.459]],["t/312",[52,3.116,53,3.116,54,3.116]],["t/322",[6,0.943,55,2.595,56,2.595,57,2.595,58,2.595,59,2.595]],["t/327",[5,1.406,40,1.731,41,1.731,60,1.731,61,2.224,62,2.224,63,1.954,64,2.224]],["t/333",[4,1.725,5,1.181,6,0.678,44,1.453,63,1.725,65,1.868,66,1.868,67,1.868,68,1.868,69,1.868,70,1.868]],["t/337",[63,1.737,71,2.748,72,2.748,73,2.748,74,2.748]],["t/343",[75,2.595,76,2.595,77,2.02,78,2.595,79,2.595,80,2.595]],["t/355",[6,0.998,77,2.139,81,2.748,82,2.748,83,2.748]],["t/363",[6,0.943,36,2.02,43,2.02,60,2.02,84,2.595,85,2.595]]],"invertedIndex":[["2",{"_index":7,"t":{"290":{"position":[[59,1]]}}}],["add",{"_index":40,"t":{"306":{"position":[[53,3]]},"327":{"position":[[0,3]]}}}],["addit",{"_index":85,"t":{"363":{"position":[[39,10]]}}}],["adipisc",{"_index":15,"t":{"292":{"position":[[40,10]]}}}],["aliquam",{"_index":25,"t":{"292":{"position":[[133,7]]}}}],["alpha",{"_index":8,"t":{"290":{"position":[[61,5]]}}}],["amet",{"_index":13,"t":{"292":{"position":[[22,4],[174,4]]}}}],["basic",{"_index":47,"t":{"308":{"position":[[26,6]]}}}],["blog",{"_index":4,"t":{"290":{"position":[[16,4],[27,4]]},"306":{"position":[[0,4],[33,4],[70,4]]},"333":{"position":[[35,4],[57,4]]}}}],["call",{"_index":58,"t":{"322":{"position":[[44,6]]}}}],["chang",{"_index":49,"t":{"308":{"position":[[61,7]]}}}],["com",{"_index":31,"t":{"294":{"position":[[26,3]]}}}],["connect",{"_index":73,"t":{"337":{"position":[[30,9]]}}}],["consectetur",{"_index":14,"t":{"292":{"position":[[28,11]]}}}],["consequat",{"_index":26,"t":{"292":{"position":[[141,9]]}}}],["creat",{"_index":5,"t":{"290":{"position":[[35,7]]},"327":{"position":[[44,6]]},"333":{"position":[[11,7]]}}}],["descript",{"_index":52,"t":{"312":{"position":[[8,11]]}}}],["dignissim",{"_index":19,"t":{"292":{"position":[[80,9]]}}}],["directori",{"_index":42,"t":{"306":{"position":[[75,9]]}}}],["doc",{"_index":77,"t":{"343":{"position":[[16,4]]},"355":{"position":[[48,4]]}}}],["document",{"_index":71,"t":{"337":{"position":[[0,9]]}}}],["docusauru",{"_index":6,"t":{"290":{"position":[[48,10]]},"308":{"position":[[36,10]]},"322":{"position":[[0,10]]},"333":{"position":[[0,10]]},"355":{"position":[[0,10]]},"363":{"position":[[0,10]]}}}],["dolor",{"_index":11,"t":{"292":{"position":[[12,5],[164,5]]}}}],["each",{"_index":65,"t":{"333":{"position":[[30,4]]}}}],["elementum",{"_index":18,"t":{"292":{"position":[[70,9]]}}}],["elit",{"_index":16,"t":{"292":{"position":[[51,4]]}}}],["ero",{"_index":24,"t":{"292":{"position":[[128,4]]}}}],["featur",{"_index":36,"t":{"306":{"position":[[5,8]]},"363":{"position":[[50,8]]}}}],["feed",{"_index":70,"t":{"333":{"position":[[95,4]]}}}],["few",{"_index":84,"t":{"363":{"position":[[35,3]]}}}],["file",{"_index":41,"t":{"306":{"position":[[57,5]]},"327":{"position":[[22,5]]}}}],["french",{"_index":80,"t":{"343":{"position":[[33,6]]}}}],["front",{"_index":53,"t":{"312":{"position":[[23,5]]}}}],["fusc",{"_index":21,"t":{"292":{"position":[[101,5]]}}}],["gener",{"_index":57,"t":{"322":{"position":[[28,9]]}}}],["good",{"_index":33,"t":{"294":{"position":[[38,4]]}}}],["group",{"_index":72,"t":{"337":{"position":[[14,6]]}}}],["http",{"_index":29,"t":{"294":{"position":[[6,5]]}}}],["index",{"_index":67,"t":{"333":{"position":[[62,5]]}}}],["initi",{"_index":50,"t":{"308":{"position":[[76,7]]}}}],["intro",{"_index":78,"t":{"343":{"position":[[21,5]]}}}],["ipsum",{"_index":10,"t":{"292":{"position":[[6,5],[115,5],[158,5]]}}}],["jamstack",{"_index":59,"t":{"322":{"position":[[51,8]]}}}],["learn",{"_index":46,"t":{"308":{"position":[[14,7]]}}}],["lorem",{"_index":9,"t":{"292":{"position":[[0,5],[152,5]]}}}],["made",{"_index":48,"t":{"308":{"position":[[51,4]]}}}],["manag",{"_index":81,"t":{"355":{"position":[[15,6]]}}}],["markdown",{"_index":60,"t":{"327":{"position":[[4,8]]},"363":{"position":[[20,8]]}}}],["matter",{"_index":54,"t":{"312":{"position":[[29,6]]}}}],["md",{"_index":79,"t":{"343":{"position":[[27,2]]}}}],["multipl",{"_index":82,"t":{"355":{"position":[[22,8]]}}}],["page",{"_index":63,"t":{"327":{"position":[[35,5],[64,4]]},"333":{"position":[[21,4],[68,4]]},"337":{"position":[[24,5]]}}}],["pellentesqu",{"_index":17,"t":{"292":{"position":[[57,12]]}}}],["plugin",{"_index":38,"t":{"306":{"position":[[38,6]]}}}],["post",{"_index":66,"t":{"333":{"position":[[40,4]]}}}],["power",{"_index":37,"t":{"306":{"position":[[18,7]]}}}],["react",{"_index":61,"t":{"327":{"position":[[16,5]]}}}],["rhoncu",{"_index":22,"t":{"292":{"position":[[107,7]]}}}],["rss",{"_index":69,"t":{"333":{"position":[[91,3]]}}}],["s",{"_index":75,"t":{"343":{"position":[[4,1]]}}}],["simpli",{"_index":39,"t":{"306":{"position":[[46,6]]}}}],["sit",{"_index":12,"t":{"292":{"position":[[18,3],[170,3]]}}}],["site",{"_index":56,"t":{"322":{"position":[[23,4]]}}}],["src",{"_index":62,"t":{"327":{"position":[[31,3]]}}}],["standalon",{"_index":64,"t":{"327":{"position":[[53,10]]}}}],["static",{"_index":55,"t":{"322":{"position":[[16,6]]}}}],["support",{"_index":43,"t":{"306":{"position":[[89,8]]},"363":{"position":[[11,8]]}}}],["system",{"_index":68,"t":{"333":{"position":[[80,6]]}}}],["tag",{"_index":44,"t":{"306":{"position":[[98,4]]},"333":{"position":[[76,3]]}}}],["templat",{"_index":51,"t":{"308":{"position":[[84,8]]}}}],["tempor",{"_index":23,"t":{"292":{"position":[[121,6]]}}}],["test",{"_index":35,"t":{"294":{"position":[[48,5]]}}}],["through",{"_index":74,"t":{"337":{"position":[[40,7]]}}}],["translat",{"_index":76,"t":{"343":{"position":[[6,9]]}}}],["ultrici",{"_index":20,"t":{"292":{"position":[[90,9]]}}}],["unit",{"_index":34,"t":{"294":{"position":[[43,4]]}}}],["version",{"_index":83,"t":{"355":{"position":[[31,8]]}}}],["wangshenwei",{"_index":30,"t":{"294":{"position":[[14,11]]}}}],["welcom",{"_index":3,"t":{"290":{"position":[[0,7]]}}}],["well",{"_index":45,"t":{"306":{"position":[[106,4]]}}}],["write",{"_index":32,"t":{"294":{"position":[[30,7]]}}}],["史",{"_index":1,"t":{"289":{"position":[[1,1]]}}}],["文章",{"_index":2,"t":{"289":{"position":[[2,2]]}}}],["本文",{"_index":27,"t":{"294":{"position":[[0,2]]}}}],["歷",{"_index":0,"t":{"289":{"position":[[0,1]]}}}],["转载自",{"_index":28,"t":{"294":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":312,"t":"Keywords,intro,front matter,template","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-TW/docs/next/intro","p":312}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/312",[0,0.288,1,0.288,2,0.288,3,0.288,4,0.288]]],"invertedIndex":[["front",{"_index":2,"t":{"312":{"position":[[15,5]]}}}],["intro",{"_index":1,"t":{"312":{"position":[[9,5]]}}}],["keyword",{"_index":0,"t":{"312":{"position":[[0,8]]}}}],["matter",{"_index":3,"t":{"312":{"position":[[21,6]]}}}],["templat",{"_index":4,"t":{"312":{"position":[[28,8]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":291,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","h":"","p":290},{"i":293,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","h":"","p":292},{"i":295,"t":"備註 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"","p":294},{"i":297,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#基本方法","p":294},{"i":299,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输入","p":294},{"i":301,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输出","p":294},{"i":303,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#重构与拆分","p":294},{"i":305,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#总结","p":294},{"i":307,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","h":"","p":306},{"i":309,"t":"You have just learned the basics of Docusaurus and made some changes to the initial template. Docusaurus has much more to offer! Have 5 more minutes? Take a look at versioning and i18n. Anything unclear or buggy in this tutorial? Please report it!","s":"Congratulations!","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","h":"","p":308},{"i":311,"t":"Read the official documentation. Add a custom Design and Layout Add a search bar Find inspirations in the Docusaurus showcase Get involved in the Docusaurus Community","s":"What's next?","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulations","h":"#whats-next","p":308},{"i":313,"t":"Let's discover Docusaurus in less than 5 minutes.","s":"Tutorial Intro","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"","p":312},{"i":315,"t":"Get started by creating a new site. Or try Docusaurus immediately with docusaurus.new.","s":"Getting Started","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#getting-started","p":312},{"i":317,"t":"Node.js version 14 or above: When installing Node.js, you are recommended to check all checkboxes related to dependencies.","s":"What you'll need","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#what-youll-need","p":312},{"i":319,"t":"Generate a new Docusaurus site using the classic template. The classic template will automatically be added to your project after you run the command: npm init docusaurus@latest my-website classic You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. The command also installs all necessary dependencies you need to run Docusaurus.","s":"Generate a new site","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#generate-a-new-site","p":312},{"i":321,"t":"Run the development server: cd my-website npm run start The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. The npm run start command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open docs/intro.md (this page) and edit some lines: the site reloads automatically and displays your changes.","s":"Start your site","u":"/docusaurus-search-local/zh-TW/docs/next/intro","h":"#start-your-site","p":312},{"i":323,"t":"Docusaurus is a static-site-generator (also called Jamstack). It builds your site as simple static HTML, JavaScript and CSS files.","s":"Deploy your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","h":"","p":322},{"i":325,"t":"Build your site for production: npm run build The static files are generated in the build folder.","s":"Build your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","h":"#build-your-site","p":322},{"i":326,"t":"Test your production build locally: npm run serve The build folder is now served at http://localhost:3000/. You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).","s":"Deploy your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-site","h":"#deploy-your-site-1","p":322},{"i":328,"t":"Add Markdown or React files to src/pages to create a standalone page: src/pages/index.js -> localhost:3000/ src/pages/foo.md -> localhost:3000/foo src/pages/foo/bar.js -> localhost:3000/foo/bar","s":"Create a Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","h":"","p":327},{"i":330,"t":"Create a file at src/pages/my-react-page.js: src/pages/my-react-page.js import React from 'react'; import Layout from '@theme/Layout'; export default function MyReactPage() { return (

My React page

This is a React page

); } A new page is now available at http://localhost:3000/my-react-page.","s":"Create your first React Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-react-page","p":327},{"i":332,"t":"Create a file at src/pages/my-markdown-page.md: src/pages/my-markdown-page.md # My Markdown page This is a Markdown page A new page is now available at http://localhost:3000/my-markdown-page.","s":"Create your first Markdown Page","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-page","h":"#create-your-first-markdown-page","p":327},{"i":334,"t":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","s":"Create a Blog Post","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","h":"","p":333},{"i":336,"t":"Create a file at blog/2021-02-28-greetings.md: blog/2021-02-28-greetings.md --- slug: greetings title: Greetings! authors: - name: Joel Marcey title: Co-creator of Docusaurus 1 url: https://github.com/JoelMarcey image_url: https://github.com/JoelMarcey.png - name: Sébastien Lorber title: Docusaurus maintainer url: https://sebastienlorber.com image_url: https://github.com/slorber.png tags: [greetings] --- Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. A new blog post is now available at http://localhost:3000/blog/greetings.","s":"Create your first Post","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-post","h":"#create-your-first-post","p":333},{"i":338,"t":"Documents are groups of pages connected through: a sidebar previous/next navigation versioning","s":"Create a Document","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","h":"","p":337},{"i":340,"t":"Create a markdown file at docs/hello.md: docs/hello.md # Hello This is my **first Docusaurus document**! A new document is now available at http://localhost:3000/docs/hello.","s":"Create your first Doc","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","h":"#create-your-first-doc","p":337},{"i":342,"t":"Docusaurus automatically creates a sidebar from the docs folder. Add metadata to customize the sidebar label and position: docs/hello.md --- sidebar_label: 'Hi!' sidebar_position: 3 --- # Hello This is my **first Docusaurus document**! It is also possible to create your sidebar explicitly in sidebars.js: sidebars.js module.exports = { tutorialSidebar: [ { type: 'category', label: 'Tutorial', items: ['hello'], }, ], };","s":"Configure the Sidebar","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-document","h":"#configure-the-sidebar","p":337},{"i":344,"t":"Let's translate docs/intro.md to French.","s":"Translate your site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"","p":343},{"i":346,"t":"Modify docusaurus.config.js to add support for the fr locale: docusaurus.config.js module.exports = { i18n: { defaultLocale: 'en', locales: ['en', 'fr'], }, };","s":"Configure i18n","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#configure-i18n","p":343},{"i":348,"t":"Copy the docs/intro.md file to the i18n/fr folder: mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.","s":"Translate a doc","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#translate-a-doc","p":343},{"i":350,"t":"Start your site on the French locale: npm run start -- --locale fr Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated. 警告 In development, you can only use one locale at a same time.","s":"Start your localized site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#start-your-localized-site","p":343},{"i":352,"t":"To navigate seamlessly across languages, add a locale dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'localeDropdown', }, ], }, }, }; The locale dropdown now appears in your navbar:","s":"Add a Locale Dropdown","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#add-a-locale-dropdown","p":343},{"i":354,"t":"Build your site for a specific locale: npm run build -- --locale fr Or build your site to include all the locales at once: npm run build","s":"Build your localized site","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-site","h":"#build-your-localized-site","p":343},{"i":356,"t":"Docusaurus can manage multiple versions of your docs.","s":"Manage Docs Versions","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"","p":355},{"i":358,"t":"Release a version 1.0 of your project: npm run docusaurus docs:version 1.0 The docs folder is copied into versioned_docs/version-1.0 and versions.json is created. Your docs now have 2 versions: 1.0 at http://localhost:3000/docs/ for the version 1.0 docs current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs","s":"Create a docs version","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#create-a-docs-version","p":355},{"i":360,"t":"To navigate seamlessly across versions, add a version dropdown. Modify the docusaurus.config.js file: docusaurus.config.js module.exports = { themeConfig: { navbar: { items: [ { type: 'docsVersionDropdown', }, ], }, }, }; The docs version dropdown appears in your navbar:","s":"Add a Version Dropdown","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#add-a-version-dropdown","p":355},{"i":362,"t":"It is possible to edit versioned docs in their respective folder: versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello docs/hello.md updates http://localhost:3000/docs/next/hello","s":"Update an existing version","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versions","h":"#update-an-existing-version","p":355},{"i":364,"t":"Docusaurus supports Markdown and a few additional features.","s":"Markdown Features","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"","p":363},{"i":366,"t":"Markdown documents have metadata at the top called Front Matter: my-doc.md --- id: my-doc-id title: My document title description: My document description slug: /my-custom-url --- ## Markdown heading Markdown text with [links](./hello.md)","s":"Front Matter","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#front-matter","p":363},{"i":368,"t":"Regular Markdown links are supported, using url paths or relative file paths. Let's see how to [Create a page](/create-a-page). Let's see how to [Create a page](./create-a-page.md). Result: Let's see how to Create a page.","s":"Links","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#links","p":363},{"i":370,"t":"Regular Markdown images are supported. You can use absolute paths to reference images in the static directory (static/img/docusaurus.png): ![Docusaurus logo](/img/docusaurus.png) You can reference images relative to the current file as well, as shown in the extra guides.","s":"Images","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#images","p":363},{"i":372,"t":"Markdown code blocks are supported with Syntax highlighting. src/components/HelloDocusaurus.js function HelloDocusaurus() { return (

Hello, Docusaurus!

) } src/components/HelloDocusaurus.js function HelloDocusaurus() { return

Hello, Docusaurus!

; }","s":"Code Blocks","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#code-blocks","p":363},{"i":374,"t":"Docusaurus has a special syntax to create admonitions and callouts: :::tip My tip Use this awesome feature option ::: :::danger Take care This action is dangerous ::: My tip Use this awesome feature option Take care This action is dangerous","s":"Admonitions","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#admonitions","p":363},{"i":376,"t":"MDX can make your documentation more interactive and allows using any React components inside Markdown: export const Highlight = ({children, color}) => ( { alert(`You clicked the color ${color} with label ${children}`) }}> {children} ); This is Docusaurus green ! This is Docusaurus green ! This is Facebook blue !","s":"MDX and React Components","u":"/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-features","h":"#mdx-and-react-components","p":363}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/291",[0,4.738,1,3.928,2,1.677,3,0.905,4,3.558,5,4.738,6,2.695,7,3.558,8,4.027,9,4.738,10,4.738]],["t/293",[11,5.236,12,5.818,13,5.236,14,5.236,15,5.236,16,4.026,17,4.026,18,4.026,19,4.026,20,4.026,21,4.026,22,4.026,23,4.026,24,4.026,25,4.026,26,4.026,27,4.026,28,4.026]],["t/295",[6,1.869,29,3.286,30,3.286,31,5.248,32,3.286,33,1.406,34,3.286,35,2.792,36,3.286,37,3.286,38,3.286,39,3.286,40,3.286,41,3.286,42,3.286,43,2.031,44,3.553,45,3.286,46,3.286,47,3.286,48,2.467,49,2.031,50,2.467,51,2.467,52,2.792,53,3.286,54,3.286,55,3.286,56,2.792,57,1.869,58,3.286,59,3.286,60,3.286,61,3.286,62,3.286,63,3.286,64,2.792,65,3.286]],["t/297",[4,2.183,6,0.744,43,2.121,44,2.324,49,1.797,50,0.982,52,2.917,64,1.112,66,2.227,67,2.471,68,1.308,69,1.892,70,3.441,71,2.917,72,2.89,73,3.441,74,1.507,75,1.308,76,2.183,77,0.982,78,2.471,79,1.112,80,1.308,81,1.672,82,2.052,83,1.672,84,0.886,85,2.908,86,2.227,87,1.376,88,0.982,89,1.968,90,2.471,91,1.892,92,1.892,93,2.606,94,1.308,95,1.308,96,1.308,97,1.308,98,1.308,99,1.112,100,1.672,101,2.379,102,1.112,103,1.308,104,1.308,105,2.908,106,1.112,107,1.892,108,1.672,109,1.672,110,2.908,111,1.112,112,2.908,113,1.672,114,1.112,115,2.227,116,1.892,117,2.908,118,1.892,119,2.227,120,0.982,121,1.308,122,2.227,123,1.308,124,1.308,125,1.672,126,2.183,127,1.308,128,1.308,129,1.507,130,2.227,131,1.308,132,1.308,133,1.112,134,1.308,135,1.308,136,0.886,137,1.308,138,1.308,139,1.308,140,1.308,141,1.308,142,1.308,143,0.982,144,0.808,145,1.308,146,1.112,147,1.892,148,1.892,149,1.308,150,0.886]],["t/299",[6,1.532,43,1.664,48,2.022,49,1.015,51,1.233,69,1.395,70,2.318,74,1.823,76,2.974,77,1.233,78,1.395,81,2.022,83,2.022,87,1.015,88,2.022,93,2.681,100,1.233,101,1.015,106,1.395,108,1.233,109,2.022,111,2.909,113,2.571,114,4.402,120,1.233,129,1.112,133,1.395,136,2.318,143,1.233,144,1.015,150,1.112,151,1.642,152,2.022,153,1.395,154,1.642,155,1.395,156,1.395,157,1.395,158,2.288,159,2.909,160,2.693,161,1.395,162,1.642,163,1.395,164,1.395,165,1.395,166,1.395,167,1.395,168,1.395,169,1.642,170,1.395,171,2.288,172,1.395,173,1.642,174,2.288,175,1.395,176,1.642,177,1.642,178,1.395,179,1.395,180,2.288,181,1.642,182,4.216,183,2.693,184,1.642,185,2.693,186,2.693,187,1.395,188,1.642,189,0.865,190,1.642,191,2.288,192,2.022,193,2.693,194,2.693,195,1.642,196,1.395,197,2.288,198,2.693,199,2.022,200,1.642,201,2.288,202,1.395,203,1.233,204,1.642,205,1.642]],["t/301",[6,1.48,43,1.608,48,1.473,51,0.848,56,0.959,57,0.642,71,1.667,72,3.595,73,2.383,74,1.761,77,0.848,79,0.959,81,1.954,83,1.954,84,0.764,87,0.698,88,2.334,91,2.642,92,2.211,93,2.614,100,1.473,101,1.608,108,0.848,109,1.473,113,0.848,116,0.959,118,2.211,120,3.114,125,2.643,126,1.473,129,0.764,136,2.105,143,0.848,144,0.698,150,0.764,152,0.848,156,0.959,157,0.959,158,1.667,159,2.211,161,0.959,163,0.959,164,0.959,165,0.959,166,0.959,167,0.959,168,0.959,170,2.211,171,1.667,172,0.959,174,0.959,175,0.959,178,0.959,179,0.959,180,0.959,182,2.992,191,2.211,192,1.954,196,1.667,199,1.473,201,2.211,202,0.959,203,0.848,206,0.959,207,1.667,208,0.848,209,1.962,210,1.962,211,1.129,212,2.642,213,1.129,214,1.129,215,4.148,216,2.602,217,1.962,218,1.761,219,1.761,220,1.129,221,1.129,222,1.129,223,1.129,224,1.129,225,1.129,226,1.129,227,1.129,228,1.129,229,1.129,230,1.962,231,1.129,232,1.129,233,1.962,234,3.52,235,1.129,236,1.129,237,2.602,238,1.761,239,1.962,240,1.962,241,2.602,242,1.129,243,1.129,244,1.129,245,1.129,246,1.129,247,1.129,248,1.129,249,1.129,250,1.129,251,1.129,252,1.129,253,1.962,254,1.667,255,1.962,256,1.129,257,1.129,258,1.129,259,1.129]],["t/303",[43,1.3,44,2.735,49,2.496,57,1.197,70,2.223,73,2.223,74,1.424,93,1.424,99,1.788,101,1.3,102,2.791,107,1.788,125,1.58,129,1.424,136,2.223,144,1.3,148,1.788,150,1.424,152,3.428,153,1.788,155,1.788,187,1.788,199,3.718,206,1.788,207,2.791,208,1.58,254,1.788,260,2.104,261,2.104,262,2.104,263,2.104,264,3.284,265,2.104,266,2.104,267,2.104,268,3.284,269,2.104,270,3.284,271,2.104,272,2.104,273,1.788,274,1.788,275,2.791,276,2.104,277,2.104,278,2.104,279,2.104,280,2.104,281,2.104,282,2.104,283,2.104,284,2.104,285,2.104,286,2.104,287,2.104,288,2.104,289,2.104,290,2.104,291,2.104,292,2.104,293,2.104,294,2.104,295,2.104,296,2.104,297,2.104,298,2.104,299,2.104,300,2.104,301,2.104,302,2.104,303,2.104,304,2.104,305,2.104,306,2.104,307,2.104,308,2.104,309,2.104]],["t/305",[44,2.535,49,2.314,50,2.812,67,3.183,70,3.379,72,2.812,73,3.379,76,2.812,101,2.314,126,2.812,144,2.314,146,3.183,147,3.183,208,2.812,212,3.183,273,3.183,274,3.183,275,3.183,310,3.745,311,3.745,312,3.745,313,3.745,314,3.745,315,3.745,316,3.745,317,3.745,318,3.745,319,3.745]],["t/307",[1,4.211,8,3.51,82,2.024,320,3.996,321,4.13,322,3.51,323,4.13,324,1.462,325,3.996,326,2.349,327,3.101,328,3.51,329,4.13,330,4.13,331,4.13,332,4.13,333,3.51]],["t/309",[3,1,334,4.026,335,4.026,336,3.422,337,3.422,338,4.026,339,3.422,340,3.422,341,4.449,342,4.026,343,3.422,344,3.422,345,3.422,346,4.026,347,2.121,348,3.023,349,4.026,350,4.026,351,4.026,352,3.422,353,4.026,354,4.026]],["t/311",[3,1.06,82,2.72,203,3.314,355,3.75,356,4.413,357,2.511,358,3.314,359,4.413,360,3.75,361,4.413,362,3.75,363,4.413,364,4.413,365,4.413,366,4.413]],["t/313",[3,0.993,343,4.417,344,4.417,367,3.519,368,5.198,369,5.198]],["t/315",[2,1.755,3,1.139,189,3.142,370,3.722,371,2.612,372,4.957,373,4.957]],["t/317",[347,2.46,374,5.75,375,2.818,376,4.669,377,4.669,378,3.968,379,4.669,380,4.669,381,4.669,382,4.669,383,3.968]],["t/319",[3,1.03,189,1.824,197,2.943,339,4.023,371,1.824,378,2.943,383,2.943,384,2.6,385,1.97,386,5.395,387,2.6,388,3.463,389,2.943,390,2.494,391,4.928,392,1.824,393,3.463,394,3.463,395,2.943,396,2.344,397,3.463,398,3.463,399,4.023,400,3.463,401,2.943,402,3.463,403,2.943]],["t/321",[2,1.055,3,0.569,33,1.276,325,2.239,337,3.623,370,3.202,371,2.246,387,2.239,390,2.622,391,3.623,392,2.246,395,3.623,399,2.534,403,2.534,404,3.623,405,4.264,406,4.264,407,2.981,408,4.264,409,2.981,410,2.981,411,2.981,412,2.018,413,1.842,414,1.696,415,2.534,416,2.534,417,2.981,418,2.981,419,1.276,420,1.276,421,2.981,422,1.276,423,2.239,424,1.196,425,1.461,426,2.239,427,2.981,428,2.981,429,2.981]],["t/323",[3,0.879,324,1.629,333,3.911,371,3.002,384,3.456,413,2.844,430,4.28,431,3.911,432,4.603,433,4.603,434,4.603,435,4.603]],["t/325",[324,1.702,371,2.533,384,3.611,390,2.533,392,2.533,413,3.901,430,3.611,436,4.087,437,2.736]],["t/326",[6,2.208,33,1.66,355,3.298,390,2.044,392,2.044,413,3.532,414,2.208,415,4.343,419,1.66,420,1.66,436,3.298,437,2.907,438,2.692,439,5.111,440,3.881,441,3.881,442,3.298,443,3.881,444,3.881,445,3.881,446,3.298]],["t/328",[2,1.31,57,2.106,82,1.814,324,1.31,362,4.209,375,2.427,419,2.389,420,2.389,424,1.485,425,3.045,447,1.693,448,4.035,449,3.702,450,3.146,451,5.961]],["t/330",[2,1.151,33,1.392,57,3.59,84,2.202,87,2.01,189,1.714,324,1.151,360,4.799,375,2.222,419,1.392,420,1.392,425,3.154,438,1.714,448,3.07,452,4.534,453,3.253,454,1.85,455,3.253,456,3.253,457,3.853,458,3.853,459,2.202]],["t/332",[2,1.408,33,1.701,189,2.095,324,1.408,419,1.701,420,1.701,424,2.083,425,3.303,438,2.095,447,2.909,448,3.516,459,2.692]],["t/334",[1,3.893,2,1.653,3,0.892,7,3.506,327,3.506,425,2.818,450,3.968,460,4.669,461,4.669,462,4.669,463,4.669]],["t/336",[1,3.264,2,0.826,3,0.679,7,3.237,33,2.221,35,4.097,89,1.579,189,1.229,219,3.264,324,0.826,327,1.751,336,1.982,340,1.982,367,1.579,419,0.998,420,0.998,424,1.427,426,1.751,438,1.229,442,1.982,459,1.579,464,3.556,465,3.556,466,3.556,467,5.47,468,1.982,469,3.663,470,2.333,471,3.556,472,2.333,473,2.333,474,2.333,475,2.333,476,4.31,477,3.556,478,3.556,479,3.022,480,3.022,481,2.333,482,2.333,483,2.333,484,2.333,485,2.333,486,2.333,487,1.751,488,2.333,489,2.333,490,2.333]],["t/338",[218,3.305,347,2.572,357,2.777,412,3.305,416,4.149,425,2.392,491,4.882,492,4.882,493,4.149,494,4.882]],["t/340",[2,1.462,3,0.789,33,1.767,189,2.176,324,1.462,357,3.028,419,1.767,420,1.767,422,2.52,424,2.135,438,2.176,447,1.889,459,2.796,487,3.101,495,3.844]],["t/342",[2,1.594,3,0.86,82,1.578,90,2.736,238,2.18,352,2.736,357,1.832,358,2.418,375,2.206,387,2.418,396,2.18,422,1.927,424,1.292,437,1.832,454,1.832,487,2.418,493,5.348,495,3.208,496,2.736,497,4.412,498,4.503,499,3.22,500,3.22,501,3.22,502,2.736,503,3.22,504,2.18,505,3.22,506,3.22]],["t/344",[367,3.519,422,2.224,423,3.903,424,2.085,507,3.903,508,3.903]],["t/346",[3,1.042,82,2.105,326,2.443,348,3.225,375,2.674,414,3.105,454,2.443,504,2.908,509,3.225,510,4.098,511,3.695,512,4.295,513,5.458]],["t/348",[3,1.008,322,4.484,324,1.175,348,4.278,422,2.56,423,4.278,424,2.285,437,1.889,458,2.821,507,2.493,508,2.493,511,3.857,514,2.821,515,3.32,516,5.277,517,3.962,518,3.32]],["t/350",[33,1.66,370,4.291,371,2.692,385,2.208,390,2.044,392,2.044,404,3.298,414,3.455,419,1.66,420,1.66,425,1.902,507,2.914,508,2.914,511,3.46,519,3.881,520,3.881,521,3.881,522,3.881,523,3.881,524,3.881]],["t/352",[3,0.984,82,1.925,238,2.659,324,1.39,375,2.524,396,2.659,412,2.659,414,2.931,438,2.069,454,2.235,504,2.659,509,2.949,510,3.868,525,3.338,526,3.928,527,4.378,528,3.338,529,4.378,530,3.928,531,3.338]],["t/354",[371,2.925,390,2.925,392,2.925,413,3.939,414,3.456,511,2.988,532,4.413,533,4.413,534,4.413]],["t/356",[3,1.009,347,2.783,422,2.261,535,5.283,536,5.283]],["t/358",[2,1.107,3,0.597,4,2.347,33,1.887,89,3.962,218,2.116,347,3.287,389,2.657,390,1.647,392,1.647,419,1.887,420,1.887,422,2.727,437,1.778,438,1.647,514,2.657,517,2.347,537,3.126,538,4.973,539,2.657,540,3.126,541,3.126,542,3.126]],["t/360",[3,0.984,82,1.925,238,2.659,324,1.39,347,3.028,375,2.524,396,2.659,412,2.659,422,1.681,454,2.235,504,2.659,509,2.949,510,3.868,525,3.338,527,4.378,528,3.338,529,4.378,531,3.338,543,3.928]],["t/362",[33,2.136,89,2.535,218,2.535,347,2.958,419,2.136,420,2.136,422,2.669,424,2.002,426,2.812,437,2.13,495,3.701,502,3.183,538,3.183,539,3.183,544,3.745,545,4.992]],["t/364",[3,0.993,320,3.903,326,2.957,447,2.377,546,5.198,547,5.198]],["t/366",[219,2.596,357,3.232,358,2.879,422,2.17,424,2.034,431,3.258,447,2.598,468,3.258,469,4.309,495,2.37,496,3.258,548,3.834,549,3.834,550,3.834,551,5.07,552,5.07,553,3.834,554,3.834,555,3.258]],["t/368",[2,2.225,219,2.596,324,1.357,326,2.181,367,3.846,385,2.181,424,1.538,425,3.08,447,1.753,555,3.258,556,3.258,557,4.309,558,3.258,559,5.681,560,3.834]],["t/370",[3,1.079,324,1.341,325,2.845,326,2.156,328,3.22,385,2.156,430,3.778,446,3.22,447,1.733,479,4.799,480,4.275,517,2.845,556,3.22,557,3.22,558,3.22,561,3.789,562,5.031,563,5.031,564,3.789,565,3.789,566,3.789]],["t/372",[3,0.969,84,3.433,87,3.133,326,2.181,375,2.485,401,3.258,447,1.753,448,3.433,457,5.137,495,3.133,567,3.834,568,3.258,569,3.258,570,4.309,571,6.045]],["t/374",[2,1.39,3,0.75,320,3.868,345,4.378,385,2.931,568,3.338,572,3.928,573,3.928,574,3.928,575,5.749,576,5.152,577,5.152,578,5.749,579,5.152,580,5.152]],["t/376",[3,0.842,57,1.778,192,2.347,341,2.657,357,1.778,385,1.778,447,1.43,454,1.778,497,2.657,569,4.342,570,2.657,581,3.126,582,3.126,583,3.126,584,3.126,585,3.126,586,5.109,587,6.072,588,4.41,589,3.126,590,3.126,591,3.126,592,3.126,593,3.126,594,3.126,595,3.126,596,3.126,597,3.126,598,3.126,599,3.126,600,3.126,601,3.126,602,4.41,603,3.126,604,3.126]]],"invertedIndex":[["0",{"_index":538,"t":{"358":{"position":[[20,1],[73,1],[131,1],[196,1],[247,1]]},"362":{"position":[[91,1]]}}}],["02",{"_index":465,"t":{"336":{"position":[[27,2],[57,2]]}}}],["1",{"_index":89,"t":{"297":{"position":[[179,1],[222,1],[262,1]]},"336":{"position":[[175,1]]},"358":{"position":[[18,1],[71,1],[129,1],[194,1],[245,1]]},"362":{"position":[[89,1]]}}}],["10px",{"_index":595,"t":{"376":{"position":[[240,4]]}}}],["14",{"_index":376,"t":{"317":{"position":[[16,2]]}}}],["2",{"_index":4,"t":{"291":{"position":[[59,1]]},"297":{"position":[[182,1],[225,1],[265,1]]},"358":{"position":[[182,1]]}}}],["2021",{"_index":464,"t":{"336":{"position":[[22,4],[52,4]]}}}],["20px",{"_index":592,"t":{"376":{"position":[[208,4]]}}}],["25c2a0",{"_index":601,"t":{"376":{"position":[[402,6]]}}}],["28",{"_index":466,"t":{"336":{"position":[[30,2],[60,2]]}}}],["3",{"_index":90,"t":{"297":{"position":[[199,1],[234,1],[302,1]]},"342":{"position":[[180,1]]}}}],["3000",{"_index":420,"t":{"321":{"position":[[356,4]]},"326":{"position":[[101,4]]},"328":{"position":[[102,4],[138,4],[181,4]]},"330":{"position":[[307,4]]},"332":{"position":[[169,4]]},"336":{"position":[[571,4]]},"340":{"position":[[157,4]]},"350":{"position":[[121,4]]},"358":{"position":[[218,4],[282,4]]},"362":{"position":[[127,4],[182,4]]}}}],["5",{"_index":343,"t":{"309":{"position":[[134,1]]},"313":{"position":[[39,1]]}}}],["abov",{"_index":377,"t":{"317":{"position":[[22,5]]}}}],["absolut",{"_index":561,"t":{"370":{"position":[[51,8]]}}}],["access",{"_index":519,"t":{"350":{"position":[[90,10]]}}}],["action",{"_index":580,"t":{"374":{"position":[[143,6],[221,6]]}}}],["ad",{"_index":388,"t":{"319":{"position":[[102,5]]}}}],["add",{"_index":82,"t":{"297":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]},"307":{"position":[[53,3]]},"311":{"position":[[33,3],[64,3]]},"328":{"position":[[0,3]]},"342":{"position":[[65,3]]},"346":{"position":[[31,3]]},"352":{"position":[[41,3]]},"360":{"position":[[40,3]]}}}],["addeventlisten",{"_index":184,"t":{"299":{"position":[[215,16]]}}}],["addit",{"_index":547,"t":{"364":{"position":[[39,10]]}}}],["adipisc",{"_index":17,"t":{"293":{"position":[[40,10]]}}}],["admonit",{"_index":573,"t":{"374":{"position":[[42,11]]}}}],["alert",{"_index":599,"t":{"376":{"position":[[286,5]]}}}],["aliquam",{"_index":27,"t":{"293":{"position":[[133,7]]}}}],["allow",{"_index":584,"t":{"376":{"position":[[53,6]]}}}],["alpha",{"_index":5,"t":{"291":{"position":[[61,5]]}}}],["amet",{"_index":15,"t":{"293":{"position":[[22,4],[174,4]]}}}],["anyth",{"_index":349,"t":{"309":{"position":[[186,8]]}}}],["anywher",{"_index":440,"t":{"326":{"position":[[151,8]]}}}],["appear",{"_index":531,"t":{"352":{"position":[[241,7]]},"360":{"position":[[248,7]]}}}],["around",{"_index":490,"t":{"336":{"position":[[474,6]]}}}],["author",{"_index":470,"t":{"336":{"position":[[114,7]]}}}],["automat",{"_index":387,"t":{"319":{"position":[[85,13]]},"321":{"position":[[432,13]]},"342":{"position":[[11,13]]}}}],["avail",{"_index":459,"t":{"330":{"position":[[277,9]]},"332":{"position":[[139,9]]},"336":{"position":[[541,9]]},"340":{"position":[[127,9]]}}}],["awesom",{"_index":576,"t":{"374":{"position":[[91,7],[183,7]]}}}],["b",{"_index":86,"t":{"297":{"position":[[115,1],[147,1]]}}}],["backgroundcolor",{"_index":590,"t":{"376":{"position":[[169,15]]}}}],["bad",{"_index":258,"t":{"301":{"position":[[1164,3]]}}}],["bar",{"_index":362,"t":{"311":{"position":[[77,3]]},"328":{"position":[[161,3],[190,3]]}}}],["basic",{"_index":335,"t":{"309":{"position":[[26,6]]}}}],["bastien",{"_index":481,"t":{"336":{"position":[[267,7]]}}}],["block",{"_index":567,"t":{"372":{"position":[[14,6]]}}}],["blog",{"_index":1,"t":{"291":{"position":[[16,4],[27,4]]},"307":{"position":[[0,4],[33,4],[70,4],[161,4]]},"334":{"position":[[35,4],[57,4]]},"336":{"position":[[17,4],[47,4],[524,4],[576,4]]}}}],["blue",{"_index":604,"t":{"376":{"position":[[485,4]]}}}],["boolean",{"_index":235,"t":{"301":{"position":[[691,7]]}}}],["borderradiu",{"_index":591,"t":{"376":{"position":[[193,12]]}}}],["buggi",{"_index":351,"t":{"309":{"position":[[206,5]]}}}],["build",{"_index":413,"t":{"321":{"position":[[242,6]]},"323":{"position":[[65,6]]},"325":{"position":[[0,5],[40,5],[84,5]]},"326":{"position":[[21,5],[54,5],[131,5]]},"354":{"position":[[0,5],[47,5],[71,5],[131,5]]}}}],["bunch",{"_index":9,"t":{"291":{"position":[[97,5]]}}}],["call",{"_index":431,"t":{"323":{"position":[[44,6]]},"366":{"position":[[44,6]]}}}],["callout",{"_index":574,"t":{"374":{"position":[[58,8]]}}}],["care",{"_index":579,"t":{"374":{"position":[[133,4],[211,4]]}}}],["categori",{"_index":506,"t":{"342":{"position":[[365,8]]}}}],["cd",{"_index":406,"t":{"321":{"position":[[28,2],[60,2]]}}}],["chang",{"_index":337,"t":{"309":{"position":[[61,7]]},"321":{"position":[[71,7],[464,7]]}}}],["check",{"_index":380,"t":{"317":{"position":[[77,5]]}}}],["checkbox",{"_index":381,"t":{"317":{"position":[[87,10]]}}}],["children",{"_index":586,"t":{"376":{"position":[[131,8],[337,8],[354,8]]}}}],["classic",{"_index":386,"t":{"319":{"position":[[41,7],[63,7],[189,7]]}}}],["classnam",{"_index":239,"t":{"301":{"position":[[760,9],[1039,9]]}}}],["click",{"_index":600,"t":{"376":{"position":[[297,7]]}}}],["co",{"_index":474,"t":{"336":{"position":[[150,2]]}}}],["code",{"_index":401,"t":{"319":{"position":[[307,4]]},"372":{"position":[[9,4]]}}}],["color",{"_index":587,"t":{"376":{"position":[[141,5],[186,5],[215,5],[309,5],[317,5],[394,5]]}}}],["com",{"_index":35,"t":{"295":{"position":[[29,3]]},"336":{"position":[[197,3],[238,3],[340,3],[370,3]]}}}],["command",{"_index":391,"t":{"319":{"position":[[142,7],[215,7],[228,7],[324,7]]},"321":{"position":[[63,7],[234,7]]}}}],["commun",{"_index":366,"t":{"311":{"position":[[157,9]]}}}],["compon",{"_index":570,"t":{"372":{"position":[[65,10],[169,10]]},"376":{"position":[[76,10]]}}}],["config",{"_index":510,"t":{"346":{"position":[[18,6],[73,6]]},"352":{"position":[[86,6],[113,6]]},"360":{"position":[[86,6],[113,6]]}}}],["congratul",{"_index":486,"t":{"336":{"position":[[408,15]]}}}],["connect",{"_index":492,"t":{"338":{"position":[[30,9]]}}}],["consectetur",{"_index":16,"t":{"293":{"position":[[28,11]]}}}],["consequat",{"_index":28,"t":{"293":{"position":[[141,9]]}}}],["const",{"_index":192,"t":{"299":{"position":[[409,5],[587,5]]},"301":{"position":[[507,5],[658,5],[908,5]]},"376":{"position":[[111,5]]}}}],["content",{"_index":516,"t":{"348":{"position":[[86,7],[151,7],[217,7]]}}}],["copi",{"_index":514,"t":{"348":{"position":[[0,4]]},"358":{"position":[[94,6]]}}}],["cost",{"_index":445,"t":{"326":{"position":[[191,4]]}}}],["cp",{"_index":518,"t":{"348":{"position":[[108,2]]}}}],["creat",{"_index":2,"t":{"291":{"position":[[35,7]]},"315":{"position":[[15,8]]},"321":{"position":[[147,7]]},"328":{"position":[[44,6]]},"330":{"position":[[0,6]]},"332":{"position":[[0,6]]},"334":{"position":[[11,7]]},"336":{"position":[[0,6]]},"340":{"position":[[0,6]]},"342":{"position":[[25,7],[259,6]]},"358":{"position":[[154,7]]},"368":{"position":[[96,6],[112,6],[146,6],[163,6],[207,6]]},"374":{"position":[[35,6]]}}}],["creator",{"_index":475,"t":{"336":{"position":[[153,7]]}}}],["css",{"_index":435,"t":{"323":{"position":[[120,3]]}}}],["current",{"_index":517,"t":{"348":{"position":[[99,7],[164,7],[230,7]]},"358":{"position":[[254,7]]},"370":{"position":[[220,7]]}}}],["cursor",{"_index":596,"t":{"376":{"position":[[247,6]]}}}],["custom",{"_index":358,"t":{"311":{"position":[[39,6]]},"342":{"position":[[81,9]]},"366":{"position":[[165,6]]}}}],["danger",{"_index":578,"t":{"374":{"position":[[121,6],[153,9],[231,9]]}}}],["default",{"_index":455,"t":{"330":{"position":[[142,7]]}}}],["defaultlocal",{"_index":512,"t":{"346":{"position":[[110,13]]}}}],["delet",{"_index":329,"t":{"307":{"position":[[112,6]]}}}],["depend",{"_index":383,"t":{"317":{"position":[[109,12]]},"319":{"position":[[360,12]]}}}],["deploy",{"_index":439,"t":{"326":{"position":[[120,6],[206,10]]}}}],["descript",{"_index":552,"t":{"366":{"position":[[118,11],[143,11]]}}}],["design",{"_index":359,"t":{"311":{"position":[[46,6]]}}}],["develop",{"_index":404,"t":{"321":{"position":[[8,11],[294,11]]},"350":{"position":[[180,11]]}}}],["dignissim",{"_index":21,"t":{"293":{"position":[[80,9]]}}}],["directori",{"_index":325,"t":{"307":{"position":[[75,9],[129,9]]},"321":{"position":[[83,9]]},"370":{"position":[[100,9]]}}}],["discov",{"_index":368,"t":{"313":{"position":[[6,8]]}}}],["dispatchev",{"_index":188,"t":{"299":{"position":[[333,13]]}}}],["display",{"_index":429,"t":{"321":{"position":[[450,8]]}}}],["doc",{"_index":422,"t":{"321":{"position":[[368,4]]},"340":{"position":[[26,4],[41,4],[162,4]]},"342":{"position":[[52,4],[123,4]]},"344":{"position":[[16,4]]},"348":{"position":[[9,4],[94,4],[111,4],[159,4],[225,4]]},"356":{"position":[[48,4]]},"358":{"position":[[58,4],[79,4],[116,4],[168,4],[223,4],[249,4],[287,4],[327,4]]},"360":{"position":[[226,4]]},"362":{"position":[[33,4],[76,4],[132,4],[143,4],[187,4]]},"366":{"position":[[68,3],[86,3]]}}}],["docsversiondropdown",{"_index":543,"t":{"360":{"position":[[185,19]]}}}],["document",{"_index":357,"t":{"311":{"position":[[18,13]]},"338":{"position":[[0,9]]},"340":{"position":[[93,8],[111,8]]},"342":{"position":[[224,8]]},"366":{"position":[[9,9],[103,8],[134,8]]},"376":{"position":[[18,13]]}}}],["docusauru",{"_index":3,"t":{"291":{"position":[[48,10]]},"309":{"position":[[36,10],[94,10]]},"311":{"position":[[106,10],[146,10]]},"313":{"position":[[15,10]]},"315":{"position":[[43,10],[71,10]]},"319":{"position":[[15,10],[160,10],[389,10]]},"321":{"position":[[155,10]]},"323":{"position":[[0,10]]},"334":{"position":[[0,10]]},"336":{"position":[[164,10],[289,10]]},"340":{"position":[[82,10]]},"342":{"position":[[0,10],[213,10]]},"346":{"position":[[7,10],[62,10]]},"348":{"position":[[68,10],[133,10],[199,10]]},"352":{"position":[[75,10],[102,10]]},"356":{"position":[[0,10]]},"358":{"position":[[47,10]]},"360":{"position":[[75,10],[102,10]]},"364":{"position":[[0,10]]},"370":{"position":[[122,10],[141,10],[163,10]]},"372":{"position":[[144,10],[246,10]]},"374":{"position":[[0,10]]},"376":{"position":[[410,10],[449,10]]}}}],["dolor",{"_index":13,"t":{"293":{"position":[[12,5],[164,5]]}}}],["don",{"_index":330,"t":{"307":{"position":[[146,3]]}}}],["dropdown",{"_index":527,"t":{"352":{"position":[[54,8],[228,8]]},"360":{"position":[[54,8],[239,8]]}}}],["each",{"_index":460,"t":{"334":{"position":[[30,4]]}}}],["easili",{"_index":441,"t":{"326":{"position":[[160,6]]}}}],["edit",{"_index":426,"t":{"321":{"position":[[398,4]]},"336":{"position":[[485,4]]},"362":{"position":[[18,4]]}}}],["editor",{"_index":197,"t":{"299":{"position":[[472,6],[642,6]]},"319":{"position":[[312,6]]}}}],["elementum",{"_index":20,"t":{"293":{"position":[[70,9]]}}}],["elit",{"_index":18,"t":{"293":{"position":[[51,4]]}}}],["en",{"_index":513,"t":{"346":{"position":[[126,2],[142,2]]}}}],["enzym",{"_index":58,"t":{"295":{"position":[[136,6]]}}}],["ero",{"_index":26,"t":{"293":{"position":[[128,4]]}}}],["event",{"_index":190,"t":{"299":{"position":[[351,5]]}}}],["expect",{"_index":91,"t":{"297":{"position":[[211,6],[285,6]]},"301":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["explicitli",{"_index":503,"t":{"342":{"position":[[279,10]]}}}],["export",{"_index":454,"t":{"330":{"position":[[135,6]]},"342":{"position":[[325,7]]},"346":{"position":[[90,7]]},"352":{"position":[[130,7]]},"360":{"position":[[130,7]]},"376":{"position":[[104,6]]}}}],["extra",{"_index":566,"t":{"370":{"position":[[258,5]]}}}],["facebook",{"_index":603,"t":{"376":{"position":[[476,8]]}}}],["fake",{"_index":205,"t":{"299":{"position":[[670,5]]}}}],["featur",{"_index":320,"t":{"307":{"position":[[5,8],[166,8]]},"364":{"position":[[50,8]]},"374":{"position":[[99,7],[191,7]]}}}],["feed",{"_index":463,"t":{"334":{"position":[[95,4]]}}}],["feel",{"_index":488,"t":{"336":{"position":[[456,4]]}}}],["few",{"_index":546,"t":{"364":{"position":[[35,3]]}}}],["fff",{"_index":593,"t":{"376":{"position":[[224,3]]}}}],["file",{"_index":324,"t":{"307":{"position":[[57,5]]},"323":{"position":[[124,5]]},"325":{"position":[[57,5]]},"328":{"position":[[22,5]]},"330":{"position":[[9,4]]},"332":{"position":[[9,4]]},"336":{"position":[[9,4]]},"340":{"position":[[18,4]]},"348":{"position":[[23,4]]},"352":{"position":[[96,4]]},"360":{"position":[[96,4]]},"368":{"position":[[66,4]]},"370":{"position":[[228,4]]}}}],["find",{"_index":203,"t":{"299":{"position":[[637,4]]},"301":{"position":[[1017,4]]},"311":{"position":[[81,4]]}}}],["first",{"_index":487,"t":{"336":{"position":[[444,5]]},"340":{"position":[[76,5]]},"342":{"position":[[207,5]]}}}],["folder",{"_index":437,"t":{"325":{"position":[[90,6]]},"326":{"position":[[60,6],[137,6]]},"342":{"position":[[57,6]]},"348":{"position":[[43,6]]},"358":{"position":[[84,6]]},"362":{"position":[[58,6]]}}}],["foo",{"_index":451,"t":{"328":{"position":[[118,3],[143,3],[157,3],[186,3]]}}}],["form",{"_index":237,"t":{"301":{"position":[[750,4],[824,4],[1022,4]]}}}],["fr",{"_index":511,"t":{"346":{"position":[[51,2],[148,2]]},"348":{"position":[[40,2],[65,2],[130,2],[196,2]]},"350":{"position":[[64,2],[126,2]]},"354":{"position":[[65,2]]}}}],["free",{"_index":442,"t":{"326":{"position":[[172,4]]},"336":{"position":[[461,4]]}}}],["french",{"_index":508,"t":{"344":{"position":[[33,6]]},"348":{"position":[[250,6]]},"350":{"position":[[23,6]]}}}],["front",{"_index":549,"t":{"366":{"position":[[51,5]]}}}],["function",{"_index":84,"t":{"297":{"position":[[91,8]]},"301":{"position":[[192,8]]},"330":{"position":[[150,8]]},"372":{"position":[[95,8],[199,8]]}}}],["fusc",{"_index":23,"t":{"293":{"position":[[101,5]]}}}],["gener",{"_index":384,"t":{"319":{"position":[[0,8]]},"323":{"position":[[28,9]]},"325":{"position":[[67,9]]}}}],["get",{"_index":520,"t":{"350":{"position":[[138,7]]}}}],["github",{"_index":476,"t":{"336":{"position":[[190,6],[231,6],[363,6]]}}}],["good",{"_index":37,"t":{"295":{"position":[[41,4]]}}}],["green",{"_index":602,"t":{"376":{"position":[[421,5],[460,5]]}}}],["greet",{"_index":467,"t":{"336":{"position":[[33,9],[63,9],[86,9],[103,9],[393,9],[581,9]]}}}],["group",{"_index":491,"t":{"338":{"position":[[14,6]]}}}],["gui",{"_index":161,"t":{"299":{"position":[[58,3]]},"301":{"position":[[44,3]]}}}],["guid",{"_index":446,"t":{"326":{"position":[[217,5]]},"370":{"position":[[264,6]]}}}],["h1",{"_index":457,"t":{"330":{"position":[[194,2],[212,2]]},"372":{"position":[[134,2],[157,2],[236,2],[259,2]]}}}],["handlechang",{"_index":193,"t":{"299":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":215,"t":{"301":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":233,"t":{"301":{"position":[[664,16],[982,16]]}}}],["head",{"_index":553,"t":{"366":{"position":[[192,7]]}}}],["hello",{"_index":495,"t":{"340":{"position":[[31,5],[46,5],[57,5],[167,5]]},"342":{"position":[[128,5],[188,5],[404,5]]},"362":{"position":[[93,5],[137,5],[148,5],[197,5]]},"366":{"position":[[229,5]]},"372":{"position":[[137,5],[239,5]]}}}],["hellodocusauru",{"_index":571,"t":{"372":{"position":[[76,15],[104,15],[180,15],[208,15]]}}}],["hi",{"_index":500,"t":{"342":{"position":[[157,2]]}}}],["highlight",{"_index":569,"t":{"372":{"position":[[47,12]]},"376":{"position":[[117,9],[384,9],[428,9]]}}}],["histori",{"_index":216,"t":{"301":{"position":[[223,7],[348,7],[543,7]]}}}],["html",{"_index":433,"t":{"323":{"position":[[99,4]]}}}],["http",{"_index":33,"t":{"295":{"position":[[9,5]]},"321":{"position":[[339,4]]},"326":{"position":[[84,4]]},"330":{"position":[[290,4]]},"332":{"position":[[152,4]]},"336":{"position":[[182,5],[223,5],[316,5],[355,5],[554,4]]},"340":{"position":[[140,4]]},"350":{"position":[[104,4]]},"358":{"position":[[201,4],[265,4]]},"362":{"position":[[110,4],[165,4]]}}}],["i18n",{"_index":348,"t":{"309":{"position":[[180,4]]},"346":{"position":[[102,4]]},"348":{"position":[[35,4],[60,4],[125,4],[191,4]]}}}],["id",{"_index":551,"t":{"366":{"position":[[79,2],[90,2]]}}}],["imag",{"_index":479,"t":{"336":{"position":[[212,5],[344,5]]},"370":{"position":[[17,6],[79,6],[197,6]]}}}],["image_url",{"_index":478,"t":{"336":{"position":[[212,9],[344,9]]}}}],["img",{"_index":563,"t":{"370":{"position":[[118,3],[159,3]]}}}],["immedi",{"_index":373,"t":{"315":{"position":[[54,11]]}}}],["import",{"_index":452,"t":{"330":{"position":[[72,6],[99,6]]}}}],["includ",{"_index":533,"t":{"354":{"position":[[90,7]]}}}],["index",{"_index":450,"t":{"328":{"position":[[80,5]]},"334":{"position":[[62,5]]}}}],["inform",{"_index":10,"t":{"291":{"position":[[112,11]]}}}],["init",{"_index":393,"t":{"319":{"position":[[155,4]]}}}],["initi",{"_index":338,"t":{"309":{"position":[[76,7]]}}}],["input",{"_index":242,"t":{"301":{"position":[[813,5]]}}}],["insid",{"_index":585,"t":{"376":{"position":[[87,6]]}}}],["inspir",{"_index":363,"t":{"311":{"position":[[86,12]]}}}],["instal",{"_index":378,"t":{"317":{"position":[[34,10]]},"319":{"position":[[337,8]]}}}],["instanc",{"_index":259,"t":{"301":{"position":[[1193,8]]}}}],["integr",{"_index":400,"t":{"319":{"position":[[279,10]]}}}],["interact",{"_index":583,"t":{"376":{"position":[[37,11]]}}}],["intro",{"_index":423,"t":{"321":{"position":[[373,5]]},"344":{"position":[[21,5]]},"348":{"position":[[14,5],[116,5],[172,5],[238,5]]}}}],["invalid",{"_index":241,"t":{"301":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":204,"t":{"299":{"position":[[650,6]]}}}],["involv",{"_index":365,"t":{"311":{"position":[[130,8]]}}}],["ipsum",{"_index":12,"t":{"293":{"position":[[6,5],[115,5],[158,5]]}}}],["item",{"_index":238,"t":{"301":{"position":[[755,4],[829,4],[1027,4]]},"342":{"position":[[395,5]]},"352":{"position":[[167,5]]},"360":{"position":[[167,5]]}}}],["jamstack",{"_index":432,"t":{"323":{"position":[[51,8]]}}}],["javascript",{"_index":434,"t":{"323":{"position":[[105,10]]}}}],["jest",{"_index":56,"t":{"295":{"position":[[123,4]]},"301":{"position":[[532,4]]}}}],["joel",{"_index":472,"t":{"336":{"position":[[131,4]]}}}],["joelmarcey",{"_index":477,"t":{"336":{"position":[[201,10],[242,10]]}}}],["js",{"_index":375,"t":{"317":{"position":[[5,2],[50,2]]},"328":{"position":[[86,2],[165,2]]},"330":{"position":[[41,2],[69,2]]},"342":{"position":[[302,2],[315,2]]},"346":{"position":[[25,2],[80,2]]},"352":{"position":[[93,2],[120,2]]},"360":{"position":[[93,2],[120,2]]},"372":{"position":[[92,2],[196,2]]}}}],["json",{"_index":540,"t":{"358":{"position":[[146,4]]}}}],["label",{"_index":497,"t":{"342":{"position":[[103,5],[149,5],[376,5]]},"376":{"position":[[329,5]]}}}],["languag",{"_index":526,"t":{"352":{"position":[[30,9]]}}}],["latest",{"_index":394,"t":{"319":{"position":[[171,6]]}}}],["layout",{"_index":360,"t":{"311":{"position":[[57,6]]},"330":{"position":[[106,6],[126,6],[185,6],[246,6]]}}}],["learn",{"_index":334,"t":{"309":{"position":[[14,7]]}}}],["less",{"_index":369,"t":{"313":{"position":[[29,4]]}}}],["line",{"_index":427,"t":{"321":{"position":[[408,5]]}}}],["link",{"_index":555,"t":{"366":{"position":[[220,5]]},"368":{"position":[[17,5]]}}}],["ll",{"_index":411,"t":{"321":{"position":[[176,2]]}}}],["local",{"_index":414,"t":{"321":{"position":[[262,7]]},"326":{"position":[[27,7]]},"346":{"position":[[54,6],[131,7]]},"350":{"position":[[30,6],[57,6],[72,9],[214,6]]},"352":{"position":[[47,6],[221,6]]},"354":{"position":[[31,6],[58,6],[106,7]]}}}],["localedropdown",{"_index":530,"t":{"352":{"position":[[185,14]]}}}],["localhost",{"_index":419,"t":{"321":{"position":[[346,9]]},"326":{"position":[[91,9]]},"328":{"position":[[92,9],[128,9],[171,9]]},"330":{"position":[[297,9]]},"332":{"position":[[159,9]]},"336":{"position":[[561,9]]},"340":{"position":[[147,9]]},"350":{"position":[[111,9]]},"358":{"position":[[208,9],[272,9]]},"362":{"position":[[117,9],[172,9]]}}}],["locat",{"_index":220,"t":{"301":{"position":[[356,8]]}}}],["logo",{"_index":564,"t":{"370":{"position":[[152,4]]}}}],["look",{"_index":346,"t":{"309":{"position":[[157,4]]}}}],["lorber",{"_index":482,"t":{"336":{"position":[[275,6]]}}}],["lorem",{"_index":11,"t":{"293":{"position":[[0,5],[152,5]]}}}],["made",{"_index":336,"t":{"309":{"position":[[51,4]]},"336":{"position":[[434,4]]}}}],["maintain",{"_index":483,"t":{"336":{"position":[[300,10]]}}}],["make",{"_index":582,"t":{"376":{"position":[[8,4]]}}}],["manag",{"_index":535,"t":{"356":{"position":[[15,6]]}}}],["marcey",{"_index":473,"t":{"336":{"position":[[136,6]]}}}],["markdown",{"_index":447,"t":{"328":{"position":[[4,8]]},"332":{"position":[[30,8],[61,8],[83,8],[107,8],[177,8]]},"340":{"position":[[9,8]]},"364":{"position":[[20,8]]},"366":{"position":[[0,8],[183,8],[200,8]]},"368":{"position":[[8,8]]},"370":{"position":[[8,8]]},"372":{"position":[[0,8]]},"376":{"position":[[94,8]]}}}],["matter",{"_index":550,"t":{"366":{"position":[[57,6]]}}}],["md",{"_index":424,"t":{"321":{"position":[[379,2]]},"328":{"position":[[122,2]]},"332":{"position":[[44,2],[75,2]]},"336":{"position":[[43,2],[73,2]]},"340":{"position":[[37,2],[52,2]]},"342":{"position":[[134,2]]},"344":{"position":[[27,2]]},"348":{"position":[[20,2],[122,2],[178,2],[244,2]]},"362":{"position":[[99,2],[154,2]]},"366":{"position":[[72,2],[235,2]]},"368":{"position":[[177,2]]}}}],["mdx",{"_index":581,"t":{"376":{"position":[[0,3]]}}}],["metadata",{"_index":496,"t":{"342":{"position":[[69,8]]},"366":{"position":[[24,8]]}}}],["minut",{"_index":344,"t":{"309":{"position":[[141,7]]},"313":{"position":[[41,7]]}}}],["mkdir",{"_index":515,"t":{"348":{"position":[[51,5]]}}}],["mock",{"_index":224,"t":{"301":{"position":[[421,6]]}}}],["modifi",{"_index":509,"t":{"346":{"position":[[0,6]]},"352":{"position":[[64,6]]},"360":{"position":[[64,6]]}}}],["modul",{"_index":504,"t":{"342":{"position":[[318,6]]},"346":{"position":[[83,6]]},"352":{"position":[[123,6]]},"360":{"position":[[123,6]]}}}],["more",{"_index":341,"t":{"309":{"position":[[114,4],[136,4]]},"376":{"position":[[32,4]]}}}],["much",{"_index":340,"t":{"309":{"position":[[109,4]]},"336":{"position":[[503,4]]}}}],["multipl",{"_index":536,"t":{"356":{"position":[[22,8]]}}}],["mycompon",{"_index":182,"t":{"299":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"301":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["myreactpag",{"_index":456,"t":{"330":{"position":[[159,11]]}}}],["name",{"_index":471,"t":{"336":{"position":[[125,4],[259,4]]}}}],["navbar",{"_index":529,"t":{"352":{"position":[[157,6],[257,6]]},"360":{"position":[[157,6],[264,6]]}}}],["navig",{"_index":412,"t":{"321":{"position":[[187,8]]},"338":{"position":[[73,10]]},"352":{"position":[[3,8]]},"360":{"position":[[3,8]]}}}],["necessari",{"_index":402,"t":{"319":{"position":[[350,9]]}}}],["need",{"_index":403,"t":{"319":{"position":[[377,4]]},"321":{"position":[[179,4]]}}}],["new",{"_index":189,"t":{"299":{"position":[[347,3]]},"315":{"position":[[26,3],[82,3]]},"319":{"position":[[11,3]]},"330":{"position":[[261,3]]},"332":{"position":[[123,3]]},"336":{"position":[[520,3]]},"340":{"position":[[107,3]]}}}],["newli",{"_index":410,"t":{"321":{"position":[[141,5]]}}}],["next",{"_index":218,"t":{"301":{"position":[[238,4],[382,4],[603,4]]},"338":{"position":[[68,4]]},"358":{"position":[[292,4]]},"362":{"position":[[192,4]]}}}],["node",{"_index":374,"t":{"317":{"position":[[0,4],[45,4]]}}}],["now",{"_index":438,"t":{"326":{"position":[[70,3],[116,3]]},"330":{"position":[[273,3]]},"332":{"position":[[135,3]]},"336":{"position":[[537,3]]},"340":{"position":[[123,3]]},"352":{"position":[[237,3]]},"358":{"position":[[173,3]]}}}],["npm",{"_index":392,"t":{"319":{"position":[[151,3]]},"321":{"position":[[42,3],[220,3]]},"325":{"position":[[32,3]]},"326":{"position":[[36,3]]},"350":{"position":[[38,3]]},"354":{"position":[[39,3],[123,3]]},"358":{"position":[[39,3]]}}}],["number",{"_index":85,"t":{"297":{"position":[[107,6],[118,6],[127,6]]}}}],["offer",{"_index":342,"t":{"309":{"position":[[122,5]]}}}],["offici",{"_index":356,"t":{"311":{"position":[[9,8]]}}}],["on",{"_index":522,"t":{"350":{"position":[[210,3]]}}}],["onc",{"_index":534,"t":{"354":{"position":[[117,4]]}}}],["onchang",{"_index":198,"t":{"299":{"position":[[479,8],[658,8]]}}}],["onclick",{"_index":598,"t":{"376":{"position":[[269,7]]}}}],["open",{"_index":421,"t":{"321":{"position":[[363,4]]}}}],["option",{"_index":577,"t":{"374":{"position":[[107,6],[199,6]]}}}],["order",{"_index":409,"t":{"321":{"position":[[117,5]]}}}],["p",{"_index":458,"t":{"330":{"position":[[217,1],[241,1]]},"348":{"position":[[58,1]]}}}],["pad",{"_index":594,"t":{"376":{"position":[[230,7]]}}}],["page",{"_index":425,"t":{"321":{"position":[[388,4]]},"328":{"position":[[35,5],[64,4],[74,5],[112,5],[151,5]]},"330":{"position":[[21,5],[36,4],[49,5],[64,4],[206,4],[235,4],[265,4],[321,4]]},"332":{"position":[[21,5],[39,4],[52,5],[70,4],[92,4],[116,4],[127,4],[186,4]]},"334":{"position":[[21,4],[68,4]]},"338":{"position":[[24,5]]},"350":{"position":[[154,4]]},"368":{"position":[[105,4],[121,4],[155,4],[172,4],[216,4]]}}}],["path",{"_index":557,"t":{"368":{"position":[[48,5],[71,5]]},"370":{"position":[[60,5]]}}}],["pathnam",{"_index":221,"t":{"301":{"position":[[365,8]]}}}],["pellentesqu",{"_index":19,"t":{"293":{"position":[[57,12]]}}}],["play",{"_index":489,"t":{"336":{"position":[[469,4]]}}}],["pleas",{"_index":353,"t":{"309":{"position":[[230,6]]}}}],["plugin",{"_index":322,"t":{"307":{"position":[[38,6]]},"348":{"position":[[79,6],[144,6],[210,6]]}}}],["png",{"_index":480,"t":{"336":{"position":[[253,3],[382,3]]},"370":{"position":[[133,3],[174,3]]}}}],["pointer",{"_index":597,"t":{"376":{"position":[[256,7]]}}}],["posit",{"_index":498,"t":{"342":{"position":[[113,8],[170,8]]}}}],["possibl",{"_index":502,"t":{"342":{"position":[[247,8]]},"362":{"position":[[6,8]]}}}],["post",{"_index":7,"t":{"291":{"position":[[83,4]]},"334":{"position":[[40,4]]},"336":{"position":[[450,4],[495,4],[529,4]]}}}],["power",{"_index":321,"t":{"307":{"position":[[18,7]]}}}],["powershel",{"_index":398,"t":{"319":{"position":[[244,10]]}}}],["previou",{"_index":494,"t":{"338":{"position":[[59,8]]}}}],["product",{"_index":436,"t":{"325":{"position":[[20,10]]},"326":{"position":[[10,10]]}}}],["project",{"_index":389,"t":{"319":{"position":[[116,7]]},"358":{"position":[[30,7]]}}}],["prompt",{"_index":397,"t":{"319":{"position":[[236,6]]}}}],["prop",{"_index":246,"t":{"301":{"position":[[1033,4]]}}}],["push",{"_index":217,"t":{"301":{"position":[[231,4],[553,4]]}}}],["re",{"_index":407,"t":{"321":{"position":[[97,2]]}}}],["react",{"_index":57,"t":{"295":{"position":[[129,5]]},"301":{"position":[[624,5]]},"303":{"position":[[162,5]]},"328":{"position":[[16,5]]},"330":{"position":[[30,5],[58,5],[79,5],[91,5],[200,5],[229,5],[315,5]]},"376":{"position":[[70,5]]}}}],["read",{"_index":355,"t":{"311":{"position":[[0,4]]},"326":{"position":[[197,4]]}}}],["readi",{"_index":417,"t":{"321":{"position":[[314,5]]}}}],["recommend",{"_index":379,"t":{"317":{"position":[[62,11]]}}}],["redux",{"_index":289,"t":{"303":{"position":[[169,5]]}}}],["refer",{"_index":562,"t":{"370":{"position":[[69,9],[187,9]]}}}],["regular",{"_index":556,"t":{"368":{"position":[[0,7]]},"370":{"position":[[0,7]]}}}],["rel",{"_index":558,"t":{"368":{"position":[[57,8]]},"370":{"position":[[204,8]]}}}],["relat",{"_index":382,"t":{"317":{"position":[[98,7]]}}}],["releas",{"_index":537,"t":{"358":{"position":[[0,7]]}}}],["reload",{"_index":428,"t":{"321":{"position":[[424,7]]}}}],["report",{"_index":354,"t":{"309":{"position":[[237,6]]}}}],["resiz",{"_index":185,"t":{"299":{"position":[[233,6],[358,6]]}}}],["respect",{"_index":544,"t":{"362":{"position":[[47,10]]}}}],["result",{"_index":560,"t":{"368":{"position":[[182,6]]}}}],["return",{"_index":87,"t":{"297":{"position":[[136,6],[192,6]]},"299":{"position":[[464,6]]},"301":{"position":[[740,6]]},"330":{"position":[[175,6]]},"372":{"position":[[124,6],[228,6]]}}}],["rhoncu",{"_index":24,"t":{"293":{"position":[[107,7]]}}}],["rss",{"_index":462,"t":{"334":{"position":[[91,3]]}}}],["run",{"_index":390,"t":{"319":{"position":[[134,3],[385,3]]},"321":{"position":[[0,3],[46,3],[224,3]]},"325":{"position":[[36,3]]},"326":{"position":[[40,3]]},"350":{"position":[[42,3]]},"354":{"position":[[43,3],[127,3]]},"358":{"position":[[43,3]]}}}],["s",{"_index":367,"t":{"313":{"position":[[4,1]]},"336":{"position":[[265,1]]},"344":{"position":[[4,1]]},"368":{"position":[[82,1],[132,1],[194,1]]}}}],["same",{"_index":523,"t":{"350":{"position":[[226,4]]}}}],["seamlessli",{"_index":525,"t":{"352":{"position":[[12,10]]},"360":{"position":[[12,10]]}}}],["search",{"_index":361,"t":{"311":{"position":[[70,6]]}}}],["sebastienlorb",{"_index":484,"t":{"336":{"position":[[324,15]]}}}],["see",{"_index":559,"t":{"368":{"position":[[84,3],[134,3],[196,3]]}}}],["serv",{"_index":415,"t":{"321":{"position":[[274,6]]},"326":{"position":[[44,5],[74,6]]}}}],["server",{"_index":405,"t":{"321":{"position":[[20,6],[306,6]]}}}],["setstat",{"_index":236,"t":{"301":{"position":[[716,8]]}}}],["shallow",{"_index":202,"t":{"299":{"position":[[603,7]]},"301":{"position":[[924,7]]}}}],["showcas",{"_index":364,"t":{"311":{"position":[[117,8]]}}}],["shown",{"_index":565,"t":{"370":{"position":[[245,5]]}}}],["sidebar",{"_index":493,"t":{"338":{"position":[[51,7]]},"342":{"position":[[35,7],[95,7],[141,7],[162,7],[271,7],[293,8],[306,8]]}}}],["sidebar_label",{"_index":499,"t":{"342":{"position":[[141,13]]}}}],["sidebar_posit",{"_index":501,"t":{"342":{"position":[[162,16]]}}}],["simpl",{"_index":333,"t":{"307":{"position":[[179,6]]},"323":{"position":[[85,6]]}}}],["simpli",{"_index":323,"t":{"307":{"position":[[46,6]]}}}],["sit",{"_index":14,"t":{"293":{"position":[[18,3],[170,3]]}}}],["site",{"_index":371,"t":{"315":{"position":[[30,4]]},"319":{"position":[[26,4]]},"321":{"position":[[166,4],[419,4]]},"323":{"position":[[23,4],[77,4]]},"325":{"position":[[11,4]]},"350":{"position":[[11,4],[82,4]]},"354":{"position":[[11,4],[82,4]]}}}],["slorber",{"_index":485,"t":{"336":{"position":[[374,7]]}}}],["slug",{"_index":468,"t":{"336":{"position":[[80,4]]},"366":{"position":[[155,4]]}}}],["small",{"_index":444,"t":{"326":{"position":[[185,5]]}}}],["someth",{"_index":244,"t":{"301":{"position":[[963,9]]}}}],["span",{"_index":588,"t":{"376":{"position":[[155,4],[366,4]]}}}],["spec",{"_index":88,"t":{"297":{"position":[[160,4]]},"299":{"position":[[289,4],[549,4]]},"301":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["special",{"_index":572,"t":{"374":{"position":[[17,7]]}}}],["specif",{"_index":532,"t":{"354":{"position":[[22,8]]}}}],["spyon",{"_index":231,"t":{"301":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":230,"t":{"301":{"position":[[513,16],[568,16]]}}}],["src",{"_index":448,"t":{"328":{"position":[[31,3],[70,3],[108,3],[147,3]]},"330":{"position":[[17,3],[45,3]]},"332":{"position":[[17,3],[48,3]]},"372":{"position":[[61,3],[165,3]]}}}],["standalon",{"_index":449,"t":{"328":{"position":[[53,10]]}}}],["start",{"_index":370,"t":{"315":{"position":[[4,7]]},"321":{"position":[[50,5],[228,5]]},"350":{"position":[[0,5],[46,5],[146,7]]}}}],["state",{"_index":240,"t":{"301":{"position":[[776,5],[1204,5]]}}}],["static",{"_index":430,"t":{"323":{"position":[[16,6],[92,6]]},"325":{"position":[[50,6]]},"370":{"position":[[93,6],[111,6]]}}}],["string",{"_index":195,"t":{"299":{"position":[[438,6]]}}}],["style",{"_index":589,"t":{"376":{"position":[[160,5]]}}}],["support",{"_index":326,"t":{"307":{"position":[[89,8]]},"346":{"position":[[35,7]]},"364":{"position":[[11,8]]},"368":{"position":[[27,9]]},"370":{"position":[[28,9]]},"372":{"position":[[25,9]]}}}],["syntax",{"_index":568,"t":{"372":{"position":[[40,6]]},"374":{"position":[[25,6]]}}}],["system",{"_index":461,"t":{"334":{"position":[[80,6]]}}}],["t",{"_index":331,"t":{"307":{"position":[[150,1]]}}}],["tag",{"_index":327,"t":{"307":{"position":[[98,4]]},"334":{"position":[[76,3]]},"336":{"position":[[386,4]]}}}],["take",{"_index":345,"t":{"309":{"position":[[150,4]]},"374":{"position":[[128,4],[206,4]]}}}],["templat",{"_index":339,"t":{"309":{"position":[[84,8]]},"319":{"position":[[49,8],[71,8]]}}}],["tempor",{"_index":25,"t":{"293":{"position":[[121,6]]}}}],["termin",{"_index":399,"t":{"319":{"position":[[256,8],[290,8]]},"321":{"position":[[200,8]]}}}],["test",{"_index":6,"t":{"291":{"position":[[78,4]]},"295":{"position":[[51,5]]},"297":{"position":[[169,4]]},"299":{"position":[[298,4],[559,4]]},"301":{"position":[[298,4],[479,4],[880,4]]},"326":{"position":[[0,4]]}}}],["text",{"_index":554,"t":{"366":{"position":[[209,4]]}}}],["theme",{"_index":453,"t":{"330":{"position":[[120,5]]}}}],["themeconfig",{"_index":528,"t":{"352":{"position":[[142,11]]},"360":{"position":[[142,11]]}}}],["through",{"_index":416,"t":{"321":{"position":[[284,7]]},"338":{"position":[[40,7]]}}}],["time",{"_index":524,"t":{"350":{"position":[[231,4]]}}}],["tip",{"_index":575,"t":{"374":{"position":[[71,3],[78,3],[170,3]]}}}],["titl",{"_index":469,"t":{"336":{"position":[[96,5],[143,5],[282,5]]},"366":{"position":[[93,5],[112,5]]}}}],["tobe",{"_index":92,"t":{"297":{"position":[[229,4],[297,4]]},"301":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":232,"t":{"301":{"position":[[586,14]]}}}],["top",{"_index":548,"t":{"366":{"position":[[40,3]]}}}],["translat",{"_index":507,"t":{"344":{"position":[[6,9]]},"348":{"position":[[181,9]]},"350":{"position":[[162,10]]}}}],["tri",{"_index":372,"t":{"315":{"position":[[39,3]]}}}],["trigger",{"_index":245,"t":{"301":{"position":[[973,7]]}}}],["ts",{"_index":83,"t":{"297":{"position":[[87,2],[165,2]]},"299":{"position":[[204,2],[294,2]]},"301":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":191,"t":{"299":{"position":[[404,3],[554,3]]},"301":{"position":[[653,3],[875,3],[1173,3]]}}}],["tutori",{"_index":352,"t":{"309":{"position":[[220,8]]},"342":{"position":[[384,8]]}}}],["tutorialsidebar",{"_index":505,"t":{"342":{"position":[[337,15]]}}}],["type",{"_index":396,"t":{"319":{"position":[[205,4]]},"342":{"position":[[358,4]]},"352":{"position":[[178,4]]},"360":{"position":[[178,4]]}}}],["typescript",{"_index":55,"t":{"295":{"position":[[111,10]]}}}],["ultrici",{"_index":22,"t":{"293":{"position":[[90,9]]}}}],["unclear",{"_index":350,"t":{"309":{"position":[[195,7]]}}}],["unit",{"_index":38,"t":{"295":{"position":[[46,4]]}}}],["unreleas",{"_index":542,"t":{"358":{"position":[[316,10]]}}}],["upcom",{"_index":541,"t":{"358":{"position":[[306,8]]}}}],["updat",{"_index":545,"t":{"362":{"position":[[102,7],[157,7]]}}}],["url",{"_index":219,"t":{"301":{"position":[[243,3],[387,3],[608,3]]},"336":{"position":[[177,3],[218,3],[311,3],[350,3]]},"366":{"position":[[172,3]]},"368":{"position":[[44,3]]}}}],["us",{"_index":385,"t":{"319":{"position":[[31,5]]},"350":{"position":[[206,3]]},"368":{"position":[[38,5]]},"370":{"position":[[47,3]]},"374":{"position":[[82,3],[174,3]]},"376":{"position":[[60,5]]}}}],["valid",{"_index":234,"t":{"301":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":194,"t":{"299":{"position":[[431,5],[676,5]]}}}],["veri",{"_index":443,"t":{"326":{"position":[[180,4]]}}}],["version",{"_index":347,"t":{"309":{"position":[[165,10]]},"317":{"position":[[8,7]]},"338":{"position":[[84,10]]},"356":{"position":[[31,8]]},"358":{"position":[[10,7],[63,7],[106,9],[121,7],[137,8],[184,8],[237,7]]},"360":{"position":[[30,8],[46,7],[231,7]]},"362":{"position":[[23,9],[66,9],[81,7]]}}}],["versioned_doc",{"_index":539,"t":{"358":{"position":[[106,14]]},"362":{"position":[[66,14]]}}}],["view",{"_index":418,"t":{"321":{"position":[[331,4]]}}}],["void",{"_index":196,"t":{"299":{"position":[[447,4]]},"301":{"position":[[216,4],[701,4]]}}}],["wangshenwei",{"_index":34,"t":{"295":{"position":[[17,11]]}}}],["want",{"_index":332,"t":{"307":{"position":[[152,4]]}}}],["websit",{"_index":395,"t":{"319":{"position":[[181,7]]},"321":{"position":[[34,7],[254,7]]}}}],["welcom",{"_index":0,"t":{"291":{"position":[[0,7]]}}}],["well",{"_index":328,"t":{"307":{"position":[[106,4]]},"370":{"position":[[236,4]]}}}],["whole",{"_index":8,"t":{"291":{"position":[[91,5]]},"307":{"position":[[123,5]]}}}],["window",{"_index":183,"t":{"299":{"position":[[208,6],[326,6]]}}}],["work",{"_index":408,"t":{"321":{"position":[[100,7],[126,4]]}}}],["wrapper",{"_index":201,"t":{"299":{"position":[[593,7],[629,7]]},"301":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":36,"t":{"295":{"position":[[33,7]]}}}],["一个",{"_index":74,"t":{"297":{"position":[[32,2],[69,2]]},"299":{"position":[[179,2],[382,2]]},"301":{"position":[[163,2],[621,2],[1139,2]]},"303":{"position":[[196,2]]}}}],["万物",{"_index":39,"t":{"295":{"position":[[61,2]]}}}],["三条",{"_index":312,"t":{"305":{"position":[[15,2]]}}}],["上述",{"_index":104,"t":{"297":{"position":[[332,2]]}}}],["下来",{"_index":311,"t":{"305":{"position":[[11,2]]}}}],["不再",{"_index":123,"t":{"297":{"position":[[434,2]]}}}],["不同",{"_index":147,"t":{"297":{"position":[[575,2],[585,2]]},"305":{"position":[[34,2]]}}}],["不断",{"_index":264,"t":{"303":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":253,"t":{"301":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":99,"t":{"297":{"position":[[317,2]]},"303":{"position":[[35,2]]}}}],["中",{"_index":211,"t":{"301":{"position":[[63,1]]}}}],["主动",{"_index":186,"t":{"299":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":291,"t":{"303":{"position":[[176,2]]}}}],["主要",{"_index":53,"t":{"295":{"position":[[106,2]]}}}],["之后",{"_index":134,"t":{"297":{"position":[[505,2]]}}}],["事件",{"_index":114,"t":{"297":{"position":[[368,2]]},"299":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":303,"t":{"303":{"position":[[226,2]]}}}],["以上",{"_index":315,"t":{"305":{"position":[[64,2]]}}}],["以下",{"_index":51,"t":{"295":{"position":[[103,2]]},"299":{"position":[[35,2]]},"301":{"position":[[31,2]]}}}],["任务",{"_index":177,"t":{"299":{"position":[[145,2]]}}}],["例子",{"_index":81,"t":{"297":{"position":[[75,2],[334,2]]},"299":{"position":[[184,2],[384,2]]},"301":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":164,"t":{"299":{"position":[[79,2]]},"301":{"position":[[75,2]]}}}],["依然",{"_index":181,"t":{"299":{"position":[[176,2]]}}}],["依赖",{"_index":159,"t":{"299":{"position":[[50,2],[510,2],[524,2]]},"301":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":309,"t":{"303":{"position":[[250,2]]}}}],["值",{"_index":213,"t":{"301":{"position":[[121,1]]}}}],["做",{"_index":143,"t":{"297":{"position":[[554,1]]},"299":{"position":[[159,1]]},"301":{"position":[[139,1]]}}}],["備",{"_index":29,"t":{"295":{"position":[[0,1]]}}}],["充分",{"_index":80,"t":{"297":{"position":[[61,2]]}}}],["关于",{"_index":61,"t":{"295":{"position":[[148,2]]}}}],["关键",{"_index":278,"t":{"303":{"position":[[106,2]]}}}],["其中",{"_index":298,"t":{"303":{"position":[[194,2]]}}}],["其它",{"_index":167,"t":{"299":{"position":[[90,2]]},"301":{"position":[[86,2]]}}}],["其实",{"_index":68,"t":{"297":{"position":[[11,2]]}}}],["内容",{"_index":316,"t":{"305":{"position":[[66,2]]}}}],["内部",{"_index":254,"t":{"301":{"position":[[1117,2],[1124,2]]},"303":{"position":[[46,2]]}}}],["几种",{"_index":157,"t":{"299":{"position":[[37,2]]},"301":{"position":[[33,2]]}}}],["函数",{"_index":110,"t":{"297":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":149,"t":{"297":{"position":[[599,2]]}}}],["判断",{"_index":243,"t":{"301":{"position":[[843,2]]}}}],["前端",{"_index":280,"t":{"303":{"position":[[113,2]]}}}],["前面",{"_index":140,"t":{"297":{"position":[[526,2]]}}}],["副作用",{"_index":120,"t":{"297":{"position":[[409,3]]},"299":{"position":[[113,3]]},"301":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":179,"t":{"299":{"position":[[164,2]]},"301":{"position":[[144,2]]}}}],["化",{"_index":281,"t":{"303":{"position":[[117,1]]}}}],["化繁为简",{"_index":137,"t":{"297":{"position":[[513,4]]}}}],["单一化",{"_index":302,"t":{"303":{"position":[[222,3]]}}}],["单元",{"_index":102,"t":{"297":{"position":[[328,2]]},"303":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":44,"t":{"295":{"position":[[80,4],[98,4],[150,4]]},"297":{"position":[[2,4],[36,4],[246,4],[547,4]]},"303":{"position":[[22,4],[76,4],[232,4]]},"305":{"position":[[5,4]]}}}],["单向",{"_index":295,"t":{"303":{"position":[[186,2]]}}}],["即可",{"_index":175,"t":{"299":{"position":[[136,2]]},"301":{"position":[[122,2]]}}}],["厘清",{"_index":145,"t":{"297":{"position":[[558,2]]}}}],["原因",{"_index":299,"t":{"303":{"position":[[198,2]]}}}],["参数",{"_index":111,"t":{"297":{"position":[[358,2]]},"299":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":160,"t":{"299":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":209,"t":{"301":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":286,"t":{"303":{"position":[[150,2]]}}}],["变量",{"_index":158,"t":{"299":{"position":[[43,2],[121,2]]},"301":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":249,"t":{"301":{"position":[[1098,2]]}}}],["可以",{"_index":136,"t":{"297":{"position":[[511,2]]},"299":{"position":[[10,2],[93,2],[103,2]]},"301":{"position":[[10,2],[89,2],[259,2],[432,2]]},"303":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":112,"t":{"297":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":301,"t":{"303":{"position":[[208,2]]}}}],["合理",{"_index":284,"t":{"303":{"position":[[127,2]]}}}],["同时",{"_index":305,"t":{"303":{"position":[[240,2]]}}}],["回归",{"_index":139,"t":{"297":{"position":[[523,2]]}}}],["因为",{"_index":256,"t":{"301":{"position":[[1122,2]]}}}],["因此",{"_index":115,"t":{"297":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":128,"t":{"297":{"position":[[467,2]]}}}],["地",{"_index":207,"t":{"301":{"position":[[15,1],[116,1]]},"303":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":78,"t":{"297":{"position":[[56,2],[319,2],[379,2]]},"299":{"position":[[24,2]]}}}],["基于",{"_index":54,"t":{"295":{"position":[[108,2]]}}}],["基本",{"_index":66,"t":{"297":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":62,"t":{"295":{"position":[[155,4]]}}}],["增大",{"_index":165,"t":{"299":{"position":[[81,2]]},"301":{"position":[[77,2]]}}}],["增长",{"_index":265,"t":{"303":{"position":[[41,2]]}}}],["复杂",{"_index":105,"t":{"297":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":267,"t":{"303":{"position":[[52,3]]}}}],["复杂度",{"_index":163,"t":{"299":{"position":[[76,3]]},"301":{"position":[[72,3]]}}}],["外界",{"_index":170,"t":{"299":{"position":[[110,2]]},"301":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":113,"t":{"297":{"position":[[365,2],[465,2]]},"299":{"position":[[48,2],[97,2],[151,2]]},"301":{"position":[[52,2]]}}}],["多",{"_index":106,"t":{"297":{"position":[[339,1]]},"299":{"position":[[22,1]]}}}],["多样化",{"_index":269,"t":{"303":{"position":[[67,3]]}}}],["大家",{"_index":317,"t":{"305":{"position":[[69,2]]}}}],["大致",{"_index":156,"t":{"299":{"position":[[32,2]]},"301":{"position":[[28,2]]}}}],["大道至简",{"_index":41,"t":{"295":{"position":[[66,4]]}}}],["如下",{"_index":95,"t":{"297":{"position":[[253,2]]}}}],["如今",{"_index":279,"t":{"303":{"position":[[110,2]]}}}],["如何",{"_index":48,"t":{"295":{"position":[[91,2]]},"299":{"position":[[258,2],[506,2]]},"301":{"position":[[252,2],[838,2]]}}}],["始",{"_index":40,"t":{"295":{"position":[[64,1]]}}}],["始终",{"_index":247,"t":{"301":{"position":[[1073,2]]}}}],["它们",{"_index":150,"t":{"297":{"position":[[603,2]]},"299":{"position":[[73,2]]},"301":{"position":[[65,2]]},"303":{"position":[[202,2]]}}}],["完成",{"_index":176,"t":{"299":{"position":[[138,2]]}}}],["实际",{"_index":261,"t":{"303":{"position":[[30,2]]}}}],["容易",{"_index":206,"t":{"301":{"position":[[13,2]]},"303":{"position":[[15,2]]}}}],["对",{"_index":212,"t":{"301":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"305":{"position":[[68,1]]}}}],["对于",{"_index":171,"t":{"299":{"position":[[117,2],[149,2]]},"301":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":252,"t":{"301":{"position":[[1108,2]]}}}],["对外部",{"_index":119,"t":{"297":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":126,"t":{"297":{"position":[[460,2],[481,2],[562,2]]},"301":{"position":[[1082,2],[1133,2]]},"305":{"position":[[23,2]]}}}],["将",{"_index":52,"t":{"295":{"position":[[105,1]]},"297":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":153,"t":{"299":{"position":[[14,1]]},"303":{"position":[[153,1]]}}}],["尝试",{"_index":42,"t":{"295":{"position":[[74,2]]}}}],["尤为重要",{"_index":283,"t":{"303":{"position":[[122,4]]}}}],["就",{"_index":135,"t":{"297":{"position":[[510,1]]}}}],["就是",{"_index":144,"t":{"297":{"position":[[556,2]]},"299":{"position":[[161,2]]},"301":{"position":[[141,2]]},"303":{"position":[[200,2]]},"305":{"position":[[13,2]]}}}],["工具",{"_index":293,"t":{"303":{"position":[[181,2]]}}}],["巧妙",{"_index":300,"t":{"303":{"position":[[204,2]]}}}],["希望",{"_index":314,"t":{"305":{"position":[[62,2]]}}}],["帮助",{"_index":319,"t":{"305":{"position":[[73,2]]}}}],["应该",{"_index":251,"t":{"301":{"position":[[1105,2]]}}}],["当然",{"_index":97,"t":{"297":{"position":[[312,2]]}}}],["形式",{"_index":148,"t":{"297":{"position":[[577,2],[587,2]]},"303":{"position":[[61,2]]}}}],["形态",{"_index":208,"t":{"301":{"position":[[26,2]]},"303":{"position":[[63,2]]},"305":{"position":[[36,2]]}}}],["影响",{"_index":125,"t":{"297":{"position":[[456,2],[492,2]]},"301":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"303":{"position":[[220,2]]}}}],["往往",{"_index":260,"t":{"303":{"position":[[28,2]]}}}],["思想",{"_index":45,"t":{"295":{"position":[[84,2]]}}}],["总结",{"_index":310,"t":{"305":{"position":[[9,2]]}}}],["情况",{"_index":262,"t":{"303":{"position":[[32,2]]}}}],["想",{"_index":178,"t":{"299":{"position":[[163,1]]},"301":{"position":[[143,1]]}}}],["我们",{"_index":93,"t":{"297":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"299":{"position":[[8,2],[126,2],[156,2],[174,2]]},"301":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"303":{"position":[[10,2]]}}}],["或者",{"_index":223,"t":{"301":{"position":[[414,2]]}}}],["所以",{"_index":141,"t":{"297":{"position":[[540,2]]}}}],["所有",{"_index":117,"t":{"297":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":275,"t":{"303":{"position":[[96,2],[129,2]]},"305":{"position":[[59,2]]}}}],["掌握",{"_index":146,"t":{"297":{"position":[[571,2]]},"305":{"position":[[32,2]]}}}],["探讨",{"_index":47,"t":{"295":{"position":[[89,2]]}}}],["推崇",{"_index":294,"t":{"303":{"position":[[183,2]]}}}],["提到",{"_index":122,"t":{"297":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":306,"t":{"303":{"position":[[242,2]]}}}],["操作",{"_index":162,"t":{"299":{"position":[[62,2]]}}}],["数据流",{"_index":296,"t":{"303":{"position":[[188,3]]}}}],["断言",{"_index":72,"t":{"297":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"301":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"305":{"position":[[47,2]]}}}],["方法",{"_index":67,"t":{"297":{"position":[[9,2],[535,2],[593,2]]},"305":{"position":[[50,2]]}}}],["时",{"_index":308,"t":{"303":{"position":[[248,1]]}}}],["时间",{"_index":154,"t":{"299":{"position":[[16,2]]}}}],["是不是",{"_index":96,"t":{"297":{"position":[[305,3]]}}}],["是否",{"_index":228,"t":{"301":{"position":[[444,2]]}}}],["普通",{"_index":109,"t":{"297":{"position":[[351,2],[391,2]]},"299":{"position":[[41,2],[119,2]]},"301":{"position":[[37,2],[103,2]]}}}],["更",{"_index":152,"t":{"299":{"position":[[13,1],[21,1]]},"301":{"position":[[12,1]]},"303":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":107,"t":{"297":{"position":[[344,2],[384,2]]},"303":{"position":[[65,2]]}}}],["有所",{"_index":318,"t":{"305":{"position":[[71,2]]}}}],["有时",{"_index":222,"t":{"301":{"position":[[398,2]]}}}],["本文",{"_index":31,"t":{"295":{"position":[[3,2],[72,2],[165,2]]}}}],["来源",{"_index":155,"t":{"299":{"position":[[30,2]]},"303":{"position":[[215,2]]}}}],["来自",{"_index":169,"t":{"299":{"position":[[108,2]]}}}],["构造",{"_index":173,"t":{"299":{"position":[[130,2]]}}}],["框架",{"_index":292,"t":{"303":{"position":[[178,2]]}}}],["模式",{"_index":282,"t":{"303":{"position":[[119,2]]}}}],["正确",{"_index":229,"t":{"301":{"position":[[447,2]]}}}],["步骤",{"_index":94,"t":{"297":{"position":[[251,2]]}}}],["每个",{"_index":285,"t":{"303":{"position":[[138,2]]}}}],["测试",{"_index":101,"t":{"297":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"299":{"position":[[69,2]]},"301":{"position":[[61,2],[1080,2],[1131,2]]},"303":{"position":[[140,2]]},"305":{"position":[[21,2]]}}}],["点",{"_index":227,"t":{"301":{"position":[[443,1]]}}}],["特定",{"_index":200,"t":{"299":{"position":[[515,2]]}}}],["状态",{"_index":255,"t":{"301":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":124,"t":{"297":{"position":[[437,2]]}}}],["理解",{"_index":133,"t":{"297":{"position":[[503,2]]},"299":{"position":[[105,2]]}}}],["监视",{"_index":226,"t":{"301":{"position":[[434,2]]}}}],["盛行",{"_index":297,"t":{"303":{"position":[[191,2]]}}}],["目标",{"_index":250,"t":{"301":{"position":[[1103,2]]}}}],["看作",{"_index":168,"t":{"299":{"position":[[95,2]]},"301":{"position":[[91,2]]}}}],["真实",{"_index":98,"t":{"297":{"position":[[315,2]]}}}],["着手",{"_index":46,"t":{"295":{"position":[[86,2]]}}}],["示例",{"_index":60,"t":{"295":{"position":[[145,2]]}}}],["称之为",{"_index":130,"t":{"297":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":166,"t":{"299":{"position":[[86,3]]},"301":{"position":[[82,3]]}}}],["等",{"_index":290,"t":{"303":{"position":[[175,1]]}}}],["简单",{"_index":43,"t":{"295":{"position":[[77,2]]},"297":{"position":[[14,2],[45,2],[72,2],[309,2]]},"299":{"position":[[2,2],[181,2]]},"301":{"position":[[2,2],[114,2],[165,2]]},"303":{"position":[[1,2]]}}}],["组件",{"_index":199,"t":{"299":{"position":[[512,2],[526,2]]},"301":{"position":[[630,2],[847,2]]},"303":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":118,"t":{"297":{"position":[[398,2],[421,2]]},"301":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":59,"t":{"295":{"position":[[143,2]]}}}],["给定",{"_index":69,"t":{"297":{"position":[[18,2],[257,2]]},"299":{"position":[[140,2]]}}}],["继续",{"_index":214,"t":{"301":{"position":[[160,2]]}}}],["编写",{"_index":49,"t":{"295":{"position":[[93,2]]},"297":{"position":[[0,2],[244,2],[542,2]]},"299":{"position":[[67,2]]},"303":{"position":[[18,2],[74,2],[230,2]]},"305":{"position":[[0,2]]}}}],["聚焦",{"_index":287,"t":{"303":{"position":[[156,2]]}}}],["良好",{"_index":50,"t":{"295":{"position":[[95,2]]},"297":{"position":[[544,2]]},"305":{"position":[[2,2]]}}}],["花",{"_index":151,"t":{"299":{"position":[[12,1]]}}}],["范围",{"_index":65,"t":{"295":{"position":[[169,2]]}}}],["行为",{"_index":127,"t":{"297":{"position":[[462,2]]}}}],["要",{"_index":100,"t":{"297":{"position":[[324,1],[553,1]]},"299":{"position":[[158,1]]},"301":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":75,"t":{"297":{"position":[[41,2]]}}}],["覆盖",{"_index":76,"t":{"297":{"position":[[49,2],[375,2],[573,2]]},"299":{"position":[[19,2],[71,2],[260,2],[508,2]]},"305":{"position":[[42,2]]}}}],["解决",{"_index":276,"t":{"303":{"position":[[99,2]]}}}],["触发",{"_index":180,"t":{"299":{"position":[[166,2],[522,2]]},"301":{"position":[[441,2]]}}}],["註",{"_index":30,"t":{"295":{"position":[[1,1]]}}}],["警告",{"_index":521,"t":{"350":{"position":[[174,2]]}}}],["讨论",{"_index":64,"t":{"295":{"position":[[167,2]]},"297":{"position":[[601,2]]}}}],["记得",{"_index":248,"t":{"301":{"position":[[1075,2]]}}}],["识别",{"_index":313,"t":{"305":{"position":[[19,2]]}}}],["诸如",{"_index":288,"t":{"303":{"position":[[159,2]]}}}],["调用",{"_index":210,"t":{"301":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":77,"t":{"297":{"position":[[51,2]]},"299":{"position":[[0,2]]},"301":{"position":[[0,2]]}}}],["转载自",{"_index":32,"t":{"295":{"position":[[5,3]]}}}],["输入",{"_index":70,"t":{"297":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"299":{"position":[[5,2],[27,2],[142,2]]},"303":{"position":[[4,2],[213,2]]},"305":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":268,"t":{"303":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":73,"t":{"297":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"301":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"303":{"position":[[7,2],[218,2]]},"305":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":138,"t":{"297":{"position":[[521,2]]}}}],["运行",{"_index":71,"t":{"297":{"position":[[23,2],[267,2],[419,2],[483,2]]},"301":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":187,"t":{"299":{"position":[[267,2]]},"303":{"position":[[101,2]]}}}],["这些",{"_index":174,"t":{"299":{"position":[[132,2],[168,2]]},"301":{"position":[[148,2]]}}}],["这样",{"_index":132,"t":{"297":{"position":[[501,2]]}}}],["这里",{"_index":121,"t":{"297":{"position":[[424,2]]}}}],["进行",{"_index":79,"t":{"297":{"position":[[59,2]]},"301":{"position":[[67,2]]}}}],["远",{"_index":103,"t":{"297":{"position":[[330,1]]}}}],["适时地",{"_index":273,"t":{"303":{"position":[[90,3]]},"305":{"position":[[53,3]]}}}],["造成",{"_index":131,"t":{"297":{"position":[[489,2]]}}}],["逻辑",{"_index":266,"t":{"303":{"position":[[48,2]]}}}],["那么",{"_index":225,"t":{"301":{"position":[[428,2]]}}}],["都",{"_index":129,"t":{"297":{"position":[[469,1],[494,1]]},"299":{"position":[[92,1]]},"301":{"position":[[88,1]]},"303":{"position":[[149,1]]}}}],["重构",{"_index":274,"t":{"303":{"position":[[93,2]]},"305":{"position":[[56,2]]}}}],["重要性",{"_index":63,"t":{"295":{"position":[[160,3]]}}}],["错误",{"_index":257,"t":{"301":{"position":[[1141,2]]}}}],["问题",{"_index":277,"t":{"303":{"position":[[103,2]]}}}],["降低",{"_index":304,"t":{"303":{"position":[[228,2]]}}}],["陡增",{"_index":272,"t":{"303":{"position":[[86,2]]}}}],["除了",{"_index":108,"t":{"297":{"position":[[349,2],[389,2]]},"299":{"position":[[84,2]]},"301":{"position":[[80,2]]}}}],["随之",{"_index":271,"t":{"303":{"position":[[84,2]]}}}],["难以",{"_index":116,"t":{"297":{"position":[[373,2],[415,2]]},"301":{"position":[[409,2]]}}}],["难度",{"_index":270,"t":{"303":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":307,"t":{"303":{"position":[[246,2]]}}}],["需",{"_index":172,"t":{"299":{"position":[[129,1]]},"301":{"position":[[113,1]]}}}],["需求",{"_index":263,"t":{"303":{"position":[[37,2]]}}}],["首先",{"_index":142,"t":{"297":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/zh-TW/docs/next/tags/front-matter/index.html b/zh-TW/docs/next/tags/front-matter/index.html new file mode 100644 index 00000000..7e353480 --- /dev/null +++ b/zh-TW/docs/next/tags/front-matter/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文件帶有標籤「Front matter」 | Docusaurus Search + + + + + +

1 篇文件帶有標籤「Front matter」

檢視所有標籤
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tags/index.html b/zh-TW/docs/next/tags/index.html new file mode 100644 index 00000000..ae32fa6d --- /dev/null +++ b/zh-TW/docs/next/tags/index.html @@ -0,0 +1,14 @@ + + + + + +標籤 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/docs/next/tags/keywords/index.html b/zh-TW/docs/next/tags/keywords/index.html new file mode 100644 index 00000000..1d6c7b4c --- /dev/null +++ b/zh-TW/docs/next/tags/keywords/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文件帶有標籤「Keywords」 | Docusaurus Search + + + + + +

1 篇文件帶有標籤「Keywords」

檢視所有標籤
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tags/test/index.html b/zh-TW/docs/next/tags/test/index.html new file mode 100644 index 00000000..4c921afe --- /dev/null +++ b/zh-TW/docs/next/tags/test/index.html @@ -0,0 +1,14 @@ + + + + + +1 篇文件帶有標籤「Test」 | Docusaurus Search + + + + + + + + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/congratulations/index.html b/zh-TW/docs/next/tutorial-basics/congratulations/index.html new file mode 100644 index 00000000..7ce386b2 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/congratulations/index.html @@ -0,0 +1,26 @@ + + + + + +Congratulations! | Docusaurus Search + + + + + +
版本:Next

Congratulations!

+

You have just learned the basics of Docusaurus and made some changes to the initial template.

+

Docusaurus has much more to offer!

+

Have 5 more minutes? Take a look at versioning and i18n.

+

Anything unclear or buggy in this tutorial? Please report it!

+

What's next?

+
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/create-a-blog-post/index.html b/zh-TW/docs/next/tutorial-basics/create-a-blog-post/index.html new file mode 100644 index 00000000..3d060939 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/create-a-blog-post/index.html @@ -0,0 +1,19 @@ + + + + + +Create a Blog Post | Docusaurus Search + + + + + +
版本:Next

Create a Blog Post

+

Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...

+

Create your first Post

+

Create a file at blog/2021-02-28-greetings.md:

+
blog/2021-02-28-greetings.md
---
slug: greetings
title: Greetings!
authors:
- name: Joel Marcey
title: Co-creator of Docusaurus 1
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
- name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
tags: [greetings]
---

Congratulations, you have made your first post!

Feel free to play around and edit this post as much you like.
+

A new blog post is now available at http://localhost:3000/blog/greetings.

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/create-a-document/index.html b/zh-TW/docs/next/tutorial-basics/create-a-document/index.html new file mode 100644 index 00000000..9d0058e1 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/create-a-document/index.html @@ -0,0 +1,30 @@ + + + + + +Create a Document | Docusaurus Search + + + + + +
版本:Next

Create a Document

+

Documents are groups of pages connected through:

+
    +
  • a sidebar
  • +
  • previous/next navigation
  • +
  • versioning
  • +
+

Create your first Doc

+

Create a markdown file at docs/hello.md:

+
docs/hello.md
# Hello

This is my **first Docusaurus document**!
+

A new document is now available at http://localhost:3000/docs/hello.

+

Configure the Sidebar

+

Docusaurus automatically creates a sidebar from the docs folder.

+

Add metadata to customize the sidebar label and position:

+
docs/hello.md
---
sidebar_label: 'Hi!'
sidebar_position: 3
---

# Hello

This is my **first Docusaurus document**!
+

It is also possible to create your sidebar explicitly in sidebars.js:

+
sidebars.js
module.exports = {
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
};
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/create-a-page/index.html b/zh-TW/docs/next/tutorial-basics/create-a-page/index.html new file mode 100644 index 00000000..d32f8c90 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/create-a-page/index.html @@ -0,0 +1,28 @@ + + + + + +Create a Page | Docusaurus Search + + + + + +
版本:Next

Create a Page

+

Add Markdown or React files to src/pages to create a standalone page:

+
    +
  • src/pages/index.js -> localhost:3000/
  • +
  • src/pages/foo.md -> localhost:3000/foo
  • +
  • src/pages/foo/bar.js -> localhost:3000/foo/bar
  • +
+

Create your first React Page

+

Create a file at src/pages/my-react-page.js:

+
src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';

export default function MyReactPage() {
return (
<Layout>
<h1>My React page</h1>
<p>This is a React page</p>
</Layout>
);
}
+

A new page is now available at http://localhost:3000/my-react-page.

+

Create your first Markdown Page

+

Create a file at src/pages/my-markdown-page.md:

+
src/pages/my-markdown-page.md
# My Markdown page

This is a Markdown page
+

A new page is now available at http://localhost:3000/my-markdown-page.

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/deploy-your-site/index.html b/zh-TW/docs/next/tutorial-basics/deploy-your-site/index.html new file mode 100644 index 00000000..71ea6ee8 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/deploy-your-site/index.html @@ -0,0 +1,25 @@ + + + + + +Deploy your site | Docusaurus Search + + + + + +
版本:Next

Deploy your site

+

Docusaurus is a static-site-generator (also called Jamstack).

+

It builds your site as simple static HTML, JavaScript and CSS files.

+

Build your site

+

Build your site for production:

+
npm run build
+

The static files are generated in the build folder.

+

Deploy your site

+

Test your production build locally:

+
npm run serve
+

The build folder is now served at http://localhost:3000/.

+

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-basics/markdown-features/index.html b/zh-TW/docs/next/tutorial-basics/markdown-features/index.html new file mode 100644 index 00000000..ffb4e9c2 --- /dev/null +++ b/zh-TW/docs/next/tutorial-basics/markdown-features/index.html @@ -0,0 +1,49 @@ + + + + + +Markdown Features | Docusaurus Search + + + + + +
版本:Next

Markdown Features

+

Docusaurus supports Markdown and a few additional features.

+

Front Matter

+

Markdown documents have metadata at the top called Front Matter:

+
my-doc.md
---
id: my-doc-id
title: My document title
description: My document description
slug: /my-custom-url
---

## Markdown heading

Markdown text with [links](./hello.md)
+ +

Regular Markdown links are supported, using url paths or relative file paths.

+
Let's see how to [Create a page](/create-a-page).
+
Let's see how to [Create a page](./create-a-page.md).
+

Result: Let's see how to Create a page.

+

Images

+

Regular Markdown images are supported.

+

You can use absolute paths to reference images in the static directory (static/img/docusaurus.png):

+
![Docusaurus logo](/img/docusaurus.png)
+

Docusaurus logo

+

You can reference images relative to the current file as well, as shown in the extra guides.

+

Code Blocks

+

Markdown code blocks are supported with Syntax highlighting.

+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return (
<h1>Hello, Docusaurus!</h1>
)
}
+
src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return <h1>Hello, Docusaurus!</h1>;
}
+

Admonitions

+

Docusaurus has a special syntax to create admonitions and callouts:

+

:::tip My tip

+

Use this awesome feature option

+

:::

+

:::danger Take care

+

This action is dangerous

+

:::

+
My tip

Use this awesome feature option

+
Take care

This action is dangerous

+

MDX and React Components

+

MDX can make your documentation more interactive and allows using any React components inside Markdown:

+
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '20px',
color: '#fff',
padding: '10px',
cursor: 'pointer',
}}
onClick={() => {
alert(`You clicked the color ${color} with label ${children}`)
}}>
{children}
</span>
);

This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !
+ +

This is Docusaurus green !

+

This is Facebook blue !

+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-extras/manage-docs-versions/index.html b/zh-TW/docs/next/tutorial-extras/manage-docs-versions/index.html new file mode 100644 index 00000000..3c2fc89b --- /dev/null +++ b/zh-TW/docs/next/tutorial-extras/manage-docs-versions/index.html @@ -0,0 +1,36 @@ + + + + + +Manage Docs Versions | Docusaurus Search + + + + + +
版本:Next

Manage Docs Versions

+

Docusaurus can manage multiple versions of your docs.

+

Create a docs version

+

Release a version 1.0 of your project:

+
npm run docusaurus docs:version 1.0
+

The docs folder is copied into versioned_docs/version-1.0 and versions.json is created.

+

Your docs now have 2 versions:

+
    +
  • 1.0 at http://localhost:3000/docs/ for the version 1.0 docs
  • +
  • current at http://localhost:3000/docs/next/ for the upcoming, unreleased docs
  • +
+

Add a Version Dropdown

+

To navigate seamlessly across versions, add a version dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'docsVersionDropdown',
},
],
},
},
};
+

The docs version dropdown appears in your navbar:

+

Docs Version Dropdown

+

Update an existing version

+

It is possible to edit versioned docs in their respective folder:

+
    +
  • versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello
  • +
  • docs/hello.md updates http://localhost:3000/docs/next/hello
  • +
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/tutorial-extras/translate-your-site/index.html b/zh-TW/docs/next/tutorial-extras/translate-your-site/index.html new file mode 100644 index 00000000..7c44f1fe --- /dev/null +++ b/zh-TW/docs/next/tutorial-extras/translate-your-site/index.html @@ -0,0 +1,38 @@ + + + + + +Translate your site | Docusaurus Search + + + + + +
版本:Next

Translate your site

+

Let's translate docs/intro.md to French.

+

Configure i18n

+

Modify docusaurus.config.js to add support for the fr locale:

+
docusaurus.config.js
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
},
};
+

Translate a doc

+

Copy the docs/intro.md file to the i18n/fr folder:

+
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/

cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
+

Translate i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.

+

Start your localized site

+

Start your site on the French locale:

+
npm run start -- --locale fr
+

Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.

+
警告

In development, you can only use one locale at a same time.

+

Add a Locale Dropdown

+

To navigate seamlessly across languages, add a locale dropdown.

+

Modify the docusaurus.config.js file:

+
docusaurus.config.js
module.exports = {
themeConfig: {
navbar: {
items: [
{
type: 'localeDropdown',
},
],
},
},
};
+

The locale dropdown now appears in your navbar:

+

Locale Dropdown

+

Build your localized site

+

Build your site for a specific locale:

+
npm run build -- --locale fr
+

Or build your site to include all the locales at once:

+
npm run build
+ + \ No newline at end of file diff --git a/zh-TW/docs/next/unlisted-post/index.html b/zh-TW/docs/next/unlisted-post/index.html new file mode 100644 index 00000000..45f51005 --- /dev/null +++ b/zh-TW/docs/next/unlisted-post/index.html @@ -0,0 +1,16 @@ + + + + + +Unlisted Post | Docusaurus Search + + + + + +
未列出頁
此頁面未列出。搜索引擎不會對其索引,只有擁有直接連結的用戶才能訪問。
版本:Next

Unlisted Post

+

This unlisted blog post should be "hidden" in production, but remain accessible.

+

It is filtered from the sidebar, sitemap, SEO indexation...

+ + \ No newline at end of file diff --git a/zh-TW/img/docusaurus.png b/zh-TW/img/docusaurus.png new file mode 100644 index 00000000..f458149e Binary files /dev/null and b/zh-TW/img/docusaurus.png differ diff --git a/zh-TW/img/favicon.ico b/zh-TW/img/favicon.ico new file mode 100644 index 00000000..c01d54bc Binary files /dev/null and b/zh-TW/img/favicon.ico differ diff --git a/zh-TW/img/logo.svg b/zh-TW/img/logo.svg new file mode 100644 index 00000000..9db6d0d0 --- /dev/null +++ b/zh-TW/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/zh-TW/img/undraw_docusaurus_mountain.svg b/zh-TW/img/undraw_docusaurus_mountain.svg new file mode 100644 index 00000000..431cef2f --- /dev/null +++ b/zh-TW/img/undraw_docusaurus_mountain.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zh-TW/img/undraw_docusaurus_react.svg b/zh-TW/img/undraw_docusaurus_react.svg new file mode 100644 index 00000000..e4170504 --- /dev/null +++ b/zh-TW/img/undraw_docusaurus_react.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zh-TW/img/undraw_docusaurus_tree.svg b/zh-TW/img/undraw_docusaurus_tree.svg new file mode 100644 index 00000000..a05cc03d --- /dev/null +++ b/zh-TW/img/undraw_docusaurus_tree.svg @@ -0,0 +1 @@ +docu_tree \ No newline at end of file diff --git a/zh-TW/index.html b/zh-TW/index.html new file mode 100644 index 00000000..30859303 --- /dev/null +++ b/zh-TW/index.html @@ -0,0 +1,14 @@ + + + + + +Hello from Docusaurus Search | Docusaurus Search + + + + + +

Docusaurus Search

An offline/local search example using @easyops-cn/docusaurus-search-local.

💪 Written in TypeScript

💪 Written in TypeScript

A Result You Can Trust.

🌎 Multi Languages Supported

🌎 Multi Languages Supported

Dozens of languages supported, including 中文分词 🇨🇳.

💅 Styles polished

💅 Styles polished

Looks pretty good, actually just like the Algolia Search on Docusaurus v2 website.

+ + \ No newline at end of file diff --git a/zh-TW/search-index.json b/zh-TW/search-index.json new file mode 100644 index 00000000..7eb69350 --- /dev/null +++ b/zh-TW/search-index.json @@ -0,0 +1 @@ +[{"documents":[{"i":377,"t":"","u":"/docusaurus-search-local/zh-TW/blog/archive","b":["Blog"]},{"i":378,"t":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","b":["Blog"]},{"i":380,"t":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","b":["Blog"]},{"i":382,"t":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","b":["Blog"]},{"i":394,"t":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","b":["Blog"]},{"i":396,"t":"Style Guide","u":"/docusaurus-search-local/zh-TW/docs/","b":["Docs","Docusaurus"]},{"i":425,"t":"A Document in Portuguese","u":"/docusaurus-search-local/zh-TW/docs/doc-in-pt","b":["Docs"]},{"i":427,"t":"Document Number 2","u":"/docusaurus-search-local/zh-TW/docs/doc2","b":["Docs","Docusaurus"]},{"i":429,"t":"Powered by MDX","u":"/docusaurus-search-local/zh-TW/docs/mdx","b":["Docs","Features"]},{"i":431,"t":"This is Document Number 3","u":"/docusaurus-search-local/zh-TW/docs/doc3","b":["Docs","Docusaurus"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/377",[]],["t/378",[0,2.435]],["t/380",[1,2.435]],["t/382",[2,1.565,3,1.565,4,1.565]],["t/394",[5,2.435]],["t/396",[6,1.906,7,1.906]],["t/425",[8,1.095,9,1.906]],["t/427",[8,0.9,10,1.164,11,1.565]],["t/429",[12,1.906,13,1.906]],["t/431",[8,0.9,10,1.164,14,1.565]]],"invertedIndex":[["2",{"_index":11,"t":{"427":{"position":[[16,1]]}}}],["3",{"_index":14,"t":{"431":{"position":[[24,1]]}}}],["document",{"_index":8,"t":{"425":{"position":[[2,8]]},"427":{"position":[[0,8]]},"431":{"position":[[8,8]]}}}],["guid",{"_index":7,"t":{"396":{"position":[[6,5]]}}}],["hello",{"_index":0,"t":{"378":{"position":[[0,5]]}}}],["hola",{"_index":1,"t":{"380":{"position":[[0,4]]}}}],["mdx",{"_index":13,"t":{"429":{"position":[[11,3]]}}}],["number",{"_index":10,"t":{"427":{"position":[[9,6]]},"431":{"position":[[17,6]]}}}],["portugues",{"_index":9,"t":{"425":{"position":[[14,10]]}}}],["power",{"_index":12,"t":{"429":{"position":[[0,7]]}}}],["style",{"_index":6,"t":{"396":{"position":[[0,5]]}}}],["welcom",{"_index":5,"t":{"394":{"position":[[0,7]]}}}],["单元测试",{"_index":4,"t":{"382":{"position":[[5,4]]}}}],["编写",{"_index":2,"t":{"382":{"position":[[0,2]]}}}],["良好",{"_index":3,"t":{"382":{"position":[[2,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":384,"t":"基本方法","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#基本方法","p":382},{"i":386,"t":"输入","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输入","p":382},{"i":388,"t":"输出","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输出","p":382},{"i":390,"t":"重构与拆分","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#重构与拆分","p":382},{"i":392,"t":"总结","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#总结","p":382},{"i":398,"t":"Markdown Syntax","u":"/docusaurus-search-local/zh-TW/docs/","h":"#markdown-syntax","p":396},{"i":400,"t":"Headers","u":"/docusaurus-search-local/zh-TW/docs/","h":"#headers","p":396},{"i":401,"t":"H1 - Create the best documentation","u":"/docusaurus-search-local/zh-TW/docs/","h":"","p":396},{"i":402,"t":"H2 - Create the best documentation","u":"/docusaurus-search-local/zh-TW/docs/","h":"#h2---create-the-best-documentation","p":396},{"i":403,"t":"H3 - Create the best documentation","u":"/docusaurus-search-local/zh-TW/docs/","h":"#h3---create-the-best-documentation","p":396},{"i":405,"t":"Emphasis","u":"/docusaurus-search-local/zh-TW/docs/","h":"#emphasis","p":396},{"i":407,"t":"Lists","u":"/docusaurus-search-local/zh-TW/docs/","h":"#lists","p":396},{"i":409,"t":"Links","u":"/docusaurus-search-local/zh-TW/docs/","h":"#links","p":396},{"i":411,"t":"Images","u":"/docusaurus-search-local/zh-TW/docs/","h":"#images","p":396},{"i":413,"t":"Code","u":"/docusaurus-search-local/zh-TW/docs/","h":"#code","p":396},{"i":415,"t":"Tables","u":"/docusaurus-search-local/zh-TW/docs/","h":"#tables","p":396},{"i":417,"t":"Blockquotes","u":"/docusaurus-search-local/zh-TW/docs/","h":"#blockquotes","p":396},{"i":419,"t":"Inline HTML","u":"/docusaurus-search-local/zh-TW/docs/","h":"#inline-html","p":396},{"i":421,"t":"Line Breaks","u":"/docusaurus-search-local/zh-TW/docs/","h":"#line-breaks","p":396},{"i":423,"t":"Admonitions","u":"/docusaurus-search-local/zh-TW/docs/","h":"#admonitions","p":396}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/384",[0,2.461,1,2.461]],["t/386",[2,3.174]],["t/388",[3,3.174]],["t/390",[4,2.461,5,2.461]],["t/392",[6,3.174]],["t/398",[7,2.461,8,2.461]],["t/400",[9,3.174]],["t/401",[10,1.699,11,1.153,12,1.153,13,1.153]],["t/402",[11,1.153,12,1.153,13,1.153,14,1.699]],["t/403",[11,1.153,12,1.153,13,1.153,15,1.699]],["t/405",[16,3.174]],["t/407",[17,3.174]],["t/409",[18,3.174]],["t/411",[19,3.174]],["t/413",[20,3.174]],["t/415",[21,3.174]],["t/417",[22,3.174]],["t/419",[23,2.461,24,2.461]],["t/421",[25,2.461,26,2.461]],["t/423",[27,3.174]]],"invertedIndex":[["admonit",{"_index":27,"t":{"423":{"position":[[0,11]]}}}],["best",{"_index":12,"t":{"401":{"position":[[16,4]]},"402":{"position":[[16,4]]},"403":{"position":[[16,4]]}}}],["blockquot",{"_index":22,"t":{"417":{"position":[[0,11]]}}}],["break",{"_index":26,"t":{"421":{"position":[[5,6]]}}}],["code",{"_index":20,"t":{"413":{"position":[[0,4]]}}}],["creat",{"_index":11,"t":{"401":{"position":[[5,6]]},"402":{"position":[[5,6]]},"403":{"position":[[5,6]]}}}],["document",{"_index":13,"t":{"401":{"position":[[21,13]]},"402":{"position":[[21,13]]},"403":{"position":[[21,13]]}}}],["emphasi",{"_index":16,"t":{"405":{"position":[[0,8]]}}}],["h1",{"_index":10,"t":{"401":{"position":[[0,2]]}}}],["h2",{"_index":14,"t":{"402":{"position":[[0,2]]}}}],["h3",{"_index":15,"t":{"403":{"position":[[0,2]]}}}],["header",{"_index":9,"t":{"400":{"position":[[0,7]]}}}],["html",{"_index":24,"t":{"419":{"position":[[7,4]]}}}],["imag",{"_index":19,"t":{"411":{"position":[[0,6]]}}}],["inlin",{"_index":23,"t":{"419":{"position":[[0,6]]}}}],["line",{"_index":25,"t":{"421":{"position":[[0,4]]}}}],["link",{"_index":18,"t":{"409":{"position":[[0,5]]}}}],["list",{"_index":17,"t":{"407":{"position":[[0,5]]}}}],["markdown",{"_index":7,"t":{"398":{"position":[[0,8]]}}}],["syntax",{"_index":8,"t":{"398":{"position":[[9,6]]}}}],["tabl",{"_index":21,"t":{"415":{"position":[[0,6]]}}}],["基本",{"_index":0,"t":{"384":{"position":[[0,2]]}}}],["总结",{"_index":6,"t":{"392":{"position":[[0,2]]}}}],["拆分",{"_index":5,"t":{"390":{"position":[[3,2]]}}}],["方法",{"_index":1,"t":{"384":{"position":[[2,2]]}}}],["输入",{"_index":2,"t":{"386":{"position":[[0,2]]}}}],["输出",{"_index":3,"t":{"388":{"position":[[0,2]]}}}],["重构",{"_index":4,"t":{"390":{"position":[[0,2]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":377,"t":"歷史文章","s":"","u":"/docusaurus-search-local/zh-TW/blog/archive","p":377},{"i":378,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha.","s":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","p":378},{"i":380,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","p":380},{"i":382,"t":"本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","p":382},{"i":394,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!","s":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","p":394},{"i":396,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/zh-TW/docs/","p":396},{"i":425,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/zh-TW/docs/doc-in-pt","p":425},{"i":427,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/zh-TW/docs/doc2","p":427},{"i":429,"t":"You can write JSX and use React components within your Markdown thanks to MDX.","s":"Powered by MDX","u":"/docusaurus-search-local/zh-TW/docs/mdx","p":429},{"i":431,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.","s":"This is Document Number 3","u":"/docusaurus-search-local/zh-TW/docs/doc3","p":431}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/377",[0,3.165,1,3.165,2,3.165]],["t/378",[3,2.926,4,2.61,5,2.926,6,2.926,7,2.176,8,2.926]],["t/380",[9,2.188,10,2.457,11,2.188,12,2.188,13,2.188,14,1.647,15,1.647,16,1.647,17,2.215,18,1.647,19,2.215,20,1.647,21,2.215,22,2.215,23,2.215,24,1.647,25,1.647,26,1.647]],["t/382",[27,2.819,28,2.819,29,2.819,30,2.819,31,2.097,32,1.62,33,2.819,34,2.819,35,2.819]],["t/394",[4,2.666,36,2.628,37,2.628,38,2.628,39,2.628,40,2.628,41,2.628,42,2.628,43,2.628,44,2.628,45,2.628]],["t/396",[32,1.682,46,2.926,47,2.176,48,2.926,49,2.926,50,2.176,51,2.926]],["t/425",[7,0.597,31,1.541,52,1.763,53,2.514,54,0.803,55,0.803,56,2.072,57,0.803,58,1.357,59,0.803,60,0.803,61,1.357,62,2.072,63,1.357,64,2.317,65,0.803,66,2.514,67,0.803,68,0.803,69,0.803,70,0.803,71,1.357,72,2.677,73,0.803,74,0.803,75,0.803,76,0.803,77,1.357,78,0.803,79,0.803,80,0.803,81,0.803,82,0.803,83,0.803,84,0.803,85,1.763,86,0.803,87,0.803,88,0.803,89,1.357,90,0.803,91,0.803,92,0.803,93,0.803,94,1.763,95,0.803,96,0.803,97,0.803,98,0.803,99,1.763,100,0.803,101,0.803,102,0.803,103,1.357,104,1.763,105,1.357,106,0.803,107,0.803,108,1.357,109,0.803,110,1.357,111,1.763,112,1.357,113,0.803,114,0.803,115,1.763,116,0.803,117,0.803,118,0.803,119,0.803,120,0.803,121,0.803,122,0.597,123,0.803,124,0.803,125,0.803,126,0.803,127,1.357,128,0.803,129,0.803,130,0.803,131,0.803,132,0.803,133,0.803,134,0.803,135,0.803,136,0.803,137,0.803,138,0.803,139,0.803,140,0.803,141,0.803]],["t/427",[142,3.55,143,2.982,144,2.982,145,2.982,146,2.982]],["t/429",[32,1.62,47,2.097,50,2.097,147,2.819,148,2.819,149,2.819,150,2.819,151,2.819,152,2.819]],["t/431",[9,1.322,10,1.322,11,1.322,12,1.322,13,1.322,14,1.881,15,1.322,16,1.322,18,0.829,20,0.829,24,0.829,25,1.322,26,0.829,122,0.829,153,1.115,154,1.115,155,1.777,156,1.115,157,1.115,158,1.115,159,1.115,160,1.115,161,1.777,162,1.115,163,1.115,164,1.115,165,1.115,166,1.115,167,1.777,168,1.115,169,1.115,170,1.777,171,1.115,172,1.115,173,1.115,174,1.115,175,1.115,176,1.115,177,1.115,178,1.115,179,1.115,180,1.777,181,1.115,182,1.777,183,1.115,184,1.115,185,1.115,186,1.115,187,1.115,188,1.115,189,1.115,190,1.777,191,1.115,192,1.115,193,1.115,194,2.217,195,1.115,196,1.115,197,1.777,198,1.115,199,1.777,200,1.115,201,1.115,202,1.115,203,1.115,204,1.115,205,1.115,206,1.115,207,1.115,208,1.115,209,1.115]]],"invertedIndex":[["0",{"_index":63,"t":{"425":{"position":[[77,1],[409,1]]}}}],["04",{"_index":84,"t":{"425":{"position":[[235,2]]}}}],["1",{"_index":125,"t":{"425":{"position":[[621,1]]}}}],["10",{"_index":108,"t":{"425":{"position":[[427,2],[469,2]]}}}],["14",{"_index":65,"t":{"425":{"position":[[84,2]]}}}],["15",{"_index":68,"t":{"425":{"position":[[109,2]]}}}],["16",{"_index":57,"t":{"425":{"position":[[38,2]]}}}],["17",{"_index":70,"t":{"425":{"position":[[127,2]]}}}],["2",{"_index":7,"t":{"378":{"position":[[59,1]]},"425":{"position":[[96,1]]}}}],["2010",{"_index":127,"t":{"425":{"position":[[629,4],[742,4]]}}}],["3",{"_index":89,"t":{"425":{"position":[[275,1],[727,1]]}}}],["305",{"_index":106,"t":{"425":{"position":[[411,3]]}}}],["32",{"_index":126,"t":{"425":{"position":[[623,2]]}}}],["4",{"_index":58,"t":{"425":{"position":[[41,1],[130,1]]}}}],["45",{"_index":109,"t":{"425":{"position":[[430,2]]}}}],["5",{"_index":136,"t":{"425":{"position":[[719,1]]}}}],["62",{"_index":114,"t":{"425":{"position":[[472,2]]}}}],["64",{"_index":69,"t":{"425":{"position":[[117,2]]}}}],["65",{"_index":73,"t":{"425":{"position":[[146,2]]}}}],["66",{"_index":67,"t":{"425":{"position":[[93,2]]}}}],["7",{"_index":137,"t":{"425":{"position":[[729,1]]}}}],["78",{"_index":83,"t":{"425":{"position":[[232,2]]}}}],["82",{"_index":100,"t":{"425":{"position":[[365,2]]}}}],["83",{"_index":128,"t":{"425":{"position":[[635,2]]}}}],["84",{"_index":139,"t":{"425":{"position":[[758,2]]}}}],["93",{"_index":88,"t":{"425":{"position":[[272,2]]}}}],["abaixo",{"_index":135,"t":{"425":{"position":[[708,6]]}}}],["ac",{"_index":153,"t":{"431":{"position":[[60,2]]}}}],["add",{"_index":40,"t":{"394":{"position":[[53,3]]}}}],["adipisc",{"_index":15,"t":{"380":{"position":[[40,10]]},"431":{"position":[[40,10],[671,10]]}}}],["alfabetiza",{"_index":87,"t":{"425":{"position":[[257,10]]}}}],["aliquam",{"_index":25,"t":{"380":{"position":[[133,7]]},"431":{"position":[[351,7],[543,7]]}}}],["alpha",{"_index":8,"t":{"378":{"position":[[61,5]]}}}],["amet",{"_index":13,"t":{"380":{"position":[[22,4],[174,4]]},"431":{"position":[[22,4],[653,4]]}}}],["analfabetismo",{"_index":95,"t":{"425":{"position":[[317,13]]}}}],["ano",{"_index":66,"t":{"425":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":143,"t":{"427":{"position":[[18,7]]}}}],["ant",{"_index":174,"t":{"431":{"position":[[236,4]]}}}],["ao",{"_index":97,"t":{"425":{"position":[[346,2]]}}}],["baixa",{"_index":132,"t":{"425":{"position":[[673,5]]}}}],["bibendum",{"_index":182,"t":{"431":{"position":[[306,8],[425,8]]}}}],["blog",{"_index":4,"t":{"378":{"position":[[16,4],[27,4]]},"394":{"position":[[0,4],[33,4],[70,4]]}}}],["cada",{"_index":110,"t":{"425":{"position":[[437,4],[479,4]]}}}],["com",{"_index":31,"t":{"382":{"position":[[26,3]]},"425":{"position":[[45,3],[134,3],[510,3],[664,3]]}}}],["como",{"_index":74,"t":{"425":{"position":[[155,4]]}}}],["compon",{"_index":149,"t":{"429":{"position":[[32,10]]}}}],["composta",{"_index":55,"t":{"425":{"position":[[25,8]]}}}],["compreendida",{"_index":60,"t":{"425":{"position":[[55,12]]}}}],["consectetur",{"_index":14,"t":{"380":{"position":[[28,11]]},"431":{"position":[[28,11],[111,11],[581,11],[659,11]]}}}],["consequat",{"_index":26,"t":{"380":{"position":[[141,9]]},"431":{"position":[[80,9]]}}}],["content",{"_index":46,"t":{"396":{"position":[[14,7]]}}}],["contribuindo",{"_index":120,"t":{"425":{"position":[[553,12]]}}}],["creat",{"_index":5,"t":{"378":{"position":[[35,7]]}}}],["crescimento",{"_index":101,"t":{"425":{"position":[[371,11]]}}}],["cursu",{"_index":188,"t":{"431":{"position":[[369,6]]}}}],["dapibu",{"_index":175,"t":{"431":{"position":[[246,7]]}}}],["de",{"_index":72,"t":{"425":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["descer",{"_index":96,"t":{"425":{"position":[[339,6]]}}}],["dia",{"_index":81,"t":{"425":{"position":[[215,3]]}}}],["diam",{"_index":179,"t":{"431":{"position":[[279,4]]}}}],["dignissim",{"_index":19,"t":{"380":{"position":[[80,9]]}}}],["directori",{"_index":42,"t":{"394":{"position":[[75,9]]}}}],["do",{"_index":99,"t":{"425":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":144,"t":{"427":{"position":[[26,8]]}}}],["docusauru",{"_index":6,"t":{"378":{"position":[[48,10]]}}}],["dolor",{"_index":11,"t":{"380":{"position":[[12,5],[164,5]]},"431":{"position":[[12,5],[643,5]]}}}],["dui",{"_index":157,"t":{"431":{"position":[[90,3]]}}}],["e",{"_index":64,"t":{"425":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["eget",{"_index":204,"t":{"431":{"position":[[519,4]]}}}],["elementum",{"_index":18,"t":{"380":{"position":[[70,9]]},"431":{"position":[[296,9]]}}}],["elit",{"_index":16,"t":{"380":{"position":[[51,4]]},"431":{"position":[[51,4],[682,4]]}}}],["em",{"_index":85,"t":{"425":{"position":[[244,2],[626,2],[739,2]]}}}],["entr",{"_index":61,"t":{"425":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":78,"t":{"425":{"position":[[189,10]]}}}],["ero",{"_index":24,"t":{"380":{"position":[[128,4]]},"431":{"position":[[568,4]]}}}],["escrev",{"_index":92,"t":{"425":{"position":[[291,8]]}}}],["esperan",{"_index":79,"t":{"425":{"position":[[203,7]]}}}],["est",{"_index":122,"t":{"425":{"position":[[571,4]]},"431":{"position":[[564,3]]}}}],["esteja",{"_index":117,"t":{"425":{"position":[[530,6]]}}}],["et",{"_index":193,"t":{"431":{"position":[[412,2]]}}}],["etiam",{"_index":187,"t":{"431":{"position":[[360,5]]}}}],["eu",{"_index":156,"t":{"431":{"position":[[77,2]]}}}],["euismod",{"_index":154,"t":{"431":{"position":[[63,7]]}}}],["extern",{"_index":145,"t":{"427":{"position":[[57,8]]}}}],["facto",{"_index":123,"t":{"425":{"position":[[576,5]]}}}],["falecendo",{"_index":113,"t":{"425":{"position":[[459,9]]}}}],["faucibu",{"_index":195,"t":{"431":{"position":[[434,8]]}}}],["faz",{"_index":116,"t":{"425":{"position":[[506,3]]}}}],["featur",{"_index":36,"t":{"394":{"position":[[5,8]]}}}],["feli",{"_index":200,"t":{"431":{"position":[[469,5]]}}}],["fertilidad",{"_index":124,"t":{"425":{"position":[[592,11]]}}}],["feugiat",{"_index":173,"t":{"431":{"position":[[228,7]]}}}],["file",{"_index":41,"t":{"394":{"position":[[57,5]]}}}],["flavor",{"_index":49,"t":{"396":{"position":[[35,8]]}}}],["fringilla",{"_index":205,"t":{"431":{"position":[[525,9]]}}}],["fusc",{"_index":21,"t":{"380":{"position":[[101,5]]}}}],["github",{"_index":48,"t":{"396":{"position":[[28,6]]}}}],["good",{"_index":33,"t":{"382":{"position":[[38,4]]}}}],["gravida",{"_index":185,"t":{"431":{"position":[[332,7]]}}}],["habitant",{"_index":112,"t":{"425":{"position":[[446,10],[488,10]]}}}],["hendrerit",{"_index":209,"t":{"431":{"position":[[620,9]]}}}],["http",{"_index":29,"t":{"382":{"position":[[6,5]]}}}],["id",{"_index":161,"t":{"431":{"position":[[129,2],[199,2]]}}}],["idad",{"_index":59,"t":{"425":{"position":[[49,5]]}}}],["imperdiet",{"_index":162,"t":{"431":{"position":[[132,9]]}}}],["infantil",{"_index":134,"t":{"425":{"position":[[699,8]]}}}],["interdum",{"_index":199,"t":{"431":{"position":[[460,8],[611,8]]}}}],["ipsum",{"_index":10,"t":{"380":{"position":[[6,5],[115,5],[158,5]]},"431":{"position":[[6,5],[637,5]]}}}],["jsx",{"_index":147,"t":{"429":{"position":[[14,3]]}}}],["lectu",{"_index":190,"t":{"431":{"position":[[387,6],[535,6]]}}}],["ler",{"_index":91,"t":{"425":{"position":[[285,3]]}}}],["ligula",{"_index":191,"t":{"431":{"position":[[394,6]]}}}],["link",{"_index":142,"t":{"427":{"position":[[10,4],[46,4]]}}}],["longo",{"_index":98,"t":{"425":{"position":[[349,5]]}}}],["lorem",{"_index":9,"t":{"380":{"position":[[0,5],[152,5]]},"431":{"position":[[0,5],[631,5]]}}}],["m",{"_index":80,"t":{"425":{"position":[[213,1]]}}}],["mai",{"_index":71,"t":{"425":{"position":[[138,4],[668,4]]}}}],["malesuada",{"_index":192,"t":{"431":{"position":[[402,9]]}}}],["markdown",{"_index":50,"t":{"396":{"position":[[44,8]]},"429":{"position":[[55,8]]}}}],["massa",{"_index":169,"t":{"431":{"position":[[183,5]]}}}],["mauri",{"_index":194,"t":{"431":{"position":[[415,6],[574,6],[604,6]]}}}],["mdx",{"_index":152,"t":{"429":{"position":[[74,3]]}}}],["mi",{"_index":196,"t":{"431":{"position":[[443,2]]}}}],["mil",{"_index":111,"t":{"425":{"position":[[442,3],[484,3],[735,3]]}}}],["molesti",{"_index":159,"t":{"431":{"position":[[102,8]]}}}],["molli",{"_index":168,"t":{"431":{"position":[[176,6]]}}}],["mortalidad",{"_index":133,"t":{"425":{"position":[[687,11]]}}}],["mundo",{"_index":138,"t":{"425":{"position":[[751,5]]}}}],["nam",{"_index":170,"t":{"431":{"position":[[203,3],[383,3]]}}}],["nascendo",{"_index":107,"t":{"425":{"position":[[418,8]]}}}],["nequ",{"_index":189,"t":{"431":{"position":[[376,5]]}}}],["nibh",{"_index":171,"t":{"431":{"position":[[210,4]]}}}],["no",{"_index":105,"t":{"425":{"position":[[405,3],[617,3]]}}}],["non",{"_index":167,"t":{"431":{"position":[[172,3],[241,3]]}}}],["nullam",{"_index":158,"t":{"431":{"position":[[95,6]]}}}],["o",{"_index":53,"t":{"425":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":155,"t":{"431":{"position":[[71,4],[489,4]]}}}],["ornar",{"_index":165,"t":{"431":{"position":[[157,6]]}}}],["os",{"_index":62,"t":{"425":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["pa",{"_index":131,"t":{"425":{"position":[[657,2]]}}}],["page",{"_index":146,"t":{"427":{"position":[[66,4]]}}}],["para",{"_index":121,"t":{"425":{"position":[[566,4]]}}}],["pellentesqu",{"_index":17,"t":{"380":{"position":[[57,12]]}}}],["phasellu",{"_index":197,"t":{"431":{"position":[[447,9],[476,9]]}}}],["plugin",{"_index":38,"t":{"394":{"position":[[38,6]]}}}],["popula",{"_index":52,"t":{"425":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":102,"t":{"425":{"position":[[383,12]]}}}],["por",{"_index":56,"t":{"425":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porttitor",{"_index":202,"t":{"431":{"position":[[504,9]]}}}],["portug",{"_index":129,"t":{"425":{"position":[[639,8]]}}}],["portuguesa",{"_index":54,"t":{"425":{"position":[[12,10]]}}}],["power",{"_index":37,"t":{"394":{"position":[[18,7]]}}}],["praesent",{"_index":183,"t":{"431":{"position":[[316,8]]}}}],["proin",{"_index":163,"t":{"431":{"position":[[143,5]]}}}],["pulvinar",{"_index":201,"t":{"431":{"position":[[494,8]]}}}],["quam",{"_index":207,"t":{"431":{"position":[[593,4]]}}}],["que",{"_index":115,"t":{"425":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":180,"t":{"431":{"position":[[284,4],[346,4]]}}}],["quilom",{"_index":140,"t":{"425":{"position":[[762,6]]}}}],["react",{"_index":148,"t":{"429":{"position":[[26,5]]}}}],["renovada",{"_index":119,"t":{"425":{"position":[[543,8]]}}}],["rhoncu",{"_index":22,"t":{"380":{"position":[[107,7]]}}}],["risu",{"_index":160,"t":{"431":{"position":[[123,5]]}}}],["sabem",{"_index":90,"t":{"425":{"position":[[279,5]]}}}],["scelerisqu",{"_index":172,"t":{"431":{"position":[[215,11]]}}}],["se",{"_index":104,"t":{"425":{"position":[[402,2],[608,2],[660,3]]}}}],["semper",{"_index":184,"t":{"431":{"position":[[325,6]]}}}],["ser",{"_index":118,"t":{"425":{"position":[[539,3]]}}}],["simpli",{"_index":39,"t":{"394":{"position":[[46,6]]}}}],["sit",{"_index":12,"t":{"380":{"position":[[18,3],[170,3]]},"431":{"position":[[18,3],[649,3]]}}}],["situa",{"_index":103,"t":{"425":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":164,"t":{"431":{"position":[[149,7]]}}}],["sollicitudin",{"_index":206,"t":{"431":{"position":[[551,12]]}}}],["support",{"_index":43,"t":{"394":{"position":[[89,8]]}}}],["syntax",{"_index":51,"t":{"396":{"position":[[53,6]]}}}],["tag",{"_index":44,"t":{"394":{"position":[[98,4]]}}}],["tal",{"_index":75,"t":{"425":{"position":[[160,3]]}}}],["taxa",{"_index":94,"t":{"425":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":181,"t":{"431":{"position":[[289,6]]}}}],["tem",{"_index":76,"t":{"425":{"position":[[177,3]]}}}],["tempor",{"_index":23,"t":{"380":{"position":[[121,6]]}}}],["tendo",{"_index":93,"t":{"425":{"position":[[301,5]]}}}],["termo",{"_index":86,"t":{"425":{"position":[[247,6]]}}}],["test",{"_index":35,"t":{"382":{"position":[[48,5]]}}}],["thank",{"_index":151,"t":{"429":{"position":[[64,6]]}}}],["tortor",{"_index":176,"t":{"431":{"position":[[254,6]]}}}],["trica",{"_index":141,"t":{"425":{"position":[[769,6]]}}}],["turpi",{"_index":166,"t":{"431":{"position":[[164,6]]}}}],["ultrici",{"_index":20,"t":{"380":{"position":[[90,9]]},"431":{"position":[[189,9]]}}}],["um",{"_index":130,"t":{"425":{"position":[[650,2]]}}}],["unit",{"_index":34,"t":{"382":{"position":[[43,4]]}}}],["urna",{"_index":203,"t":{"431":{"position":[[514,4]]}}}],["us",{"_index":47,"t":{"396":{"position":[[22,5]]},"429":{"position":[[22,3]]}}}],["ut",{"_index":198,"t":{"431":{"position":[[457,2]]}}}],["velit",{"_index":186,"t":{"431":{"position":[[340,5]]}}}],["vida",{"_index":82,"t":{"425":{"position":[[222,4]]}}}],["vindo",{"_index":77,"t":{"425":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":208,"t":{"431":{"position":[[598,5]]}}}],["vivamu",{"_index":177,"t":{"431":{"position":[[262,7]]}}}],["volutpat",{"_index":178,"t":{"431":{"position":[[270,8]]}}}],["wangshenwei",{"_index":30,"t":{"382":{"position":[[14,11]]}}}],["welcom",{"_index":3,"t":{"378":{"position":[[0,7]]}}}],["well",{"_index":45,"t":{"394":{"position":[[106,4]]}}}],["within",{"_index":150,"t":{"429":{"position":[[43,6]]}}}],["write",{"_index":32,"t":{"382":{"position":[[30,7]]},"396":{"position":[[8,5]]},"429":{"position":[[8,5]]}}}],["史",{"_index":1,"t":{"377":{"position":[[1,1]]}}}],["文章",{"_index":2,"t":{"377":{"position":[[2,2]]}}}],["本文",{"_index":27,"t":{"382":{"position":[[0,2]]}}}],["歷",{"_index":0,"t":{"377":{"position":[[0,1]]}}}],["转载自",{"_index":28,"t":{"382":{"position":[[2,3]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":379,"t":"Welcome to this blog. This blog is created with Docusaurus 2 alpha. This is a test post. A whole bunch of other information.","s":"Hello","u":"/docusaurus-search-local/zh-TW/blog/hello-world","h":"","p":378},{"i":381,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet","s":"Hola","u":"/docusaurus-search-local/zh-TW/blog/hola","h":"","p":380},{"i":383,"t":"備註 本文转载自 https://wangshenwei.com/writing-good-unit-tests/ 。 “万物之始,大道至简” 本文尝试从简单的单元测试思想着手,探讨如何编写良好的单元测试。以下将主要基于 TypeScript, Jest, React, Enzyme 给出示例。关于单元测试的基本概念和重要性不在本文讨论范围。","s":"编写良好的单元测试","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"","p":382},{"i":385,"t":"编写单元测试的基本方法其实很简单: 给定输入 运行 断言输出 而一个好的单元测试的要求也很简单: 覆盖足够的输入场景 进行充分的输出断言 一个最简单的例子: // `add.ts` function add(a: number, b: number): number { return a + b; } // `add.spec.ts` test(\"add(1, 2) should return 3\", () => { expect(add(1, 2)).toBe(3); }); 我们编写单元测试的步骤如下: 给定输入:1, 2 运行: add(...) 断言输出:expect(...).toBe(3) 是不是很简单?当然,真实业务场景下我们要测试的单元远比上述例子复杂得多。 输入更加复杂,除了普通的函数输入参数,还可能有外部的事件,因此难以覆盖所有场景 输出更加复杂,除了普通的函数输出结果,还可能有对外部的副作用,因此难以断言运行结果 这里提到的输入、输出不再是狭义上的函数输入、输出。我们将所有可能影响测试对象行为的外部因素都称之为输入,将所有测试对象运行后对外部造成的影响都称之为输出。这样理解之后,我们就可以化繁为简,将测试过程回归到前面提到的最基本的方法上。 所以编写良好的单元测试首先要做的就是厘清测试对象的输入、输出,掌握覆盖不同形式的输入、断言不同形式的输出的方法。我们将分开讨论它们。","s":"基本方法","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#基本方法","p":382},{"i":387,"t":"足够简单的输入让我们可以花更少的时间、覆盖更多的场景。输入的来源大致有以下几种: 普通变量参数 外部依赖发送的事件 GUI 操作事件 编写测试覆盖它们的复杂度依次增大。除了第一个,其它都可以看作外部事件,也可以理解为来自外界的副作用。对于普通变量参数,我们只需构造这些参数即可完成给定输入的任务。而对于外部事件,我们要做的就是想办法触发这些事件。 我们依然看一个简单的例子: // `MyComponent.ts` window.addEventListener(\"resize\", () => { ... }); 如何覆盖?主动发送这个事件: // `MyComponent.spec.ts` test(\"MyComponent\", () => { window.dispatchEvent(new Event(\"resize\")); // ... }); 再看一个例子: // `MyComponent.tsx` const handleChange = (value: string): void => { ... }; return 如何覆盖依赖组件的特定事件?主动触发依赖组件的事件: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); wrapper.find(Editor).invoke(\"onChange\")(\"faked value\"); // ... });","s":"输入","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输入","p":382},{"i":389,"t":"足够简单的输出让我们可以更容易地断言运行结果。输出的形态大致有以下几种: 普通变量输出 GUI 的变化 外部依赖的调用 在测试中对它们进行断言的复杂度依次增大。除了第一个,其它都可以看作对外界的副作用。对于普通变量输出,我们只需简单地断言它的值即可。而对于对外界的副作用,我们要做的就是想办法断言这些副作用的影响。 我们继续看一个简单的例子: // `handleClick.ts` function handleClick(): void { history.push(\"/next/url\"); } 如何断言?我们可以断言副作用的影响结果: // `handleClick.spec.ts` test(\"handleClick\", () => { handleClick(); expect(history.location.pathname).toBe(\"/next/url\"); }); 有时副作用所影响的结果难以断言,或者该依赖被 Mocked,那么我们可以监视该副作用的触发点是否被正确调用了: // `handleClick.spec.ts` test(\"handleClick\", () => { const spyOnHistoryPush = jest.spyOn(history, \"push\"); expect(spyOnHistoryPush).toBeCalledWith(\"/next/url\"); }); 再看一个 React 组件的例子: // `MyComponent.tsx` const handleValidation = (valid: boolean): void => { this.setState({ valid }); }; return ( ); 如何断言?判断依赖组件的变化: // `MyComponent.spec.tsx` test(\"MyComponent\", () => { const wrapper = shallow(); // ... after something trigger `handleValidation()` expect(wrapper.find(Form.Item).prop(\"className\")).toBe(\"invalid\"); }); 始终记得要断言测试对象运行后对外界的副作用影响。 另外断言的目标应该是对外的影响,而不是内部状态,因为内部状态并不是测试对象的输出。一个错误的例子: // `MyComponent.bad.spec.tsx` expect(wrapper.instance().state.valid).toBe(\"invalid\");","s":"输出","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#输出","p":382},{"i":391,"t":"更简单的输入、输出让我们可以更容易地编写好的单元测试,但往往实际情况是业务需求不断增长,组件内部逻辑不断复杂化,输入输出的形式形态更加多样化,为组件编写单元测试的难度也随之陡增。 适时地重构与拆分是解决这个问题的关键。在如今的前端组件化的模式下尤为重要,合理拆分后的组件可以让每个测试单元的输入输出都变得更少、更聚焦。诸如 React, Redux 等主流框架和工具推崇的单向数据流盛行的其中一个原因就是它们巧妙地让各个单元的输入来源、输出影响单一化,从而降低编写单元测试的难度,同时提升组件集成时的信心。","s":"重构与拆分","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#重构与拆分","p":382},{"i":393,"t":"编写良好的单元测试总结下来就是三条: 识别测试对象的输入、输出 掌握不同形态下的输入覆盖、输出断言的方法 适时地重构与拆分 希望以上内容对大家有所帮助。","s":"总结","u":"/docusaurus-search-local/zh-TW/blog/writing-good-unit-tests","h":"#总结","p":382},{"i":395,"t":"Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well! Delete the whole directory if you don't want the blog features. As simple as that!","s":"Welcome","u":"/docusaurus-search-local/zh-TW/blog/welcome","h":"","p":394},{"i":397,"t":"You can write content using GitHub-flavored Markdown syntax.","s":"Style Guide","u":"/docusaurus-search-local/zh-TW/docs/","h":"","p":396},{"i":399,"t":"To serve as an example page when styling markdown based Docusaurus sites.","s":"Markdown Syntax","u":"/docusaurus-search-local/zh-TW/docs/","h":"#markdown-syntax","p":396},{"i":404,"t":"H4 - Create the best documentation​ H5 - Create the best documentation​ H6 - Create the best documentation​","s":"H3 - Create the best documentation","u":"/docusaurus-search-local/zh-TW/docs/","h":"#h3---create-the-best-documentation","p":396},{"i":406,"t":"Emphasis, aka italics, with asterisks or underscores. Strong emphasis, aka bold, with asterisks or underscores. Combined emphasis with asterisks and underscores. Strikethrough uses two tildes. Scratch this.","s":"Emphasis","u":"/docusaurus-search-local/zh-TW/docs/","h":"#emphasis","p":396},{"i":408,"t":"First ordered list item Another item Unordered sub-list. Actual numbers don't matter, just that it's a number Ordered sub-list And another item. Unordered list can use asterisks Or minuses Or pluses","s":"Lists","u":"/docusaurus-search-local/zh-TW/docs/","h":"#lists","p":396},{"i":410,"t":"I'm an inline-style link I'm an inline-style link with title I'm a reference-style link You can use numbers for reference-style link definitions Or leave it empty and use the link text itself. URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later.","s":"Links","u":"/docusaurus-search-local/zh-TW/docs/","h":"#links","p":396},{"i":412,"t":"Here's our logo (hover to see the title text): Inline-style: Reference-style: Images from any folder can be used by providing path to file. Path should be relative to markdown file.","s":"Images","u":"/docusaurus-search-local/zh-TW/docs/","h":"#images","p":396},{"i":414,"t":"var s = \"JavaScript syntax highlighting\"; alert(s); s = \"Python syntax highlighting\" print(s) No language indicated, so no syntax highlighting. But let's throw in a tag. function highlightMe() { console.log(\"This line can be highlighted!\"); }","s":"Code","u":"/docusaurus-search-local/zh-TW/docs/","h":"#code","p":396},{"i":416,"t":"Colons can be used to align columns. Tables Are Cool col 3 is right-aligned $1600 col 2 is centered $12 zebra stripes are neat $1 There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. Markdown Less Pretty Still renders nicely 1 2 3","s":"Tables","u":"/docusaurus-search-local/zh-TW/docs/","h":"#tables","p":396},{"i":418,"t":"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. Quote break. This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.","s":"Blockquotes","u":"/docusaurus-search-local/zh-TW/docs/","h":"#blockquotes","p":396},{"i":420,"t":"Definition list Is something people use sometimes. Markdown in HTML Does not work very well. Use HTML tags.","s":"Inline HTML","u":"/docusaurus-search-local/zh-TW/docs/","h":"#inline-html","p":396},{"i":422,"t":"Here's a line for us to start with. This line is separated from the one above by two newlines, so it will be a separate paragraph. This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.","s":"Line Breaks","u":"/docusaurus-search-local/zh-TW/docs/","h":"#line-breaks","p":396},{"i":424,"t":"備註 This is a note 提示 This is a tip important This is important 警告 This is a caution warning This is a warning","s":"Admonitions","u":"/docusaurus-search-local/zh-TW/docs/","h":"#admonitions","p":396},{"i":426,"t":"A população portuguesa é composta por 16,4 % com idade compreendida entre os 0 e os 14 anos, 66,2 % entre os 15 e os 64 anos e 17,4 % com mais de 65 anos, como tal, a população tem vindo a envelhecer. A esperança média de vida é de 78,04 anos. Em termos de alfabetização, 93,3 % sabem ler e escrever, tendo a taxa de analfabetismo vindo a descer ao longo dos anos.[82] O crescimento populacional situa-se nos 0,305 %, nascendo 10,45 por cada mil habitantes e falecendo 10,62 por cada mil habitantes, o que faz com que a população esteja a ser renovada, contribuindo para este facto a taxa de fertilidade que se situa nos 1,32 em 2010.[83] Portugal é um dos países com mais baixa taxa de mortalidade infantil abaixo dos 5 anos (3,7 por mil em 2010) no mundo.[84] quilométricas\"","s":"A Document in Portuguese","u":"/docusaurus-search-local/zh-TW/docs/doc-in-pt","h":"","p":425},{"i":428,"t":"This is a link to another document. This is a link to an external page.","s":"Document Number 2","u":"/docusaurus-search-local/zh-TW/docs/doc2","h":"","p":427},{"i":430,"t":"You can write JSX and use React components within your Markdown thanks to MDX. Docusaurus green and Facebook blue are my favorite colors. I can write Markdown alongside my JSX!","s":"Powered by MDX","u":"/docusaurus-search-local/zh-TW/docs/mdx","h":"","p":429},{"i":432,"t":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique. Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis. Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor. Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.","s":"This is Document Number 3","u":"/docusaurus-search-local/zh-TW/docs/doc3","h":"","p":431}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/379",[0,4.297,1,4.222,2,3.538,3,3.037,4,2.664,5,4.297,6,2.366,7,4.297,8,3.538,9,4.297,10,4.297]],["t/381",[11,3.937,12,4.292,13,3.937,14,3.937,15,3.937,16,3.154,17,3.154,18,3.154,19,3.154,20,3.154,21,3.832,22,3.154,23,3.154,24,3.154,25,3.154,26,3.154,27,3.154,28,3.154]],["t/383",[6,1.814,29,2.714,30,2.714,31,4.855,32,3.296,33,2.714,34,3.296,35,2.33,36,2.043,37,3.296,38,3.296,39,3.296,40,3.296,41,3.296,42,3.296,43,1.814,44,3.01,45,3.296,46,3.296,47,3.296,48,2.33,49,1.814,50,2.33,51,2.33,52,2.714,53,3.296,54,3.296,55,3.296,56,2.714,57,2.043,58,3.296,59,3.296,60,3.296,61,3.296,62,3.296,63,3.296,64,2.714,65,3.296]],["t/385",[4,1.924,6,0.844,43,1.959,44,2.206,49,1.709,50,1.084,52,2.93,64,1.263,66,2.471,67,2.555,68,1.534,69,2.034,70,2.998,71,2.93,72,2.759,73,2.998,74,1.532,75,1.534,76,2.194,77,1.084,78,2.555,79,1.263,80,1.534,81,1.747,82,3.434,83,1.747,84,1.084,85,2.194,86,2.034,87,1.747,88,1.084,89,2.194,90,2.194,91,2.034,92,2.034,93,2.419,94,1.534,95,1.534,96,1.534,97,1.534,98,1.534,99,1.263,100,1.747,101,2.148,102,1.263,103,1.534,104,1.534,105,3.104,106,1.263,107,2.034,108,1.747,109,1.747,110,3.104,111,1.263,112,3.104,113,1.747,114,1.263,115,2.471,116,2.034,117,3.104,118,2.034,119,2.471,120,1.084,121,1.534,122,2.471,123,1.534,124,1.534,125,1.747,126,2.194,127,1.534,128,1.534,129,1.532,130,2.471,131,1.534,132,1.534,133,1.263,134,1.534,135,1.534,136,0.951,137,1.534,138,1.534,139,1.534,140,1.534,141,1.534,142,1.534,143,1.084,144,0.844,145,1.534,146,1.263,147,2.034,148,2.034,149,1.534,150,0.951]],["t/387",[6,1.592,43,1.592,48,2.044,49,1.03,51,1.323,69,1.541,70,2.191,74,1.793,76,2.81,77,1.323,78,1.541,81,2.044,83,2.044,87,1.323,88,2.044,93,2.465,100,1.323,101,1.03,106,1.541,108,1.323,109,2.044,111,2.91,113,2.498,114,4.028,120,1.323,129,1.16,133,1.541,136,2.191,143,1.323,144,1.03,150,1.16,151,1.872,152,2.044,153,1.541,154,1.872,155,1.541,156,1.541,157,1.541,158,2.381,159,2.91,160,2.892,161,1.541,162,1.872,163,1.541,164,1.541,165,1.541,166,1.541,167,1.541,168,1.541,169,1.872,170,1.541,171,2.381,172,1.541,173,1.872,174,2.381,175,1.541,176,1.872,177,1.872,178,1.541,179,1.541,180,2.381,181,1.872,182,3.9,183,2.892,184,1.872,185,2.892,186,2.892,187,1.541,188,1.872,189,1.872,190,1.872,191,2.381,192,2.381,193,2.892,194,2.892,195,1.872,196,1.541,197,2.892,198,2.892,199,2.044,200,1.872,201,2.381,202,1.541,203,1.541,204,1.872,205,1.872]],["t/389",[6,1.56,43,1.56,48,1.569,51,0.95,56,1.107,57,0.833,71,1.827,72,3.274,73,2.258,74,1.757,77,0.95,79,1.107,81,2.003,83,2.003,84,0.95,87,0.95,88,2.326,91,2.709,92,2.333,93,2.431,100,1.569,101,1.56,108,0.95,109,1.569,113,0.95,116,1.107,118,2.333,120,2.932,125,2.574,126,1.569,129,0.833,136,2.04,143,0.95,144,0.74,150,0.833,152,0.95,156,1.107,157,1.107,158,1.827,159,2.333,161,1.107,163,1.107,164,1.107,165,1.107,166,1.107,167,1.107,168,1.107,170,2.333,171,1.827,172,1.107,174,1.107,175,1.107,178,1.107,179,1.107,180,1.107,182,2.998,191,2.333,192,2.333,196,1.827,199,1.569,201,2.333,202,1.107,203,1.107,206,1.107,207,1.827,208,0.95,209,2.219,210,2.219,211,1.344,212,2.709,213,1.344,214,1.344,215,4.148,216,2.834,217,2.219,218,2.834,219,2.333,220,1.344,221,1.344,222,1.344,223,1.344,224,1.344,225,1.344,226,1.344,227,1.344,228,1.344,229,1.344,230,2.219,231,1.344,232,1.344,233,2.219,234,3.642,235,1.344,236,1.344,237,2.834,238,2.333,239,2.219,240,2.219,241,2.834,242,1.344,243,1.344,244,1.107,245,1.344,246,1.344,247,1.344,248,1.344,249,1.344,250,1.344,251,1.344,252,1.344,253,2.219,254,1.827,255,2.219,256,1.344,257,1.344,258,1.344,259,1.344]],["t/391",[43,1.271,44,2.488,49,2.209,57,1.432,70,2.101,73,2.101,74,1.432,93,1.432,99,1.901,101,1.271,102,2.79,107,1.901,125,1.633,129,1.432,136,2.101,144,1.271,148,1.901,150,1.432,152,3.125,153,1.901,155,1.901,187,1.901,199,3.328,206,1.901,207,2.79,208,1.633,254,1.901,260,2.31,261,2.31,262,2.31,263,2.31,264,3.389,265,2.31,266,2.31,267,2.31,268,3.389,269,2.31,270,3.389,271,2.31,272,2.31,273,1.901,274,1.901,275,2.79,276,2.31,277,2.31,278,2.31,279,2.31,280,2.31,281,2.31,282,2.31,283,2.31,284,2.31,285,2.31,286,2.31,287,2.31,288,2.31,289,2.31,290,2.31,291,2.31,292,2.31,293,2.31,294,2.31,295,2.31,296,2.31,297,2.31,298,2.31,299,2.31,300,2.31,301,2.31,302,2.31,303,2.31,304,2.31,305,2.31,306,2.31,307,2.31,308,2.31,309,2.31]],["t/393",[44,2.253,49,2.001,50,2.569,67,2.992,70,2.867,72,2.569,73,2.867,76,2.569,101,2.001,126,2.569,144,2.001,146,2.992,147,2.992,208,2.569,212,2.992,273,2.992,274,2.992,275,2.992,310,3.635,311,3.635,312,3.635,313,3.635,314,3.635,315,3.635,316,3.635,317,3.635,318,3.635,319,3.635]],["t/395",[1,4.523,8,3.212,82,3.212,320,4.836,321,3.902,322,3.902,323,3.902,324,3.212,325,4.836,326,3.902,327,2.758,328,3.212,329,3.902,330,2.758,331,2.758,332,3.902,333,3.902]],["t/397",[36,2.806,334,4.526,335,1.81,336,3.726,337,4.526,338,2.006,339,3.726]],["t/399",[3,3.166,338,1.985,340,4.479,341,3.687,342,3.687,343,3.166,344,4.479,345,4.479]],["t/404",[2,4.513,346,4.297,347,5.482,348,4.513,349,4.297,350,4.297]],["t/406",[335,1.59,351,5.3,352,4.892,353,3.975,354,4.363,355,5.3,356,3.975,357,3.975,358,3.975,359,3.975,360,3.273,361,3.975,362,3.975]],["t/408",[85,3.324,238,4.239,330,2.637,331,2.637,335,1.492,354,3.071,363,3.731,364,4.702,365,4.451,366,3.871,367,4.702,368,4.702,369,3.071,370,3.731,371,2.054,372,3.731,373,3.731]],["t/410",[33,2.612,35,2.992,85,2.243,219,3.485,335,1.693,336,2.612,341,3.922,343,3.593,374,3.922,375,2.992,376,4.578,377,2.612,378,3.922,379,2.612,380,3.173,381,3.173,382,2.992,383,3.173,384,3.173,385,3.173,386,3.173,387,3.173,388,3.173,389,2.612,390,3.173,391,3.173,392,3.173]],["t/412",[324,4.004,335,1.575,338,1.745,343,3.438,371,2.168,375,2.784,377,3.242,378,3.242,382,2.784,393,3.242,394,3.938,395,3.938,396,3.938,397,3.938,398,3.938,399,3.938,400,4.864,401,3.938]],["t/414",[84,2.614,86,3.85,327,2.614,339,4.222,371,3.06,402,3.698,403,3.698,404,5.389,405,3.698,406,3.698,407,3.698,408,3.698,409,3.698,410,3.698,411,3.698,412,3.698,413,3.698,414,2.293]],["t/416",[4,2.598,89,2.963,90,3.343,330,2.21,331,2.21,335,1.676,338,2.096,375,2.21,414,1.938,415,3.126,416,4.192,417,3.126,418,3.126,419,3.126,420,4.192,421,3.126,422,3.126,423,3.126,424,3.126,425,3.126,426,3.126,427,3.126,428,3.126,429,2.574,430,3.126,431,3.126,432,3.126,433,3.126,434,3.126,435,3.126,436,3.126,437,2.574,438,3.126,439,3.126,440,3.126,441,3.126,442,3.126,443,2.574,444,3.126,445,3.126]],["t/418",[36,2.143,338,1.532,369,2.846,371,1.903,382,2.444,414,2.777,437,2.846,443,2.846,446,4.479,447,3.688,448,3.457,449,3.457,450,3.457,451,3.457,452,3.457,453,2.846,454,4.969,455,3.457,456,4.479,457,3.457,458,4.479,459,4.479,460,3.457,461,3.457,462,3.457,463,3.457,464,3.457,465,3.457]],["t/420",[244,3.468,327,2.977,328,3.468,335,2.026,338,1.867,365,3.468,379,3.468,389,3.468,447,3.468,466,4.212,467,5.067,468,4.212]],["t/422",[360,3.154,371,2.632,393,3.154,414,3.483,429,4.625,453,3.154,469,3.832,470,3.832,471,3.832,472,4.782,473,5.213,474,3.832]],["t/424",[29,3.574,30,3.574,475,4.341,476,4.341,477,4.341,478,5.16,479,4.341,480,4.341,481,5.16]],["t/426",[4,1.126,35,2.765,89,1.283,90,1.997,374,1.495,482,3.467,483,4.487,484,1.816,485,1.816,486,3.912,487,1.816,488,2.825,489,1.816,490,1.816,491,2.825,492,3.912,493,2.825,494,4.238,495,1.816,496,4.487,497,1.816,498,1.816,499,1.816,500,1.816,501,2.825,502,4.684,503,1.816,504,1.816,505,1.816,506,1.816,507,2.825,508,1.816,509,1.816,510,1.816,511,1.816,512,1.816,513,1.816,514,3.467,515,1.816,516,1.816,517,1.816,518,1.816,519,1.816,520,1.816,521,1.816,522,3.467,523,1.816,524,1.816,525,1.816,526,1.816,527,3.467,528,1.816,529,1.816,530,1.816,531,2.825,532,3.467,533,2.825,534,1.816,535,1.816,536,2.825,537,1.816,538,2.825,539,3.467,540,2.825,541,1.816,542,1.816,543,3.467,544,1.816,545,1.816,546,1.816,547,1.816,548,1.816,549,1.816,550,1.495,551,1.816,552,1.816,553,1.816,554,2.825,555,1.816,556,1.816,557,1.816,558,1.816,559,1.816,560,1.816,561,1.816,562,1.816,563,1.816,564,1.816,565,1.816,566,1.816,567,1.816,568,1.816]],["t/428",[342,3.767,348,3.767,366,3.767,376,4.381,569,4.575]],["t/430",[3,2.836,36,3.05,57,2.488,335,1.605,338,2.181,570,4.92,571,4.013,572,4.013,573,4.013,574,4.013,575,4.013,576,4.013,577,4.013,578,4.013,579,4.013,580,4.013]],["t/432",[11,2.015,12,2.672,13,1.541,14,2.672,15,2.672,16,2.91,17,1.541,18,2.91,19,1.541,20,0.903,22,0.903,23,2.015,24,1.541,25,0.903,26,2.015,27,2.015,28,2.015,550,1.541,581,2.448,582,1.872,583,3.246,584,3.774,585,2.448,586,3.246,587,1.097,588,1.872,589,2.892,590,1.872,591,1.097,592,1.097,593,1.872,594,1.097,595,3.535,596,1.097,597,2.892,598,2.448,599,3.535,600,1.872,601,2.448,602,1.872,603,2.448,604,2.448,605,2.892,606,1.872,607,1.097,608,2.892,609,2.892,610,2.448,611,1.097,612,1.872,613,2.892,614,2.448,615,1.872,616,2.892,617,2.448,618,2.448,619,2.448,620,1.872,621,2.892,622,2.892,623,1.872,624,1.097,625,2.448,626,2.448,627,1.872,628,1.097,629,1.097,630,1.872,631,2.448,632,3.535,633,1.097,634,1.872,635,1.872,636,3.246,637,2.448,638,1.872,639,2.892,640,3.246,641,2.892,642,2.448,643,1.097,644,2.448,645,1.097,646,1.872,647,1.872,648,3.246,649,1.097,650,1.097,651,1.097,652,2.448,653,2.448,654,2.448,655,2.892,656,2.448,657,1.872,658,1.097,659,2.448,660,1.097,661,1.097,662,1.872,663,1.097,664,2.448,665,1.097,666,1.872,667,1.872,668,1.872,669,1.097,670,1.097,671,1.097,672,1.872,673,1.097,674,1.097,675,1.097,676,1.097,677,1.097,678,1.097]]],"invertedIndex":[["0",{"_index":493,"t":{"426":{"position":[[77,1],[409,1]]}}}],["04",{"_index":513,"t":{"426":{"position":[[235,2]]}}}],["1",{"_index":89,"t":{"385":{"position":[[179,1],[222,1],[262,1]]},"416":{"position":[[128,1],[363,1]]},"426":{"position":[[621,1]]}}}],["10",{"_index":536,"t":{"426":{"position":[[427,2],[469,2]]}}}],["12",{"_index":424,"t":{"416":{"position":[[101,2]]}}}],["14",{"_index":495,"t":{"426":{"position":[[84,2]]}}}],["15",{"_index":498,"t":{"426":{"position":[[109,2]]}}}],["16",{"_index":487,"t":{"426":{"position":[[38,2]]}}}],["1600",{"_index":422,"t":{"416":{"position":[[77,4]]}}}],["17",{"_index":500,"t":{"426":{"position":[[127,2]]}}}],["2",{"_index":4,"t":{"379":{"position":[[59,1]]},"385":{"position":[[182,1],[225,1],[265,1]]},"416":{"position":[[86,1],[365,1]]},"426":{"position":[[96,1]]}}}],["2010",{"_index":554,"t":{"426":{"position":[[629,4],[742,4]]}}}],["3",{"_index":90,"t":{"385":{"position":[[199,1],[234,1],[302,1]]},"416":{"position":[[57,1],[153,1],[367,1]]},"426":{"position":[[275,1],[727,1]]}}}],["305",{"_index":534,"t":{"426":{"position":[[411,3]]}}}],["32",{"_index":553,"t":{"426":{"position":[[623,2]]}}}],["4",{"_index":488,"t":{"426":{"position":[[41,1],[130,1]]}}}],["45",{"_index":537,"t":{"426":{"position":[[430,2]]}}}],["5",{"_index":563,"t":{"426":{"position":[[719,1]]}}}],["62",{"_index":542,"t":{"426":{"position":[[472,2]]}}}],["64",{"_index":499,"t":{"426":{"position":[[117,2]]}}}],["65",{"_index":503,"t":{"426":{"position":[[146,2]]}}}],["66",{"_index":497,"t":{"426":{"position":[[93,2]]}}}],["7",{"_index":564,"t":{"426":{"position":[[729,1]]}}}],["78",{"_index":512,"t":{"426":{"position":[[232,2]]}}}],["82",{"_index":528,"t":{"426":{"position":[[365,2]]}}}],["83",{"_index":555,"t":{"426":{"position":[[635,2]]}}}],["84",{"_index":566,"t":{"426":{"position":[[758,2]]}}}],["93",{"_index":517,"t":{"426":{"position":[[272,2]]}}}],["abaixo",{"_index":562,"t":{"426":{"position":[[708,6]]}}}],["abov",{"_index":471,"t":{"422":{"position":[[72,5]]}}}],["ac",{"_index":581,"t":{"432":{"position":[[60,2],[869,2],[1681,2]]}}}],["accumsan",{"_index":678,"t":{"432":{"position":[[2019,8]]}}}],["actual",{"_index":369,"t":{"408":{"position":[[57,6]]},"418":{"position":[[246,8]]}}}],["add",{"_index":82,"t":{"385":{"position":[[83,3],[100,3],[156,3],[175,3],[218,3],[271,3]]},"395":{"position":[[53,3]]}}}],["addeventlisten",{"_index":184,"t":{"387":{"position":[[215,16]]}}}],["adipisc",{"_index":17,"t":{"381":{"position":[[40,10]]},"432":{"position":[[40,10],[671,10]]}}}],["aka",{"_index":352,"t":{"406":{"position":[[10,3],[71,3]]}}}],["alert",{"_index":405,"t":{"414":{"position":[[42,5]]}}}],["alfabetiza",{"_index":516,"t":{"426":{"position":[[257,10]]}}}],["align",{"_index":416,"t":{"416":{"position":[[22,5],[68,7]]}}}],["aliquam",{"_index":27,"t":{"381":{"position":[[133,7]]},"432":{"position":[[351,7],[543,7],[1036,7]]}}}],["aliquet",{"_index":658,"t":{"432":{"position":[[1134,7]]}}}],["alongsid",{"_index":580,"t":{"430":{"position":[[159,9]]}}}],["alpha",{"_index":5,"t":{"379":{"position":[[61,5]]}}}],["amet",{"_index":15,"t":{"381":{"position":[[22,4],[174,4]]},"432":{"position":[[22,4],[653,4],[1840,4],[1914,4],[2038,4]]}}}],["analfabetismo",{"_index":523,"t":{"426":{"position":[[317,13]]}}}],["angl",{"_index":384,"t":{"410":{"position":[[210,5]]}}}],["ano",{"_index":496,"t":{"426":{"position":[[87,4],[120,4],[149,4],[238,4],[359,4],[721,4]]}}}],["anoth",{"_index":366,"t":{"408":{"position":[[24,7],[131,7]]},"428":{"position":[[18,7]]}}}],["ant",{"_index":602,"t":{"432":{"position":[[236,4],[1226,4]]}}}],["ao",{"_index":525,"t":{"426":{"position":[[346,2]]}}}],["arcu",{"_index":643,"t":{"432":{"position":[[783,4]]}}}],["asterisk",{"_index":354,"t":{"406":{"position":[[28,9],[86,9],[135,9]]},"408":{"position":[[168,9]]}}}],["automat",{"_index":386,"t":{"410":{"position":[[230,13]]}}}],["b",{"_index":86,"t":{"385":{"position":[[115,1],[147,1]]},"414":{"position":[[166,1],[173,1]]}}}],["bad",{"_index":258,"t":{"389":{"position":[[1164,3]]}}}],["baixa",{"_index":559,"t":{"426":{"position":[[673,5]]}}}],["base",{"_index":344,"t":{"399":{"position":[[50,5]]}}}],["best",{"_index":347,"t":{"404":{"position":[[16,4],[52,4],[88,4]]}}}],["bibendum",{"_index":610,"t":{"432":{"position":[[306,8],[425,8],[989,8]]}}}],["blockquot",{"_index":446,"t":{"418":{"position":[[0,11],[306,10]]}}}],["blog",{"_index":1,"t":{"379":{"position":[[16,4],[27,4]]},"395":{"position":[[0,4],[33,4],[70,4],[161,4]]}}}],["blue",{"_index":577,"t":{"430":{"position":[[109,4]]}}}],["bold",{"_index":357,"t":{"406":{"position":[[75,4]]}}}],["boolean",{"_index":235,"t":{"389":{"position":[[691,7]]}}}],["boy",{"_index":460,"t":{"418":{"position":[[187,3]]}}}],["bracket",{"_index":385,"t":{"410":{"position":[[216,8]]}}}],["break",{"_index":455,"t":{"418":{"position":[[102,5]]}}}],["bunch",{"_index":9,"t":{"379":{"position":[[97,5]]}}}],["cada",{"_index":538,"t":{"426":{"position":[[437,4],[479,4]]}}}],["caution",{"_index":480,"t":{"424":{"position":[[76,7]]}}}],["cell",{"_index":432,"t":{"416":{"position":[[185,4]]}}}],["center",{"_index":423,"t":{"416":{"position":[[91,8]]}}}],["classnam",{"_index":239,"t":{"389":{"position":[[760,9],[1039,9]]}}}],["col",{"_index":420,"t":{"416":{"position":[[53,3],[82,3]]}}}],["colon",{"_index":415,"t":{"416":{"position":[[0,6]]}}}],["color",{"_index":579,"t":{"430":{"position":[[130,6]]}}}],["column",{"_index":417,"t":{"416":{"position":[[28,7]]}}}],["com",{"_index":35,"t":{"383":{"position":[[29,3]]},"410":{"position":[[286,3],[313,3]]},"426":{"position":[[45,3],[134,3],[510,3],[664,3]]}}}],["combin",{"_index":358,"t":{"406":{"position":[[112,8]]}}}],["commodo",{"_index":672,"t":{"432":{"position":[[1732,7],[1987,7]]}}}],["como",{"_index":504,"t":{"426":{"position":[[155,4]]}}}],["compon",{"_index":571,"t":{"430":{"position":[[32,10]]}}}],["composta",{"_index":485,"t":{"426":{"position":[[25,8]]}}}],["compreendida",{"_index":490,"t":{"426":{"position":[[55,12]]}}}],["congu",{"_index":646,"t":{"432":{"position":[[822,6],[1929,6]]}}}],["consectetur",{"_index":16,"t":{"381":{"position":[[28,11]]},"432":{"position":[[28,11],[111,11],[581,11],[659,11],[1573,11],[2105,11]]}}}],["consequat",{"_index":28,"t":{"381":{"position":[[141,9]]},"432":{"position":[[80,9],[1082,9],[2049,9]]}}}],["consol",{"_index":412,"t":{"414":{"position":[[202,7]]}}}],["const",{"_index":192,"t":{"387":{"position":[[409,5],[587,5]]},"389":{"position":[[507,5],[658,5],[908,5]]}}}],["content",{"_index":334,"t":{"397":{"position":[[14,7]]}}}],["contribuindo",{"_index":548,"t":{"426":{"position":[[553,12]]}}}],["conval",{"_index":649,"t":{"432":{"position":[[928,9]]}}}],["cool",{"_index":419,"t":{"416":{"position":[[48,4]]}}}],["cra",{"_index":677,"t":{"432":{"position":[[2014,4]]}}}],["creat",{"_index":2,"t":{"379":{"position":[[35,7]]},"404":{"position":[[5,6],[41,6],[77,6]]}}}],["crescimento",{"_index":529,"t":{"426":{"position":[[371,11]]}}}],["cursu",{"_index":616,"t":{"432":{"position":[[369,6],[872,6],[1412,6],[1617,6]]}}}],["dapibu",{"_index":603,"t":{"432":{"position":[[246,7],[813,7],[1521,7]]}}}],["dash",{"_index":428,"t":{"416":{"position":[[155,6]]}}}],["de",{"_index":502,"t":{"426":{"position":[[143,2],[219,2],[229,2],[254,2],[314,2],[589,2],[684,2]]}}}],["definit",{"_index":379,"t":{"410":{"position":[[133,11]]},"420":{"position":[[0,10]]}}}],["delet",{"_index":329,"t":{"395":{"position":[[112,6]]}}}],["descer",{"_index":524,"t":{"426":{"position":[[339,6]]}}}],["dia",{"_index":510,"t":{"426":{"position":[[215,3]]}}}],["diam",{"_index":607,"t":{"432":{"position":[[279,4]]}}}],["dignissim",{"_index":21,"t":{"381":{"position":[[80,9]]}}}],["directori",{"_index":325,"t":{"395":{"position":[[75,9],[129,9]]}}}],["dispatchev",{"_index":188,"t":{"387":{"position":[[333,13]]}}}],["do",{"_index":527,"t":{"426":{"position":[[355,3],[653,3],[715,3]]}}}],["document",{"_index":348,"t":{"404":{"position":[[21,13],[57,13],[93,13]]},"428":{"position":[[26,8]]}}}],["docusauru",{"_index":3,"t":{"379":{"position":[[48,10]]},"399":{"position":[[56,10]]},"430":{"position":[[79,10]]}}}],["dolor",{"_index":13,"t":{"381":{"position":[[12,5],[164,5]]},"432":{"position":[[12,5],[643,5]]}}}],["don",{"_index":330,"t":{"395":{"position":[[146,3]]},"408":{"position":[[72,3]]},"416":{"position":[[233,3]]}}}],["donec",{"_index":662,"t":{"432":{"position":[[1215,5],[1284,5]]}}}],["dui",{"_index":585,"t":{"432":{"position":[[90,3],[688,4],[1709,3]]}}}],["e",{"_index":494,"t":{"426":{"position":[[79,1],[112,1],[125,1],[289,1],[457,1]]}}}],["each",{"_index":430,"t":{"416":{"position":[[173,4]]}}}],["editor",{"_index":197,"t":{"387":{"position":[[472,6],[642,6]]}}}],["egesta",{"_index":638,"t":{"432":{"position":[[696,7],[919,7]]}}}],["eget",{"_index":632,"t":{"432":{"position":[[519,4],[750,4],[1111,4],[1190,4],[1310,4],[1954,4]]}}}],["eleifend",{"_index":654,"t":{"432":{"position":[[1058,8],[1635,8],[2059,8]]}}}],["elementum",{"_index":20,"t":{"381":{"position":[[70,9]]},"432":{"position":[[296,9]]}}}],["elit",{"_index":18,"t":{"381":{"position":[[51,4]]},"432":{"position":[[51,4],[682,4],[879,4],[1357,4],[1407,4],[1660,4]]}}}],["em",{"_index":514,"t":{"426":{"position":[[244,2],[626,2],[739,2]]}}}],["email",{"_index":449,"t":{"418":{"position":[[30,5]]}}}],["emphasi",{"_index":351,"t":{"406":{"position":[[0,8],[61,8],[121,8]]}}}],["empti",{"_index":381,"t":{"410":{"position":[[157,5]]}}}],["emul",{"_index":450,"t":{"418":{"position":[[39,7]]}}}],["enim",{"_index":665,"t":{"432":{"position":[[1366,4]]}}}],["enough",{"_index":463,"t":{"418":{"position":[[236,6]]}}}],["entr",{"_index":491,"t":{"426":{"position":[[68,5],[100,5]]}}}],["envelhec",{"_index":508,"t":{"426":{"position":[[189,10]]}}}],["enzym",{"_index":58,"t":{"383":{"position":[[136,6]]}}}],["erat",{"_index":652,"t":{"432":{"position":[[974,4],[1044,4],[1995,4]]}}}],["ero",{"_index":26,"t":{"381":{"position":[[128,4]]},"432":{"position":[[568,4],[1290,4],[1537,4]]}}}],["escrev",{"_index":520,"t":{"426":{"position":[[291,8]]}}}],["esperan",{"_index":509,"t":{"426":{"position":[[203,7]]}}}],["est",{"_index":550,"t":{"426":{"position":[[571,4]]},"432":{"position":[[564,3],[1295,3]]}}}],["esteja",{"_index":545,"t":{"426":{"position":[[530,6]]}}}],["et",{"_index":621,"t":{"432":{"position":[[412,2],[693,2],[1354,2],[1506,2]]}}}],["etiam",{"_index":615,"t":{"432":{"position":[[360,5],[1856,5]]}}}],["eu",{"_index":584,"t":{"432":{"position":[[77,2],[999,2],[1049,2],[1453,2],[1689,2],[1752,2],[1862,2]]}}}],["euismod",{"_index":582,"t":{"432":{"position":[[63,7],[1556,7]]}}}],["event",{"_index":190,"t":{"387":{"position":[[351,5]]}}}],["everyon",{"_index":464,"t":{"418":{"position":[[264,8]]}}}],["ex",{"_index":676,"t":{"432":{"position":[[1919,2]]}}}],["exampl",{"_index":341,"t":{"399":{"position":[[15,7]]},"410":{"position":[[278,7],[305,7],[341,7]]}}}],["expect",{"_index":91,"t":{"385":{"position":[[211,6],[285,6]]},"389":{"position":[[341,6],[561,6],[1002,6],[1178,6]]}}}],["extern",{"_index":569,"t":{"428":{"position":[[57,8]]}}}],["facebook",{"_index":576,"t":{"430":{"position":[[100,8]]}}}],["facto",{"_index":551,"t":{"426":{"position":[[576,5]]}}}],["fake",{"_index":205,"t":{"387":{"position":[[670,5]]}}}],["falecendo",{"_index":541,"t":{"426":{"position":[[459,9]]}}}],["faucibu",{"_index":623,"t":{"432":{"position":[[434,8],[722,8]]}}}],["favorit",{"_index":578,"t":{"430":{"position":[[121,8]]}}}],["faz",{"_index":544,"t":{"426":{"position":[[506,3]]}}}],["featur",{"_index":320,"t":{"395":{"position":[[5,8],[166,8]]}}}],["feli",{"_index":628,"t":{"432":{"position":[[469,5]]}}}],["fermentum",{"_index":645,"t":{"432":{"position":[[798,9]]}}}],["fertilidad",{"_index":552,"t":{"426":{"position":[[592,11]]}}}],["feugiat",{"_index":601,"t":{"432":{"position":[[228,7],[764,7],[1439,7]]}}}],["file",{"_index":324,"t":{"395":{"position":[[57,5]]},"412":{"position":[[134,4],[176,4]]}}}],["find",{"_index":203,"t":{"387":{"position":[[637,4]]},"389":{"position":[[1017,4]]}}}],["finibu",{"_index":664,"t":{"432":{"position":[[1315,7],[1472,7],[1592,7]]}}}],["first",{"_index":363,"t":{"408":{"position":[[0,5]]}}}],["flavor",{"_index":337,"t":{"397":{"position":[[35,8]]}}}],["folder",{"_index":398,"t":{"412":{"position":[[94,6]]}}}],["follow",{"_index":391,"t":{"410":{"position":[[398,6]]}}}],["form",{"_index":237,"t":{"389":{"position":[[750,4],[824,4],[1022,4]]}}}],["fringilla",{"_index":633,"t":{"432":{"position":[[525,9]]}}}],["function",{"_index":84,"t":{"385":{"position":[[91,8]]},"389":{"position":[[192,8]]},"414":{"position":[[177,8]]}}}],["fusc",{"_index":23,"t":{"381":{"position":[[101,5]]},"432":{"position":[[837,5],[1030,5],[1881,5]]}}}],["github",{"_index":336,"t":{"397":{"position":[[28,6]]},"410":{"position":[[329,6]]}}}],["good",{"_index":37,"t":{"383":{"position":[[41,4]]}}}],["gravida",{"_index":613,"t":{"432":{"position":[[332,7],[966,7],[1196,7],[1756,7]]}}}],["green",{"_index":575,"t":{"430":{"position":[[90,5]]}}}],["gui",{"_index":161,"t":{"387":{"position":[[58,3]]},"389":{"position":[[44,3]]}}}],["h4",{"_index":346,"t":{"404":{"position":[[0,2]]}}}],["h5",{"_index":349,"t":{"404":{"position":[[36,2]]}}}],["h6",{"_index":350,"t":{"404":{"position":[[72,2]]}}}],["habitant",{"_index":540,"t":{"426":{"position":[[446,10],[488,10]]}}}],["handi",{"_index":448,"t":{"418":{"position":[[21,5]]}}}],["handlechang",{"_index":193,"t":{"387":{"position":[[415,12],[489,12]]}}}],["handleclick",{"_index":215,"t":{"389":{"position":[[176,11],[201,11],[277,11],[304,11],[326,11],[458,11],[485,11]]}}}],["handlevalid",{"_index":233,"t":{"389":{"position":[[664,16],[982,16]]}}}],["header",{"_index":431,"t":{"416":{"position":[[178,6]]}}}],["hendrerit",{"_index":637,"t":{"432":{"position":[[620,9],[1671,9],[1865,9]]}}}],["here",{"_index":393,"t":{"412":{"position":[[0,4]]},"422":{"position":[[0,4]]}}}],["highlight",{"_index":404,"t":{"414":{"position":[[27,12],[71,12],[130,12],[232,11]]}}}],["highlightm",{"_index":411,"t":{"414":{"position":[[186,11]]}}}],["histori",{"_index":216,"t":{"389":{"position":[[223,7],[348,7],[543,7]]}}}],["hover",{"_index":395,"t":{"412":{"position":[[17,5]]}}}],["html",{"_index":467,"t":{"420":{"position":[[63,4],[97,4]]}}}],["http",{"_index":33,"t":{"383":{"position":[[9,5]]},"410":{"position":[[267,4]]}}}],["iaculi",{"_index":673,"t":{"432":{"position":[[1784,7]]}}}],["id",{"_index":589,"t":{"432":{"position":[[129,2],[199,2],[1781,2],[2102,2]]}}}],["idad",{"_index":489,"t":{"426":{"position":[[49,5]]}}}],["imag",{"_index":397,"t":{"412":{"position":[[78,6]]}}}],["imperdiet",{"_index":590,"t":{"432":{"position":[[132,9],[712,9]]}}}],["import",{"_index":478,"t":{"424":{"position":[[35,9],[53,9]]}}}],["indic",{"_index":409,"t":{"414":{"position":[[106,9]]}}}],["infantil",{"_index":561,"t":{"426":{"position":[[699,8]]}}}],["inform",{"_index":10,"t":{"379":{"position":[[112,11]]}}}],["inlin",{"_index":375,"t":{"410":{"position":[[7,6],[32,6]]},"412":{"position":[[47,6]]},"416":{"position":[[304,6]]}}}],["input",{"_index":242,"t":{"389":{"position":[[813,5]]}}}],["instanc",{"_index":259,"t":{"389":{"position":[[1193,8]]}}}],["integ",{"_index":657,"t":{"432":{"position":[[1124,7],[2069,7]]}}}],["interdum",{"_index":627,"t":{"432":{"position":[[460,8],[611,8]]}}}],["invalid",{"_index":241,"t":{"389":{"position":[[801,7],[1058,7],[1223,7]]}}}],["invok",{"_index":204,"t":{"387":{"position":[[650,6]]}}}],["ipsum",{"_index":12,"t":{"381":{"position":[[6,5],[115,5],[158,5]]},"432":{"position":[[6,5],[637,5],[731,5],[913,5],[1105,5]]}}}],["ital",{"_index":353,"t":{"406":{"position":[[14,7]]}}}],["item",{"_index":238,"t":{"389":{"position":[[755,4],[829,4],[1027,4]]},"408":{"position":[[19,4],[32,4],[139,4]]}}}],["itself",{"_index":383,"t":{"410":{"position":[[185,6]]}}}],["javascript",{"_index":403,"t":{"414":{"position":[[9,10]]}}}],["jest",{"_index":56,"t":{"383":{"position":[[123,4]]},"389":{"position":[[532,4]]}}}],["jsx",{"_index":570,"t":{"430":{"position":[[14,3],[172,3]]}}}],["justo",{"_index":659,"t":{"432":{"position":[[1152,5],[1564,5],[2043,5]]}}}],["keep",{"_index":461,"t":{"418":{"position":[[197,4]]}}}],["lacu",{"_index":661,"t":{"432":{"position":[[1208,5]]}}}],["languag",{"_index":408,"t":{"414":{"position":[[97,8]]}}}],["later",{"_index":392,"t":{"410":{"position":[[405,5]]}}}],["leav",{"_index":380,"t":{"410":{"position":[[148,5]]}}}],["lectu",{"_index":618,"t":{"432":{"position":[[387,6],[535,6],[829,6]]}}}],["ler",{"_index":519,"t":{"426":{"position":[[285,3]]}}}],["less",{"_index":441,"t":{"416":{"position":[[330,4]]}}}],["libero",{"_index":639,"t":{"432":{"position":[[704,6],[1484,6],[1509,6],[1600,6]]}}}],["ligula",{"_index":619,"t":{"432":{"position":[[394,6],[1276,6],[1644,6]]}}}],["line",{"_index":414,"t":{"414":{"position":[[220,4]]},"416":{"position":[[269,4]]},"418":{"position":[[64,4],[129,4]]},"422":{"position":[[9,4],[41,4],[136,4],[183,4],[246,4]]}}}],["link",{"_index":376,"t":{"410":{"position":[[20,4],[45,4],[83,4],[128,4],[175,4],[260,5],[388,5]]},"428":{"position":[[10,4],[46,4]]}}}],["list",{"_index":365,"t":{"408":{"position":[[14,4],[51,4],[122,4],[155,4]]},"420":{"position":[[11,4]]}}}],["loborti",{"_index":669,"t":{"432":{"position":[[1497,8]]}}}],["locat",{"_index":220,"t":{"389":{"position":[[356,8]]}}}],["log",{"_index":413,"t":{"414":{"position":[[210,3]]}}}],["logo",{"_index":394,"t":{"412":{"position":[[11,4]]}}}],["long",{"_index":456,"t":{"418":{"position":[[124,4],[231,4]]}}}],["longo",{"_index":526,"t":{"426":{"position":[[349,5]]}}}],["lorem",{"_index":11,"t":{"381":{"position":[[0,5],[152,5]]},"432":{"position":[[0,5],[631,5],[1849,5]]}}}],["m",{"_index":374,"t":{"410":{"position":[[2,1],[27,1],[63,1]]},"426":{"position":[[213,1]]}}}],["mai",{"_index":501,"t":{"426":{"position":[[138,4],[668,4]]}}}],["make",{"_index":437,"t":{"416":{"position":[[247,4]]},"418":{"position":[[213,4]]}}}],["malesuada",{"_index":620,"t":{"432":{"position":[[402,9],[1232,9]]}}}],["markdown",{"_index":338,"t":{"397":{"position":[[44,8]]},"399":{"position":[[41,8]]},"412":{"position":[[167,8]]},"416":{"position":[[260,8],[311,8],[321,8]]},"418":{"position":[[290,8]]},"420":{"position":[[51,8]]},"430":{"position":[[55,8],[150,8]]}}}],["massa",{"_index":597,"t":{"432":{"position":[[183,5],[1052,5],[1245,5],[2028,5]]}}}],["matter",{"_index":370,"t":{"408":{"position":[[78,6]]}}}],["mauri",{"_index":622,"t":{"432":{"position":[[415,6],[574,6],[604,6],[1892,6]]}}}],["mdx",{"_index":574,"t":{"430":{"position":[[74,3]]}}}],["mi",{"_index":624,"t":{"432":{"position":[[443,2]]}}}],["mil",{"_index":539,"t":{"426":{"position":[[442,3],[484,3],[735,3]]}}}],["minus",{"_index":372,"t":{"408":{"position":[[181,7]]}}}],["mock",{"_index":224,"t":{"389":{"position":[[421,6]]}}}],["molesti",{"_index":587,"t":{"432":{"position":[[102,8]]}}}],["molli",{"_index":596,"t":{"432":{"position":[[176,6]]}}}],["morbi",{"_index":651,"t":{"432":{"position":[[960,5]]}}}],["mortalidad",{"_index":560,"t":{"426":{"position":[[687,11]]}}}],["mundo",{"_index":565,"t":{"426":{"position":[[751,5]]}}}],["mycompon",{"_index":182,"t":{"387":{"position":[[192,11],[277,11],[304,11],[392,11],[537,11],[565,11],[612,11]]},"389":{"position":[[641,11],[858,11],[886,11],[933,11],[1152,11]]}}}],["nam",{"_index":598,"t":{"432":{"position":[[203,3],[383,3],[1714,3]]}}}],["nascendo",{"_index":535,"t":{"426":{"position":[[418,8]]}}}],["neat",{"_index":427,"t":{"416":{"position":[[122,4]]}}}],["nec",{"_index":653,"t":{"432":{"position":[[979,3],[1362,3],[1516,3]]}}}],["need",{"_index":436,"t":{"416":{"position":[[239,4]]}}}],["nequ",{"_index":617,"t":{"432":{"position":[[376,5],[983,5],[1725,5]]}}}],["new",{"_index":189,"t":{"387":{"position":[[347,3]]}}}],["newlin",{"_index":472,"t":{"422":{"position":[[85,8],[218,7]]}}}],["next",{"_index":218,"t":{"389":{"position":[[238,4],[382,4],[603,4]]}}}],["nibh",{"_index":599,"t":{"432":{"position":[[210,4],[954,4],[1158,4],[1491,4],[1684,4],[1887,4]]}}}],["nice",{"_index":445,"t":{"416":{"position":[[356,6]]}}}],["nisl",{"_index":648,"t":{"432":{"position":[[863,4],[1340,4],[1665,4],[1875,4],[1944,4]]}}}],["no",{"_index":533,"t":{"426":{"position":[[405,3],[617,3]]}}}],["non",{"_index":595,"t":{"432":{"position":[[172,3],[241,3],[943,3],[1177,3],[1336,3],[1740,3]]}}}],["note",{"_index":475,"t":{"424":{"position":[[13,4]]}}}],["nulla",{"_index":670,"t":{"432":{"position":[[1586,5]]}}}],["nullam",{"_index":586,"t":{"432":{"position":[[95,6],[900,6],[1774,6],[1800,6],[1973,6]]}}}],["number",{"_index":85,"t":{"385":{"position":[[107,6],[118,6],[127,6]]},"408":{"position":[[64,7],[103,6]]},"410":{"position":[[100,7]]}}}],["o",{"_index":483,"t":{"426":{"position":[[10,1],[175,1],[269,1],[369,1],[500,1],[528,1]]}}}],["odio",{"_index":583,"t":{"432":{"position":[[71,4],[489,4],[1221,4],[1400,4],[1810,4]]}}}],["oh",{"_index":459,"t":{"418":{"position":[[184,2],[274,2]]}}}],["on",{"_index":470,"t":{"422":{"position":[[68,3]]}}}],["onchang",{"_index":198,"t":{"387":{"position":[[479,8],[658,8]]}}}],["option",{"_index":435,"t":{"416":{"position":[[215,8]]}}}],["order",{"_index":364,"t":{"408":{"position":[[6,7],[110,7]]}}}],["ornar",{"_index":593,"t":{"432":{"position":[[157,6],[1371,6]]}}}],["os",{"_index":492,"t":{"426":{"position":[[74,2],[81,2],[106,2],[114,2]]}}}],["outer",{"_index":433,"t":{"416":{"position":[[195,5]]}}}],["pa",{"_index":558,"t":{"426":{"position":[[657,2]]}}}],["page",{"_index":342,"t":{"399":{"position":[[23,4]]},"428":{"position":[[66,4]]}}}],["para",{"_index":549,"t":{"426":{"position":[[566,4]]}}}],["paragraph",{"_index":473,"t":{"422":{"position":[[120,9],[160,9],[263,9]]}}}],["part",{"_index":452,"t":{"418":{"position":[[72,4]]}}}],["path",{"_index":400,"t":{"412":{"position":[[126,4],[140,4]]}}}],["pathnam",{"_index":221,"t":{"389":{"position":[[365,8]]}}}],["pellentesqu",{"_index":19,"t":{"381":{"position":[[57,12]]},"432":{"position":[[1002,12],[1164,12]]}}}],["peopl",{"_index":466,"t":{"420":{"position":[[29,6]]}}}],["pharetra",{"_index":663,"t":{"432":{"position":[[1257,8]]}}}],["phasellu",{"_index":625,"t":{"432":{"position":[[447,9],[476,9],[1429,9]]}}}],["pipe",{"_index":434,"t":{"416":{"position":[[201,5]]}}}],["placerat",{"_index":666,"t":{"432":{"position":[[1378,8],[1607,8]]}}}],["plugin",{"_index":322,"t":{"395":{"position":[[38,6]]}}}],["pluse",{"_index":373,"t":{"408":{"position":[[192,6]]}}}],["popula",{"_index":482,"t":{"426":{"position":[[2,6],[167,6],[520,6]]}}}],["populacion",{"_index":530,"t":{"426":{"position":[[383,12]]}}}],["por",{"_index":486,"t":{"426":{"position":[[34,3],[433,3],[475,3],[731,3]]}}}],["porta",{"_index":650,"t":{"432":{"position":[[948,5]]}}}],["porttitor",{"_index":630,"t":{"432":{"position":[[504,9],[853,9]]}}}],["portug",{"_index":556,"t":{"426":{"position":[[639,8]]}}}],["portuguesa",{"_index":484,"t":{"426":{"position":[[12,10]]}}}],["post",{"_index":7,"t":{"379":{"position":[[83,4]]}}}],["posuer",{"_index":641,"t":{"432":{"position":[[742,7],[1021,7],[1392,7],[1529,7]]}}}],["power",{"_index":321,"t":{"395":{"position":[[18,7]]}}}],["praesent",{"_index":611,"t":{"432":{"position":[[316,8]]}}}],["pretti",{"_index":442,"t":{"416":{"position":[[335,6]]}}}],["prettili",{"_index":440,"t":{"416":{"position":[[277,8]]}}}],["print",{"_index":407,"t":{"414":{"position":[[85,5]]}}}],["proin",{"_index":591,"t":{"432":{"position":[[143,5]]}}}],["prop",{"_index":246,"t":{"389":{"position":[[1033,4]]}}}],["properli",{"_index":457,"t":{"418":{"position":[[160,8]]}}}],["provid",{"_index":399,"t":{"412":{"position":[[116,9]]}}}],["pulvinar",{"_index":629,"t":{"432":{"position":[[494,8]]}}}],["puru",{"_index":667,"t":{"432":{"position":[[1447,5],[1966,5]]}}}],["push",{"_index":217,"t":{"389":{"position":[[231,4],[553,4]]}}}],["put",{"_index":465,"t":{"418":{"position":[[286,3]]}}}],["python",{"_index":406,"t":{"414":{"position":[[57,6]]}}}],["quam",{"_index":635,"t":{"432":{"position":[[593,4],[938,4]]}}}],["que",{"_index":543,"t":{"426":{"position":[[502,3],[514,3],[604,3]]}}}],["qui",{"_index":608,"t":{"432":{"position":[[284,4],[346,4],[1251,4],[1323,4]]}}}],["quilom",{"_index":567,"t":{"426":{"position":[[762,6]]}}}],["quot",{"_index":454,"t":{"418":{"position":[[89,5],[96,5],[153,6]]}}}],["raw",{"_index":438,"t":{"416":{"position":[[256,3]]}}}],["react",{"_index":57,"t":{"383":{"position":[[129,5]]},"389":{"position":[[624,5]]},"391":{"position":[[162,5]]},"430":{"position":[[26,5]]}}}],["redux",{"_index":289,"t":{"391":{"position":[[169,5]]}}}],["refer",{"_index":378,"t":{"410":{"position":[[67,9],[112,9],[378,9]]},"412":{"position":[[61,9]]}}}],["rel",{"_index":401,"t":{"412":{"position":[[155,8]]}}}],["render",{"_index":444,"t":{"416":{"position":[[348,7]]}}}],["renovada",{"_index":547,"t":{"426":{"position":[[543,8]]}}}],["repli",{"_index":451,"t":{"418":{"position":[[47,5]]}}}],["resiz",{"_index":185,"t":{"387":{"position":[[233,6],[358,6]]}}}],["return",{"_index":87,"t":{"385":{"position":[[136,6],[192,6]]},"387":{"position":[[464,6]]},"389":{"position":[[740,6]]}}}],["rhoncu",{"_index":24,"t":{"381":{"position":[[107,7]]},"432":{"position":[[1744,7],[1936,7]]}}}],["right",{"_index":421,"t":{"416":{"position":[[62,5]]}}}],["risu",{"_index":588,"t":{"432":{"position":[[123,5],[1767,5]]}}}],["s",{"_index":371,"t":{"408":{"position":[[99,1]]},"412":{"position":[[5,1]]},"414":{"position":[[4,1],[48,1],[52,1],[91,1],[152,1]]},"418":{"position":[[195,1]]},"422":{"position":[[5,1],[233,1]]}}}],["sabem",{"_index":518,"t":{"426":{"position":[[279,5]]}}}],["sagitti",{"_index":644,"t":{"432":{"position":[[788,8],[1419,8],[1547,8]]}}}],["same",{"_index":453,"t":{"418":{"position":[[84,4]]},"422":{"position":[[258,4]]}}}],["sapien",{"_index":671,"t":{"432":{"position":[[1624,6]]}}}],["scelerisqu",{"_index":600,"t":{"432":{"position":[[215,11],[2077,11]]}}}],["scratch",{"_index":362,"t":{"406":{"position":[[193,7]]}}}],["se",{"_index":532,"t":{"426":{"position":[[402,2],[608,2],[660,3]]}}}],["sed",{"_index":640,"t":{"432":{"position":[[738,3],[1078,3],[1388,3],[1543,3],[1950,3]]}}}],["see",{"_index":396,"t":{"412":{"position":[[26,3]]}}}],["sem",{"_index":674,"t":{"432":{"position":[[1818,3]]}}}],["semper",{"_index":612,"t":{"432":{"position":[[325,6],[1329,6]]}}}],["separ",{"_index":429,"t":{"416":{"position":[[162,10]]},"422":{"position":[[49,9],[111,8],[151,8],[196,9],[237,8]]}}}],["ser",{"_index":546,"t":{"426":{"position":[[539,3]]}}}],["serv",{"_index":340,"t":{"399":{"position":[[3,5]]}}}],["setstat",{"_index":236,"t":{"389":{"position":[[716,8]]}}}],["shallow",{"_index":202,"t":{"387":{"position":[[603,7]]},"389":{"position":[[924,7]]}}}],["show",{"_index":390,"t":{"410":{"position":[[364,4]]}}}],["simpl",{"_index":333,"t":{"395":{"position":[[179,6]]}}}],["simpli",{"_index":323,"t":{"395":{"position":[[46,6]]}}}],["singl",{"_index":474,"t":{"422":{"position":[[211,6]]}}}],["sit",{"_index":14,"t":{"381":{"position":[[18,3],[170,3]]},"432":{"position":[[18,3],[649,3],[1836,3],[1910,3],[2034,3]]}}}],["site",{"_index":345,"t":{"399":{"position":[[67,5]]}}}],["situa",{"_index":531,"t":{"426":{"position":[[396,5],[611,5]]}}}],["sodal",{"_index":592,"t":{"432":{"position":[[149,7]]}}}],["sollicitudin",{"_index":634,"t":{"432":{"position":[[551,12],[1092,12]]}}}],["someth",{"_index":244,"t":{"389":{"position":[[963,9]]},"420":{"position":[[19,9]]}}}],["sometim",{"_index":389,"t":{"410":{"position":[[295,9]]},"420":{"position":[[40,9]]}}}],["spec",{"_index":88,"t":{"385":{"position":[[160,4]]},"387":{"position":[[289,4],[549,4]]},"389":{"position":[[289,4],[470,4],[870,4],[1168,4]]}}}],["spyon",{"_index":231,"t":{"389":{"position":[[537,5]]}}}],["spyonhistorypush",{"_index":230,"t":{"389":{"position":[[513,16],[568,16]]}}}],["start",{"_index":469,"t":{"422":{"position":[[24,5]]}}}],["state",{"_index":240,"t":{"389":{"position":[[776,5],[1204,5]]}}}],["still",{"_index":443,"t":{"416":{"position":[[342,5]]},"418":{"position":[[144,5]]}}}],["strikethrough",{"_index":359,"t":{"406":{"position":[[162,13]]}}}],["string",{"_index":195,"t":{"387":{"position":[[438,6]]}}}],["stripe",{"_index":426,"t":{"416":{"position":[[110,7]]}}}],["strong",{"_index":356,"t":{"406":{"position":[[54,6]]}}}],["style",{"_index":343,"t":{"399":{"position":[[33,7]]},"410":{"position":[[14,5],[39,5],[77,5],[122,5]]},"412":{"position":[[54,5],[71,5]]}}}],["sub",{"_index":368,"t":{"408":{"position":[[47,3],[118,3]]}}}],["support",{"_index":326,"t":{"395":{"position":[[89,8]]}}}],["sure",{"_index":462,"t":{"418":{"position":[[218,4]]}}}],["suscipit",{"_index":660,"t":{"432":{"position":[[1181,8]]}}}],["syntax",{"_index":339,"t":{"397":{"position":[[53,6]]},"414":{"position":[[20,6],[64,6],[123,6]]}}}],["t",{"_index":331,"t":{"395":{"position":[[150,1]]},"408":{"position":[[76,1]]},"416":{"position":[[237,1]]}}}],["tabl",{"_index":418,"t":{"416":{"position":[[37,6]]}}}],["tag",{"_index":327,"t":{"395":{"position":[[98,4]]},"414":{"position":[[168,3]]},"420":{"position":[[102,4]]}}}],["tal",{"_index":505,"t":{"426":{"position":[[160,3]]}}}],["taxa",{"_index":522,"t":{"426":{"position":[[309,4],[584,4],[679,4]]}}}],["tellu",{"_index":609,"t":{"432":{"position":[[289,6],[1718,6],[1959,6],[2095,6]]}}}],["tem",{"_index":506,"t":{"426":{"position":[[177,3]]}}}],["tempor",{"_index":25,"t":{"381":{"position":[[121,6]]},"432":{"position":[[1829,6]]}}}],["tempu",{"_index":656,"t":{"432":{"position":[[1116,6],[1702,6],[1980,6]]}}}],["tendo",{"_index":521,"t":{"426":{"position":[[301,5]]}}}],["termo",{"_index":515,"t":{"426":{"position":[[247,6]]}}}],["test",{"_index":6,"t":{"379":{"position":[[78,4]]},"383":{"position":[[51,5]]},"385":{"position":[[169,4]]},"387":{"position":[[298,4],[559,4]]},"389":{"position":[[298,4],[479,4],[880,4]]}}}],["text",{"_index":382,"t":{"410":{"position":[[180,4],[356,4]]},"412":{"position":[[40,4]]},"418":{"position":[[53,4]]}}}],["thank",{"_index":573,"t":{"430":{"position":[[64,6]]}}}],["throw",{"_index":410,"t":{"414":{"position":[[154,5]]}}}],["tild",{"_index":361,"t":{"406":{"position":[[185,6]]}}}],["tip",{"_index":477,"t":{"424":{"position":[[31,3]]}}}],["titl",{"_index":377,"t":{"410":{"position":[[55,5]]},"412":{"position":[[34,5]]}}}],["tobe",{"_index":92,"t":{"385":{"position":[[229,4],[297,4]]},"389":{"position":[[375,4],[1052,4],[1217,4]]}}}],["tobecalledwith",{"_index":232,"t":{"389":{"position":[[586,14]]}}}],["tortor",{"_index":604,"t":{"432":{"position":[[254,6],[1456,6],[1792,6]]}}}],["trica",{"_index":568,"t":{"426":{"position":[[769,6]]}}}],["trigger",{"_index":245,"t":{"389":{"position":[[973,7]]}}}],["tristiqu",{"_index":655,"t":{"432":{"position":[[1067,9],[1266,9],[1300,9],[2003,9]]}}}],["ts",{"_index":83,"t":{"385":{"position":[[87,2],[165,2]]},"387":{"position":[[204,2],[294,2]]},"389":{"position":[[188,2],[294,2],[475,2]]}}}],["tsx",{"_index":191,"t":{"387":{"position":[[404,3],[554,3]]},"389":{"position":[[653,3],[875,3],[1173,3]]}}}],["turn",{"_index":387,"t":{"410":{"position":[[248,6]]}}}],["turpi",{"_index":594,"t":{"432":{"position":[[164,6]]}}}],["two",{"_index":360,"t":{"406":{"position":[[181,3]]},"422":{"position":[[81,3]]}}}],["typescript",{"_index":55,"t":{"383":{"position":[[111,10]]}}}],["ultric",{"_index":668,"t":{"432":{"position":[[1463,8],[1693,8]]}}}],["ultrici",{"_index":22,"t":{"381":{"position":[[90,9]]},"432":{"position":[[189,9]]}}}],["um",{"_index":557,"t":{"426":{"position":[[650,2]]}}}],["underscor",{"_index":355,"t":{"406":{"position":[[41,11],[99,11],[149,11]]}}}],["unit",{"_index":38,"t":{"383":{"position":[[46,4]]}}}],["unord",{"_index":367,"t":{"408":{"position":[[37,9],[145,9]]}}}],["up",{"_index":439,"t":{"416":{"position":[[274,2]]}}}],["url",{"_index":219,"t":{"389":{"position":[[243,3],[387,3],[608,3]]},"410":{"position":[[193,4],[202,4]]}}}],["urna",{"_index":631,"t":{"432":{"position":[[514,4],[755,4],[808,4]]}}}],["us",{"_index":335,"t":{"397":{"position":[[22,5]]},"406":{"position":[[176,4]]},"408":{"position":[[164,3]]},"410":{"position":[[96,3],[167,3]]},"412":{"position":[[108,4]]},"416":{"position":[[14,4],[300,3]]},"420":{"position":[[36,3],[93,3]]},"430":{"position":[[22,3]]}}}],["ut",{"_index":626,"t":{"432":{"position":[[457,2],[1481,2],[2000,2]]}}}],["valid",{"_index":234,"t":{"389":{"position":[[684,5],[727,5],[782,5],[791,5],[1210,5]]}}}],["valu",{"_index":194,"t":{"387":{"position":[[431,5],[676,5]]}}}],["var",{"_index":402,"t":{"414":{"position":[[0,3]]}}}],["variu",{"_index":675,"t":{"432":{"position":[[1822,6]]}}}],["vel",{"_index":642,"t":{"432":{"position":[[760,3],[1204,3],[1845,3]]}}}],["velit",{"_index":614,"t":{"432":{"position":[[340,5],[1015,5],[1142,5]]}}}],["veri",{"_index":447,"t":{"418":{"position":[[16,4],[119,4]]},"420":{"position":[[82,4]]}}}],["vida",{"_index":511,"t":{"426":{"position":[[222,4]]}}}],["vindo",{"_index":507,"t":{"426":{"position":[[181,5],[331,5]]}}}],["vita",{"_index":636,"t":{"432":{"position":[[598,5],[893,5],[907,5],[1922,5],[2089,5]]}}}],["vivamu",{"_index":605,"t":{"432":{"position":[[262,7],[773,7],[1346,7],[1652,7]]}}}],["void",{"_index":196,"t":{"387":{"position":[[447,4]]},"389":{"position":[[216,4],[701,4]]}}}],["volutpat",{"_index":606,"t":{"432":{"position":[[270,8],[884,8]]}}}],["vulput",{"_index":647,"t":{"432":{"position":[[843,9],[1900,9]]}}}],["wangshenwei",{"_index":34,"t":{"383":{"position":[[17,11]]}}}],["want",{"_index":332,"t":{"395":{"position":[[152,4]]}}}],["warn",{"_index":481,"t":{"424":{"position":[[84,7],[102,7]]}}}],["welcom",{"_index":0,"t":{"379":{"position":[[0,7]]}}}],["well",{"_index":328,"t":{"395":{"position":[[106,4]]},"420":{"position":[[87,4]]}}}],["whole",{"_index":8,"t":{"379":{"position":[[91,5]]},"395":{"position":[[123,5]]}}}],["window",{"_index":183,"t":{"387":{"position":[[208,6],[326,6]]}}}],["within",{"_index":572,"t":{"430":{"position":[[43,6]]}}}],["work",{"_index":468,"t":{"420":{"position":[[77,4]]}}}],["wrap",{"_index":458,"t":{"418":{"position":[[177,5],[255,4]]}}}],["wrapper",{"_index":201,"t":{"387":{"position":[[593,7],[629,7]]},"389":{"position":[[914,7],[1009,7],[1185,7]]}}}],["write",{"_index":36,"t":{"383":{"position":[[33,7]]},"397":{"position":[[8,5]]},"418":{"position":[[202,7]]},"430":{"position":[[8,5],[144,5]]}}}],["www",{"_index":388,"t":{"410":{"position":[[274,3]]}}}],["zebra",{"_index":425,"t":{"416":{"position":[[104,5]]}}}],["一个",{"_index":74,"t":{"385":{"position":[[32,2],[69,2]]},"387":{"position":[[179,2],[382,2]]},"389":{"position":[[163,2],[621,2],[1139,2]]},"391":{"position":[[196,2]]}}}],["万物",{"_index":39,"t":{"383":{"position":[[61,2]]}}}],["三条",{"_index":312,"t":{"393":{"position":[[15,2]]}}}],["上述",{"_index":104,"t":{"385":{"position":[[332,2]]}}}],["下来",{"_index":311,"t":{"393":{"position":[[11,2]]}}}],["不再",{"_index":123,"t":{"385":{"position":[[434,2]]}}}],["不同",{"_index":147,"t":{"385":{"position":[[575,2],[585,2]]},"393":{"position":[[34,2]]}}}],["不断",{"_index":264,"t":{"391":{"position":[[39,2],[50,2]]}}}],["不是",{"_index":253,"t":{"389":{"position":[[1115,2],[1129,2]]}}}],["业务",{"_index":99,"t":{"385":{"position":[[317,2]]},"391":{"position":[[35,2]]}}}],["中",{"_index":211,"t":{"389":{"position":[[63,1]]}}}],["主动",{"_index":186,"t":{"387":{"position":[[263,2],[520,2]]}}}],["主流",{"_index":291,"t":{"391":{"position":[[176,2]]}}}],["主要",{"_index":53,"t":{"383":{"position":[[106,2]]}}}],["之后",{"_index":134,"t":{"385":{"position":[[505,2]]}}}],["事件",{"_index":114,"t":{"385":{"position":[[368,2]]},"387":{"position":[[55,2],[64,2],[99,2],[153,2],[170,2],[269,2],[517,2],[529,2]]}}}],["从而",{"_index":303,"t":{"391":{"position":[[226,2]]}}}],["以上",{"_index":315,"t":{"393":{"position":[[64,2]]}}}],["以下",{"_index":51,"t":{"383":{"position":[[103,2]]},"387":{"position":[[35,2]]},"389":{"position":[[31,2]]}}}],["任务",{"_index":177,"t":{"387":{"position":[[145,2]]}}}],["例子",{"_index":81,"t":{"385":{"position":[[75,2],[334,2]]},"387":{"position":[[184,2],[384,2]]},"389":{"position":[[168,2],[633,2],[1144,2]]}}}],["依次",{"_index":164,"t":{"387":{"position":[[79,2]]},"389":{"position":[[75,2]]}}}],["依然",{"_index":181,"t":{"387":{"position":[[176,2]]}}}],["依赖",{"_index":159,"t":{"387":{"position":[[50,2],[510,2],[524,2]]},"389":{"position":[[54,2],[417,2],[845,2]]}}}],["信心",{"_index":309,"t":{"391":{"position":[[250,2]]}}}],["值",{"_index":213,"t":{"389":{"position":[[121,1]]}}}],["做",{"_index":143,"t":{"385":{"position":[[554,1]]},"387":{"position":[[159,1]]},"389":{"position":[[139,1]]}}}],["備",{"_index":29,"t":{"383":{"position":[[0,1]]},"424":{"position":[[0,1]]}}}],["充分",{"_index":80,"t":{"385":{"position":[[61,2]]}}}],["关于",{"_index":61,"t":{"383":{"position":[[148,2]]}}}],["关键",{"_index":278,"t":{"391":{"position":[[106,2]]}}}],["其中",{"_index":298,"t":{"391":{"position":[[194,2]]}}}],["其它",{"_index":167,"t":{"387":{"position":[[90,2]]},"389":{"position":[[86,2]]}}}],["其实",{"_index":68,"t":{"385":{"position":[[11,2]]}}}],["内容",{"_index":316,"t":{"393":{"position":[[66,2]]}}}],["内部",{"_index":254,"t":{"389":{"position":[[1117,2],[1124,2]]},"391":{"position":[[46,2]]}}}],["几种",{"_index":157,"t":{"387":{"position":[[37,2]]},"389":{"position":[[33,2]]}}}],["函数",{"_index":110,"t":{"385":{"position":[[354,2],[394,2],[441,2]]}}}],["分开",{"_index":149,"t":{"385":{"position":[[599,2]]}}}],["判断",{"_index":243,"t":{"389":{"position":[[843,2]]}}}],["前端",{"_index":280,"t":{"391":{"position":[[113,2]]}}}],["前面",{"_index":140,"t":{"385":{"position":[[526,2]]}}}],["副作用",{"_index":120,"t":{"385":{"position":[[409,3]]},"387":{"position":[[113,3]]},"389":{"position":[[97,3],[132,3],[150,3],[263,3],[400,3],[437,3],[1091,3]]}}}],["办法",{"_index":179,"t":{"387":{"position":[[164,2]]},"389":{"position":[[144,2]]}}}],["化",{"_index":281,"t":{"391":{"position":[[117,1]]}}}],["化繁为简",{"_index":137,"t":{"385":{"position":[[513,4]]}}}],["单一化",{"_index":302,"t":{"391":{"position":[[222,3]]}}}],["单元",{"_index":102,"t":{"385":{"position":[[328,2]]},"391":{"position":[[142,2],[210,2]]}}}],["单元测试",{"_index":44,"t":{"383":{"position":[[80,4],[98,4],[150,4]]},"385":{"position":[[2,4],[36,4],[246,4],[547,4]]},"391":{"position":[[22,4],[76,4],[232,4]]},"393":{"position":[[5,4]]}}}],["单向",{"_index":295,"t":{"391":{"position":[[186,2]]}}}],["即可",{"_index":175,"t":{"387":{"position":[[136,2]]},"389":{"position":[[122,2]]}}}],["厘清",{"_index":145,"t":{"385":{"position":[[558,2]]}}}],["原因",{"_index":299,"t":{"391":{"position":[[198,2]]}}}],["参数",{"_index":111,"t":{"385":{"position":[[358,2]]},"387":{"position":[[45,2],[123,2],[134,2]]}}}],["发送",{"_index":160,"t":{"387":{"position":[[52,2],[265,2]]}}}],["变化",{"_index":209,"t":{"389":{"position":[[49,2],[850,2]]}}}],["变得",{"_index":286,"t":{"391":{"position":[[150,2]]}}}],["变量",{"_index":158,"t":{"387":{"position":[[43,2],[121,2]]},"389":{"position":[[39,2],[105,2]]}}}],["另外",{"_index":249,"t":{"389":{"position":[[1098,2]]}}}],["可以",{"_index":136,"t":{"385":{"position":[[511,2]]},"387":{"position":[[10,2],[93,2],[103,2]]},"389":{"position":[[10,2],[89,2],[259,2],[432,2]]},"391":{"position":[[12,2],[135,2]]}}}],["可能",{"_index":112,"t":{"385":{"position":[[362,2],[402,2],[454,2]]}}}],["各个",{"_index":301,"t":{"391":{"position":[[208,2]]}}}],["合理",{"_index":284,"t":{"391":{"position":[[127,2]]}}}],["同时",{"_index":305,"t":{"391":{"position":[[240,2]]}}}],["回归",{"_index":139,"t":{"385":{"position":[[523,2]]}}}],["因为",{"_index":256,"t":{"389":{"position":[[1122,2]]}}}],["因此",{"_index":115,"t":{"385":{"position":[[371,2],[413,2]]}}}],["因素",{"_index":128,"t":{"385":{"position":[[467,2]]}}}],["地",{"_index":207,"t":{"389":{"position":[[15,1],[116,1]]},"391":{"position":[[17,1],[206,1]]}}}],["场景",{"_index":78,"t":{"385":{"position":[[56,2],[319,2],[379,2]]},"387":{"position":[[24,2]]}}}],["基于",{"_index":54,"t":{"383":{"position":[[108,2]]}}}],["基本",{"_index":66,"t":{"385":{"position":[[7,2],[532,2]]}}}],["基本概念",{"_index":62,"t":{"383":{"position":[[155,4]]}}}],["增大",{"_index":165,"t":{"387":{"position":[[81,2]]},"389":{"position":[[77,2]]}}}],["增长",{"_index":265,"t":{"391":{"position":[[41,2]]}}}],["复杂",{"_index":105,"t":{"385":{"position":[[336,2],[346,2],[386,2]]}}}],["复杂化",{"_index":267,"t":{"391":{"position":[[52,3]]}}}],["复杂度",{"_index":163,"t":{"387":{"position":[[76,3]]},"389":{"position":[[72,3]]}}}],["外界",{"_index":170,"t":{"387":{"position":[[110,2]]},"389":{"position":[[94,2],[129,2],[1088,2]]}}}],["外部",{"_index":113,"t":{"385":{"position":[[365,2],[465,2]]},"387":{"position":[[48,2],[97,2],[151,2]]},"389":{"position":[[52,2]]}}}],["多",{"_index":106,"t":{"385":{"position":[[339,1]]},"387":{"position":[[22,1]]}}}],["多样化",{"_index":269,"t":{"391":{"position":[[67,3]]}}}],["大家",{"_index":317,"t":{"393":{"position":[[69,2]]}}}],["大致",{"_index":156,"t":{"387":{"position":[[32,2]]},"389":{"position":[[28,2]]}}}],["大道至简",{"_index":41,"t":{"383":{"position":[[66,4]]}}}],["如下",{"_index":95,"t":{"385":{"position":[[253,2]]}}}],["如今",{"_index":279,"t":{"391":{"position":[[110,2]]}}}],["如何",{"_index":48,"t":{"383":{"position":[[91,2]]},"387":{"position":[[258,2],[506,2]]},"389":{"position":[[252,2],[838,2]]}}}],["始",{"_index":40,"t":{"383":{"position":[[64,1]]}}}],["始终",{"_index":247,"t":{"389":{"position":[[1073,2]]}}}],["它们",{"_index":150,"t":{"385":{"position":[[603,2]]},"387":{"position":[[73,2]]},"389":{"position":[[65,2]]},"391":{"position":[[202,2]]}}}],["完成",{"_index":176,"t":{"387":{"position":[[138,2]]}}}],["实际",{"_index":261,"t":{"391":{"position":[[30,2]]}}}],["容易",{"_index":206,"t":{"389":{"position":[[13,2]]},"391":{"position":[[15,2]]}}}],["对",{"_index":212,"t":{"389":{"position":[[64,1],[93,1],[128,1],[1087,1]]},"393":{"position":[[68,1]]}}}],["对于",{"_index":171,"t":{"387":{"position":[[117,2],[149,2]]},"389":{"position":[[101,2],[126,2]]}}}],["对外",{"_index":252,"t":{"389":{"position":[[1108,2]]}}}],["对外部",{"_index":119,"t":{"385":{"position":[[405,3],[486,3]]}}}],["对象",{"_index":126,"t":{"385":{"position":[[460,2],[481,2],[562,2]]},"389":{"position":[[1082,2],[1133,2]]},"393":{"position":[[23,2]]}}}],["将",{"_index":52,"t":{"383":{"position":[[105,1]]},"385":{"position":[[451,1],[476,1],[518,1],[598,1]]}}}],["少",{"_index":153,"t":{"387":{"position":[[14,1]]},"391":{"position":[[153,1]]}}}],["尝试",{"_index":42,"t":{"383":{"position":[[74,2]]}}}],["尤为重要",{"_index":283,"t":{"391":{"position":[[122,4]]}}}],["就",{"_index":135,"t":{"385":{"position":[[510,1]]}}}],["就是",{"_index":144,"t":{"385":{"position":[[556,2]]},"387":{"position":[[161,2]]},"389":{"position":[[141,2]]},"391":{"position":[[200,2]]},"393":{"position":[[13,2]]}}}],["工具",{"_index":293,"t":{"391":{"position":[[181,2]]}}}],["巧妙",{"_index":300,"t":{"391":{"position":[[204,2]]}}}],["希望",{"_index":314,"t":{"393":{"position":[[62,2]]}}}],["帮助",{"_index":319,"t":{"393":{"position":[[73,2]]}}}],["应该",{"_index":251,"t":{"389":{"position":[[1105,2]]}}}],["当然",{"_index":97,"t":{"385":{"position":[[312,2]]}}}],["形式",{"_index":148,"t":{"385":{"position":[[577,2],[587,2]]},"391":{"position":[[61,2]]}}}],["形态",{"_index":208,"t":{"389":{"position":[[26,2]]},"391":{"position":[[63,2]]},"393":{"position":[[36,2]]}}}],["影响",{"_index":125,"t":{"385":{"position":[[456,2],[492,2]]},"389":{"position":[[154,2],[267,2],[404,2],[1094,2],[1111,2]]},"391":{"position":[[220,2]]}}}],["往往",{"_index":260,"t":{"391":{"position":[[28,2]]}}}],["思想",{"_index":45,"t":{"383":{"position":[[84,2]]}}}],["总结",{"_index":310,"t":{"393":{"position":[[9,2]]}}}],["情况",{"_index":262,"t":{"391":{"position":[[32,2]]}}}],["想",{"_index":178,"t":{"387":{"position":[[163,1]]},"389":{"position":[[143,1]]}}}],["我们",{"_index":93,"t":{"385":{"position":[[242,2],[322,2],[449,2],[508,2],[596,2]]},"387":{"position":[[8,2],[126,2],[156,2],[174,2]]},"389":{"position":[[8,2],[110,2],[136,2],[158,2],[257,2],[430,2]]},"391":{"position":[[10,2]]}}}],["或者",{"_index":223,"t":{"389":{"position":[[414,2]]}}}],["所以",{"_index":141,"t":{"385":{"position":[[540,2]]}}}],["所有",{"_index":117,"t":{"385":{"position":[[377,2],[452,2],[477,2]]}}}],["拆分",{"_index":275,"t":{"391":{"position":[[96,2],[129,2]]},"393":{"position":[[59,2]]}}}],["掌握",{"_index":146,"t":{"385":{"position":[[571,2]]},"393":{"position":[[32,2]]}}}],["探讨",{"_index":47,"t":{"383":{"position":[[89,2]]}}}],["推崇",{"_index":294,"t":{"391":{"position":[[183,2]]}}}],["提到",{"_index":122,"t":{"385":{"position":[[426,2],[528,2]]}}}],["提升",{"_index":306,"t":{"391":{"position":[[242,2]]}}}],["提示",{"_index":476,"t":{"424":{"position":[[18,2]]}}}],["操作",{"_index":162,"t":{"387":{"position":[[62,2]]}}}],["数据流",{"_index":296,"t":{"391":{"position":[[188,3]]}}}],["断言",{"_index":72,"t":{"385":{"position":[[26,2],[66,2],[280,2],[417,2],[583,2]]},"389":{"position":[[16,2],[69,2],[117,2],[146,2],[254,2],[261,2],[411,2],[840,2],[1078,2],[1100,2]]},"393":{"position":[[47,2]]}}}],["方法",{"_index":67,"t":{"385":{"position":[[9,2],[535,2],[593,2]]},"393":{"position":[[50,2]]}}}],["时",{"_index":308,"t":{"391":{"position":[[248,1]]}}}],["时间",{"_index":154,"t":{"387":{"position":[[16,2]]}}}],["是不是",{"_index":96,"t":{"385":{"position":[[305,3]]}}}],["是否",{"_index":228,"t":{"389":{"position":[[444,2]]}}}],["普通",{"_index":109,"t":{"385":{"position":[[351,2],[391,2]]},"387":{"position":[[41,2],[119,2]]},"389":{"position":[[37,2],[103,2]]}}}],["更",{"_index":152,"t":{"387":{"position":[[13,1],[21,1]]},"389":{"position":[[12,1]]},"391":{"position":[[0,1],[14,1],[152,1],[155,1]]}}}],["更加",{"_index":107,"t":{"385":{"position":[[344,2],[384,2]]},"391":{"position":[[65,2]]}}}],["有所",{"_index":318,"t":{"393":{"position":[[71,2]]}}}],["有时",{"_index":222,"t":{"389":{"position":[[398,2]]}}}],["本文",{"_index":31,"t":{"383":{"position":[[3,2],[72,2],[165,2]]}}}],["来源",{"_index":155,"t":{"387":{"position":[[30,2]]},"391":{"position":[[215,2]]}}}],["来自",{"_index":169,"t":{"387":{"position":[[108,2]]}}}],["构造",{"_index":173,"t":{"387":{"position":[[130,2]]}}}],["框架",{"_index":292,"t":{"391":{"position":[[178,2]]}}}],["模式",{"_index":282,"t":{"391":{"position":[[119,2]]}}}],["正确",{"_index":229,"t":{"389":{"position":[[447,2]]}}}],["步骤",{"_index":94,"t":{"385":{"position":[[251,2]]}}}],["每个",{"_index":285,"t":{"391":{"position":[[138,2]]}}}],["测试",{"_index":101,"t":{"385":{"position":[[325,2],[458,2],[479,2],[519,2],[560,2]]},"387":{"position":[[69,2]]},"389":{"position":[[61,2],[1080,2],[1131,2]]},"391":{"position":[[140,2]]},"393":{"position":[[21,2]]}}}],["点",{"_index":227,"t":{"389":{"position":[[443,1]]}}}],["特定",{"_index":200,"t":{"387":{"position":[[515,2]]}}}],["状态",{"_index":255,"t":{"389":{"position":[[1119,2],[1126,2]]}}}],["狭义",{"_index":124,"t":{"385":{"position":[[437,2]]}}}],["理解",{"_index":133,"t":{"385":{"position":[[503,2]]},"387":{"position":[[105,2]]}}}],["监视",{"_index":226,"t":{"389":{"position":[[434,2]]}}}],["盛行",{"_index":297,"t":{"391":{"position":[[191,2]]}}}],["目标",{"_index":250,"t":{"389":{"position":[[1103,2]]}}}],["看作",{"_index":168,"t":{"387":{"position":[[95,2]]},"389":{"position":[[91,2]]}}}],["真实",{"_index":98,"t":{"385":{"position":[[315,2]]}}}],["着手",{"_index":46,"t":{"383":{"position":[[86,2]]}}}],["示例",{"_index":60,"t":{"383":{"position":[[145,2]]}}}],["称之为",{"_index":130,"t":{"385":{"position":[[470,3],[495,3]]}}}],["第一个",{"_index":166,"t":{"387":{"position":[[86,3]]},"389":{"position":[[82,3]]}}}],["等",{"_index":290,"t":{"391":{"position":[[175,1]]}}}],["简单",{"_index":43,"t":{"383":{"position":[[77,2]]},"385":{"position":[[14,2],[45,2],[72,2],[309,2]]},"387":{"position":[[2,2],[181,2]]},"389":{"position":[[2,2],[114,2],[165,2]]},"391":{"position":[[1,2]]}}}],["组件",{"_index":199,"t":{"387":{"position":[[512,2],[526,2]]},"389":{"position":[[630,2],[847,2]]},"391":{"position":[[44,2],[72,2],[115,2],[133,2],[244,2]]}}}],["结果",{"_index":118,"t":{"385":{"position":[[398,2],[421,2]]},"389":{"position":[[20,2],[269,2],[407,2]]}}}],["给出",{"_index":59,"t":{"383":{"position":[[143,2]]}}}],["给定",{"_index":69,"t":{"385":{"position":[[18,2],[257,2]]},"387":{"position":[[140,2]]}}}],["继续",{"_index":214,"t":{"389":{"position":[[160,2]]}}}],["编写",{"_index":49,"t":{"383":{"position":[[93,2]]},"385":{"position":[[0,2],[244,2],[542,2]]},"387":{"position":[[67,2]]},"391":{"position":[[18,2],[74,2],[230,2]]},"393":{"position":[[0,2]]}}}],["聚焦",{"_index":287,"t":{"391":{"position":[[156,2]]}}}],["良好",{"_index":50,"t":{"383":{"position":[[95,2]]},"385":{"position":[[544,2]]},"393":{"position":[[2,2]]}}}],["花",{"_index":151,"t":{"387":{"position":[[12,1]]}}}],["范围",{"_index":65,"t":{"383":{"position":[[169,2]]}}}],["行为",{"_index":127,"t":{"385":{"position":[[462,2]]}}}],["要",{"_index":100,"t":{"385":{"position":[[324,1],[553,1]]},"387":{"position":[[158,1]]},"389":{"position":[[138,1],[1077,1]]}}}],["要求",{"_index":75,"t":{"385":{"position":[[41,2]]}}}],["覆盖",{"_index":76,"t":{"385":{"position":[[49,2],[375,2],[573,2]]},"387":{"position":[[19,2],[71,2],[260,2],[508,2]]},"393":{"position":[[42,2]]}}}],["解决",{"_index":276,"t":{"391":{"position":[[99,2]]}}}],["触发",{"_index":180,"t":{"387":{"position":[[166,2],[522,2]]},"389":{"position":[[441,2]]}}}],["註",{"_index":30,"t":{"383":{"position":[[1,1]]},"424":{"position":[[1,1]]}}}],["警告",{"_index":479,"t":{"424":{"position":[[63,2]]}}}],["讨论",{"_index":64,"t":{"383":{"position":[[167,2]]},"385":{"position":[[601,2]]}}}],["记得",{"_index":248,"t":{"389":{"position":[[1075,2]]}}}],["识别",{"_index":313,"t":{"393":{"position":[[19,2]]}}}],["诸如",{"_index":288,"t":{"391":{"position":[[159,2]]}}}],["调用",{"_index":210,"t":{"389":{"position":[[57,2],[449,2]]}}}],["足够",{"_index":77,"t":{"385":{"position":[[51,2]]},"387":{"position":[[0,2]]},"389":{"position":[[0,2]]}}}],["转载自",{"_index":32,"t":{"383":{"position":[[5,3]]}}}],["输入",{"_index":70,"t":{"385":{"position":[[20,2],[54,2],[259,2],[342,2],[356,2],[429,2],[443,2],[473,2],[565,2],[580,2]]},"387":{"position":[[5,2],[27,2],[142,2]]},"391":{"position":[[4,2],[213,2]]},"393":{"position":[[26,2],[40,2]]}}}],["输入输出",{"_index":268,"t":{"391":{"position":[[56,4],[145,4]]}}}],["输出",{"_index":73,"t":{"385":{"position":[[28,2],[64,2],[282,2],[382,2],[396,2],[432,2],[446,2],[498,2],[568,2],[590,2]]},"389":{"position":[[5,2],[23,2],[41,2],[107,2],[1136,2]]},"391":{"position":[[7,2],[218,2]]},"393":{"position":[[29,2],[45,2]]}}}],["过程",{"_index":138,"t":{"385":{"position":[[521,2]]}}}],["运行",{"_index":71,"t":{"385":{"position":[[23,2],[267,2],[419,2],[483,2]]},"389":{"position":[[18,2],[1084,2]]}}}],["这个",{"_index":187,"t":{"387":{"position":[[267,2]]},"391":{"position":[[101,2]]}}}],["这些",{"_index":174,"t":{"387":{"position":[[132,2],[168,2]]},"389":{"position":[[148,2]]}}}],["这样",{"_index":132,"t":{"385":{"position":[[501,2]]}}}],["这里",{"_index":121,"t":{"385":{"position":[[424,2]]}}}],["进行",{"_index":79,"t":{"385":{"position":[[59,2]]},"389":{"position":[[67,2]]}}}],["远",{"_index":103,"t":{"385":{"position":[[330,1]]}}}],["适时地",{"_index":273,"t":{"391":{"position":[[90,3]]},"393":{"position":[[53,3]]}}}],["造成",{"_index":131,"t":{"385":{"position":[[489,2]]}}}],["逻辑",{"_index":266,"t":{"391":{"position":[[48,2]]}}}],["那么",{"_index":225,"t":{"389":{"position":[[428,2]]}}}],["都",{"_index":129,"t":{"385":{"position":[[469,1],[494,1]]},"387":{"position":[[92,1]]},"389":{"position":[[88,1]]},"391":{"position":[[149,1]]}}}],["重构",{"_index":274,"t":{"391":{"position":[[93,2]]},"393":{"position":[[56,2]]}}}],["重要性",{"_index":63,"t":{"383":{"position":[[160,3]]}}}],["错误",{"_index":257,"t":{"389":{"position":[[1141,2]]}}}],["问题",{"_index":277,"t":{"391":{"position":[[103,2]]}}}],["降低",{"_index":304,"t":{"391":{"position":[[228,2]]}}}],["陡增",{"_index":272,"t":{"391":{"position":[[86,2]]}}}],["除了",{"_index":108,"t":{"385":{"position":[[349,2],[389,2]]},"387":{"position":[[84,2]]},"389":{"position":[[80,2]]}}}],["随之",{"_index":271,"t":{"391":{"position":[[84,2]]}}}],["难以",{"_index":116,"t":{"385":{"position":[[373,2],[415,2]]},"389":{"position":[[409,2]]}}}],["难度",{"_index":270,"t":{"391":{"position":[[81,2],[237,2]]}}}],["集成",{"_index":307,"t":{"391":{"position":[[246,2]]}}}],["需",{"_index":172,"t":{"387":{"position":[[129,1]]},"389":{"position":[[113,1]]}}}],["需求",{"_index":263,"t":{"391":{"position":[[37,2]]}}}],["首先",{"_index":142,"t":{"385":{"position":[[551,2]]}}}]],"pipeline":["stemmer"]}}] \ No newline at end of file diff --git a/zh-TW/search/index.html b/zh-TW/search/index.html new file mode 100644 index 00000000..fa5ebfab --- /dev/null +++ b/zh-TW/search/index.html @@ -0,0 +1,14 @@ + + + + + +Search the documentation + + + + + + + + \ No newline at end of file diff --git a/zh-TW/sitemap.xml b/zh-TW/sitemap.xml new file mode 100644 index 00000000..1b86d098 --- /dev/null +++ b/zh-TW/sitemap.xml @@ -0,0 +1 @@ +https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blogweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/archiveweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/hello-worldweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/tags/docusaurusweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/tags/facebookweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/tags/helloweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/tags/holaweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/welcomeweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/blog/writing-good-unit-testsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/searchweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tagsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tags/front-matterweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tags/keywordsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tags/testweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/category/tutorial---basicsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/category/tutorial---extrasweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/introweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/congratulationsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-blog-postweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-documentweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/create-a-pageweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/deploy-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-basics/markdown-featuresweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/manage-docs-versionsweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/next/tutorial-extras/translate-your-siteweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/doc-in-ptweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/doc2weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/doc3weekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/docs/mdxweekly0.5https://easyops-cn.github.io/docusaurus-search-local/zh-TW/weekly0.5 \ No newline at end of file