diff --git a/_build/.vite/manifest.json b/_build/.vite/manifest.json index 2665e262..9b96c075 100644 --- a/_build/.vite/manifest.json +++ b/_build/.vite/manifest.json @@ -681,7 +681,7 @@ ] }, "src/routes/docs/config/nvchad_ui.mdx?pick=$css": { - "file": "assets/nvchad_ui-CbZm_838.js", + "file": "assets/nvchad_ui-BkpXOZJ7.js", "src": "src/routes/docs/config/nvchad_ui.mdx?pick=$css", "isEntry": true, "isDynamicEntry": true, @@ -971,7 +971,7 @@ ] }, "virtual:#vinxi/handler/client": { - "file": "assets/client-BZjBfAz7.js", + "file": "assets/client-DWz3igS_.js", "src": "virtual:#vinxi/handler/client", "isEntry": true, "imports": [ diff --git a/_build/.vite/manifest.json.br b/_build/.vite/manifest.json.br index d94d667e..f36f6d43 100644 Binary files a/_build/.vite/manifest.json.br and b/_build/.vite/manifest.json.br differ diff --git a/_build/.vite/manifest.json.gz b/_build/.vite/manifest.json.gz index 414f46cf..a9ad3fa0 100644 Binary files a/_build/.vite/manifest.json.gz and b/_build/.vite/manifest.json.gz differ diff --git a/_build/assets/client-BZjBfAz7.js.br b/_build/assets/client-BZjBfAz7.js.br deleted file mode 100644 index 53310c1c..00000000 Binary files a/_build/assets/client-BZjBfAz7.js.br and /dev/null differ diff --git a/_build/assets/client-BZjBfAz7.js.gz b/_build/assets/client-BZjBfAz7.js.gz deleted file mode 100644 index 8f3bc3b8..00000000 Binary files a/_build/assets/client-BZjBfAz7.js.gz and /dev/null differ diff --git a/_build/assets/client-BZjBfAz7.js b/_build/assets/client-DWz3igS_.js similarity index 93% rename from _build/assets/client-BZjBfAz7.js rename to _build/assets/client-DWz3igS_.js index 06196b99..e694204c 100644 --- a/_build/assets/client-BZjBfAz7.js +++ b/_build/assets/client-DWz3igS_.js @@ -1,15 +1,15 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/_...404_-BvukfzB5.js","assets/web-CBU83r8B.js","assets/docs-Bunczsqo.js","assets/nextprevPage-CboNgrT-.js","assets/components-CVXb4Mrf.js","assets/routing-CayKO4ES.js","assets/ContextTitles-W21vwvc5.js","assets/ContextTitles-CHlfX0wD.css","assets/clipboard-DzJ4oxno.js","assets/index-D85Mi3Ah.js","assets/footer-z1zDxD-Q.js","assets/install-DI_Cow-H.js","assets/news-kvjRXRN2.js","assets/themes-Isdrre9L.js","assets/preload-helper-xxf5fCYN.js","assets/api-DAJi2rPr.js","assets/index-C2YDUEaq.js","assets/contribute-Dn6fnOPu.js","assets/credits-jG-LWy6Z.js","assets/faq-BcqiWEIL.js","assets/features-yelxeIdn.js","assets/index-DxBOF8_p.js","assets/recipes-Tk-_nRi6.js","assets/index-JmojOhgM.js","assets/v2.5_release-BiM-hPRn.js","assets/v2.0_release-BOaz1l1S.js","assets/v2.5_release-Bek2redM.js","assets/lsp-BODZIxSQ.js","assets/mappings-DDpo26rg.js","assets/nvchad_ui-CbZm_838.js","assets/plugins-CCdmTKwN.js","assets/snippets-DoY67S5r.js","assets/syntax-D5NIet03.js","assets/theming-DKjrpR34.js","assets/walkthrough-BDp17Rtp.js","assets/install-BdI-r3X_.js","assets/learn-lua-YJ29Jf0R.js","assets/post-install-Cs-_i2Bq.js"] + __vite__mapDeps.viteFileDeps = ["assets/_...404_-BvukfzB5.js","assets/web-CBU83r8B.js","assets/docs-Bunczsqo.js","assets/nextprevPage-CboNgrT-.js","assets/components-CVXb4Mrf.js","assets/routing-CayKO4ES.js","assets/ContextTitles-W21vwvc5.js","assets/ContextTitles-CHlfX0wD.css","assets/clipboard-DzJ4oxno.js","assets/index-D85Mi3Ah.js","assets/footer-z1zDxD-Q.js","assets/install-DI_Cow-H.js","assets/news-kvjRXRN2.js","assets/themes-Isdrre9L.js","assets/preload-helper-xxf5fCYN.js","assets/api-DAJi2rPr.js","assets/index-C2YDUEaq.js","assets/contribute-Dn6fnOPu.js","assets/credits-jG-LWy6Z.js","assets/faq-BcqiWEIL.js","assets/features-yelxeIdn.js","assets/index-DxBOF8_p.js","assets/recipes-Tk-_nRi6.js","assets/index-JmojOhgM.js","assets/v2.5_release-BiM-hPRn.js","assets/v2.0_release-BOaz1l1S.js","assets/v2.5_release-Bek2redM.js","assets/lsp-BODZIxSQ.js","assets/mappings-DDpo26rg.js","assets/nvchad_ui-BkpXOZJ7.js","assets/plugins-CCdmTKwN.js","assets/snippets-DoY67S5r.js","assets/syntax-D5NIet03.js","assets/theming-DKjrpR34.js","assets/walkthrough-BDp17Rtp.js","assets/install-BdI-r3X_.js","assets/learn-lua-YJ29Jf0R.js","assets/post-install-Cs-_i2Bq.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_}from"./preload-helper-xxf5fCYN.js";import{c as Tl,a as X,b as t,g as Dl,u as Al,S as kt,o as $l,d as Ll,e as ve,f as pn,h as Et,i as Hn,j as Pt,k as S,l as z,m as A,n as te,p as ue,t as E,q as M,s as ge,r as ee,v as Ue,w as Rl,x as Ml,y as ql,z as Vl,A as Fl,B as Ul,E as zl,C as Hl}from"./web-CBU83r8B.js";import{S as Bl,N as Wl,m as ut,s as Kl}from"./nextprevPage-CboNgrT-.js";import{g as ze,a as ki,b as Ei,c as Pi,C as xi}from"./ContextTitles-W21vwvc5.js";import{c as Ii}from"./clipboard-DzJ4oxno.js";import{M as I}from"./index-C2YDUEaq.js";import{c as Xl,a as Jl,R as Yl,g as Gl,b as Zl,d as Ql,e as ea,m as na,k as ta,s as ra,f as ia,n as la,u as aa,h as oa}from"./routing-CayKO4ES.js";import{O as sa}from"./install-DI_Cow-H.js";import{H as ca,F as ua,a as ha}from"./footer-z1zDxD-Q.js";import{_ as Ci,a as Ti}from"./v2.5_release-BiM-hPRn.js";import"./components-CVXb4Mrf.js";const Zn="Invariant Violation",{setPrototypeOf:da=function(n,e){return n.__proto__=e,n}}=Object;class xt extends Error{framesToPop=1;name=Zn;constructor(e=Zn){super(typeof e=="number"?`${Zn}: ${e} (see https://github.com/apollographql/invariant-packages)`:e),da(this,xt.prototype)}}function Qn(n,e){if(!n)throw new xt(e)}const ma=/^[A-Za-z]:\//;function pa(n=""){return n&&n.replace(/\\/g,"/").replace(ma,e=>e.toUpperCase())}const fa=/^[/\\]{2}/,ga=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,va=/^[A-Za-z]:$/,_a=function(n){if(n.length===0)return".";n=pa(n);const e=n.match(fa),r=ht(n),i=n[n.length-1]==="/";return n=ba(n,!r),n.length===0?r?"/":i?"./":".":(i&&(n+="/"),va.test(n)&&(n+="/"),e?r?`//${n}`:`//./${n}`:r&&!ht(n)?`/${n}`:n)},Di=function(...n){if(n.length===0)return".";let e;for(const r of n)r&&r.length>0&&(e===void 0?e=r:e+=`/${r}`);return e===void 0?".":_a(e.replace(/\/\/+/g,"/"))};function ba(n,e){let r="",i=0,l=-1,a=0,o=null;for(let s=0;s<=n.length;++s){if(s2){const c=r.lastIndexOf("/");c===-1?(r="",i=0):(r=r.slice(0,c),i=r.length-1-r.lastIndexOf("/")),l=s,a=0;continue}else if(r.length>0){r="",i=0,l=s,a=0;continue}}e&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${n.slice(l+1,s)}`:r=n.slice(l+1,s),i=s-l-1;l=s,a=0}else o==="."&&a!==-1?++a:a=-1}return r}const ht=function(n){return ga.test(n)};function ya(n){return`virtual:${n}`}function ja(n){return n.handler?.endsWith(".html")?ht(n.handler)?n.handler:Di(n.root,n.handler):`#vinxi/handler/${n.name}`}const wa=new Proxy({},{get(n,e){return Qn(typeof e=="string","Bundler name should be a string"),{name:e,type:"client",handler:ya(ja({name:e})),baseURL:"/_build",chunks:new Proxy({},{get(r,i){Qn(typeof i=="string","Chunk expected");let l=Di("/_build",i+".mjs");return{import(){return _(()=>import(l),__vite__mapDeps([]))},output:{path:l}}}}),inputs:new Proxy({},{get(r,i){Qn(typeof i=="string","Input must be string");let l=window.manifest[i].output;return{async import(){return _(()=>import(l),__vite__mapDeps([]))},async assets(){return window.manifest[i].assets},output:{path:l}}}})}}});globalThis.MANIFEST=wa;const Na=n=>e=>{const{base:r}=e,i=Tl(()=>e.children),l=X(()=>Xl(i(),e.base||""));let a;const o=Jl(n,()=>a,l,{base:r,singleFlight:e.singleFlight}),s=o.location;return n.create&&n.create(o),t(Yl.Provider,{value:o,get children(){return t(Oa,{location:s,get root(){return e.root},get load(){return e.rootLoad},get children(){return[X(()=>(a=Dl())&&null),t(Sa,{routerState:o,get branches(){return l()}})]}})}})};function Oa(n){const e=n.location,r=X(()=>n.load&&Al(()=>n.load({params:{},location:e,intent:"preload"})));return t(kt,{get when(){return n.root},keyed:!0,get fallback(){return n.children},children:i=>t(i,{params:{},location:e,get data(){return r()},get children(){return n.children}})})}function Sa(n){const e=X(()=>Gl(n.branches,n.routerState.location.pathname)),r=Zl(()=>{const o=e(),s={};for(let c=0;c{let h=s&&o.length===s.length;const u=[];for(let m=0,p=o.length;m{i[m]=v,u[m]=ea(n.routerState,u[m-1]||n.routerState.base,Ht(()=>a()[m+1]),()=>e()[m],r)}))}return i.splice(o.length).forEach(m=>m()),c&&h?c:(l=u[0],u)}));return Ht(()=>a()&&l)()}const Ht=n=>()=>t(kt,{get when(){return n()},keyed:!0,children:e=>t(Ql.Provider,{value:e,get children(){return e.outlet()}})});function ka([n,e],r,i){return[r?()=>r(n()):n,i?l=>e(i(l)):e]}function Ea(n){if(n==="#")return null;try{return document.querySelector(n)}catch{return null}}function Pa(n){let e=!1;const r=l=>typeof l=="string"?{value:l}:l,i=ka(ve(r(n.get()),{equals:(l,a)=>l.value===a.value}),void 0,l=>(!e&&n.set(l),l));return n.init&&pn(n.init((l=n.get())=>{e=!0,i[1](r(l)),e=!1})),Na({signal:i,create:n.create,utils:n.utils})}function xa(n,e,r){return n.addEventListener(e,r),()=>n.removeEventListener(e,r)}function Ia(n,e){const r=Ea(`#${n}`);r?r.scrollIntoView():e&&window.scrollTo(0,0)}const Ca=new Map;function Ta(n=!0,e=!1,r="/_server"){return i=>{const l=i.base.path(),a=i.navigatorFactory(i.base);let o={};function s(g){return g.namespaceURI==="http://www.w3.org/2000/svg"}function c(g){if(g.defaultPrevented||g.button!==0||g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)return;const v=g.composedPath().find(j=>j instanceof Node&&j.nodeName.toUpperCase()==="A");if(!v||e&&!v.hasAttribute("link"))return;const b=s(v),y=b?v.href.baseVal:v.href;if((b?v.target.baseVal:v.target)||!y&&!v.hasAttribute("state"))return;const w=(v.getAttribute("rel")||"").split(/\s+/);if(v.hasAttribute("download")||w&&w.includes("external"))return;const N=b?new URL(y,document.baseURI):new URL(y);if(!(N.origin!==window.location.origin||l&&N.pathname&&!N.pathname.toLowerCase().startsWith(l.toLowerCase())))return[v,N]}function h(g){const v=c(g);if(!v)return;const[b,y]=v,O=i.parsePath(y.pathname+y.search+y.hash),w=b.getAttribute("state");g.preventDefault(),a(O,{resolve:!1,replace:b.hasAttribute("replace"),scroll:!b.hasAttribute("noscroll"),state:w&&JSON.parse(w)})}function u(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||i.preloadRoute(y,b.getAttribute("preload")!=="false")}function m(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||(o[y.pathname]=setTimeout(()=>{i.preloadRoute(y,b.getAttribute("preload")!=="false"),delete o[y.pathname]},200))}function p(g){const v=c(g);if(!v)return;const[,b]=v;o[b.pathname]&&(clearTimeout(o[b.pathname]),delete o[b.pathname])}function f(g){let v=g.submitter&&g.submitter.hasAttribute("formaction")?g.submitter.getAttribute("formaction"):g.target.getAttribute("action");if(!v)return;if(!v.startsWith("https://action/")){const y=new URL(v,na);if(v=i.parsePath(y.pathname+y.search),!v.startsWith(r))return}if(g.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const b=Ca.get(v);if(b){g.preventDefault();const y=new FormData(g.target);g.submitter&&g.submitter.name&&y.append(g.submitter.name,g.submitter.value),b.call({r:i,f:g.target},y)}}Et(["click","submit"]),document.addEventListener("click",h),n&&(document.addEventListener("mouseover",m),document.addEventListener("mouseout",p),document.addEventListener("focusin",u),document.addEventListener("touchstart",u)),document.addEventListener("submit",f),pn(()=>{document.removeEventListener("click",h),n&&(document.removeEventListener("mouseover",m),document.removeEventListener("mouseout",p),document.removeEventListener("focusin",u),document.removeEventListener("touchstart",u)),document.removeEventListener("submit",f)})}}function Da(n){const e=()=>({value:window.location.pathname+window.location.search+window.location.hash,state:window.history.state}),r=ia();return Pa({get:e,set({value:i,replace:l,scroll:a,state:o}){l?window.history.replaceState(ta(o),"",i):window.history.pushState(o,"",i),Ia(window.location.hash.slice(1),a),ra()},init:i=>xa(window,"popstate",la(i,l=>{if(l&&l<0)return!r.confirm(l);{const a=e();return!r.confirm(a.value,{state:a.state})}})),create:Ta(n.preload,n.explicitLinks,n.actionBase),utils:{go:i=>window.history.go(i),beforeLeave:r}})(n)}var Aa=E('
');function $a(n){return Hn(()=>{window.addEventListener("scroll",()=>ze("DocContent")),pn(()=>window.removeEventListener("scroll",()=>ze("DocContent")))}),Pt(()=>{n.location.pathname,Ii("DocContent"),ki(),ze("DocContent"),Ei()}),(()=>{var e=S(Aa),r=e.firstChild,[i,l]=z(r.nextSibling),a=i.nextSibling,o=a.firstChild,s=o.firstChild,c=s.firstChild,h=c.nextSibling,[u,m]=z(h.nextSibling),p=s.nextSibling,[f,g]=z(p.nextSibling);return A(e,t(Bl,{}),i,l),A(c,()=>n.children),A(s,t(Wl,{}),u,m),A(o,(()=>{var v=X(()=>Pi.length>1);return()=>v()&&t(xi,{})})(),f,g),te(()=>ue(a,`xl:blur-none ${ut()?"blur-sm":""}`)),e})()}const La=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));var Ra=E("Alt+1");const Ma={title:"NvChad Api",desc:"NvChad api functions doc"};function Bt(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...I(),...n.components};return[t(e.h1,{children:"NvChad API"}),` +import{_}from"./preload-helper-xxf5fCYN.js";import{c as Tl,a as X,b as t,g as Dl,u as Al,S as St,o as $l,d as Ll,e as ve,f as pn,h as Et,i as Hn,j as Pt,k,l as z,m as A,n as te,p as ue,t as E,q as M,s as ge,r as ee,v as Ue,w as Rl,x as Ml,y as ql,z as Vl,A as Fl,B as Ul,E as zl,C as Hl}from"./web-CBU83r8B.js";import{S as Bl,N as Wl,m as ut,s as Kl}from"./nextprevPage-CboNgrT-.js";import{g as ze,a as Si,b as Ei,c as Pi,C as xi}from"./ContextTitles-W21vwvc5.js";import{c as Ii}from"./clipboard-DzJ4oxno.js";import{M as I}from"./index-C2YDUEaq.js";import{c as Xl,a as Jl,R as Yl,g as Gl,b as Zl,d as Ql,e as ea,m as na,k as ta,s as ra,f as ia,n as la,u as aa,h as oa}from"./routing-CayKO4ES.js";import{O as sa}from"./install-DI_Cow-H.js";import{H as ca,F as ua,a as ha}from"./footer-z1zDxD-Q.js";import{_ as Ci,a as Ti}from"./v2.5_release-BiM-hPRn.js";import"./components-CVXb4Mrf.js";const Zn="Invariant Violation",{setPrototypeOf:da=function(n,e){return n.__proto__=e,n}}=Object;class xt extends Error{framesToPop=1;name=Zn;constructor(e=Zn){super(typeof e=="number"?`${Zn}: ${e} (see https://github.com/apollographql/invariant-packages)`:e),da(this,xt.prototype)}}function Qn(n,e){if(!n)throw new xt(e)}const ma=/^[A-Za-z]:\//;function pa(n=""){return n&&n.replace(/\\/g,"/").replace(ma,e=>e.toUpperCase())}const fa=/^[/\\]{2}/,ga=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,va=/^[A-Za-z]:$/,_a=function(n){if(n.length===0)return".";n=pa(n);const e=n.match(fa),r=ht(n),i=n[n.length-1]==="/";return n=ba(n,!r),n.length===0?r?"/":i?"./":".":(i&&(n+="/"),va.test(n)&&(n+="/"),e?r?`//${n}`:`//./${n}`:r&&!ht(n)?`/${n}`:n)},Di=function(...n){if(n.length===0)return".";let e;for(const r of n)r&&r.length>0&&(e===void 0?e=r:e+=`/${r}`);return e===void 0?".":_a(e.replace(/\/\/+/g,"/"))};function ba(n,e){let r="",i=0,l=-1,a=0,o=null;for(let s=0;s<=n.length;++s){if(s2){const c=r.lastIndexOf("/");c===-1?(r="",i=0):(r=r.slice(0,c),i=r.length-1-r.lastIndexOf("/")),l=s,a=0;continue}else if(r.length>0){r="",i=0,l=s,a=0;continue}}e&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${n.slice(l+1,s)}`:r=n.slice(l+1,s),i=s-l-1;l=s,a=0}else o==="."&&a!==-1?++a:a=-1}return r}const ht=function(n){return ga.test(n)};function ya(n){return`virtual:${n}`}function ja(n){return n.handler?.endsWith(".html")?ht(n.handler)?n.handler:Di(n.root,n.handler):`#vinxi/handler/${n.name}`}const wa=new Proxy({},{get(n,e){return Qn(typeof e=="string","Bundler name should be a string"),{name:e,type:"client",handler:ya(ja({name:e})),baseURL:"/_build",chunks:new Proxy({},{get(r,i){Qn(typeof i=="string","Chunk expected");let l=Di("/_build",i+".mjs");return{import(){return _(()=>import(l),__vite__mapDeps([]))},output:{path:l}}}}),inputs:new Proxy({},{get(r,i){Qn(typeof i=="string","Input must be string");let l=window.manifest[i].output;return{async import(){return _(()=>import(l),__vite__mapDeps([]))},async assets(){return window.manifest[i].assets},output:{path:l}}}})}}});globalThis.MANIFEST=wa;const Na=n=>e=>{const{base:r}=e,i=Tl(()=>e.children),l=X(()=>Xl(i(),e.base||""));let a;const o=Jl(n,()=>a,l,{base:r,singleFlight:e.singleFlight}),s=o.location;return n.create&&n.create(o),t(Yl.Provider,{value:o,get children(){return t(Oa,{location:s,get root(){return e.root},get load(){return e.rootLoad},get children(){return[X(()=>(a=Dl())&&null),t(ka,{routerState:o,get branches(){return l()}})]}})}})};function Oa(n){const e=n.location,r=X(()=>n.load&&Al(()=>n.load({params:{},location:e,intent:"preload"})));return t(St,{get when(){return n.root},keyed:!0,get fallback(){return n.children},children:i=>t(i,{params:{},location:e,get data(){return r()},get children(){return n.children}})})}function ka(n){const e=X(()=>Gl(n.branches,n.routerState.location.pathname)),r=Zl(()=>{const o=e(),s={};for(let c=0;c{let h=s&&o.length===s.length;const u=[];for(let m=0,p=o.length;m{i[m]=v,u[m]=ea(n.routerState,u[m-1]||n.routerState.base,Ht(()=>a()[m+1]),()=>e()[m],r)}))}return i.splice(o.length).forEach(m=>m()),c&&h?c:(l=u[0],u)}));return Ht(()=>a()&&l)()}const Ht=n=>()=>t(St,{get when(){return n()},keyed:!0,children:e=>t(Ql.Provider,{value:e,get children(){return e.outlet()}})});function Sa([n,e],r,i){return[r?()=>r(n()):n,i?l=>e(i(l)):e]}function Ea(n){if(n==="#")return null;try{return document.querySelector(n)}catch{return null}}function Pa(n){let e=!1;const r=l=>typeof l=="string"?{value:l}:l,i=Sa(ve(r(n.get()),{equals:(l,a)=>l.value===a.value}),void 0,l=>(!e&&n.set(l),l));return n.init&&pn(n.init((l=n.get())=>{e=!0,i[1](r(l)),e=!1})),Na({signal:i,create:n.create,utils:n.utils})}function xa(n,e,r){return n.addEventListener(e,r),()=>n.removeEventListener(e,r)}function Ia(n,e){const r=Ea(`#${n}`);r?r.scrollIntoView():e&&window.scrollTo(0,0)}const Ca=new Map;function Ta(n=!0,e=!1,r="/_server"){return i=>{const l=i.base.path(),a=i.navigatorFactory(i.base);let o={};function s(g){return g.namespaceURI==="http://www.w3.org/2000/svg"}function c(g){if(g.defaultPrevented||g.button!==0||g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)return;const v=g.composedPath().find(j=>j instanceof Node&&j.nodeName.toUpperCase()==="A");if(!v||e&&!v.hasAttribute("link"))return;const b=s(v),y=b?v.href.baseVal:v.href;if((b?v.target.baseVal:v.target)||!y&&!v.hasAttribute("state"))return;const w=(v.getAttribute("rel")||"").split(/\s+/);if(v.hasAttribute("download")||w&&w.includes("external"))return;const N=b?new URL(y,document.baseURI):new URL(y);if(!(N.origin!==window.location.origin||l&&N.pathname&&!N.pathname.toLowerCase().startsWith(l.toLowerCase())))return[v,N]}function h(g){const v=c(g);if(!v)return;const[b,y]=v,O=i.parsePath(y.pathname+y.search+y.hash),w=b.getAttribute("state");g.preventDefault(),a(O,{resolve:!1,replace:b.hasAttribute("replace"),scroll:!b.hasAttribute("noscroll"),state:w&&JSON.parse(w)})}function u(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||i.preloadRoute(y,b.getAttribute("preload")!=="false")}function m(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||(o[y.pathname]=setTimeout(()=>{i.preloadRoute(y,b.getAttribute("preload")!=="false"),delete o[y.pathname]},200))}function p(g){const v=c(g);if(!v)return;const[,b]=v;o[b.pathname]&&(clearTimeout(o[b.pathname]),delete o[b.pathname])}function f(g){let v=g.submitter&&g.submitter.hasAttribute("formaction")?g.submitter.getAttribute("formaction"):g.target.getAttribute("action");if(!v)return;if(!v.startsWith("https://action/")){const y=new URL(v,na);if(v=i.parsePath(y.pathname+y.search),!v.startsWith(r))return}if(g.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const b=Ca.get(v);if(b){g.preventDefault();const y=new FormData(g.target);g.submitter&&g.submitter.name&&y.append(g.submitter.name,g.submitter.value),b.call({r:i,f:g.target},y)}}Et(["click","submit"]),document.addEventListener("click",h),n&&(document.addEventListener("mouseover",m),document.addEventListener("mouseout",p),document.addEventListener("focusin",u),document.addEventListener("touchstart",u)),document.addEventListener("submit",f),pn(()=>{document.removeEventListener("click",h),n&&(document.removeEventListener("mouseover",m),document.removeEventListener("mouseout",p),document.removeEventListener("focusin",u),document.removeEventListener("touchstart",u)),document.removeEventListener("submit",f)})}}function Da(n){const e=()=>({value:window.location.pathname+window.location.search+window.location.hash,state:window.history.state}),r=ia();return Pa({get:e,set({value:i,replace:l,scroll:a,state:o}){l?window.history.replaceState(ta(o),"",i):window.history.pushState(o,"",i),Ia(window.location.hash.slice(1),a),ra()},init:i=>xa(window,"popstate",la(i,l=>{if(l&&l<0)return!r.confirm(l);{const a=e();return!r.confirm(a.value,{state:a.state})}})),create:Ta(n.preload,n.explicitLinks,n.actionBase),utils:{go:i=>window.history.go(i),beforeLeave:r}})(n)}var Aa=E('
');function $a(n){return Hn(()=>{window.addEventListener("scroll",()=>ze("DocContent")),pn(()=>window.removeEventListener("scroll",()=>ze("DocContent")))}),Pt(()=>{n.location.pathname,Ii("DocContent"),Si(),ze("DocContent"),Ei()}),(()=>{var e=k(Aa),r=e.firstChild,[i,l]=z(r.nextSibling),a=i.nextSibling,o=a.firstChild,s=o.firstChild,c=s.firstChild,h=c.nextSibling,[u,m]=z(h.nextSibling),p=s.nextSibling,[f,g]=z(p.nextSibling);return A(e,t(Bl,{}),i,l),A(c,()=>n.children),A(s,t(Wl,{}),u,m),A(o,(()=>{var v=X(()=>Pi.length>1);return()=>v()&&t(xi,{})})(),f,g),te(()=>ue(a,`xl:blur-none ${ut()?"blur-sm":""}`)),e})()}const La=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));var Ra=E("Alt+1");const Ma={title:"NvChad Api",desc:"NvChad api functions doc"};function Bt(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...I(),...n.components};return[t(e.h1,{children:"NvChad API"}),` `,t(e.p,{children:"These are list of some functions & tips/tricks which are provided by nvchad plugins that aren't included in the config. You can make commands & mappings out of them."}),` `,t(e.h2,{children:"GotoTab"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["This utilizes the ",t(e.code,{children:"vim.t.bufs"})," tab table variable where we store buffer numbers of current tab."]}}),` -`,t(e.li,{get children(){return["Then it loops from 1-9 to create mappings of switching tab by number i.e ",S(Ra)," will switch first tab."]}}),` +`,t(e.li,{get children(){return["Then it loops from 1-9 to create mappings of switching tab by number i.e ",k(Ra)," will switch first tab."]}}),` `]}}),` `,t(e.pre,{get children(){return t(e.code,{className:"hljs language-lua",get children(){return[t(e.span,{className:"hljs-keyword",children:"for"})," i = ",t(e.span,{className:"hljs-number",children:"1"}),", ",t(e.span,{className:"hljs-number",children:"9"}),", ",t(e.span,{className:"hljs-number",children:"1"})," ",t(e.span,{className:"hljs-keyword",children:"do"}),` vim.keymap.set(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{className:"hljs-built_in",children:"string"}),".",t(e.span,{className:"hljs-built_in",children:"format"}),"(",t(e.span,{className:"hljs-string",children:'""'}),", i), ",t(e.span,{className:"hljs-function",get children(){return[t(e.span,{className:"hljs-keyword",children:"function"}),t(e.span,{className:"hljs-params",children:"()"})]}}),` @@ -72,7 +72,7 @@ import{_}from"./preload-helper-xxf5fCYN.js";import{c as Tl,a as X,b as t,g as Dl `,t(e.span,{className:"hljs-keyword",children:"end"}),`, }, `]}})}}),` -`,S(Wt),` +`,k(Wt),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return t(e.strong,{children:"configs/lspconfig.lua"})}}),` `]}}),` @@ -120,16 +120,16 @@ import{_}from"./preload-helper-xxf5fCYN.js";import{c as Tl,a as X,b as t,g as Dl }, } `]}})}}),` -`,S(Wt),` +`,k(Wt),` `,t(e.blockquote,{get children(){return[` -`,t(e.p,{get children(){return["Once the binaries are installed, you will have to configure them to properly work with LSP, conform.nvim, nvim-lint, nvim-dap etc. It depends on what you installed. ",(()=>{var r=S(Fa);return A(r,t(e.strong,{children:"NvChad does not provide any language configuration aside from lua"})),r})(),"."]}}),` +`,t(e.p,{get children(){return["Once the binaries are installed, you will have to configure them to properly work with LSP, conform.nvim, nvim-lint, nvim-dap etc. It depends on what you installed. ",(()=>{var r=k(Fa);return A(r,t(e.strong,{children:"NvChad does not provide any language configuration aside from lua"})),r})(),"."]}}),` `]}})]}function za(n={}){const{wrapper:e}={...I(),...n.components};return e?t(e,M(n,{get children(){return t(Kt,n)}})):Kt(n)}const Ha=Object.freeze(Object.defineProperty({__proto__:null,default:za,meta:Ua},Symbol.toStringTag,{value:"Module"}));var Ba=E("Ctrl"),Wa=E("Space"),Ka=E("alt"),Xa=E("shift");const Ja={title:"NvChad Mappings",desc:"Manage mappings in nvchad"};function Xt(n){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...I(),...n.components};return[t(e.h2,{children:"Overview"}),` `,t(e.p,{children:"The mapping configuration uses the nvim name shortcuts as:"}),` `,t(e.ul,{get children(){return[` -`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",S(Ba)]}}),` -`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",S(Wa)]}}),` -`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",S(Ka)]}}),` -`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",S(Xa)]}}),` +`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",k(Ba)]}}),` +`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",k(Wa)]}}),` +`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",k(Ka)]}}),` +`,t(e.li,{get children(){return[t(e.code,{children:""})," -> ",k(Xa)]}}),` `,t(e.li,{get children(){return["The default mappings are defined ",t(e.a,{href:"https://github.com/NvChad/NvChad/blob/v2.5/lua/nvchad/mappings.lua",children:"here"}),"."]}}),` `]}}),` `,t(e.h2,{children:"Mapping format"}),` @@ -200,12 +200,13 @@ wrap it with your highlight group, or the existing ones from the theme.`}),` modules = { `,t(e.span,{className:"hljs-comment",children:"-- The default cursor module is override"}),` cursor = `,t(e.span,{className:"hljs-function",get children(){return[t(e.span,{className:"hljs-keyword",children:"function"}),t(e.span,{className:"hljs-params",children:"()"})]}}),` - `,t(e.span,{className:"hljs-keyword",children:"return"})," ",t(e.span,{className:"hljs-string",children:'"%#BruhHl#"'})," .. ",t(e.span,{className:"hljs-string",children:'" bruh "'})," ",t(e.span,{className:"hljs-comment",children:"-- the highlight group here is BruhHl end,"}),` + `,t(e.span,{className:"hljs-keyword",children:"return"})," ",t(e.span,{className:"hljs-string",children:'"%#BruhHl#"'})," .. ",t(e.span,{className:"hljs-string",children:'" bruh "'})," ",t(e.span,{className:"hljs-comment",children:"-- the highlight group here is BruhHl,"}),` + `,t(e.span,{className:"hljs-keyword",children:"end"}),` } } } `]}})}}),` -`,S(bn),` +`,k(bn),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["For more customization, you should ",t(e.strong,{children:"read carefully"})," the default default sets of options in the ",t(e.a,{href:"https://github.com/NvChad/NvChad/blob/6833c60694a626615911e379d201dd723511546d/lua/nvconfig.lua#L21",children:"nvconfig.lua"}),", then check the source code of their module order tables at ",t(e.a,{href:"https://github.com/NvChad/ui/blob/v2.5/lua/nvchad/stl/utils.lua",children:"ui repo"}),"."]}}),` `]}}),` @@ -226,7 +227,7 @@ wrap it with your highlight group, or the existing ones from the theme.`}),` clear_cmd = `,t(e.span,{className:"hljs-literal",children:"true"})," ",t(e.span,{className:"hljs-comment",children:"-- needed for runner func*"}),` } `]}})}}),` -`,S(bn),` +`,k(bn),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"*ones are optional"}),` `,t(e.li,{get children(){return[t(e.strong,{children:"pos"})," is required."]}}),` @@ -253,7 +254,7 @@ wrap it with your highlight group, or the existing ones from the theme.`}),` `,t(e.span,{className:"hljs-built_in",children:"require"}),"(",t(e.span,{className:"hljs-string",children:'"nvchad.term"'}),").toggle { pos = ",t(e.span,{className:"hljs-string",children:'"sp"'}),", id = ",t(e.span,{className:"hljs-string",children:'"xyz2"'}),` } `,t(e.span,{className:"hljs-built_in",children:"require"}),"(",t(e.span,{className:"hljs-string",children:'"nvchad.term"'}),").toggle { pos = ",t(e.span,{className:"hljs-string",children:'"vsp"'}),", id = ",t(e.span,{className:"hljs-string",children:'"floo"'}),` } `]}})}}),` -`,S(bn),` +`,k(bn),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"Mapping example"}),` `,t(e.li,{get children(){return[`We are mapping in "t" terminal mode too or else we'd have to go to normal mode and press `,t(e.code,{children:""})," to toggle terminal."]}}),` @@ -277,7 +278,7 @@ map({ `,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN clear_cmd = `,t(e.span,{className:"hljs-literal",children:"false"}),` } `]}})}}),` -`,S(bn),` +`,k(bn),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"As Cmd can be a function too, here's a complex example :"}),` `]}}),` @@ -389,7 +390,7 @@ vim.g.snipmate_snippets_path = `,t(e.span,{className:"hljs-string",children:'"yo `,t(e.span,{className:"hljs-comment",children:"-- lua format "}),` vim.g.lua_snippets_path = vim.fn.stdpath `,t(e.span,{className:"hljs-string",children:'"config"'})," .. ",t(e.span,{className:"hljs-string",children:'"/lua/lua_snippets"'}),` `]}})}}),` -`,S(io),` +`,k(io),` `,t(e.blockquote,{get children(){return[` `,t(e.p,{children:'stdpath("config") returns the path of our nvimc config folder'}),` `]}})]}function ao(n={}){const{wrapper:e}={...I(),...n.components};return e?t(e,M(n,{get children(){return t(Gt,n)}})):Gt(n)}const oo=Object.freeze(Object.defineProperty({__proto__:null,default:ao,meta:lo},Symbol.toStringTag,{value:"Module"}));var so=E("
");const co={title:"NvChad Syntax highlighting",desc:"Manage nvim-treesitter in nvchad"};function Zt(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...I(),...n.components};return[t(e.h1,{children:"Nvim-treesitter"}),` @@ -401,7 +402,7 @@ vim.g.lua_snippets_path = vim.fn.stdpath `,t(e.span,{className:"hljs-string",chi `]}}),` `,t(e.pre,{get children(){return t(e.code,{className:"hljs language-lua",children:`TSInstall lua html `})}}),` -`,S(so),` +`,k(so),` `,t(e.p,{children:"But this may be tedious when you have so many parsers to install and you'd have to repeat this step if you're re-installing nvchad with your old custom settings."}),` `,t(e.h2,{children:"Plugin Table"}),` `,t(e.ul,{get children(){return[` @@ -457,7 +458,7 @@ vim.g.lua_snippets_path = vim.fn.stdpath `,t(e.span,{className:"hljs-string",chi }, } `]}})}}),` -`,S(yn),` +`,k(yn),` `,t(e.p,{get children(){return["In order to add custom highlights, it's the same as above, just use ",t(e.strong,{get children(){return t(e.code,{children:"hl_add"})}}),"."]}}),` `,t(e.h2,{children:"Customize themes"}),` `,t(e.p,{children:"If you just want to customize an already existing theme, you can change the following configuration:"}),` @@ -481,7 +482,7 @@ vim.g.lua_snippets_path = vim.fn.stdpath `,t(e.span,{className:"hljs-string",chi `]}})}}),` `,t(e.h3,{children:"Local themes"}),` `,t(e.blockquote,{get children(){return[` -`,S(mo),` +`,k(mo),` `]}}),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["Default themes can be found in our ",t(e.a,{href:"https://github.com/NvChad/base46",get children(){return t(e.code,{children:"base46"})}})," repository."]}}),` @@ -504,7 +505,7 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN `,t(e.span,{className:"hljs-keyword",children:"return"}),` M `]}})}}),` -`,S(yn),` +`,k(yn),` `,t(e.p,{children:"Finally, add your theme in chadrc."}),` `,t(e.pre,{get children(){return t(e.code,{className:"hljs language-lua",get children(){return[`M.ui = { theme = `,t(e.span,{className:"hljs-string",children:'"siduck"'}),`, @@ -520,14 +521,14 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN } } `]}})}}),` -`,S(yn),` +`,k(yn),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"Base46 uses the above table to compile highlight groups."}),` `,t(e.li,{children:"To load them, use the dofile function + full path of that highlight group cache file."}),` `]}}),` `,t(e.pre,{get children(){return t(e.code,{className:"hljs language-lua",get children(){return[t(e.span,{className:"hljs-built_in",children:"dofile"}),"(vim.g.base46_cache .. ",t(e.span,{className:"hljs-string",children:'"cmp"'}),`) `]}})}}),` -`,S(yn),` +`,k(yn),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"You can put the dofile code in your init.lua to make the highlight groups load by default, but in most cases you can just lazyload them like :"}),` `]}}),` @@ -590,7 +591,7 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN │ └── more.. └── nvconfig.lua `})}}),` -`,S(vo),` +`,k(vo),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["example module import, ",t(e.code,{children:'require "nvchad.options"'})]}}),` `,t(e.li,{children:"nvconfig.lua is the list of all options for both ui/base46 repo!"}),` @@ -604,7 +605,7 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN `,t(e.h2,{children:"Themes"}),` `,t(e.p,{get children(){return["You can see all the themes with the following keymap: ",t(e.code,{children:" + th"}),"."]}}),` `,t(e.blockquote,{get children(){return[` -`,t(e.p,{get children(){return["The ",t(e.code,{children:"leader"})," key is the ",S(_o)," in NvChad."]}}),` +`,t(e.p,{get children(){return["The ",t(e.code,{children:"leader"})," key is the ",k(_o)," in NvChad."]}}),` `]}}),` `,t(e.h2,{children:"Mappings"}),` `,t(e.p,{children:"If you want to know all the keymaps, you can run the following commands:"}),` @@ -663,7 +664,7 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN `,t(e.li,{get children(){return t(e.a,{href:"https://github.com/lucario387",children:"lucario"})}}),` `,t(e.li,{get children(){return t(e.a,{href:"https://github.com/tamton-aquib",children:"tamton-aquib"})}}),` `,t(e.li,{get children(){return t(e.a,{href:"https://github.com/vhyrro",children:"vhyrro"})}}),` -`]}})]}function So(n={}){const{wrapper:e}={...I(),...n.components};return e?t(e,M(n,{get children(){return t(tr,n)}})):tr(n)}const ko=Object.freeze(Object.defineProperty({__proto__:null,default:So},Symbol.toStringTag,{value:"Module"})),Eo={title:"NvChad Faq ",desc:"NvChad Common Faqs"};function rr(n){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...I(),...n.components};return[t(e.h2,{children:"Icons not working"}),` +`]}})]}function ko(n={}){const{wrapper:e}={...I(),...n.components};return e?t(e,M(n,{get children(){return t(tr,n)}})):tr(n)}const So=Object.freeze(Object.defineProperty({__proto__:null,default:ko},Symbol.toStringTag,{value:"Module"})),Eo={title:"NvChad Faq ",desc:"NvChad Common Faqs"};function rr(n){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...I(),...n.components};return[t(e.h2,{children:"Icons not working"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["Setup a ",t(e.a,{href:"https://www.nerdfonts.com/#home",children:"nerdfont"})," as your terminal's default font."]}}),` `]}}),` @@ -731,12 +732,12 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.li,{get children(){return t(e.strong,{children:'example : dofile(vim.g.base46_cache .. "cmp")'})}}),` `,t(e.li,{children:"In the below video, you can see that the chadrc file's ( user config ) UI related options reload on the fly"}),` `]}}),` -`,S(Io),` +`,k(Io),` `,t(e.h2,{children:"Theme switcher"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"A theme switcher with telescope.nvim that reloads themes on the fly using the base46 plugin + plenary.nvim."}),` `]}}),` -`,S(Co),` +`,k(Co),` `,t(e.h2,{children:"Statusline"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"We have our own statusline module ( our UI Plugin ) which has 4 statusline styles"}),` @@ -749,7 +750,7 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.li,{children:"Each tab will have its own set of buffers stored, and the tabufline will show those only."}),` `,t(e.li,{children:"Think of it like workspaces on Linux/Windows where windows stay in their own workspaces, but in vim buffers from all tabs will be shown in every tab!"}),` `]}}),` -`,S(To),` +`,k(To),` `,t(e.h2,{children:"Term"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"NvChad's terminal module to toggle and run commands in Neovim terminal buffer"}),` @@ -759,10 +760,10 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.li,{children:"Creating terminal window for code runner"}),` `,t(e.li,{children:"All of the above functions allow floating, horizontal, vertical windows"}),` `,t(e.li,{children:"Each window can have its own cmd/size/cmd/ highlight group"}),` -`,t(e.li,{get children(){return["Using it with our telescope picker ( :Telescope terms ) to unhide terminal buffers ",S(Do),"."]}}),` +`,t(e.li,{get children(){return["Using it with our telescope picker ( :Telescope terms ) to unhide terminal buffers ",k(Do),"."]}}),` `,t(e.li,{children:"Check (ui plugin docs)[nvchad.com/docs/config/nvchad_ui#term]"}),` `]}}),` -`,S(Ao),` +`,k(Ao),` `,t(e.h2,{children:"Dashboard"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"Nvdash is NvChad's minimal dashboard module, It's very simple at this stage and will get more features in the future!"}),` @@ -778,7 +779,7 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["command to toggle it : ",t(e.code,{children:"NvCheatsheet"})," and mapping ",t(e.code,{children:"leader + ch"})]}}),` `]}}),` -`,S($o),` +`,k($o),` `,t(e.h1,{children:"General Neovim plugins"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"These plugins aren't related to nvchad, we just tweak them a bit and theme the UI related ones."}),` @@ -807,8 +808,8 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/neovim/nvim-lspconfig",get children(){return t(e.code,{children:"nvim-lspconfig"})}})," is used along with cmp for completion and ",t(e.a,{href:"https://github.com/L3MON4D3/LuaSnip",get children(){return t(e.code,{children:"luasnip"})}})," + ",t(e.a,{href:"https://github.com/rafamadriz/friendly-snippets",get children(){return t(e.code,{children:"friendly-snippets"})}})," for snippet completion!"]}}),` `]}}),` -`,S(Lo),` -`,S(Ro),` +`,k(Lo),` +`,k(Ro),` `,t(e.h2,{children:"Other plugins"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/folke/lazy.nvim",get children(){return t(e.code,{children:"lazy.nvim"})}})," - A modern plugin manager for Neovim"]}}),` @@ -825,18 +826,18 @@ nomap(`,t(e.span,{className:"hljs-string",children:'"n"'}),", ",t(e.span,{classN `,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/neovim/neovim/releases/tag/v0.10.0",children:"Neovim 0.10"}),"."]}}),` `,t(e.li,{get children(){return[t(e.a,{href:"https://www.nerdfonts.com/",children:"Nerd Font"})," as your terminal font.",` `,t(e.ul,{get children(){return[` -`,t(e.li,{get children(){return["Make sure the nerd font you set doesn't end with ",S(zo)," to prevent small icons."]}}),` -`,t(e.li,{get children(){return[S(Ho)," JetbrainsMono Nerd Font and not ",t(e.strong,{get children(){return S(Bo)}})]}}),` +`,t(e.li,{get children(){return["Make sure the nerd font you set doesn't end with ",k(zo)," to prevent small icons."]}}),` +`,t(e.li,{get children(){return[k(Ho)," JetbrainsMono Nerd Font and not ",t(e.strong,{get children(){return k(Bo)}})]}}),` `]}}),` `]}}),` -`,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/BurntSushi/ripgrep",children:"Ripgrep"})," is required for grep searching with Telescope ",S(Wo),"."]}}),` +`,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/BurntSushi/ripgrep",children:"Ripgrep"})," is required for grep searching with Telescope ",k(Wo),"."]}}),` `,t(e.li,{get children(){return["GCC, Windows users must have ",t(e.a,{href:"http://mingw-w64.org/downloads",get children(){return t(e.code,{children:"mingw"})}})," installed and set on path."]}}),` `,t(e.li,{get children(){return["Make, Windows users must have ",t(e.a,{href:"https://sourceforge.net/projects/gnuwin32",get children(){return t(e.code,{children:"GnuWin32"})}})," installed and set on path."]}}),` `,t(e.li,{children:"Delete old neovim folders (check commands below)"}),` `]}}),` `,t(e.h2,{children:"Install"}),` `,t(sa,{}),` -`,S(Ko),` +`,k(Ko),` `,t(e.ul,{get children(){return[` `,t(e.li,{get children(){return["Run ",t(e.code,{children:":MasonInstallAll"})," command after lazy.nvim finishes downloading plugins."]}}),` `,t(e.li,{get children(){return["Delete the ",t(e.code,{children:".git"})," folder from nvim folder."]}}),` @@ -1175,20 +1176,20 @@ autocmd(`,t(e.span,{className:"hljs-string",children:'"BufReadPost"'}),`, { }, cache_enabled = `,t(e.span,{className:"hljs-number",children:"0"}),`, } -`]}})}})]}function is(n={}){const{wrapper:e}={...I(),...n.components};return e?t(e,M(n,{get children(){return t(sr,n)}})):sr(n)}const ls=Object.freeze(Object.defineProperty({__proto__:null,default:is,meta:rs},Symbol.toStringTag,{value:"Module"})),as={title:"NvChad",desc:"Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your Neovim experience."};function os(){return[t(ca,{}),t(ua,{}),t(ha,{})]}const ss=Object.freeze(Object.defineProperty({__proto__:null,default:os,meta:as},Symbol.toStringTag,{value:"Module"}));var cs=E("
"),us=E('
');const hs=n=>{Hn(()=>{const i=document.getElementById("DocContent")?.querySelectorAll("img");i&&i.forEach((a,o)=>{o!=0&&a.setAttribute("loading","lazy")});const l=()=>ze("DocContent");window.addEventListener("scroll",l),pn(()=>window.removeEventListener("scroll",l))}),Pt(()=>{n.location.pathname,Ii("DocContent"),ki(),ze("DocContent"),Ei()});const e=oa();return(()=>{var r=S(us);return A(r,t(kt,{get when(){return!["/news","/news/"].includes(e.pathname)},get fallback(){return n.children},get children(){return[(()=>{var i=S(cs);return A(i,()=>n.children),i})(),X(()=>X(()=>Pi.length>1)()&&t(xi,{}))]}})),r})()},ds=Object.freeze(Object.defineProperty({__proto__:null,default:hs},Symbol.toStringTag,{value:"Module"}));var ms=E('
'),ps=E('

'),ks=E('
'),Es=E('
');const Ps={title:"NvChad themes",desc:"List of all nvchad themes"},xs=Object.assign({"../../public/themes/aquarium.webp":()=>_(()=>import("./aquarium-DK3x77eG.js"),__vite__mapDeps([])),"../../public/themes/ashes.webp":()=>_(()=>import("./ashes-Bj-FPGiv.js"),__vite__mapDeps([])),"../../public/themes/ayu_dark.webp":()=>_(()=>import("./ayu_dark-BBCeZNwF.js"),__vite__mapDeps([])),"../../public/themes/ayu_light.webp":()=>_(()=>import("./ayu_light-DxykghBM.js"),__vite__mapDeps([])),"../../public/themes/bearded-arc.webp":()=>_(()=>import("./bearded-arc-CMMpME1P.js"),__vite__mapDeps([])),"../../public/themes/blossom_light.webp":()=>_(()=>import("./blossom_light-Le7IkTLN.js"),__vite__mapDeps([])),"../../public/themes/catppuccin.webp":()=>_(()=>import("./catppuccin-xE-yqvLu.js"),__vite__mapDeps([])),"../../public/themes/chadracula-evondev.webp":()=>_(()=>import("./chadracula-evondev-DBjJ8MZk.js"),__vite__mapDeps([])),"../../public/themes/chadracula.webp":()=>_(()=>import("./chadracula-B30d-Ckf.js"),__vite__mapDeps([])),"../../public/themes/chadtain.webp":()=>_(()=>import("./chadtain-m9nOCKfH.js"),__vite__mapDeps([])),"../../public/themes/chocolate.webp":()=>_(()=>import("./chocolate-BcGTJ6rB.js"),__vite__mapDeps([])),"../../public/themes/dark_horizon.webp":()=>_(()=>import("./dark_horizon-DuWxCyBf.js"),__vite__mapDeps([])),"../../public/themes/decay.webp":()=>_(()=>import("./decay-DhIXv20Y.js"),__vite__mapDeps([])),"../../public/themes/doomchad.webp":()=>_(()=>import("./doomchad-B8f10arS.js"),__vite__mapDeps([])),"../../public/themes/everblush.webp":()=>_(()=>import("./everblush-B_StBifN.js"),__vite__mapDeps([])),"../../public/themes/everforest.webp":()=>_(()=>import("./everforest-C9c3qgEn.js"),__vite__mapDeps([])),"../../public/themes/everforest_light.webp":()=>_(()=>import("./everforest_light-CypGsCib.js"),__vite__mapDeps([])),"../../public/themes/falcon.webp":()=>_(()=>import("./falcon-6FH1tmMn.js"),__vite__mapDeps([])),"../../public/themes/flex-light.webp":()=>_(()=>import("./flex-light-BYJjYHrH.js"),__vite__mapDeps([])),"../../public/themes/flexoki-light.webp":()=>_(()=>import("./flexoki-light-HcuP983g.js"),__vite__mapDeps([])),"../../public/themes/flexoki.webp":()=>_(()=>import("./flexoki-BTfjhOD8.js"),__vite__mapDeps([])),"../../public/themes/gatekeeper.webp":()=>_(()=>import("./gatekeeper-DX_U53Wo.js"),__vite__mapDeps([])),"../../public/themes/github_dark.webp":()=>_(()=>import("./github_dark-tWWI88ks.js"),__vite__mapDeps([])),"../../public/themes/github_light.webp":()=>_(()=>import("./github_light-DK2Q5DQF.js"),__vite__mapDeps([])),"../../public/themes/gruvbox.webp":()=>_(()=>import("./gruvbox-cXMXR_fs.js"),__vite__mapDeps([])),"../../public/themes/gruvbox_light.webp":()=>_(()=>import("./gruvbox_light-Dj0JMI70.js"),__vite__mapDeps([])),"../../public/themes/gruvchad.webp":()=>_(()=>import("./gruvchad-PgXDbk9M.js"),__vite__mapDeps([])),"../../public/themes/jabuti.webp":()=>_(()=>import("./jabuti-DHCO64FL.js"),__vite__mapDeps([])),"../../public/themes/jellybeans.webp":()=>_(()=>import("./jellybeans-C69Kan1A.js"),__vite__mapDeps([])),"../../public/themes/kanagawa.webp":()=>_(()=>import("./kanagawa-CAl2AkOr.js"),__vite__mapDeps([])),"../../public/themes/material-darker.webp":()=>_(()=>import("./material-darker-TW8y9-CB.js"),__vite__mapDeps([])),"../../public/themes/material-lighter.webp":()=>_(()=>import("./material-lighter-CHOHqfV4.js"),__vite__mapDeps([])),"../../public/themes/melange.webp":()=>_(()=>import("./melange-ChAk3wcY.js"),__vite__mapDeps([])),"../../public/themes/mito-laser.webp":()=>_(()=>import("./mito-laser-Dw1Zun4Z.js"),__vite__mapDeps([])),"../../public/themes/monekai.webp":()=>_(()=>import("./monekai-DqQ0Lbq7.js"),__vite__mapDeps([])),"../../public/themes/monochrome.webp":()=>_(()=>import("./monochrome-DfJFMyh6.js"),__vite__mapDeps([])),"../../public/themes/mountain.webp":()=>_(()=>import("./mountain-DFEqRtnE.js"),__vite__mapDeps([])),"../../public/themes/nano-light.webp":()=>_(()=>import("./nano-light-BWJbtj1I.js"),__vite__mapDeps([])),"../../public/themes/nightfox.webp":()=>_(()=>import("./nightfox-DAtk8_Ib.js"),__vite__mapDeps([])),"../../public/themes/nightlamp.webp":()=>_(()=>import("./nightlamp-BZ_mlSp0.js"),__vite__mapDeps([])),"../../public/themes/nightowl.webp":()=>_(()=>import("./nightowl-6x1JaVcS.js"),__vite__mapDeps([])),"../../public/themes/nord.webp":()=>_(()=>import("./nord-DI5jblu1.js"),__vite__mapDeps([])),"../../public/themes/oceanic-light.webp":()=>_(()=>import("./oceanic-light-BFk0ZJQm.js"),__vite__mapDeps([])),"../../public/themes/oceanic-next.webp":()=>_(()=>import("./oceanic-next-CkxpBoON.js"),__vite__mapDeps([])),"../../public/themes/one_light.webp":()=>_(()=>import("./one_light-Bv8Y0BHv.js"),__vite__mapDeps([])),"../../public/themes/onedark.webp":()=>_(()=>import("./onedark-DotQcCck.js"),__vite__mapDeps([])),"../../public/themes/onenord.webp":()=>_(()=>import("./onenord-mvfzAW9b.js"),__vite__mapDeps([])),"../../public/themes/onenord_light.webp":()=>_(()=>import("./onenord_light-BnXzK1uR.js"),__vite__mapDeps([])),"../../public/themes/oxocarbon.webp":()=>_(()=>import("./oxocarbon-Dq2oWp6j.js"),__vite__mapDeps([])),"../../public/themes/palenight.webp":()=>_(()=>import("./palenight-5-EXmUjp.js"),__vite__mapDeps([])),"../../public/themes/pastelDark.webp":()=>_(()=>import("./pastelDark-CJBkjo82.js"),__vite__mapDeps([])),"../../public/themes/pastelbeans.webp":()=>_(()=>import("./pastelbeans-I_hPxfIj.js"),__vite__mapDeps([])),"../../public/themes/penumbra_dark.webp":()=>_(()=>import("./penumbra_dark-BajsAbjR.js"),__vite__mapDeps([])),"../../public/themes/penumbra_light.webp":()=>_(()=>import("./penumbra_light-R6vaJ2dR.js"),__vite__mapDeps([])),"../../public/themes/poimandres.webp":()=>_(()=>import("./poimandres-CLZX257g.js"),__vite__mapDeps([])),"../../public/themes/radium.webp":()=>_(()=>import("./radium-A6e_Futp.js"),__vite__mapDeps([])),"../../public/themes/rosepine-dawn.webp":()=>_(()=>import("./rosepine-dawn-kX5cWQaP.js"),__vite__mapDeps([])),"../../public/themes/rosepine.webp":()=>_(()=>import("./rosepine-BeqDKTOJ.js"),__vite__mapDeps([])),"../../public/themes/rxyhn.webp":()=>_(()=>import("./rxyhn-BILN_knW.js"),__vite__mapDeps([])),"../../public/themes/solarized_dark.webp":()=>_(()=>import("./solarized_dark-CX_hDmAR.js"),__vite__mapDeps([])),"../../public/themes/solarized_oska.webp":()=>_(()=>import("./solarized_oska-Dk_L9BfH.js"),__vite__mapDeps([])),"../../public/themes/sweetpastel.webp":()=>_(()=>import("./sweetpastel-DuilNVoI.js"),__vite__mapDeps([])),"../../public/themes/tokyodark.webp":()=>_(()=>import("./tokyodark-9KXuYcQd.js"),__vite__mapDeps([])),"../../public/themes/tokyonight.webp":()=>_(()=>import("./tokyonight-Mfw0GLhH.js"),__vite__mapDeps([])),"../../public/themes/tomorrow_night.webp":()=>_(()=>import("./tomorrow_night-DqXXyyL7.js"),__vite__mapDeps([])),"../../public/themes/tundra.webp":()=>_(()=>import("./tundra-CdYrrmK4.js"),__vite__mapDeps([])),"../../public/themes/vscode_dark.webp":()=>_(()=>import("./vscode_dark-kyPxC2nU.js"),__vite__mapDeps([])),"../../public/themes/wombat.webp":()=>_(()=>import("./wombat-DCEv37uW.js"),__vite__mapDeps([])),"../../public/themes/yoru.webp":()=>_(()=>import("./yoru-DWL0zvfx.js"),__vite__mapDeps([]))});let Is=Object.keys(xs).map(n=>n.replace("../../public",""));const[$n,Ai]=ve(!0),[Cs,Ts]=ve(""),[He,Ds]=ve(!0),[As,$s]=ve(0),Ls=()=>(()=>{var n=S(ys),e=n.firstChild,r=e.nextSibling,i=r.firstChild,l=i.nextSibling,a=l.firstChild,o=a.firstChild,[s,c]=z(o.nextSibling),h=s.nextSibling,[u,m]=z(h.nextSibling);return l.$$click=()=>Ds(!He()),A(a,(()=>{var p=X(()=>!!He());return()=>p()&&S(js)})(),s,c),A(a,(()=>{var p=X(()=>!He());return()=>p()&&S(ws)})(),u,m),ee(),n})();function Rs(){return(()=>{var n=S(Ns);return A(n,()=>Is.map(e=>{const i=(e?.split("/").pop()).split(".")[0],l=i.includes("light")?"light":"dark",a=He()?"top-0 right-0 rounded-br-none rounded-tl-none":"bottom-0 left-1/2 transform -translate-x-1/2 rounded-b-none",o=l=="dark"?"bg-slate-1 bur-sm text-dark-3":" bg-dark-4 text-white-1";return(()=>{var s=S(Os),c=s.firstChild,h=c.nextSibling;return c.$$click=()=>{$s(window.scrollY),Ts(e),Ai(!$n())},ge(c,"src",e),ue(h,`absolute vertCentered justify-between ${a} ${o}`),A(h,i),ee(),s})()})),te(()=>ue(n,`grid gap-6 [&_*]:max-w-[100%] [&_*]:h-auto ${He()?"lg:grid-cols-3 2xl:grid-cols-4":""}`)),n})()}function Ms(){return(()=>{var n=S(Ss),e=n.firstChild,r=e.nextSibling;return e.$$click=()=>{Ai(!$n()),window.scrollTo(0,As())},te(()=>ge(r,"src",Cs())),ee(),n})()}const qs=()=>(()=>{var n=S(ks),e=n.firstChild,[r,i]=z(e.nextSibling),l=r.nextSibling,[a,o]=z(l.nextSibling);return A(n,(()=>{var s=X(()=>!$n());return()=>s()&&t(Ms,{})})(),r,i),A(n,(()=>{var s=X(()=>!!$n());return()=>s()&&(()=>{var c=S(Es),h=c.firstChild,[u,m]=z(h.nextSibling),p=u.nextSibling,[f,g]=z(p.nextSibling);return A(c,t(Ls,{}),u,m),A(c,t(Rs,{}),f,g),c})()})(),a,o),n})();Et(["click"]);const Vs=Object.freeze(Object.defineProperty({__proto__:null,default:qs,meta:Ps},Symbol.toStringTag,{value:"Module"}));function Fs(n){n.forEach(e=>{if(!e.attrs.href)return;let r=document.head.querySelector(`link[href="${e.attrs.href}"]`);r||(r=document.createElement("link"),r.setAttribute("rel","preload"),r.setAttribute("as","style"),r.setAttribute("href",e.attrs.href),document.head.appendChild(r))})}var Us=E("