You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/assets/app.977e81c1.js

39 lines
366 KiB
JavaScript

const wm="modulepreload",Pm=function(e){return"/"+e},wa={},d=function(t,n,o){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=Pm(r),r in wa)return;wa[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${a}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":wm,i||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),i)return new Promise((c,l)=>{s.addEventListener("load",c),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},Am={"v-8daa1a0e":()=>d(()=>import("./index.html.9412a900.js"),[]).then(({data:e})=>e),"v-2d0a870d":()=>d(()=>import("./index.html.3c03373d.js"),[]).then(({data:e})=>e),"v-7445f070":()=>d(()=>import("./index.html.31581b5f.js"),[]).then(({data:e})=>e),"v-0d09f68d":()=>d(()=>import("./advanced-use.html.3876077d.js"),[]).then(({data:e})=>e),"v-46e53834":()=>d(()=>import("./advice-class.html.e0d4601b.js"),[]).then(({data:e})=>e),"v-37178538":()=>d(()=>import("./agent.html.ea7c22e0.js"),[]).then(({data:e})=>e),"v-5c517900":()=>d(()=>import("./arthas-properties.html.4eb539b4.js"),[]).then(({data:e})=>e),"v-02eb6d0d":()=>d(()=>import("./arthas3.html.bee7bffc.js"),[]).then(({data:e})=>e),"v-4f82df66":()=>d(()=>import("./async.html.473d320c.js"),[]).then(({data:e})=>e),"v-d0358c7e":()=>d(()=>import("./auth.html.ac4b67f2.js"),[]).then(({data:e})=>e),"v-3157067a":()=>d(()=>import("./base64.html.4b181e89.js"),[]).then(({data:e})=>e),"v-cc8f4ae6":()=>d(()=>import("./batch-support.html.a26e2295.js"),[]).then(({data:e})=>e),"v-6542b733":()=>d(()=>import("./cat.html.c8fbb1c5.js"),[]).then(({data:e})=>e),"v-49b1709e":()=>d(()=>import("./classloader.html.04ede152.js"),[]).then(({data:e})=>e),"v-ad1b2b42":()=>d(()=>import("./cls.html.315127c2.js"),[]).then(({data:e})=>e),"v-5ed4d0e1":()=>d(()=>import("./commands.html.205fab1f.js"),[]).then(({data:e})=>e),"v-3992adde":()=>d(()=>import("./contact-us.html.259f35c3.js"),[]).then(({data:e})=>e),"v-0d1e3f35":()=>d(()=>import("./dashboard.html.72692286.js"),[]).then(({data:e})=>e),"v-02361049":()=>d(()=>import("./docker.html.37a9000f.js"),[]).then(({data:e})=>e),"v-2116d2e1":()=>d(()=>import("./download.html.e9e19894.js"),[]).then(({data:e})=>e),"v-1fe4a616":()=>d(()=>import("./dump.html.aac38ab5.js"),[]).then(({data:e})=>e),"v-2c48f364":()=>d(()=>import("./echo.html.7dac4c37.js"),[]).then(({data:e})=>e),"v-d070981a":()=>d(()=>import("./faq.html.0788d4da.js"),[]).then(({data:e})=>e),"v-78c35af6":()=>d(()=>import("./getstatic.html.2a0b4f73.js"),[]).then(({data:e})=>e),"v-63f4cd5a":()=>d(()=>import("./grep.html.09b9f3d8.js"),[]).then(({data:e})=>e),"v-809381ca":()=>d(()=>import("./groovy.html.5effbaba.js"),[]).then(({data:e})=>e),"v-07868089":()=>d(()=>import("./heapdump.html.a85cf9a1.js"),[]).then(({data:e})=>e),"v-e3b34070":()=>d(()=>import("./help.html.e5f40d88.js"),[]).then(({data:e})=>e),"v-26f43d96":()=>d(()=>import("./history.html.9c7d2f2e.js"),[]).then(({data:e})=>e),"v-225de034":()=>d(()=>import("./http-api.html.693537fc.js"),[]).then(({data:e})=>e),"v-7c670020":()=>d(()=>import("./idea-plugin.html.0e7ca126.js"),[]).then(({data:e})=>e),"v-0cb398f4":()=>d(()=>import("./install-detail.html.2265e71c.js"),[]).then(({data:e})=>e),"v-211d675c":()=>d(()=>import("./jad.html.6682b060.js"),[]).then(({data:e})=>e),"v-41806853":()=>d(()=>import("./jfr.html.4a6ffa9b.js"),[]).then(({data:e})=>e),"v-f1483d70":()=>d(()=>import("./jvm.html.bf9d7353.js"),[]).then(({data:e})=>e),"v-4039cdec":()=>d(()=>import("./keymap.html.4a935f93.js"),[]).then(({data:e})=>e),"v-5ae8aed9":()=>d(()=>import("./logger.html.1626eaca.js"),[]).then(({data:e})=>e),"v-6a31cc55":()=>d(()=>import("./manual-install.html.7d61ca70.js"),[]).then(({data:e})=>e),"v-8ebd6c68":()=>d(()=>import("./mbean.html.30acbef7.js"),[]).then(({data:e})=>e),"v-3b401ada":()=>d(()=>import("./mc.html.2ccc704e.js"),[]).then(({data:e})=>e),"v-4d9433f0":()=>d(()=>import("./memory.html.354446c2.js"),[]).then(({data:e})=>e),"v-6e88d7a2":()=>d(()=>import("./monitor.html.c7c0dac3.js"),[]).then(({data:e})
Expects a CSS selector, a Node element, a NodeList or an array.
See: https://github.com/francoischalifour/medium-zoom`)}},dh=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},fh=function(t){var n=t.getBoundingClientRect(),o=n.top,r=n.left,i=n.width,a=n.height,s=t.cloneNode(),c=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return s.removeAttribute("id"),s.style.position="absolute",s.style.top=o+c+"px",s.style.left=r+l+"px",s.style.width=i+"px",s.style.height=a+"px",s.style.transform="",s},yn=function(t,n){var o=sn({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,o);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,o.bubbles,o.cancelable,o.detail),r},hh=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=window.Promise||function(A){function L(){}A(L,L)},r=function(A){var L=A.target;if(L===U){v();return}T.indexOf(L)!==-1&&g({target:L})},i=function(){if(!(D||!E.original)){var A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(K-A)>S.scrollOffset&&setTimeout(v,150)}},a=function(A){var L=A.key||A.keyCode;(L==="Escape"||L==="Esc"||L===27)&&v()},s=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=A;if(A.background&&(U.style.background=A.background),A.container&&A.container instanceof Object&&(L.container=sn({},S.container,A.container)),A.template){var R=Wo(A.template)?A.template:document.querySelector(A.template);L.template=R}return S=sn({},S,L),T.forEach(function(C){C.dispatchEvent(yn("medium-zoom:update",{detail:{zoom:Y}}))}),Y},c=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(sn({},S,A))},l=function(){for(var A=arguments.length,L=Array(A),R=0;R<A;R++)L[R]=arguments[R];var C=L.reduce(function(V,W){return[].concat(V,ss(W))},[]);return C.filter(function(V){return T.indexOf(V)===-1}).forEach(function(V){T.push(V),V.classList.add("medium-zoom-image")}),I.forEach(function(V){var W=V.type,ee=V.listener,me=V.options;C.forEach(function(de){de.addEventListener(W,ee,me)})}),Y},u=function(){for(var A=arguments.length,L=Array(A),R=0;R<A;R++)L[R]=arguments[R];E.zoomed&&v();var C=L.length>0?L.reduce(function(V,W){return[].concat(V,ss(W))},[]):T;return C.forEach(function(V){V.classList.remove("medium-zoom-image"),V.dispatchEvent(yn("medium-zoom:detach",{detail:{zoom:Y}}))}),T=T.filter(function(V){return C.indexOf(V)===-1}),Y},m=function(A,L){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return T.forEach(function(C){C.addEventListener("medium-zoom:"+A,L,R)}),I.push({type:"medium-zoom:"+A,listener:L,options:R}),Y},f=function(A,L){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return T.forEach(function(C){C.removeEventListener("medium-zoom:"+A,L,R)}),I=I.filter(function(C){return!(C.type==="medium-zoom:"+A&&C.listener.toString()===L.toString())}),Y},h=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=A.target,R=function(){var V={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},W=void 0,ee=void 0;if(S.container)if(S.container instanceof Object)V=sn({},V,S.container),W=V.width-V.left-V.right-S.margin*2,ee=V.height-V.top-V.bottom-S.margin*2;else{var me=Wo(S.container)?S.container:document.querySelector(S.container),de=me.getBoundingClientRect(),ve=de.width,Ae=de.height,Se=de.left,Fe=de.top;V=sn({},V,{width:ve,height:Ae,left:Se,top:Fe})}W=W||V.width-S.margin*2,ee=ee||V.height-S.margin*2;var k=E.zoomedHd||E.original,Z=as(k)?W:k.naturalWidth||W,N=as(k)?ee:k.naturalHeight||ee,G=k.getBoundingClientRect(),pe=G.top,ye=G.left,fe=G.width,le=G.height,p=Math.min(Z,W)/fe,O=Math.min(N,ee)/le,x=Math.min(p,O),q=(-ye+(W-fe)/2+S.margin+V.left)/x,j=(-pe+(ee-le)/2+S.margin+V.top)/x,H="scale("+x+") translate3d("+q+"px, "+j+"px, 0)";E.zoomed.style.transform=H,E.zoomedHd&&(E.zoomedHd.style.transform=H)
* vue-router v4.1.5
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const wn=typeof window<"u";function wh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Le=Object.assign;function Ur(e,t){const n={};for(const o in t){const r=t[o];n[o]=gt(r)?r.map(e):e(r)}return n}const oo=()=>{},gt=Array.isArray,Ph=/\/$/,Ah=e=>e.replace(Ph,"");function Wr(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s<c&&s>=0&&(c=-1),c>-1&&(o=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=xh(o!=null?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function Th(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cs(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ih(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Vn(t.matched[o],n.matched[r])&&tu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Vn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Lh(e[n],t[n]))return!1;return!0}function Lh(e,t){return gt(e)?ls(e,t):gt(t)?ls(t,e):e===t}function ls(e,t){return gt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function xh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(i-(i===o.length?1:0)).join("/")}var ho;(function(e){e.pop="pop",e.push="push"})(ho||(ho={}));var ro;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ro||(ro={}));function Dh(e){if(!e)if(wn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ah(e)}const Sh=/^[^#]+#/;function Rh(e,t){return e.replace(Sh,"#")+t}function kh(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Rr=()=>({left:window.pageXOffset,top:window.pageYOffset});function qh(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=kh(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function us(e,t){return(history.state?history.state.position-t:-1)+e}const yi=new Map;function Ch(e,t){yi.set(e,t)}function Vh(e){const t=yi.get(e);return yi.delete(e),t}let Mh=()=>location.protocol+"//"+location.host;function nu(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(s);return c[0]!=="/"&&(c="/"+c),cs(c,"")}return cs(n,e)+o+r}function jh(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const h=nu(e,location),v=n.value,g=t.value;let y=0;if(f){if(n.value=h,t.value=f,a&&a===v){a=null;return}y=g?f.position-g.position:0}else o(h);r.forEach(_=>{_(n.value,v,{delta:y,type:ho.pop,direction:y?y>0?ro.forward:ro.back:ro.unknown})})};function c(){a=n.value}function l(f){r.push(f);const h=()=>{const v=r.indexOf(f);v>-1&&r.splice(v,1)};return i.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(Le({},f.state,{scroll:Rr()}),"")}function m(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:l,destroy:m}}function ms(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Rr():null}}function Hh(e){const{history:t,location:n}=window,o={value:nu(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,l,u){const m=e.ind
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const Ee={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:e=>{const t=Ee.isStarted();e=Yr(e,Ee.settings.minimum,1),Ee.status=e===1?null:e;const n=Ee.render(!t),o=n.querySelector(Ee.settings.barSelector),r=Ee.settings.speed,i=Ee.settings.easing;return n.offsetWidth,Ap(a=>{Co(o,{transform:"translate3d("+Ps(e)+"%,0,0)",transition:"all "+r+"ms "+i}),e===1?(Co(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Co(n,{transition:"all "+r+"ms linear",opacity:"0"}),setTimeout(function(){Ee.remove(),a()},r)},r)):setTimeout(()=>a(),r)}),Ee},isStarted:()=>typeof Ee.status=="number",start:()=>{Ee.status||Ee.set(0);const e=()=>{setTimeout(()=>{!Ee.status||(Ee.trickle(),e())},Ee.settings.trickleSpeed)};return Ee.settings.trickle&&e(),Ee},done:e=>!e&&!Ee.status?Ee:Ee.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=Ee.status;return t?(typeof e!="number"&&(e=(1-t)*Yr(Math.random()*t,.1,.95)),t=Yr(t+e,0,.994),Ee.set(t)):Ee.start()},trickle:()=>Ee.inc(Math.random()*Ee.settings.trickleRate),render:e=>{if(Ee.isRendered())return document.getElementById("nprogress");As(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Ee.settings.template;const n=t.querySelector(Ee.settings.barSelector),o=e?"-100":Ps(Ee.status||0),r=document.querySelector(Ee.settings.parent);return Co(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),r!==document.body&&As(r,"nprogress-custom-parent"),r==null||r.appendChild(t),t},remove:()=>{Ts(document.documentElement,"nprogress-busy"),Ts(document.querySelector(Ee.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Tp(e)},isRendered:()=>!!document.getElementById("nprogress")},Yr=(e,t,n)=>e<t?t:e>n?n:e,Ps=e=>(-1+e)*100,Ap=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Co=function(){const e=["Webkit","O","Moz","ms"],t={};function n(a){return a.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,c){return c.toUpperCase()})}function o(a){const s=document.body.style;if(a in s)return a;let c=e.length;const l=a.charAt(0).toUpperCase()+a.slice(1);let u;for(;c--;)if(u=e[c]+l,u in s)return u;return a}function r(a){return a=n(a),t[a]||(t[a]=o(a))}function i(a,s,c){s=r(s),a.style[s]=c}return function(a,s){for(const c in s){const l=s[c];l!==void 0&&Object.prototype.hasOwnProperty.call(s,c)&&i(a,c,l)}}}(),du=(e,t)=>(typeof e=="string"?e:sa(e)).indexOf(" "+t+" ")>=0,As=(e,t)=>{const n=sa(e),o=n+t;du(n,t)||(e.className=o.substring(1))},Ts=(e,t)=>{const n=sa(e);if(!du(e,t))return;const o=n.replace(" "+t+" "," ");e.className=o.substring(1,o.length-1)},sa=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Tp=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const Ip=()=>{et(()=>{const e=vn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Ee.start()}),e.afterEach(n=>{t.add(n.path),Ee.done()})})},Lp=xt({setup(){Ip()}}),xp=JSON.parse(`{"logo":"/images/arthas_light.png","logoDark":"/images/arthas_dark.png","repo":"alibaba/arthas","docsDir":"site/docs","docsBranch":"master","locales":{"/":{"selectLanguageName":"\u7B80\u4F53\u4E2D\u6587","selectLanguageText":"Languages","editLinkText":"\u5728 GitHub \u4E0A\u7F16\u8F91\u6B64\u9875","lastUpdated":"\u4E0A\u6B21\u66F4\u65B0","contributorsText":"\u8D21\u732E\u8005","backToHome":"\u56DE\u5230\u9996\u9875","rightMenuText":"\u76EE\u5F55","warning":"\u6CE8\u610F","tip":"\u63D0\u793A","danger":"\u8B66\u544A","notFound":["\u8FD9\u91CC\u4EC0\u4E48\u90FD\u6CA1\u6709","\u6211\u4EEC\u600E\u4E48\u5230\u8FD9\u6765\u4E86\uFF1F","\u8FD9\u662F\u4E00\u4E2A 404 \u9875\u9762","\u770B\u8D77\u6765\u6211\u4EEC\u8FDB\u5165\u4E86\u9519\u8BEF\u7684\u94FE\u63A5"],"openInNewWindow":"\u5728\u65B0\u7A97\u53E3\u6253\u5F00","toggleColorMode":"\u5207\u6362\u989C\u8272\u6A21\u5F0F","toggleSidebar":"\u5207\u6362\u4FA7\u8FB9\u680F","navbar":[{"text":"\u9996\u9875"
c-0.1,0-19.8,95.4-32.9,159.1c-1.1,5.8,1,11.9,6,15.5c5,3.7,11.4,3.7,16.5,0.9C171.3,466,256,417.7,256,417.7l141.1,80.5
c5.1,2.8,11.6,2.8,16.6-0.9c5-3.7,7.1-9.7,6-15.5l-32.8-159.1L507,213.4c4.3-4,6.2-10.2,4.3-16.1c-1.9-5.9-7.1-9.8-12.9-10.4
c-64.6-7.2-161.5-18-161.5-18L269.9,20.8c-2.5-5.3-7.8-9-14-9c-6.2,0-11.5,3.7-13.9,9L175.1,168.9z`})],-1),W_=[U_];function K_(e,t,n,o,r,i){return $(),X("svg",z_,W_)}const Y_=Oe(B_,[["render",K_],["__file","Star.vue"]]),J_={name:"Fork"},Q_={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"131 -131 512 512",style:{"enable-background":"new 131 -131 512 512",height:"1rem",fill:"var(--c-text)"},"xml:space":"preserve"},G_=ue("g",{id:"XMLID_2_"},[ue("path",{id:"XMLID_8_",d:`M312.8,317c0-8.5-3.4-16.2-9.4-23s-13.7-9.4-23-9.4c-9.3,0-16.2,3.4-23,9.4c-6,6-9.4,13.7-9.4,23
s3.4,16.2,9.4,23c6,6,13.7,9.4,23,9.4c9.3,0,16.2-3.4,23-9.4C310.2,334,312.8,325.5,312.8,317z M312.8-67c0-8.5-3.4-16.2-9.4-23
c-6-6-13.7-9.4-23-9.4c-9.3,0-16.2,3.4-23,9.4c-6,6-9.4,13.7-9.4,23c0,8.5,3.4,16.2,9.4,23c6,6,13.7,9.4,23,9.4
c9.3,0,16.2-3.4,23-9.4C310.2-49.9,312.8-58.5,312.8-67z M526.1-24.3c0-8.5-3.4-16.2-9.4-23s-13.7-9.4-23-9.4s-16.2,3.4-23,9.4
s-9.4,13.7-9.4,23s3.4,16.2,9.4,23c6,6,13.7,9.4,23,9.4s16.2-3.4,23-9.4C522.7-8.1,526.1-15.8,526.1-24.3z M557.7-24.3
c0,11.9-2.6,22.2-8.5,32.4s-13.7,17.9-23,23c-0.9,64-25.6,110.1-75.1,138.2c-15.4,8.5-37.5,17.1-67.4,27.3
c-28.2,8.5-46.9,17.1-56.3,23.9c-9.4,6.8-13.7,17.9-13.7,33.3v8.5c9.4,6,17.9,13.7,23,23c5.1,9.4,8.5,20.5,8.5,32.4
c0,17.9-6,33.3-18.8,45.2c-12.8,11.9-28.1,18.1-46.1,18.1s-33.3-6-45.2-18.8s-18.8-27.3-18.8-45.2c0-11.9,2.6-22.2,8.5-32.4
c6-10.2,13.7-17.9,23-23V-11.5c-9.4-6-17.9-13.7-23-23s-8.5-20.6-8.5-32.5c0-17.9,6-33.3,18.8-45.2c12.8-11.9,27.3-18.8,45.2-18.8
c17.9,0,33.3,6,45.2,18.8s18.8,27.3,18.8,45.2c0,11.9-2.6,22.2-8.5,32.4c-5.9,10.2-13.7,17.9-23,23V154c11.9-6,29-11.9,51.2-18.8
c11.9-3.4,22.2-6.8,29-10.2c6.8-3.4,15.4-6,23.9-10.2s15.4-8.5,19.6-12.8s9.4-10.2,13.7-17.1s7.7-14.5,9.4-23
c1.7-8.5,2.6-18.8,2.6-30.7c-9.4-6-17.9-13.7-23-23s-8.5-20.5-8.5-32.4c0-17.9,6-33.3,18.8-45.2c12.8-12.8,27.3-18.8,45.2-18.8
s33.3,6,45.2,18.8C551.7-57.6,557.7-42.3,557.7-24.3z`})],-1),Z_=[G_];function X_(e,t,n,o,r,i){return $(),X("svg",Q_,Z_)}const ev=Oe(J_,[["render",X_],["__file","Fork.vue"]]);const tv=["href"],nv=Xt(" \xA0 "),ov={__name:"Badge",props:{comp:{type:Object,required:!0},data:{type:Number,required:!0}},setup(e){const t=e,o=`https://github.com/${qr().value.repo}`,r=o,i=`${o}/fork`;let a=o;switch(t.comp.name){case"Star":a=r;break;case"Fork":a=i;break}return(s,c)=>{const l=Lt("CountTo");return $(),X("a",{class:"my-badge",href:F(a),target:"_blank"},[($(),je(Bd(e.comp))),nv,ae(l,{startVal:0,endVal:e.data,duration:500},null,8,["endVal"])],8,tv)}}},Vs=Oe(ov,[["__scopeId","data-v-b201bc64"],["__file","Badge.vue"]]);const rv={class:"badges"},iv={__name:"HomeBadges",setup(e){const t=De(29582),n=De(6494);return Zi(async()=>{const r=await fetch("https://arthas.aliyun.com/api/starCount").then(a=>a.json()),i=await fetch("https://arthas.aliyun.com/api/forkCount").then(a=>a.json());t.value=r||t.value,n.value=i||n.value}),(r,i)=>($(),X("div",rv,[ae(Vs,{comp:Y_,data:t.value},null,8,["data"]),ae(Vs,{comp:ev,data:n.value},null,8,["data"])]))}},av=Oe(iv,[["__scopeId","data-v-d7ced36e"],["__file","HomeBadges.vue"]]),sv={name:"MdiGithub"},cv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24",style:{height:"1.25rem",width:"1.25rem","vertical-align":"bottom"}},lv=ue("path",{fill:"currentColor",d:"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"},null,-1),uv=[lv];function mv(e,t,n,o,r,i){return $(),X("svg",cv,uv)}const dv=Oe(sv,[["render",mv],["__file","GitHub.vue"]]),fv=["href","rel","target","aria-label"],hv={key:1},pv=Ve({inheritAttrs:!1}),_v=Object.assign(pv,{__name:"AutoLink",props:{item:{type:Object,required:!0}},setup(e){const t=e,n=Dt(),o=_a(),{item:r}=Qi(t),i=te(()=>Ao(r.value.link)),a=te(()=>nh(r.value.link)||oh(r.value.link)),s=te(()=>{if(!a.value){if(r.value.target)return r.value.target;if(i.value)return"_blank"}}),c=te(()=>s.value==="_blank"),l=te(()=>!i.value&&!a.value&&!c.value),u=te(()=>{if(!a.value){if(r.value.rel)return r.value.rel;if(c.value)return"noopener noreferrer"}}),m=te(()=>r.value.ariaLabel||r.value.text),f=te(()=>{const g=Object.keys(o.value.locales);return g.length?!g.some(y=>y===r.value.link):r.value.link!=="/"}),h=te(()=>f.value?n.path.startsWith(r.value.link):!1),v=te(()=>l.value?r.value.activeMatch?new RegExp(r.value.activeMatch).test(n.path):h.value:!1);return(g,y)=>{const _=Lt("RouterLink"),b=Lt("AutoLinkExternalIcon");return F(l)?($(),je(_,_i({key:0,class:{"router-link-active":F(v)},to:F(r).link,"aria-label":F(m)},g.$attrs),{default:Ke(()=>[Me(g.$slots,"before"),Xt(" "+Ce(F(r).text)+" ",1),Me(g.$slots,"after")]),_:3},16,["class","to","aria-label"])):($(),X("a",_i({key:1,class:"external-link",href:F(r).link,rel:F(u),target:F(s),"aria-label":F(m)},g.$attrs),[Me(g.$slots,"before"),F(r).text==="GitHub"?($(),je(dv,{key:0})):($(),X("span",hv,Ce(F(r).text),1)),F(c)&&F(r).text!=="GitHub"?($(),je(b,{key:2})):Ne("v-if",!0),Me(g.$slots,"after")],16,fv))}}}),Mt=Oe(_v,[["__file","AutoLink.vue"]]),Ms=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),vv=(e,t)=>{if(t.hash===e)return!0;const n=Ms(t.path),o=Ms(e);return n===o},Au=(e,t)=>e.link&&vv(e.link,t)?!0:e.children?e.children.some(n=>Au(n,t)):!1,Tu=e=>!Ao(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,gv={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:pa
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function hr(e){return function(t){if(Array.isArray(t))return Ai(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||Ru(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ru(e,t){if(e){if(typeof e=="string")return Ai(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ai(e,t):void 0}}function Ai(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var ie,io,ku,Fs,qu,pr={},da=[],k1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Vt(e,t){for(var n in t)e[n]=t[n];return e}function Cu(e){var t=e.parentNode;t&&t.removeChild(e)}function Pt(e,t,n){var o,r,i,a=arguments,s={};for(i in t)i=="key"?o=t[i]:i=="ref"?r=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(n!=null&&(s.children=n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return ao(e,s,o,r,null)}function ao(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r==null?++ie.__v:r};return ie.vnode!=null&&ie.vnode(i),i}function Zt(e){return e.children}function At(e,t){this.props=e,this.context=t}function _o(e,t){if(t==null)return e.__?_o(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?_o(e):null}function Vu(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Vu(e)}}function Ti(e){(!e.__d&&(e.__d=!0)&&io.push(e)&&!_r.__r++||Fs!==ie.debounceRendering)&&((Fs=ie.debounceRendering)||ku)(_r)}function _r(){for(var e;_r.__r=io.length;)e=io.sort(function(t,n){return t.__v.__b-n.__v.__b}),io=[],e.some(function(t){var n,o,r,i,a,s;t.__d&&(a=(i=(n=t).__v).__e,(s=n.__P)&&(o=[],(r=Vt({},i)).__v=i.__v+1,fa(s,i,r,n.__n,s.ownerSVGElement!==void 0,i.__h!=null?[a]:null,o,a==null?_o(i):a,i.__h),$u(o,i),i.__e!=a&&Vu(i)))})}function Mu(e,t,n,o,r,i,a,s,c,l){var u,m,f,h,v,g,y,_=o&&o.__k||da,b=_.length;for(n.__k=[],u=0;u<t.length;u++)if((h=n.__k[u]=(h=t[u])==null||typeof h=="boolean"?null:typeof h=="string"||typeof h=="number"?ao(null,h,null,null,h):Array.isArray(h)?ao(Zt,{children:h},null,null,null):h.__b>0?ao(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=n,h.__b=n.__b+1,(f=_[u])===null||f&&h.key==f.key&&h.type===f.type)_[u]=void 0;else for(m=0;m<b;m++){if((f=_[m])&&h.key==f.key&&h.type===f.type){_[m]=void 0;break}f=null}fa(e,h,f=f||pr,r,i,a,s,c,l),v=h.__e,(m=h.ref)&&f.ref!=m&&(y||(y=[]),f.ref&&y.push(f.ref,null,h),y.push(m,h.__c||v,h)),v!=null?(g==null&&(g=v),typeof h.type=="function"&&h.__k!=null&&h.__k===f.__k?h.__d=c=ju(h,c,e):c=Hu(e,h,f,_,v,c),l||n.type!=="option"?typeof n.type=="function"&&(n.__d=c):e.value=""):c&&f.__e==c&&c.parentNode!=e&&(c=_o(f))}for(n.__e=g,u=b;u--;)_[u]!=null&&(typeof n.type=="function"&&_[u].__e!=null&&_[u].__e==n.__d&&(n.__d=_o(o,u+1)),Fu(_[u],_[u]));if(y)for(u=0;u<y.length;u++)Nu(y[u],y[++u],y[++u])}function ju(e,t,n){var o,r;for(o=0;o<e.__k.length;o++)(r=e.__k[o])&&(r.__=e,t=typeof r.type=="function"?ju(r,t,n):Hu(n,r,r,e.__k,r.__e,t));return t}function jt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){jt(n,t)}):t.push(e)),t}function Hu(e,t,n,o,r,i){var a,s,c;if(t.__d!==void 0)a=t.__d,t.__d=void 0;else if(n==null||r!=i||r.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(r),a=null;else{for(s=i,c=0;(s=s.nextSibling)&&c<o.length;c+=2)if(s==r)break e;e.insertBefore(r,i),a=i}return a!==void 0?a:r.nextSibling}function Bs(e,t,n){t[0]==="-"?e.setProperty(t,n):e[t]=n==null?"":typeof n!="number"||k1.test(t)?n:n+"px"}function Mo(e,t,n,o,r){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||Bs(e.style,t,"");if(n)for(t in n)o&&n[t]===o[t]||Bs(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Z1(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[l],s.indexOf(c)>=0||(u[c]=a[c]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var X1=w.forwardRef(function(e,t){var n=e.translations,o=n===void 0?{}:n,r=Z1(e,Q1),i=o.buttonText,a=i===void 0?"Search":i,s=o.buttonAriaLabel,c=s===void 0?"Search":s,l=G1(zu(null),2),u=l[0],m=l[1];return Wu(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?m("\u2318"):m("Ctrl"))},[]),w.createElement("button",Si({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},r,{ref:t}),w.createElement("span",{className:"DocSearch-Button-Container"},w.createElement(em,null),w.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),w.createElement("span",{className:"DocSearch-Button-Keys"},u!==null&&w.createElement(w.Fragment,null,w.createElement("kbd",{className:"DocSearch-Button-Key"},u==="Ctrl"?w.createElement(J1,null):u),w.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))});function go(e){return e.reduce(function(t,n){return t.concat(n)},[])}var e0=0;function Ri(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}var tm=function(){},t0=[{segment:"autocomplete-core",version:"1.7.1"}];function Jo(e,t){var n=t;return{then:function(o,r){return Jo(e.then(jo(o,n,e),jo(r,n,e)),n)},catch:function(o){return Jo(e.catch(jo(o,n,e)),n)},finally:function(o){return o&&n.onCancelList.push(o),Jo(e.finally(jo(o&&function(){return n.onCancelList=[],o()},n,e)),n)},cancel:function(){n.isCanceled=!0;var o=n.onCancelList;n.onCancelList=[],o.forEach(function(r){r()})},isCanceled:function(){return n.isCanceled===!0}}}function lc(e){return Jo(e,{isCanceled:!1,onCancelList:[]})}function jo(e,t,n){return e?function(o){return t.isCanceled?o:e(o)}:n}function uc(e,t,n,o){if(!n)return null;if(e<0&&(t===null||o!==null&&t===0))return n+e;var r=(t===null?-1:t)+e;return r<=-1||r>=n?o===null?null:0:r}function mc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o0(e,t){var n=[];return Promise.resolve(e(t)).then(function(o){return Promise.all(o.filter(function(r){return Boolean(r)}).map(function(r){if(r.sourceId,n.includes(r.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(r.sourceId)," is not unique."));n.push(r.sourceId);var i=function(a){for(var s=1;s<arguments.length;s++){var c=arguments[s]!=null?arguments[s]:{};s%2?mc(Object(c),!0).forEach(function(l){n0(a,l,c[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):mc(Object(c)).forEach(function(l){Object.defineProperty(a,l,Object.getOwnPropertyDescriptor(c,l))})}return a}({getItemInputValue:function(a){return a.state.query},getItemUrl:function(){},onSelect:function(a){(0,a.setIsOpen)(!1)},onActive:tm},r);return Promise.resolve(i)}))})}function An(e){var t=function(r){var i=r.collections.map(function(a){return a.items.length}).reduce(function(a,s,c){var l=(a[c-1]||0)+s;return a.push(l),a},[]).reduce(function(a,s){return s<=r.activeItemId?a+1:a},0);return r.collections[i]}(e);if(!t)return null;var n=t.items[function(r){for(var i=r.state,a=r.collection,s=!1,c=0,l=0;s===!1;){var u=i.collections[c];if(u===a){s=!0;break}l+=u.items.length,c++}return i.activeItemId-l}({state:e,collection:t})],o=t.source;return{item:n,itemInputValue:o.getItemInputValue({item:n,state:e}),itemUrl:o
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Xr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pc(Object(n),!0).forEach(function(o){u0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function u0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function No(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_c(Object(n),!0).forEach(function(o){nm(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function nm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m0(e){return function(t){if(Array.isArray(t))return ei(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return ei(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return ei(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ei(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function gc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vc(Object(n),!0).forEach(function(o){d0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function d0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fo(e){return Boolean(e.execute)}function f0(e,t){return n=e,Boolean(n==null?void 0:n.execute)?gc(gc({},e),{},{requests:e.queries.map(function(o){return{query:o,sourceId:t,transformResponse:e.transformResponse}})}):{items:e,sourceId:t};var n}function h0(e){var t=e.reduce(function(n,o){if(!Fo(o))return n.push(o),n;var r=o.searchClient,i=o.execute,a=o.requesterId,s=o.requests,c=n.find(function(m){return Fo(o)&&Fo(m)&&m.searchClient===r&&Boolean(a)&&m.requesterId===a});if(c){var l;(l=c.items).push.apply(l,m0(s))}else{var u={execute:i,requesterId:a,items:s,searchClient:r};n.push(u)}return n},[]).map(function(n){if(!Fo(n))return Promise.resolve(n);var o=n,r=o.execute,i=o.items;return r({searchClient:o.searchClient,requests:i})});return Promise.all(t).then(function(n){return go(n)})}function p0(e,t){return t.map(function(n){var o=e.filter(function(s){return s.sourceId===n.sourceId}),r=o.map(function(s){return s.items}),i=o[0].transformResponse,a=i?i(function(s){var c=s.map(function(l){var u;return Ho(Ho({},l),{},{hits:(u=l.hits)===null||u===void 0?void 0:u.map(function(m){return Ho(Ho({},m),{},{__autocomplete_indexName:l.index,__autocomplete_queryID:l.queryID})})})});return{results:c,hits:c.map(function(l){return l.hits}).filter(Boolean),facetHits:c.map(function(l){var u;return(u=l.facetHits)===null||u===void 0?void 0:u.map(function(m){return{label:m.value,count:m.count,_highlightResult:{label:{value:m.highlighted}}}})}).filter(Boolean)}}(r)):r;return a.every(Boolean),'The `getItems` function from source "'.concat(n.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`.
Did you forget to return items?
See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:n,items:a}})}var _0=["event","nextState","props","query","refresh","store"];function yc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Yn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yc(Object(n),!0).forEach(function(o){v0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yc(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function v0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g0(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[l],s.indexOf(c)>=0||(u[c]=a[c]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var bc,ti,Bo,Jn=null,Ec=(bc=-1,ti=-1,Bo=void 0,function(e){var t=++bc;return Promise.resolve(e).then(function(n){return Bo&&t<ti?Bo:(ti=t,Bo=n,n)})});function Pn(e){var t=e.event,n=e.nextState,o=n===void 0?{}:n,r=e.props,i=e.query,a=e.refresh,s=e.store,c=g0(e,_0);Jn&&r.environment.clearTimeout(Jn);var l=c.setCollections,u=c.setIsOpen,m=c.setQuery,f=c.setActiveItemId,h=c.setStatus;if(m(i),f(r.defaultActiveItemId),!i&&r.openOnFocus===!1){var v,g=s.getState().collections.map(function(b){return Yn(Yn({},b),{},{items:[]})});h("idle"),l(g),u((v=o.isOpen)!==null&&v!==void 0?v:r.shouldPanelOpen({state:s.getState()}));var y=lc(Ec(g).then(function(){return Promise.resolve()}));return s.pendingRequests.add(y)}h("loading"),Jn=r.environment.setTimeout(function(){h("stalled")},r.stallThreshold);var _=lc(Ec(r.getSources(Yn({query:i,refresh:a,state:s.getState()},c)).then(function(b){return Promise.all(b.map(function(T){return Promise.resolve(T.getItems(Yn({query:i,refresh:a,state:s.getState()},c))).then(function(I){return f0(I,T.sourceId)})})).then(h0).then(function(T){return p0(T,b)}).then(function(T){return function(I){var D=I.collections,K=I.props,S=I.state,E=D.reduce(function(U,Y){return No(No({},U),{},nm({},Y.source.sourceId,No(No({},Y.source),{},{getItems:function(){return go(Y.items)}})))},{});return go(K.reshape({sources:Object.values(E),sourcesBySourceId:E,state:S})).filter(Boolean).map(function(U){return{source:U,items:U.getItems()}})}({collections:T,props:r,state:s.getState()})})}))).then(function(b){var T;h("idle"),l(b);var I=r.shouldPanelOpen({state:s.getState()});u((T=o.isOpen)!==null&&T!==void 0?T:r.openOnFocus&&!i&&I||I);var D=An(s.getState());if(s.getState().activeItemId!==null&&D){var K=D.item,S=D.itemInputValue,E=D.itemUrl,U=D.source;U.onActive(Yn({event:t,item:K,itemInputValue:S,itemUrl:E,refresh:a,source:U,state:s.getState()},c))}}).finally(function(){h("idle"),Jn&&r.environment.clearTimeout(Jn)});return s.pendingRequests.add(_)}var y0=["event","props","refresh","store"];function Oc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Oc(Object(n),!0).forEach(function(o){b0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function b0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E0(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ni(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Q0(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[l],s.indexOf(c)>=0||(u[c]=a[c]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function G0(e){var t=e.translations,n=t===void 0?{}:t,o=Q0(e,Y0),r=n.noResultsText,i=r===void 0?"No results for":r,a=n.suggestedQueryText,s=a===void 0?"Try searching for":a,c=n.reportMissingResultsText,l=c===void 0?"Believe this query should return results?":c,u=n.reportMissingResultsLinkText,m=u===void 0?"Let us know.":u,f=o.state.context.searchSuggestions;return w.createElement("div",{className:"DocSearch-NoResults"},w.createElement("div",{className:"DocSearch-Screen-Icon"},w.createElement(W0,null)),w.createElement("p",{className:"DocSearch-Title"},i,' "',w.createElement("strong",null,o.state.query),'"'),f&&f.length>0&&w.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},w.createElement("p",{className:"DocSearch-Help"},s,":"),w.createElement("ul",null,f.slice(0,3).reduce(function(h,v){return[].concat(J0(h),[w.createElement("li",{key:v},w.createElement("button",{className:"DocSearch-Prefill",key:v,type:"button",onClick:function(){o.setQuery(v.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},v))])},[]))),o.getMissingResultsUrl&&w.createElement("p",{className:"DocSearch-Help"},"".concat(l," "),w.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},m)))}var Z0=["hit","attribute","tagName"];function xc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Dc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xc(Object(n),!0).forEach(function(o){X0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xc(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function X0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ey(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[l],s.indexOf(c)>=0||(u[c]=a[c]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Sc(e,t){return t.split(".").reduce(function(n,o){return n!=null&&n[o]?n[o]:null},e)}function On(e){var t=e.hit,n=e.attribute,o=e.tagName;return Pt(o===void 0?"span":o,Dc(Dc({},ey(e,Z0)),{},{dangerouslySetInnerHTML:{__html:Sc(t,"_snippetResult.".concat(n,".value"))||Sc(t,n)}}))}function Rc(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(r!=null){var i,a,s=[],c=!0,l=!1;try{for(r=r.call(n);!(c=(i=r.next()).done)&&(s.push(i.value),!o||s.length!==o);c=!0);}catch(u){l=!0,a=u}finally{try{c||r.return==null||r.return()}finally{if(l)throw a}}return s}}(e,t)||function(n,o){if(!!n){if(typeof n=="string")return kc(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kc(n,o)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function kc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vr(){return vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vr.apply(this,arguments)}function qi(e){return e.collection&&e.collection.items.length!==0?w.createElement("section",{className:"DocSearch-Hits"},w.createElement("div",{className:"DocSearch-Hit-source"},e.title),w.createElement("ul",e.getListProps(),e.collection.items.map(function(t,n){return w.createElement(ty,vr({key:[e.title,t.objectID].join(":"),item:t,index:n},e))}))):null}function ty(e){var t=e.item,n=e.index,o=e.renderIcon,r=e.renderAction,i=e.getItemProps,a=e.onItemClick,s=e.collection,c=e.hitComponent,l=Rc(w.useState(!1),2),u=l[0],m=l[1],f=Rc(w.useState(!1),2),h=f[0],v=f[1],g=w.useRef(null),y=c;return w.createElement("li",vr({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",u&&"DocSearch-Hit--deleting",h&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){g.current&&g.current()}},i({item:t,source:s.source,onClick:function(){a(t)}})),w.createElement(y,{hit:t},w.createElement("div",{className:"DocSearch-Hit-Container"},o({item:t,index:n}),t.hierarchy[t.type]&&t.type==="lvl1"&&w.createElement("div",{className:"DocSearch-Hit-content-wrapper"},w.createElement(On,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&w.createElement(On,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&(t.type==="lvl2"||t.type==="lvl3"||t.type==="lvl4"||t.type==="lvl5"||t.type==="lvl6")&&w.createElement("div",{className:"DocSearch-Hit-content-wrapper"},w.createElement(On,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),w.createElement(On,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),t.type==="content"&&w.createElement("div",{className:"DocSearch-Hit-content-wrapper"},w.createElement(On,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),w.createElement(On,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),r({item:t,runDeleteTransition:function(_){m(!0),g.current=_},runFavoriteTransition:function(_){v(!0),g.current=_}}))))}function qc(e,t){return e.reduce(function(n,o){var r=t(o);return n.hasOwnProperty(r)||(n[r]=[]),n[r].length<5&&n[r].push(o),n},{})}function Cc(e){return e}function ny(){}var rm=/(<mark>|<\/mark>)/g,oy=RegExp(rm.source);function im(e){var t,n,o,r,i,a=e;if(!a.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var s=((a.__docsearch_parent?(t=a.__docsearch_parent)===null||t===void 0||(n=t._highlightResult)===null||n===void 0||(o=n.hierarchy)===null||o===void 0?void 0:o.lvl0:(r=e._highlightResult)===null||r===void 0||(i=r.hierarchy)===null||i===void 0?void 0:i.lvl0)||{}).value;return s&&oy.test(s)?s.replace(rm,""):s}function Ci(){return Ci=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ci.apply(this,arguments)}function ry(e){return w.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map(function(t){if(t.items.length===0)return null;var n=im(t.items[0]);return w.createElement(qi,Ci({},e,{key:t.source.sourceId,title:n,collection:t,renderIcon:function(o){var r,i=o.item,a=o.index;return w.createElement(w.Fragment,null,i.__docsearch_parent&&w.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},w.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},i.__docsearch_parent!==((r=t.items[a+1])===null||r===void 0?void 0:r.__docsearch_parent)?w.createElement("path",{d:"M8 6v21M20 27H8.3"}):w.createElement("path",{d:"M8 6v42M20 27H8.3"}))),w.createElement("div",{className:"DocSearch-Hit-icon"},w.createElement(F0,{type:i.type})))},rende
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function zc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ky(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var c,l,u={},m=Object.keys(a);for(l=0;l<m.length;l++)c=m[l],s.indexOf(c)>=0||(u[c]=a[c]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function qy(e){var t=e.appId,n=e.apiKey,o=e.indexName,r=e.placeholder,i=r===void 0?"Search docs":r,a=e.searchParameters,s=e.onClose,c=s===void 0?ny:s,l=e.transformItems,u=l===void 0?Cc:l,m=e.hitComponent,f=m===void 0?M0:m,h=e.resultsFooterComponent,v=h===void 0?function(){return null}:h,g=e.navigator,y=e.initialScrollY,_=y===void 0?0:y,b=e.transformSearchClient,T=b===void 0?Cc:b,I=e.disableUserPersonalization,D=I!==void 0&&I,K=e.initialQuery,S=K===void 0?"":K,E=e.translations,U=E===void 0?{}:E,Y=e.getMissingResultsUrl,M=U.footer,A=U.searchBox,L=ky(U,Dy),R=Ry(w.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),C=R[0],V=R[1],W=w.useRef(null),ee=w.useRef(null),me=w.useRef(null),de=w.useRef(null),ve=w.useRef(null),Ae=w.useRef(10),Se=w.useRef(typeof window<"u"?window.getSelection().toString().slice(0,64):"").current,Fe=w.useRef(S||Se).current,k=function(p,O,x){return w.useMemo(function(){var q=pm(p,O);return q.addAlgoliaAgent("docsearch","3.2.1"),/docsearch.js \(.*\)/.test(q.transporter.userAgent.value)===!1&&q.addAlgoliaAgent("docsearch-react","3.2.1"),x(q)},[p,O,x])}(t,n,T),Z=w.useRef(Vc({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,N=w.useRef(Vc({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:Z.getAll().length===0?7:4})).current,G=w.useCallback(function(p){if(!D){var O=p.type==="content"?p.__docsearch_parent:p;O&&Z.getAll().findIndex(function(x){return x.objectID===O.objectID})===-1&&N.add(O)}},[Z,N,D]),pe=w.useMemo(function(){return q0({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:Fe,context:{searchSuggestions:[]}},navigator:g,onStateChange:function(p){V(p.state)},getSources:function(p){var O=p.query,x=p.state,q=p.setContext,j=p.setStatus;return O?k.search([{query:O,indexName:o,params:ri({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(Ae.current),"hierarchy.lvl2:".concat(Ae.current),"hierarchy.lvl3:".concat(Ae.current),"hierarchy.lvl4:".concat(Ae.current),"hierarchy.lvl5:".concat(Ae.current),"hierarchy.lvl6:".concat(Ae.current),"content:".concat(Ae.current)],snippetEllipsisText:"\u2026",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20},a)}]).catch(function(H){throw H.name==="RetryError"&&j("error"),H}).then(function(H){var J=H.results[0],z=J.hits,Q=J.nbHits,B=qc(z,function(re){return im(re)});return x.context.searchSuggestions.length<Object.keys(B).length&&q({searchSuggestions:Object.keys(B)}),q({nbHits:Q}),Object.values(B).map(function(re,oe){return{sourceId:"hits".concat(oe),onSelect:function(ne){var ce=ne.item,_e=ne.event;G(ce),_e.shiftKey||_e.ctrlKey||_e.metaKey||c()},getItemUrl:function(ne){return ne.item.url},getItems:function(){return Object.values(qc(re,function(ne){return ne.hierarchy.lvl1})).map(u).map(function(ne){return ne.map(function(ce){return ri(ri({},ce),{},{__docsearch_parent:ce.type!=="lvl1"&&ne.find(function(_e){return _e.type==="lvl1"&&_e.hierarchy.lvl1===ce.hierarchy.lvl1})})})}).flat()}}})}):D?[]:[{sourceId:"recentSearches",onSelect:function(H){var J=H.item,z=H.event;G(J),z.shiftKey||z.ctrlKey||z.metaKey||c()},getItemUrl:function(H){return H.item.url},getItems:function(){return N.getAll()}},{sourceId:"favoriteSearches",onSelect:function(H){var J=H.item,z=H.event;G(J),z.shiftKey||z.ctrlKey||z.metaKey||c()},getItemUrl:function(H){return H.i
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Wc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Cy(e){var t,n,o=w.useRef(null),r=Uc(w.useState(!1),2),i=r[0],a=r[1],s=Uc(w.useState((e==null?void 0:e.initialQuery)||void 0),2),c=s[0],l=s[1],u=w.useCallback(function(){a(!0)},[a]),m=w.useCallback(function(){a(!1)},[a]);return function(f){var h=f.isOpen,v=f.onOpen,g=f.onClose,y=f.onInput,_=f.searchButtonRef;w.useEffect(function(){function b(T){(T.keyCode===27&&h||T.key==="k"&&(T.metaKey||T.ctrlKey)||!function(I){var D=I.target,K=D.tagName;return D.isContentEditable||K==="INPUT"||K==="SELECT"||K==="TEXTAREA"}(T)&&T.key==="/"&&!h)&&(T.preventDefault(),h?g():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||v()),_&&_.current===document.activeElement&&y&&/[a-zA-Z0-9]/.test(String.fromCharCode(T.keyCode))&&y(T)}return window.addEventListener("keydown",b),function(){window.removeEventListener("keydown",b)}},[h,v,g,y,_])}({isOpen:i,onOpen:u,onClose:m,onInput:w.useCallback(function(f){a(!0),l(f.key)},[a,l]),searchButtonRef:o}),w.createElement(w.Fragment,null,w.createElement(X1,{ref:o,translations:e==null||(t=e.translations)===null||t===void 0?void 0:t.button,onClick:u}),i&&Qu(w.createElement(qy,Vi({},e,{initialScrollY:window.scrollY,initialQuery:c,translations:e==null||(n=e.translations)===null||n===void 0?void 0:n.modal,onClose:m})),document.body))}function Vy(e){Zu(w.createElement(Cy,Pi({},e,{transformSearchClient:function(t){return t.addAlgoliaAgent("docsearch.js","3.2.1"),e.transformSearchClient?e.transformSearchClient(t):t}})),function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}const My=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,jy=()=>{const e=vn(),t=_a();return{hitComponent:({hit:n,children:o})=>({type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:n.url,onClick:r=>{My(r)||(r.preventDefault(),e.push(rs(n.url,t.value.base)))},children:o},__v:null}),navigator:{navigate:({itemUrl:n})=>{e.push(rs(n,t.value.base))}},transformSearchClient:n=>{const o=ra(n.search,500);return{...n,search:async(...r)=>o(...r)}}}};const Hy=Ve({name:"Docsearch",props:{containerId:{type:String,required:!1,default:"docsearch-container"},options:{type:Object,required:!0}},setup(e){const t=Fn(),n=Em(),o=jy(),r=te(()=>{var s;return{...e.options,...(s=e.options.locales)==null?void 0:s[t.value]}}),i=[],a=()=>{var c,l;const s=(l=(c=r.value.searchParameters)==null?void 0:c.facetFilters)!=null?l:[];i.splice(0,i.length,`lang:${n.value}`,...se(s)?s:[s]),Vy({...o,...r.value,container:`#${e.containerId}`,searchParameters:{...r.value.searchParameters,facetFilters:i}})};return et(()=>{a(),ot([t,r],([s,c],[l,u])=>{s!==l&&JSON.stringify(c)!==JSON.stringify(u)&&a()}),ot(n,(s,c)=>{if(s!==c){const l=i.findIndex(u=>u===`lang:${c}`);l>-1&&i.splice(l,1,`lang:${s}`)}})}),()=>Ie("div",{id:e.containerId})}}),$y={apiKey:"30c521836bfc8e97915576e11ac2cebc",indexName:"arthas",appId:"UX8WBNVHHR",locales:{"/":{placeholder:"\u641C\u7D22\u6587\u6863",translations:{button:{buttonText:"\u641C\u7D22\u6587\u6863",buttonAriaLabel:"\u641C\u7D22\u6587\u6863"},modal:{searchBox:{resetButtonTitle:"\u6E05\u9664\u67E5\u8BE2\u6761\u4EF6",resetButtonAriaLabel:"\u6E05\u9664\u67E5\u8BE2\u6761\u4EF6",cancelButtonText:"\u53D6\u6D88",cancelButtonAriaLabel:"\u53D6\u6D88"},startScreen:{recentSearchesTitle:"\u641C\u7D22\u5386\u53F2",noRecentSearchesText:"\u6CA1\u6709\u641C\u7D22\u5386\u53F2",saveRecentSearchButtonTitle:"\u4FDD\u5B58\u81F3\u641C\u7D22\u5386\u53F2",removeRecentSearchButtonTitle:"\u4ECE\u641C\u7D22\u5386\u53F2\u4E2D\u79FB\u9664",favoriteSearchesTitle:"\u6536\u85CF",removeFavoriteSearchButtonTitle:"\u4ECE\u6536\u85CF\u4E2D\u79FB\u9664"},errorScreen:{titleText:"\u65E0\u6CD5\u83B7\u53D6\u7ED3\u679C",helpText:"\u4F60\u53EF\u80FD\u9700\u8981\u68C0\u67E5\u4F60\u7684\u7F51\u7EDC\u8FDE\u63A5"},footer:{