module.exports=[86102,a=>{"use strict";var b=a.i(87924),c=a.i(31626),d=a.i(72131);function e(a,b){return 10+Math.min(a.tokens/600,10)+Math.min(1.2*b,4)}let f=`#version 300 es
in vec2 a_pos;
void main() { gl_Position = vec4(a_pos, 0.0, 1.0); }
`,g=`#version 300 es
precision highp float;
out vec4 fragColor;
uniform vec2 u_res;
uniform float u_time;
uniform float u_dark;

// Hash + noise primitives
float hash(vec2 p) {
  return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453);
}
float noise(vec2 p) {
  vec2 i = floor(p);
  vec2 f = fract(p);
  vec2 u = f * f * (3.0 - 2.0 * f);
  return mix(
    mix(hash(i), hash(i + vec2(1.0, 0.0)), u.x),
    mix(hash(i + vec2(0.0, 1.0)), hash(i + vec2(1.0, 1.0)), u.x),
    u.y
  );
}
float fbm(vec2 p) {
  float v = 0.0;
  float a = 0.5;
  for (int i = 0; i < 5; i++) {
    v += a * noise(p);
    p *= 2.02;
    a *= 0.5;
  }
  return v;
}

void main() {
  vec2 uv = (gl_FragCoord.xy - 0.5 * u_res) / min(u_res.x, u_res.y);
  float t = u_time * 0.04;

  // Domain-warped fbm for organic nebula / texture
  vec2 q = vec2(fbm(uv * 1.4 + t), fbm(uv * 1.4 - t * 0.7));
  vec2 r = vec2(
    fbm(uv * 2.0 + q + vec2(1.7, 9.2) + 0.15 * t),
    fbm(uv * 2.0 + q + vec2(8.3, 2.8) + 0.13 * t)
  );
  float f = fbm(uv * 1.7 + r);

  // Dark: deep warm brown nebula with amber highlights
  vec3 darkLow  = vec3(0.050, 0.035, 0.020);
  vec3 darkHigh = vec3(0.160, 0.095, 0.045);
  vec3 darkAccent = vec3(0.48, 0.28, 0.10) * smoothstep(0.55, 0.95, f);
  vec3 darkCol = mix(darkLow, darkHigh, clamp(f * 1.5, 0.0, 1.0)) + darkAccent * 0.38;

  // Light: warm cream paper texture (very subtle)
  vec3 lightLow  = vec3(0.961, 0.945, 0.918);
  vec3 lightHigh = vec3(0.933, 0.910, 0.870);
  vec3 lightCol = mix(lightLow, lightHigh, f * 0.45);

  // Vignette — gentle, theme-aware
  float vig = smoothstep(1.1, 0.25, length(uv));
  vec3 col = mix(lightCol, darkCol, u_dark);
  col *= mix(0.94, 1.0, vig);

  fragColor = vec4(col, 1.0);
}
`;function h({isDark:a}){let c=(0,d.useRef)(null),e=(0,d.useRef)(a);return e.current=a,(0,d.useEffect)(()=>{let a=c.current;if(!a)return;let b=a.getContext("webgl2",{antialias:!1,premultipliedAlpha:!1});if(!b)return;let d=(a,c)=>{let d=b.createShader(a);return b.shaderSource(d,c),b.compileShader(d),b.getShaderParameter(d,b.COMPILE_STATUS)||console.warn("shader err",b.getShaderInfoLog(d)),d},h=b.createProgram();b.attachShader(h,d(b.VERTEX_SHADER,f)),b.attachShader(h,d(b.FRAGMENT_SHADER,g)),b.linkProgram(h),b.useProgram(h);let i=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,i),b.bufferData(b.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),b.STATIC_DRAW);let j=b.getAttribLocation(h,"a_pos");b.enableVertexAttribArray(j),b.vertexAttribPointer(j,2,b.FLOAT,!1,0,0);let k=b.getUniformLocation(h,"u_res"),l=b.getUniformLocation(h,"u_time"),m=b.getUniformLocation(h,"u_dark"),n=+!!e.current,o=0,p=performance.now(),q=()=>{let c=Math.min(window.devicePixelRatio||1,2),d=a.clientWidth*c,e=a.clientHeight*c;(a.width!==d||a.height!==e)&&(a.width=d,a.height=e,b.viewport(0,0,d,e))},r=new ResizeObserver(q);r.observe(a),q();let s=()=>{let c=+!!e.current;n+=(c-n)*.08;let d=(performance.now()-p)/1e3;b.uniform2f(k,a.width,a.height),b.uniform1f(l,d),b.uniform1f(m,n),b.drawArrays(b.TRIANGLE_STRIP,0,4),o=requestAnimationFrame(s)};return s(),()=>{cancelAnimationFrame(o),r.disconnect()}},[]),(0,b.jsx)("canvas",{ref:c,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block",pointerEvents:"none"}})}function i({isDark:a}){let c=(0,d.useRef)(null),e=(0,d.useRef)(a);e.current=a;let f=(0,d.useRef)([]);if(0===f.current.length){let a,b=(a=41342,()=>{let b=a=a+0x6d2b79f5>>>0;return b=Math.imul(b^b>>>15,1|b),(((b^=b+Math.imul(b^b>>>7,61|b))^b>>>14)>>>0)/0x100000000});for(let a=0;a<140;a++)f.current.push({x:(b()-.5)*1200,y:(b()-.5)*1200,z:(b()-.5)*800})}return(0,d.useEffect)(()=>{let a=c.current;if(!a)return;let b=a.getContext("2d");if(!b)return;let d=0,g=performance.now(),h=0,i=performance.now(),j=()=>{let b=Math.min(window.devicePixelRatio||1,2),c=a.clientWidth,d=a.clientHeight,e=Math.floor(c*b),f=Math.floor(d*b);(a.width!==e||a.height!==f)&&(a.width=e,a.height=f)},k=new ResizeObserver(j);k.observe(a),j();let l=()=>{let c=Math.min(window.devicePixelRatio||1,2),j=performance.now(),k=Math.min(.05,(j-g)/1e3);g=j,h+=.05*k;let m=(j-i)/1e3,n=e.current,o=n?"rgba(232, 198, 144,":"rgba(106, 69, 40,",p=n?"rgba(245, 220, 175,":"rgba(80, 50, 28,";b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,a.width,a.height);let q=.5*a.width,r=.5*a.height,s=Math.min(a.width,a.height)/1400,t=Math.cos(h),u=Math.sin(h),v=f.current,w=[];for(let a=0;a<v.length;a++){let b=v[a],c=8*Math.sin(.3*m+.7*a),d=8*Math.cos(.27*m+1.3*a),e=b.x+c,f=b.y+d,g=b.z,h=e*t-g*u,i=g*t+e*u,j=900/(900+i);w.push({px:q+h*j*s,py:r+f*j*s,pz:i,scale:j,idx:a})}b.lineCap="round";let x=110*c;for(let a=0;a<w.length;a++)for(let d=a+1;d<w.length;d++){let e=w[a],f=w[d],g=e.px-f.px,h=e.py-f.py,i=g*g+h*h;if(i>x*x)continue;let j=1-Math.sqrt(i)/x,k=j*j*.18*((e.scale+f.scale)*.5);k<.012||(b.strokeStyle=o+k.toFixed(3)+")",b.lineWidth=.6*c,b.beginPath(),b.moveTo(e.px,e.py),b.lineTo(f.px,f.py),b.stroke())}for(let a of w)b.fillStyle=p+(.18*a.scale).toFixed(3)+")",b.beginPath(),b.arc(a.px,a.py,1.2*a.scale*c,0,2*Math.PI),b.fill();d=requestAnimationFrame(l)};return d=requestAnimationFrame(l),()=>{cancelAnimationFrame(d),k.disconnect()}},[]),(0,b.jsx)("canvas",{ref:c,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block",pointerEvents:"none",opacity:.9}})}function j({graph:a,layout:c,state:e,isDark:f,zoom:g,hoveredNode:h,onHover:i,onClick:l}){let m=(0,d.useRef)(null),n=(0,d.useRef)(e),o=(0,d.useRef)(c),p=(0,d.useRef)(a),q=(0,d.useRef)(h),r=(0,d.useRef)(g),s=(0,d.useRef)(f);n.current=e,o.current=c,p.current=a,q.current=h,r.current=g,s.current=f;let t=(0,d.useMemo)(()=>{let a=new Map;for(let b of c)a.set(b.name,b);return a},[c]),u=(0,d.useRef)(t);u.current=t;let v=(0,d.useRef)({x:0,y:0,hasMoved:!1}),w=(0,d.useRef)(new Map),x=(0,d.useRef)([]),y=(0,d.useCallback)((a,b)=>{let c=m.current;if(!c)return null;let d=c.getBoundingClientRect(),e=Math.min(window.devicePixelRatio||1,2),f=(a-d.left)*e,g=(b-d.top)*e,h=w.current;for(let a of[...o.current].sort((a,b)=>{let c=h.get(a.name),d=h.get(b.name);return(d?.pz??0)-(c?.pz??0)})){let b=h.get(a.name);if(!b)continue;let c=b.px-f,d=b.py-g,i=(a.r+4)*b.scale*e;if(c*c+d*d<=i*i)return a.name}return null},[]);(0,d.useEffect)(()=>{let a=m.current;if(!a)return;let b=a.getContext("2d");if(!b)return;let c=0,d=performance.now(),e=()=>{let b=Math.min(window.devicePixelRatio||1,2),c=a.clientWidth,d=a.clientHeight,e=Math.floor(c*b),f=Math.floor(d*b);(a.width!==e||a.height!==f)&&(a.width=e,a.height=f)},f=new ResizeObserver(e);f.observe(a),e();let g=performance.now(),h=0,i=0,j=0,l=()=>{let e=Math.min(window.devicePixelRatio||1,2),f=a.clientWidth,m=a.clientHeight,t=s.current,y=r.current,z=n.current,A=o.current,B=p.current,C=q.current,D=performance.now(),E=Math.min(.05,(D-g)/1e3);g=D;let F=(D-d)/1e3;h+=.15*E;let G=.5*a.width,H=.5*a.height,I=(v.current.x*e-G)/a.width*.8,J=(v.current.y*e-H)/a.height*.5;i+=(J-i)*.08,j+=(I-j)*.08;let K=h+j,L=i,M=Math.cos(K),N=Math.sin(K),O=Math.cos(L),P=Math.sin(L),Q=t?{soft:"#b89880",mid:"#e8c690",deep:"#f5d8a8"}:{soft:"#C4A98A",mid:"#9E6B47",deep:"#7a4d2e"},R=t?"rgba(255, 240, 215, 1)":"rgba(60, 35, 18, 1)",S=t?"rgba(220, 200, 170, ":"rgba(80, 50, 30, ",T=t?"rgba(245, 216, 168, ":"rgba(158, 107, 71, ",U=t?"rgba(232, 220, 200, 0.85)":"rgba(40, 30, 20, 0.75)",V=t?"rgba(252, 245, 225, 1)":"rgba(20, 15, 10, 0.98)",W=t?"rgba(0, 0, 0, 0.85)":"rgba(255, 252, 245, 0.9)";b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,a.width,a.height);let X=w.current;X.clear();let Y=Math.min(f,m)/800*y*e,Z=f*e*.5,$=m*e*.5;for(let a of A){let b=a.x*M-a.z*N,c=a.z*M+a.x*N,d=a.y*O-c*P,e=c*O+a.y*P,f=700/(700+e),g=Z+b*f*Y,h=$+d*f*Y;X.set(a.name,{px:g,py:h,pz:e,scale:f})}let _=null;if(C)for(let a of(_=new Set([C]),B.edges))a.from===C&&_.add(a.to),a.to===C&&_.add(a.from);let aa=[];for(let a=0;a<B.edges.length;a++){let b=B.edges[a];(z.reading.has(b.from)||z.reading.has(b.to))&&aa.push(a)}for(let a of aa)x.current.some(b=>b.edgeIdx===a)||x.current.push({edgeIdx:a,progress:0,speed:.5+.3*Math.random(),intensity:1});if(Math.random()<.7*E&&B.edges.length>0){let a=Math.floor(Math.random()*B.edges.length);x.current.push({edgeIdx:a,progress:0,speed:.4+.5*Math.random(),intensity:.7})}b.lineCap="round";for(let a=0;a<B.edges.length;a++){let c=B.edges[a],d=u.current.get(c.from),f=u.current.get(c.to);if(!d||!f)continue;let g=X.get(c.from),h=X.get(c.to);if(!g||!h)continue;let i=z.reading.has(c.from)||z.reading.has(c.to),j=!_||_.has(c.from)&&_.has(c.to),k=(i?.85:.35)*((g.scale+h.scale)*.5),l=j?k:.18*k,m=(g.px+h.px)*.5,n=(g.py+h.py)*.5,o=h.px-g.px,p=h.py-g.py,q=Math.hypot(o,p)||1,r=-p/q,s=o/q,t=Math.min(40,.08*q)*e,v=m+r*t,w=n+s*t;b.strokeStyle=(i?T:S)+l.toFixed(3)+")",b.lineWidth=(i?1.6:.9)*e,b.beginPath(),b.moveTo(g.px,g.py),b.quadraticCurveTo(v,w,h.px,h.py),b.stroke()}let ab=[];for(let a of x.current){let c=B.edges[a.edgeIdx];if(!c)continue;let d=X.get(c.from),f=X.get(c.to);if(!d||!f||(a.progress+=E*a.speed,a.progress>=1))continue;let g=a.progress,h=(d.px+f.px)*.5,i=(d.py+f.py)*.5,j=f.px-d.px,k=f.py-d.py,l=Math.hypot(j,k)||1,m=-k/l,n=j/l,o=Math.min(40,.08*l)*e,p=h+m*o,q=i+n*o,r=1-g,s=r*r*d.px+2*r*g*p+g*g*f.px,t=r*r*d.py+2*r*g*q+g*g*f.py,u=d.scale*(1-g)+f.scale*g;for(let c=6;c>=1;c--){let h=Math.max(0,g-.025*c),i=1-h,j=i*i*d.px+2*i*h*p+h*h*f.px,k=i*i*d.py+2*i*h*q+h*h*f.py;b.globalAlpha=(6-c)/6*a.intensity*.35,b.fillStyle=R,b.beginPath(),b.arc(j,k,2.4*u*e,0,2*Math.PI),b.fill()}b.globalAlpha=a.intensity,b.shadowBlur=14*u*e,b.shadowColor=R,b.fillStyle=R,b.beginPath(),b.arc(s,t,3.2*u*e,0,2*Math.PI),b.fill(),b.shadowBlur=0,b.globalAlpha=1,ab.push(a)}for(let a of(x.current=ab,[...A].sort((a,b)=>{let c=X.get(a.name)?.pz??0;return(X.get(b.name)?.pz??0)-c}))){var ac,ad,ae,af;let c=X.get(a.name);if(!c)continue;let d=z.reading.has(a.name),f=z.cited.has(a.name),g=C===a.name,h=!_||_.has(a.name),i=(ac=a,ad=z,ae=t,af=Q,ad.reading.has(ac.name)?af.mid:ad.cited.has(ac.name)?af.deep:ad.recentlyTouched.has(ac.name)?af.soft:ac.tags?.[0]==="scratch"?"#fde36b":ac.tags?.[0]==="memory"?"#f7d04a":ae?ac.confidence>=.85?"#d4a574":ac.confidence>=.7?"#b89070":"#9e7e64":ac.confidence>=.85?"#9E6B47":ac.confidence>=.7?"#B89070":"#C4A98A"),j=a.r*c.scale*e;b.globalAlpha=h?1:.22;let l=j*(d?3.4:f||g?2.6:2),m=b.createRadialGradient(c.px,c.py,.5*j,c.px,c.py,l);if(m.addColorStop(0,k(i,d?.6:.34)),m.addColorStop(1,k(i,0)),b.fillStyle=m,b.beginPath(),b.arc(c.px,c.py,l,0,2*Math.PI),b.fill(),d){let a=F%1.4/1.4;b.globalAlpha=(1-a)*.85*(h?1:.22),b.strokeStyle=Q.mid,b.lineWidth=1.8*e,b.beginPath(),b.arc(c.px,c.py,j+4*e+18*a*e,0,2*Math.PI),b.stroke(),b.globalAlpha=h?1:.22}f&&!d&&(b.strokeStyle=Q.deep,b.lineWidth=1.8*e,b.beginPath(),b.arc(c.px,c.py,j+4*e,0,2*Math.PI),b.stroke()),g&&(b.strokeStyle=t?"rgba(255,250,235,0.55)":"rgba(20,15,10,0.55)",b.lineWidth=1.4*e,b.beginPath(),b.arc(c.px,c.py,j+7*e,0,2*Math.PI),b.stroke()),b.shadowBlur=(d||g?22:10)*e,b.shadowColor=i,b.fillStyle=i,b.beginPath(),b.arc(c.px,c.py,j,0,2*Math.PI),b.fill(),b.shadowBlur=0}for(let a of(b.globalAlpha=1,b.textAlign="center",b.textBaseline="top",A)){let c=X.get(a.name);if(!c)continue;let d=C===a.name,f=z.reading.has(a.name),g=z.cited.has(a.name),h=!_||_.has(a.name),i=d||f||g,j=Math.max(0,(c.scale-.55)/.45);if(!i&&j<.1)continue;let k=Math.max(1,.65+.5*y),l=(d?13:11.5)*e*Math.max(.8,c.scale)*k,m=a.r*c.scale*e;b.globalAlpha=(h?1:.35)*(i?1:j),b.font=`${i?700:600} ${l}px "Stack Sans Notch", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif`;let n=function(a){if(a.name.startsWith("scratch:")){let b=a.name.slice(8).replace(/\.md$/,"");return b.length>22?`📝 ${b.slice(0,22)}…`:`📝 ${b}`}if(a.name.startsWith("memory:")){let b=a.tags?.[1]??"memory";return b.length>26?b.slice(0,26)+"…":b}return a.name.replace(/\.md$/,"")}(a);b.lineWidth=.7*Math.max(4,.18*l),b.strokeStyle=W,b.strokeText(n,c.px,c.py+m+6*e),b.fillStyle=i?V:U,b.fillText(n,c.px,c.py+m+6*e)}b.globalAlpha=1,c=requestAnimationFrame(l)};return c=requestAnimationFrame(l),()=>{cancelAnimationFrame(c),f.disconnect()}},[]);let z=(0,d.useCallback)(a=>{let b=m.current;if(b){let c=b.getBoundingClientRect();v.current.x=a.clientX-c.left,v.current.y=a.clientY-c.top,v.current.hasMoved=!0}let c=y(a.clientX,a.clientY);c!==q.current&&i(c)},[y,i]),A=(0,d.useCallback)(()=>{v.current.hasMoved=!1,i(null)},[i]),B=(0,d.useCallback)(a=>{let b=y(a.clientX,a.clientY);b&&l(b)},[y,l]);return(0,b.jsx)("canvas",{ref:m,onMouseMove:z,onMouseLeave:A,onClick:B,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block",cursor:h?"pointer":"default"}})}function k(a,b){if(!a.startsWith("#"))return a;let c=a.slice(1);3===c.length&&(c=c.split("").map(a=>a+a).join(""));let d=parseInt(c,16);return`rgba(${d>>16&255}, ${d>>8&255}, ${255&d}, ${b})`}function l({label:a,onClick:c}){return(0,b.jsx)("button",{onClick:c,style:{width:24,height:24,display:"grid",placeItems:"center",background:"transparent",border:"1px solid var(--hairline)",borderRadius:4,color:"var(--text-muted)",cursor:"pointer",fontSize:"var(--fs-base)",lineHeight:1,padding:0},children:a})}function m({color:a,label:d,pulse:e}){return(0,b.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7},className:"jsx-99c926a8ec979568",children:[(0,b.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:a,flexShrink:0,boxShadow:`0 0 8px ${a}`,animation:e?"graph-pulse 1.4s ease-in-out infinite":void 0},className:"jsx-99c926a8ec979568"}),(0,b.jsx)("span",{className:"jsx-99c926a8ec979568",children:d}),(0,b.jsx)(c.default,{id:"99c926a8ec979568",children:"@keyframes graph-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(1.3)}}"})]})}function n({label:a,value:c}){return(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{style:{fontSize:"var(--fs-2xs)",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",color:"var(--text-subtle)"},children:a}),(0,b.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--text)"},children:c})]})}a.s(["ObsidianGraph",0,function({graph:a,state:c,onOpenFile:f,loading:g}){let k=function(){let[a,b]=(0,d.useState)(()=>!0);return(0,d.useEffect)(()=>{b(!0);let a=new MutationObserver(()=>b(!0));a.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]});let c=window.matchMedia("(prefers-color-scheme: dark)"),d=()=>b(!0);return c.addEventListener("change",d),()=>{a.disconnect(),c.removeEventListener("change",d)}},[]),a}(),[o,p]=(0,d.useState)(null),[q,r]=(0,d.useState)(1),s=(0,d.useRef)(null),t=(0,d.useMemo)(()=>a?function(a){let b=new Map;for(let c of a.edges)b.set(c.from,(b.get(c.from)??0)+1),b.set(c.to,(b.get(c.to)??0)+1);let c=[...a.nodes].sort((a,c)=>(b.get(c.name)??0)-(b.get(a.name)??0)),d=[],f=c.length;if(0===f)return d;let g=c[0];d.push({...g,x:0,y:0,z:42,degree:b.get(g.name)??0,r:1.3*e(g,b.get(g.name)??0)});let h=f-1,i=Math.PI*(3-Math.sqrt(5));for(let a=0;a<h;a++){let f=Math.acos(1-2*(1===h?.5:a/(h-1))),g=i*a,j=Math.sin(f)*Math.cos(g),k=Math.sin(f)*Math.sin(g),l=Math.cos(f),m=c[a+1],n=b.get(m.name)??0;d.push({...m,x:280*j,y:280*k,z:280*l,degree:n,r:e(m,n)})}return d}(a):[],[a]);(0,d.useEffect)(()=>{let a=a=>{let b=s.current;if(!b)return;let c=a.target;if(c?.closest?.("[data-graph-zoom-skip]"))return;let d=b.getBoundingClientRect();if(!(a.clientX>=d.left&&a.clientX<=d.right&&a.clientY>=d.top&&a.clientY<=d.bottom))return;a.preventDefault(),a.stopPropagation();let e=a.deltaY<0?1.12:.88;r(a=>Math.max(.5,Math.min(3,a*e)))};return window.addEventListener("wheel",a,{passive:!1,capture:!0}),()=>window.removeEventListener("wheel",a,{capture:!0})},[]);let u=a=>r(b=>Math.max(.5,Math.min(3,b*a)));return((0,d.useEffect)(()=>{r(1)},[a]),g)?(0,b.jsx)("div",{style:{flex:1,display:"grid",placeItems:"center",color:"var(--text-subtle)",fontSize:"var(--fs-ui)",background:"var(--bg)"},children:(0,b.jsx)("span",{style:{animation:"pulse 1.6s ease-in-out infinite"},children:"Loading memory graph…"})}):a&&0!==a.nodes.length?(0,b.jsxs)("div",{ref:s,style:{flex:"1 1 0",minHeight:0,height:"100%",position:"relative",overflow:"hidden",background:"var(--bg)"},children:[(0,b.jsx)(h,{isDark:k}),(0,b.jsx)(i,{isDark:k}),(0,b.jsx)(j,{graph:a,layout:t,state:c,isDark:k,zoom:q,hoveredNode:o,onHover:p,onClick:f}),(0,b.jsxs)("div",{style:{position:"absolute",bottom:16,left:16,display:"flex",flexDirection:"column",gap:5,padding:"9px 11px",background:"color-mix(in oklch, var(--bg-elevated) 80%, transparent)",border:"1px solid var(--hairline)",borderRadius:8,fontSize:"var(--fs-meta)",color:"var(--text-muted)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",pointerEvents:"none"},children:[(0,b.jsx)("div",{style:{fontSize:"var(--fs-2xs)",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",color:"var(--text-subtle)",marginBottom:1},children:"Memory Graph"}),(0,b.jsx)(m,{color:k?"#e8c690":"#9E6B47",label:"Reading now",pulse:!0}),(0,b.jsx)(m,{color:k?"#f5d8a8":"#7a4d2e",label:"Cited in answer"}),(0,b.jsx)(m,{color:k?"#b89880":"#C4A98A",label:"Recently touched"}),(0,b.jsx)(m,{color:"#fde36b",label:"Working memory"})]}),(0,b.jsxs)("div",{style:{position:"absolute",top:16,right:16,display:"flex",alignItems:"center",gap:14,padding:"7px 13px",background:"color-mix(in oklch, var(--bg-elevated) 80%, transparent)",border:"1px solid var(--hairline)",borderRadius:8,fontSize:"var(--fs-meta)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)"},children:[(0,b.jsx)(n,{label:"Files",value:a.nodes.length}),(0,b.jsx)(n,{label:"Links",value:a.edges.length}),(0,b.jsx)("div",{style:{width:1,height:24,background:"var(--hairline)",flexShrink:0}}),(0,b.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:4},children:[(0,b.jsx)(l,{label:"−",onClick:()=>u(.8064516129032259)}),(0,b.jsxs)("button",{onClick:()=>r(1),title:"Reset zoom",style:{minWidth:42,padding:"3px 6px",fontSize:"var(--fs-xs)",fontVariantNumeric:"tabular-nums",background:"transparent",border:"1px solid var(--hairline)",borderRadius:4,color:"var(--text-muted)",cursor:"pointer"},children:[Math.round(100*q),"%"]}),(0,b.jsx)(l,{label:"+",onClick:()=>u(1.24)})]})]})]}):(0,b.jsx)("div",{style:{flex:1,display:"grid",placeItems:"center",color:"var(--text-subtle)",fontSize:"var(--fs-ui)",background:"var(--bg)"},children:"No profile files found."})}])}];

//# sourceMappingURL=src_components_ex_obsidian-graph_tsx_0i5nd6f._.js.map