1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7920],{7239:(e,t,a)=>{a.d(t,{c:()=>u});var r=a(2784),n=a(7614);const s=["zero","one","two","few","many","other"];function l(e){return s.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:l(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,r.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`),c}}),[e])}function u(){const e=o();return{selectMessage:(t,a)=>function(e,t,a){const r=e.split("|");if(1===r.length)return r[0];r.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const n=a.select(t),s=a.pluralForms.indexOf(n);return r[Math.min(s,r.length-1)]}(a,t,e)}}},3042:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var r=a(2784),n=a(7614),s=a(7616),l=a(9854),c=a(9817),o=a(1077),u=a(7239),m=a(6277),h=a(7267),i=a(1263);const p=function(){const e=(0,h.k6)(),t=(0,h.TH)(),{siteConfig:{baseUrl:a}}=(0,n.Z)(),r=i.Z.canUseDOM?new URLSearchParams(t.search):null,s=r?.get("q")||"",l=r?.get("ctx")||"",c=r?.get("version")||"",o=e=>{const a=new URLSearchParams(t.search);return e?a.set("q",e):a.delete("q"),a};return{searchValue:s,searchContext:l,searchVersion:c,updateSearchPath:t=>{const a=o(t);e.replace({search:a.toString()})},updateSearchContext:a=>{const r=new URLSearchParams(t.search);r.set("ctx",a),e.replace({search:r.toString()})},generateSearchPageLink:e=>{const t=o(e);return`${a}search?${t.toString()}`}}};var g=a(7572),d=a(8581),f=a(8553),y=a(2250),E=a(9875),S=a(0),I=a(489),w=a(8061);const v={searchVersionInput:"searchVersionInput_FpA2",searchQueryInput:"searchQueryInput_u9T3",searchResultItem:"searchResultItem_VQmd",searchResultItemPath:"searchResultItemPath_qzHo",searchResultItemSummary:"searchResultItemSummary_yaMU"};function R(){const{siteConfig:{baseUrl:e}}=(0,n.Z)(),{selectMessage:t}=(0,u.c)(),{searchValue:a,searchContext:s,searchVersion:c,updateSearchPath:h,updateSearchContext:i}=p(),[f,y]=(0,r.useState)(a),[E,I]=(0,r.useState)(),[R,x]=(0,r.useState)(),C=`${e}${c}`,b=(0,r.useMemo)((()=>f?(0,o.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:f}):(0,o.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[f]);(0,r.useEffect)((()=>{h(f),E&&(f?E(f,(e=>{x(e)})):x(void 0))}),[f,E]);const F=(0,r.useCallback)((e=>{y(e.target.value)}),[]);return(0,r.useEffect)((()=>{a&&a!==f&&y(a)}),[a]),(0,r.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=await(0,g.w)(C,s);I((()=>(0,d.v)(e,t,100)))}()}),[s,C]),r.createElement(r.Fragment,null,r.createElement(l.Z,null,r.createElement("meta",{property:"robots",content:"noindex, follow"}),r.createElement("title",null,b)),r.createElement("div",{className:"container margin-vert--lg"},r.createElement("h1",null,b),r.createElement("div",{className:"row"},r.createElement("div",{className:(0,m.Z)("col",v.searchQueryColumn,{"col--9":Array.isArray(w.Kc),"col--12":!Array.isArray(w.Kc)})},r.createElement("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:F,value:f,autoComplete:"off",autoFocus:!0})),Array.isArray(w.Kc)?r.createElement("div",{className:(0,m.Z)("col","col--3","padding-left--none",v.searchVersionColumn)},r.createElement("select",{name:"search-context",className:v.searchVersionInput,id:"context-selector",value:s,onChange:e=>i(e.target.value)},r.createElement("option",{value:""},w.pQ?(0,o.I)({id:"theme.SearchPage.searchContext.everywhere",message:"everywhere"}):""),w.Kc.map((e=>r.createElement("option",{key:e,value:e},e))))):null),!E&&f&&r.createElement("div",null,r.createElement(S.Z,null)),R&&(R.length>0?r.createElement("p",null,t(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}))):r.createElement("p",null,(0,o.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"}))),r.createElement("section",null,R&&R.map((e=>r.createElement(P,{key:e.document.i,searchResult:e}))))))}function P({searchResult:{document:e,type:t,page:a,tokens:n,metadata:s}}){const l=0===t,o=2===t,u=(l?e.b:a.b).slice(),m=o?e.s:e.t;l||u.push(a.t);let h="";if(w.vc&&n.length>0){const e=new URLSearchParams;for(const t of n)e.append("_highlight",t);h=`?${e.toString()}`}return r.createElement("article",{className:v.searchResultItem},r.createElement("h2",null,r.createElement(c.Z,{to:e.u+h+(e.h||""),dangerouslySetInnerHTML:{__html:o?(0,f.C)(m,n):(0,y.o)(m,(0,E.m)(s,"t"),n,100)}})),u.length>0&&r.createElement("p",{className:v.searchResultItemPath},(0,I.e)(u)),o&&r.createElement("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,y.o)(e.t,(0,E.m)(s,"t"),n,100)}}))}const x=function(){return r.createElement(s.Z,null,r.createElement(R,null))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.