import{b as c,c as g,t as b,i as N,d as k,e as V}from"./er2hcepb.js";import{_ as w}from"./nlink.vue-nuag3fiz.js";import{_ as C}from"./ncheckbox.vue-hj8qatqi.js";import{k as h,b as p,M as d,$ as o,Q as f,U as t,a0 as n,a6 as u,u as B,W as L}from"./vendor/json-editor-vue-gv8v06ez.js";import"./vendor/unocss-f0kk6o39.js";import"./vendor/shiki-ml6g43ls.js";const T={flex:"~ auto col gap3","items-center":"","justify-center":"","text-center":""},$={"max-w-190":"","text-lg":""},D={mb6:"",op50:""},P={p4:""},S={flex:"~ col gap-2",mxa:""},Q=h({__name:"index",setup(U){const l=p(!0),s=p(!0),{showPanel:a}=c("ui");function _(){b.value=l.value,a.value==null&&s.value&&(a.value=!0),N.value=!1}return(j,e)=>{const v=k,i=w,x=V,m=C,y=g;return f(),d(y,{flex:"~ col",relative:"","h-screen":"","w-full":""},{default:o(()=>[t("div",T,[e[7]||(e[7]=t("p",{my2:"","text-3em":"","text-primary":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Nuxt DevTools! ",-1)),t("p",$,[n(v,{"mr-0.5":"","inline-block":"","h-5":"","translate-y--1.1":"","align-mid":""}),e[2]||(e[2]=u(" is a set of visual tools that help you to know your Nuxt app better, and enhance your development experience with Nuxt. Enjoy!")),e[3]||(e[3]=t("br",null,null,-1))]),t("p",D,[e[5]||(e[5]=u(" Learn more at ")),n(i,{href:"https://devtools.nuxt.com/",target:"_blank",rel:"noopener noreferrer",n:"primary"},{default:o(()=>e[4]||(e[4]=[u(" devtools.nuxt.com ")])),_:1})]),n(x,{to:"/modules/overview",n:"lg primary",onClick:_},{default:o(()=>e[6]||(e[6]=[t("span",null,"Get Started",-1)])),_:1})]),t("div",P,[t("div",S,[B(a)==null?(f(),d(m,{key:0,modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=r=>s.value=r),n:"green6"},{default:o(()=>e[8]||(e[8]=[t("span",{op50:""},"Show floating panel from now on",-1)])),_:1},8,["modelValue"])):L("",!0),n(m,{modelValue:l.value,"onUpdate:modelValue":e[1]||(e[1]=r=>l.value=r),n:"green6"},{default:o(()=>[e[9]||(e[9]=t("span",{op50:""},"Send anonymous statistics, help us improving DevTools",-1)),n(i,{href:"https://github.com/nuxt/devtools#anonymous-usage-analytics",target:"_blank",ml1:"",op35:"",textContent:"Learn more"})]),_:1},8,["modelValue"])])])]),_:1})}}});export{Q as default};
