diff --git a/404.html b/404.html index 75f2b45..144de18 100644 --- a/404.html +++ b/404.html @@ -8,14 +8,14 @@ - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the GPL License.

- + \ No newline at end of file diff --git a/README.html b/README.html index 3c5bdd6..4648ac6 100644 --- a/README.html +++ b/README.html @@ -8,17 +8,17 @@ - + - +
Skip to content

🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!

联系我

Released under the GPL License.

- + \ No newline at end of file diff --git a/assets/app.Dvj5Y_pW.js b/assets/app.B5WXgHky.js similarity index 95% rename from assets/app.Dvj5Y_pW.js rename to assets/app.B5WXgHky.js index 99888b6..5bf2760 100644 --- a/assets/app.Dvj5Y_pW.js +++ b/assets/app.B5WXgHky.js @@ -1,4 +1,4 @@ -import{j as o,a8 as p,a9 as u,aa as c,ab as l,ac as f,ad as d,ae as m,af as h,ag as A,ah as g,Y as v,d as P,u as w,l as y,z as C,ai as R,aj as _,ak as b,a4 as E}from"./chunks/framework.BjaKWcf5.js";import{R as j}from"./chunks/theme.B3l8DO-S.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(j),D=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function T(){const e=O(),a=L();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(D)}function O(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{T as createApp}; +import{j as o,a8 as p,a9 as u,aa as c,ab as l,ac as f,ad as d,ae as m,af as h,ag as A,ah as g,Y as v,d as P,u as w,l as y,z as C,ai as R,aj as _,ak as b,a4 as E}from"./chunks/framework.BjaKWcf5.js";import{R as j}from"./chunks/theme.CpZ0MY04.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(j),D=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function T(){const e=O(),a=L();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(D)}function O(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{T as createApp}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/assets/chunks/@localSearchIndexroot.BM2s8WIX.js b/assets/chunks/@localSearchIndexroot.BM2s8WIX.js deleted file mode 100644 index 1355a26..0000000 --- a/assets/chunks/@localSearchIndexroot.BM2s8WIX.js +++ /dev/null @@ -1 +0,0 @@ -const t='{"documentCount":30,"nextId":30,"documentIds":{"0":"/README.html#🎉🎉🎉-2024-从心出发-共筑简洁社区新时代","1":"/README.html#联系我","2":"/docs/getstart/docker.html#安装流程","3":"/docs/getstart/installation/#手动安装","4":"/docs/getstart/installation/server.html#server模块安装","5":"/docs/getstart/installation/server.html#go语言开发环境安装","6":"/docs/getstart/installation/server.html#安装go","7":"/docs/getstart/installation/server.html#配置go-proxy","8":"/docs/getstart/installation/server/go-mod.html#go-mod使用帮助","9":"/docs/getstart/installation/server/go-mod.html#go-mod-介绍","10":"/docs/getstart/installation/server/go-mod.html#go-mod-常用命令","11":"/docs/getstart/installation/server/go-mod.html#在新项目中使用","12":"/docs/getstart/installation/server/go-mod.html#在旧项目中使用","13":"/docs/getstart/installation/server/go-mod.html#如何升级依赖","14":"/docs/getstart/installation/server/go-mod.html#go-mod-proxy-配置","15":"/docs/getstart/installation/server/install-go.html#安装go","16":"/docs/getstart/installation/server/install.html#server-模块安装","17":"/docs/getstart/installation/server/install.html#clone代码","18":"/docs/getstart/installation/server/install.html#安装依赖","19":"/docs/getstart/installation/server/install.html#编译","20":"/docs/getstart/installation/server/install.html#配置","21":"/docs/#功能介绍","22":"/docs/#概要","23":"/docs/#功能","24":"/docs/#官网","25":"/docs/#技术栈","26":"/docs/#交流群-联系我","27":"/docs/internal/initsql.html#sql初始化脚本","28":"/#🎉🎉🎉-2024-从心出发-共筑简洁社区新时代","29":"/#联系我"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[5,1,1],"1":[1,1,1],"2":[1,1,118],"3":[1,1,15],"4":[1,1,1],"5":[1,1,1],"6":[1,2,15],"7":[2,2,1],"8":[2,1,1],"9":[3,2,18],"10":[3,4,23],"11":[1,4,37],"12":[1,4,12],"13":[1,4,15],"14":[4,2,34],"15":[1,1,15],"16":[2,1,1],"17":[1,2,2],"18":[1,2,2],"19":[1,2,2],"20":[1,2,2],"21":[1,1,1],"22":[1,1,24],"23":[1,1,1],"24":[1,1,13],"25":[1,1,36],"26":[2,1,21],"27":[1,1,227],"28":[5,1,1],"29":[1,1,1]},"averageFieldLength":[1.6333333333333333,1.6666666666666667,21.4],"storedFields":{"0":{"title":"🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!","titles":[null,null]},"1":{"title":"联系我","titles":[null]},"2":{"title":"安装流程","titles":[]},"3":{"title":"手动安装","titles":[]},"4":{"title":"Server模块安装","titles":[]},"5":{"title":"Go语言开发环境安装","titles":["Server模块安装"]},"6":{"title":"安装Go","titles":["Server模块安装","Go语言开发环境安装"]},"7":{"title":"配置Go Proxy","titles":["Server模块安装","Go语言开发环境安装"]},"8":{"title":"Go mod使用帮助","titles":[]},"9":{"title":"Go mod 介绍","titles":["Go mod使用帮助"]},"10":{"title":"Go mod 常用命令","titles":["Go mod使用帮助","Go mod 介绍"]},"11":{"title":"在新项目中使用","titles":["Go mod使用帮助","Go mod 介绍"]},"12":{"title":"在旧项目中使用","titles":["Go mod使用帮助","Go mod 介绍"]},"13":{"title":"如何升级依赖","titles":["Go mod使用帮助","Go mod 介绍"]},"14":{"title":"Go mod proxy 配置","titles":["Go mod使用帮助"]},"15":{"title":"安装Go","titles":[]},"16":{"title":"Server 模块安装","titles":[]},"17":{"title":"clone代码","titles":["Server 模块安装"]},"18":{"title":"安装依赖","titles":["Server 模块安装"]},"19":{"title":"编译","titles":["Server 模块安装"]},"20":{"title":"配置","titles":["Server 模块安装"]},"21":{"title":"功能介绍","titles":[]},"22":{"title":"概要","titles":["功能介绍"]},"23":{"title":"功能","titles":["功能介绍"]},"24":{"title":"官网","titles":["功能介绍"]},"25":{"title":"技术栈","titles":["功能介绍"]},"26":{"title":"交流群/联系我","titles":["功能介绍"]},"27":{"title":"SQL初始化脚本","titles":[]},"28":{"title":"🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!","titles":[null,null]},"29":{"title":"联系我","titles":[null]}},"dirtCount":0,"index":[["管理员",{"2":{"27":2}}],["管理你的",{"2":{"9":1}}],["超级管理员",{"2":{"27":2}}],["角色菜单",{"2":{"27":1}}],["角色配置",{"2":{"27":1}}],["角色管理",{"2":{"27":1}}],["权限分配",{"2":{"27":1}}],["权限管理",{"2":{"27":1}}],["菜单管理",{"2":{"27":1}}],["菜单配置",{"2":{"27":1}}],["系统设置",{"2":{"27":1}}],["系统由三个模块组成",{"2":{"22":1}}],["9",{"2":{"27":5}}],["950827012b8d",{"2":{"26":1}}],["友情链接",{"2":{"27":1}}],["违禁词",{"2":{"27":1}}],["7",{"2":{"27":5}}],["5",{"2":{"27":5}}],["512",{"2":{"27":1}}],["节点管理",{"2":{"27":1}}],["帖子管理",{"2":{"27":2}}],["仪表盘",{"2":{"27":1}}],["6",{"2":{"27":5}}],["64",{"2":{"27":3}}],["609",{"2":{"26":2}}],["22",{"2":{"27":1}}],["21",{"2":{"27":1}}],["2",{"2":{"27":15}}],["256",{"2":{"27":2}}],["20",{"2":{"6":1,"15":1,"27":20}}],["2024",{"0":{"0":1,"28":1}}],["积分配置",{"2":{"27":2}}],["天",{"2":{"27":2}}],["用户角色",{"2":{"27":1}}],["用户管理",{"2":{"27":1}}],["用户登录有效期",{"2":{"27":2}}],["用户名",{"2":{"27":1}}],["文章管理",{"2":{"27":1}}],["文章",{"2":{"27":1}}],["话题",{"2":{"27":1}}],["首页",{"2":{"27":1}}],["站点导航",{"2":{"27":2}}],["站点关键字",{"2":{"27":2}}],["站点描述",{"2":{"27":2}}],["站点标题",{"2":{"27":2}}],["默认节点",{"2":{"27":3}}],["forbidden",{"2":{"27":1}}],["forbiddenword",{"2":{"27":1}}],["file",{"2":{"27":1}}],["from",{"2":{"27":18}}],["failure",{"2":{"2":3}}],["正如我轻轻的来",{"2":{"27":1}}],["轻轻地我走了",{"2":{"27":1}}],["$2a$10$ofa39bafmpypix",{"2":{"27":1}}],["密码",{"2":{"27":1}}],["密码为",{"2":{"27":1}}],["=",{"2":{"27":23}}],["key",{"2":{"27":17}}],["kataras",{"2":{"25":1}}],["`menu",{"2":{"27":3}}],["`role",{"2":{"27":6}}],["`roles`",{"2":{"27":2}}],["`remark`",{"2":{"27":2}}],["`icon`",{"2":{"27":2}}],["`idx",{"2":{"27":5}}],["`id`",{"2":{"27":22}}],["`path`",{"2":{"27":2}}],["`parent",{"2":{"27":2}}],["`password`",{"2":{"27":2}}],["`value`",{"2":{"27":8}}],["`key`",{"2":{"27":17}}],["`logo`",{"2":{"27":1}}],["`name`",{"2":{"27":16}}],["`nickname`",{"2":{"27":2}}],["`user",{"2":{"27":3}}],["`username`",{"2":{"27":4}}],["`update",{"2":{"27":14}}],["`code`",{"2":{"27":4}}],["`comment",{"2":{"27":2}}],["`create",{"2":{"27":20}}],["`forbidden",{"2":{"27":1}}],["`follow",{"2":{"27":2}}],["`fans",{"2":{"27":2}}],["`sort",{"2":{"27":7}}],["`status`",{"2":{"27":9}}],["`score`",{"2":{"27":3}}],["`description`",{"2":{"27":12}}],["`home",{"2":{"27":1}}],["`background",{"2":{"27":1}}],["`birthday`",{"2":{"27":1}}],["`gender`",{"2":{"27":1}}],["`avatar`",{"2":{"27":2}}],["`email",{"2":{"27":1}}],["`email`",{"2":{"27":4}}],["`type`",{"2":{"27":2}}],["`title`",{"2":{"27":2}}],["`topic",{"2":{"27":2}}],["`t",{"2":{"27":25}}],[">",{"2":{"26":1}}],["问题反馈",{"2":{"26":2}}],["qr",{"2":{"26":1}}],["qq",{"2":{"26":1}}],["关注公众号`码农俱乐部`获取更多干货资源",{"2":{"26":1}}],["javascript",{"2":{"25":1}}],["js",{"2":{"25":2}}],["js开发的社区运营",{"2":{"22":1}}],["js开发的社区前台ui服务",{"2":{"22":1}}],["js进行开发",{"2":{"22":1}}],["渐进式",{"2":{"25":1}}],["owner",{"2":{"27":2}}],["open",{"2":{"26":1}}],["org",{"2":{"25":1}}],["orm",{"2":{"25":1}}],["on",{"2":{"2":6}}],["最好用的go语言数据库",{"2":{"25":1}}],["框架",{"2":{"25":3}}],["全球广受欢迎的开源数据库",{"2":{"25":1}}],["技术栈",{"0":{"25":1}}],["码农俱乐部",{"2":{"24":1,"26":1}}],["码云",{"2":{"24":1}}],["演示站",{"2":{"24":1}}],["交流群",{"0":{"26":1}}],["交流",{"2":{"24":1}}],["官网",{"0":{"24":1}}],["功能建议",{"2":{"26":1}}],["功能",{"0":{"23":1}}],["功能介绍",{"0":{"21":1},"1":{"22":1,"23":1,"24":1,"25":1,"26":1}}],["基于go语言的开源社区系统",{"2":{"27":1}}],["基于vue的服务端渲染框架",{"2":{"25":1}}],["基于vue",{"2":{"22":1}}],["基于nuxt",{"2":{"22":1}}],["为系统提供数据支撑",{"2":{"22":1}}],["为前后端分离设计",{"2":{"22":1}}],["后端接口服务使用简洁的go语言进行开发",{"2":{"22":1}}],["后台",{"2":{"2":1}}],["开源之后越来越多的小伙伴儿开始喜欢和关注他",{"2":{"22":1}}],["开发的后台管理系统",{"2":{"3":1}}],["初始化系统配置数据",{"2":{"27":1}}],["初始化系统配置表",{"2":{"27":1}}],["初始化话题节点",{"2":{"27":1}}],["初始化用户数据",{"2":{"27":1}}],["初始化用户表",{"2":{"27":1}}],["初始化账号为",{"2":{"27":1}}],["初始化脚本件目录",{"2":{"2":1}}],["初期该项目仅用过学习和交流",{"2":{"22":1}}],["跨平台的社区系统",{"2":{"22":1}}],["精美小巧",{"2":{"22":1}}],["前端页面使用vue",{"2":{"22":1}}],["前后端分离",{"2":{"22":1}}],["前台",{"2":{"2":1}}],["概要",{"0":{"22":1}}],["编译",{"0":{"19":1}}],["编辑go",{"2":{"10":1}}],["模块安装",{"0":{"16":1},"1":{"17":1,"18":1,"19":1,"20":1}}],["命令可以看到效果",{"2":{"14":1}}],["我们执行",{"2":{"14":1}}],["我一直在使用goproxy",{"2":{"14":1}}],["可以通过执行以下命令来设置goproxy",{"2":{"14":1}}],["可通过浏览器访问服务",{"2":{"2":1}}],["注意",{"2":{"14":1}}],["word",{"2":{"27":1}}],["where",{"2":{"27":18}}],["why",{"2":{"10":1}}],["weixin",{"2":{"26":1}}],["www",{"2":{"25":1}}],["with",{"2":{"25":1}}],["w是不支持老版本go语言sdk的",{"2":{"14":1}}],["w",{"2":{"14":1}}],["下面我们执行一下命令来设置goproxy",{"2":{"14":1}}],["下载依赖的module到本地cache",{"2":{"10":1}}],["下载对应系统的go语言安装包",{"2":{"6":1,"15":1}}],["很稳定",{"2":{"14":1}}],["七牛也是目前国内使用go语言经验比较丰富的公司",{"2":{"14":1}}],["他的服务由七牛提供支持",{"2":{"14":1}}],["他是国内最早提供goproxy代理的服务",{"2":{"14":1}}],["目前国内优质的go",{"2":{"14":1}}],["所以很多依赖无法成功下载",{"2":{"14":1}}],["所以你的新项目可以放到任意你喜欢的路径",{"2":{"11":1}}],["国内是无法稳定的访问google的服务",{"2":{"14":1}}],["众所周知的原因",{"2":{"14":1}}],["配置完成后",{"2":{"14":1}}],["配置",{"0":{"14":1,"20":1}}],["配置go",{"0":{"7":1}}],["z是修订版本号y是次要版本号",{"2":{"13":1}}],["z",{"2":{"13":1}}],["y",{"2":{"13":1}}],["ymlversion",{"2":{"2":1}}],["yml文件",{"2":{"2":1}}],["xiz7jtomh9jnpvyfprlzhxqatlpfpbe",{"2":{"27":1}}],["x",{"2":{"13":1}}],["xxx",{"2":{"11":1}}],["将会升级到指定的版本",{"2":{"13":1}}],["将会升级到最新的修订版本",{"2":{"13":1}}],["将会升级到最新的次要版本或者修订版本",{"2":{"13":1}}],["将依赖下载到本地",{"2":{"11":1}}],["将依赖复制到vendor下",{"2":{"10":1}}],["运行",{"2":{"13":3}}],["只需要一下两个步骤",{"2":{"12":1}}],["而是会下载到$gopath",{"2":{"11":1}}],["然后执行go",{"2":{"11":1}}],["然后你可以在其中增加你的依赖",{"2":{"11":1}}],["一行一条",{"2":{"11":1}}],["一共分为三个模块",{"2":{"3":1}}],["添加到这里",{"2":{"11":1}}],["你的依赖类似这样",{"2":{"11":1}}],["你可能需要用到sudo",{"2":{"2":1}}],["4",{"2":{"11":1,"27":5}}],["会在项目根目录下生成一个go",{"2":{"12":1}}],["会生成一个go",{"2":{"11":1}}],["会添加丢失的module",{"2":{"10":1}}],["解释为什么需要依赖",{"2":{"10":1}}],["校验依赖",{"2":{"10":1}}],["删除不需要的module",{"2":{"10":1}}],["整理依赖关系",{"2":{"10":1}}],["就是会新建一个go",{"2":{"10":1}}],["打印模块依赖图",{"2":{"10":1}}],["gitee",{"2":{"24":1}}],["github",{"2":{"11":2,"24":2,"25":1}}],["get",{"2":{"13":3}}],["graph",{"2":{"10":1}}],["go演示站",{"2":{"27":1}}],["gorm",{"2":{"25":2}}],["go语言",{"2":{"25":1}}],["go语言开发后端接口服务",{"2":{"22":1}}],["go语言开发环境安装",{"0":{"5":1},"1":{"6":1,"7":1}}],["goproxy=https",{"2":{"14":2}}],["goproxy",{"2":{"14":4}}],["gomodule",{"2":{"11":1}}],["go1",{"2":{"6":1,"15":1}}],["go采用前后端分离设计",{"2":{"3":1}}],["go",{"0":{"8":1,"9":1,"10":1,"14":1},"1":{"9":1,"10":2,"11":2,"12":2,"13":2,"14":1},"2":{"2":10,"6":1,"9":6,"10":8,"11":2,"12":3,"13":3,"14":2,"15":1,"22":2,"24":2,"25":3,"27":2}}],["常用命令",{"0":{"10":1}}],["项目",{"2":{"9":1}}],["本文将向你介绍如何使用",{"2":{"9":1}}],["本安装流程介绍的是如何使用docker快速安装bbs",{"2":{"2":1}}],["更新和移除依赖",{"2":{"9":1}}],["让开发者能够轻松地添加",{"2":{"9":1}}],["其主要目标是解决项目依赖的版本管理问题",{"2":{"9":1}}],["版本中成为默认的依赖管理工具",{"2":{"9":1}}],["版本起引入",{"2":{"9":1}}],["自",{"2":{"9":1}}],["语言官方的依赖管理系统",{"2":{"9":1}}],["是一款基于go语言研发的开源",{"2":{"22":1}}],["是",{"2":{"9":1}}],["介绍",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1}}],["这也是我长期升级和维护的动力",{"2":{"22":1}}],["这里我推荐使用goproxy",{"2":{"14":1}}],["这里就不对赘述了",{"2":{"6":1,"15":1}}],["这个时候我们就要为go",{"2":{"14":1}}],["这个目录中的",{"2":{"2":1}}],["这样所有使用go",{"2":{"11":1}}],["这些依赖并不是下载到你的项目目录下",{"2":{"11":1}}],["请自行google",{"2":{"6":1,"15":1}}],["请去官网",{"2":{"6":1,"15":1}}],["设置环境变量等",{"2":{"6":1,"15":1}}],["如何升级依赖",{"0":{"13":1}}],["如何安装go语言开发包",{"2":{"6":1,"15":1}}],["如下图",{"2":{"14":1}}],["如下",{"2":{"11":1}}],["如果你在执行该命令时报错",{"2":{"14":1}}],["如果你没有权限执行docker",{"2":{"2":1}}],["如果本地不存在",{"2":{"2":1}}],["如果非root账号执行",{"2":{"2":1}}],["推荐版本",{"2":{"6":1,"15":1}}],["接下来我们分别讲解下这三个模块的编译和部署",{"2":{"3":1}}],["nav",{"2":{"27":1}}],["names",{"2":{"27":1}}],["name",{"2":{"2":4}}],["null",{"2":{"27":57}}],["nuxt",{"2":{"25":2}}],["nuxt开发的前台页面服务",{"2":{"3":1}}],["no`",{"2":{"27":8}}],["node",{"2":{"27":1}}],["node`",{"2":{"27":3}}],["nodeid=6",{"2":{"26":2}}],["now",{"2":{"27":70}}],["not",{"2":{"27":37}}],["+",{"2":{"3":2,"6":1,"15":1}}],["使用go",{"2":{"11":1}}],["使用go语言开发的服务端接口服务",{"2":{"3":1}}],["使用vue",{"2":{"3":1}}],["使用node",{"2":{"3":1}}],["使用docker",{"2":{"2":1}}],["手动安装",{"0":{"3":1}}],["https",{"2":{"6":1,"14":2,"15":1,"24":2,"25":5,"26":5}}],["http",{"2":{"2":2,"25":1}}],["healthy",{"2":{"2":1}}],["healthcheck",{"2":{"2":1}}],["服务地址如下",{"2":{"2":1}}],["服务启动成功",{"2":{"2":1}}],["并且将他们下载下来",{"2":{"12":1}}],["并在",{"2":{"9":1}}],["并启动容器",{"2":{"2":1}}],["并进入该目录",{"2":{"2":1}}],["此命令将下载所需的docker镜像",{"2":{"2":1}}],["permission",{"2":{"27":4}}],["postcommentscore",{"2":{"27":1}}],["posttopicscore",{"2":{"27":1}}],["ports",{"2":{"2":3}}],["primary",{"2":{"27":7}}],["proxy",{"0":{"7":1,"14":1}}],["page`",{"2":{"27":1}}],["package",{"2":{"13":1}}],["password=123456",{"2":{"2":1}}],["password",{"2":{"2":2}}],["pkg",{"2":{"11":1}}],["lock",{"2":{"27":1}}],["localhost",{"2":{"2":2}}],["link",{"2":{"27":3}}],["lib",{"2":{"2":1}}],["latest",{"2":{"2":3}}],["menu",{"2":{"27":2}}],["menu`",{"2":{"27":7}}],["mlog",{"2":{"26":4}}],["mlogclub",{"2":{"2":3,"11":1,"24":2}}],["mvc",{"2":{"25":1}}],["mod代理推荐一下两个",{"2":{"14":1}}],["mod配置代理",{"2":{"14":1}}],["mod会自动分析你当前项目所需要的依赖",{"2":{"12":1}}],["mod的项目都可以共用",{"2":{"11":1}}],["mod目录下",{"2":{"11":1}}],["mod并不要求你的项目源码放到$gopath下",{"2":{"11":1}}],["mod文件",{"2":{"10":1,"11":1,"12":1}}],["modules",{"2":{"9":2}}],["mod",{"0":{"9":1,"10":1,"14":1},"1":{"10":1,"11":1,"12":1,"13":1},"2":{"10":10,"11":2,"12":2}}],["mod使用帮助",{"0":{"8":1},"1":{"9":1,"10":1,"11":1,"12":1,"13":1,"14":1}}],["mysql",{"2":{"2":15,"11":1,"25":2}}],["url",{"2":{"27":3}}],["unix",{"2":{"27":70}}],["unique",{"2":{"27":7}}],["unicode",{"2":{"2":1}}],["utf8mb4",{"2":{"27":8}}],["u=patch",{"2":{"13":1}}],["u",{"2":{"13":1}}],["up命令启动启动服务",{"2":{"2":1}}],["usr",{"2":{"2":1}}],["user`",{"2":{"27":2}}],["username=gh",{"2":{"26":1}}],["user=bbsgo",{"2":{"2":1}}],["user",{"2":{"2":1,"27":10}}],["checkinscore",{"2":{"27":1}}],["charset",{"2":{"27":7}}],["character",{"2":{"2":1}}],["create",{"2":{"26":2,"27":7}}],["cldjms",{"2":{"27":1}}],["club",{"2":{"26":4}}],["clone代码",{"0":{"17":1}}],["cn",{"2":{"14":5}}],["ci",{"2":{"2":1}}],["count`",{"2":{"27":8}}],["code",{"2":{"26":1}}],["collation",{"2":{"2":1}}],["com",{"2":{"11":2,"24":2,"25":3,"26":1,"27":1}}],["command",{"2":{"2":1}}],["compose命令",{"2":{"2":1}}],["compose",{"2":{"2":5}}],["context",{"2":{"2":3}}],["container",{"2":{"2":4}}],["condition",{"2":{"2":1}}],["config",{"2":{"27":7}}],["config`",{"2":{"27":8}}],["conf",{"2":{"2":2}}],["19",{"2":{"27":1}}],["18",{"2":{"27":1}}],["17",{"2":{"27":1}}],["15",{"2":{"27":1}}],["14",{"2":{"27":1}}],["10",{"2":{"27":7}}],["1024",{"2":{"27":5}}],["1000",{"2":{"27":70}}],["100",{"2":{"2":1}}],["16",{"2":{"27":3}}],["128",{"2":{"27":3}}],["12",{"2":{"11":1,"27":4}}],["123456",{"2":{"2":2,"27":2}}],["13",{"2":{"9":1,"27":3}}],["11",{"2":{"9":1,"27":12}}],["1",{"2":{"9":2,"11":2,"27":33}}],["bigint",{"2":{"27":29}}],["bin",{"2":{"2":1}}],["build",{"2":{"2":3,"25":1}}],["bbsgo站长",{"2":{"27":1}}],["bbsgo",{"2":{"2":3,"27":1}}],["bbs",{"2":{"2":8,"3":1,"22":2,"24":2,"27":3}}],["t",{"2":{"27":8}}],["text",{"2":{"27":5}}],["test",{"2":{"2":1}}],["table",{"2":{"27":11}}],["tables",{"2":{"2":1}}],["tokenexpiredays",{"2":{"27":2}}],["topicnode",{"2":{"27":1}}],["topics",{"2":{"27":1}}],["topic",{"2":{"26":4,"27":7}}],["todo",{"2":{"17":1,"18":1,"19":1,"20":1}}],["title",{"2":{"27":3}}],["timestamp",{"2":{"27":70}}],["time`",{"2":{"27":35}}],["timeout",{"2":{"2":1}}],["tinyint",{"2":{"27":1}}],["tidy",{"2":{"10":1,"12":1}}],["tz",{"2":{"2":1}}],["article",{"2":{"27":2}}],["articles",{"2":{"27":1}}],["arco",{"2":{"3":1}}],["a",{"2":{"27":1}}],["auto",{"2":{"27":7}}],["admin",{"2":{"2":4,"3":1,"22":1,"27":4}}],["always",{"2":{"2":1}}],["asia",{"2":{"2":1}}],["role`",{"2":{"27":7}}],["role",{"2":{"27":6}}],["root",{"2":{"2":1}}],["require",{"2":{"11":1}}],["retries",{"2":{"2":1}}],["restart",{"2":{"2":4}}],["挂在配置文件目录",{"2":{"2":1}}],["挂载目录必须是登录账号下目录",{"2":{"2":1}}],["挂载数据件目录",{"2":{"2":1}}],["exists",{"2":{"27":13}}],["example",{"2":{"27":1}}],["execute",{"2":{"2":1}}],["edit",{"2":{"10":1}}],["etc",{"2":{"2":1}}],["engine",{"2":{"27":7}}],["end",{"2":{"27":1}}],["env",{"2":{"14":3}}],["environment",{"2":{"2":1}}],["entrypoint",{"2":{"2":3}}],["values",{"2":{"27":4}}],["varchar",{"2":{"27":19}}],["var",{"2":{"2":1}}],["vuejs",{"2":{"25":1}}],["vue",{"2":{"25":1}}],["v1",{"2":{"11":1}}],["verified`",{"2":{"27":1}}],["verify",{"2":{"10":1}}],["version",{"2":{"13":1}}],["vender",{"2":{"10":1}}],["volumes",{"2":{"2":2}}],["0",{"2":{"2":1,"27":44}}],["icon",{"2":{"27":8}}],["id`",{"2":{"27":14}}],["if",{"2":{"27":4}}],["iris",{"2":{"25":2}}],["io",{"2":{"14":1,"25":1}}],["index",{"2":{"27":2}}],["insert",{"2":{"27":13}}],["innodb",{"2":{"27":7}}],["into",{"2":{"27":13}}],["int",{"2":{"27":8}}],["interval",{"2":{"2":1}}],["increment",{"2":{"27":7}}],["init",{"2":{"2":1,"10":1,"11":1,"12":1}}],["initdb",{"2":{"2":3}}],["image`",{"2":{"27":1}}],["image",{"2":{"2":4}}],["stop",{"2":{"27":1}}],["status`",{"2":{"27":1}}],["sys",{"2":{"27":15}}],["systems",{"2":{"25":1}}],["sort",{"2":{"27":1}}],["scoreconfig",{"2":{"27":2}}],["score`",{"2":{"27":1}}],["scalable",{"2":{"25":1}}],["simple",{"2":{"25":1}}],["sitenavs",{"2":{"27":2}}],["sitekeywords",{"2":{"27":2}}],["sitedescription",{"2":{"27":2}}],["sitetitle",{"2":{"27":2}}],["site",{"2":{"2":4,"3":1,"22":1}}],["select",{"2":{"27":18}}],["secure",{"2":{"25":1}}],["service",{"2":{"2":1}}],["services",{"2":{"2":1}}],["server模块安装",{"0":{"4":1},"1":{"5":1,"6":1,"7":1}}],["server",{"0":{"16":1},"1":{"17":1,"18":1,"19":1,"20":1},"2":{"2":6,"3":1,"22":1}}],["server=utf8mb4",{"2":{"2":2}}],["settings",{"2":{"27":3}}],["set",{"2":{"2":1,"27":1}}],["shellexport",{"2":{"14":1}}],["shellgo",{"2":{"14":1}}],["show",{"2":{"2":1}}],["sh",{"2":{"2":1}}],["shanghai",{"2":{"2":1}}],["sqluse",{"2":{"27":1}}],["sql初始化脚本",{"0":{"27":1}}],["sql文件会以字母顺序依次执行",{"2":{"2":1}}],["sql脚本内容请加qq群获取",{"2":{"2":1}}],["sql",{"2":{"2":1,"11":1}}],["80",{"2":{"2":1}}],["8080",{"2":{"2":2}}],["8082",{"2":{"2":2}}],["8",{"2":{"2":2,"27":5}}],["365",{"2":{"27":1}}],["32",{"2":{"27":3}}],["3000",{"2":{"2":3}}],["300s",{"2":{"2":1}}],["3s",{"2":{"2":1}}],["3",{"2":{"2":1,"27":8}}],["创建docker",{"2":{"2":1}}],["创建目录",{"2":{"2":1}}],["该文件为sql初始化脚本",{"2":{"2":1}}],["dashboard",{"2":{"27":3}}],["datetime",{"2":{"27":1}}],["data",{"2":{"2":2}}],["database",{"2":{"2":1}}],["drop",{"2":{"27":4}}],["driver",{"2":{"11":1}}],["dual",{"2":{"27":9}}],["direct",{"2":{"14":1}}],["download",{"2":{"10":1,"11":1}}],["dockerfile",{"2":{"2":6}}],["docker目录中创建文件",{"2":{"2":1}}],["docker",{"2":{"2":8}}],["dl",{"2":{"6":1,"15":1}}],["defaultnodeid",{"2":{"27":2}}],["default",{"2":{"27":47}}],["dev",{"2":{"6":1,"15":1,"25":1}}],["depends",{"2":{"2":3}}],["db",{"2":{"2":2,"27":1}}],["d",{"2":{"2":5}}],["准备sql初始化脚本",{"2":{"2":1}}],["在项目根目录下执行该命令",{"2":{"12":2}}],["在项目根目录下执行go",{"2":{"11":1}}],["在旧项目中使用非常简单",{"2":{"12":1}}],["在旧项目中使用",{"0":{"12":1}}],["在新项目中使用",{"0":{"11":1}}],["在当前目录下初始化go",{"2":{"10":1}}],["在bbs",{"2":{"2":1}}],["在你的电脑上创建目录",{"2":{"2":1}}],["在安装之前请确保您已经正确安装并启动docker服务",{"2":{"2":1}}],["安装依赖",{"0":{"18":1}}],["安装go",{"0":{"6":1,"15":1}}],["安装步骤如下",{"2":{"2":1}}],["安装流程",{"0":{"2":1}}],["提示",{"2":{"2":1,"27":1}}],["联系我",{"0":{"1":1,"26":1,"29":1}}],["共筑简洁社区新时代",{"0":{"0":1,"28":1}}],["从心出发",{"0":{"0":1,"28":1}}],["🎉🎉🎉",{"0":{"0":1,"28":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/@localSearchIndexroot.Co-cilSK.js b/assets/chunks/@localSearchIndexroot.Co-cilSK.js new file mode 100644 index 0000000..e374e0c --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.Co-cilSK.js @@ -0,0 +1 @@ +const t='{"documentCount":32,"nextId":32,"documentIds":{"0":"/README.html#🎉🎉🎉-2024-从心出发-共筑简洁社区新时代","1":"/README.html#联系我","2":"/docs/getstart/docker.html#安装流程","3":"/docs/getstart/installation/#代码结构","4":"/docs/getstart/installation/#模块划分","5":"/docs/getstart/installation/#获取最新源码","6":"/docs/getstart/installation/#目录结构","7":"/docs/getstart/installation/server.html#server模块安装","8":"/docs/getstart/installation/server.html#go语言开发环境安装","9":"/docs/getstart/installation/server.html#安装go","10":"/docs/getstart/installation/server.html#配置go-proxy","11":"/docs/getstart/installation/server/go-mod.html#go-mod使用帮助","12":"/docs/getstart/installation/server/go-mod.html#go-mod-介绍","13":"/docs/getstart/installation/server/go-mod.html#go-mod-常用命令","14":"/docs/getstart/installation/server/go-mod.html#在新项目中使用","15":"/docs/getstart/installation/server/go-mod.html#在旧项目中使用","16":"/docs/getstart/installation/server/go-mod.html#如何升级依赖","17":"/docs/getstart/installation/server/go-mod.html#go-mod-proxy-配置","18":"/docs/getstart/installation/server/install-go.html#安装go","19":"/docs/getstart/installation/server/install.html#server-模块安装","20":"/docs/getstart/installation/server/install.html#安装依赖","21":"/docs/getstart/installation/server/install.html#编译","22":"/docs/getstart/installation/server/install.html#配置","23":"/docs/#功能介绍","24":"/docs/#概要","25":"/docs/#功能","26":"/docs/#官网","27":"/docs/#技术栈","28":"/docs/#交流群-联系我","29":"/docs/internal/initsql.html#sql初始化脚本","30":"/#🎉🎉🎉-2024-从心出发-共筑简洁社区新时代","31":"/#联系我"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[5,1,1],"1":[1,1,1],"2":[1,1,118],"3":[1,1,1],"4":[1,1,14],"5":[1,1,20],"6":[1,1,84],"7":[1,1,1],"8":[1,1,1],"9":[1,2,15],"10":[2,2,1],"11":[2,1,1],"12":[3,2,18],"13":[3,4,23],"14":[1,4,37],"15":[1,4,12],"16":[1,4,15],"17":[4,2,34],"18":[1,1,15],"19":[2,1,9],"20":[1,2,11],"21":[1,2,15],"22":[1,2,2],"23":[1,1,1],"24":[1,1,24],"25":[1,1,1],"26":[1,1,13],"27":[1,1,36],"28":[2,1,21],"29":[1,1,227],"30":[5,1,1],"31":[1,1,1]},"averageFieldLength":[1.59375,1.59375,24.187500000000007],"storedFields":{"0":{"title":"🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!","titles":[null,null]},"1":{"title":"联系我","titles":[null]},"2":{"title":"安装流程","titles":[]},"3":{"title":"代码结构","titles":[]},"4":{"title":"模块划分","titles":["代码结构"]},"5":{"title":"获取最新源码","titles":["代码结构"]},"6":{"title":"目录结构","titles":["代码结构"]},"7":{"title":"Server模块安装","titles":[]},"8":{"title":"Go语言开发环境安装","titles":["Server模块安装"]},"9":{"title":"安装Go","titles":["Server模块安装","Go语言开发环境安装"]},"10":{"title":"配置Go Proxy","titles":["Server模块安装","Go语言开发环境安装"]},"11":{"title":"Go mod使用帮助","titles":[]},"12":{"title":"Go mod 介绍","titles":["Go mod使用帮助"]},"13":{"title":"Go mod 常用命令","titles":["Go mod使用帮助","Go mod 介绍"]},"14":{"title":"在新项目中使用","titles":["Go mod使用帮助","Go mod 介绍"]},"15":{"title":"在旧项目中使用","titles":["Go mod使用帮助","Go mod 介绍"]},"16":{"title":"如何升级依赖","titles":["Go mod使用帮助","Go mod 介绍"]},"17":{"title":"Go mod proxy 配置","titles":["Go mod使用帮助"]},"18":{"title":"安装Go","titles":[]},"19":{"title":"Server 模块安装","titles":[]},"20":{"title":"安装依赖","titles":["Server 模块安装"]},"21":{"title":"编译","titles":["Server 模块安装"]},"22":{"title":"配置","titles":["Server 模块安装"]},"23":{"title":"功能介绍","titles":[]},"24":{"title":"概要","titles":["功能介绍"]},"25":{"title":"功能","titles":["功能介绍"]},"26":{"title":"官网","titles":["功能介绍"]},"27":{"title":"技术栈","titles":["功能介绍"]},"28":{"title":"交流群/联系我","titles":["功能介绍"]},"29":{"title":"SQL初始化脚本","titles":[]},"30":{"title":"🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!","titles":[null,null]},"31":{"title":"联系我","titles":[null]}},"dirtCount":0,"index":[["管理员",{"2":{"29":2}}],["管理你的",{"2":{"12":1}}],["超级管理员",{"2":{"29":2}}],["角色菜单",{"2":{"29":1}}],["角色配置",{"2":{"29":1}}],["角色管理",{"2":{"29":1}}],["权限分配",{"2":{"29":1}}],["权限管理",{"2":{"29":1}}],["菜单管理",{"2":{"29":1}}],["菜单配置",{"2":{"29":1}}],["系统设置",{"2":{"29":1}}],["系统由三个模块组成",{"2":{"24":1}}],["9",{"2":{"29":5}}],["950827012b8d",{"2":{"28":1}}],["友情链接",{"2":{"29":1}}],["违禁词",{"2":{"29":1}}],["7",{"2":{"29":5}}],["5",{"2":{"29":5}}],["512",{"2":{"29":1}}],["节点管理",{"2":{"29":1}}],["帖子管理",{"2":{"29":2}}],["仪表盘",{"2":{"29":1}}],["6",{"2":{"29":5}}],["64",{"2":{"29":3}}],["609",{"2":{"28":2}}],["22",{"2":{"29":1}}],["21",{"2":{"29":1}}],["2",{"2":{"29":15}}],["256",{"2":{"29":2}}],["20",{"2":{"9":1,"18":1,"29":20}}],["2024",{"0":{"0":1,"30":1}}],["积分配置",{"2":{"29":2}}],["天",{"2":{"29":2}}],["用户角色",{"2":{"29":1}}],["用户管理",{"2":{"29":1}}],["用户登录有效期",{"2":{"29":2}}],["用户名",{"2":{"29":1}}],["文章管理",{"2":{"29":1}}],["文章",{"2":{"29":1}}],["话题",{"2":{"29":1}}],["首页",{"2":{"29":1}}],["站点导航",{"2":{"29":2}}],["站点关键字",{"2":{"29":2}}],["站点描述",{"2":{"29":2}}],["站点标题",{"2":{"29":2}}],["默认节点",{"2":{"29":3}}],["forbidden",{"2":{"29":1}}],["forbiddenword",{"2":{"29":1}}],["file",{"2":{"29":1}}],["from",{"2":{"29":18}}],["failure",{"2":{"2":3}}],["正如我轻轻的来",{"2":{"29":1}}],["轻轻地我走了",{"2":{"29":1}}],["$2a$10$ofa39bafmpypix",{"2":{"29":1}}],["密码",{"2":{"29":1}}],["密码为",{"2":{"29":1}}],["=",{"2":{"29":23}}],["key",{"2":{"29":17}}],["kataras",{"2":{"27":1}}],["`menu",{"2":{"29":3}}],["`role",{"2":{"29":6}}],["`roles`",{"2":{"29":2}}],["`remark`",{"2":{"29":2}}],["`icon`",{"2":{"29":2}}],["`idx",{"2":{"29":5}}],["`id`",{"2":{"29":22}}],["`path`",{"2":{"29":2}}],["`parent",{"2":{"29":2}}],["`password`",{"2":{"29":2}}],["`value`",{"2":{"29":8}}],["`key`",{"2":{"29":17}}],["`logo`",{"2":{"29":1}}],["`name`",{"2":{"29":16}}],["`nickname`",{"2":{"29":2}}],["`user",{"2":{"29":3}}],["`username`",{"2":{"29":4}}],["`update",{"2":{"29":14}}],["`code`",{"2":{"29":4}}],["`comment",{"2":{"29":2}}],["`create",{"2":{"29":20}}],["`forbidden",{"2":{"29":1}}],["`follow",{"2":{"29":2}}],["`fans",{"2":{"29":2}}],["`sort",{"2":{"29":7}}],["`status`",{"2":{"29":9}}],["`score`",{"2":{"29":3}}],["`description`",{"2":{"29":12}}],["`home",{"2":{"29":1}}],["`background",{"2":{"29":1}}],["`birthday`",{"2":{"29":1}}],["`gender`",{"2":{"29":1}}],["`avatar`",{"2":{"29":2}}],["`email",{"2":{"29":1}}],["`email`",{"2":{"29":4}}],["`type`",{"2":{"29":2}}],["`title`",{"2":{"29":2}}],["`topic",{"2":{"29":2}}],["`t",{"2":{"29":25}}],[">",{"2":{"28":1}}],["问题反馈",{"2":{"28":2}}],["qr",{"2":{"28":1}}],["qq",{"2":{"28":1}}],["关注公众号`码农俱乐部`获取更多干货资源",{"2":{"28":1}}],["javascript",{"2":{"27":1}}],["js开发的社区运营",{"2":{"24":1}}],["js开发的社区前台ui服务",{"2":{"24":1}}],["js进行开发",{"2":{"24":1}}],["json",{"2":{"6":5}}],["js",{"2":{"6":3,"27":2}}],["渐进式",{"2":{"27":1}}],["owner",{"2":{"29":2}}],["open",{"2":{"28":1}}],["org",{"2":{"27":1}}],["orm",{"2":{"27":1}}],["on",{"2":{"2":6}}],["最好用的go语言数据库",{"2":{"27":1}}],["框架",{"2":{"27":3}}],["全球广受欢迎的开源数据库",{"2":{"27":1}}],["技术栈",{"0":{"27":1}}],["码农俱乐部",{"2":{"26":1,"28":1}}],["码云",{"2":{"26":1}}],["演示站",{"2":{"26":1}}],["交流群",{"0":{"28":1}}],["交流",{"2":{"26":1}}],["官网",{"0":{"26":1}}],["功能建议",{"2":{"28":1}}],["功能",{"0":{"25":1}}],["功能介绍",{"0":{"23":1},"1":{"24":1,"25":1,"26":1,"27":1,"28":1}}],["基于go语言的开源社区系统",{"2":{"29":1}}],["基于vue的服务端渲染框架",{"2":{"27":1}}],["基于vue",{"2":{"24":1}}],["基于nuxt",{"2":{"24":1}}],["为系统提供数据支撑",{"2":{"24":1}}],["为前后端分离设计",{"2":{"24":1}}],["后端接口服务使用简洁的go语言进行开发",{"2":{"24":1}}],["后台",{"2":{"2":1}}],["初始化系统配置数据",{"2":{"29":1}}],["初始化系统配置表",{"2":{"29":1}}],["初始化话题节点",{"2":{"29":1}}],["初始化用户数据",{"2":{"29":1}}],["初始化用户表",{"2":{"29":1}}],["初始化账号为",{"2":{"29":1}}],["初始化脚本件目录",{"2":{"2":1}}],["初期该项目仅用过学习和交流",{"2":{"24":1}}],["跨平台的社区系统",{"2":{"24":1}}],["精美小巧",{"2":{"24":1}}],["前端页面使用vue",{"2":{"24":1}}],["前后端分离",{"2":{"24":1}}],["前台",{"2":{"2":1}}],["概要",{"0":{"24":1}}],["接下来我们看如何配置",{"2":{"21":1}}],["因为还没有正确配置数据库等信息",{"2":{"21":1}}],["但我们先不着急执行",{"2":{"21":1}}],["依赖安装成功后",{"2":{"21":1}}],["编译成功后",{"2":{"21":1}}],["编译",{"0":{"21":1}}],["编辑go",{"2":{"13":1}}],["执行下面命令进行编译",{"2":{"21":1}}],["执行下面命令安装依赖",{"2":{"20":1}}],["执行下面命令将代码clone到本地",{"2":{"5":1}}],["进入",{"2":{"20":1}}],["开源之后越来越多的小伙伴儿开始喜欢和关注他",{"2":{"24":1}}],["开始之前请确保正确安装go语言开发环境",{"2":{"19":1}}],["开发的后台管理系统",{"2":{"4":1}}],["模块安装",{"0":{"19":1},"1":{"20":1,"21":1,"22":1}}],["模块划分",{"0":{"4":1}}],["命令可以看到效果",{"2":{"17":1}}],["我们执行",{"2":{"17":1}}],["我一直在使用goproxy",{"2":{"17":1}}],["可以通过执行以下命令来设置goproxy",{"2":{"17":1}}],["可通过浏览器访问服务",{"2":{"2":1}}],["注意",{"2":{"17":1}}],["下面我们执行一下命令来设置goproxy",{"2":{"17":1}}],["下载依赖的module到本地cache",{"2":{"13":1}}],["下载对应系统的go语言安装包",{"2":{"9":1,"18":1}}],["很稳定",{"2":{"17":1}}],["七牛也是目前国内使用go语言经验比较丰富的公司",{"2":{"17":1}}],["他的服务由七牛提供支持",{"2":{"17":1}}],["他是国内最早提供goproxy代理的服务",{"2":{"17":1}}],["目录",{"2":{"20":1}}],["目录结构",{"0":{"6":1}}],["目前国内优质的go",{"2":{"17":1}}],["所以很多依赖无法成功下载",{"2":{"17":1}}],["所以你的新项目可以放到任意你喜欢的路径",{"2":{"14":1}}],["国内是无法稳定的访问google的服务",{"2":{"17":1}}],["众所周知的原因",{"2":{"17":1}}],["配置完成后",{"2":{"17":1}}],["配置",{"0":{"17":1,"22":1}}],["配置go",{"0":{"10":1}}],["z是修订版本号y是次要版本号",{"2":{"16":1}}],["z",{"2":{"16":1}}],["xiz7jtomh9jnpvyfprlzhxqatlpfpbe",{"2":{"29":1}}],["x",{"2":{"16":1,"20":1}}],["xxx",{"2":{"14":1}}],["将会升级到指定的版本",{"2":{"16":1}}],["将会升级到最新的修订版本",{"2":{"16":1}}],["将会升级到最新的次要版本或者修订版本",{"2":{"16":1}}],["将依赖下载到本地",{"2":{"14":1}}],["将依赖复制到vendor下",{"2":{"13":1}}],["运行",{"2":{"16":3}}],["只需要一下两个步骤",{"2":{"15":1}}],["而是会下载到$gopath",{"2":{"14":1}}],["然后执行go",{"2":{"14":1}}],["然后你可以在其中增加你的依赖",{"2":{"14":1}}],["一行一条",{"2":{"14":1}}],["一共分为三个模块",{"2":{"4":1}}],["添加到这里",{"2":{"14":1}}],["你的依赖类似这样",{"2":{"14":1}}],["你可能需要用到sudo",{"2":{"2":1}}],["4",{"2":{"14":1,"29":5}}],["会在当前目录生成二进制可执行文件",{"2":{"21":1}}],["会在项目根目录下生成一个go",{"2":{"15":1}}],["会生成一个go",{"2":{"14":1}}],["会添加丢失的module",{"2":{"13":1}}],["解释为什么需要依赖",{"2":{"13":1}}],["word",{"2":{"29":1}}],["where",{"2":{"29":18}}],["why",{"2":{"13":1}}],["weixin",{"2":{"28":1}}],["with",{"2":{"27":1}}],["windows系统为bbs",{"2":{"21":1}}],["w是不支持老版本go语言sdk的",{"2":{"17":1}}],["w",{"2":{"17":1}}],["www",{"2":{"5":1,"19":1,"27":1}}],["校验依赖",{"2":{"13":1}}],["删除不需要的module",{"2":{"13":1}}],["整理依赖关系",{"2":{"13":1}}],["就是会新建一个go",{"2":{"13":1}}],["打印模块依赖图",{"2":{"13":1}}],["常用命令",{"0":{"13":1}}],["项目",{"2":{"12":1}}],["项目地址分别为",{"2":{"5":1}}],["本文将向你介绍如何使用",{"2":{"12":1}}],["本安装流程介绍的是如何使用docker快速安装bbs",{"2":{"2":1}}],["更新和移除依赖",{"2":{"12":1}}],["让开发者能够轻松地添加",{"2":{"12":1}}],["其主要目标是解决项目依赖的版本管理问题",{"2":{"12":1}}],["版本中成为默认的依赖管理工具",{"2":{"12":1}}],["版本起引入",{"2":{"12":1}}],["自",{"2":{"12":1}}],["语言官方的依赖管理系统",{"2":{"12":1}}],["是一款基于go语言研发的开源",{"2":{"24":1}}],["是",{"2":{"12":1}}],["介绍",{"0":{"12":1},"1":{"13":1,"14":1,"15":1,"16":1}}],["这也是我长期升级和维护的动力",{"2":{"24":1}}],["这里我推荐使用goproxy",{"2":{"17":1}}],["这里就不对赘述了",{"2":{"9":1,"18":1}}],["这个文件是可以执行的",{"2":{"21":1}}],["这个时候我们就要为go",{"2":{"17":1}}],["这个目录中的",{"2":{"2":1}}],["这样所有使用go",{"2":{"14":1}}],["这些依赖并不是下载到你的项目目录下",{"2":{"14":1}}],["设置环境变量等",{"2":{"9":1,"18":1}}],["如何升级依赖",{"0":{"16":1}}],["如何安装go语言开发包",{"2":{"9":1,"18":1}}],["如下图",{"2":{"17":1}}],["如下",{"2":{"14":1}}],["如果你在执行该命令时报错",{"2":{"17":1}}],["如果你没有权限执行docker",{"2":{"2":1}}],["如果本地不存在",{"2":{"2":1}}],["如果非root账号执行",{"2":{"2":1}}],["推荐版本",{"2":{"9":1,"18":1}}],["请自行google",{"2":{"9":1,"18":1}}],["请去官网",{"2":{"9":1,"18":1}}],["请先确保会使用git",{"2":{"5":1}}],["└──",{"2":{"6":10}}],["y",{"2":{"16":1}}],["yaml",{"2":{"6":4}}],["yml",{"2":{"6":1}}],["ymlversion",{"2":{"2":1}}],["yml文件",{"2":{"2":1}}],["│",{"2":{"6":122}}],["├──",{"2":{"6":74}}],["以github为例",{"2":{"5":1}}],["get",{"2":{"16":3}}],["graph",{"2":{"13":1}}],["git",{"2":{"5":2}}],["gitee",{"2":{"5":1,"26":1}}],["github",{"2":{"5":2,"14":2,"26":2,"27":1}}],["github和gitee上都有最新版本的源码",{"2":{"5":1}}],["git使用教程",{"2":{"5":1}}],["go演示站",{"2":{"29":1}}],["gorm",{"2":{"27":2}}],["go语言",{"2":{"27":1}}],["go语言开发后端接口服务",{"2":{"24":1}}],["go语言开发环境安装",{"0":{"8":1},"1":{"9":1,"10":1}}],["goproxy=https",{"2":{"17":2}}],["goproxy",{"2":{"17":4}}],["gomodule",{"2":{"14":1}}],["go1",{"2":{"9":1,"18":1}}],["google",{"2":{"5":1,"19":1}}],["go采用前后端分离设计",{"2":{"4":1}}],["go",{"0":{"11":1,"12":1,"13":1,"17":1},"1":{"12":1,"13":2,"14":2,"15":2,"16":2,"17":1},"2":{"2":10,"5":3,"6":4,"9":1,"12":6,"13":8,"14":2,"15":3,"16":3,"17":2,"18":1,"21":2,"24":2,"26":2,"27":3,"29":2}}],["获取最新源码",{"0":{"5":1}}],["nav",{"2":{"29":1}}],["names",{"2":{"29":1}}],["name",{"2":{"2":4}}],["null",{"2":{"29":57}}],["nuxt",{"2":{"6":1,"27":2}}],["nuxt开发的前台页面服务",{"2":{"4":1}}],["no`",{"2":{"29":8}}],["node",{"2":{"29":1}}],["node`",{"2":{"29":3}}],["nodeid=6",{"2":{"28":2}}],["now",{"2":{"29":70}}],["not",{"2":{"29":37}}],["+",{"2":{"4":2,"9":1,"18":1}}],["使用go",{"2":{"14":1}}],["使用go语言开发的服务端接口服务",{"2":{"4":1}}],["使用vue",{"2":{"4":1}}],["使用node",{"2":{"4":1}}],["使用docker",{"2":{"2":1}}],["代码结构",{"0":{"3":1},"1":{"4":1,"5":1,"6":1}}],["hooks",{"2":{"6":1}}],["html",{"2":{"6":1}}],["https",{"2":{"5":3,"9":1,"17":2,"18":1,"19":1,"26":2,"27":5,"28":5}}],["http",{"2":{"2":2,"27":1}}],["healthy",{"2":{"2":1}}],["healthcheck",{"2":{"2":1}}],["服务地址如下",{"2":{"2":1}}],["服务启动成功",{"2":{"2":1}}],["并设置已经设置好环境变量",{"2":{"19":1}}],["并且将他们下载下来",{"2":{"15":1}}],["并在",{"2":{"12":1}}],["并启动容器",{"2":{"2":1}}],["并进入该目录",{"2":{"2":1}}],["此命令将下载所需的docker镜像",{"2":{"2":1}}],["permission",{"2":{"29":4}}],["postcommentscore",{"2":{"29":1}}],["posttopicscore",{"2":{"29":1}}],["ports",{"2":{"2":3}}],["primary",{"2":{"29":7}}],["proxy",{"0":{"10":1,"17":1}}],["prod",{"2":{"6":1}}],["plugin",{"2":{"6":1}}],["plain",{"2":{"6":1}}],["public",{"2":{"6":1}}],["pnpm",{"2":{"6":2}}],["page`",{"2":{"29":1}}],["pages",{"2":{"6":1}}],["package",{"2":{"6":2,"16":1}}],["password=123456",{"2":{"2":1}}],["password",{"2":{"2":2}}],["pkg",{"2":{"6":1,"14":1}}],["layout",{"2":{"6":1}}],["layouts",{"2":{"6":1}}],["latest",{"2":{"2":3}}],["locale",{"2":{"6":1}}],["localhost",{"2":{"2":2}}],["lock",{"2":{"6":2,"29":1}}],["link",{"2":{"29":3}}],["license",{"2":{"6":2}}],["lib",{"2":{"2":1}}],["menu",{"2":{"29":2}}],["menu`",{"2":{"29":7}}],["mlog",{"2":{"28":4}}],["mlogclub",{"2":{"2":3,"5":3,"14":1,"26":2}}],["mvc",{"2":{"27":1}}],["main",{"2":{"6":1}}],["makefile",{"2":{"6":1}}],["middleware",{"2":{"6":2}}],["mod进行管理",{"2":{"20":1}}],["mod代理推荐一下两个",{"2":{"17":1}}],["mod配置代理",{"2":{"17":1}}],["mod会自动分析你当前项目所需要的依赖",{"2":{"15":1}}],["mod的项目都可以共用",{"2":{"14":1}}],["mod目录下",{"2":{"14":1}}],["mod并不要求你的项目源码放到$gopath下",{"2":{"14":1}}],["mod文件",{"2":{"13":1,"14":1,"15":1}}],["modules",{"2":{"12":2}}],["mod使用帮助",{"0":{"11":1},"1":{"12":1,"13":1,"14":1,"15":1,"16":1,"17":1}}],["models",{"2":{"6":1}}],["mod",{"0":{"12":1,"13":1,"17":1},"1":{"13":1,"14":1,"15":1,"16":1},"2":{"6":1,"13":10,"14":2,"15":2,"20":1}}],["md",{"2":{"6":3}}],["mysql",{"2":{"2":15,"14":1,"27":2}}],["url",{"2":{"29":3}}],["unix",{"2":{"29":70}}],["unique",{"2":{"29":7}}],["unicode",{"2":{"2":1}}],["utf8mb4",{"2":{"29":8}}],["utils",{"2":{"6":2}}],["u=patch",{"2":{"16":1}}],["u",{"2":{"16":1}}],["up命令启动启动服务",{"2":{"2":1}}],["usr",{"2":{"2":1}}],["user`",{"2":{"29":2}}],["username=gh",{"2":{"28":1}}],["user=bbsgo",{"2":{"2":1}}],["user",{"2":{"2":1,"29":10}}],["checkinscore",{"2":{"29":1}}],["charset",{"2":{"29":7}}],["character",{"2":{"2":1}}],["create",{"2":{"28":2,"29":7}}],["cldjms",{"2":{"29":1}}],["club",{"2":{"28":4}}],["clone",{"2":{"5":1}}],["cn",{"2":{"17":5}}],["cname",{"2":{"6":1}}],["cache",{"2":{"6":1}}],["cmd",{"2":{"6":1}}],["ci",{"2":{"2":1}}],["count`",{"2":{"29":8}}],["code",{"2":{"28":1}}],["collation",{"2":{"2":1}}],["commitlint",{"2":{"6":1}}],["command",{"2":{"2":1}}],["composables",{"2":{"6":2}}],["compose命令",{"2":{"2":1}}],["compose",{"2":{"2":5,"6":1}}],["components",{"2":{"6":3}}],["com",{"2":{"5":4,"14":2,"19":1,"26":2,"27":3,"28":1,"29":1}}],["controllers",{"2":{"6":1}}],["context",{"2":{"2":3}}],["container",{"2":{"2":4}}],["condition",{"2":{"2":1}}],["config`",{"2":{"29":8}}],["config",{"2":{"6":9,"29":7}}],["conf",{"2":{"2":2}}],["19",{"2":{"29":1}}],["18",{"2":{"29":1}}],["17",{"2":{"29":1}}],["15",{"2":{"29":1}}],["14",{"2":{"29":1}}],["10",{"2":{"29":7}}],["1024",{"2":{"29":5}}],["1000",{"2":{"29":70}}],["100",{"2":{"2":1}}],["16",{"2":{"29":3}}],["128",{"2":{"29":3}}],["12",{"2":{"14":1,"29":4}}],["123456",{"2":{"2":2,"29":2}}],["13",{"2":{"12":1,"29":3}}],["11",{"2":{"12":1,"29":12}}],["1",{"2":{"12":2,"14":2,"29":33}}],["bigint",{"2":{"29":29}}],["bin",{"2":{"2":1}}],["base",{"2":{"6":1}}],["babel",{"2":{"6":1}}],["build",{"2":{"2":3,"21":1,"27":1}}],["bbsgo站长",{"2":{"29":1}}],["bbsgo",{"2":{"2":3,"29":1}}],["bbs",{"2":{"2":8,"4":1,"5":3,"6":2,"21":1,"24":2,"26":2,"29":3}}],["t",{"2":{"29":8}}],["text",{"2":{"29":5}}],["test",{"2":{"2":1,"6":1}}],["table",{"2":{"29":11}}],["tables",{"2":{"2":1}}],["tokenexpiredays",{"2":{"29":2}}],["topicnode",{"2":{"29":1}}],["topics",{"2":{"29":1}}],["topic",{"2":{"28":4,"29":7}}],["todo",{"2":{"22":1}}],["types",{"2":{"6":1}}],["tsconfig",{"2":{"6":3}}],["ts",{"2":{"6":8}}],["title",{"2":{"29":3}}],["timestamp",{"2":{"29":70}}],["time`",{"2":{"29":35}}],["timeout",{"2":{"2":1}}],["tinyint",{"2":{"29":1}}],["tidy",{"2":{"13":1,"15":1}}],["tip",{"2":{"5":1}}],["tz",{"2":{"2":1}}],["article",{"2":{"29":2}}],["articles",{"2":{"29":1}}],["arco",{"2":{"4":1}}],["a",{"2":{"29":1}}],["auto",{"2":{"29":7}}],["api",{"2":{"6":1}}],["app",{"2":{"6":2}}],["assets",{"2":{"6":2}}],["asia",{"2":{"2":1}}],["admin模块",{"2":{"6":1}}],["admin",{"2":{"2":4,"4":1,"6":1,"24":1,"29":4}}],["always",{"2":{"2":1}}],["role`",{"2":{"29":7}}],["role",{"2":{"29":6}}],["router",{"2":{"6":1}}],["root",{"2":{"2":1}}],["require",{"2":{"14":1}}],["repositories",{"2":{"6":1}}],["readme",{"2":{"6":3}}],["retries",{"2":{"2":1}}],["restart",{"2":{"2":4}}],["挂在配置文件目录",{"2":{"2":1}}],["挂载目录必须是登录账号下目录",{"2":{"2":1}}],["挂载数据件目录",{"2":{"2":1}}],["edit",{"2":{"13":1}}],["error",{"2":{"6":1}}],["ecosystem",{"2":{"6":1}}],["exists",{"2":{"29":13}}],["exe",{"2":{"21":1}}],["execute",{"2":{"2":1}}],["example",{"2":{"6":1,"29":1}}],["etc",{"2":{"2":1}}],["engine",{"2":{"29":7}}],["end",{"2":{"29":1}}],["env",{"2":{"6":1,"17":3}}],["environment",{"2":{"2":1}}],["entrypoint",{"2":{"2":3}}],["values",{"2":{"29":4}}],["varchar",{"2":{"29":19}}],["var",{"2":{"2":1}}],["v1",{"2":{"14":1}}],["verified`",{"2":{"29":1}}],["verify",{"2":{"13":1}}],["version",{"2":{"16":1}}],["vender",{"2":{"13":1}}],["views",{"2":{"6":1}}],["vite",{"2":{"6":4}}],["vuejs",{"2":{"27":1}}],["vue",{"2":{"6":3,"27":1}}],["volumes",{"2":{"2":2}}],["0",{"2":{"2":1,"29":44}}],["icon",{"2":{"29":8}}],["id`",{"2":{"29":14}}],["if",{"2":{"29":4}}],["iris",{"2":{"27":2}}],["io",{"2":{"17":1,"27":1}}],["insert",{"2":{"29":13}}],["innodb",{"2":{"29":7}}],["into",{"2":{"29":13}}],["int",{"2":{"29":8}}],["internal",{"2":{"6":1}}],["interval",{"2":{"2":1}}],["increment",{"2":{"29":7}}],["index",{"2":{"6":1,"29":2}}],["init",{"2":{"2":1,"13":1,"14":1,"15":1}}],["initdb",{"2":{"2":3}}],["image`",{"2":{"29":1}}],["image",{"2":{"2":4}}],["sys",{"2":{"29":15}}],["systems",{"2":{"27":1}}],["sort",{"2":{"29":1}}],["scoreconfig",{"2":{"29":2}}],["score`",{"2":{"29":1}}],["scalable",{"2":{"27":1}}],["scheduler",{"2":{"6":1}}],["simple",{"2":{"27":1}}],["sitenavs",{"2":{"29":2}}],["sitekeywords",{"2":{"29":2}}],["sitedescription",{"2":{"29":2}}],["sitetitle",{"2":{"29":2}}],["site模块",{"2":{"6":1}}],["site",{"2":{"2":4,"4":1,"6":1,"24":1}}],["stop",{"2":{"29":1}}],["store",{"2":{"6":1}}],["stores",{"2":{"6":1}}],["status`",{"2":{"29":1}}],["start",{"2":{"6":1}}],["src",{"2":{"6":2}}],["spam",{"2":{"6":1}}],["sum",{"2":{"6":1}}],["select",{"2":{"29":18}}],["secure",{"2":{"27":1}}],["service",{"2":{"2":1}}],["services",{"2":{"2":1,"6":1}}],["server模块的依赖使用go",{"2":{"20":1}}],["server模块安装",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["server服务端模块",{"2":{"6":1}}],["server",{"0":{"19":1},"1":{"20":1,"21":1,"22":1},"2":{"2":6,"4":1,"6":5,"20":1,"24":1}}],["server=utf8mb4",{"2":{"2":2}}],["settings",{"2":{"29":3}}],["set",{"2":{"2":1,"29":1}}],["shellexport",{"2":{"17":1}}],["shellgo",{"2":{"17":1,"20":1,"21":1}}],["shellgit",{"2":{"5":1}}],["show",{"2":{"2":1}}],["sh",{"2":{"2":1,"6":1}}],["shanghai",{"2":{"2":1}}],["sqluse",{"2":{"29":1}}],["sql初始化脚本",{"0":{"29":1}}],["sql文件会以字母顺序依次执行",{"2":{"2":1}}],["sql脚本内容请加qq群获取",{"2":{"2":1}}],["sql",{"2":{"2":1,"14":1}}],["80",{"2":{"2":1}}],["8080",{"2":{"2":2}}],["8082",{"2":{"2":2}}],["8",{"2":{"2":2,"29":5}}],["365",{"2":{"29":1}}],["32",{"2":{"29":3}}],["3000",{"2":{"2":3}}],["300s",{"2":{"2":1}}],["3s",{"2":{"2":1}}],["3",{"2":{"2":1,"29":8}}],["创建docker",{"2":{"2":1}}],["创建目录",{"2":{"2":1}}],["该文件为sql初始化脚本",{"2":{"2":1}}],["dashboard",{"2":{"29":3}}],["datetime",{"2":{"29":1}}],["data",{"2":{"2":2}}],["database",{"2":{"2":1}}],["drop",{"2":{"29":4}}],["driver",{"2":{"14":1}}],["dual",{"2":{"29":9}}],["direct",{"2":{"17":1}}],["directive",{"2":{"6":1}}],["download",{"2":{"13":1,"14":1,"20":1}}],["dockerfile",{"2":{"2":6,"6":3}}],["docker目录中创建文件",{"2":{"2":1}}],["docker",{"2":{"2":8,"6":3}}],["dl",{"2":{"9":1,"18":1}}],["defaultnodeid",{"2":{"29":2}}],["default",{"2":{"29":47}}],["dev",{"2":{"6":1,"9":1,"18":1,"27":1}}],["depends",{"2":{"2":3}}],["db",{"2":{"2":2,"29":1}}],["d",{"2":{"2":5,"6":2}}],["准备sql初始化脚本",{"2":{"2":1}}],["在项目根目录下执行该命令",{"2":{"15":2}}],["在项目根目录下执行go",{"2":{"14":1}}],["在旧项目中使用非常简单",{"2":{"15":1}}],["在旧项目中使用",{"0":{"15":1}}],["在新项目中使用",{"0":{"14":1}}],["在当前目录下初始化go",{"2":{"13":1}}],["在bbs",{"2":{"2":1}}],["在你的电脑上创建目录",{"2":{"2":1}}],["在安装之前请确保您已经正确安装并启动docker服务",{"2":{"2":1}}],["安装依赖",{"0":{"20":1}}],["安装教程详见",{"2":{"19":1}}],["安装go",{"0":{"9":1,"18":1}}],["安装步骤如下",{"2":{"2":1}}],["安装流程",{"0":{"2":1}}],["提示",{"2":{"2":1,"19":1,"29":1}}],["联系我",{"0":{"1":1,"28":1,"31":1}}],["共筑简洁社区新时代",{"0":{"0":1,"30":1}}],["从心出发",{"0":{"0":1,"30":1}}],["🎉🎉🎉",{"0":{"0":1,"30":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.C8PSoRKj.js b/assets/chunks/VPLocalSearchBox.DF88MtIQ.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.C8PSoRKj.js rename to assets/chunks/VPLocalSearchBox.DF88MtIQ.js index ae78e0f..512cd94 100644 --- a/assets/chunks/VPLocalSearchBox.C8PSoRKj.js +++ b/assets/chunks/VPLocalSearchBox.DF88MtIQ.js @@ -1,4 +1,4 @@ -var It=Object.defineProperty;var Dt=(o,e,t)=>e in o?It(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Oe=(o,e,t)=>(Dt(o,typeof e!="symbol"?e+"":e,t),t);import{Y as yt,h as oe,y as $e,al as kt,am as Ot,d as _t,H as xe,an as tt,k as Fe,ao as Rt,ap as Mt,z as Lt,aq as zt,l as _e,U as de,S as Ee,ar as Pt,as as Vt,Z as Bt,j as $t,at as Wt,o as ee,b as Kt,m as k,a2 as Jt,p as j,au as Ut,av as jt,aw as Gt,c as re,n as rt,e as Se,G as at,F as nt,a as ve,t as pe,ax as qt,q as Ht,s as Qt,ay as it,az as Yt,ab as Zt,ah as Xt,aA as er,_ as tr}from"./framework.BjaKWcf5.js";import{u as rr,c as ar}from"./theme.B3l8DO-S.js";const nr={root:()=>yt(()=>import("./@localSearchIndexroot.BM2s8WIX.js"),__vite__mapDeps([]))};/*! +var It=Object.defineProperty;var Dt=(o,e,t)=>e in o?It(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Oe=(o,e,t)=>(Dt(o,typeof e!="symbol"?e+"":e,t),t);import{Y as yt,h as oe,y as $e,al as kt,am as Ot,d as _t,H as xe,an as tt,k as Fe,ao as Rt,ap as Mt,z as Lt,aq as zt,l as _e,U as de,S as Ee,ar as Pt,as as Vt,Z as Bt,j as $t,at as Wt,o as ee,b as Kt,m as k,a2 as Jt,p as j,au as Ut,av as jt,aw as Gt,c as re,n as rt,e as Se,G as at,F as nt,a as ve,t as pe,ax as qt,q as Ht,s as Qt,ay as it,az as Yt,ab as Zt,ah as Xt,aA as er,_ as tr}from"./framework.BjaKWcf5.js";import{u as rr,c as ar}from"./theme.CpZ0MY04.js";const nr={root:()=>yt(()=>import("./@localSearchIndexroot.Co-cilSK.js"),__vite__mapDeps([]))};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ne=mt.join(","),gt=typeof Element>"u",ue=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!gt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ie=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},ir=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},bt=function(e,t,r){if(Ie(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ne));return t&&ue.call(e,Ne)&&n.unshift(e),n=n.filter(r),n},wt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ie(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=ue.call(i,Ne);h&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var d=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ie(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(d&&v){var y=o(d===!0?i.children:d.children,!0,r);r.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else a.unshift.apply(a,i.children)}}return n},xt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ir(e))&&!xt(e)?0:e.tabIndex},or=function(e,t){var r=se(e);return r<0&&t&&!xt(e)?0:r},sr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Ft=function(e){return e.tagName==="INPUT"},ur=function(e){return Ft(e)&&e.type==="hidden"},lr=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},cr=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=Ce(e);if(u&&!u.shadowRoot&&n(u)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(vr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ot(e);return!1},yr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},gr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=or(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(sr).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=wt([e],t.includeContainer,{filter:We.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:mr}):r=bt(e,t.includeContainer,We.bind(null,t)),gr(r)},wr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=wt([e],t.includeContainer,{filter:De.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=bt(e,t.includeContainer,De.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Ne)===!1?!1:We(t,e)},xr=mt.concat("iframe").join(","),Re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,xr)===!1?!1:De(t,e)};/*! diff --git a/assets/chunks/theme.B3l8DO-S.js b/assets/chunks/theme.CpZ0MY04.js similarity index 99% rename from assets/chunks/theme.B3l8DO-S.js rename to assets/chunks/theme.CpZ0MY04.js index 82a0ef7..3615942 100644 --- a/assets/chunks/theme.B3l8DO-S.js +++ b/assets/chunks/theme.CpZ0MY04.js @@ -1,7 +1,7 @@ -import{d as _,o as a,c,r as l,n as N,a as D,t as S,b,w as d,T as ve,e as f,_ as k,u as je,i as ze,f as Ke,g as pe,h as T,j as W,k as g,l as j,m as v,p as r,q as B,s as H,v as G,x as ie,y as z,z as x,A as he,B as Le,C as Re,D as qe,E as K,F as M,G as E,H as Ve,I as ee,J as m,K as q,L as Se,M as te,N as Q,O as oe,P as We,Q as we,R as Je,S as le,U as Ye,V as Te,W as Qe,X as Xe,Y as Ze,Z as Ie,$ as Ne,a0 as xe,a1 as et,a2 as tt,a3 as ot,a4 as st}from"./framework.BjaKWcf5.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[D(S(e.text),1)])],2))}}),at={key:0,class:"VPBackdrop"},rt=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),b(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",at)):f("",!0)]),_:1}))}}),it=k(rt,[["__scopeId","data-v-8169aaa8"]]),L=je;function lt(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ce(o){return/^\//.test(o)?o:`/${o}`}function fe(o){const{pathname:e,search:t,hash:n,protocol:s}=new URL(o,"http://a.com");if(ze(o)||o.startsWith("#")||!s.startsWith("http")||!Ke(e))return o;const{site:i}=L(),u=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${n}`);return pe(u)}const _e=T(W?location.hash:"");W&&window.addEventListener("hashchange",()=>{_e.value=location.hash});function J({removeCurrent:o=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:s,theme:i}=L(),u=g(()=>{var p,$;return{label:(p=t.value.locales[n.value])==null?void 0:p.label,link:(($=t.value.locales[n.value])==null?void 0:$.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:g(()=>Object.entries(t.value.locales).flatMap(([p,$])=>o&&u.value.label===$.label?[]:{text:$.label,link:ct($.link||(p==="root"?"/":`/${p}/`),i.value.i18nRouting!==!1&&e,s.value.relativePath.slice(u.value.link.length-1),!t.value.cleanUrls)+_e.value})),currentLang:u}}function ct(o,e,t,n){return e?o.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const ut=o=>(B("data-v-691c81f7"),o=o(),H(),o),dt={class:"NotFound"},vt={class:"code"},pt={class:"title"},ht=ut(()=>v("div",{class:"divider"},null,-1)),ft={class:"quote"},_t={class:"action"},mt=["href","aria-label"],kt=_({__name:"NotFound",setup(o){const{site:e,theme:t}=L(),{localeLinks:n}=J({removeCurrent:!1}),s=T("/");return j(()=>{var u;const i=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((u=n.value.find(({link:h})=>h.startsWith(i)))==null?void 0:u.link)||n.value[0].link)}),(i,u)=>{var h,p,$,P,y;return a(),c("div",dt,[v("p",vt,S(((h=r(t).notFound)==null?void 0:h.code)??"404"),1),v("h1",pt,S(((p=r(t).notFound)==null?void 0:p.title)??"PAGE NOT FOUND"),1),ht,v("blockquote",ft,S((($=r(t).notFound)==null?void 0:$.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",_t,[v("a",{class:"link",href:r(pe)(s.value),"aria-label":((P=r(t).notFound)==null?void 0:P.linkLabel)??"go to home"},S(((y=r(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,mt)])])}}}),$t=k(kt,[["__scopeId","data-v-691c81f7"]]);function Me(o,e){if(Array.isArray(o))return X(o);if(o==null)return[];e=ce(e);const t=Object.keys(o).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>e.startsWith(ce(s))),n=t?o[t]:[];return Array.isArray(n)?X(n):X(n.items,n.base)}function bt(o){const e=[];let t=0;for(const n in o){const s=o[n];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function gt(o){const e=[];function t(n){for(const s of n)s.text&&s.link&&e.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&t(s.items)}return t(o),e}function ue(o,e){return Array.isArray(e)?e.some(t=>ue(o,t)):G(o,e.link)?!0:e.items?ue(o,e.items):!1}function X(o,e){return[...o].map(t=>{const n={...t},s=n.base||e;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=X(n.items,s)),n})}function O(){const{frontmatter:o,page:e,theme:t}=L(),n=ie("(min-width: 960px)"),s=T(!1),i=g(()=>{const C=t.value.sidebar,I=e.value.relativePath;return C?Me(C,I):[]}),u=T(i.value);z(i,(C,I)=>{JSON.stringify(C)!==JSON.stringify(I)&&(u.value=i.value)});const h=g(()=>o.value.sidebar!==!1&&u.value.length>0&&o.value.layout!=="home"),p=g(()=>$?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),$=g(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),P=g(()=>h.value&&n.value),y=g(()=>h.value?bt(u.value):[]);function V(){s.value=!0}function w(){s.value=!1}function A(){s.value?w():V()}return{isOpen:s,sidebar:u,sidebarGroups:y,hasSidebar:h,hasAside:$,leftAside:p,isSidebarEnabled:P,open:V,close:w,toggle:A}}function yt(o,e){let t;x(()=>{t=o.value?document.activeElement:void 0}),j(()=>{window.addEventListener("keyup",n)}),he(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function Pt(o){const{page:e}=L(),t=T(!1),n=g(()=>o.value.collapsed!=null),s=g(()=>!!o.value.link),i=T(!1),u=()=>{i.value=G(e.value.relativePath,o.value.link)};z([e,o,_e],u),j(u);const h=g(()=>i.value?!0:o.value.items?ue(e.value.relativePath,o.value.items):!1),p=g(()=>!!(o.value.items&&o.value.items.length));x(()=>{t.value=!!(n.value&&o.value.collapsed)}),Le(()=>{(i.value||h.value)&&(t.value=!1)});function $(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:h,hasChildren:p,toggle:$}}function Lt(){const{hasSidebar:o}=O(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:g(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const de=[];function Ae(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function me(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:Vt(t),link:"#"+t.id,level:n}});return St(e,o)}function Vt(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function St(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(u=>u.level>=n&&u.level<=s),de.length=0;for(const{element:u,link:h}of o)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const $=o[p];if($.level{requestAnimationFrame(i),window.addEventListener("scroll",n)}),Re(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",n)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,$=document.body.offsetHeight,P=Math.abs(h+p-$)<1,y=de.map(({element:w,link:A})=>({link:A,top:Tt(w)})).filter(({top:w})=>!Number.isNaN(w)).sort((w,A)=>w.top-A.top);if(!y.length){u(null);return}if(h<1){u(null);return}if(P){u(y[y.length-1].link);return}let V=null;for(const{link:w,top:A}of y){if(A>h+qe()+4)break;V=w}u(V)}function u(h){s&&s.classList.remove("active"),h==null?s=null:s=o.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=s;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function Tt(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const It=["href","title"],Nt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(t,n)=>{const s=K("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},S(h),9,It),i!=null&&i.length?(a(),b(s,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=k(Nt,[["__scopeId","data-v-c98c4919"]]),Mt=o=>(B("data-v-e6bb35c5"),o=o(),H(),o),At={class:"content"},Ct={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Mt(()=>v("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Et=_({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=L(),n=Ve([]);ee(()=>{n.value=me(e.value.outline??t.value.outline)});const s=T(),i=T();return wt(s,i),(u,h)=>(a(),c("div",{class:N(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s,role:"navigation"},[v("div",At,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Ct,S(r(Ae)(r(t))),1),v("nav",Bt,[Ht,m(Ce,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Dt=k(Et,[["__scopeId","data-v-e6bb35c5"]]),Ft={class:"VPDocAsideCarbonAds"},Ot=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(a(),c("div",Ft,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ut=o=>(B("data-v-3e8aba0e"),o=o(),H(),o),Gt={class:"VPDocAside"},jt=Ut(()=>v("div",{class:"spacer"},null,-1)),zt=_({__name:"VPDocAside",setup(o){const{theme:e}=L();return(t,n)=>(a(),c("div",Gt,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(Dt),l(t.$slots,"aside-outline-after",{},void 0,!0),jt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),b(Ot,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Kt=k(zt,[["__scopeId","data-v-3e8aba0e"]]);function Rt(){const{theme:o,page:e}=L();return g(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let s;return typeof n=="function"?s=n(e.value):s=n.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function qt(){const{page:o,theme:e,frontmatter:t}=L();return g(()=>{var p,$,P,y,V,w,A,C;const n=Me(e.value.sidebar,o.value.relativePath),s=gt(n),i=s.findIndex(I=>G(o.value.relativePath,I.link)),u=((p=e.value.docFooter)==null?void 0:p.prev)===!1&&!t.value.prev||t.value.prev===!1,h=(($=e.value.docFooter)==null?void 0:$.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((P=s[i-1])==null?void 0:P.docFooterText)??((y=s[i-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((V=s[i-1])==null?void 0:V.link)},next:h?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((w=s[i+1])==null?void 0:w.docFooterText)??((A=s[i+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((C=s[i+1])==null?void 0:C.link)}}})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=g(()=>e.tag??(e.href?"a":"span")),n=g(()=>e.href&&Se.test(e.href));return(s,i)=>(a(),b(q(t.value),{class:N(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?r(fe)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:d(()=>[l(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Wt={class:"VPLastUpdated"},Jt=["datetime"],Yt=_({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,frontmatter:n,lang:s}=L(),i=g(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),u=g(()=>i.value.toISOString()),h=T("");return j(()=>{x(()=>{var p,$,P;h.value=new Intl.DateTimeFormat(($=(p=e.value.lastUpdated)==null?void 0:p.formatOptions)!=null&&$.forceLocale?s.value:void 0,((P=e.value.lastUpdated)==null?void 0:P.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(i.value)})}),(p,$)=>{var P;return a(),c("p",Wt,[D(S(((P=r(e).lastUpdated)==null?void 0:P.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:u.value},S(h.value),9,Jt)])}}}),Qt=k(Yt,[["__scopeId","data-v-06bc3f84"]]),Xt=o=>(B("data-v-303e5403"),o=o(),H(),o),Zt={key:0,class:"VPDocFooter"},xt={key:0,class:"edit-info"},eo={key:0,class:"edit-link"},to=Xt(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),oo={key:1,class:"last-updated"},so={key:1,class:"prev-next"},no={class:"pager"},ao=["innerHTML"],ro=["innerHTML"],io={class:"pager"},lo=["innerHTML"],co=["innerHTML"],uo=_({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=L(),s=Rt(),i=qt(),u=g(()=>e.value.editLink&&n.value.editLink!==!1),h=g(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),p=g(()=>u.value||h.value||i.value.prev||i.value.next);return($,P)=>{var y,V,w,A;return p.value?(a(),c("footer",Zt,[l($.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",xt,[u.value?(a(),c("div",eo,[m(F,{class:"edit-link-button",href:r(s).url,"no-icon":!0},{default:d(()=>[to,D(" "+S(r(s).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",oo,[m(Qt)])):f("",!0)])):f("",!0),(y=r(i).prev)!=null&&y.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",so,[v("div",no,[(w=r(i).prev)!=null&&w.link?(a(),b(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,ao),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,ro)]}),_:1},8,["href"])):f("",!0)]),v("div",io,[(A=r(i).next)!=null&&A.link?(a(),b(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,lo),v("span",{class:"title",innerHTML:r(i).next.text},null,8,co)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),vo=k(uo,[["__scopeId","data-v-303e5403"]]),po=o=>(B("data-v-532ee90d"),o=o(),H(),o),ho={class:"container"},fo=po(()=>v("div",{class:"aside-curtain"},null,-1)),_o={class:"aside-container"},mo={class:"aside-content"},ko={class:"content"},$o={class:"content-container"},bo={class:"main"},go=_({__name:"VPDoc",setup(o){const{theme:e}=L(),t=te(),{hasSidebar:n,hasAside:s,leftAside:i}=O(),u=g(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const $=K("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(n),"has-aside":r(s)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",ho,[r(s)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[fo,v("div",_o,[v("div",mo,[m(Kt,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",ko,[v("div",$o,[l(h.$slots,"doc-before",{},void 0,!0),v("main",bo,[m($,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(vo,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),yo=k(go,[["__scopeId","data-v-532ee90d"]]),Po=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=g(()=>e.href&&Se.test(e.href)),n=g(()=>e.tag||e.href?"a":"button");return(s,i)=>(a(),b(q(n.value),{class:N(["VPButton",[s.size,s.theme]]),href:s.href?r(fe)(s.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[D(S(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Lo=k(Po,[["__scopeId","data-v-7ad72123"]]),Vo=["src","alt"],So=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=K("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",Q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Vo)):(a(),c(M,{key:1},[m(n,Q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(n,Q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Z=k(So,[["__scopeId","data-v-3c8ddd5c"]]),wo=o=>(B("data-v-a7eb9db3"),o=o(),H(),o),To={class:"container"},Io={class:"main"},No={key:0,class:"name"},Mo=["innerHTML"],Ao=["innerHTML"],Co=["innerHTML"],Bo={key:0,class:"actions"},Ho={key:0,class:"image"},Eo={class:"image-container"},Do=wo(()=>v("div",{class:"image-bg"},null,-1)),Fo=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=oe("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",To,[v("div",Io,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",No,[v("span",{innerHTML:t.name,class:"clip"},null,8,Mo)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ao)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Co)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Bo,[(a(!0),c(M,null,E(t.actions,s=>(a(),c("div",{key:s.link,class:"action"},[m(Lo,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Ho,[v("div",Eo,[Do,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),b(Z,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Oo=k(Fo,[["__scopeId","data-v-a7eb9db3"]]),Uo=_({__name:"VPHomeHero",setup(o){const{frontmatter:e}=L();return(t,n)=>r(e).hero?(a(),b(Oo,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Go=o=>(B("data-v-e81cbb22"),o=o(),H(),o),jo={class:"box"},zo={key:0,class:"icon"},Ko=["innerHTML"],Ro=["innerHTML"],qo=["innerHTML"],Wo={key:4,class:"link-text"},Jo={class:"link-text-value"},Yo=Go(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Qo=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),b(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",jo,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",zo,[m(Z,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),b(Z,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ko)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Ro),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,qo)):f("",!0),e.linkText?(a(),c("div",Wo,[v("p",Jo,[D(S(e.linkText)+" ",1),Yo])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xo=k(Qo,[["__scopeId","data-v-e81cbb22"]]),Zo={key:0,class:"VPFeatures"},xo={class:"container"},es={class:"items"},ts=_({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=g(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(a(),c("div",Zo,[v("div",xo,[v("div",es,[(a(!0),c(M,null,E(n.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Xo,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),os=k(ts,[["__scopeId","data-v-793554e1"]]),ss=_({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=L();return(t,n)=>r(e).features?(a(),b(os,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),ns=_({__name:"VPHomeContent",setup(o){const{width:e}=We({includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:we(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),as=k(ns,[["__scopeId","data-v-db194ff4"]]),rs={class:"VPHome"},is=_({__name:"VPHome",setup(o){const{frontmatter:e}=L();return(t,n)=>{const s=K("Content");return a(),c("div",rs,[l(t.$slots,"home-hero-before",{},void 0,!0),m(Uo,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(ss),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),b(as,{key:0},{default:d(()=>[m(s)]),_:1})):(a(),b(s,{key:1}))])}}}),ls=k(is,[["__scopeId","data-v-e3a3ce57"]]),cs={},us={class:"VPPage"};function ds(o,e){const t=K("Content");return a(),c("div",us,[l(o.$slots,"page-top"),m(t),l(o.$slots,"page-bottom")])}const vs=k(cs,[["render",ds]]),ps=_({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=L(),{hasSidebar:n}=O();return(s,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(n),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(s.$slots,"not-found",{key:0},()=>[m($t)],!0):r(t).layout==="page"?(a(),b(vs,{key:1},{"page-top":d(()=>[l(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),b(ls,{key:2},{"home-hero-before":d(()=>[l(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),b(q(r(t).layout),{key:3})):(a(),b(yo,{key:4},{"doc-top":d(()=>[l(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),hs=k(ps,[["__scopeId","data-v-97a14150"]]),fs={class:"container"},_s=["innerHTML"],ms=["innerHTML"],ks=_({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:n}=O();return(s,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(n)}])},[v("div",fs,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,_s)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ms)):f("",!0)])],2)):f("",!0)}}),$s=k(ks,[["__scopeId","data-v-8177390d"]]);function Be(){const{theme:o,frontmatter:e}=L(),t=Ve([]),n=g(()=>t.value.length>0);return ee(()=>{t.value=me(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const bs=o=>(B("data-v-0e80814c"),o=o(),H(),o),gs=bs(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),ys={class:"header"},Ps={class:"outline"},Ls=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=L(),n=T(!1),s=T(0),i=T(),u=T();Je(i,()=>{n.value=!1}),le("Escape",()=>{n.value=!1}),ee(()=>{n.value=!1});function h(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(P){P.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),Ye(()=>{n.value=!1}))}function $(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(P,y)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:we({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[P.headers.length>0?(a(),c("button",{key:0,onClick:h,class:N({open:n.value})},[D(S(r(Ae)(r(t)))+" ",1),gs],2)):(a(),c("button",{key:1,onClick:$},S(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:p},[v("div",ys,[v("a",{class:"top-link",href:"#",onClick:$},S(r(t).returnToTopLabel||"Return to top"),1)]),v("div",Ps,[m(Ce,{headers:P.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vs=k(Ls,[["__scopeId","data-v-0e80814c"]]),Ss=o=>(B("data-v-71c9795f"),o=o(),H(),o),ws={class:"container"},Ts=["aria-expanded"],Is=Ss(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Ns={class:"menu-text"},Ms=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:n}=O(),{headers:s}=Be(),{y:i}=Te(),u=T(0);j(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ee(()=>{s.value=me(t.value.outline??e.value.outline)});const h=g(()=>s.value.length===0),p=g(()=>h.value&&!n.value),$=g(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:h.value,fixed:p.value}));return(P,y)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N($.value)},[v("div",ws,[r(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":P.open,"aria-controls":"VPSidebarNav",onClick:y[0]||(y[0]=V=>P.$emit("open-menu"))},[Is,v("span",Ns,S(r(e).sidebarMenuLabel||"Menu"),1)],8,Ts)):f("",!0),m(Vs,{headers:r(s),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),As=k(Ms,[["__scopeId","data-v-71c9795f"]]);function Cs(){const o=T(!1);function e(){o.value=!0,window.addEventListener("resize",s)}function t(){o.value=!1,window.removeEventListener("resize",s)}function n(){o.value?t():e()}function s(){window.outerWidth>=768&&t()}const i=te();return z(()=>i.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Bs={},Hs={class:"VPSwitch",type:"button",role:"switch"},Es={class:"check"},Ds={key:0,class:"icon"};function Fs(o,e){return a(),c("button",Hs,[v("span",Es,[o.$slots.default?(a(),c("span",Ds,[l(o.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Os=k(Bs,[["render",Fs],["__scopeId","data-v-01a73279"]]),He=o=>(B("data-v-73aa4517"),o=o(),H(),o),Us=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Gs=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),js=_({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=L(),n=oe("toggle-appearance",()=>{e.value=!e.value}),s=g(()=>e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(i,u)=>(a(),b(Os,{title:s.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(n)},{default:d(()=>[Us,Gs]),_:1},8,["title","aria-checked","onClick"]))}}),ke=k(js,[["__scopeId","data-v-73aa4517"]]),zs={key:0,class:"VPNavBarAppearance"},Ks=_({__name:"VPNavBarAppearance",setup(o){const{site:e}=L();return(t,n)=>r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",zs,[m(ke)])):f("",!0)}}),Rs=k(Ks,[["__scopeId","data-v-3e006368"]]),$e=T();let Ee=!1,re=0;function qs(o){const e=T(!1);if(W){!Ee&&Ws(),re++;const t=z($e,n=>{var s,i,u;n===o.el.value||(s=o.el.value)!=null&&s.contains(n)?(e.value=!0,(i=o.onFocus)==null||i.call(o)):(e.value=!1,(u=o.onBlur)==null||u.call(o))});he(()=>{t(),re--,re||Js()})}return Qe(e)}function Ws(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Js(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Ys={class:"VPMenuLink"},Qs=_({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,n)=>(a(),c("div",Ys,[m(F,{class:N({active:r(G)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),se=k(Qs,[["__scopeId","data-v-ee903820"]]),Xs={class:"VPMenuGroup"},Zs={key:0,class:"title"},xs=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",Xs,[e.text?(a(),c("p",Zs,S(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),c(M,null,["link"in n?(a(),b(se,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),en=k(xs,[["__scopeId","data-v-40f63299"]]),tn={class:"VPMenu"},on={key:0,class:"items"},sn=_({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),c("div",tn,[e.items?(a(),c("div",on,[(a(!0),c(M,null,E(e.items,n=>(a(),c(M,{key:n.text},["link"in n?(a(),b(se,{key:0,item:n},null,8,["item"])):(a(),b(en,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),nn=k(sn,[["__scopeId","data-v-ffbcfee8"]]),an=o=>(B("data-v-0b4f1ce4"),o=o(),H(),o),rn=["aria-expanded","aria-label"],ln={key:0,class:"text"},cn=["innerHTML"],un=an(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),dn={key:1,class:"vpi-more-horizontal icon"},vn={class:"menu"},pn=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=T(!1),t=T();qs({el:t,onBlur:n});function n(){e.value=!1}return(s,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[s.button||s.icon?(a(),c("span",ln,[s.icon?(a(),c("span",{key:0,class:N([s.icon,"option-icon"])},null,2)):f("",!0),s.button?(a(),c("span",{key:1,innerHTML:s.button},null,8,cn)):f("",!0),un])):(a(),c("span",dn))],8,rn),v("div",vn,[m(nn,{items:s.items},{default:d(()=>[l(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),be=k(pn,[["__scopeId","data-v-0b4f1ce4"]]),hn=["href","aria-label","innerHTML"],fn=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=g(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,s)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,hn))}}),_n=k(fn,[["__scopeId","data-v-16775064"]]),mn={class:"VPSocialLinks"},kn=_({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),c("div",mn,[(a(!0),c(M,null,E(e.links,({link:n,icon:s,ariaLabel:i})=>(a(),b(_n,{key:n,icon:s,link:n,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ge=k(kn,[["__scopeId","data-v-2df58448"]]),$n={key:0,class:"group translations"},bn={class:"trans-title"},gn={key:1,class:"group"},yn={class:"item appearance"},Pn={class:"label"},Ln={class:"appearance-action"},Vn={key:2,class:"group"},Sn={class:"item social-links"},wn=_({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=L(),{localeLinks:n,currentLang:s}=J({correspondingLink:!0}),i=g(()=>n.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),b(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(n).length&&r(s).label?(a(),c("div",$n,[v("p",bn,S(r(s).label),1),(a(!0),c(M,null,E(r(n),p=>(a(),b(se,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",gn,[v("div",yn,[v("p",Pn,S(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",Ln,[m(ke)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Vn,[v("div",Sn,[m(ge,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Tn=k(wn,[["__scopeId","data-v-c2ef99ff"]]),In=o=>(B("data-v-083282e1"),o=o(),H(),o),Nn=["aria-expanded"],Mn=In(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),An=[Mn],Cn=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},An,10,Nn))}}),Bn=k(Cn,[["__scopeId","data-v-083282e1"]]),Hn=["innerHTML"],En=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,n)=>(a(),b(F,{class:N({VPNavBarMenuLink:!0,active:r(G)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Hn)]),_:1},8,["class","href","target","rel"]))}}),Dn=k(En,[["__scopeId","data-v-145010f5"]]),Fn=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=L(),n=i=>"link"in i?G(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(n),s=g(()=>n(e.item));return(i,u)=>(a(),b(be,{class:N({VPNavBarMenuGroup:!0,active:r(G)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||s.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),On=o=>(B("data-v-e668ad5e"),o=o(),H(),o),Un={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Gn=On(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),jn=_({__name:"VPNavBarMenu",setup(o){const{theme:e}=L();return(t,n)=>r(e).nav?(a(),c("nav",Un,[Gn,(a(!0),c(M,null,E(r(e).nav,s=>(a(),c(M,{key:s.text},["link"in s?(a(),b(Dn,{key:0,item:s},null,8,["item"])):(a(),b(Fn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}}),zn=k(jn,[["__scopeId","data-v-e668ad5e"]]);function Kn(o){const{localeIndex:e,theme:t}=L();function n(s){var A,C,I;const i=s.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((I=(C=u.locales)==null?void 0:C[e.value])==null?void 0:I.translations)||null,$=h&&u.translations||null;let P=p,y=$,V=o;const w=i.pop();for(const Y of i){let U=null;const R=V==null?void 0:V[Y];R&&(U=V=R);const ne=y==null?void 0:y[Y];ne&&(U=y=ne);const ae=P==null?void 0:P[Y];ae&&(U=P=ae),R||(V=U),ne||(y=U),ae||(P=U)}return(P==null?void 0:P[w])??(y==null?void 0:y[w])??(V==null?void 0:V[w])??""}return n}const Rn=["aria-label"],qn={class:"DocSearch-Button-Container"},Wn=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Jn={class:"DocSearch-Button-Placeholder"},Yn=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ye=_({__name:"VPNavBarSearchButton",setup(o){const t=Kn({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qn,[Wn,v("span",Jn,S(r(t)("button.buttonText")),1)]),Yn],8,Rn))}}),Qn={class:"VPNavBarSearch"},Xn={id:"local-search"},Zn={key:1,id:"docsearch"},xn=_({__name:"VPNavBarSearch",setup(o){const e=Xe(()=>Ze(()=>import("./VPLocalSearchBox.C8PSoRKj.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=L(),s=T(!1),i=T(!1);j(()=>{});function u(){s.value||(s.value=!0,setTimeout(h,16))}function h(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(y){const V=y.target,w=V.tagName;return V.isContentEditable||w==="INPUT"||w==="SELECT"||w==="TEXTAREA"}const $=T(!1);le("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),$.value=!0)}),le("/",y=>{p(y)||(y.preventDefault(),$.value=!0)});const P="local";return(y,V)=>{var w;return a(),c("div",Qn,[r(P)==="local"?(a(),c(M,{key:0},[$.value?(a(),b(r(e),{key:0,onClose:V[0]||(V[0]=A=>$.value=!1)})):f("",!0),v("div",Xn,[m(ye,{onClick:V[1]||(V[1]=A=>$.value=!0)})])],64)):r(P)==="algolia"?(a(),c(M,{key:1},[s.value?(a(),b(r(t),{key:0,algolia:((w=r(n).search)==null?void 0:w.options)??r(n).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Zn,[m(ye,{onClick:u})]))],64)):f("",!0)])}}}),ea=_({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=L();return(t,n)=>r(e).socialLinks?(a(),b(ge,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),ta=k(ea,[["__scopeId","data-v-faebd6c0"]]),oa=["href","rel","target"],sa={key:1},na={key:2},aa=_({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=L(),{hasSidebar:n}=O(),{currentLang:s}=J(),i=g(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=g(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=g(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,$)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(n)}])},[v("a",{class:"title",href:i.value??r(fe)(r(s).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),b(Z,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",sa,S(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,S(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,oa)],2))}}),ra=k(aa,[["__scopeId","data-v-0aa328a5"]]),ia={class:"items"},la={class:"title"},ca=_({__name:"VPNavBarTranslations",setup(o){const{theme:e}=L(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(s,i)=>r(t).length&&r(n).label?(a(),b(be,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",ia,[v("p",la,S(r(n).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),b(se,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),ua=k(ca,[["__scopeId","data-v-4daa7ff0"]]),da=o=>(B("data-v-5117da3f"),o=o(),H(),o),va={class:"wrapper"},pa={class:"container"},ha={class:"title"},fa={class:"content"},_a={class:"content-body"},ma=da(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),ka=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{y:e}=Te(),{hasSidebar:t}=O(),{hasLocalNav:n}=Be(),{frontmatter:s}=L(),i=T({});return Le(()=>{i.value={"has-sidebar":t.value,"has-local-nav":n.value,top:s.value.layout==="home"&&e.value===0}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",va,[v("div",pa,[v("div",ha,[m(ra,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",fa,[v("div",_a,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(xn,{class:"search"}),m(zn,{class:"menu"}),m(ua,{class:"translations"}),m(Rs,{class:"appearance"}),m(ta,{class:"social-links"}),m(Tn,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(Bn,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),ma],2))}}),$a=k(ka,[["__scopeId","data-v-5117da3f"]]),ba={key:0,class:"VPNavScreenAppearance"},ga={class:"text"},ya=_({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=L();return(n,s)=>r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",ba,[v("p",ga,S(r(t).darkModeSwitchLabel||"Appearance"),1),m(ke)])):f("",!0)}}),Pa=k(ya,[["__scopeId","data-v-56e5c411"]]),La=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=oe("close-screen");return(t,n)=>(a(),b(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Va=k(La,[["__scopeId","data-v-4fb775eb"]]),Sa=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=oe("close-screen");return(t,n)=>(a(),b(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=k(Sa,[["__scopeId","data-v-bfe75966"]]),wa={class:"VPNavScreenMenuGroupSection"},Ta={key:0,class:"title"},Ia=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",wa,[e.text?(a(),c("p",Ta,S(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),b(Fe,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Na=k(Ia,[["__scopeId","data-v-22878b61"]]),Ma=o=>(B("data-v-d1c52add"),o=o(),H(),o),Aa=["aria-controls","aria-expanded"],Ca=["innerHTML"],Ba=Ma(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ha=["id"],Ea={key:1,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=T(!1),n=g(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:s},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ca),Ba],8,Aa),v("div",{id:n.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:h.text},["link"in h?(a(),c("div",{key:h.text,class:"item"},[m(Fe,{item:h},null,8,["item"])])):(a(),c("div",Ea,[m(Na,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ha)],2))}}),Fa=k(Da,[["__scopeId","data-v-d1c52add"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(o){const{theme:e}=L();return(t,n)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,s=>(a(),c(M,{key:s.text},["link"in s?(a(),b(Va,{key:0,item:s},null,8,["item"])):(a(),b(Fa,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=L();return(t,n)=>r(e).socialLinks?(a(),b(ge,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=o=>(B("data-v-c5becc9d"),o=o(),H(),o),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Ka={class:"list"},Ra=_({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=T(!1);function s(){n.value=!n.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:n.value}])},[v("button",{class:"title",onClick:s},[ja,D(" "+S(r(t).label)+" ",1),za]),v("ul",Ka,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[D(S(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),qa=k(Ra,[["__scopeId","data-v-c5becc9d"]]),Wa={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=T(null),t=Ie(W?document.body:null);return(n,s)=>(a(),b(ve,{name:"fade",onEnter:s[0]||(s[0]=i=>t.value=!0),onAfterLeave:s[1]||(s[1]=i=>t.value=!1)},{default:d(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Wa,[l(n.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(qa,{class:"translations"}),m(Pa,{class:"appearance"}),m(Ga,{class:"social-links"}),l(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=k(Ja,[["__scopeId","data-v-73ae24e7"]]),Qa={key:0,class:"VPNav"},Xa=_({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Cs(),{frontmatter:s}=L(),i=g(()=>s.value.navbar!==!1);return Ne("close-screen",t),x(()=>{W&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Qa,[m($a,{"is-screen-open":r(e),onToggleScreen:r(n)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=k(Xa,[["__scopeId","data-v-f2d5ab49"]]),Ue=o=>(B("data-v-27ae58b8"),o=o(),H(),o),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),or=[tr],sr={key:1,class:"items"},nr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=Pt(g(()=>e.item)),$=g(()=>h.value?"section":"div"),P=g(()=>s.value?"a":"div"),y=g(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=g(()=>s.value?void 0:"button"),w=g(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":s.value},{"is-active":i.value},{"has-active":u.value}]);function A(I){"key"in I&&I.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(I,Y)=>{const U=K("VPSidebarItem",!0);return a(),b(q($.value),{class:N(["VPSidebarItem",w.value])},{default:d(()=>[I.item.text?(a(),c("div",Q({key:0,class:"item",role:V.value},et(I.item.items?{click:A,keydown:A}:{},!0),{tabindex:I.item.items&&0}),[er,I.item.link?(a(),b(F,{key:0,tag:P.value,class:"link",href:I.item.link,rel:I.item.rel,target:I.item.target},{default:d(()=>[(a(),b(q(y.value),{class:"text",innerHTML:I.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),b(q(y.value),{key:1,class:"text",innerHTML:I.item.text},null,8,["innerHTML"])),I.item.collapsed!=null?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:xe(C,["enter"]),tabindex:"0"},or,32)):f("",!0)],16,xa)):f("",!0),I.item.items&&I.item.items.length?(a(),c("div",sr,[I.depth<5?(a(!0),c(M,{key:0},E(I.item.items,R=>(a(),b(U,{key:R.text,item:R,depth:I.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=k(nr,[["__scopeId","data-v-27ae58b8"]]),Ge=o=>(B("data-v-50a598ae"),o=o(),H(),o),rr=Ge(()=>v("div",{class:"curtain"},null,-1)),ir={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},lr=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),cr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=O(),n=o,s=T(null),i=Ie(W?document.body:null);return z([n,s],()=>{var u;n.open?(i.value=!0,(u=s.value)==null||u.focus()):i.value=!1},{immediate:!0,flush:"post"}),(u,h)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:s,onClick:h[0]||(h[0]=tt(()=>{},["stop"]))},[rr,v("nav",ir,[lr,l(u.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),c(M,null,E(r(e),p=>(a(),c("div",{key:p.text,class:"group"},[m(ar,{item:p,depth:0},null,8,["item"])]))),128)),l(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ur=k(cr,[["__scopeId","data-v-50a598ae"]]),dr=_({__name:"VPSkipLink",setup(o){const e=te(),t=T();z(()=>e.path,()=>t.value.focus());function n({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),vr=k(dr,[["__scopeId","data-v-f8e4fa18"]]),pr=_({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=O(),s=te();z(()=>s.path,n),yt(e,n);const{frontmatter:i}=L(),u=ot(),h=g(()=>!!u["home-hero-image"]);return Ne("hero-image-slot-exists",h),(p,$)=>{const P=K("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(vr),m(it,{class:"backdrop",show:r(e),onClick:r(n)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(As,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(ur,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(hs,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m($s),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),b(P,{key:1}))}}}),hr=k(pr,[["__scopeId","data-v-730d874e"]]),Pe={Layout:hr,enhanceApp:({app:o})=>{o.component("Badge",nt)}},_r={extends:Pe,Layout:()=>st(Pe.Layout,null,{}),enhanceApp({app:o,router:e,siteData:t}){}};export{_r as R,Kn as c,L as u}; +import{d as _,o as a,c,r as l,n as N,a as D,t as S,b,w as d,T as ve,e as f,_ as k,u as je,i as ze,f as Ke,g as pe,h as T,j as W,k as g,l as j,m as v,p as r,q as B,s as H,v as G,x as ie,y as z,z as x,A as he,B as Le,C as Re,D as qe,E as K,F as M,G as E,H as Ve,I as ee,J as m,K as q,L as Se,M as te,N as Q,O as oe,P as We,Q as we,R as Je,S as le,U as Ye,V as Te,W as Qe,X as Xe,Y as Ze,Z as Ie,$ as Ne,a0 as xe,a1 as et,a2 as tt,a3 as ot,a4 as st}from"./framework.BjaKWcf5.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[D(S(e.text),1)])],2))}}),at={key:0,class:"VPBackdrop"},rt=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),b(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",at)):f("",!0)]),_:1}))}}),it=k(rt,[["__scopeId","data-v-8169aaa8"]]),L=je;function lt(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ce(o){return/^\//.test(o)?o:`/${o}`}function fe(o){const{pathname:e,search:t,hash:n,protocol:s}=new URL(o,"http://a.com");if(ze(o)||o.startsWith("#")||!s.startsWith("http")||!Ke(e))return o;const{site:i}=L(),u=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${n}`);return pe(u)}const _e=T(W?location.hash:"");W&&window.addEventListener("hashchange",()=>{_e.value=location.hash});function J({removeCurrent:o=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:s,theme:i}=L(),u=g(()=>{var p,$;return{label:(p=t.value.locales[n.value])==null?void 0:p.label,link:(($=t.value.locales[n.value])==null?void 0:$.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:g(()=>Object.entries(t.value.locales).flatMap(([p,$])=>o&&u.value.label===$.label?[]:{text:$.label,link:ct($.link||(p==="root"?"/":`/${p}/`),i.value.i18nRouting!==!1&&e,s.value.relativePath.slice(u.value.link.length-1),!t.value.cleanUrls)+_e.value})),currentLang:u}}function ct(o,e,t,n){return e?o.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const ut=o=>(B("data-v-691c81f7"),o=o(),H(),o),dt={class:"NotFound"},vt={class:"code"},pt={class:"title"},ht=ut(()=>v("div",{class:"divider"},null,-1)),ft={class:"quote"},_t={class:"action"},mt=["href","aria-label"],kt=_({__name:"NotFound",setup(o){const{site:e,theme:t}=L(),{localeLinks:n}=J({removeCurrent:!1}),s=T("/");return j(()=>{var u;const i=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((u=n.value.find(({link:h})=>h.startsWith(i)))==null?void 0:u.link)||n.value[0].link)}),(i,u)=>{var h,p,$,P,y;return a(),c("div",dt,[v("p",vt,S(((h=r(t).notFound)==null?void 0:h.code)??"404"),1),v("h1",pt,S(((p=r(t).notFound)==null?void 0:p.title)??"PAGE NOT FOUND"),1),ht,v("blockquote",ft,S((($=r(t).notFound)==null?void 0:$.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",_t,[v("a",{class:"link",href:r(pe)(s.value),"aria-label":((P=r(t).notFound)==null?void 0:P.linkLabel)??"go to home"},S(((y=r(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,mt)])])}}}),$t=k(kt,[["__scopeId","data-v-691c81f7"]]);function Me(o,e){if(Array.isArray(o))return X(o);if(o==null)return[];e=ce(e);const t=Object.keys(o).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>e.startsWith(ce(s))),n=t?o[t]:[];return Array.isArray(n)?X(n):X(n.items,n.base)}function bt(o){const e=[];let t=0;for(const n in o){const s=o[n];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function gt(o){const e=[];function t(n){for(const s of n)s.text&&s.link&&e.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&t(s.items)}return t(o),e}function ue(o,e){return Array.isArray(e)?e.some(t=>ue(o,t)):G(o,e.link)?!0:e.items?ue(o,e.items):!1}function X(o,e){return[...o].map(t=>{const n={...t},s=n.base||e;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=X(n.items,s)),n})}function O(){const{frontmatter:o,page:e,theme:t}=L(),n=ie("(min-width: 960px)"),s=T(!1),i=g(()=>{const C=t.value.sidebar,I=e.value.relativePath;return C?Me(C,I):[]}),u=T(i.value);z(i,(C,I)=>{JSON.stringify(C)!==JSON.stringify(I)&&(u.value=i.value)});const h=g(()=>o.value.sidebar!==!1&&u.value.length>0&&o.value.layout!=="home"),p=g(()=>$?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),$=g(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),P=g(()=>h.value&&n.value),y=g(()=>h.value?bt(u.value):[]);function V(){s.value=!0}function w(){s.value=!1}function A(){s.value?w():V()}return{isOpen:s,sidebar:u,sidebarGroups:y,hasSidebar:h,hasAside:$,leftAside:p,isSidebarEnabled:P,open:V,close:w,toggle:A}}function yt(o,e){let t;x(()=>{t=o.value?document.activeElement:void 0}),j(()=>{window.addEventListener("keyup",n)}),he(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function Pt(o){const{page:e}=L(),t=T(!1),n=g(()=>o.value.collapsed!=null),s=g(()=>!!o.value.link),i=T(!1),u=()=>{i.value=G(e.value.relativePath,o.value.link)};z([e,o,_e],u),j(u);const h=g(()=>i.value?!0:o.value.items?ue(e.value.relativePath,o.value.items):!1),p=g(()=>!!(o.value.items&&o.value.items.length));x(()=>{t.value=!!(n.value&&o.value.collapsed)}),Le(()=>{(i.value||h.value)&&(t.value=!1)});function $(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:h,hasChildren:p,toggle:$}}function Lt(){const{hasSidebar:o}=O(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:g(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const de=[];function Ae(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function me(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:Vt(t),link:"#"+t.id,level:n}});return St(e,o)}function Vt(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function St(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(u=>u.level>=n&&u.level<=s),de.length=0;for(const{element:u,link:h}of o)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const $=o[p];if($.level{requestAnimationFrame(i),window.addEventListener("scroll",n)}),Re(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",n)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,$=document.body.offsetHeight,P=Math.abs(h+p-$)<1,y=de.map(({element:w,link:A})=>({link:A,top:Tt(w)})).filter(({top:w})=>!Number.isNaN(w)).sort((w,A)=>w.top-A.top);if(!y.length){u(null);return}if(h<1){u(null);return}if(P){u(y[y.length-1].link);return}let V=null;for(const{link:w,top:A}of y){if(A>h+qe()+4)break;V=w}u(V)}function u(h){s&&s.classList.remove("active"),h==null?s=null:s=o.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=s;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function Tt(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const It=["href","title"],Nt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(t,n)=>{const s=K("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},S(h),9,It),i!=null&&i.length?(a(),b(s,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=k(Nt,[["__scopeId","data-v-c98c4919"]]),Mt=o=>(B("data-v-e6bb35c5"),o=o(),H(),o),At={class:"content"},Ct={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Mt(()=>v("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Et=_({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=L(),n=Ve([]);ee(()=>{n.value=me(e.value.outline??t.value.outline)});const s=T(),i=T();return wt(s,i),(u,h)=>(a(),c("div",{class:N(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s,role:"navigation"},[v("div",At,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Ct,S(r(Ae)(r(t))),1),v("nav",Bt,[Ht,m(Ce,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Dt=k(Et,[["__scopeId","data-v-e6bb35c5"]]),Ft={class:"VPDocAsideCarbonAds"},Ot=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(a(),c("div",Ft,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ut=o=>(B("data-v-3e8aba0e"),o=o(),H(),o),Gt={class:"VPDocAside"},jt=Ut(()=>v("div",{class:"spacer"},null,-1)),zt=_({__name:"VPDocAside",setup(o){const{theme:e}=L();return(t,n)=>(a(),c("div",Gt,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(Dt),l(t.$slots,"aside-outline-after",{},void 0,!0),jt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),b(Ot,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Kt=k(zt,[["__scopeId","data-v-3e8aba0e"]]);function Rt(){const{theme:o,page:e}=L();return g(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let s;return typeof n=="function"?s=n(e.value):s=n.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function qt(){const{page:o,theme:e,frontmatter:t}=L();return g(()=>{var p,$,P,y,V,w,A,C;const n=Me(e.value.sidebar,o.value.relativePath),s=gt(n),i=s.findIndex(I=>G(o.value.relativePath,I.link)),u=((p=e.value.docFooter)==null?void 0:p.prev)===!1&&!t.value.prev||t.value.prev===!1,h=(($=e.value.docFooter)==null?void 0:$.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((P=s[i-1])==null?void 0:P.docFooterText)??((y=s[i-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((V=s[i-1])==null?void 0:V.link)},next:h?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((w=s[i+1])==null?void 0:w.docFooterText)??((A=s[i+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((C=s[i+1])==null?void 0:C.link)}}})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=g(()=>e.tag??(e.href?"a":"span")),n=g(()=>e.href&&Se.test(e.href));return(s,i)=>(a(),b(q(t.value),{class:N(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?r(fe)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:d(()=>[l(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Wt={class:"VPLastUpdated"},Jt=["datetime"],Yt=_({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,frontmatter:n,lang:s}=L(),i=g(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),u=g(()=>i.value.toISOString()),h=T("");return j(()=>{x(()=>{var p,$,P;h.value=new Intl.DateTimeFormat(($=(p=e.value.lastUpdated)==null?void 0:p.formatOptions)!=null&&$.forceLocale?s.value:void 0,((P=e.value.lastUpdated)==null?void 0:P.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(i.value)})}),(p,$)=>{var P;return a(),c("p",Wt,[D(S(((P=r(e).lastUpdated)==null?void 0:P.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:u.value},S(h.value),9,Jt)])}}}),Qt=k(Yt,[["__scopeId","data-v-06bc3f84"]]),Xt=o=>(B("data-v-303e5403"),o=o(),H(),o),Zt={key:0,class:"VPDocFooter"},xt={key:0,class:"edit-info"},eo={key:0,class:"edit-link"},to=Xt(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),oo={key:1,class:"last-updated"},so={key:1,class:"prev-next"},no={class:"pager"},ao=["innerHTML"],ro=["innerHTML"],io={class:"pager"},lo=["innerHTML"],co=["innerHTML"],uo=_({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=L(),s=Rt(),i=qt(),u=g(()=>e.value.editLink&&n.value.editLink!==!1),h=g(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),p=g(()=>u.value||h.value||i.value.prev||i.value.next);return($,P)=>{var y,V,w,A;return p.value?(a(),c("footer",Zt,[l($.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",xt,[u.value?(a(),c("div",eo,[m(F,{class:"edit-link-button",href:r(s).url,"no-icon":!0},{default:d(()=>[to,D(" "+S(r(s).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",oo,[m(Qt)])):f("",!0)])):f("",!0),(y=r(i).prev)!=null&&y.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",so,[v("div",no,[(w=r(i).prev)!=null&&w.link?(a(),b(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,ao),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,ro)]}),_:1},8,["href"])):f("",!0)]),v("div",io,[(A=r(i).next)!=null&&A.link?(a(),b(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,lo),v("span",{class:"title",innerHTML:r(i).next.text},null,8,co)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),vo=k(uo,[["__scopeId","data-v-303e5403"]]),po=o=>(B("data-v-532ee90d"),o=o(),H(),o),ho={class:"container"},fo=po(()=>v("div",{class:"aside-curtain"},null,-1)),_o={class:"aside-container"},mo={class:"aside-content"},ko={class:"content"},$o={class:"content-container"},bo={class:"main"},go=_({__name:"VPDoc",setup(o){const{theme:e}=L(),t=te(),{hasSidebar:n,hasAside:s,leftAside:i}=O(),u=g(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const $=K("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(n),"has-aside":r(s)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",ho,[r(s)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[fo,v("div",_o,[v("div",mo,[m(Kt,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",ko,[v("div",$o,[l(h.$slots,"doc-before",{},void 0,!0),v("main",bo,[m($,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(vo,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),yo=k(go,[["__scopeId","data-v-532ee90d"]]),Po=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=g(()=>e.href&&Se.test(e.href)),n=g(()=>e.tag||e.href?"a":"button");return(s,i)=>(a(),b(q(n.value),{class:N(["VPButton",[s.size,s.theme]]),href:s.href?r(fe)(s.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[D(S(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Lo=k(Po,[["__scopeId","data-v-7ad72123"]]),Vo=["src","alt"],So=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=K("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",Q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Vo)):(a(),c(M,{key:1},[m(n,Q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(n,Q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Z=k(So,[["__scopeId","data-v-3c8ddd5c"]]),wo=o=>(B("data-v-a7eb9db3"),o=o(),H(),o),To={class:"container"},Io={class:"main"},No={key:0,class:"name"},Mo=["innerHTML"],Ao=["innerHTML"],Co=["innerHTML"],Bo={key:0,class:"actions"},Ho={key:0,class:"image"},Eo={class:"image-container"},Do=wo(()=>v("div",{class:"image-bg"},null,-1)),Fo=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=oe("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",To,[v("div",Io,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",No,[v("span",{innerHTML:t.name,class:"clip"},null,8,Mo)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ao)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Co)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Bo,[(a(!0),c(M,null,E(t.actions,s=>(a(),c("div",{key:s.link,class:"action"},[m(Lo,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Ho,[v("div",Eo,[Do,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),b(Z,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Oo=k(Fo,[["__scopeId","data-v-a7eb9db3"]]),Uo=_({__name:"VPHomeHero",setup(o){const{frontmatter:e}=L();return(t,n)=>r(e).hero?(a(),b(Oo,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Go=o=>(B("data-v-e81cbb22"),o=o(),H(),o),jo={class:"box"},zo={key:0,class:"icon"},Ko=["innerHTML"],Ro=["innerHTML"],qo=["innerHTML"],Wo={key:4,class:"link-text"},Jo={class:"link-text-value"},Yo=Go(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Qo=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),b(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",jo,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",zo,[m(Z,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),b(Z,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ko)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Ro),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,qo)):f("",!0),e.linkText?(a(),c("div",Wo,[v("p",Jo,[D(S(e.linkText)+" ",1),Yo])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xo=k(Qo,[["__scopeId","data-v-e81cbb22"]]),Zo={key:0,class:"VPFeatures"},xo={class:"container"},es={class:"items"},ts=_({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=g(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(a(),c("div",Zo,[v("div",xo,[v("div",es,[(a(!0),c(M,null,E(n.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Xo,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),os=k(ts,[["__scopeId","data-v-793554e1"]]),ss=_({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=L();return(t,n)=>r(e).features?(a(),b(os,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),ns=_({__name:"VPHomeContent",setup(o){const{width:e}=We({includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:we(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),as=k(ns,[["__scopeId","data-v-db194ff4"]]),rs={class:"VPHome"},is=_({__name:"VPHome",setup(o){const{frontmatter:e}=L();return(t,n)=>{const s=K("Content");return a(),c("div",rs,[l(t.$slots,"home-hero-before",{},void 0,!0),m(Uo,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(ss),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),b(as,{key:0},{default:d(()=>[m(s)]),_:1})):(a(),b(s,{key:1}))])}}}),ls=k(is,[["__scopeId","data-v-e3a3ce57"]]),cs={},us={class:"VPPage"};function ds(o,e){const t=K("Content");return a(),c("div",us,[l(o.$slots,"page-top"),m(t),l(o.$slots,"page-bottom")])}const vs=k(cs,[["render",ds]]),ps=_({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=L(),{hasSidebar:n}=O();return(s,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(n),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(s.$slots,"not-found",{key:0},()=>[m($t)],!0):r(t).layout==="page"?(a(),b(vs,{key:1},{"page-top":d(()=>[l(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),b(ls,{key:2},{"home-hero-before":d(()=>[l(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),b(q(r(t).layout),{key:3})):(a(),b(yo,{key:4},{"doc-top":d(()=>[l(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),hs=k(ps,[["__scopeId","data-v-97a14150"]]),fs={class:"container"},_s=["innerHTML"],ms=["innerHTML"],ks=_({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:n}=O();return(s,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(n)}])},[v("div",fs,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,_s)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ms)):f("",!0)])],2)):f("",!0)}}),$s=k(ks,[["__scopeId","data-v-8177390d"]]);function Be(){const{theme:o,frontmatter:e}=L(),t=Ve([]),n=g(()=>t.value.length>0);return ee(()=>{t.value=me(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const bs=o=>(B("data-v-0e80814c"),o=o(),H(),o),gs=bs(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),ys={class:"header"},Ps={class:"outline"},Ls=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=L(),n=T(!1),s=T(0),i=T(),u=T();Je(i,()=>{n.value=!1}),le("Escape",()=>{n.value=!1}),ee(()=>{n.value=!1});function h(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(P){P.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),Ye(()=>{n.value=!1}))}function $(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(P,y)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:we({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[P.headers.length>0?(a(),c("button",{key:0,onClick:h,class:N({open:n.value})},[D(S(r(Ae)(r(t)))+" ",1),gs],2)):(a(),c("button",{key:1,onClick:$},S(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:p},[v("div",ys,[v("a",{class:"top-link",href:"#",onClick:$},S(r(t).returnToTopLabel||"Return to top"),1)]),v("div",Ps,[m(Ce,{headers:P.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vs=k(Ls,[["__scopeId","data-v-0e80814c"]]),Ss=o=>(B("data-v-71c9795f"),o=o(),H(),o),ws={class:"container"},Ts=["aria-expanded"],Is=Ss(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Ns={class:"menu-text"},Ms=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:n}=O(),{headers:s}=Be(),{y:i}=Te(),u=T(0);j(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ee(()=>{s.value=me(t.value.outline??e.value.outline)});const h=g(()=>s.value.length===0),p=g(()=>h.value&&!n.value),$=g(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:h.value,fixed:p.value}));return(P,y)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N($.value)},[v("div",ws,[r(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":P.open,"aria-controls":"VPSidebarNav",onClick:y[0]||(y[0]=V=>P.$emit("open-menu"))},[Is,v("span",Ns,S(r(e).sidebarMenuLabel||"Menu"),1)],8,Ts)):f("",!0),m(Vs,{headers:r(s),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),As=k(Ms,[["__scopeId","data-v-71c9795f"]]);function Cs(){const o=T(!1);function e(){o.value=!0,window.addEventListener("resize",s)}function t(){o.value=!1,window.removeEventListener("resize",s)}function n(){o.value?t():e()}function s(){window.outerWidth>=768&&t()}const i=te();return z(()=>i.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Bs={},Hs={class:"VPSwitch",type:"button",role:"switch"},Es={class:"check"},Ds={key:0,class:"icon"};function Fs(o,e){return a(),c("button",Hs,[v("span",Es,[o.$slots.default?(a(),c("span",Ds,[l(o.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Os=k(Bs,[["render",Fs],["__scopeId","data-v-01a73279"]]),He=o=>(B("data-v-73aa4517"),o=o(),H(),o),Us=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Gs=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),js=_({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=L(),n=oe("toggle-appearance",()=>{e.value=!e.value}),s=g(()=>e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(i,u)=>(a(),b(Os,{title:s.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(n)},{default:d(()=>[Us,Gs]),_:1},8,["title","aria-checked","onClick"]))}}),ke=k(js,[["__scopeId","data-v-73aa4517"]]),zs={key:0,class:"VPNavBarAppearance"},Ks=_({__name:"VPNavBarAppearance",setup(o){const{site:e}=L();return(t,n)=>r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",zs,[m(ke)])):f("",!0)}}),Rs=k(Ks,[["__scopeId","data-v-3e006368"]]),$e=T();let Ee=!1,re=0;function qs(o){const e=T(!1);if(W){!Ee&&Ws(),re++;const t=z($e,n=>{var s,i,u;n===o.el.value||(s=o.el.value)!=null&&s.contains(n)?(e.value=!0,(i=o.onFocus)==null||i.call(o)):(e.value=!1,(u=o.onBlur)==null||u.call(o))});he(()=>{t(),re--,re||Js()})}return Qe(e)}function Ws(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Js(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Ys={class:"VPMenuLink"},Qs=_({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,n)=>(a(),c("div",Ys,[m(F,{class:N({active:r(G)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),se=k(Qs,[["__scopeId","data-v-ee903820"]]),Xs={class:"VPMenuGroup"},Zs={key:0,class:"title"},xs=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",Xs,[e.text?(a(),c("p",Zs,S(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),c(M,null,["link"in n?(a(),b(se,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),en=k(xs,[["__scopeId","data-v-40f63299"]]),tn={class:"VPMenu"},on={key:0,class:"items"},sn=_({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),c("div",tn,[e.items?(a(),c("div",on,[(a(!0),c(M,null,E(e.items,n=>(a(),c(M,{key:n.text},["link"in n?(a(),b(se,{key:0,item:n},null,8,["item"])):(a(),b(en,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),nn=k(sn,[["__scopeId","data-v-ffbcfee8"]]),an=o=>(B("data-v-0b4f1ce4"),o=o(),H(),o),rn=["aria-expanded","aria-label"],ln={key:0,class:"text"},cn=["innerHTML"],un=an(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),dn={key:1,class:"vpi-more-horizontal icon"},vn={class:"menu"},pn=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=T(!1),t=T();qs({el:t,onBlur:n});function n(){e.value=!1}return(s,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[s.button||s.icon?(a(),c("span",ln,[s.icon?(a(),c("span",{key:0,class:N([s.icon,"option-icon"])},null,2)):f("",!0),s.button?(a(),c("span",{key:1,innerHTML:s.button},null,8,cn)):f("",!0),un])):(a(),c("span",dn))],8,rn),v("div",vn,[m(nn,{items:s.items},{default:d(()=>[l(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),be=k(pn,[["__scopeId","data-v-0b4f1ce4"]]),hn=["href","aria-label","innerHTML"],fn=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=g(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,s)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,hn))}}),_n=k(fn,[["__scopeId","data-v-16775064"]]),mn={class:"VPSocialLinks"},kn=_({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),c("div",mn,[(a(!0),c(M,null,E(e.links,({link:n,icon:s,ariaLabel:i})=>(a(),b(_n,{key:n,icon:s,link:n,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ge=k(kn,[["__scopeId","data-v-2df58448"]]),$n={key:0,class:"group translations"},bn={class:"trans-title"},gn={key:1,class:"group"},yn={class:"item appearance"},Pn={class:"label"},Ln={class:"appearance-action"},Vn={key:2,class:"group"},Sn={class:"item social-links"},wn=_({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=L(),{localeLinks:n,currentLang:s}=J({correspondingLink:!0}),i=g(()=>n.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),b(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(n).length&&r(s).label?(a(),c("div",$n,[v("p",bn,S(r(s).label),1),(a(!0),c(M,null,E(r(n),p=>(a(),b(se,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",gn,[v("div",yn,[v("p",Pn,S(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",Ln,[m(ke)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Vn,[v("div",Sn,[m(ge,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Tn=k(wn,[["__scopeId","data-v-c2ef99ff"]]),In=o=>(B("data-v-083282e1"),o=o(),H(),o),Nn=["aria-expanded"],Mn=In(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),An=[Mn],Cn=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},An,10,Nn))}}),Bn=k(Cn,[["__scopeId","data-v-083282e1"]]),Hn=["innerHTML"],En=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,n)=>(a(),b(F,{class:N({VPNavBarMenuLink:!0,active:r(G)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Hn)]),_:1},8,["class","href","target","rel"]))}}),Dn=k(En,[["__scopeId","data-v-145010f5"]]),Fn=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=L(),n=i=>"link"in i?G(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(n),s=g(()=>n(e.item));return(i,u)=>(a(),b(be,{class:N({VPNavBarMenuGroup:!0,active:r(G)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||s.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),On=o=>(B("data-v-e668ad5e"),o=o(),H(),o),Un={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Gn=On(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),jn=_({__name:"VPNavBarMenu",setup(o){const{theme:e}=L();return(t,n)=>r(e).nav?(a(),c("nav",Un,[Gn,(a(!0),c(M,null,E(r(e).nav,s=>(a(),c(M,{key:s.text},["link"in s?(a(),b(Dn,{key:0,item:s},null,8,["item"])):(a(),b(Fn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}}),zn=k(jn,[["__scopeId","data-v-e668ad5e"]]);function Kn(o){const{localeIndex:e,theme:t}=L();function n(s){var A,C,I;const i=s.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((I=(C=u.locales)==null?void 0:C[e.value])==null?void 0:I.translations)||null,$=h&&u.translations||null;let P=p,y=$,V=o;const w=i.pop();for(const Y of i){let U=null;const R=V==null?void 0:V[Y];R&&(U=V=R);const ne=y==null?void 0:y[Y];ne&&(U=y=ne);const ae=P==null?void 0:P[Y];ae&&(U=P=ae),R||(V=U),ne||(y=U),ae||(P=U)}return(P==null?void 0:P[w])??(y==null?void 0:y[w])??(V==null?void 0:V[w])??""}return n}const Rn=["aria-label"],qn={class:"DocSearch-Button-Container"},Wn=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Jn={class:"DocSearch-Button-Placeholder"},Yn=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ye=_({__name:"VPNavBarSearchButton",setup(o){const t=Kn({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qn,[Wn,v("span",Jn,S(r(t)("button.buttonText")),1)]),Yn],8,Rn))}}),Qn={class:"VPNavBarSearch"},Xn={id:"local-search"},Zn={key:1,id:"docsearch"},xn=_({__name:"VPNavBarSearch",setup(o){const e=Xe(()=>Ze(()=>import("./VPLocalSearchBox.DF88MtIQ.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=L(),s=T(!1),i=T(!1);j(()=>{});function u(){s.value||(s.value=!0,setTimeout(h,16))}function h(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(y){const V=y.target,w=V.tagName;return V.isContentEditable||w==="INPUT"||w==="SELECT"||w==="TEXTAREA"}const $=T(!1);le("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),$.value=!0)}),le("/",y=>{p(y)||(y.preventDefault(),$.value=!0)});const P="local";return(y,V)=>{var w;return a(),c("div",Qn,[r(P)==="local"?(a(),c(M,{key:0},[$.value?(a(),b(r(e),{key:0,onClose:V[0]||(V[0]=A=>$.value=!1)})):f("",!0),v("div",Xn,[m(ye,{onClick:V[1]||(V[1]=A=>$.value=!0)})])],64)):r(P)==="algolia"?(a(),c(M,{key:1},[s.value?(a(),b(r(t),{key:0,algolia:((w=r(n).search)==null?void 0:w.options)??r(n).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Zn,[m(ye,{onClick:u})]))],64)):f("",!0)])}}}),ea=_({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=L();return(t,n)=>r(e).socialLinks?(a(),b(ge,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),ta=k(ea,[["__scopeId","data-v-faebd6c0"]]),oa=["href","rel","target"],sa={key:1},na={key:2},aa=_({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=L(),{hasSidebar:n}=O(),{currentLang:s}=J(),i=g(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=g(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=g(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,$)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(n)}])},[v("a",{class:"title",href:i.value??r(fe)(r(s).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),b(Z,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",sa,S(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,S(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,oa)],2))}}),ra=k(aa,[["__scopeId","data-v-0aa328a5"]]),ia={class:"items"},la={class:"title"},ca=_({__name:"VPNavBarTranslations",setup(o){const{theme:e}=L(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(s,i)=>r(t).length&&r(n).label?(a(),b(be,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",ia,[v("p",la,S(r(n).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),b(se,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),ua=k(ca,[["__scopeId","data-v-4daa7ff0"]]),da=o=>(B("data-v-5117da3f"),o=o(),H(),o),va={class:"wrapper"},pa={class:"container"},ha={class:"title"},fa={class:"content"},_a={class:"content-body"},ma=da(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),ka=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{y:e}=Te(),{hasSidebar:t}=O(),{hasLocalNav:n}=Be(),{frontmatter:s}=L(),i=T({});return Le(()=>{i.value={"has-sidebar":t.value,"has-local-nav":n.value,top:s.value.layout==="home"&&e.value===0}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",va,[v("div",pa,[v("div",ha,[m(ra,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",fa,[v("div",_a,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(xn,{class:"search"}),m(zn,{class:"menu"}),m(ua,{class:"translations"}),m(Rs,{class:"appearance"}),m(ta,{class:"social-links"}),m(Tn,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(Bn,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),ma],2))}}),$a=k(ka,[["__scopeId","data-v-5117da3f"]]),ba={key:0,class:"VPNavScreenAppearance"},ga={class:"text"},ya=_({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=L();return(n,s)=>r(e).appearance&&r(e).appearance!=="force-dark"?(a(),c("div",ba,[v("p",ga,S(r(t).darkModeSwitchLabel||"Appearance"),1),m(ke)])):f("",!0)}}),Pa=k(ya,[["__scopeId","data-v-56e5c411"]]),La=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=oe("close-screen");return(t,n)=>(a(),b(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Va=k(La,[["__scopeId","data-v-4fb775eb"]]),Sa=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=oe("close-screen");return(t,n)=>(a(),b(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[D(S(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=k(Sa,[["__scopeId","data-v-bfe75966"]]),wa={class:"VPNavScreenMenuGroupSection"},Ta={key:0,class:"title"},Ia=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",wa,[e.text?(a(),c("p",Ta,S(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),b(Fe,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Na=k(Ia,[["__scopeId","data-v-22878b61"]]),Ma=o=>(B("data-v-d1c52add"),o=o(),H(),o),Aa=["aria-controls","aria-expanded"],Ca=["innerHTML"],Ba=Ma(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ha=["id"],Ea={key:1,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=T(!1),n=g(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:s},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ca),Ba],8,Aa),v("div",{id:n.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:h.text},["link"in h?(a(),c("div",{key:h.text,class:"item"},[m(Fe,{item:h},null,8,["item"])])):(a(),c("div",Ea,[m(Na,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ha)],2))}}),Fa=k(Da,[["__scopeId","data-v-d1c52add"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(o){const{theme:e}=L();return(t,n)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,s=>(a(),c(M,{key:s.text},["link"in s?(a(),b(Va,{key:0,item:s},null,8,["item"])):(a(),b(Fa,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=L();return(t,n)=>r(e).socialLinks?(a(),b(ge,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=o=>(B("data-v-c5becc9d"),o=o(),H(),o),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Ka={class:"list"},Ra=_({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=T(!1);function s(){n.value=!n.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:n.value}])},[v("button",{class:"title",onClick:s},[ja,D(" "+S(r(t).label)+" ",1),za]),v("ul",Ka,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[D(S(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),qa=k(Ra,[["__scopeId","data-v-c5becc9d"]]),Wa={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=T(null),t=Ie(W?document.body:null);return(n,s)=>(a(),b(ve,{name:"fade",onEnter:s[0]||(s[0]=i=>t.value=!0),onAfterLeave:s[1]||(s[1]=i=>t.value=!1)},{default:d(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Wa,[l(n.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(qa,{class:"translations"}),m(Pa,{class:"appearance"}),m(Ga,{class:"social-links"}),l(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=k(Ja,[["__scopeId","data-v-73ae24e7"]]),Qa={key:0,class:"VPNav"},Xa=_({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Cs(),{frontmatter:s}=L(),i=g(()=>s.value.navbar!==!1);return Ne("close-screen",t),x(()=>{W&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Qa,[m($a,{"is-screen-open":r(e),onToggleScreen:r(n)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=k(Xa,[["__scopeId","data-v-f2d5ab49"]]),Ue=o=>(B("data-v-27ae58b8"),o=o(),H(),o),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),or=[tr],sr={key:1,class:"items"},nr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=Pt(g(()=>e.item)),$=g(()=>h.value?"section":"div"),P=g(()=>s.value?"a":"div"),y=g(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=g(()=>s.value?void 0:"button"),w=g(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":s.value},{"is-active":i.value},{"has-active":u.value}]);function A(I){"key"in I&&I.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(I,Y)=>{const U=K("VPSidebarItem",!0);return a(),b(q($.value),{class:N(["VPSidebarItem",w.value])},{default:d(()=>[I.item.text?(a(),c("div",Q({key:0,class:"item",role:V.value},et(I.item.items?{click:A,keydown:A}:{},!0),{tabindex:I.item.items&&0}),[er,I.item.link?(a(),b(F,{key:0,tag:P.value,class:"link",href:I.item.link,rel:I.item.rel,target:I.item.target},{default:d(()=>[(a(),b(q(y.value),{class:"text",innerHTML:I.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),b(q(y.value),{key:1,class:"text",innerHTML:I.item.text},null,8,["innerHTML"])),I.item.collapsed!=null?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:xe(C,["enter"]),tabindex:"0"},or,32)):f("",!0)],16,xa)):f("",!0),I.item.items&&I.item.items.length?(a(),c("div",sr,[I.depth<5?(a(!0),c(M,{key:0},E(I.item.items,R=>(a(),b(U,{key:R.text,item:R,depth:I.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=k(nr,[["__scopeId","data-v-27ae58b8"]]),Ge=o=>(B("data-v-50a598ae"),o=o(),H(),o),rr=Ge(()=>v("div",{class:"curtain"},null,-1)),ir={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},lr=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),cr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=O(),n=o,s=T(null),i=Ie(W?document.body:null);return z([n,s],()=>{var u;n.open?(i.value=!0,(u=s.value)==null||u.focus()):i.value=!1},{immediate:!0,flush:"post"}),(u,h)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:s,onClick:h[0]||(h[0]=tt(()=>{},["stop"]))},[rr,v("nav",ir,[lr,l(u.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),c(M,null,E(r(e),p=>(a(),c("div",{key:p.text,class:"group"},[m(ar,{item:p,depth:0},null,8,["item"])]))),128)),l(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ur=k(cr,[["__scopeId","data-v-50a598ae"]]),dr=_({__name:"VPSkipLink",setup(o){const e=te(),t=T();z(()=>e.path,()=>t.value.focus());function n({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),vr=k(dr,[["__scopeId","data-v-f8e4fa18"]]),pr=_({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=O(),s=te();z(()=>s.path,n),yt(e,n);const{frontmatter:i}=L(),u=ot(),h=g(()=>!!u["home-hero-image"]);return Ne("hero-image-slot-exists",h),(p,$)=>{const P=K("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(vr),m(it,{class:"backdrop",show:r(e),onClick:r(n)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(As,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(ur,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(hs,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m($s),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),b(P,{key:1}))}}}),hr=k(pr,[["__scopeId","data-v-730d874e"]]),Pe={Layout:hr,enhanceApp:({app:o})=>{o.component("Badge",nt)}},_r={extends:Pe,Layout:()=>st(Pe.Layout,null,{}),enhanceApp({app:o,router:e,siteData:t}){}};export{_r as R,Kn as c,L as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.C8PSoRKj.js","assets/chunks/framework.BjaKWcf5.js"] + __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.DF88MtIQ.js","assets/chunks/framework.BjaKWcf5.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/assets/docs_getstart_installation_index.md.BFxdhziH.js b/assets/docs_getstart_installation_index.md.BFxdhziH.js new file mode 100644 index 0000000..fa5b6fd --- /dev/null +++ b/assets/docs_getstart_installation_index.md.BFxdhziH.js @@ -0,0 +1,84 @@ +import{_ as s,c as n,o as a,a5 as p}from"./chunks/framework.BjaKWcf5.js";const u=JSON.parse('{"title":"代码结构","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/index.md","filePath":"docs/getstart/installation/index.md"}'),l={name:"docs/getstart/installation/index.md"},e=p(`

代码结构

模块划分

bbs-go采用前后端分离设计,一共分为三个模块:

  • server 使用go语言开发的服务端接口服务
  • site 使用node + nuxt开发的前台页面服务
  • admin 使用vue + arco 开发的后台管理系统

获取最新源码

TIP

请先确保会使用Git,Git使用教程:https://www.google.com

GitHub和Gitee上都有最新版本的源码,项目地址分别为:

以GitHub为例,执行下面命令将代码Clone到本地

shell
git clone git@github.com:mlogclub/bbs-go.git

目录结构

plain
.
+├── LICENSE
+├── README.md
+├── docker-compose.yml
+├── server                        // server服务端模块
+│   ├── Dockerfile
+│   ├── LICENSE
+│   ├── Makefile
+│   ├── README.md
+│   ├── bbs-go.docker.yaml
+│   ├── bbs-go.example.yaml
+│   ├── cmd
+│   │   ├── server
+│   │   └── test
+│   ├── go.mod
+│   ├── go.sum
+│   ├── internal
+│   │   ├── cache
+│   │   ├── controllers
+│   │   ├── middleware
+│   │   ├── models
+│   │   ├── pkg
+│   │   ├── repositories
+│   │   ├── scheduler
+│   │   ├── server
+│   │   ├── services
+│   │   └── spam
+│   └── start.sh
+├── site                          // site模块
+│   ├── Dockerfile
+│   ├── README.md
+│   ├── ecosystem.config.js
+│   ├── nuxt.config.ts
+│   ├── package.json
+│   ├── pnpm-lock.yaml
+│   ├── server
+│   │   └── tsconfig.json
+│   ├── src
+│   │   ├── app.vue
+│   │   ├── assets
+│   │   ├── components
+│   │   ├── composables
+│   │   ├── error.vue
+│   │   ├── layouts
+│   │   ├── middleware
+│   │   ├── pages
+│   │   ├── public
+│   │   ├── server
+│   │   └── stores
+│   └── tsconfig.json
+├── admin                         // admin模块
+│   ├── CNAME
+│   ├── Dockerfile
+│   ├── babel.config.js
+│   ├── commitlint.config.js
+│   ├── components.d.ts
+│   ├── config
+│   │   ├── plugin
+│   │   ├── utils
+│   │   ├── vite.config.base.ts
+│   │   ├── vite.config.dev.ts
+│   │   ├── vite.config.docker.ts
+│   │   └── vite.config.prod.ts
+│   ├── index.html
+│   ├── package.json
+│   ├── pnpm-lock.yaml
+│   ├── src
+│   │   ├── App.vue
+│   │   ├── api
+│   │   ├── assets
+│   │   ├── components
+│   │   ├── composables
+│   │   ├── directive
+│   │   ├── env.d.ts
+│   │   ├── hooks
+│   │   ├── layout
+│   │   ├── locale
+│   │   ├── main.ts
+│   │   ├── router
+│   │   ├── store
+│   │   ├── types
+│   │   ├── utils
+│   │   └── views
+└── └── tsconfig.json
`,12),i=[e];function c(t,o,r,d,h,g){return a(),n("div",null,i)}const b=s(l,[["render",c]]);export{u as __pageData,b as default}; diff --git a/assets/docs_getstart_installation_index.md.BFxdhziH.lean.js b/assets/docs_getstart_installation_index.md.BFxdhziH.lean.js new file mode 100644 index 0000000..4ee0432 --- /dev/null +++ b/assets/docs_getstart_installation_index.md.BFxdhziH.lean.js @@ -0,0 +1 @@ +import{_ as s,c as n,o as a,a5 as p}from"./chunks/framework.BjaKWcf5.js";const u=JSON.parse('{"title":"代码结构","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/index.md","filePath":"docs/getstart/installation/index.md"}'),l={name:"docs/getstart/installation/index.md"},e=p("",12),i=[e];function c(t,o,r,d,h,g){return a(),n("div",null,i)}const b=s(l,[["render",c]]);export{u as __pageData,b as default}; diff --git a/assets/docs_getstart_installation_index.md.D3_0LL9r.js b/assets/docs_getstart_installation_index.md.D3_0LL9r.js deleted file mode 100644 index f5d63da..0000000 --- a/assets/docs_getstart_installation_index.md.D3_0LL9r.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,c as a,o as n,m as e,a as s}from"./chunks/framework.BjaKWcf5.js";const b=JSON.parse('{"title":"手动安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/index.md","filePath":"docs/getstart/installation/index.md"}'),o={name:"docs/getstart/installation/index.md"},l=e("h1",{id:"手动安装",tabindex:"-1"},[s("手动安装 "),e("a",{class:"header-anchor",href:"#手动安装","aria-label":'Permalink to "手动安装"'},"​")],-1),i=e("p",null,"bbs-go采用前后端分离设计,一共分为三个模块:",-1),r=e("ul",null,[e("li",null,"server 使用go语言开发的服务端接口服务"),e("li",null,"site 使用node + nuxt开发的前台页面服务"),e("li",null,"admin 使用vue + arco 开发的后台管理系统")],-1),d=e("p",null,"接下来我们分别讲解下这三个模块的编译和部署。",-1),c=[l,i,r,d];function _(u,h,p,m,x,f){return n(),a("div",null,c)}const v=t(o,[["render",_]]);export{b as __pageData,v as default}; diff --git a/assets/docs_getstart_installation_index.md.D3_0LL9r.lean.js b/assets/docs_getstart_installation_index.md.D3_0LL9r.lean.js deleted file mode 100644 index f5d63da..0000000 --- a/assets/docs_getstart_installation_index.md.D3_0LL9r.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,c as a,o as n,m as e,a as s}from"./chunks/framework.BjaKWcf5.js";const b=JSON.parse('{"title":"手动安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/index.md","filePath":"docs/getstart/installation/index.md"}'),o={name:"docs/getstart/installation/index.md"},l=e("h1",{id:"手动安装",tabindex:"-1"},[s("手动安装 "),e("a",{class:"header-anchor",href:"#手动安装","aria-label":'Permalink to "手动安装"'},"​")],-1),i=e("p",null,"bbs-go采用前后端分离设计,一共分为三个模块:",-1),r=e("ul",null,[e("li",null,"server 使用go语言开发的服务端接口服务"),e("li",null,"site 使用node + nuxt开发的前台页面服务"),e("li",null,"admin 使用vue + arco 开发的后台管理系统")],-1),d=e("p",null,"接下来我们分别讲解下这三个模块的编译和部署。",-1),c=[l,i,r,d];function _(u,h,p,m,x,f){return n(),a("div",null,c)}const v=t(o,[["render",_]]);export{b as __pageData,v as default}; diff --git a/assets/docs_getstart_installation_server_install.md.CSRvfjXb.js b/assets/docs_getstart_installation_server_install.md.CSRvfjXb.js new file mode 100644 index 0000000..1e490b2 --- /dev/null +++ b/assets/docs_getstart_installation_server_install.md.CSRvfjXb.js @@ -0,0 +1 @@ +import{_ as e,c as a,o as s,a5 as t}from"./chunks/framework.BjaKWcf5.js";const u=JSON.parse('{"title":"Server 模块安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/server/install.md","filePath":"docs/getstart/installation/server/install.md"}'),i={name:"docs/getstart/installation/server/install.md"},l=t('

Server 模块安装

提示

开始之前请确保正确安装Go语言开发环境,并设置已经设置好环境变量。安装教程详见:https://www.google.com

安装依赖

server模块的依赖使用go mod进行管理,进入 server 目录,执行下面命令安装依赖:

shell
go mod download -x

编译

依赖安装成功后,执行下面命令进行编译

shell
go build

编译成功后,会在当前目录生成二进制可执行文件 bbs-go (Windows系统为bbs-go.exe

这个文件是可以执行的,但我们先不着急执行,因为还没有正确配置数据库等信息,接下来我们看如何配置。

配置

TODO

',12),o=[l];function r(n,h,c,d,p,k){return s(),a("div",null,o)}const _=e(i,[["render",r]]);export{u as __pageData,_ as default}; diff --git a/assets/docs_getstart_installation_server_install.md.CSRvfjXb.lean.js b/assets/docs_getstart_installation_server_install.md.CSRvfjXb.lean.js new file mode 100644 index 0000000..66e2e51 --- /dev/null +++ b/assets/docs_getstart_installation_server_install.md.CSRvfjXb.lean.js @@ -0,0 +1 @@ +import{_ as e,c as a,o as s,a5 as t}from"./chunks/framework.BjaKWcf5.js";const u=JSON.parse('{"title":"Server 模块安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/server/install.md","filePath":"docs/getstart/installation/server/install.md"}'),i={name:"docs/getstart/installation/server/install.md"},l=t("",12),o=[l];function r(n,h,c,d,p,k){return s(),a("div",null,o)}const _=e(i,[["render",r]]);export{u as __pageData,_ as default}; diff --git a/assets/docs_getstart_installation_server_install.md.D1g9fGu-.js b/assets/docs_getstart_installation_server_install.md.D1g9fGu-.js deleted file mode 100644 index b9c0d02..0000000 --- a/assets/docs_getstart_installation_server_install.md.D1g9fGu-.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as a,o as t,a5 as o}from"./chunks/framework.BjaKWcf5.js";const b=JSON.parse('{"title":"Server 模块安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/server/install.md","filePath":"docs/getstart/installation/server/install.md"}'),r={name:"docs/getstart/installation/server/install.md"},l=o('

Server 模块安装

clone代码

TODO

安装依赖

TODO

编译

TODO

配置

TODO

',9),s=[l];function n(c,i,d,h,_,u){return t(),a("div",null,s)}const q=e(r,[["render",n]]);export{b as __pageData,q as default}; diff --git a/assets/docs_getstart_installation_server_install.md.D1g9fGu-.lean.js b/assets/docs_getstart_installation_server_install.md.D1g9fGu-.lean.js deleted file mode 100644 index 459023e..0000000 --- a/assets/docs_getstart_installation_server_install.md.D1g9fGu-.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as a,o as t,a5 as o}from"./chunks/framework.BjaKWcf5.js";const b=JSON.parse('{"title":"Server 模块安装","description":"","frontmatter":{},"headers":[],"relativePath":"docs/getstart/installation/server/install.md","filePath":"docs/getstart/installation/server/install.md"}'),r={name:"docs/getstart/installation/server/install.md"},l=o("",9),s=[l];function n(c,i,d,h,_,u){return t(),a("div",null,s)}const q=e(r,[["render",n]]);export{b as __pageData,q as default}; diff --git a/docs/getstart/docker.html b/docs/getstart/docker.html index 63ad698..5ba9ff0 100644 --- a/docs/getstart/docker.html +++ b/docs/getstart/docker.html @@ -8,16 +8,16 @@ - + - + -
Skip to content

安装流程

提示

本安装流程介绍的是如何使用Docker快速安装bbs-go,在安装之前请确保您已经正确安装并启动Docker服务

安装步骤如下:

  1. 在你的电脑上创建目录,创建目录 bbs-go-docker,并进入该目录
  2. 准备SQL初始化脚本 在bbs-go-docker目录中创建文件:.docker-compose/mysql/docker-entrypoint-initdb.d/init.sql,该文件为SQL初始化脚本。SQL脚本内容请加QQ群获取:

  1. 创建docker-compose.yml文件
yml
version: '3.8'
+    
Skip to content

安装流程

提示

本安装流程介绍的是如何使用Docker快速安装bbs-go,在安装之前请确保您已经正确安装并启动Docker服务

安装步骤如下:

  1. 在你的电脑上创建目录,创建目录 bbs-go-docker,并进入该目录
  2. 准备SQL初始化脚本 在bbs-go-docker目录中创建文件:.docker-compose/mysql/docker-entrypoint-initdb.d/init.sql,该文件为SQL初始化脚本。SQL脚本内容请加QQ群获取:

  1. 创建docker-compose.yml文件
yml
version: '3.8'
 
 services:
   mysql:
@@ -80,8 +80,8 @@
     build:
       dockerfile: Dockerfile
       context: ./admin
-    restart: on-failure
  1. 使用docker-compose up命令启动启动服务

如果你没有权限执行docker-compose命令,你可能需要用到sudo

此命令将下载所需的Docker镜像(如果本地不存在),并启动容器。

  1. 服务启动成功,可通过浏览器访问服务,服务地址如下:

Released under the GPL License.

- + restart: on-failure
  1. 使用docker-compose up命令启动启动服务

如果你没有权限执行docker-compose命令,你可能需要用到sudo

此命令将下载所需的Docker镜像(如果本地不存在),并启动容器。

  1. 服务启动成功,可通过浏览器访问服务,服务地址如下:

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/getstart/installation/index.html b/docs/getstart/installation/index.html index 7c8704d..64030f6 100644 --- a/docs/getstart/installation/index.html +++ b/docs/getstart/installation/index.html @@ -3,22 +3,105 @@ - 手动安装 | BBS-GO + 代码结构 | BBS-GO - + - - + + -
Skip to content

手动安装

bbs-go采用前后端分离设计,一共分为三个模块:

  • server 使用go语言开发的服务端接口服务
  • site 使用node + nuxt开发的前台页面服务
  • admin 使用vue + arco 开发的后台管理系统

接下来我们分别讲解下这三个模块的编译和部署。

Released under the GPL License.

- +
Skip to content

代码结构

模块划分

bbs-go采用前后端分离设计,一共分为三个模块:

  • server 使用go语言开发的服务端接口服务
  • site 使用node + nuxt开发的前台页面服务
  • admin 使用vue + arco 开发的后台管理系统

获取最新源码

TIP

请先确保会使用Git,Git使用教程:https://www.google.com

GitHub和Gitee上都有最新版本的源码,项目地址分别为:

以GitHub为例,执行下面命令将代码Clone到本地

shell
git clone git@github.com:mlogclub/bbs-go.git

目录结构

plain
.
+├── LICENSE
+├── README.md
+├── docker-compose.yml
+├── server                        // server服务端模块
+│   ├── Dockerfile
+│   ├── LICENSE
+│   ├── Makefile
+│   ├── README.md
+│   ├── bbs-go.docker.yaml
+│   ├── bbs-go.example.yaml
+│   ├── cmd
+│   │   ├── server
+│   │   └── test
+│   ├── go.mod
+│   ├── go.sum
+│   ├── internal
+│   │   ├── cache
+│   │   ├── controllers
+│   │   ├── middleware
+│   │   ├── models
+│   │   ├── pkg
+│   │   ├── repositories
+│   │   ├── scheduler
+│   │   ├── server
+│   │   ├── services
+│   │   └── spam
+│   └── start.sh
+├── site                          // site模块
+│   ├── Dockerfile
+│   ├── README.md
+│   ├── ecosystem.config.js
+│   ├── nuxt.config.ts
+│   ├── package.json
+│   ├── pnpm-lock.yaml
+│   ├── server
+│   │   └── tsconfig.json
+│   ├── src
+│   │   ├── app.vue
+│   │   ├── assets
+│   │   ├── components
+│   │   ├── composables
+│   │   ├── error.vue
+│   │   ├── layouts
+│   │   ├── middleware
+│   │   ├── pages
+│   │   ├── public
+│   │   ├── server
+│   │   └── stores
+│   └── tsconfig.json
+├── admin                         // admin模块
+│   ├── CNAME
+│   ├── Dockerfile
+│   ├── babel.config.js
+│   ├── commitlint.config.js
+│   ├── components.d.ts
+│   ├── config
+│   │   ├── plugin
+│   │   ├── utils
+│   │   ├── vite.config.base.ts
+│   │   ├── vite.config.dev.ts
+│   │   ├── vite.config.docker.ts
+│   │   └── vite.config.prod.ts
+│   ├── index.html
+│   ├── package.json
+│   ├── pnpm-lock.yaml
+│   ├── src
+│   │   ├── App.vue
+│   │   ├── api
+│   │   ├── assets
+│   │   ├── components
+│   │   ├── composables
+│   │   ├── directive
+│   │   ├── env.d.ts
+│   │   ├── hooks
+│   │   ├── layout
+│   │   ├── locale
+│   │   ├── main.ts
+│   │   ├── router
+│   │   ├── store
+│   │   ├── types
+│   │   ├── utils
+│   │   └── views
+└── └── tsconfig.json

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/getstart/installation/server.html b/docs/getstart/installation/server.html index 8a64688..af1f38b 100644 --- a/docs/getstart/installation/server.html +++ b/docs/getstart/installation/server.html @@ -8,17 +8,17 @@ - + - + -
Skip to content

Server模块安装

Go语言开发环境安装

安装Go

请去官网 https://go.dev/dl/ 下载对应系统的Go语言安装包。推荐版本:go1.20 +

如何安装Go语言开发包、设置环境变量等,请自行Google,这里就不对赘述了。

配置Go Proxy

Released under the GPL License.

- +
Skip to content

Server模块安装

Go语言开发环境安装

安装Go

请去官网 https://go.dev/dl/ 下载对应系统的Go语言安装包。推荐版本:go1.20 +

如何安装Go语言开发包、设置环境变量等,请自行Google,这里就不对赘述了。

配置Go Proxy

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/getstart/installation/server/go-mod.html b/docs/getstart/installation/server/go-mod.html index e483daf..8ec9f41 100644 --- a/docs/getstart/installation/server/go-mod.html +++ b/docs/getstart/installation/server/go-mod.html @@ -8,16 +8,16 @@ - + - + -
Skip to content

Go mod使用帮助

Go mod 介绍

Go Modules 是 Go 语言官方的依赖管理系统,自 Go 1.11 版本起引入,并在 Go 1.13 版本中成为默认的依赖管理工具。其主要目标是解决项目依赖的版本管理问题,让开发者能够轻松地添加、更新和移除依赖。本文将向你介绍如何使用 Go Modules 管理你的 Go 项目。

Go mod 常用命令

  • go mod download: 下载依赖的module到本地cache
  • go mod edit: 编辑go.mod
  • go mod graph: 打印模块依赖图
  • go mod init: 在当前目录下初始化go.mod(就是会新建一个go.mod文件)
  • go mod tidy: 整理依赖关系,会添加丢失的module,删除不需要的module
  • go mod vender: 将依赖复制到vendor下
  • go mod verify: 校验依赖
  • go mod why: 解释为什么需要依赖

在新项目中使用

使用go mod并不要求你的项目源码放到$GOPATH下,所以你的新项目可以放到任意你喜欢的路径。在项目根目录下执行go mod init,会生成一个go.mod文件。然后你可以在其中增加你的依赖,如下:

go
module github.com/mlogclub/xxx
+    
Skip to content

Go mod使用帮助

Go mod 介绍

Go Modules 是 Go 语言官方的依赖管理系统,自 Go 1.11 版本起引入,并在 Go 1.13 版本中成为默认的依赖管理工具。其主要目标是解决项目依赖的版本管理问题,让开发者能够轻松地添加、更新和移除依赖。本文将向你介绍如何使用 Go Modules 管理你的 Go 项目。

Go mod 常用命令

  • go mod download: 下载依赖的module到本地cache
  • go mod edit: 编辑go.mod
  • go mod graph: 打印模块依赖图
  • go mod init: 在当前目录下初始化go.mod(就是会新建一个go.mod文件)
  • go mod tidy: 整理依赖关系,会添加丢失的module,删除不需要的module
  • go mod vender: 将依赖复制到vendor下
  • go mod verify: 校验依赖
  • go mod why: 解释为什么需要依赖

在新项目中使用

使用go mod并不要求你的项目源码放到$GOPATH下,所以你的新项目可以放到任意你喜欢的路径。在项目根目录下执行go mod init,会生成一个go.mod文件。然后你可以在其中增加你的依赖,如下:

go
module github.com/mlogclub/xxx
 
 go 1.12
 
@@ -25,7 +25,7 @@
     github.com/go-sql-driver/mysql v1.4.1
     .... 你的依赖类似这样,添加到这里,一行一条。
 )

然后执行go mod download,将依赖下载到本地。这些依赖并不是下载到你的项目目录下,而是会下载到$GOPATH/pkg/mod目录下,这样所有使用go mod的项目都可以共用。

在旧项目中使用

在旧项目中使用非常简单,只需要一下两个步骤:

  • go mod init: 在项目根目录下执行该命令,会在项目根目录下生成一个go.mod文件。
  • go mod tidy: 在项目根目录下执行该命令,go mod会自动分析你当前项目所需要的依赖,并且将他们下载下来。

如何升级依赖

运行 go get -u 将会升级到最新的次要版本或者修订版本(x.y.z, z是修订版本号y是次要版本号) 运行 go get -u=patch 将会升级到最新的修订版本 运行 go get package@version 将会升级到指定的版本

Go mod proxy 配置

众所周知的原因,国内是无法稳定的访问Google的服务,所以很多依赖无法成功下载,这个时候我们就要为go mod配置代理,目前国内优质的go mod代理推荐一下两个:

这里我推荐使用goproxy.cn,他是国内最早提供goproxy代理的服务,他的服务由七牛提供支持,七牛也是目前国内使用Go语言经验比较丰富的公司,我一直在使用goproxy.cn,很稳定。

下面我们执行一下命令来设置goproxy:

shell
go env -w GOPROXY=https://goproxy.cn,direct

注意:go env -w是不支持老版本go语言sdk的,如果你在执行该命令时报错,可以通过执行以下命令来设置GOPROXY

shell
export GOPROXY=https://goproxy.cn

配置完成后,我们执行 go env 命令可以看到效果,如下图:

Released under the GPL License.

- + \ No newline at end of file diff --git a/docs/getstart/installation/server/install-go.html b/docs/getstart/installation/server/install-go.html index 7e6fc54..a1aaf7e 100644 --- a/docs/getstart/installation/server/install-go.html +++ b/docs/getstart/installation/server/install-go.html @@ -8,17 +8,17 @@ - + - + -
Skip to content

安装Go

请去官网 https://go.dev/dl/ 下载对应系统的Go语言安装包。推荐版本:go1.20 +

如何安装Go语言开发包、设置环境变量等,请自行Google,这里就不对赘述了。

Released under the GPL License.

- +
Skip to content

安装Go

请去官网 https://go.dev/dl/ 下载对应系统的Go语言安装包。推荐版本:go1.20 +

如何安装Go语言开发包、设置环境变量等,请自行Google,这里就不对赘述了。

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/getstart/installation/server/install.html b/docs/getstart/installation/server/install.html index 8dd8cd1..447272b 100644 --- a/docs/getstart/installation/server/install.html +++ b/docs/getstart/installation/server/install.html @@ -8,17 +8,17 @@ - + - - + + -
Skip to content

Server 模块安装

clone代码

TODO

安装依赖

TODO

编译

TODO

配置

TODO

Released under the GPL License.

- +
Skip to content

Server 模块安装

提示

开始之前请确保正确安装Go语言开发环境,并设置已经设置好环境变量。安装教程详见:https://www.google.com

安装依赖

server模块的依赖使用go mod进行管理,进入 server 目录,执行下面命令安装依赖:

shell
go mod download -x

编译

依赖安装成功后,执行下面命令进行编译

shell
go build

编译成功后,会在当前目录生成二进制可执行文件 bbs-go (Windows系统为bbs-go.exe

这个文件是可以执行的,但我们先不着急执行,因为还没有正确配置数据库等信息,接下来我们看如何配置。

配置

TODO

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index b2bc0e3..dfbdafe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,17 +8,17 @@ - + - + -
Skip to content

功能介绍

概要

bbs-go 是一款基于Go语言研发的开源前后端分离精美小巧跨平台的社区系统。初期该项目仅用过学习和交流,开源之后越来越多的小伙伴儿开始喜欢和关注他,这也是我长期升级和维护的动力。

bbs-go 为前后端分离设计,后端接口服务使用简洁的Go语言进行开发,前端页面使用Vue.js进行开发。系统由三个模块组成:

  • server:go语言开发后端接口服务,为系统提供数据支撑
  • site:基于Nuxt.js开发的社区前台UI服务
  • admin:基于Vue.js开发的社区运营

功能

bbs-go功能简介

官网

技术栈

交流群/联系我

Released under the GPL License.

- +
Skip to content

功能介绍

概要

bbs-go 是一款基于Go语言研发的开源前后端分离精美小巧跨平台的社区系统。初期该项目仅用过学习和交流,开源之后越来越多的小伙伴儿开始喜欢和关注他,这也是我长期升级和维护的动力。

bbs-go 为前后端分离设计,后端接口服务使用简洁的Go语言进行开发,前端页面使用Vue.js进行开发。系统由三个模块组成:

  • server:go语言开发后端接口服务,为系统提供数据支撑
  • site:基于Nuxt.js开发的社区前台UI服务
  • admin:基于Vue.js开发的社区运营

功能

bbs-go功能简介

官网

技术栈

交流群/联系我

Released under the GPL License.

+ \ No newline at end of file diff --git a/docs/internal/initsql.html b/docs/internal/initsql.html index 4ec2e5d..50d2992 100644 --- a/docs/internal/initsql.html +++ b/docs/internal/initsql.html @@ -8,16 +8,16 @@ - + - + -
Skip to content

SQL初始化脚本

提示

初始化账号为:admin、密码为:123456

sql
USE bbsgo_db;
+    
Skip to content

SQL初始化脚本

提示

初始化账号为:admin、密码为:123456

sql
USE bbsgo_db;
 SET NAMES utf8mb4;
 -- 初始化用户表
 CREATE TABLE `t_user` (
@@ -378,7 +378,7 @@
 (20, 2, 4, (UNIX_TIMESTAMP(now()) * 1000)),
 (21, 2, 5, (UNIX_TIMESTAMP(now()) * 1000)),
 (22, 2, 9, (UNIX_TIMESTAMP(now()) * 1000));

Released under the GPL License.

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 0888f39..b773c89 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"docs_getstart_installation_server.md":"Tn8PMrRv","index.md":"Dkf2VCNa","docs_getstart_docker.md":"DGv0x3JT","readme.md":"-Y1-uMSl","docs_getstart_installation_server_install.md":"D1g9fGu-","docs_getstart_installation_server_go-mod.md":"cj2VoU3f","docs_getstart_installation_index.md":"D3_0LL9r","docs_index.md":"DAoJYKdi","docs_internal_initsql.md":"Bp82G-rl","docs_getstart_installation_server_install-go.md":"YK1dBgO3"} +{"docs_index.md":"DAoJYKdi","readme.md":"-Y1-uMSl","docs_getstart_installation_server_install-go.md":"YK1dBgO3","docs_getstart_installation_server_go-mod.md":"cj2VoU3f","docs_getstart_installation_server_install.md":"CSRvfjXb","docs_getstart_docker.md":"DGv0x3JT","docs_getstart_installation_server.md":"Tn8PMrRv","index.md":"Dkf2VCNa","docs_getstart_installation_index.md":"BFxdhziH","docs_internal_initsql.md":"Bp82G-rl"} diff --git a/index.html b/index.html index c488a98..3c29df8 100644 --- a/index.html +++ b/index.html @@ -8,17 +8,17 @@ - + - +
Skip to content

BBS-GO

简洁对话,高效互动,社区新体验!

基于 Go 语言的社区系统

BBS-GO

🎉🎉🎉 2024,从心出发,共筑简洁社区新时代!

联系我

Released under the GPL License.

- + \ No newline at end of file