create-rspress 1.37.1 → 1.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/template-basic/doc_build/404.html +2 -2
- package/template-basic/doc_build/guide/index.html +2 -2
- package/template-basic/doc_build/hello.html +2 -2
- package/template-basic/doc_build/index.html +2 -2
- package/template-basic/doc_build/static/js/92.9f9e30df.js +2 -0
- package/template-basic/doc_build/static/js/index.7bc5b565.js +5 -0
- package/template-basic/doc_build/static/js/styles.3ebc0aa5.js +1 -0
- package/template-basic/package.json +1 -1
- package/template-basic/doc_build/static/js/231.d4c585e8.js +0 -2
- package/template-basic/doc_build/static/js/index.7ad6d983.js +0 -6
- package/template-basic/doc_build/static/js/index.7ad6d983.js.LICENSE.txt +0 -13
- package/template-basic/doc_build/static/js/styles.1b30ec0d.js +0 -1
- /package/template-basic/doc_build/static/css/{styles.3708cb4f.css → styles.664aae8b.css} +0 -0
- /package/template-basic/doc_build/static/js/{231.d4c585e8.js.LICENSE.txt → 92.9f9e30df.js.LICENSE.txt} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! For license information please see index.7ad6d983.js.LICENSE.txt */
|
|
2
|
-
(()=>{"use strict";var e={604:function(e,t,r){r.d(t,{Jr:function(){return o},Ni:function(){return s},R0:function(){return l},Vi:function(){return a},aw:function(){return c},n_:function(){return d}});var n=r(6945),i=r(3567);let l=(0,n.createContext)({}),s=(0,n.createContext)({});function a(){return(0,n.useContext)(l).data}function o(){return(0,n.useContext)(l).data.page.lang||""}function c(){return(0,n.useContext)(l).data.page.version||""}function d(e){let[t,r]=(0,n.useState)(e);return(0,n.useLayoutEffect)(()=>{document.startViewTransition&&t!==e?document.startViewTransition(()=>{(0,i.flushSync)(()=>{r(e)}),window.dispatchEvent(new Event("RspressReloadContent"))}):((0,i.flushSync)(()=>{r(e)}),window.dispatchEvent(new Event("RspressReloadContent")))},[e]),t}},1007:function(e,t,r){r.d(t,{AP:function(){return c},E9:function(){return a},Tm:function(){return l},i6:function(){return d},pJ:function(){return s},pV:function(){return o}});var n=r(6780),i=r(1550);function l(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function s(e="/"){return(0,i.pJ)(e,n.Z.base)}function a(e){return(0,i.E9)(e,n.Z.base)}function o(e,t){return s(c((0,i.lm)(e)))===s(c((0,i.lm)(t)))}function c(e){let t=!!n.Z?.route?.cleanUrls;return(0,i.yc)(e,t)}function d(e){return!(0,i.yv)()||function(e){return(0,i.xf)(e)||(0,i.pZ)(e)||e.startsWith("//")}(e)||!e.startsWith("/")?e:s(e)}},375:function(e,t,r){var n=r("8093"),i=r("6945"),l=r("1550"),s=r("6780"),a=r("1007"),o=r("604"),c=r("156"),d=r("7570"),u=r("1340"),h=r("3322"),m=r("353"),f=r("5721");r("3608");async function p(e){var t,n;let{routes:i}=r(6118),o=(0,d.fp)(i,e);if(o){let t=o[0].route,r=await t.preload(),i=(0,l.bw)(o[0].route.filePath),c=s.Z.pages.find(t=>{let r=e=>e.replace(/\/$/,"").toLowerCase();return(0,a.pV)(r(t.routePath),r(e))}),d=encodeURIComponent(i),u=(null===(n=r.default.__RSPRESS_PAGE_META)||void 0===n?void 0:n[d])||{},{toc:h=[],title:m="",frontmatter:f={},...p}=l.kv.test(t.filePath)?u:r;return{siteData:s.Z,page:{...p,pagePath:i,...c,pageType:(null==f?void 0:f.pageType)||"doc",title:m,frontmatter:f,toc:h}}}let c=s.Z.lang||"",u=(null===(t=s.Z.multiVersion)||void 0===t?void 0:t.default)||"";if(s.Z.lang&&"undefined"!=typeof window){let e=location.pathname.replace(s.Z.base,"").split("/").slice(0,2);if(s.Z.locales.length){let t=s.Z.locales.find(t=>{let{lang:r}=t;return e.includes(r)});t&&(c=t.lang)}if(s.Z.multiVersion.versions){let t=s.Z.multiVersion.versions.find(t=>e.includes(t));t&&(u=t)}}return{siteData:s.Z,page:{pagePath:"",pageType:"404",routePath:"/404",lang:c,frontmatter:{},title:"404",toc:[],version:u,_filepath:"",_relativePath:""}}}function x(e){let{helmetContext:t}=e,{setData:r,data:l}=(0,i.useContext)(o.R0),s=l.page.frontmatter||{},{pathname:c,search:d}=(0,u.TH)(),x=new URLSearchParams(d),v="globalUIComponents",g=!1===s[v]||"0"===x.get(v);return(0,i.useLayoutEffect)(()=>{(async function e(){try{let e=await p((0,a.Tm)(c));r(e)}catch(e){console.log(e)}})()},[c,r]),(0,n.jsxs)(h.B6,{context:t,children:[(0,n.jsx)(f.default.Layout,{}),!g&&m.Z.map((e,t)=>{if(Array.isArray(e)){let[r,n]=e;return i.createElement(r,{key:t,...n})}return i.createElement(e,{key:t})})]})}let v=s.Z.ssg,{default:g,useThemeState:j}=r(5721);(async function e(){let e=document.getElementById("root"),t=async()=>{let e=await p((0,a.Tm)(window.location.pathname));return function(){let[t,r]=(0,i.useState)(e),[l,s]=j();return(0,n.jsx)(o.Ni.Provider,{value:(0,i.useMemo)(()=>({theme:l,setTheme:s}),[l,s]),children:(0,n.jsx)(o.R0.Provider,{value:(0,i.useMemo)(()=>({data:t,setData:r}),[t,r]),children:(0,n.jsx)(c.VK,{children:(0,n.jsx)(x,{})})})})}},s=await t();{let{createRoot:t,hydrateRoot:i}=r(1796);(0,l.yv)()&&v?i(e,(0,n.jsx)(s,{})):t(e).render((0,n.jsx)(s,{}))}})().then(()=>{g.setup()})},3678:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(1340),i=r(7750),l=r(6945);function s(e){let{pathname:t}=(0,n.TH)(),{selector:r=".rspress-doc img",options:s={}}=e;return(0,l.useEffect)(()=>{let e;let t=setTimeout(()=>{let t=document.querySelectorAll(r);e=(0,i.Z)(t,{...s,background:"var(--rp-c-bg)"})},100);return()=>{clearTimeout(t),null==e||e.detach(),null==e||e.close()}},[t]),null}r(486)},1550:function(e,t,r){r.d(t,{$U:function(){return tm},E9:function(){return tj},Kw:function(){return td},Qj:function(){return tc},_f:function(){return ts},bw:function(){return ti},kv:function(){return te},lm:function(){return tl},mi:function(){return to},pJ:function(){return tg},pZ:function(){return th},rp:function(){return tt},t6:function(){return tr},tz:function(){return tv},xM:function(){return tf},xf:function(){return tu},yc:function(){return tx},yv:function(){return tn}});var n,i,l,s,a,o,c,d,u,h="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,f=h||m||Function("return this")(),p=f.Symbol,x=Object.prototype,v=x.hasOwnProperty,g=x.toString,j=p?p.toStringTag:void 0,w=function(e){var t=v.call(e,j),r=e[j];try{e[j]=void 0;var n=!0}catch(e){}var i=g.call(e);return n&&(t?e[j]=r:delete e[j]),i},b=Object.prototype.toString,y=p?p.toStringTag:void 0,k=function(e){var t;if(null==e)return void 0===e?"[object Undefined]":"[object Null]";return y&&y in Object(e)?w(e):(t=e,b.call(t))},N=function(e){return null!=e&&"object"==typeof e},_=Array.isArray,C=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},M=function(e){return e},$=function(e){if(!C(e))return!1;var t=k(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},S=f["__core-js_shared__"];var E=(n=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",A=Function.prototype.toString,T=function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""},L=/^\[object .+?Constructor\]$/,z=Object.prototype,H=Function.prototype.toString,P=z.hasOwnProperty,O=RegExp("^"+H.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=function(e){var t;return!!C(e)&&(t=e,!E||!(E in t))&&($(e)?O:L).test(T(e))},V=function(e,t){var r,n,i=(r=e,n=t,null==r?void 0:r[n]);return B(i)?i:void 0},I=Object.create,R=function(){function e(){}return function(t){if(!C(t))return{};if(I)return I(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Z=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},W=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t},F=Date.now,D=function(){try{var e=V(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var U=(i=D?function(e,t){var r;return D(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0})}:M,l=0,s=0,function(){var e=F(),t=16-(e-s);if(s=e,t>0){if(++l>=800)return arguments[0]}else l=0;return i.apply(void 0,arguments)}),J=/^(?:0|[1-9]\d*)$/,G=function(e,t){var r=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==r||"symbol"!=r&&J.test(e))&&e>-1&&e%1==0&&e<t},q=function(e,t,r){"__proto__"==t&&D?D(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},K=function(e,t){return e===t||e!=e&&t!=t},Y=Object.prototype.hasOwnProperty,X=function(e,t,r){var n=e[t];(!(Y.call(e,t)&&K(n,r))||void 0===r&&!(t in e))&&q(e,t,r)},Q=function(e,t,r,n){var i=!r;r||(r={});for(var l=-1,s=t.length;++l<s;){var a=t[l],o=n?n(r[a],e[a],a,r,e):void 0;void 0===o&&(o=e[a]),i?q(r,a,o):X(r,a,o)}return r},ee=Math.max,et=function(e,t){var r,n,i;return U((r=e,n=t,i=M,n=ee(void 0===n?r.length-1:n,0),function(){for(var e=arguments,t=-1,l=ee(e.length-n,0),s=Array(l);++t<l;)s[t]=e[n+t];t=-1;for(var a=Array(n+1);++t<n;)a[t]=e[t];return a[n]=i(s),Z(r,this,a)}),e+"")},er=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff},en=function(e){return null!=e&&er(e.length)&&!$(e)},ei=function(e,t,r){if(!C(r))return!1;var n=typeof t;return("number"==n?!!(en(r)&&G(t,r.length)):"string"==n&&t in r)&&K(r[t],e)},el=Object.prototype,es=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||el)},ea=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},eo=function(e){return N(e)&&"[object Arguments]"==k(e)},ec=Object.prototype,ed=ec.hasOwnProperty,eu=ec.propertyIsEnumerable,eh=eo(function(){return arguments}())?eo:function(e){return N(e)&&ed.call(e,"callee")&&!eu.call(e,"callee")},em="object"==typeof exports&&exports&&!exports.nodeType&&exports,ef=em&&"object"==typeof module&&module&&!module.nodeType&&module,ep=ef&&ef.exports===em?f.Buffer:void 0,ex=ep?ep.isBuffer:void 0,ev=ex||function(){return!1},eg={};eg["[object Float32Array]"]=eg["[object Float64Array]"]=eg["[object Int8Array]"]=eg["[object Int16Array]"]=eg["[object Int32Array]"]=eg["[object Uint8Array]"]=eg["[object Uint8ClampedArray]"]=eg["[object Uint16Array]"]=eg["[object Uint32Array]"]=!0,eg["[object Arguments]"]=eg["[object Array]"]=eg["[object ArrayBuffer]"]=eg["[object Boolean]"]=eg["[object DataView]"]=eg["[object Date]"]=eg["[object Error]"]=eg["[object Function]"]=eg["[object Map]"]=eg["[object Number]"]=eg["[object Object]"]=eg["[object RegExp]"]=eg["[object Set]"]=eg["[object String]"]=eg["[object WeakMap]"]=!1;var ej="object"==typeof exports&&exports&&!exports.nodeType&&exports,ew=ej&&"object"==typeof module&&module&&!module.nodeType&&module,eb=ew&&ew.exports===ej&&h.process,ey=function(){try{var e=ew&&ew.require&&ew.require("util").types;if(e)return e;return eb&&eb.binding&&eb.binding("util")}catch(e){}}(),ek=ey&&ey.isTypedArray;var eN=ek?(a=ek,function(e){return a(e)}):function(e){return N(e)&&er(e.length)&&!!eg[k(e)]},e_=Object.prototype.hasOwnProperty,eC=function(e,t){var r=_(e),n=!r&&eh(e),i=!r&&!n&&ev(e),l=!r&&!n&&!i&&eN(e),s=r||n||i||l,a=s?ea(e.length,String):[],o=a.length;for(var c in e)(t||e_.call(e,c))&&!(s&&("length"==c||i&&("offset"==c||"parent"==c)||l&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||G(c,o)))&&a.push(c);return a},eM=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},e$=Object.prototype.hasOwnProperty,eS=function(e){if(!C(e))return eM(e);var t=es(e),r=[];for(var n in e)!("constructor"==n&&(t||!e$.call(e,n)))&&r.push(n);return r},eE=function(e){return en(e)?eC(e,!0):eS(e)},eA=V(Object,"create"),eT=Object.prototype.hasOwnProperty,eL=Object.prototype.hasOwnProperty;function ez(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ez.prototype.clear=function(){this.__data__=eA?eA(null):{},this.size=0},ez.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ez.prototype.get=function(e){var t=this.__data__;if(eA){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return eT.call(t,e)?t[e]:void 0},ez.prototype.has=function(e){var t=this.__data__;return eA?void 0!==t[e]:eL.call(t,e)},ez.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=eA&&void 0===t?"__lodash_hash_undefined__":t,this};var eH=function(e,t){for(var r=e.length;r--;)if(K(e[r][0],t))return r;return -1},eP=Array.prototype.splice;function eO(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}eO.prototype.clear=function(){this.__data__=[],this.size=0},eO.prototype.delete=function(e){var t=this.__data__,r=eH(t,e);return!(r<0)&&(r==t.length-1?t.pop():eP.call(t,r,1),--this.size,!0)},eO.prototype.get=function(e){var t=this.__data__,r=eH(t,e);return r<0?void 0:t[r][1]},eO.prototype.has=function(e){return eH(this.__data__,e)>-1},eO.prototype.set=function(e,t){var r=this.__data__,n=eH(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var eB=V(f,"Map"),eV=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},eI=function(e,t){var r=e.__data__;return eV(t)?r["string"==typeof t?"string":"hash"]:r.map};function eR(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}eR.prototype.clear=function(){this.size=0,this.__data__={hash:new ez,map:new(eB||eO),string:new ez}},eR.prototype.delete=function(e){var t=eI(this,e).delete(e);return this.size-=t?1:0,t},eR.prototype.get=function(e){return eI(this,e).get(e)},eR.prototype.has=function(e){return eI(this,e).has(e)},eR.prototype.set=function(e,t){var r=eI(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};var eZ=(o=Object.getPrototypeOf,c=Object,function(e){return o(c(e))}),eW=Object.prototype,eF=Function.prototype.toString,eD=eW.hasOwnProperty,eU=eF.call(Object),eJ=function(e){if(!N(e)||"[object Object]"!=k(e))return!1;var t=eZ(e);if(null===t)return!0;var r=eD.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&eF.call(r)==eU};function eG(e){var t=this.__data__=new eO(e);this.size=t.size}eG.prototype.clear=function(){this.__data__=new eO,this.size=0},eG.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},eG.prototype.get=function(e){return this.__data__.get(e)},eG.prototype.has=function(e){return this.__data__.has(e)},eG.prototype.set=function(e,t){var r=this.__data__;if(r instanceof eO){var n=r.__data__;if(!eB||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new eR(n)}return r.set(e,t),this.size=r.size,this};var eq="object"==typeof exports&&exports&&!exports.nodeType&&exports,eK=eq&&"object"==typeof module&&module&&!module.nodeType&&module,eY=eK&&eK.exports===eq?f.Buffer:void 0,eX=eY?eY.allocUnsafe:void 0,eQ=function(e,t){if(t)return e.slice();var r=e.length,n=eX?eX(r):new e.constructor(r);return e.copy(n),n},e0=f.Uint8Array,e1=function(e){var t=new e.constructor(e.byteLength);return new e0(t).set(new e0(e)),t},e2=function(e,t){var r=t?e1(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};var e4=function(e,t,r){for(var n=-1,i=Object(e),l=r(e),s=l.length;s--;){var a=l[++n];if(!1===t(i[a],a,i))break}return e},e3=function(e,t,r){(void 0!==r&&!K(e[t],r)||void 0===r&&!(t in e))&&q(e,t,r)},e5=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},e6=function(e,t,r,n,i,l,s){var a=e5(e,r),o=e5(t,r),c=s.get(o);if(c){e3(e,r,c);return}var d=l?l(a,o,r+"",e,t,s):void 0,u=void 0===d;if(u){var h,m,f,p=_(o),x=!p&&ev(o),v=!p&&!x&&eN(o);if(d=o,p||x||v){if(_(a))d=a;else{;if(N(h=a)&&en(h))d=W(a);else x?(u=!1,d=eQ(o,!0)):v?(u=!1,d=e2(o,!0)):d=[]}}else if(eJ(o)||eh(o)){;if(d=a,eh(a)){;d=Q(m=a,eE(m))}else if(!C(a)||$(a)){;d="function"!=typeof(f=o).constructor||es(f)?{}:R(eZ(f))}}else u=!1}u&&(s.set(o,d),i(d,o,n,l,s),s.delete(o)),e3(e,r,d)},e7=function e(t,r,n,i,l){if(t!==r)e4(r,function(s,a){if(l||(l=new eG),C(s))e6(t,r,a,n,e,i,l);else{var o=i?i(e5(t,a),s,a+"",t,r,l):void 0;void 0===o&&(o=s),e3(t,a,o)}},eE)};u=function(e,t,r,n){e7(e,t,r,n)},et(function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,l=n>2?t[2]:void 0;for(i=u.length>3&&"function"==typeof i?(n--,i):void 0,l&&ei(t[0],t[1],l)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var s=t[r];s&&u(e,s,r,i)}return e});var e8=/\?.*$/s,e9=/#.*$/s,te=/\.mdx?$/,tt="rspress-theme-appearance",tr="search_index",tn=()=>!0,ti=e=>e.replace(e9,"").replace(e8,"");function tl(e){return e.replace(/#.*$/,"")}var ts=()=>!0;function ta(e){return"/"===e.charAt(0)||tu(e)?e:`/${e}`}function to(e){return"/"===e.charAt(e.length-1)?e:`${e}/`}function tc(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function td(e){return tc(ta(function(e){let t=e.replace(/\\/g,"/"),r=t.startsWith("/"),n=t.split("/"),i=[];for(let e of n)"."===e||""===e||(".."===e?i.length>0&&".."!==i[i.length-1]?i.pop():r&&i.push(".."):i.push(e));let l=i.join("/");return r&&(l=`/${l}`),l}(e)))}function tu(e=""){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")}function th(e=""){return/^\s*data:/i.test(e)}function tm(e,t,r,n="",i=!1,l=!1){let s=tj(e,n);(!s||l)&&(s=i?"/index":"/index.html"),s.endsWith("/")&&(s+=i?"/index":"/index.html");let a="",o="",c="",d=s.split("/").filter(Boolean);return r.current&&r.current!==r.default&&(a=d.shift()||""),t.target!==t.default?(o=t.target,t.current!==t.default&&d.shift()):d.shift(),c=d.join("/")||"",(a||o)&&!c&&(c=i?"index":"index.html"),tg(ta([a,o,c].filter(Boolean).join("/")),n)}function tf(e,t,r="",n=!1,i=!1){let l=tj(e,r);(!l||i)&&(l=n?"/index":"/index.html");let s="",a=l.split("/").filter(Boolean);t.target!==t.default?(s=t.target,t.current!==t.default&&a.shift()):a.shift();let o=a.join("/")||"";return s&&!o&&(o=n?"index":"index.html"),tg(ta([s,o].filter(Boolean).join("/")),r)}var tp=e=>{let[t,r=""]=e.split("#");return{url:t,hash:r}};function tx(e,t=!1){if(!e)return"/";if(tu(e))return e;let{url:r,hash:n}=tp(decodeURIComponent(e));return!t&&!r.endsWith(".html")&&(r.endsWith("/")?r+="index.html":r+=".html"),t&&r.endsWith("/")&&(r+="index"),t&&r.endsWith(".html")&&(r=r.replace(/\.html$/,"")),ta(n?`${r}#${n}`:r)}function tv(e,t=""){return ta(e).replace(td(t),"")}function tg(e="/",t=""){let r=ta(e),n=td(t);return r.startsWith(n)?r:`${n}${r}`}function tj(e,t){return ta(e).replace(RegExp(`^${td(t)}`),"")}},5721:function(e,t,r){r.r(t),r.d(t,{bindingAsideScroll:()=>eU,getCustomMDXComponent:()=>t5,scrollToTarget:()=>eD,useHiddenNav:()=>eW,useLocaleSiteData:()=>eO,Nav:()=>rF,Tab:()=>ni,Tag:()=>n_,Toc:()=>nM,PackageManagerTabs:()=>r5,usePathUtils:()=>eG,useRedirect4FirstVisit:()=>tr,useSidebarData:()=>eV,SearchPanel:()=>nd,SocialLinks:()=>rM,useEditLink:()=>eR,isMobileDevice:()=>td,Link:()=>rf,Card:()=>re,DocFooter:()=>tb,NotFoundLayout:()=>tE,Tabs:()=>nn,renderInlineMarkdown:()=>tx,useEnableNav:()=>eZ,parseInlineMarkdownText:()=>tv,HomeFooter:()=>rs,EditLink:()=>rr,isActive:()=>tc,HomeFeature:()=>rl,useFullTextSearch:()=>tt,default:()=>n$,useThemeState:()=>to,renderHtmlOrText:()=>tu,Aside:()=>tg,Badge:()=>t7,LastUpdated:()=>rh,Steps:()=>nN,setup:()=>eJ,DocLayout:()=>tC,HomeLayout:()=>tM,LinkCard:()=>rx,usePrevNextPage:()=>eI,Search:()=>nu,ScrollToTop:()=>r9,Layout:()=>tS,Button:()=>t9,Sidebar:()=>nw,RenderType:()=>e9,SourceCode:()=>ny,HomeHero:()=>rd,Overview:()=>rQ,PrevNextPage:()=>r7,SwitchAppearance:()=>rb}),r("4868");var n,i,l,s,a,o,c,d,u,h,m,f,p,x,v,g,j,w,b,y,k,N,_,C=r("6945"),M=r("5878"),$=r("604"),S=r("8093"),E=r("1340"),A=r("7570"),T=r("6780"),L=r("1007");let{routes:z}=r(6118),H=(0,C.memo)(function(e){let t=e.el;return T.Z?.themeConfig?.enableContentAnimation&&(t=(0,$.n_)(e.el)),t},(e,t)=>e.el===t.el),P=({fallback:e=(0,S.jsx)(S.Fragment,{})})=>{let{pathname:t}=(0,E.TH)(),r=(0,A.fp)(z,(0,L.Tm)(t));if(!r)return(0,S.jsx)("div",{});let n=r[0].route.element;return(0,S.jsx)(C.Suspense,{fallback:e,children:(0,S.jsx)(H,{el:n})})};function O(e){let{children:t}=e,[r,n]=(0,C.useState)(!1);return((0,C.useEffect)(()=>{n(!0)},[]),r)?(0,S.jsx)(S.Fragment,{children:t}):null}var B=r("1550"),V=r("5187"),I=r("4367"),R=r("8390"),Z=r("4823"),W=r("4520"),F=e=>(0,S.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})}),D=e=>(0,S.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})});r("3945");var U=r("3322"),J=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13v2M3 19h13v-2H3v2m19-7-4-3v2H3v2h15v2l4-3Z"})}),G=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{fill:"#22a041",d:"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3 4 3v-2h2c2.95 0 4-1.27 4-4 0-2.72-1-4-4-4H3z"})}),q=r("6824"),K=r("7317"),Y=r("9522"),X=e=>(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30",...e,children:[(0,S.jsx)("path",{fill:"currentColor",d:"M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z"}),(0,S.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]}),Q=e=>(0,S.jsx)("svg",{width:32,height:32,viewBox:"0 0 30 30",...e,children:(0,S.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9 13 24z"})}),ee=r("7841"),et=r("6118"),er=e=>(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",...e,children:[(0,S.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,S.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,S.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]}),en=r("2555"),ei=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{d:"M12 18c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-10c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zM12 4c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM12 24c-.6 0-1-.4-1-1v-2c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM5.6 6.6c-.3 0-.5-.1-.7-.3L3.5 4.9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.1.2-.4.3-.7.3zM19.8 20.8c-.3 0-.5-.1-.7-.3l-1.4-1.4c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.2.2-.5.3-.7.3zM3 13H1c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM23 13h-2c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM4.2 20.8c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.4.3-.7.3zM18.4 6.6c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.5.3-.7.3z"})}),el=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{d:"M12.1 22h-.9c-5.5-.5-9.5-5.4-9-10.9.4-4.8 4.2-8.6 9-9 .4 0 .8.2 1 .5.2.3.2.8-.1 1.1-2 2.7-1.4 6.4 1.3 8.4 2.1 1.6 5 1.6 7.1 0 .3-.2.7-.3 1.1-.1.3.2.5.6.5 1-.2 2.7-1.5 5.1-3.6 6.8-1.9 1.4-4.1 2.2-6.4 2.2zM9.3 4.4c-2.9 1-5 3.6-5.2 6.8-.4 4.4 2.8 8.3 7.2 8.7 2.1.2 4.2-.4 5.8-1.8 1.1-.9 1.9-2.1 2.4-3.4-2.5.9-5.3.5-7.5-1.1-2.8-2.2-3.9-5.9-2.7-9.2z"})}),es=r("8032"),ea=r("3567"),eo=e=>(0,S.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})}),ec=e=>(0,S.jsx)("svg",{width:18,height:18,viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6 2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})}),ed=e=>(0,S.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})}),eu=e=>(0,S.jsx)("svg",{width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"var(--rp-c-gray)",d:"m29 27.586-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9Z"})}),eh=r("4154"),em=r("1716"),ef=r("5831"),ep=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M24 9.4 22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z"})}),ex=e=>(0,S.jsx)("svg",{width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,S.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,S.jsx)("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Z",children:(0,S.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,S.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,S.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,S.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})}),ev=e=>(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",...e,children:[(0,S.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M24 5v6m7 1 4-4m-18 4-4-4m27 33H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"}),(0,S.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]}),eg=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M13.414 17.586 18 22.172V8H8V6h10a2.002 2.002 0 0 1 2 2v14.172l4.586-4.586L26 19l-7 7-7-7Z"})}),ej=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})}),ew=e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"m21.94 13.11-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91-6.17-7.91m8.73 7.92 2.47-7.59.1-.33h3.61l-5.59 7.16m4.1-13.67 1.81 5.56h-3.62m-1.3.95-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94 7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43 5.82 7.45m11.38-4.73-6.51 4.73.02-.03 5.79-7.42.79 2.43c.04.1 0 .22-.09.29"})}),eb=Object.defineProperty,ey=Object.defineProperties,ek=Object.getOwnPropertyDescriptors,eN=Object.getOwnPropertySymbols,e_=Object.prototype.hasOwnProperty,eC=Object.prototype.propertyIsEnumerable,eM=(e,t,r)=>t in e?eb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,e$=(e,t)=>{for(var r in t||(t={}))e_.call(t,r)&&eM(e,r,t[r]);if(eN)for(var r of eN(t))eC.call(t,r)&&eM(e,r,t[r]);return e},eS=(e,t)=>ey(e,ek(t)),eE=(e,t)=>{var r={};for(var n in e)e_.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&eN)for(var n of eN(e))0>t.indexOf(n)&&eC.call(e,n)&&(r[n]=e[n]);return r},eA=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},eT=(e,t,r)=>(eA(e,t,"read from private field"),r?r.call(e):t.get(e)),eL=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ez=(e,t,r,n)=>(eA(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),eH=(e,t,r)=>(eA(e,t,"access private method"),r),eP=(e,t,r)=>new Promise((n,i)=>{var l=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(l,s);a((r=r.apply(e,t)).next())});function eO(){var e,t,r;let n=(0,$.Vi)(),{page:{lang:i}}=n,l=null!=(t=null==(e=null==n?void 0:n.siteData)?void 0:e.themeConfig)?t:{},s=null!=(r=n.siteData.lang)?r:"",a=null==l?void 0:l.locales;return a&&0!==a.length?eS(e$({},a.find(e=>e.lang===i)),{langRoutePrefix:i===s?"/":(0,B.mi)(i)}):{nav:l.nav,sidebar:l.sidebar,prevPageText:l.prevPageText,nextPageText:l.nextPageText,sourceCodeText:l.sourceCodeText,searchPlaceholderText:l.searchPlaceholderText,searchNoResultsText:l.searchNoResultsText,searchSuggestedQueryText:l.searchSuggestedQueryText,overview:l.overview}}var eB=(e,t)=>{let r;for(let n of Object.keys(e)){if(r&&r!==n)continue;if((0,L.pV)((0,L.pJ)(n),t))return{group:"Documentation",items:e[n]};let i=e[n].find(i=>{let l=i=>{if(!t.startsWith((0,L.pJ)(n))){for(let i of Object.keys(e))if(i!==n&&t.startsWith((0,B.mi)((0,L.pJ)(i))))return r=i,!1}let s="link"in i&&""!==i.link,a="items"in i;if(!a&&s&&((0,L.pV)((0,L.pJ)(i.link),t)||t.includes("index")&&(0,L.pV)(`${i.link}/index`,t)))return!0;if(a)return!!(s&&((0,L.pV)((0,L.pJ)(i.link),t)||(0,L.pV)((0,L.pJ)(`${i.link}/index`),t)))||i.items.some(e=>l(e));return!1};return l(i)});if(i){let t=e[n];return{group:"text"in i&&i.text||"",items:t}}}return{group:"Documentation",items:[]}};function eV(){var e;let t=eO(),r=null!=(e=t.sidebar)?e:{},{pathname:n}=(0,E.TH)(),i=decodeURIComponent(n),[l,s]=(0,C.useState)(eB(r,i));return(0,C.useEffect)(()=>{s(eB(r,i))},[i,t.lang]),l}function eI(){let{pathname:e}=(0,E.TH)(),{items:t}=eV(),r=[],n=e=>{"items"in e?(e.link&&r.push({text:e.text,link:e.link}),e.items.forEach(e=>{"dividerType"in e||n(e)})):r.push(e)};t.forEach(e=>!("dividerType"in e)&&n(e));let i=r.findIndex(t=>(0,L.pV)((0,L.pJ)(t.link),e)),l=r[i-1]||null;return{prevPage:l,nextPage:r[i+1]||null}}function eR(){var e,t,r;let{siteData:n,page:i}=(0,$.Vi)(),l=null!=(r=null!=(t=eO().editLink)?t:null==(e=n.themeConfig)?void 0:e.editLink)?r:{};if(!l.docRepoBaseUrl||!l.text)return null;let{docRepoBaseUrl:s}=l;!s.endsWith("/")&&(s+="/");let a=i._relativePath.replace(/\\/g,"/"),o=`${s}${a}`;return{text:l.text,link:o}}function eZ(){var e;let{siteData:{themeConfig:t},page:{frontmatter:r={}}}=(0,$.Vi)(),n=(null==(e=null==r?void 0:r.navbar)||e)&&(null==t?void 0:t.hideNavbar)!=="always",[i,l]=(0,C.useState)(n);return[i,l]}function eW(){var e;let{siteData:{themeConfig:t}}=(0,$.Vi)(),r=null!=(e=t.hideNavbar)?e:"never",[n,i]=(0,C.useState)(!1),{pathname:l}=(0,E.TH)(),s=(0,C.useRef)(0);return"never"!==r&&("always"===r||((0,C.useEffect)(()=>{i(!1);let e=(0,V.Z)(()=>{let{scrollTop:e}=document.documentElement;if(e!==s.current)i(s.current>0&&e-s.current>0),s.current=e<=0?0:e},200);return window.addEventListener("mousewheel",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("mousewheel",e),window.removeEventListener("touchmove",e)}},[l]),n))}function eF(e,t=72){let r=Number.parseInt(window.getComputedStyle(e).paddingTop,10);return Math.round(window.scrollY+e.getBoundingClientRect().top-t-r)}function eD(e,t,r=72){window.scrollTo(e$({left:0,top:eF(e,r)},t?{behavior:"smooth"}:{}))}function eU(){let e=document.getElementById("aside-container"),t=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>{var t;return(null==(t=e.parentElement)?void 0:t.tagName)!=="H1"});if(!e||!t.length)return;let r=null;if(!Array.from((null==e?void 0:e.getElementsByTagName("a"))||[]).map(e=>decodeURIComponent(e.hash)).length)return;let n=(t,n)=>{if(t[n]){let i=t[n].getAttribute("href"),l=null==e?void 0:e.querySelector(`a[href="#${null==i?void 0:i.slice(1)}"]`);l&&(r&&r.classList.remove("aside-active"),(r=l).classList.add("aside-active"))}},i=()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)n(t,t.length-1);else for(let e=0;e<t.length;e++){let r=t[e],i=t[e+1],l=Math.ceil(window.scrollY),s=eF(r.parentElement);if(0===e&&l<s||0===l){n(t,0);break}if(!i){n(t,e);break}let a=eF(i.parentElement);if(l>=s&&l<a){n(t,e);break}}},l=(0,V.Z)(i,200);return window.addEventListener("scroll",l),i(),()=>{r&&r.classList.remove("aside-active"),window.removeEventListener("scroll",l)}}function eJ(){if(!!(0,B._f)())window.addEventListener("click",e=>{let t=e.target.closest("a");if(t){let{origin:r,hash:n,target:i,pathname:l,search:s}=t,a=window.location;n&&"_blank"!==i&&r===a.origin&&(l===a.pathname&&s===a.search&&n&&t.classList.contains("header-anchor")?(e.preventDefault(),history.pushState(null,"",n),!function(e,t,r=!1){let n=null;try{n=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t.slice(1)))}catch(e){console.warn(e)}n&&eD(n,r)}(t,n,!0),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&eD(document.getElementById(location.hash.slice(1)),!1)}))}},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()})}function eG(){let e=(0,$.Jr)(),t=(0,$.aw)(),r=(0,$.Vi)(),n=r.siteData.lang,i=r.siteData.multiVersion.default;return{normalizeLinkHref:r=>{let l=r;if((n||i)&&!(0,B.xf)(l)&&!l.startsWith("#")){let r=(l=(0,L.E9)(l)).split("/").filter(Boolean),s="",a="",o="";return i&&(t!==i?(s=t,r[0]===t&&r.shift()):r[0]===i&&r.shift()),n&&(e!==n?(a=e,r[0]===e&&r.shift()):r[0]===n&&r.shift()),o=r.join("/"),(0,L.AP)((0,L.pJ)([s,a,o].filter(Boolean).join("/")))}return l}}}var eq="default",eK=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u,eY=/[\u0400-\u04FF]/u;function eX(e){let t=e.toString().toLowerCase().normalize("NFD"),r=t.replace(/[\u0300-\u036f]/g,"");return eY.test(String(e))?t.normalize("NFC"):eK.test(String(e))?r.normalize("NFC"):r}function eQ(e){return e.replace(/https?:\/\/[^/]+/,"")}function e0(e){return e.charCodeAt(0)>255?3:1}var e1=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function e2(e,t){let r=0,n=0;for(let i=0;i<e.length&&!(n>=t);i++){;n+=e0(e.charAt(i)),r++}return r}function e4(e){let t=0;for(let r=0;r<e.length;r++)t+=e0(e.charAt(r));return t}var e3=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]|[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\u3041-\u3096]|[\u30A1-\u30FA]/giu,e5=/[\u0400-\u04FF]/g;function e6(e,t){let r=[],n=null;do(n=t.exec(e))&&r.push(n[0]);while(n);return r}var e7=class{constructor(){eL(this,a),eL(this,i,void 0),eL(this,l,void 0),eL(this,s,void 0)}init(e){return eP(this,null,function*(){let{currentLang:t,currentVersion:r}=e,n="remote"!==e.mode&&e.versioned,c=(yield eH(this,a,o).call(this,t,n?r:"")).map(e=>eS(e$({},e),{normalizedContent:eX(e.content),headers:e.toc.map(e=>eX(e.text)).join(" "),normalizedTitle:eX(e.title)})),d={tokenize:"full",document:{id:"id",store:!0,index:["normalizedTitle","headers","normalizedContent"]},cache:100};for(let e of(ez(this,i,new I.Z(d)),ez(this,l,new I.Z(eS(e$({},d),{tokenize:e=>e6(e,e3)}))),ez(this,s,new I.Z(eS(e$({},d),{tokenize:e=>e6(e,e5)}))),c))eT(this,i).add(e),eT(this,l).add(e),eT(this,s).add(e)})}search(e){return eP(this,null,function*(){var t,r;let{keyword:n,limit:a}=e,o={enrich:!0,limit:a,index:["normalizedTitle","headers","normalizedContent"]},c=yield Promise.all([null==(t=eT(this,i))?void 0:t.search(n,a,o),null==(r=eT(this,l))?void 0:r.search(n,a,o),eT(this,s).search(n,a,o)]),d=[],u=new Set;return c.forEach(e=>{!function(e){for(let t of e)t.result.forEach(e=>{let t=e.id;if(!u.has(t))u.add(t),d.push(e.doc)})}(e)}),[{index:eq,hits:d}]})}};i=new WeakMap,l=new WeakMap,s=new WeakMap,a=new WeakSet,o=function(e,t){return eP(this,null,function*(){let n=`${t}###${e}`,i=t?`.${t.replace(".","_")}`:"",l=e?`.${e}`:"";return(yield fetch(`${(0,B.Qj)(r.p)}/static/${B.t6}${i}${l}.${R.Z[n]}.json`)).json()})};var e8=class{constructor(){eL(this,c,void 0)}init(e){return eP(this,null,function*(){ez(this,c,e)})}search(e){return eP(this,null,function*(){let{apiUrl:t,searchIndexes:r}=eT(this,c),{keyword:n,limit:i}=e,l=Object.entries({keyword:n,limit:i.toString(),searchIndexes:(null==r?void 0:r.map(e=>"string"==typeof e?e:e.value).join(","))||"",lang:eT(this,c).currentLang}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(yield fetch(`${t}?${l}`)).json()}catch(e){return console.error(e),[]}})}};c=new WeakMap;var e9=((n=e9||{}).Default="default",n.Custom="custom",n),te=class{constructor(e){if(eL(this,m),eL(this,p),eL(this,v),eL(this,j),eL(this,b),eL(this,k),eL(this,d,void 0),eL(this,u,eq),eL(this,h,void 0),ez(this,d,e),ez(this,u,e.indexName),"remote"===e.mode)ez(this,h,new e8);else ez(this,h,new e7)}init(){return eP(this,null,function*(){var e;yield null==(e=eT(this,h))?void 0:e.init(eT(this,d))})}match(e,t=7){return eP(this,null,function*(){var r;let n=yield null==(r=eT(this,h))?void 0:r.search({keyword:e,limit:t}),i=eX(e),l=(null==n?void 0:n.find(e=>eH(this,k,N).call(this,e.index)))||{index:eq,renderType:"default",hits:[]};return[{group:eT(this,u),renderType:"default",result:eH(this,m,f).call(this,i,l)},...((null==n?void 0:n.filter(e=>!eH(this,k,N).call(this,e.index)))||[]).map(e=>({group:e.index,renderType:"default",result:eH(this,m,f).call(this,i,e)}))]})}};function tt(){var e;let{siteData:t,page:r}=(0,$.Vi)(),[n,i]=(0,C.useState)(!1),{sidebar:l}=eO(),s=e=>eB(l,e).group,a=(0,C.useRef)(null);return(0,C.useEffect)(()=>{!function(){eP(this,null,function*(){if(!n){let e=new te(eS(e$({},t.search),{mode:"local",currentLang:r.lang,currentVersion:r.version,extractGroupName:s}));a.current=e,yield e.init(),i(!0)}})}()},[]),{initialized:n,search:null==(e=a.current)?void 0:e.match.bind(a.current)}}function tr(){let{siteData:e,page:t}=(0,$.Vi)(),r=e.lang||"",n=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],i=t.lang;(0,C.useEffect)(()=>{var t;let l;if("auto"!==(null!=(t=e.themeConfig.localeRedirect)?t:"auto")||!r)return;if(/bot|spider|crawl|lighthouse/i.test(window.navigator.userAgent))return;let{pathname:s,search:a}=window.location,o=(0,L.E9)(s),c="rspress-visited";if(localStorage.getItem(c))return;localStorage.setItem(c,"1");let d=window.navigator.language.split("-")[0];if(!!n.includes(d)&&d!==i)(l=d===r?s.replace(`/${i}`,""):i===r?(0,L.pJ)(`/${d}${o}`):s.replace(`/${i}`,`/${d}`))&&window.location.replace(l+a)},[])}d=new WeakMap,u=new WeakMap,h=new WeakMap,m=new WeakSet,f=function(e,t){let r=[];return null==t||t.hits.forEach(t=>{eH(this,p,x).call(this,t,e,r);let n=eH(this,v,g).call(this,t,e,r);eH(this,j,w).call(this,t,e,r,n)}),r},p=new WeakSet,x=function(e,t,r){let{title:n=""}=e,i=eX(n);return!!i.includes(t)&&(r.push({type:"title",title:n,header:n,link:`${e.domain}${(0,L.AP)(e.routePath)}`,query:t,highlightInfoList:[{start:i.indexOf(t),length:e4(t)}],group:eT(this,d).extractGroupName(e.routePath)}),!0)},v=new WeakSet,g=function(e,t,r){let n=new WeakSet,{toc:i=[],domain:l="",title:s=""}=e;for(let[a,o]of i.entries())if(eX(o.text).includes(t)){let c=(function(e,t){let r=e[t],n=t,i=[r];for(;r&&r.depth>2;){let t=!1;for(let l=n-1;l>=0;l--){let s=e[l];if(s.depth>1&&s.depth===r.depth-1){r=s,n=l,i.unshift(r),t=!0;break}}if(!t)break}return i})(i,a).map(e=>e.text).join(" > "),u=eX(c).indexOf(t),h=`${s} > `;r.push({type:"header",title:e.title,header:`${h}${c}`,highlightInfoList:[{start:u+h.length,length:e4(t)}],link:`${l}${(0,L.AP)(e.routePath)}#${o.id}`,query:t,group:eT(this,d).extractGroupName(e.routePath)}),n.add(o)}return n},j=new WeakSet,w=function(e,t,r,n){var i,l,s;let{content:a,toc:o,domain:c}=e;if(!a.length)return;let u=eX(a),h=u.indexOf(t),m=o.map(e=>e.charIndex),f=e=>o[m.findIndex((t,r)=>{if(!(r<o.length-1))return t<e;{let n=m[r+1];if(t<=e&&n>=e)return!0}return!1})],p=e=>e&&(null==n?void 0:n.has(e));if(-1===h){let n=null==(i=e._matchesPosition)?void 0:i.content;if(!(null==n?void 0:n.length))return;let s=e._matchesPosition.content[0].start,o=f(s);if(p(o))return;let u=e2(a,s),h=e2(a,s+100),m=a.slice(u,h),x=e._matchesPosition.content.filter(e=>e.start>=s&&e.start+e.length<=s+100).map(e=>({start:e2(a,e.start)-u+3,length:e.length}));r.push({type:"content",title:e.title,header:null!=(l=null==o?void 0:o.text)?l:e.title,link:`${c}${(0,L.AP)(e.routePath)}${o?`#${o.id}`:""}`,query:t,highlightInfoList:x,group:eT(this,d).extractGroupName(e.routePath),statement:`...${m}...`});return}for(;-1!==h;){let i=f(h),l=a.slice(0,h).lastIndexOf("\n");l=-1===l?0:l;let o=a.indexOf("\n\n",h+t.length),m=a.slice(l,o);m.length>100&&(m=eH(this,b,y).call(this,m,t));let x=eX(m).indexOf(t),v=[{start:x,length:e4(t)}];!p(i)&&(r.push({type:"content",title:e.title,header:null!=(s=null==i?void 0:i.text)?s:e.title,statement:m,highlightInfoList:v,link:`${c}${(0,L.AP)(e.routePath)}${i?`#${i.id}`:""}`,query:t,group:eT(this,d).extractGroupName(e.routePath)}),i&&(null==n||n.add(i))),h=u.indexOf(t,h+m.length-x)}},b=new WeakSet,y=function(e,t){let r=eX(e).indexOf(eX(t)),n=Math.floor((100-t.length)/2),i=e.slice(0,r);i.length>n&&(i=`...${e.slice(r-n+3,r)}`);let l=e.slice(r+t.length);return l.length>n&&(l=`${e.slice(r+t.length,r+n-3)}...`),i+t+l},k=new WeakSet,N=function(e){return e===eT(this,u)||e===eq};var tn=e=>{let t=(0,C.useRef)(e);return t.current=e,(0,C.useRef)((...e)=>t.current(...e)).current},ti=e=>{let[t,r]=(0,C.useState)(()=>"undefined"!=typeof window&&window.matchMedia(e).matches);return(0,C.useEffect)(()=>{let t=window.matchMedia(e),n=e=>r(e.matches);return t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[e]),t},tl=(e,t=null)=>{let[r,n]=(0,C.useState)(()=>{var r;return"undefined"==typeof window?t:null!=(r=localStorage.getItem(e))?r:t}),i=(0,C.useCallback)(t=>{n(r=>{let n="function"==typeof t?t(r):t;return null==n?localStorage.removeItem(e):localStorage.setItem(e,n),n})},[e]);return(0,C.useEffect)(()=>{let r=r=>{var i;r.key===e&&n(null!=(i=localStorage.getItem(e))?i:t)};return window.addEventListener("storage",r),()=>{window.removeEventListener("storage",r)}},[e,t]),[r,i]},ts=e=>["light","dark","auto"].includes(e)?e:"auto",ta=!1===T.Z.themeConfig.darkMode,to=()=>{let e=ti("(prefers-color-scheme: dark)"),[t,r]=tl(B.rp),n=tn(()=>{if(ta)return"light";let r=ts(t);return"auto"===r?e?"dark":"light":r}),[i,l]=(0,C.useState)(()=>{var e;if("undefined"==typeof window)return"light";let t=null!=(e=window.RSPRESS_THEME)?e:window.MODERN_THEME;return t?"dark"===t?"dark":"light":n()}),s=(0,C.useCallback)((e,t=e)=>{if(!ta)l(e),r(t),o(!0)},[]);(0,C.useEffect)(()=>{document.documentElement.classList.toggle("dark","dark"===i),document.documentElement.style.colorScheme=i},[i]);let[a,o]=(0,C.useState)(!0);return(0,C.useEffect)(()=>{o(!1)},[a]),(0,C.useEffect)(()=>{if(!a)s(n(),ts(t))},[t]),(0,C.useEffect)(()=>{if(!a)s(e?"dark":"light","auto")},[e]),[i,s]};function tc(e,t,r=!1){return!!t&&(r?(0,L.pV)(e,t)||(0,L.pV)(e,`${t}/index`):(0,L.pV)(e,t)||e.startsWith(t))}function td(){return window.innerWidth<=1024}function tu(e){return e?(0,W.Z)(e)?e:/<([a-z]+)([^<]+)*(?:>(.*)<\/\1>|\s*\/>)/i.test(e)?Z(e):e.replace(/\\</g,"<").replace(/\\>/g,">").replace(/</g,"<").replace(/>/g,">"):""}var th=/`(.*?)`/g,tm=/\*{2}(?!\*)(.*?)\*{2}(?!\*)/g,tf=/\*(?!\*)(.*?)\*(?!\*)/g,tp=/\~{2}(.*?)\~{2}/g;function tx(e){return tu(e.replace(/`[^`]+`/g,e=>e.replace(/</g,"<")).replace(tm,"<strong>$1</strong>").replace(tf,"<em>$1</em>").replace(tp,"<del>$1</del>").replace(th,"<code>$1</code>"))}function tv(e){return e.replace(tm,"$1").replace(tf,"$1").replace(tp,"$1").replace(th,"$1")}function tg(e){var t;let{headers:r}=e,n=r.length>0,i=(null==(t=r[0])?void 0:t.depth)||2,l=eW();return(0,C.useEffect)(()=>{let e;setTimeout(()=>{e=eU()},100);let t=decodeURIComponent(window.location.hash);if(t){let e=document.getElementById(t.slice(1));e&&eD(e,!1,l?0:72)}else window.scrollTo(0,0);return()=>{e&&e()}},[r]),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)("div",{className:n?"<lg:hidden":"hidden",children:(0,S.jsxs)("div",{id:"aside-container",className:"relative text-sm font-medium",children:[(0,S.jsx)("div",{className:"leading-7 block text-sm font-semibold pl-3",children:e.outlineTitle}),(0,S.jsx)("nav",{className:"mt-1",children:(0,S.jsx)("ul",{className:"relative",children:r.map(e=>(0,S.jsx)("li",{children:(0,S.jsx)("a",{href:`#${e.id}`,title:tv(e.text),className:"aside-link transition-all duration-300 hover:text-text-1 text-text-2 block",style:{marginLeft:(e.depth-i)*12,fontWeight:"semibold"},onClick:t=>{t.preventDefault(),window.location.hash=e.id;let r=document.getElementById(e.id);r&&eD(r,!1,l?0:72)},children:(0,S.jsx)("span",{className:"aside-link-text block",children:tx(e.text)})})},e.id))})})]})})})}var tj="prev_e7091",tw="next_e7091";function tb(){let{prevPage:e,nextPage:t}=eI(),{lastUpdated:r=!1}=eO(),{siteData:n}=(0,$.Vi)(),{themeConfig:i}=n,l=i.lastUpdated||r;return(0,S.jsxs)("footer",{className:"mt-8",children:[(0,S.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:l&&(0,S.jsx)(rh,{})}),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)(rr,{})}),(0,S.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,S.jsx)("div",{className:`${tj} flex flex-col`,children:e?(0,S.jsx)(r7,{type:"prev",text:e.text,href:(0,L.AP)(e.link)}):null}),(0,S.jsx)("div",{className:`${tw} flex flex-col`,children:t?(0,S.jsx)(r7,{type:"next",text:t.text,href:(0,L.AP)(t.link)}):null})]})]})}function ty(e){var{icon:t}=e,r=eE(e,["icon"]);return t?"string"==typeof t?(0,S.jsx)("img",e$({src:t,alt:""},r)):(0,S.jsx)(t,e$({},r)):null}function tk({outlineTitle:e,beforeSidebar:t,afterSidebar:r,uiSwitch:n,navTitle:i}){let[l,s]=(0,C.useState)(!1),[a,o]=(0,C.useState)(!1),c=(0,C.useRef)(),d=(0,C.useRef)(),{pathname:u}=(0,E.TH)();(0,C.useEffect)(()=>{s(!1)},[u]),(0,C.useEffect)(()=>(document.addEventListener("mouseup",h),document.addEventListener("touchend",h),()=>{document.addEventListener("mouseup",h),document.removeEventListener("touchend",h)}),[]);let h=e=>{let{current:t}=d;if(null==t?void 0:t.contains(e.target))return;let{current:r}=c;r&&!r.contains(e.target)&&o(!1)};return(0,S.jsxs)(C.Fragment,{children:[(0,S.jsxs)("div",{className:"rspress-sidebar-menu",children:[n.showSidebar?(0,S.jsxs)("button",{onClick:function(){s(!0)},className:"flex-center mr-auto",children:[(0,S.jsx)("div",{className:"text-md mr-2",children:(0,S.jsx)(ty,{icon:F})}),(0,S.jsx)("span",{className:"text-sm",children:"Menu"})]}):null,n.showAside?(0,S.jsxs)(C.Fragment,{children:[(0,S.jsxs)("button",{onClick:()=>o(e=>!e),className:"flex-center ml-auto",ref:d,children:[(0,S.jsx)("span",{className:"text-sm",children:e}),(0,S.jsx)("div",{className:"text-md mr-2",style:{transform:a?"rotate(90deg)":"rotate(0deg)",transition:"transform 0.2s ease-out",marginTop:"2px"},children:(0,S.jsx)(ty,{icon:D})})]}),(0,S.jsx)("div",{className:`rspress-local-toc-container ${a?"rspress-local-toc-container-show":""}`,children:(0,S.jsx)(nM,{onItemClick:()=>{o(!1)}})})]}):null]}),n.showSidebar?(0,S.jsxs)(C.Fragment,{children:[(0,S.jsx)(nw,{isSidebarOpen:l,beforeSidebar:t,afterSidebar:r,uiSwitch:n,navTitle:i}),l?(0,S.jsx)("div",{onClick:function(){s(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}}):null]}):null]})}var tN=(0,C.createContext)({tabData:{},setTabData:()=>{}}),t_={asideContainer:"aside-container_edeb4",docLayout:"docLayout_edeb4",content:"content_edeb4"};function tC(e){var t,r;let{beforeDocFooter:n,afterDocFooter:i,beforeDoc:l,afterDoc:s,beforeDocContent:a,afterDocContent:o,beforeOutline:c,afterOutline:d,beforeSidebar:u,afterSidebar:h,uiSwitch:m,navTitle:f}=e,{siteData:p,page:x}=(0,$.Vi)(),{toc:v=[],frontmatter:g}=x,[j,w]=(0,C.useState)({}),{themeConfig:b}=p,y=null!=(t=b.enableScrollToTop)&&t,k=eO(),N=(null==k?void 0:k.outlineTitle)||(null==b?void 0:b.outlineTitle)||"ON THIS PAGE",_=null!=(r=null==g?void 0:g.overview)&&r,E=(0,S.jsx)(tN.Provider,{value:{tabData:j,setTabData:w},children:(0,S.jsx)(M.Zo,{components:t5(),children:(0,S.jsx)(P,{})})});return(0,S.jsxs)("div",{className:`${t_.docLayout} pt-0`,style:e$({},m.showNavbar?{}:{marginTop:0}),children:[l,(0,S.jsx)(tk,{outlineTitle:N,beforeSidebar:u,afterSidebar:h,uiSwitch:m,navTitle:f}),(0,S.jsxs)("div",{className:`${t_.content} rspress-doc-container flex flex-shrink-0 mx-auto`,children:[(0,S.jsx)("div",{className:"w-full flex-1",children:_?(0,S.jsxs)(S.Fragment,{children:[a,(0,S.jsx)(rQ,{content:E}),o]}):(0,S.jsxs)("div",{children:[(0,S.jsxs)("div",{className:"rspress-doc",children:[a,E,o]}),(0,S.jsxs)("div",{className:"rspress-doc-footer",children:[n,m.showDocFooter&&(0,S.jsx)(tb,{}),i]})]})}),y&&(0,S.jsx)(O,{children:(0,S.jsx)(r9,{})}),m.showAside?(0,S.jsx)("div",{className:t_.asideContainer,style:e$({},m.showNavbar?{}:{marginTop:0,paddingTop:"32px"}),children:(0,S.jsxs)("div",{children:[c,(0,S.jsx)(tg,{headers:v,outlineTitle:N}),d]})}):null]}),s]})}function tM(e){let{beforeHero:t,afterHero:r,beforeFeatures:n,afterFeatures:i}=e,{page:{frontmatter:l,routePath:s}}=(0,$.Vi)();return(0,S.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,S.jsxs)("div",{className:"pb-12",children:[t,(0,S.jsx)(rd,{frontmatter:l,routePath:s}),r,n,(0,S.jsx)(rl,{frontmatter:l,routePath:s}),i]}),(0,S.jsx)(rs,{})]})}var t$=(e,t)=>t?(e=e.trim(),(t=t.trim()).startsWith("-")||t.startsWith("|"))?`${e} ${t}`:`${e} - ${t}`:e,tS=e=>{var t;let{top:r,bottom:n,beforeDocFooter:i,afterDocFooter:l,beforeDoc:s,afterDoc:a,beforeDocContent:o,afterDocContent:c,beforeSidebar:d,afterSidebar:u,beforeOutline:h,afterOutline:m,beforeNavTitle:f,afterNavTitle:p,navTitle:x,beforeNav:v,beforeHero:g,afterHero:j,beforeFeatures:w,afterFeatures:b,afterNavMenu:y}=e,k={beforeDocFooter:i,afterDocFooter:l,beforeDocContent:o,afterDocContent:c,beforeDoc:s,afterDoc:a,beforeSidebar:d,afterSidebar:u,beforeOutline:h,afterOutline:m},N={beforeHero:g,afterHero:j,beforeFeatures:w,afterFeatures:b},{siteData:_,page:M}=(0,$.Vi)(),{pageType:A,lang:T,title:L,frontmatter:z={}}=M,H=eO();tr();let O=null!=(t=z.title)?t:L,V=_.title||H.title;O=O&&"doc"===A?t$(O,z.titleSuffix||V):"home"===A?t$(V,z.titleSuffix):"404"===A?t$("404",V):V;let I=(null==z?void 0:z.description)||_.description||H.description,R=e$(e$({},function(){var e,t;let{page:r,siteData:n}=(0,$.Vi)(),{frontmatter:i}=r,{themeConfig:l}=n,s=eO(),a=(0,E.TH)(),o=null!=(e=null==i?void 0:i.overview)&&e,c=()=>{var e,t;let r="undefined"==typeof window||window.top===window.self;return(null!=(t=null!=(e=null==i?void 0:i.outline)?e:null==l?void 0:l.outline)?t:r)&&!o},[d,u]=eZ(),[h,m]=(0,C.useState)(c()),[f,p]=(0,C.useState)(null==(t=null==i?void 0:i.footer)||t),x=s.sidebar||{},v=(null==i?void 0:i.sidebar)!==!1&&Object.keys(x).length>0;return(0,C.useEffect)(()=>{m(c())},[r,n]),(0,C.useEffect)(()=>{let e=new URLSearchParams(a.search),t=document.documentElement.style,r=t.getPropertyValue("--rp-sidebar-width"),n=t.getPropertyValue("--rp-aside-width"),i=e.get("navbar"),l=e.get("sidebar"),s=e.get("outline"),o=e.get("footer");return"0"===i&&u(!1),"0"===l&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===s&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===o&&p(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",r),document.documentElement.style.setProperty("--rp-aside-width",n),u(d),p(f)}},[a.search]),(0,C.useEffect)(()=>{B._f&&history.scrollRestoration&&(history.scrollRestoration=a.hash.length?"manual":"auto")},[!a.hash.length]),{showAside:h,showNavbar:d,showSidebar:v,showDocFooter:f}}()),e.uiSwitch);return(0,S.jsxs)("div",{children:[(0,S.jsxs)(U.ql,{htmlAttributes:{lang:T||"en"},children:[O?(0,S.jsx)("title",{children:O}):null,I?(0,S.jsx)("meta",{name:"description",content:I}):null]}),r,"blank"!==A&&R.showNavbar&&(0,S.jsx)(rF,{beforeNavTitle:f,afterNavTitle:p,navTitle:x,beforeNav:v,afterNavMenu:y}),(0,S.jsx)("section",{children:(()=>{switch(A){case"home":return(0,S.jsx)(n$.HomeLayout,e$({},N));case"doc":return(0,S.jsx)(tC,eS(e$({},k),{uiSwitch:R,navTitle:x}));case"404":return(0,S.jsx)(n$.NotFoundLayout,{});case"custom":case"blank":return(0,S.jsx)(P,{});default:return(0,S.jsx)(tC,e$({},k))}})()}),n]})};function tE(){let{siteData:e,page:t}=(0,$.Vi)(),r=e.lang,n=e.multiVersion.default;if(r&&"undefined"!=typeof window&&location.pathname.includes(`/${r}/`)){let e=location.pathname.replace(`/${r}/`,"/");return window.location.replace(e),(0,S.jsx)(S.Fragment,{})}let i="/";return n&&t.version!==n&&(i+=`${t.version}/`),r&&t.lang!==r&&(i+=`${t.lang}/`),(0,S.jsxs)("div",{className:"m-auto mt-50 p-16 sm:p-8 sm:pt-24 sm:pb-40 text-center flex-center flex-col",children:[(0,S.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,S.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,S.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,S.jsx)("div",{className:"pt-5",children:(0,S.jsx)("a",{className:"py-2 px-4 rounded-2xl inline-block border-solid border-brand text-brand font-medium hover:border-brand-dark hover:text-brand-dark transition-colors duration-300",href:(0,L.pJ)(i),"aria-label":"go to home",children:"Take me home"})})]})}var tA={title:"title_3b154",blockquote:"blockquote_3b154",link:"link_3b154","inline-link":"inline-link_3b154"},tT=e=>(0,S.jsx)("h1",eS(e$({},e),{className:`text-3xl mb-10 leading-10 tracking-tight ${tA.title}`})),tL=e=>(0,S.jsx)("h2",eS(e$({},e),{className:`mt-12 mb-6 pt-8 text-2xl tracking-tight border-t-[1px] border-divider-light ${tA.title}`})),tz=e=>(0,S.jsx)("h3",eS(e$({},e),{className:`mt-10 mb-2 leading-7 text-xl ${tA.title}`})),tH=e=>(0,S.jsx)("h4",eS(e$({},e),{className:`mt-8 leading-6 text-lg ${tA.title}`})),tP=e=>(0,S.jsx)("h5",eS(e$({},e),{className:tA.title})),tO=e=>(0,S.jsx)("h6",eS(e$({},e),{className:tA.title})),tB=e=>(0,S.jsx)("ol",eS(e$({},e),{className:"list-decimal pl-5 my-4 leading-7"})),tV=e=>(0,S.jsx)("ul",eS(e$({},e),{className:"list-disc pl-5 my-4 leading-7"})),tI=e=>(0,S.jsx)("li",eS(e$({},e),{className:"[&:not(:first-child)]:mt-2"})),tR=e=>(0,S.jsx)("table",eS(e$({},e),{className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-3 dark:border-divider"})),tZ=e=>(0,S.jsx)("tr",eS(e$({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-3 dark:border-divider"})),tW=e=>(0,S.jsx)("td",eS(e$({},e),{className:"border border-solid px-4 py-2 border-gray-light-3 dark:border-divider"})),tF=e=>(0,S.jsx)("th",eS(e$({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-3 dark:border-divider"})),tD=e=>(0,S.jsx)("hr",eS(e$({},e),{className:"my-12 border-t border-solid border-divider-light"})),tU=e=>{let{href:t="",className:r=""}=e,{normalizeLinkHref:n}=eG();return r.includes("header-anchor")||t.startsWith("#")?(0,S.jsx)("a",eS(e$({},e),{className:`${tA.link} ${r}`})):(0,S.jsx)(rf,eS(e$({},e),{className:`${r} ${tA.link} ${tA["inline-link"]}`,href:n(t)}))},tJ=e=>(0,S.jsx)("p",eS(e$({},e),{className:"my-4 leading-7"})),tG=e=>(0,S.jsx)("blockquote",eS(e$({},e),{className:`border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ${tA.blockquote}`})),tq=e=>(0,S.jsx)("strong",eS(e$({},e),{className:"font-semibold"})),tK={"code-button-group":"code-button-group_15153",codeButtonGroup:"code-button-group_15153","code-copy-button":"code-copy-button_15153",codeCopyButton:"code-copy-button_15153","icon-success":"icon-success_15153",iconSuccess:"icon-success_15153","code-copied":"code-copied_15153",codeCopied:"code-copied_15153","icon-copy":"icon-copy_15153",iconCopy:"icon-copy_15153","icon-wrapped":"icon-wrapped_15153",iconWrapped:"icon-wrapped_15153","wrapped-btn":"wrapped-btn_15153",wrappedBtn:"wrapped-btn_15153","icon-wrap":"icon-wrap_15153",iconWrap:"icon-wrap_15153"},tY={doctype:{color:"var(--code-token-text)",fontStyle:"italic"},token:{color:"var(--code-token-text)"},comment:{color:"var(--code-token-comment)"},punctuation:{color:"var(--code-token-punctuation)"},property:{color:"var(--code-token-parameter)"},constant:{color:"var(--code-token-constant)"},string:{color:"var(--code-token-string)"},symbol:{color:"var(--code-token-symbol)"},variable:{color:"var(--code-token-variable)"},"attr-name":{color:"var(--code-token-symbol)"},"attr-value":{color:"var(--code-token-string-expression)"},builtin:{color:"var(--code-token-symbol)"},function:{color:"var(--code-token-function)"},keyword:{color:"var(--code-token-keyword)"},tag:{color:"var(--code-token-function)"},inserted:{color:"var(--code-token-inserted)"},deleted:{color:"var(--code-token-deleted)"},regex:{color:"var(--code-token-keyword)"},key:{color:"var(--code-token-variable)"},title:{color:"var(--code-token-keyword)"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},table:{display:"content"}},tX=!1;function tQ(e){var t;let{siteData:r}=(0,$.Vi)(),{meta:n,language:i,codeWrap:l}=e,{showLineNumbers:s}=r.markdown,a="",o=[];return n&&(a=(null==(t=/{[\d,-]*}/i.exec(n))?void 0:t[0])||"")&&(o=a.replace(/[{}]/g,"").split(",").map(e=>{let[t,r]=e.split("-");return r?Array.from({length:Number(r)-Number(t)+1},(e,r)=>r+Number(t)):Number(t)}).flat()),!tX&&(Object.keys(q.M).forEach(e=>{K.Z.registerLanguage(e,q.M[e])}),K.Z.alias(q.j),tX=!0),(0,S.jsx)(K.Z,{language:i,style:tY,wrapLines:!0,className:"code",wrapLongLines:l,customStyle:{backgroundColor:"inherit"},showLineNumbers:s||o.length>0,lineProps:e=>({style:eS(e$({},o.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{}),{display:"block",padding:"0 1.25rem"})}),children:String(e.children).trim()})}var t0=new Map;function t1({codeBlockRef:e}){let t=(0,C.useRef)(null);return(0,S.jsxs)("button",{className:tK.codeCopyButton,onClick:()=>(function(e,t){let r="",n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),i=n.nextNode();for(;i;)!i.parentElement.classList.contains("linenumber")&&(r+=i.nodeValue),i=n.nextNode();if(Y(r)&&t){t.classList.add(tK.codeCopied),clearTimeout(t0.get(t));let e=setTimeout(()=>{t.classList.remove(tK.codeCopied),t.blur(),t0.delete(t)},2e3);t0.set(t,e)}})(e.current,t.current),ref:t,title:"Copy code",children:[(0,S.jsx)(ty,{icon:X,className:tK.iconCopy}),(0,S.jsx)(ty,{icon:Q,className:tK.iconSuccess})]})}function t2(e){var t;let{siteData:r}=(0,$.Vi)(),n=null!=(t=e.codeHighlighter)?t:r.markdown.codeHighlighter,{defaultWrapCode:i}=r.markdown,[l,s]=(0,C.useState)(i),a=(0,C.useRef)(null),o=(0,C.useRef)(),{className:c}=e,d=null==c?void 0:c.replace(/language-/,"");if(!d)return(0,S.jsx)("code",e$({},e));let u=e=>{l?null==e||e.classList.remove(tK.wrappedBtn):null==e||e.classList.add(tK.wrappedBtn),s(!l)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{ref:o,children:(()=>{if("prism"===n)return(0,S.jsx)(tQ,eS(e$({},e),{language:d,codeWrap:l}));return(0,S.jsx)("code",e$({},e))})()}),(0,S.jsxs)("div",{className:tK.codeButtonGroup,children:[(0,S.jsxs)("button",{ref:a,className:tK.codeWrapButton,onClick:()=>u(a.current),title:"Toggle code wrap",children:[(0,S.jsx)(ty,{icon:G,className:tK.iconWrapped}),(0,S.jsx)(ty,{icon:J,className:tK.iconWrap})]}),(0,S.jsx)(t1,{codeBlockRef:o})]})]})}function t4({children:e}){let t=e=>{let{className:t,meta:r}=e.props,n=function(e){var t,r;if(!e)return"";let n=e,i=/{[\d,-]*}/i;return(null==(t=i.exec(e))?void 0:t[0])&&(n=e.replace(i,"").trim()),null==(n=null!=(r=n.split("=")[1])?r:"")?void 0:n.replace(/["'`]/g,"")}(r);return(0,S.jsxs)("div",{className:t||"language-bash",children:[n&&(0,S.jsx)("div",{className:"rspress-code-title",children:n}),(0,S.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})};return Array.isArray(e)?(0,S.jsx)("div",{children:e.map(e=>t(e))}):t(e)}var t3=e=>(0,S.jsx)("img",eS(e$({},e),{src:(0,L.i6)(e.src||"")}));function t5(){return{h1:tT,h2:tL,h3:tz,h4:tH,h5:tP,h6:tO,ul:tV,ol:tB,li:tI,table:tR,td:tW,th:tF,tr:tZ,hr:tD,p:tJ,blockquote:tG,strong:tq,a:tU,code:t2,pre:t4,img:t3}}var t6={badge:"badge_99dcf",tip:"tip_99dcf",info:"info_99dcf",warning:"warning_99dcf",danger:"danger_99dcf",outline:"outline_99dcf"};function t7({children:e,type:t="tip",text:r,outline:n=!1}){return(0,S.jsx)("span",{className:`inline-flex items-center justify-center rounded-full border border-solid ${n?"border-current":"border-transparent"} font-semibold align-middle px-2.5 h-6 gap-1 text-xs ${t6.badge} ${t6[t]} ${n?t6.outline:""}`,children:e||r})}var t8={button:"button_72e53",medium:"medium_72e53",big:"big_72e53",brand:"brand_72e53",alt:"alt_72e53"};function t9(e){let{theme:t="brand",size:r="big",href:n="/",external:i=!1,className:l=""}=e,s=null;return"button"===e.type?s="button":"a"===e.type&&(s=i?"a":rf),C.createElement(null!=s?s:"a",{className:`${t8.button} ${t8[t]} ${t8[r]} ${l}`,href:n},e.text)}function re({content:e,title:t,icon:r,style:n}){return(0,S.jsxs)("div",{className:"border border-gray-400 rounded-lg p-6",style:n,children:[(0,S.jsxs)("p",{className:"flex items-center gap-2 mb-4",children:[r&&(0,S.jsx)("div",{children:r}),t&&(0,S.jsx)("span",{className:"text-2xl font-bold",children:t})]}),(0,S.jsx)("div",{className:"text-base overflow-auto",children:e})]})}var rt="editLink_2a169";function rr(){let e=eR();if(!e)return null;let{text:t,link:r}=e;return(0,S.jsx)("a",{href:r,target:"_blank",className:rt,children:t})}var rn={"grid-2":"grid-2_d48e3",grid2:"grid-2_d48e3","grid-4":"grid-4_d48e3",grid4:"grid-4_d48e3","grid-6":"grid-6_d48e3",grid6:"grid-6_d48e3","grid-3":"grid-3_d48e3",grid3:"grid-3_d48e3",featureCard:"featureCard_d48e3"},ri=e=>{let{span:t}=e;return`grid-${t||4}`};function rl({frontmatter:e,routePath:t}){let r=null==e?void 0:e.features;return(0,S.jsx)("div",{className:"overflow-hidden m-auto flex flex-wrap max-w-6xl",children:null==r?void 0:r.map(e=>{let{icon:r,title:n,details:i,link:l}=e,s=l;return l&&(s=(0,B.xf)(l)?l:(0,L.AP)((0,B.pJ)(l,t))),(0,S.jsx)("div",{className:`${rn[ri(e)]} rounded hover:var(--rp-c-brand)`,children:(0,S.jsx)("div",{className:"h-full p-2",children:(0,S.jsxs)("article",{className:`rspress-home-feature-card ${rn.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:s?"pointer":"auto"},onClick:()=>{s&&(window.location.href=s)},children:[r?(0,S.jsx)("div",{className:"flex-center",children:(0,S.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:tu(r)})}):null,(0,S.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:n}),(0,S.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:tu(i)})]},n)})},n)})})}function rs(){let{siteData:e}=(0,$.Vi)(),{message:t}=e.themeConfig.footer||{};return t?(0,S.jsx)("footer",{className:"absolute bottom-0 mt-12 py-8 px-6 sm:p-8 w-full border-t border-solid border-divider-light",children:(0,S.jsx)("div",{className:"m-auto w-full text-center",children:(0,S.jsx)("div",{className:"font-meduim text-sm text-text-2",dangerouslySetInnerHTML:{__html:t}})})}):null}var ra="clip_c867a",ro="mask_c867a",rc={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function rd({frontmatter:e,routePath:t}){var r,n,i,l,s,a,o,c,d;let u=(null==e?void 0:e.hero)||rc,h=void 0!==u.image,m=h?"sm:max-w-xl":"sm:max-w-4xl",f=u.text?u.text.toString().split(/\n/g).filter(e=>""!==e):[],p="string"==typeof(null==(r=u.image)?void 0:r.src)?{light:u.image.src,dark:u.image.src}:(null==(n=u.image)?void 0:n.src)||{light:"",dark:""};return(0,S.jsxs)("div",{className:"m-auto pt-0 px-6 pb-12 sm:pt-10 sm:px-16 md:pt-16 md:px-16 md:pb-16 relative",children:[(0,S.jsx)("div",{className:ro,style:{left:h?"75%":"50%"}}),(0,S.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,S.jsxs)("div",{className:"flex flex-col justify-center items-center text-center max-w-xl sm:max-w-4xl m-auto order-2 md:order-1",children:[(0,S.jsx)("h1",{className:"font-bold text-3xl pb-2 sm:text-6xl md:text-7xl m-auto sm:m-4 md:m-0 md:pb-3 lg:pb-2 leading-tight z-10",children:(0,S.jsx)("span",{className:ra,style:{lineHeight:"1.3"},children:tu(u.name)})}),0!==f.length&&f.map(e=>(0,S.jsx)("p",{className:`rspress-home-hero-text mx-auto md:m-0 text-3xl sm:text-5xl md:text-6xl sm:pb-2 font-bold z-10 ${m}`,style:{lineHeight:"1.2"},children:tu(e)},e)),(0,S.jsx)("p",{className:`rspress-home-hero-tagline whitespace-pre-wrap pt-4 m-auto md:m-0 text-sm sm:tex-xl md:text-[1.5rem] text-text-2 font-medium z-10 ${m}`,children:tu(u.tagline)}),(null==(i=u.actions)?void 0:i.length)&&(0,S.jsx)("div",{className:"grid md:flex md:flex-wrap md:justify-center gap-3 m--1.5 pt-6 sm:pt-8 z-10",children:u.actions.map(e=>{let r=(0,B.xf)(e.link)?e.link:(0,L.AP)((0,B.pJ)(e.link,t));return(0,S.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,S.jsx)(t9,{type:"a",href:r,text:tu(e.text),theme:e.theme,className:"w-full"})},r)})})]}),h?(0,S.jsxs)("div",{className:"rspress-home-hero-image md:flex-center m-auto order-1 md:order-2 sm:flex md:none lg:flex",children:[(0,S.jsx)("img",{src:(0,L.i6)(p.light),alt:null==(l=u.image)?void 0:l.alt,srcSet:ru(null==(s=u.image)?void 0:s.srcset),sizes:ru(null==(a=u.image)?void 0:a.sizes),width:375,height:375,className:"dark:hidden"}),(0,S.jsx)("img",{src:(0,L.i6)(p.dark),alt:null==(o=u.image)?void 0:o.alt,srcSet:ru(null==(c=u.image)?void 0:c.srcset),sizes:ru(null==(d=u.image)?void 0:d.sizes),width:375,height:375,className:"hidden dark:block"})]}):null]})]})}function ru(e){return(Array.isArray(e)?e:[e]).filter(Boolean).join(", ")||void 0}function rh(){let{lastUpdatedText:e="Last Updated"}=eO(),{page:{lastUpdatedTime:t},siteData:r}=(0,$.Vi)(),{themeConfig:n}=r,i=(null==n?void 0:n.lastUpdatedText)||e;return(0,S.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,S.jsxs)("p",{children:[i,": ",(0,S.jsx)("span",{children:t})]})})}var rm={link:"link_03735"};function rf(e){let{href:t="/",children:r,className:n="",onNavigate:i,keepCurrentParams:l=!1}=e,s=eE(e,["href","children","className","onNavigate","keepCurrentParams"]),a=(0,B.xf)(t),o=a?"_blank":"",c=a?"noopener noreferrer":void 0,d=a?t:(0,L.pJ)((0,L.AP)(t)),u=(0,E.s0)(),{pathname:h,search:m}=(0,E.TH)(),f=l?d+m:d,p=(0,L.pV)(h,d);return a?(0,S.jsx)("a",eS(e$({},s),{href:d,target:o,rel:c,className:`${rm.link} ${n}`,children:r})):(0,S.jsx)("a",eS(e$({},s),{className:`${rm.link} ${n} cursor-pointer`,rel:c,target:o,onClick:e=>eP(this,null,function*(){if(0!==e.button||e.currentTarget.target&&"_self"!==e.currentTarget.target||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)return;e.preventDefault();let t=d.split("#")[1];if(!a&&p&&t){let e=document.getElementById(t);e&&eD(e,!0);return}if(!p){let e=(0,A.fp)(et.routes,(0,L.Tm)(d));if(null==e?void 0:e.length){let t=setTimeout(()=>{ee.start()},200);yield e[0].route.preload(),clearTimeout(t),ee.done()}null==i||i(),u(f,{replace:!1})}}),href:d,children:r}))}ee.configure({showSpinner:!1});var rp="link_9ef55";function rx(e){let{href:t,title:r,description:n,style:i}=e;return(0,S.jsxs)("div",{className:"relative border border-gray-400 rounded-lg p-6 flex justify-between items-start hover:border-gray-500 hover:bg-gray-100 transition-all duration-300",style:i,children:[(0,S.jsxs)("div",{className:"flex flex-col",children:[(0,S.jsx)("a",{href:t,className:`flex items-center gap-2 mb-4 ${rp}`,children:r&&(0,S.jsx)("span",{className:"text-2xl font-bold",children:r})}),(0,S.jsx)("span",{className:"text-base overflow-auto",children:n})]}),(0,S.jsx)(D,{})]})}var rv={hidden:"hidden_f6cde",container:"container_f6cde",navContainer:"navContainer_f6cde",leftNav:"leftNav_f6cde",rightNav:"rightNav_f6cde",singleItem:"singleItem_f6cde",activeItem:"activeItem_f6cde",navBarTitle:"navBarTitle_f6cde",menuItem:"menu-item_f6cde",mobileNavMenu:"mobileNavMenu_f6cde"};function rg(e){let{pathname:t,base:r}=e,n=new RegExp(e.activeMatch||e.link).test((0,B.tz)(t,r));return(0,S.jsx)(rf,{href:(0,L.AP)(e.link),children:(0,S.jsxs)("div",{className:`rspress-nav-menu-item ${rv.singleItem} ${n?rv.activeItem:""} text-sm font-medium ${e.compact?"mx-0.5":"mx-1.5"} px-3 py-2 flex items-center`,children:[(0,S.jsx)(n_,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}var rj=()=>!(0,es.Z)(document)&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches,rw=()=>{let e=document.createElement("style");return e.innerHTML=`
|
|
3
|
-
.rspress-doc {
|
|
4
|
-
view-transition-name: none !important;
|
|
5
|
-
}
|
|
6
|
-
`,document.head.appendChild(e),()=>{document.head.removeChild(e)}};function rb({onClick:e}){let{theme:t,setTheme:r}=(0,C.useContext)($.Ni);return(0,S.jsx)("div",{onClick:n=>{var i,l;let s=rj(),a=null==(l=null==(i=T.Z)?void 0:i.themeConfig)?void 0:l.enableAppearanceAnimation,o="dark"===t?"light":"dark",c="dark"===o;if(s&&a){let t=n.clientX,i=n.clientY,l=Math.hypot(Math.max(t,innerWidth-t+200),Math.max(i,innerHeight-i+200)),s=rw(),a=document.startViewTransition(()=>eP(this,null,function*(){(0,ea.flushSync)(()=>{r(o),null==e||e()})})),d=[`circle(0px at ${t}px ${i}px)`,`circle(${l}px at ${t}px ${i}px)`];a.ready.then(()=>{document.documentElement.animate({clipPath:c?[...d].reverse():d},{duration:400,easing:"ease-in",pseudoElement:c?"::view-transition-old(root)":"::view-transition-new(root)",id:""}).finished.then(()=>{s()})})}else r(o),null==e||e()},className:"md:mr-2 rspress-nav-appearance",children:(0,S.jsxs)("div",{className:"p-1 border border-solid border-gray-300 text-gray-400 cursor-pointer rounded-md hover:border-gray-600 hover:text-gray-600 dark:hover:border-gray-200 dark:hover:text-gray-200 transition-all duration-300 w-7 h-7",children:[(0,S.jsx)(ty,{className:"dark:hidden",icon:ei,width:"18",height:"18",fill:"currentColor"}),(0,S.jsx)(ty,{className:"hidden dark:block",icon:el,width:"18",height:"18",fill:"currentColor"})]})})}var ry={socialLinksIcon:"social-links-icon_93d67",menuItem:"menu-item_93d67"},rk={discord:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Discord"}),(0,S.jsx)("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"})]}),facebook:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Facebook"}),(0,S.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})]}),github:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitHub"}),(0,S.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),gitlab:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitLab"}),(0,S.jsx)("path",{fill:"currentColor",d:"m21.94 13.11l-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91l-6.17-7.91m8.73 7.92l2.47-7.59l.1-.33h3.61l-5.59 7.16m4.1-13.67l1.81 5.56h-3.62m-1.3.95l-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94L7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43l5.82 7.45m11.38-4.73l-6.51 4.73l.02-.03l5.79-7.42l.79 2.43c.04.1 0 .22-.09.29"})]}),instagram:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Instagram"}),(0,S.jsx)("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})]}),linkedin:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"LinkedIn"}),(0,S.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]}),slack:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Slack"}),(0,S.jsx)("path",{d:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"})]}),twitter:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Twitter"}),(0,S.jsx)("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})]}),youtube:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"YouTube"}),(0,S.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]}),juejin:(0,S.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,S.jsx)("path",{d:"M465.189 161.792c-22.967 18.14-44.325 35.109-47.397 37.742l-5.851 4.68 10.971 8.632c5.998 4.827 11.85 9.508 13.02 10.532 1.17 1.024 17.993 14.336 37.156 29.696l34.962 27.795 5.267-3.95c2.925-2.194 23.259-18.432 45.348-35.986 21.943-17.555 41.253-32.768 42.716-33.646 1.609-1.024 2.779-2.194 2.779-2.78 0-0.438-9.655-8.63-21.504-17.846-11.995-9.363-22.674-17.847-23.845-18.871-15.945-13.02-49.737-39.059-50.76-39.059-0.586 0.147-19.896 14.922-42.862 33.061z m233.325 180.37C507.465 493.275 508.928 492.105 505.417 489.911c-3.072-1.902-11.556-8.485-64.073-50.03-9.07-7.168-18.578-14.775-21.358-16.823-2.78-2.194-8.777-6.875-13.312-10.532-4.68-3.657-10.679-8.339-13.312-10.533-13.165-10.24-71.095-56.027-102.107-80.457-5.852-4.681-11.41-8.485-12.142-8.485-0.731 0-10.971 7.754-22.674 17.116-11.703 9.508-22.674 18.286-24.284 19.456-1.755 1.17-5.12 3.95-7.46 6.144-2.34 2.34-4.828 4.096-5.413 4.096-3.072 0-0.731 3.072 6.437 8.777 4.096 3.218 8.777 6.875 10.094 8.046 1.316 1.024 10.24 8.045 19.748 15.506s23.26 18.286 30.428 23.99c19.31 15.215 31.89 25.308 127.853 101.084 47.836 37.742 88.796 69.779 90.844 71.095 3.657 2.487 3.95 2.487 7.46-0.292a1041.42 1041.42 0 0 0 16.092-12.727c6.875-5.413 14.775-11.703 17.554-13.897 30.135-23.699 80.018-63.05 81.774-64.512 1.17-1.024 12.434-9.802 24.868-19.603s37.888-29.696 56.32-44.324c18.579-14.629 46.227-36.425 61.733-48.567 15.506-12.142 27.794-22.528 27.502-23.26-0.878-1.17-57.637-47.104-59.978-48.274-0.731-0.439-18.578 12.727-39.497 29.257z","data-spm-anchor-id":"a313x.7781069.0.i2"}),(0,S.jsx)("path",{d:"M57.93 489.326c-15.215 12.288-28.527 23.405-29.697 24.576-2.34 2.194-5.412-0.44 80.018 66.852 33.207 26.185 32.622 25.747 57.637 45.495 10.386 8.192 36.279 28.672 57.783 45.495 38.18 30.135 44.91 35.401 52.663 41.545 2.048 1.756 22.967 18.14 46.372 36.572 23.26 18.432 74.167 58.514 112.933 89.088 38.912 30.573 71.095 55.734 71.826 56.027 0.732 0.293 7.46-4.389 14.921-10.386 21.797-16.97 90.259-70.949 101.523-79.872 5.705-4.535 12.873-10.24 15.945-12.58 3.072-2.488 6.436-5.12 7.314-5.852 0.878-0.878 11.85-9.509 24.283-19.31 20.773-16.091 59.1-46.226 64.366-50.615 1.17-1.024 5.12-4.096 8.777-6.875 3.657-2.78 7.9-6.29 9.509-7.607 1.609-1.317 14.775-11.703 29.257-23.113 29.11-22.82 42.277-33.207 88.503-69.632 17.262-13.605 32.475-25.454 33.646-26.478 2.486-2.048 31.451-24.869 44.617-35.255 4.827-3.657 9.07-7.168 9.508-7.607 0.44-0.585 5.998-4.827 12.435-9.8 6.436-4.828 13.165-10.24 15.067-11.85l3.365-2.926-9.948-7.753c-5.412-4.388-10.24-8.192-10.679-8.63-1.17-1.317-22.381-18.433-30.135-24.284-3.95-3.072-7.314-5.998-7.606-6.73-1.317-3.071-6.73 0.147-29.258 17.994-13.458 10.532-25.746 20.187-27.355 21.504-1.61 1.463-10.533 8.338-19.749 15.652-9.216 7.168-17.115 13.459-17.554 13.898-0.439 0.438-6.583 5.412-13.897 10.971-7.168 5.559-15.214 11.703-17.7 13.75-4.974 4.097-5.413 4.39-20.334 16.239-5.56 4.388-11.264 8.777-12.435 9.8-1.17 1.025-20.333 16.092-42.422 33.354-22.09 17.408-41.546 32.768-43.155 34.084-1.609 1.463-14.482 11.557-28.525 22.528s-40.814 32.037-59.539 46.812c-18.578 14.775-42.276 33.353-52.516 41.399s-23.26 18.285-28.965 22.82l-10.386 8.339-4.389-3.072c-2.34-1.756-4.68-3.511-5.12-3.95-0.439-0.439-4.973-4.096-10.24-8.046-11.849-9.216-14.482-11.264-16.676-13.166-0.878-0.877-4.243-3.51-7.46-5.851-3.22-2.487-6.145-4.681-6.584-5.12-0.439-0.439-6.875-5.705-14.482-11.703-7.607-5.851-14.921-11.556-16.091-12.58-1.317-1.17-17.116-13.605-35.255-27.795-17.993-14.19-35.109-27.648-38.035-29.842-5.705-4.681-33.499-26.624-125.074-98.743-34.523-27.209-72.704-57.344-84.846-66.852-49.737-39.498-55.15-43.594-56.905-43.447-0.877 0-14.043 10.24-29.257 22.528z","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,S.jsx)("path",{fill:"currentColor",d:"M19.913 14.529a31.977 31.977 0 0 0-.675-1.886l-.91-2.246c0-.026.012-.468.012-.696C18.34 5.86 16.507 2 12 2S5.66 5.86 5.66 9.7c0 .229.011.671.012.697l-.91 2.246a32.777 32.777 0 0 0-.675 1.886c-.86 2.737-.581 3.87-.369 3.895c.455.054 1.771-2.06 1.771-2.06c0 1.224.637 2.822 2.016 3.976c-.515.157-1.147.399-1.554.695c-.365.267-.319.54-.253.65c.289.481 4.955.307 6.303.157c1.347.15 6.014.324 6.302-.158c.066-.11.112-.382-.253-.649c-.407-.296-1.039-.538-1.555-.696c1.379-1.153 2.016-2.751 2.016-3.976c0 0 1.316 2.115 1.771 2.06c.212-.025.49-1.157-.37-3.894"})}),wechat:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,S.jsx)("path",{fill:"currentColor",d:"M18.574 13.711a.91.91 0 0 0 .898-.898c0-.498-.399-.898-.898-.898s-.898.4-.898.898c0 .5.4.898.898.898zm-4.425 0a.91.91 0 0 0 .898-.898c0-.498-.4-.898-.898-.898c-.5 0-.898.4-.898.898c0 .5.399.898.898.898zm6.567 5.04a.347.347 0 0 0-.172.37c0 .048 0 .097.025.147c.098.417.294 1.081.294 1.106c0 .073.025.122.025.172a.22.22 0 0 1-.221.22c-.05 0-.074-.024-.123-.048l-1.449-.836a.799.799 0 0 0-.344-.098c-.073 0-.147 0-.196.024c-.688.197-1.4.295-2.161.295c-3.66 0-6.607-2.457-6.607-5.505c0-3.047 2.947-5.505 6.607-5.505c3.659 0 6.606 2.458 6.606 5.505c0 1.647-.884 3.146-2.284 4.154zM16.673 8.099a9.105 9.105 0 0 0-.28-.005c-4.174 0-7.606 2.86-7.606 6.505c0 .554.08 1.09.228 1.6h-.089a9.963 9.963 0 0 1-2.584-.368c-.074-.025-.148-.025-.222-.025a.832.832 0 0 0-.418.123l-1.748 1.005c-.05.025-.099.05-.148.05a.273.273 0 0 1-.27-.27c0-.074.024-.123.049-.197c.024-.024.246-.834.369-1.324c0-.05.024-.123.024-.172a.556.556 0 0 0-.221-.442C2.058 13.376 1 11.586 1 9.598C1 5.945 4.57 3 8.95 3c3.765 0 6.93 2.169 7.723 5.098zm-5.154.418c.573 0 1.026-.477 1.026-1.026c0-.573-.453-1.026-1.026-1.026s-1.026.453-1.026 1.026s.453 1.026 1.026 1.026zm-5.26 0c.573 0 1.027-.477 1.027-1.026c0-.573-.454-1.026-1.027-1.026c-.572 0-1.026.453-1.026 1.026s.454 1.026 1.026 1.026z"})}),weibo:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,S.jsx)("path",{fill:"currentColor",d:"M17.525 11.378c1.263.392 2.669 1.336 2.669 3.004c0 2.763-3.98 6.239-9.964 6.239c-4.565 0-9.23-2.213-9.23-5.852c0-1.902 1.204-4.102 3.277-6.177c2.773-2.77 6.004-4.033 7.219-2.816c.537.537.588 1.464.244 2.572c-.178.557.525.25.525.25c2.24-.938 4.196-.994 4.909.027c.38.543.343 1.306-.008 2.19c-.163.407.048.471.36.563zm-7.282 7.939c3.641-.362 6.401-2.592 6.167-4.983c-.237-2.391-3.382-4.038-7.023-3.677c-3.64.36-6.403 2.59-6.167 4.98c.237 2.394 3.382 4.039 7.023 3.68zM6.16 14.438c.754-1.527 2.712-2.39 4.446-1.94c1.793.463 2.707 2.154 1.976 3.8c-.744 1.682-2.882 2.578-4.695 1.993c-1.752-.566-2.493-2.294-1.727-3.853zm1.446 2.587c.568.257 1.325.013 1.676-.55c.346-.568.163-1.217-.407-1.459c-.563-.237-1.291.008-1.64.553c-.354.547-.189 1.202.371 1.456zm2.206-1.808c.219.092.501-.012.628-.231c.123-.22.044-.466-.178-.548c-.216-.084-.486.018-.613.232c-.123.214-.054.458.163.547zM19.873 9.5a.725.725 0 1 1-1.378-.451a1.38 1.38 0 0 0-.288-1.357a1.395 1.395 0 0 0-1.321-.425a.723.723 0 1 1-.303-1.416a2.836 2.836 0 0 1 3.29 3.649zm-3.916-6.575A5.831 5.831 0 0 1 21.5 4.72a5.836 5.836 0 0 1 1.22 5.704a.838.838 0 0 1-1.06.54a.844.844 0 0 1-.542-1.062a4.143 4.143 0 0 0-4.807-5.327a.845.845 0 0 1-.354-1.65z"})}),zhihu:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,S.jsx)("path",{fill:"currentColor",d:"m12.344 17.963l-1.688 1.074l-2.131-3.35c-.44 1.402-1.172 2.665-2.139 3.825c-.402.483-.82.918-1.301 1.375c-.155.147-.775.717-.878.82l-1.414-1.414c.139-.139.787-.735.915-.856c.43-.408.795-.79 1.142-1.206c1.266-1.518 2.03-3.21 2.137-5.231H3v-2h4V7h-.868c-.689 1.266-1.558 2.222-2.618 2.857L2.486 8.143c1.395-.838 2.425-2.604 3.038-5.36l1.952.434c-.14.633-.303 1.227-.489 1.783H11.5v2H9v4h2.5v2H9.185l3.159 4.963zm3.838-.07L17.298 17H19V7h-4v10h.736l.446.893zM13 5h8v14h-3l-2.5 2l-1-2H13V5z"})}),bilibili:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,S.jsx)("path",{fill:"currentColor",d:"M18.223 3.086a1.25 1.25 0 0 1 0 1.768L17.08 5.996h1.17A3.75 3.75 0 0 1 22 9.747v7.5a3.75 3.75 0 0 1-3.75 3.75H5.75A3.75 3.75 0 0 1 2 17.247v-7.5a3.75 3.75 0 0 1 3.75-3.75h1.166L5.775 4.855a1.25 1.25 0 1 1 1.767-1.768l2.652 2.652c.079.079.145.165.198.257h3.213c.053-.092.12-.18.199-.258l2.651-2.652a1.25 1.25 0 0 1 1.768 0zm.027 5.42H5.75a1.25 1.25 0 0 0-1.247 1.157l-.003.094v7.5c0 .659.51 1.199 1.157 1.246l.093.004h12.5a1.25 1.25 0 0 0 1.247-1.157l.003-.093v-7.5c0-.69-.56-1.25-1.25-1.25zm-10 2.5c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25zm7.5 0c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25z"})}),lark:(0,S.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Lark"}),(0,S.jsx)("path",{d:"M8.813 5.477c1.038.836 2.286 2.045 3.3 3.495.171.23.377.576.457.71l.034.056a8.803 8.803 0 0 0-.922 1.3l-.271-.494C9.655 7.53 6.3 5.477 6.137 5.377a.447.447 0 0 1-.006-.004l-.666-.393-.107-.086a.499.499 0 0 1 .306-.885L6.084 4h7.997c.159.006.318.037.47.092.174.064.317.174.458.308.134.143.272.296.403.448.622.675 1.324 1.688 1.324 1.688-.573.193-1.349.736-1.349.736a5.095 5.095 0 0 0-.348-.54 20.665 20.665 0 0 0-1.037-1.255H8.813Z",fill:"currentColor"}),(0,S.jsx)("path",{d:"M18.482 7.507a5.42 5.42 0 0 1 4.04.717c.248.168.788.635.242 1.233-1.7 1.67-2.194 3.225-2.63 4.599-.278.873-.541 1.697-1.066 2.424-1.813 2.508-4.114 4-6.837 4.434-.561.089-1.132.131-1.7.131-3.958 0-7.498-2.035-8.75-2.844h.003l-.161-.107c-.534-.378-.61-.723-.623-.989V7.055a.486.486 0 0 1 .827-.317l.482.589c5.082 6.201 9.126 8.063 11.626 8.53 2.246.424 3.631-.165 4.022-.37.333-.51.534-1.143.764-1.865l.006-.021c.406-1.276.898-2.821 2.322-4.477a3.93 3.93 0 0 0-2.28-.168c-1.761.394-3.403 1.96-4.89 4.643a8.27 8.27 0 0 0-.341.671c-.724-.107-1.334-.65-1.334-.65.128-.269.22-.455.345-.672 1.718-3.125 3.714-4.962 5.933-5.441ZM2.477 16.889c1.145.744 5.341 3.232 9.532 2.563 1.56-.247 2.963-.915 4.196-1.99-2.771.254-7.557-.753-13.728-7.666v7.093Z",fill:"currentColor"})]}),x:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"X"}),(0,S.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})},rN=e=>{let{link:t,popperStyle:r={}}=e,{icon:n,mode:i="link",content:l}=t,s=null;if("object"==typeof n)s=(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:n.svg}});else if(n){let e=n.toLowerCase();s="twitter"===e?rk.x:rk[e]}let[a,o]=(0,C.useState)(!1),c=()=>{o(!0)},d=()=>{o(!1)};return"link"===i?(0,S.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,S.jsx)("div",{className:`${ry.socialLinksIcon}`,children:s})},l):"text"===i?(0,S.jsxs)("div",{className:`${ry.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:c,onMouseLeave:d,children:[s,a?(0,S.jsx)("div",{style:e$({boxShadow:"var(--rp-shadow-3)",border:"1px solid var(--rp-c-divider-light)"},r),className:"z-[1] p-3 w-50 absolute right-0 bg-white dark:bg-dark",children:(0,S.jsx)("div",{className:"text-md",children:l})}):null]}):"img"===i?(0,S.jsxs)("div",{className:`${ry.socialLinksIcon} cursor-pointer relative`,onMouseEnter:c,onMouseLeave:d,children:[s,a?(0,S.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:e$({boxShadow:"var(--rp-shadow-3)"},r),children:(0,S.jsx)("img",{src:l,alt:"img"})}):null]}):"dom"===i?(0,S.jsxs)("div",{className:`${ry.socialLinksIcon} cursor-pointer relative`,onMouseEnter:c,onMouseLeave:d,children:[s,a?(0,S.jsx)("div",{className:"break-all z-[1] p-3 absolute right-0 bg-white dark:bg-dark rounded-xl",style:e$({boxShadow:"var(--rp-shadow-3)"},r),children:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:l}})}):null]}):(0,S.jsx)("div",{})},r_=e=>{let{links:t,moreIconVisible:r=!1,mouseEnter:n}=e;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,S.jsx)(rN,{link:e,popperStyle:{top:"2.5rem"}},t))}),r?(0,S.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:n,children:(0,S.jsx)(ty,{icon:eo})}):null]})},rC=e=>{let{links:t}=e;return(0,S.jsx)("div",{style:{boxShadow:"var(--rp-shadow-3)",marginRight:"-2px",border:"1px solid var(--rp-c-divider-light)",background:"var(--rp-c-bg)"},className:"absolute top-8 right-0 z-1 p-3 w-32 rounded-2xl flex flex-wrap gap-4",children:t.map(e=>(0,S.jsx)(rN,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},rM=({socialLinks:e})=>{let t=e.length>3,r=[],n=[];e.forEach((e,t)=>{t<3?r.push(e):n.push(e)});let[i,l]=(0,C.useState)(!1);return(0,S.jsxs)("div",{className:`social-links ${ry.menuItem} flex-center relative`,onMouseLeave:()=>l(!1),children:[(0,S.jsx)(r_,{links:r,moreIconVisible:t,mouseEnter:()=>l(!0)}),i?(0,S.jsx)(rC,{links:n}):null]})};function r$(){var e,t;let{siteData:r,page:n}=(0,$.Vi)(),i=(0,$.aw)(),{pathname:l,search:s}=(0,E.TH)(),a=r.lang||"",o=r.multiVersion.default||"",c=Object.values(r.locales||r.themeConfig.locales||{}),d=(null==(e=r.route)?void 0:e.cleanUrls)||!1,u=c.length>1,{lang:h,pageType:m}=n,{base:f}=r;return u?{text:(0,S.jsx)(ty,{icon:ec,style:{width:"18px",height:"18px"}}),items:c.map(e=>({text:null==e?void 0:e.label,link:(0,B.$U)(l+s,{current:h,target:e.lang,default:a},{current:i,default:o},f,d,"404"===m)})),activeValue:null==(t=c.find(e=>h===e.lang))?void 0:t.label}:null}function rS(){var e;let{siteData:t,page:r}=(0,$.Vi)(),n=(0,$.aw)(),{pathname:i}=(0,E.TH)(),l=(null==(e=t.route)?void 0:e.cleanUrls)||!1,s=t.multiVersion.default||"",a=t.multiVersion.versions||[],{base:o}=t;return{items:a.map(e=>({text:e,link:(0,B.xM)(i,{current:n,target:e,default:s},o,l,"404"===r.pageType)})),text:n,activeValue:n}}var rE={navScreen:"navScreen_457e8",active:"active_457e8",container:"container_457e8",navMenu:"navMenu_457e8",navMenuItem:"navMenuItem_457e8",navAppearance:"navAppearance_457e8",socialAndAppearance:"socialAndAppearance_457e8",navScreenMenuGroup:"navScreenMenuGroup_457e8",open:"open_457e8",button:"button_457e8",buttonSpan:"buttonSpan_457e8",items:"items_457e8",down:"down_457e8"};function rA(e){let{activeValue:t}=e,[r,n]=(0,C.useState)(!1);function i({item:e}){return(0,S.jsx)("div",{className:"p-1 text-center",children:(0,S.jsx)("span",{className:"text-brand",children:e.text})})}function l({item:e}){return(0,S.jsx)("div",{className:"py-1 font-medium",children:(0,S.jsx)(rf,{href:e.link,children:(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:"flex justify-center",children:(0,S.jsx)("span",{children:e.text})})})})})}let s=e=>t===e.text?(0,S.jsx)(i,{item:e},e.link):(0,S.jsx)(l,{item:e},e.link),a=e=>(0,S.jsxs)("div",{children:["link"in e?s(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,S.jsxs)("div",{className:`${r?rE.open:""} ${rE.navScreenMenuGroup} relative`,children:[(0,S.jsxs)("button",{className:rE.button,onClick:()=>{n(!r)},children:[(0,S.jsx)("span",{className:rE.buttonSpan,children:e.text}),(0,S.jsx)(ed,{className:`${r?rE.open:""} ${rE.down} `})]}),(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:rE.items,children:e.items.map(e=>(0,S.jsx)("div",{children:"items"in e?a(e):s(e)},e.text))})})]})}function rT(){let{nav:e}=eO(),t=(0,$.aw)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}var rL=()=>{let e=r$();return(0,S.jsx)("div",{className:"flex text-sm font-bold justify-center",children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(rA,e$({},e))})})},rz=()=>{let e=rS();return(0,S.jsx)("div",{className:`${rE.navTranslations} flex text-sm font-bold justify-center`,children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(rA,e$({},e))})})};function rH(e){var t;let{isScreenOpen:r,siteData:n,pathname:i}=e,l=(0,C.useRef)(null),s=n.themeConfig.locales||[],a=s.length>1,o=n.multiVersion.versions.length>1,c=rT(),d=!1!==n.themeConfig.darkMode,u=(null==(t=null==n?void 0:n.themeConfig)?void 0:t.socialLinks)||[],h=u.length>0,m=s.map(e=>e.lang||"zh")||[],{base:f}=n;return(0,C.useEffect)(()=>(l.current&&r&&(0,en.Qp)(l.current,{reserveScrollBarGap:!0}),()=>{(0,en.tP)()}),[r]),(0,S.jsx)("div",{className:`${rE.navScreen} ${r?rE.active:""}`,ref:l,id:"navScreen",children:(0,S.jsxs)("div",{className:rE.container,children:[(0,S.jsx)(({menuItems:e})=>(0,S.jsx)("div",{className:rE.navMenu,children:e.map(e=>(0,S.jsx)("div",{className:`${rE.navMenuItem} w-full`,children:"link"in e?(0,S.jsx)(rg,e$({pathname:i,base:f,langs:m},e),e.text):(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(rA,eS(e$({},e),{items:"items"in e?e.items:e}))},e.text)},e.text))}),{menuItems:c}),(0,S.jsxs)("div",{className:"flex-center flex-col gap-2",children:[d&&(0,S.jsx)(()=>(0,S.jsx)("div",{className:`mt-2 ${rE.navAppearance} flex justify-center`,children:(0,S.jsx)(O,{children:(0,S.jsx)(rb,{})})}),{}),a&&(0,S.jsx)(rL,{}),o&&(0,S.jsx)(rz,{}),h&&(0,S.jsx)(rM,{socialLinks:u})]})]})})}var rP={navHamburger:"navHamburger_e7b06",active:"active_e7b06"};function rO(e){let{siteData:t,pathname:r}=e,{isScreenOpen:n,toggleScreen:i}=function(){let{pathname:e}=(0,E.TH)(),[t,r]=(0,C.useState)(!1);function n(){r(!0),window.addEventListener("resize",l)}function i(){r(!1),window.removeEventListener("resize",l)}function l(){window.outerWidth>=768&&i()}return(0,C.useEffect)(()=>{i()},[e]),{isScreenOpen:t,openScreen:n,closeScreen:i,toggleScreen:function(){t?i():n()}}}();return(0,S.jsxs)(C.Fragment,{children:[(0,S.jsx)(rH,{isScreenOpen:n,siteData:t,pathname:r}),(0,S.jsx)("button",{onClick:i,"aria-label":"mobile hamburger",className:`${n?rP.active:""} ${rP.navHamburger} text-gray-500`,children:(0,S.jsx)(ty,{icon:er,fill:"currentColor"})})]})}function rB({item:e}){return(0,S.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,S.jsx)(n_,{tag:e.tag}),(0,S.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function rV({item:e}){return(0,S.jsx)("div",{className:"font-medium my-1",children:(0,S.jsx)(rf,{href:e.link,children:(0,S.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,S.jsxs)("div",{className:"flex",children:[e.tag&&(0,S.jsx)(n_,{tag:e.tag}),(0,S.jsx)("span",{children:e.text})]})})})},e.link)}function rI(e){let{activeValue:t,items:r,base:n="",link:i="",pathname:l=""}=e,[s,a]=(0,C.useState)(!1),o=e=>{let r=new RegExp(e.activeMatch||e.link).test((0,B.tz)(l,n));return t===e.text||!t&&r?(0,S.jsx)(rB,{item:e},e.link):(0,S.jsx)(rV,{item:e},e.link)},c=e=>(0,S.jsxs)("div",{children:["link"in e?o(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(o)]});return(0,S.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>a(!1),children:[(0,S.jsx)("button",{onMouseEnter:()=>a(!0),className:"rspress-nav-menu-group-button flex-center items-center font-medium text-sm text-text-1 hover:text-text-2 transition-colors duration-200",children:i?(0,S.jsx)(rg,eS(e$({},e),{rightIcon:(0,S.jsx)(ty,{icon:ed})})):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("span",{className:"text-sm font-medium flex",style:{marginRight:"2px"},children:[(0,S.jsx)(n_,{tag:e.tag}),e.text]}),(0,S.jsx)(ty,{icon:ed})]})}),(0,S.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:s?1:0,visibility:s?"visible":"hidden",right:0,top:"52px"},children:(0,S.jsx)("div",{className:"p-3 pr-2 w-full h-full max-h-100vh whitespace-nowrap",style:{boxShadow:"var(--rp-shadow-3)",zIndex:100,border:"1px solid var(--rp-c-divider-light)",borderRadius:"var(--rp-radius-large)",background:"var(--rp-c-bg)"},children:r.map(e=>(0,S.jsx)("div",{children:"items"in e?c(e):o(e)},e.text))})})]})}var rR=()=>{var e;let{siteData:t}=(0,$.Vi)(),r=eO(),{logo:n,logoText:i}=t,l=null!=(e=r.title)?e:t.title,s=(0,C.useMemo)(()=>n?"string"==typeof n?(0,S.jsx)("img",{src:(0,L.i6)(n),alt:"logo",id:"logo",className:"rspress-logo"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("img",{src:(0,L.i6)(n.light),alt:"logo",id:"logo",className:"rspress-logo dark:hidden"}),(0,S.jsx)("img",{src:(0,L.i6)(n.dark),alt:"logo",id:"logo",className:"rspress-logo hidden dark:block"})]}):null,[n]);return(0,S.jsx)("div",{className:`${rv.navBarTitle}`,children:(0,S.jsxs)(rf,{href:r.langRoutePrefix,className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:[s&&(0,S.jsx)("div",{className:"mr-1 min-w-8",children:s}),i&&(0,S.jsx)("span",{children:i}),!s&&!i&&(0,S.jsx)("span",{children:l})]})})};function rZ(){let e=r$();return(0,S.jsx)("div",{className:`translation ${rv.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(rI,e$({},e))})})}function rW(){let e=rS();return(0,S.jsx)("div",{className:`translation ${rv.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(rI,e$({},e))})})}function rF(e){var t;let{beforeNavTitle:r,afterNavTitle:n,beforeNav:i,afterNavMenu:l,navTitle:s}=e,{siteData:a}=(0,$.Vi)(),{base:o}=a,{pathname:c}=(0,E.TH)(),[d,u]=(0,C.useState)(!1),h=eW(),m=Object.values(a.locales||a.themeConfig.locales||{}),f=m.length>1,p=a.multiVersion.versions.length>1,x=a.themeConfig.socialLinks||[],v=x.length>0,g=m.map(e=>e.lang||"")||[],j=()=>{u(td())};(0,C.useEffect)(()=>(window.addEventListener("resize",j),u(td()),()=>{window.removeEventListener("resize",j)}),[]);let w=({menuItems:e})=>(0,S.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(t=>"items"in t||Array.isArray(t)?(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(rI,eS(e$({},t),{base:o,pathname:c,langs:g,items:"items"in t?t.items:t}))},t.text):(0,S.jsx)(rg,e$({pathname:c,langs:g,base:o,compact:e.length>5},t),t.link))}),b=rT(),y=e=>{var t;return null!=(t=e.position)?t:"right"},k=b.filter(e=>"left"===y(e)),N=b.filter(e=>"right"===y(e)),_=(null==(t=null==a?void 0:a.themeConfig)?void 0:t.search)!==!1,M=!1!==a.themeConfig.darkMode;return(0,S.jsxs)(S.Fragment,{children:[i,(0,S.jsx)("div",{className:`${rv.navContainer} rspress-nav px-6 ${h&&!d?rv.hidden:""}`,style:{position:d?"relative":"sticky"},children:(0,S.jsxs)("div",{className:`${rv.container} flex justify-between items-center h-full`,children:[r,s||(0,S.jsx)(rR,{}),n,(0,S.jsxs)("div",{className:"flex flex-1 justify-end items-center",children:[k.length>0?(0,S.jsx)("div",{className:rv.leftNav,children:(0,S.jsx)(w,{menuItems:k})}):null,(0,S.jsxs)("div",{className:rv.rightNav,children:[_&&(0,S.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,S.jsx)(nu,{})}),(0,S.jsx)(w,{menuItems:N}),(0,S.jsxs)("div",{className:"flex-center flex-row",children:[f&&(0,S.jsx)(rZ,{}),p&&(0,S.jsx)(rW,{}),M&&(0,S.jsx)("div",{className:"mx-2",children:(0,S.jsx)(rb,{})}),v&&(0,S.jsx)(rM,{socialLinks:x})]})]}),l,(0,S.jsxs)("div",{className:rv.mobileNavMenu,children:[d&&_&&(0,S.jsx)(nu,{}),(0,S.jsx)(rO,{siteData:a,pathname:c})]})]})]})})]})}var rD={"header-anchor":"header-anchor_8f375",headerAnchor:"header-anchor_8f375","overview-groups":"overview-groups_8f375",overviewGroups:"overview-groups_8f375","overview-group-li":"overview-group-li_8f375",overviewGroupLi:"overview-group-li_8f375","level-2":"level-2_8f375",level2:"level-2_8f375","level-3":"level-3_8f375",level3:"level-3_8f375","level-4":"level-4_8f375",level4:"level-4_8f375","overview-group":"overview-group_8f375",overviewGroup:"overview-group_8f375",header:"header_8f375"},rU=e=>"dividerType"in e,rJ=e=>"sectionHeaderText"in e,rG=e=>"link"in e&&(0,B.xf)(e.link),rq=e=>e.toLowerCase().replace(/-/g," "),rK=(e,t)=>rq(e).includes(rq(t)),rY=({query:e,setQuery:t,searchRef:r,filterNameText:n,filterPlaceholderText:i})=>(0,S.jsxs)("div",{className:"flex items-center justify-start gap-4",children:[(0,S.jsx)("label",{htmlFor:"api-filter",children:n}),(0,S.jsx)("input",{ref:r,type:"search",placeholder:i,id:"api-filter",value:e,onChange:e=>t(e.target.value),className:"border border-gray-300 dark:border-gray-700 rounded-lg px-3 py-2 transition-shadow duration-250 ease-in-out focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50"})]}),rX=({group:e,styles:t})=>(0,S.jsxs)("div",{className:"mb-16",children:[(0,S.jsx)("h2",{children:tx(e.name)}),(0,S.jsx)("div",{className:t.overviewGroups,children:e.items.map(e=>{var r;return(0,S.jsxs)("div",{className:t.overviewGroup,children:[(0,S.jsx)("div",{className:"flex",children:(0,S.jsx)("h3",{style:{marginBottom:8},children:(0,S.jsx)(rf,{href:(0,L.AP)(e.link),children:tx(e.text)})})}),(0,S.jsx)("ul",{className:"list-none",children:null==(r=e.headers)?void 0:r.map(r=>(0,S.jsx)("li",{className:`${t.overviewGroupLi} ${t[`level${r.depth}`]} first:mt-2`,children:(0,S.jsx)(rf,{href:`${(0,L.AP)(e.link)}#${r.id}`,children:tx(r.text)})},r.id))})]},e.link)})})]},e.name);function rQ(e){var t;let{siteData:r,page:{routePath:n,title:i,frontmatter:l}}=(0,$.Vi)(),{content:s,groups:a,defaultGroupTitle:o="Others"}=e,[c,d]=(0,C.useState)(""),u=(0,C.useRef)(null);(0,C.useEffect)(()=>{var e;null==(e=u.current)||e.focus()},[]);let h=e=>(0,L.pJ)(e).startsWith(n.replace(/overview$/,""))&&!(0,L.pV)((0,L.pJ)(e),n),m=e=>"link"in e&&e.link?e.link:"items"in e?m(e.items[0]):"",{pages:f}=r,p=f.filter(e=>h(e.routePath)),{items:x}=eV(),{overview:{filterNameText:v="Filter",filterPlaceholderText:g="Enter keyword",filterNoResultText:j="No matching API found"}={}}=eO();function w(t,r,i){var l,s,a,o,c;if("dividerType"in t)return t;if((0,L.pJ)(t.link)===`${n}index`&&(null==i?void 0:i.overview)===!0)return!1;let d=null!=(o=null!=(a=null!=(s=null!=(l=null==e?void 0:e.overviewHeaders)?l:t.overviewHeaders)?s:null==i?void 0:i.overviewHeaders)?a:null==r?void 0:r.overviewHeaders)?o:[2],u=p.find(e=>(0,L.pV)(e.routePath,(0,L.pJ)(t.link||""))),h=m(t);return eS(e$({},t),{link:h,headers:(null==(c=null==u?void 0:u.toc)?void 0:c.filter(e=>d.some(t=>e.depth===t)))||[]})}(null==(t=x[0])?void 0:t.link)!==n&&(x=function e(t,r){let n,i=t.findIndex(e=>(function(e){var t;if(rU(e))return!1;let n=(0,B.pJ)(e.link);let i=(t=n).endsWith("/index")?t.slice(0,-5):t,l=r.replace(/\/$/,"");return n===r||i===r||n===l||i===l})(e));if(-1===i)return t.map(t=>"items"in t?e(t.items,r):[]).flat();let l=t[i];if("items"in l&&Array.isArray(n=l.items)&&n.length>=1)return l.items.every(e=>!("items"in e))?[l]:l.items.filter(e=>!rU(e));let s=[...t];return!("items"in l)&&s.splice(i,1),s.filter(e=>!rU(e))}(x,n));let b=e=>!("items"in e)&&"link"in e,y=null!=a?a:(0,C.useMemo)(()=>x.filter(e=>Array.isArray(null==e?void 0:e.items)?e.items.filter(e=>h(m(e))).length>0:!!(b(e)&&h(m(e)))||!1).map(e=>{var t;let r=[];return(null==e?void 0:e.items)?r=null==(t=null==e?void 0:e.items)?void 0:t.map(t=>w(t,e,l)).filter(Boolean):b(e)&&(r=[w({link:e.link,text:e.text||"",tag:e.tag,_fileKey:e._fileKey,overviewHeaders:e.overviewHeaders},void 0,l)]),{name:e.text||"",items:r}}),[x,n,l]),k=(0,C.useMemo)(()=>c?y.map(e=>{if(rK(e.name,c))return e;let t=e.items.map(e=>{var t;if(rK(e.text||"",c))return e;let r=null==(t=e.headers)?void 0:t.filter(({text:e})=>rK(e,c));return(null==r?void 0:r.length)?eS(e$({},e),{headers:r}):null}).filter(Boolean);return t.length?eS(e$({},e),{items:t}):null}).filter(Boolean):y,[y,c]);return(0,S.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,S.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between mb-10",children:[(0,S.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:i||"Overview"}),(0,S.jsx)(rY,{query:c,setQuery:d,searchRef:u,filterNameText:v,filterPlaceholderText:g})]}),s,k.length>0?k.map(e=>(0,S.jsx)(rX,{group:e,styles:rD},e.name)):(0,S.jsx)("div",{className:"text-lg text-gray-500 text-center mt-9 pt-9 border-t border-gray-200 dark:border-gray-800",children:`${j}: ${c}`})]})}function r0(e){return(0,S.jsxs)("svg",eS(e$({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256"},e),{children:[(0,S.jsx)("path",{fill:"#C12127",d:"M0 256V0h256v256z"}),(0,S.jsx)("path",{fill:"#FFF",d:"M48 48h160v160h-32V80h-48v128H48z"})]}))}function r1(e){return(0,S.jsx)("svg",eS(e$({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:(0,S.jsxs)("g",{fill:"#2c8ebb",children:[(0,S.jsx)("path",{d:"M99.24 80.71C94.9 80.76 91.1 83 87.89 85c-6 3.71-9 3.47-9 3.47l-.1-.17c-.41-.67 1.92-6.68-.69-13.84c-2.82-7.83-7.3-9.72-6.94-10.32c1.53-2.59 5.36-6.7 6.89-14.36c.91-4.64.67-12.28-1.39-16.28c-.38-.74-3.78 1.24-3.78 1.24s-3.18-7.09-4.07-7.66c-2.87-1.84-6 7.61-6 7.61a14 14 0 0 0-11.71 4.5a9.64 9.64 0 0 1-3.85 2.27c-.41.14-.91.12-2.15 3.47c-1.9 5.07 3.24 10.81 3.24 10.81s-6.13 4.33-8.4 9.72a24.78 24.78 0 0 0-1.75 11.68s-4.36 3.78-4.64 7.68a12.87 12.87 0 0 0 1.77 7.83a1.94 1.94 0 0 0 2.63.91s-2.9 3.38-.19 4.81c2.47 1.29 6.63 2 8.83-.19c1.6-1.6 1.92-5.17 2.51-6.63c.14-.34.62.57 1.08 1a10 10 0 0 0 1.36 1s-3.9 1.68-2.3 5.51c.53 1.27 2.42 2.08 5.51 2.06c1.15 0 13.76-.72 17.12-1.53a4.33 4.33 0 0 0 2.61-1.46a63 63 0 0 0 15.49-7c4.74-3.09 6.68-3.93 10.51-4.84c3.16-.75 2.95-5.65-1.24-5.58z"}),(0,S.jsx)("path",{d:"M64 2a62 62 0 1 0 62 62A62 62 0 0 0 64 2zm37.3 87.83c-3.35.81-4.91 1.44-9.41 4.36a67 67 0 0 1-15.56 7.18a8.71 8.71 0 0 1-3.64 1.77c-3.81.93-16.88 1.63-17.91 1.63h-.24c-4 0-6.27-1.24-7.49-2.54c-3.4 1.7-7.8 1-11-.69a5.55 5.55 0 0 1-3-3.9a6 6 0 0 1 0-2.06a6.66 6.66 0 0 1-.79-1A16.38 16.38 0 0 1 30 84.52c.29-3.73 2.87-7.06 4.55-8.83A28.56 28.56 0 0 1 36.61 64a26.82 26.82 0 0 1 6.82-9c-1.65-2.78-3.33-7.06-1.7-11.42c1.17-3.11 2.13-4.84 4.24-5.58a6.84 6.84 0 0 0 2.51-1.34A17.65 17.65 0 0 1 60.34 31c.19-.48.41-1 .65-1.46c1.6-3.4 3.3-5.31 5.29-6a4.88 4.88 0 0 1 4.4.5c.65.43 1.48 1 3.9 6a4.69 4.69 0 0 1 2.85-.1a3.81 3.81 0 0 1 2.39 1.94c2.47 4.74 2.8 13.19 1.72 18.62a33.8 33.8 0 0 1-5.84 13.31a25.73 25.73 0 0 1 5.77 9.43a25.42 25.42 0 0 1 1.41 10.41A28.7 28.7 0 0 0 86 81.91c3.06-1.89 7.68-4.74 13.19-4.81a6.62 6.62 0 0 1 7 5.7a6.35 6.35 0 0 1-4.89 7.03z"})]})}))}function r2(e){return(0,S.jsxs)("svg",eS(e$({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:[(0,S.jsx)("path",{fill:"#f8ab00",d:"M0 .004V40h39.996V.004Zm43.996 0V40h40V.004Zm44.008 0V40H128V.004Zm0 43.996v39.996H128V44Z"}),(0,S.jsx)("path",{fill:"#4c4c4c",d:"M43.996 44v39.996h40V44ZM0 87.996v40h39.996v-40Zm43.996 0v40h40v-40Zm44.008 0v40H128v-40Z"})]}))}function r4(e){return(0,S.jsxs)("svg",eS(e$({id:"Bun",width:"1.2em",height:"1.2em",viewBox:"0 0 80 70"},e),{children:[(0,S.jsx)("path",{id:"Shadow",d:"M71.09,20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46,26.46,0,0,1,75.5,35.7c0,16.57-16.82,30.05-37.5,30.05-11.58,0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55,65.3,30.14,69.75,42,69.75c20.68,0,37.5-13.48,37.5-30C79.5,32.69,76.46,26,71.09,20.74Z"}),(0,S.jsxs)("g",{id:"Body",children:[(0,S.jsx)("path",{id:"Background",d:"M73,35.7c0,15.21-15.67,27.54-35,27.54S3,50.91,3,35.7C3,26.27,9,17.94,18.22,13S33.18,3,38,3s8.94,4.13,19.78,10C67,17.94,73,26.27,73,35.7Z",style:{fill:"#fbf0df"}}),(0,S.jsx)("path",{id:"Bottom_Shadow","data-name":"Bottom Shadow",d:"M73,35.7a21.67,21.67,0,0,0-.8-5.78c-2.73,33.3-43.35,34.9-59.32,24.94A40,40,0,0,0,38,63.24C57.3,63.24,73,50.89,73,35.7Z",style:{fill:"#f6dece"}}),(0,S.jsx)("path",{id:"Light_Shine","data-name":"Light Shine",d:"M24.53,11.17C29,8.49,34.94,3.46,40.78,3.45A9.29,9.29,0,0,0,38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7c0,.4,0,.8,0,1.19C9.06,15.48,20.07,13.85,24.53,11.17Z",style:{fill:"#fffefc"}}),(0,S.jsx)("path",{id:"Top",d:"M35.12,5.53A16.41,16.41,0,0,1,29.49,18c-.28.25-.06.73.3.59,3.37-1.31,7.92-5.23,6-13.14C35.71,5,35.12,5.12,35.12,5.53Zm2.27,0A16.24,16.24,0,0,1,39,19c-.12.35.31.65.55.36C41.74,16.56,43.65,11,37.93,5,37.64,4.74,37.19,5.14,37.39,5.49Zm2.76-.17A16.42,16.42,0,0,1,47,17.12a.33.33,0,0,0,.65.11c.92-3.49.4-9.44-7.17-12.53C40.08,4.54,39.82,5.08,40.15,5.32ZM21.69,15.76a16.94,16.94,0,0,0,10.47-9c.18-.36.75-.22.66.18-1.73,8-7.52,9.67-11.12,9.45C21.32,16.4,21.33,15.87,21.69,15.76Z",style:{fill:"#ccbea7",fillRule:"evenodd"}}),(0,S.jsx)("path",{id:"Outline",d:"M38,65.75C17.32,65.75.5,52.27.5,35.7c0-10,6.18-19.33,16.53-24.92,3-1.6,5.57-3.21,7.86-4.62,1.26-.78,2.45-1.51,3.6-2.19C32,1.89,35,.5,38,.5s5.62,1.2,8.9,3.14c1,.57,2,1.19,3.07,1.87,2.49,1.54,5.3,3.28,9,5.27C69.32,16.37,75.5,25.69,75.5,35.7,75.5,52.27,58.68,65.75,38,65.75ZM38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7,3,50.89,18.7,63.25,38,63.25S73,50.89,73,35.7C73,26.62,67.31,18.13,57.78,13,54,11,51.05,9.12,48.66,7.64c-1.09-.67-2.09-1.29-3-1.84C42.63,4,40.42,3,38,3Z"})]}),(0,S.jsxs)("g",{id:"Mouth",children:[(0,S.jsx)("g",{id:"Background-2","data-name":"Background",children:(0,S.jsx)("path",{d:"M45.05,43a8.93,8.93,0,0,1-2.92,4.71,6.81,6.81,0,0,1-4,1.88A6.84,6.84,0,0,1,34,47.71,8.93,8.93,0,0,1,31.12,43a.72.72,0,0,1,.8-.81H44.26A.72.72,0,0,1,45.05,43Z",style:{fill:"#b71422"}})}),(0,S.jsxs)("g",{id:"Tongue",children:[(0,S.jsx)("path",{id:"Background-3","data-name":"Background",d:"M34,47.79a6.91,6.91,0,0,0,4.12,1.9,6.91,6.91,0,0,0,4.11-1.9,10.63,10.63,0,0,0,1-1.07,6.83,6.83,0,0,0-4.9-2.31,6.15,6.15,0,0,0-5,2.78C33.56,47.4,33.76,47.6,34,47.79Z",style:{fill:"#ff6164"}}),(0,S.jsx)("path",{id:"Outline-2","data-name":"Outline",d:"M34.16,47a5.36,5.36,0,0,1,4.19-2.08,6,6,0,0,1,4,1.69c.23-.25.45-.51.66-.77a7,7,0,0,0-4.71-1.93,6.36,6.36,0,0,0-4.89,2.36A9.53,9.53,0,0,0,34.16,47Z"})]}),(0,S.jsx)("path",{id:"Outline-3","data-name":"Outline",d:"M38.09,50.19a7.42,7.42,0,0,1-4.45-2,9.52,9.52,0,0,1-3.11-5.05,1.2,1.2,0,0,1,.26-1,1.41,1.41,0,0,1,1.13-.51H44.26a1.44,1.44,0,0,1,1.13.51,1.19,1.19,0,0,1,.25,1h0a9.52,9.52,0,0,1-3.11,5.05A7.42,7.42,0,0,1,38.09,50.19Zm-6.17-7.4c-.16,0-.2.07-.21.09a8.29,8.29,0,0,0,2.73,4.37A6.23,6.23,0,0,0,38.09,49a6.28,6.28,0,0,0,3.65-1.73,8.3,8.3,0,0,0,2.72-4.37.21.21,0,0,0-.2-.09Z"})]}),(0,S.jsxs)("g",{id:"Face",children:[(0,S.jsx)("ellipse",{id:"Right_Blush","data-name":"Right Blush",cx:"53.22",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,S.jsx)("ellipse",{id:"Left_Bluch","data-name":"Left Bluch",cx:"22.95",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,S.jsx)("path",{id:"Eyes",d:"M25.7,38.8a5.51,5.51,0,1,0-5.5-5.51A5.51,5.51,0,0,0,25.7,38.8Zm24.77,0A5.51,5.51,0,1,0,45,33.29,5.5,5.5,0,0,0,50.47,38.8Z",style:{fillRule:"evenodd"}}),(0,S.jsx)("path",{id:"Iris",d:"M24,33.64a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,24,33.64Zm24.77,0a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,48.75,33.64Z",style:{fill:"#fff",fillRule:"evenodd"}})]})]}))}function r3(e){if(e.startsWith("yarn create"))return e.replace(/(yarn create [^\s]+)@latest/,"$1");if(!(null==e?void 0:e.includes("install")))return e;let t=e.split(" ").filter(e=>!e.startsWith("-")&&!e.startsWith("--")).join(" ");return"yarn install"===t||"bun install"===t?e:e.replace("install","add")}function r5({command:e,additionalTabs:t=[]}){let r;let n={npm:(0,S.jsx)(r0,{}),yarn:(0,S.jsx)(r1,{}),pnpm:(0,S.jsx)(r2,{}),bun:(0,S.jsx)(r4,{})};return t.forEach(e=>{n[e.tool]=e.icon}),"string"==typeof e?(r={npm:`npm ${e}`,yarn:`yarn ${e}`,pnpm:`pnpm ${e}`,bun:`bun ${e}`},t.forEach(t=>{r[t.tool]=`${t.tool} ${e}`})):r=e,r.yarn&&(r.yarn=r3(r.yarn)),r.bun&&(r.bun=r3(r.bun)),(0,S.jsx)(nn,{groupId:"package.manager",values:Object.entries(r).map(([e])=>(0,S.jsxs)("div",{style:{display:"flex",alignItems:"center",fontSize:15},children:[n[e],(0,S.jsx)("span",{style:{marginLeft:6,marginBottom:2},children:e})]},e)),children:Object.entries(r).map(([e,t])=>(0,S.jsx)(ni,{children:(0,S.jsx)(t4,{children:(0,S.jsx)(t2,{className:"language-js",codeHighlighter:"prism",children:t})})},e))})}var r6={pagerLink:"pager-link_9b9a7",title:"title_9b9a7",next:"next_9b9a7",desc:"desc_9b9a7"};function r7(e){let{type:t,text:r,href:n}=e,{prevPageText:i="Previous Page",nextPageText:l="Next Page"}=eO(),s="prev"===t?r6.pagerLink:`${r6.pagerLink} ${r6.next}`;return(0,S.jsxs)(rf,{href:n,className:s,children:[(0,S.jsx)("span",{className:r6.desc,children:"prev"===t?i:l}),(0,S.jsx)("span",{className:r6.title,children:r})]})}var r8={scrollToTop:"scroll-to-top_1a167",entered:"entered_1a167"};function r9(){let[e,t]=(0,C.useState)(!1),r=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,C.useEffect)(()=>{window.addEventListener("scroll",r)},[]),(0,S.jsx)("button",{className:`${r8.scrollToTop} ${e?r8.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,S.jsx)("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"})})})}var ne={mask:"mask_6e282",modal:"modal_6e282",inputForm:"inputForm_6e282",input:"input_6e282",close:"close_6e282",searchHits:"searchHits_6e282",groupTitle:"groupTitle_6e282",navSearchButton:"navSearchButton_6e282",searchWord:"searchWord_6e282",suggestItem:"suggestItem_6e282",suggestItemContainer:"suggestItemContainer_6e282",contentWrapper:"contentWrapper_6e282",mark:"mark_6e282",titleForContent:"titleForContent_6e282",actionIcon:"actionIcon_6e282",current:"current_6e282",tabClassName:"tabClassName_6e282",mobileNavSearchButton:"mobileNavSearchButton_6e282"},nt={container:"container_fa768",tabList:"tab-list_fa768",tab:"tab_fa768",notSelected:"not-selected_fa768",selected:"selected_fa768",noScrollbar:"no-scrollbar_fa768"},nr=e=>{var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e},nn=(0,C.forwardRef)((e,t)=>{let{values:r,defaultValue:n,onChange:i,children:l,groupId:s,tabPosition:a="left",tabContainerClassName:o}=e,c=C.Children.toArray(l).filter(e=>!("string"==typeof e&&""===e.trim())),d=r||[];0===d.length&&(d=C.Children.map(c,e=>{var t,r,n;return(0,C.isValidElement)(e)?{label:null==(t=e.props)?void 0:t.label,value:(null==(r=e.props)?void 0:r.value)||(null==(n=e.props)?void 0:n.label)}:{label:void 0,value:void 0}}));let{tabData:u,setTabData:h}=(0,C.useContext)(tN),[m,f]=(0,C.useState)(()=>void 0===n?0:d.findIndex(e=>"string"==typeof e?e===n:!!e&&"object"==typeof e&&"value"in e&&e.value===n)),[p,x]=tl(`rspress.tabs.${s}`,m),v=(0,C.useMemo)(()=>{if(s)return void 0!==u[s]?u[s]:Number.parseInt(p);return m},[u[s]]);(0,C.useEffect)(()=>{if(s){let e=Number.parseInt(p);v!==e&&h(eS(e$({},u),{[s]:e}))}},[p]);let g=s?v:m;return(0,S.jsxs)("div",{className:nt.container,ref:t,children:[(0,S.jsx)("div",{className:o,children:d.length?(0,S.jsx)("div",{className:`${nt.tabList} ${nt.noScrollbar}`,style:{justifyContent:"center"===a?"center":"flex-start"},children:d.map((e,t)=>(0,S.jsx)("div",{className:`${nt.tab} ${g===t?nt.selected:nt.notSelected}`,onClick:()=>{null==i||i(t),s?(h(eS(e$({},u),{[s]:t})),x(t)):f(t)},children:nr(e)},t))}):null}),(0,S.jsx)("div",{children:C.Children.toArray(c)[g]})]})});function ni(e){var{children:t}=e,r=eE(e,["children"]);return(0,S.jsx)("div",eS(e$({},r),{className:"rounded px-2",children:t}))}function nl({query:e}){let{searchNoResultsText:t="No results for",searchSuggestedQueryText:r="Please try again with a different keyword"}=eO();return(0,S.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,S.jsx)(ty,{icon:ev,className:"mb-4 opacity-80"}),(0,S.jsxs)("p",{className:"mb-2",children:[t," ",(0,S.jsxs)("b",{children:['"',e,'"']})]}),(0,S.jsx)("p",{children:r})]})}var ns={title:e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M4 4a2 2 0 0 1 2-2h8a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm13.586 4L14 4.414V8h3.586zM12 4H6v16h12V10h-5a1 1 0 0 1-1-1V4z"})}),header:e=>(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,S.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})}),content:e=>(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:[(0,S.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,S.jsx)("path",{fill:"none",d:"M22 28a4 4 0 1 1 4-4 4.004 4.004 0 0 1-4 4Zm0-6a2 2 0 1 0 2 2 2.003 2.003 0 0 0-2-2Z"}),(0,S.jsx)("path",{fill:"currentColor",d:"M29.777 23.479A8.64 8.64 0 0 0 22 18a8.64 8.64 0 0 0-7.777 5.479L14 24l.223.521A8.64 8.64 0 0 0 22 30a8.64 8.64 0 0 0 7.777-5.479L30 24ZM22 28a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4Z"}),(0,S.jsx)("path",{fill:"currentColor",d:"M12 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v4h2v-6a.91.91 0 0 0-.3-.7l-7-7A.909.909 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h4Zm6-23.6 5.6 5.6H18Z"})]})};function na({suggestion:e,closeSearch:t,isCurrent:r,setCurrentSuggestionIndex:n,inCurrentDocIndex:i,scrollTo:l,onMouseMove:s}){var a,o;let c=ns[e.type],d=i&&!(0,B.yv)()?eQ(e.link):e.link,u=(0,C.useRef)(null);r&&l(null==(a=null==u?void 0:u.current)?void 0:a.offsetTop,null==(o=null==u?void 0:u.current)?void 0:o.offsetHeight);let h=(e,t)=>{let r=[],n=0;for(let a of t){var i,l,s;let{start:t,length:o}=a,c=e.slice(n,t);let d=(i=e,l=t,s=o,function(e,t,r){let n="",i=0,l=e.length;for(let s=0;s<l&&!((i+=e0(e.charAt(s)))>0+r);s++){;i>t&&(n+=e.charAt(s))}return n}(i.slice(l),0,s));r.push(c),r.push((0,S.jsx)("span",{className:ne.mark,children:d},t)),n=t+d.length}return n<e.length&&r.push(e.slice(n)),r},m=null;switch(e.type){case"title":case"header":m=(()=>{if("header"===e.type||"title"===e.type){let{header:t,highlightInfoList:r}=e;return(0,S.jsx)("div",{className:"font-medium",children:h(t,r)})}return(0,S.jsx)("div",{className:"font-medium",children:e.header})})();break;case"content":m=(0,S.jsxs)(S.Fragment,{children:[(()=>{if("content"!==e.type)return(0,S.jsx)("div",{});let{statement:t,highlightInfoList:r}=e;return(0,S.jsx)("div",{className:"text-sm text-gray-light w-full",children:h(t,r)})})(),(0,S.jsx)("p",{className:ne.titleForContent,children:e.title})]})}return(0,S.jsx)("li",{className:`${ne.suggestItem} ${r?ne.current:""}`,onMouseEnter:n,onMouseMove:s,ref:u,children:(0,S.jsx)("a",{href:d,onClick:e=>{t(),e.stopPropagation()},target:i?"_self":"_blank",children:(0,S.jsxs)("div",{className:ne.suggestItemContainer,children:[(0,S.jsx)("div",{className:ne.hitIcon,children:(0,S.jsx)(ty,{icon:c})}),(0,S.jsx)("div",{className:ne.contentWrapper,children:(0,S.jsx)("span",{children:m})}),(0,S.jsx)("div",{className:ne.actionIcon,children:(0,S.jsx)(ty,{icon:eg})})]})})},e.link)}var no={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"},nc=e=>{let t=(0,C.useRef)(e);return t.current=e,(0,C.useCallback)((0,eh.Z)((...e)=>t.current(...e),150),[])};function nd({focused:e,setFocused:t}){var r,n,i,l;let[s,a]=(0,C.useState)(""),[o,c]=(0,C.useState)([]),d=(0,C.useRef)(null),[u,h]=(0,C.useState)(!0),[m,f]=(0,C.useState)(!1),[p,x]=(0,C.useState)(0),[v,g]=(0,C.useState)(0),j=(0,C.useRef)(null),w=(0,C.useRef)(null),b=(0,C.useRef)(null),y=(0,C.useRef)(null),k=(0,C.useRef)({pageX:null,pageY:null}),[N,_]=(0,C.useState)(!1),M=(e,t)=>{var r,n,i,l,s;if(N){let a=e+t-(null==(r=null==b?void 0:b.current)?void 0:r.offsetHeight)-(1===o.length?50:-10);a>(null==(n=null==b?void 0:b.current)?void 0:n.scrollTop)&&(null==(i=null==b?void 0:b.current)||i.scrollTo({top:a}));let c=1===o.length?e-70:e-10;c<(null==(l=null==b?void 0:b.current)?void 0:l.scrollTop)&&(null==(s=null==b?void 0:b.current)||s.scrollTo({top:c}))}},{siteData:E,page:{lang:A,version:T}}=(0,$.Vi)(),{sidebar:L,searchPlaceholderText:z="Search Docs"}=eO(),{search:H,title:P}=E,O=H&&"remote"!==H.mode&&H.versioned,V=[{group:P,result:[],renderType:"default"}],I=null!=(n=null==(r=o[p])?void 0:r.result)?n:[],R=null!=(l=null==(i=o[p])?void 0:i.renderType)?l:"default",Z=e=>eB(L,e).group;function W(){return eP(this,null,function*(){var e,t;if(!1===H)return;let r={currentLang:A,currentVersion:T,extractGroupName:Z},n=new te(e$(e$({indexName:P},H),r));j.current=n,w.current=r,yield j.current.init(),h(!1);let i=null==(e=d.current)?void 0:e.value;i&&(c((yield null==(t=j.current)?void 0:t.match(i))||V),f(!1))})}let F=()=>{t(!1),x(0),g(0)};(0,C.useEffect)(()=>{let r=r=>{switch(r.code){case no.SEARCH:(r.ctrlKey||r.metaKey)&&(r.preventDefault(),t(!e));break;case no.ARROW_DOWN:e&&(r.preventDefault(),I&&"default"===R&&(_(!0),g((v+1)%I.length)));break;case no.ARROW_UP:if(e&&(r.preventDefault(),"default"===R)){let e=I.length;_(!0),g((v-1+e)%e)}break;case no.ENTER:if(v>=0&&"default"===R){let e=[].concat(...Object.values(U(I)))[v];0===p?window.location.href=(0,B.yv)()?e.link:eQ(e.link):window.open(e.link),F()}break;case no.ESC:F()}};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[g,t,e,p,I,v]),(0,C.useEffect)(()=>{e?(c(V),!j.current&&W()):a("")},[e]),(0,C.useEffect)(()=>{var e;let{currentLang:t,currentVersion:r}=null!=(e=w.current)?e:{},n=A!==t,i=O&&T!==r;!u&&(n||i)&&W()},[A,T,O]);let D=nc(e=>eP(this,null,function*(){var t,r;let n=e;if(a(n),H&&"remote"===H.mode&&H.searchLoading&&f(!0),n){let e=[];if("beforeSearch"in ef){let e=yield ef.beforeSearch(n);e&&(n=e)}let i=yield null==(t=j.current)?void 0:t.match(n);if(i&&e.push(...i),"onSearch"in ef){let t=yield ef.onSearch(n,e);t&&e.push(...t.map(e=>e$({renderType:"custom"},e)))}"afterSearch"in ef&&(yield ef.afterSearch(n,e)),(null==(r=d.current)?void 0:r.value)===n&&(c(e||V),f(!1))}})),U=e=>(0,em.Z)(e,"group"),J=(e,t,r)=>{if(r)return(0,S.jsx)("div",{className:"flex flex-col items-center",children:(0,S.jsx)(ty,{icon:ex,className:"m-8 opacity-80"})});if(0===e.length&&!u)return(0,S.jsx)(nl,{query:t});let n=U(e),i=-1;return(0,S.jsx)("ul",{className:ne.suggestList,children:Object.keys(n).map(e=>{let t=n[e]||[];return(0,S.jsx)("li",{children:(0,S.jsx)("ul",{className:"pb-2",children:t.map(e=>{let t=++i;return(0,S.jsx)(na,{suggestion:e,isCurrent:t===v,setCurrentSuggestionIndex:e=>{if(k.current.pageX!==e.pageX||k.current.pageY!==e.pageY)_(!1),g(t)},onMouseMove:e=>{k.current={pageX:e.pageX,pageY:e.pageY}},closeSearch:()=>{F()},inCurrentDocIndex:0===p,scrollTo:M},`${e.title}-${t}`)})})},e)})})};return(0,S.jsx)(S.Fragment,{children:e&&(0,ea.createPortal)((0,S.jsx)("div",{className:ne.mask,onClick:()=>{F()},children:(0,S.jsxs)("div",{className:`${ne.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,S.jsxs)("div",{className:"flex items-center",children:[(0,S.jsxs)("div",{className:ne.inputForm,children:[(0,S.jsx)("label",{children:(0,S.jsx)(ty,{icon:eu})}),(0,S.jsx)("input",{className:ne.input,ref:d,placeholder:z,"aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:e=>D(e.target.value)}),(0,S.jsx)("label",{children:(0,S.jsx)(ty,{icon:ep,className:ne.close,onClick:e=>{d.current&&(e.stopPropagation(),s?(d.current.value="",a("")):F())}})})]}),(0,S.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),F()},children:"Cancel"})]}),s&&!u?(0,S.jsx)("div",{className:`${ne.searchHits} rspress-scrollbar`,ref:b,children:((e,t,r)=>{if(1===e.length){let t=e[0].result;return 0!==t.length||r?(0,S.jsx)("div",{ref:y,children:J(t,s,r)}):(0,S.jsx)(nl,{query:s})}let n=e.map(e=>t&&"remote"===t.mode?e1(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,S.jsx)(nn,{values:n,tabContainerClassName:ne.tabClassName,onChange:e=>{x(e),g(0)},ref:y,children:e.map(e=>(0,S.jsxs)(ni,{children:["default"===e.renderType&&J(e.result,s,r),"custom"===e.renderType&&ef.render(e.result)]},e.group))})})(o,H,m)}):null]})}),document.getElementById("search-container"))})}function nu(){let[e,t]=(0,C.useState)(!1),[r,n]=(0,C.useState)(null),{searchPlaceholderText:i="Search Docs"}=eO();return(0,C.useEffect)(()=>{n(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl")},[]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:`rspress-nav-search-button ${ne.navSearchButton}`,onClick:()=>t(!0),children:(0,S.jsxs)("button",{children:[(0,S.jsx)(ty,{icon:eu,width:"18",height:"18"}),(0,S.jsx)("p",{className:ne.searchWord,children:i}),(0,S.jsxs)("div",{style:{opacity:r?1:0},children:[(0,S.jsx)("span",{children:r}),(0,S.jsx)("span",{children:"K"})]})]})}),(0,S.jsx)("div",{className:ne.mobileNavSearchButton,onClick:()=>t(!0),children:(0,S.jsx)(ty,{icon:eu})}),(0,S.jsx)(nd,{focused:e,setFocused:t})]})}var nh={navTitleMask:"navTitleMask_71eca",sidebar:"sidebar_71eca",sidebarContent:"sidebarContent_71eca",open:"open_71eca",menuLink:"menuLink_71eca",menuItem:"menuItem_71eca",collapseContainer:"collapseContainer_71eca",menuItemActive:"menuItemActive_71eca"};function nm(e){let{depth:t,dividerType:r}=e;return(0,S.jsx)("div",{className:`${"dashed"===r?"border-dashed":"border-solid"} border-t border-divider-light my-3`,style:{marginLeft:0===t?0:"18px"}})}function nf(e){var t;let{item:r,depth:n=0,activeMatcher:i,id:l,setSidebarData:s}=e,a=(0,E.s0)(),o=(0,C.useRef)(null),c=(0,C.useRef)(null),d=(0,C.useRef)(null),u=(0,C.useRef)(!0),h=(0,C.useRef)(r.collapsed),m=r.link&&i(r.link),{collapsed:f,collapsible:p=!0}=r,x=(0,S.jsx)("div",{style:{cursor:"pointer",transition:"transform 0.2s ease-out",transform:f?"rotate(0deg)":"rotate(90deg)"},children:(0,S.jsx)(ty,{icon:D})});(0,C.useEffect)(()=>{if(u.current||!o.current||!d.current)return;c.current&&clearTimeout(c.current);let e=o.current,t=d.current,r=t.clientHeight+4;f?(e.style.maxHeight=`${r}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",c.current=setTimeout(()=>{o.current&&(o.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${r}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",c.current=setTimeout(()=>{o.current&&o.current.style.removeProperty("max-height")},300))},[f]),(0,C.useEffect)(()=>{u.current=!1},[]);let v=e=>{e.stopPropagation(),s(e=>{let t=[...e],r=l.split("-").map(Number),n=t[r.shift()];for(let e of r)n=n.items[e];return"items"in n&&(n.collapsed=!n.collapsed),t})};return(0,S.jsxs)("section",{className:"rspress-sidebar-section mt-0.5 block","data-context":r.context,style:{marginLeft:0===n?0:"18px"},children:[(0,S.jsxs)("div",{className:`rspress-sidebar-collapse flex justify-between items-center ${m?nh.menuItemActive:nh.menuItem}`,"data-context":r.context,onMouseEnter:()=>r.link&&e.preloadLink(r.link),onClick:e=>{r.link&&a((0,L.pJ)((0,L.AP)(r.link))),p&&v(e)},style:{borderRadius:0===n?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:p||r.link?"pointer":"normal"},children:[(0,S.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:e$({},0===n?ng:{}),children:[(0,S.jsx)(n_,{tag:r.tag}),(0,S.jsx)("span",{className:"flex-center",style:{fontSize:0===n?"14px":"13px"},children:tx(r.text)})]}),p&&(0,S.jsx)("div",{className:`${nh.collapseContainer} p-2 rounded-xl`,onClick:v,children:x})]}),(0,S.jsx)("div",{ref:o,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:h.current?0:void 0},children:(0,S.jsx)("div",{ref:d,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:h.current?0:1,marginLeft:0===n?"12px":0},children:null==(t=null==r?void 0:r.items)?void 0:t.map((t,r)=>rU(t)?(0,S.jsx)(nm,{depth:n+1,dividerType:t.dividerType},r):(0,S.jsx)("div",{className:"rspress-sidebar-item","data-context":t.context,children:(0,S.jsx)(nx,eS(e$({},e),{item:t,depth:n+1,id:`${l}-${r}`,preloadLink:e.preloadLink}))},r))})})]},l)}var np=e=>e.replace(/\.(mdx?)$/,"");function nx(e){let{item:t,depth:r=0,activeMatcher:n,id:i,setSidebarData:l}=e,s="link"in t&&t.link&&n(t.link),{page:a}=(0,$.Vi)(),o=(0,C.useRef)(null),c=(0,C.useRef)(t.text),d=function(){let[,e]=(0,C.useState)(0);return()=>{e(e=>e+1)}}();return((0,C.useEffect)(()=>{var e;s&&(null==(e=o.current)||e.scrollIntoView({block:"center"}))},[]),!(0,B.yv)()&&t._fileKey===np(a.pagePath)&&a.title&&(c.current=a.title),(0,C.useEffect)(()=>{if(t.text!==c.current)c.current=t.text,d()},[t.text]),"items"in t)?(0,S.jsx)(nf,{id:i,item:t,depth:r,activeMatcher:n,collapsed:t.collapsed,setSidebarData:l,preloadLink:e.preloadLink},`${t.text}-${i}`):(0,S.jsx)(rf,{href:(0,L.AP)(t.link),className:nh.menuLink,children:(0,S.jsxs)("div",{ref:o,onMouseEnter:()=>e.preloadLink(t.link),className:`${s?nh.menuItemActive:nh.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:e$({fontSize:0===r?"14px":"13px",marginLeft:0===r?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0"},0===r?ng:{}),children:[(0,S.jsx)(n_,{tag:t.tag}),(0,S.jsx)("span",{children:tx(c.current)})]})})}function nv({sectionHeaderText:e,tag:t}){return(0,S.jsxs)("div",{className:"rspress-sidebar-section-header",children:[(0,S.jsx)(n_,{tag:t}),(0,S.jsx)("span",{children:tx(e)})]})}var ng={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},nj=new WeakMap;function nw(e){let{isSidebarOpen:t,beforeSidebar:r,afterSidebar:n,uiSwitch:i,navTitle:l}=e,{pathname:s}=(0,E.TH)(),{items:a}=eV(),[o,c]=(0,C.useState)(()=>a.filter(Boolean).flat()),d=eO(),u=decodeURIComponent(s),h=(0,B.Kw)(d.langRoutePrefix||"");(0,C.useEffect)(()=>{B._f&&(t?(_=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=_||"")},[t]),(0,C.useEffect)(()=>{if(a===o)return;nj=new WeakMap;let e=t=>nj.has(t)?nj.get(t):"link"in t&&t.link&&f(t.link)||"items"in t&&t.items.some(t=>e(t))?(nj.set(t,!0),!0):(nj.set(t,!1),!1),t=r=>{"items"in r&&(r.items.forEach(t),e(r)&&(r.collapsed=!1))},r=a.filter(Boolean).flat();r.forEach(t),c(r)},[a,u]);let m=e=>e.replace(h,""),f=e=>tc((0,L.E9)(m(u)),m(e),!0),p=e=>{let t=(0,A.fp)(et.routes,e);if(null==t?void 0:t.length){let{route:e}=t[0];e.preload()}};return(0,S.jsxs)("aside",{className:`${nh.sidebar} rspress-sidebar ${t?nh.open:""}`,children:[i.showNavbar?(0,S.jsx)("div",{className:nh.navTitleMask,children:l||(0,S.jsx)(rR,{})}):null,(0,S.jsx)("div",{className:`rspress-scrollbar ${nh.sidebarContent}`,children:(0,S.jsxs)("nav",{className:"pb-2",children:[r,o.map((e,t)=>{var r,n;return rU(e)?(0,S.jsx)(nm,{depth:0,dividerType:e.dividerType},t):rJ(e)?(0,S.jsx)(nv,{sectionHeaderText:e.sectionHeaderText,tag:e.tag},t):rG(e)?(0,S.jsx)("div",{className:"rspress-sidebar-item rspress-sidebar-custom-link","data-context":e.context,children:(0,S.jsx)(nx,{id:String(t),item:e,depth:0,activeMatcher:f,collapsed:null==(r=e.collapsed)||r,setSidebarData:c,preloadLink:p},t)},t):(0,S.jsx)(nx,{id:String(t),item:e,depth:0,activeMatcher:f,collapsed:null==(n=e.collapsed)||n,setSidebarData:c,preloadLink:p},t)}),n]})})]})}var nb="sourceCode_bf1b0";function ny(e){let{href:t,platform:r="github"}=e,{sourceCodeText:n="Source"}=eO();return(0,S.jsx)("div",{className:`inline-block rounded border border-solid border-gray-light-3 dark:border-divider text-gray-400 ${nb}`,children:(0,S.jsxs)("a",{href:t,target:"_blank",className:"flex items-center content-center transition-all duration-300 text-xs block px-2 py-1 ",children:[(0,S.jsx)("span",{className:"mr-2 inline-flex w-4 h-4",children:(0,S.jsx)(ty,{icon:"gitlab"===r?ew:ej})}),(0,S.jsx)("span",{children:n})]})})}var nk="rspressSteps_38f64";function nN({children:e}){return(0,S.jsx)("div",{className:`ml-4 mb-11 border-l pl-6 ${nk} [counter-reset:step]`,children:e})}var n_=({tag:e})=>e?e.trim().startsWith("<svg")?(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:e},style:{width:20,marginRight:4}}):(0,S.jsx)("img",{src:e}):null,nC=({header:e,onItemClick:t})=>(0,S.jsx)("li",{children:(0,S.jsx)("a",{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:r=>{r.preventDefault(),window.location.hash=e.id;let n=document.getElementById(e.id);n&&eD(n,!1),null==t||t(e)},children:(0,S.jsx)("span",{className:"rspress-toc-link-text block",children:tx(e.text)})})},e.id);function nM({onItemClick:e}){let{page:t}=(0,$.Vi)();return(0,S.jsx)("ul",{children:t.toc.map(t=>(0,S.jsx)(nC,{header:t,onItemClick:e},t.id))})}var n$={Layout:tS,NotFoundLayout:tE,HomeLayout:tM,setup:eJ}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var l=t[n]={exports:{}};return e[n].call(l.exports,l,l.exports,r),l.exports}r.m=e,r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};r.t=function(n,i){if(1&i&&(n=this(n)),8&i||"object"==typeof n&&n&&(4&i&&n.__esModule||16&i&&"function"==typeof n.then))return n;var l=Object.create(null);r.r(l);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(function(e){s[e]=function(){return n[e]}});return s.default=function(){return n},r.d(l,s),l}})(),r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=function(e){return Promise.all(Object.keys(r.f).reduce(function(t,n){return r.f[n](e,t),t},[]))},r.u=function(e){return"static/js/async/"+e+"."+({194:"62189d7d",599:"4a892881",918:"8c28cdf5"})[e]+".js"},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e={},t="rspress-doc-template:";r.l=function(n,i,l,s){if(e[n]){e[n].push(i);return}if(void 0!==l){for(var a,o,c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+l){a=u;break}}}!a&&(o=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",t+l),a.src=n),e[n]=[i];var h=function(t,r){a.onerror=a.onload=null,clearTimeout(m);var i=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(function(e){return e(r)}),t)return t(r)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),o&&document.head.appendChild(a)}})(),r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];r.O=function(t,n,i,l){if(n){l=l||0;for(var s=e.length;s>0&&e[s-1][2]>l;s--)e[s]=e[s-1];e[s]=[n,i,l];return}for(var a=1/0,s=0;s<e.length;s++){for(var n=e[s][0],i=e[s][1],l=e[s][2],o=!0,c=0;c<n.length;c++)(!1&l||a>=l)&&Object.keys(r.O).every(function(e){return r.O[e](n[c])})?n.splice(c--,1):(o=!1,l<a&&(a=l));if(o){e.splice(s--,1);var d=i();void 0!==d&&(t=d)}}return t}})(),r.p="/",r.rv=function(){return"1.1.0"},(()=>{var e={980:0};r.f.j=function(t,n){var i=r.o(e,t)?e[t]:void 0;if(0!==i){if(i)n.push(i[2]);else{var l=new Promise(function(r,n){i=e[t]=[r,n]});n.push(i[2]=l);var s=r.p+r.u(t),a=Error();r.l(s,function(n){if(r.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var l=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+l+": "+s+")",a.name="ChunkLoadError",a.type=l,a.request=s,i[1](a)}},"chunk-"+t,t)}}},r.O.j=function(t){return 0===e[t]};var t=function(t,n){var i=n[0],l=n[1],s=n[2],a,o,c=0;if(i.some(function(t){return 0!==e[t]})){for(a in l)r.o(l,a)&&(r.m[a]=l[a]);if(s)var d=s(r)}for(t&&t(n);c<i.length;c++)o=i[c],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(d)},n=self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.ruid="bundler=rspack@1.1.0";var n=r.O(void 0,["212","361","118","231"],function(){return r("375")});n=r.O(n)})();
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*! Bundled license information:
|
|
2
|
-
|
|
3
|
-
lodash-es/lodash.js:
|
|
4
|
-
(**
|
|
5
|
-
* @license
|
|
6
|
-
* Lodash (Custom Build) <https://lodash.com/>
|
|
7
|
-
* Build: `lodash modularize exports="es" -o ./`
|
|
8
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
9
|
-
* Released under MIT license <https://lodash.com/license>
|
|
10
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
11
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
12
|
-
*)
|
|
13
|
-
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["212"],{3945:function(){},5026:function(){},486:function(){},4868:function(){}}]);
|
|
File without changes
|
|
File without changes
|