var v=Object.defineProperty;var f=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var g=(n,t,e)=>t in n?v(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,m=(n,t)=>{for(var e in t||(t={}))b.call(t,e)&&g(n,e,t[e]);if(f)for(var e of f(t))$.call(t,e)&&g(n,e,t[e]);return n};import{_ as h,d as j,G as C,s as D,o as x,c as F}from"./entry-d195bacb.mjs";import{w as O}from"./index-c5cfdf94.mjs";const w=j({name:"Debug",setup(n,{expose:t}){t();const{page:e,navigation:c,theme:s}=C(),u={page:!0,navigation:!0,theme:!0},r=D(()=>{var a;const o=(a=s.value)==null?void 0:a.debug;if(typeof o=="object")return Object.assign(u,o);if(o===!0)return u;if(o===!1)return o}),i={page:"\u{1F4C3}",navigation:"\u{1F516}",theme:"\u{1F3A8}"};Object.entries({page:e,navigation:c,theme:s}).forEach(([o,a])=>{var l;!r.value||!((l=r.value)!=null&&l[o])||O(a,()=>{var d,_;console.log(o==="page"?`[${i[o]}] Page updates detected! ${`(${(d=a.value)==null?void 0:d.title})`||`(${(_=a.value)==null?void 0:_._id})`||""}`:`[${i[o]}] ${o[0].toUpperCase()+o.slice(1,o.length)} updates detected!`),console.dir(m({},a.value))},{debounce:100})});const p={page:e,navigation:c,theme:s,defaultConfig:u,config:r,icons:i};return Object.defineProperty(p,"__isScriptSetup",{enumerable:!1,value:!0}),p}}),B={style:{display:"none"}};function E(n,t,e,c,s,u){return x(),F("div",B)}var G=h(w,[["render",E]]);export{G as default};
