isorite 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/main.js +37 -7
  2. package/package.json +1 -1
  3. package/web/_app/immutable/assets/0.i592VXJM.css +1 -0
  4. package/web/_app/immutable/chunks/Co7i-dcu.js +1 -0
  5. package/web/_app/immutable/chunks/{CL9QeiGC.js → CqmdC7Q3.js} +2 -2
  6. package/web/_app/immutable/chunks/D4nFtMQC.js +1 -0
  7. package/web/_app/immutable/chunks/{DyZdoKBK.js → DdegnILL.js} +1 -1
  8. package/web/_app/immutable/chunks/DjN194Ef.js +1 -0
  9. package/web/_app/immutable/chunks/{BFOLKM4z.js → lSTs4h6V.js} +1 -1
  10. package/web/_app/immutable/chunks/{D7yT4F_8.js → ufOJrCuz.js} +1 -1
  11. package/web/_app/immutable/entry/{app.CyEmP0i2.js → app.BRzQKhKX.js} +2 -2
  12. package/web/_app/immutable/entry/start.-f1rSSM0.js +1 -0
  13. package/web/_app/immutable/nodes/0.i_AjenOL.js +11 -0
  14. package/web/_app/immutable/nodes/{1.kdx6h8ts.js → 1.D6qHWJUF.js} +1 -1
  15. package/web/_app/immutable/nodes/2.BPWtlg8V.js +1 -0
  16. package/web/_app/immutable/nodes/3.DaRPyiq0.js +1 -0
  17. package/web/_app/immutable/nodes/{4.DzS8oPUH.js → 4.CkZ28L5K.js} +1 -1
  18. package/web/_app/immutable/nodes/5.6ZCfORwJ.js +22 -0
  19. package/web/_app/immutable/nodes/6.B9EIxq5B.js +1 -0
  20. package/web/_app/immutable/nodes/{7.CCNCaItj.js → 7.DGJflKit.js} +1 -1
  21. package/web/_app/version.json +1 -1
  22. package/web/index.html +14 -14
  23. package/web/_app/immutable/assets/0.BGpjfMlq.css +0 -1
  24. package/web/_app/immutable/chunks/Bg-39frG.js +0 -1
  25. package/web/_app/immutable/chunks/BleKqNM1.js +0 -1
  26. package/web/_app/immutable/chunks/DQp-M3XN.js +0 -1
  27. package/web/_app/immutable/entry/start.BxCHvKWL.js +0 -1
  28. package/web/_app/immutable/nodes/0.Bkbiw_sA.js +0 -11
  29. package/web/_app/immutable/nodes/2.CtK7BGB8.js +0 -1
  30. package/web/_app/immutable/nodes/3.D5PZa2kH.js +0 -1
  31. package/web/_app/immutable/nodes/5.B-1BDKsL.js +0 -19
  32. package/web/_app/immutable/nodes/6.DDT1DtCg.js +0 -1
@@ -1 +1 @@
1
- import{$ as e,B as t,E as n,F as r,H as i,J as a,N as o,R as s,at as c,d as l,dt as u,f as d,ht as f,i as p,it as m,j as h,k as g,nt as _,ot as v,tt as y,u as b,ut as x,y as S,z as C}from"./Cz6kYWmu.js";import"./xihTtKlq.js";import{t as w}from"./CL9QeiGC.js";import{i as T}from"./BleKqNM1.js";var E=e=>e.kind===`passage`?`passage:${e.id}:${e.text}`:`${e.kind}:${e.id}`,D=new class{#e=c([]);get parts(){return i(this.#e)}set parts(e){m(this.#e,e)}#t=c(``);get fresh(){return i(this.#t)}set fresh(e){m(this.#t,e,!0)}#n=c(null);get carrying(){return i(this.#n)}set carrying(e){m(this.#n,e)}has(e,t){return this.parts.some(n=>n.kind===e&&n.id===t)}add(e){return!this.parts.some(t=>E(t)===E(e))&&(this.parts=[...this.parts,e],this.fresh=E(e),T.focus!==`iso`&&T.unseen++,!0)}onRemove=null;remove(e){let t=this.parts.some(t=>E(t)===E(e));this.parts=this.parts.filter(t=>E(t)!==E(e)),t&&this.onRemove?.(e)}toggle(e){return this.parts.some(t=>E(t)===E(e))?(this.remove(e),!1):(this.add(e),!0)}clear(){this.parts=[]}get sent(){return this.parts}keyOf=E},O=r(`<li role="option"><button type="button" tabindex="-1" class="svelte-35e6rs"><span class="dir svelte-35e6rs"> </span><span class="detail svelte-35e6rs"> </span></button></li>`),k=r(`<ul class="suggest svelte-35e6rs" role="listbox" aria-label="folders"></ul>`),A=r(`<span class="field-wrap svelte-35e6rs"><input autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list"/> <!></span>`);function j(r,s){u(s,!0);let T=p(s,`value`,15,``),E=p(s,`placeholder`,3,``),D=p(s,`id`,3,`folder`),j=p(s,`quiet`,3,!1),M=c(!1),N=c(0),P=v(()=>T().trim().replace(/^\/+|\/+$/g,``).toLowerCase()),F=e=>w.listing.notes.filter(t=>t.dir===e).length,I=v(()=>{let e=w.listing.dirs.filter(e=>e.toLowerCase().includes(i(P))),t=e=>e.split(`/`).at(-1).toLowerCase().startsWith(i(P))?0:e.toLowerCase().startsWith(i(P))?1:2,n=e.sort((e,n)=>t(e)-t(n)||e.localeCompare(n)).map(e=>({dir:e,made:!1}));return i(P)&&!w.listing.dirs.some(e=>e.toLowerCase()===i(P))&&n.push({dir:T().trim().replace(/^\/+|\/+$/g,``),made:!0}),n.slice(0,8)});function L(e){T(e),m(M,!1),s.onpick?.(e)}function R(e){if(i(M)&&i(I).length){if(e.key===`ArrowDown`){m(N,(i(N)+1)%i(I).length),e.preventDefault();return}if(e.key===`ArrowUp`){m(N,(i(N)-1+i(I).length)%i(I).length),e.preventDefault();return}if((e.key===`Enter`||e.key===`Tab`)&&i(I)[i(N)]&&(e.key===`Enter`||i(P))){e.key===`Enter`&&e.preventDefault(),L(i(I)[i(N)].dir);return}if(e.key===`Escape`){m(M,!1),e.stopPropagation();return}}s.onkeydown?.(e)}var z=A(),B=e(z);l(B);let V;var H=_(B,2),U=r=>{var s=k();n(s,23,()=>i(I),e=>e.dir+e.made,(n,r,s)=>{var c=O();let l;var u=e(c),p=e(u),g=y(p,!0),v=_(p),b=y(v,!0);f(u),f(c),a(e=>{d(c,`id`,`${D()??``}-opt-${i(s)??``}`),d(c,`aria-selected`,i(s)===i(N)),l=S(c,1,`svelte-35e6rs`,null,l,{at:i(s)===i(N)}),h(g,i(r).dir),h(b,e)},[()=>i(r).made?`new folder`:`${F(i(r).dir)} ${F(i(r).dir)===1?`note`:`notes`}`]),C(`mousedown`,u,e=>e.preventDefault()),C(`click`,u,()=>L(i(r).dir)),t(`mouseenter`,u,()=>m(N,i(s),!0)),o(n,c)}),f(s),a(()=>d(s,`id`,`${D()??``}-list`)),o(r,s)};g(H,e=>{i(M)&&i(I).length&&e(U)}),f(z),a(()=>{d(B,`id`,D()),V=S(B,1,`mono svelte-35e6rs`,null,V,{field:!j(),quiet:j()}),d(B,`placeholder`,E()),d(B,`aria-label`,s.label),d(B,`aria-expanded`,i(M)&&i(I).length>0),d(B,`aria-controls`,`${D()??``}-list`),d(B,`aria-activedescendant`,i(M)&&i(I)[i(N)]?`${D()}-opt-${i(N)}`:void 0)}),t(`focus`,B,()=>{m(M,!0),m(N,0)}),C(`input`,B,()=>{m(M,!0),m(N,0)}),t(`blur`,B,()=>setTimeout(()=>m(M,!1),120)),C(`keydown`,B,R),b(B,T),o(r,z),x()}s([`input`,`keydown`,`mousedown`,`click`]);export{D as n,j as t};
1
+ import{$ as e,B as t,E as n,F as r,H as i,J as a,N as o,R as s,at as c,d as l,dt as u,f as d,ht as f,i as p,it as m,j as h,k as g,nt as _,ot as v,tt as y,u as b,ut as x,y as S,z as C}from"./Cz6kYWmu.js";import"./xihTtKlq.js";import{t as w}from"./CqmdC7Q3.js";import{i as T}from"./D4nFtMQC.js";var E=e=>e.kind===`passage`?`passage:${e.id}:${e.text}`:`${e.kind}:${e.id}`,D=new class{#e=c([]);get parts(){return i(this.#e)}set parts(e){m(this.#e,e)}#t=c(``);get fresh(){return i(this.#t)}set fresh(e){m(this.#t,e,!0)}#n=c(null);get carrying(){return i(this.#n)}set carrying(e){m(this.#n,e)}has(e,t){return this.parts.some(n=>n.kind===e&&n.id===t)}add(e){return!this.parts.some(t=>E(t)===E(e))&&(this.parts=[...this.parts,e],this.fresh=E(e),T.focus!==`iso`&&T.unseen++,!0)}onRemove=null;remove(e){let t=this.parts.some(t=>E(t)===E(e));this.parts=this.parts.filter(t=>E(t)!==E(e)),t&&this.onRemove?.(e)}toggle(e){return this.parts.some(t=>E(t)===E(e))?(this.remove(e),!1):(this.add(e),!0)}clear(){this.parts=[]}get sent(){return this.parts}keyOf=E},O=r(`<li role="option"><button type="button" tabindex="-1" class="svelte-35e6rs"><span class="dir svelte-35e6rs"> </span><span class="detail svelte-35e6rs"> </span></button></li>`),k=r(`<ul class="suggest svelte-35e6rs" role="listbox" aria-label="folders"></ul>`),A=r(`<span class="field-wrap svelte-35e6rs"><input autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list"/> <!></span>`);function j(r,s){u(s,!0);let T=p(s,`value`,15,``),E=p(s,`placeholder`,3,``),D=p(s,`id`,3,`folder`),j=p(s,`quiet`,3,!1),M=c(!1),N=c(0),P=v(()=>T().trim().replace(/^\/+|\/+$/g,``).toLowerCase()),F=e=>w.listing.notes.filter(t=>t.dir===e).length,I=v(()=>{let e=w.listing.dirs.filter(e=>e.toLowerCase().includes(i(P))),t=e=>e.split(`/`).at(-1).toLowerCase().startsWith(i(P))?0:e.toLowerCase().startsWith(i(P))?1:2,n=e.sort((e,n)=>t(e)-t(n)||e.localeCompare(n)).map(e=>({dir:e,made:!1}));return i(P)&&!w.listing.dirs.some(e=>e.toLowerCase()===i(P))&&n.push({dir:T().trim().replace(/^\/+|\/+$/g,``),made:!0}),n.slice(0,8)});function L(e){T(e),m(M,!1),s.onpick?.(e)}function R(e){if(i(M)&&i(I).length){if(e.key===`ArrowDown`){m(N,(i(N)+1)%i(I).length),e.preventDefault();return}if(e.key===`ArrowUp`){m(N,(i(N)-1+i(I).length)%i(I).length),e.preventDefault();return}if((e.key===`Enter`||e.key===`Tab`)&&i(I)[i(N)]&&(e.key===`Enter`||i(P))){e.key===`Enter`&&e.preventDefault(),L(i(I)[i(N)].dir);return}if(e.key===`Escape`){m(M,!1),e.stopPropagation();return}}s.onkeydown?.(e)}var z=A(),B=e(z);l(B);let V;var H=_(B,2),U=r=>{var s=k();n(s,23,()=>i(I),e=>e.dir+e.made,(n,r,s)=>{var c=O();let l;var u=e(c),p=e(u),g=y(p,!0),v=_(p),b=y(v,!0);f(u),f(c),a(e=>{d(c,`id`,`${D()??``}-opt-${i(s)??``}`),d(c,`aria-selected`,i(s)===i(N)),l=S(c,1,`svelte-35e6rs`,null,l,{at:i(s)===i(N)}),h(g,i(r).dir),h(b,e)},[()=>i(r).made?`new folder`:`${F(i(r).dir)} ${F(i(r).dir)===1?`note`:`notes`}`]),C(`mousedown`,u,e=>e.preventDefault()),C(`click`,u,()=>L(i(r).dir)),t(`mouseenter`,u,()=>m(N,i(s),!0)),o(n,c)}),f(s),a(()=>d(s,`id`,`${D()??``}-list`)),o(r,s)};g(H,e=>{i(M)&&i(I).length&&e(U)}),f(z),a(()=>{d(B,`id`,D()),V=S(B,1,`mono svelte-35e6rs`,null,V,{field:!j(),quiet:j()}),d(B,`placeholder`,E()),d(B,`aria-label`,s.label),d(B,`aria-expanded`,i(M)&&i(I).length>0),d(B,`aria-controls`,`${D()??``}-list`),d(B,`aria-activedescendant`,i(M)&&i(I)[i(N)]?`${D()}-opt-${i(N)}`:void 0)}),t(`focus`,B,()=>{m(M,!0),m(N,0)}),C(`input`,B,()=>{m(M,!0),m(N,0)}),t(`blur`,B,()=>setTimeout(()=>m(M,!1),120)),C(`keydown`,B,R),b(B,T),o(r,z),x()}s([`input`,`keydown`,`mousedown`,`click`]);export{D as n,j as t};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BArcFmbE.js","./Cz6kYWmu.js","./CRzLMJPS.js"])))=>i.map(i=>d[i]);
2
- import{$ as e,B as t,E as n,F as r,H as i,I as a,J as o,N as s,P as c,R as l,at as u,bt as d,dt as f,et as p,f as m,ht as h,i as g,it as _,j as v,k as y,nt as ee,ot as te,tt as ne,ut as b,v as re,vt as ie,y as x,z as ae}from"./Cz6kYWmu.js";import{t as oe}from"./CRzLMJPS.js";import"./xihTtKlq.js";import{A as se,C as ce,N as le,T as ue,j as de}from"./CL9QeiGC.js";import{i as fe,n as pe}from"./CkSjC-iE.js";var me={opencode:`OpenCode`,"claude-code":`Claude Code`,pi:`Pi`};function he(e){let t=e?.startsWith(`agent:`)?e.slice(6):e?.includes(`:`)?``:e??``;return t?me[t]??t:``}var ge={wrote:`wrote the note`,found:`found`,edited:`edited`,kept:`kept`,offered:`offered`,discarded:`removed`,restored:`restored an earlier version`,moved:`moved the note`,"changed elsewhere":`changed elsewhere`};function _e(e){let t=e.who===`you`?`you`:e.who===`external`?`outside isorite`:e.who.startsWith(`agent:`)?he(e.who):`Iso`;return e.asked===void 0?e.who===`external`?e.what===`found`?`found as it was, outside isorite`:`changed outside isorite`:`${t} ${ge[e.what]}`:`${t} · “${e.asked.length>80?e.asked.slice(0,80)+`…`:e.asked}” · ${e.what===`offered`?`not kept yet`:ge[e.what]}`}function ve(e,t=Date.now()){let n=Math.max(0,(t-Date.parse(e))/1e3),[r,i]=n<90?[0,`now`]:n<5400?[Math.round(n/60),`minute`]:n<129600?[Math.round(n/3600),`hour`]:[Math.round(n/86400),`day`];return i===`now`?`just now`:`${r} ${i}${r===1?``:`s`} ago`}var ye=e=>e.ids.at(-1),be=`.btn:not(:disabled), .chip, [data-lustre]`,xe=`input:not([type=button],[type=checkbox],[type=radio],[type=range],[type=submit]), textarea, select, [contenteditable], [contenteditable] *`,Se=420,Ce=3,we=.28,Te=()=>matchMedia(`(prefers-reduced-motion: reduce)`).matches,Ee=new WeakMap;function S(e,t){let[n,r,i,a]=[t.top,t.right,t.bottom,t.left];for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){let e=getComputedStyle(t);if(e.overflowX===`visible`&&e.overflowY===`visible`)continue;let o=t.getBoundingClientRect();n=Math.max(n,o.top),r=Math.min(r,o.right),i=Math.min(i,o.bottom),a=Math.max(a,o.left)}return n<i&&a<r?[n-t.top,t.right-r,t.bottom-i,a-t.left]:null}function De(e,t,n){let r=Math.min(n,e/2,t/2);return r>0?[[r,0],[e,0],[e,t-r],[e-r,t],[0,t],[0,r]]:[[0,0],[e,0],[e,t],[0,t]]}function Oe(e,t=!1,n){if(Te()||Ee.has(e)&&!t)return;Ee.get(e)?.remove();let r=e.getBoundingClientRect(),i=S(e,r);if(!i||r.width<8)return;let a=getComputedStyle(e),[o,s,c]=a.getPropertyValue(`--sheen`).trim().split(/\s+/).map(Number),l=Math.min(1,(parseFloat(a.getPropertyValue(`--glint`))||.4)*1.6*(parseFloat(a.getPropertyValue(`--sheen-k`))||1));if(n){let e=document.createElement(`canvas`).getContext(`2d`);e.fillStyle=`#000`,e.fillStyle=a.getPropertyValue(n).trim()||`#000`;let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(String(e.fillStyle));t&&([o,s,c]=[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)],l=.6)}let u=(parseFloat(a.getPropertyValue(`--cut`))||0)*(e.offsetWidth?r.width/e.offsetWidth:1);if((r.width+6)*(r.height+6)*(window.devicePixelRatio||1)**2>25e6)return;let d=r.width,f=r.height,p=De(d,f,u),m=p.length,h=p.map((e,t)=>{let n=p[(t+1)%m];return Math.hypot(n[0]-e[0],n[1]-e[1])}),g=h.reduce((e,t)=>e+t,0),_=e=>{e=(e%g+g)%g;for(let t=0;t<m;t++){if(e<=h[t]){let n=p[t],r=p[(t+1)%m],i=h[t]?e/h[t]:0;return[n[0]+(r[0]-n[0])*i,n[1]+(r[1]-n[1])*i]}e-=h[t]}return p[0]},v=window.devicePixelRatio||1,y=document.createElement(`canvas`);y.className=`lustre`,y.width=Math.ceil((d+6)*v),y.height=Math.ceil((f+6)*v);let[ee,te,ne,b]=i.map(e=>e>0?e+Ce:0);Object.assign(y.style,{left:`${r.left-Ce}px`,top:`${r.top-Ce}px`,width:`${d+6}px`,height:`${f+6}px`,clipPath:`inset(${ee}px ${te}px ${ne}px ${b}px)`}),document.body.append(y);let re=y.getContext(`2d`);re.scale(v,v);let ie=performance.now(),x=g*we,ae=g/2+x;Ee.set(e,y);let oe=t=>{let n=(t-ie)/Se;if(Ee.get(e)!==y)return;if(n>=1||!e.isConnected){y.remove(),Ee.delete(e);return}re.clearRect(0,0,d+6,f+6);let r=ae*(1-(1-n)**2),i=Math.min(1,(1-n)*3);for(let e of[1,-1])for(let t=0;t<=x;t+=1){let n=r-t;if(n<0||n>g/2)continue;let[a,u]=_(e*n),d=l*i*(1-t/x)**2;re.fillStyle=`rgb(${o} ${s} ${c} / ${d})`,re.fillRect(a+Ce-.5,u+Ce-.5,1,1),re.fillStyle=`rgb(${o} ${s} ${c} / ${d*.35})`,re.fillRect(a+Ce-1.5,u+Ce-1.5,3,3)}requestAnimationFrame(oe)};requestAnimationFrame(oe)}function ke(){let e=document.createElement(`div`);e.className=`brackets`,e.setAttribute(`aria-hidden`,`true`),document.body.append(e);let t=null,n=()=>{let n=t?.isConnected?t.getBoundingClientRect():null;e.hidden=!n||!n.width,n&&!e.hidden&&Object.assign(e.style,{left:`${Math.round(n.left)-4}px`,top:`${Math.round(n.top)-4}px`,width:`${Math.round(n.width)+8}px`,height:`${Math.round(n.height)+8}px`})};return{at:e=>{t=e,n()},place:n}}function Ae(){let e=ke(),t=e=>{if(e.pointerType!==`mouse`)return;let t=e.target.closest?.(be);t&&!(e.relatedTarget instanceof Node&&t.contains(e.relatedTarget))&&Oe(t)},n=t=>{let n=t.target;if(!n.matches?.(`:focus-visible`)||n.matches(xe)){e.at(null);return}e.at(n);let r=n.closest(be);r&&Oe(r)},r=()=>e.at(null),i=0,a=()=>{i||=requestAnimationFrame(()=>{i=0,e.place()})};document.addEventListener(`pointerover`,t),document.addEventListener(`focusin`,n),document.addEventListener(`focusout`,r),addEventListener(`scroll`,a,!0),addEventListener(`resize`,a);let o=setInterval(a,250);return()=>{document.removeEventListener(`pointerover`,t),document.removeEventListener(`focusin`,n),document.removeEventListener(`focusout`,r),removeEventListener(`scroll`,a,!0),removeEventListener(`resize`,a),clearInterval(o),document.querySelector(`.brackets`)?.remove()}}function je(e,t){let n=e.trim().replace(/^<|>$/g,``).split(`#`,1)[0].split(`?`,1)[0];try{n=decodeURIComponent(n)}catch{}if(n.startsWith(`code:`)){let e=ue(n);return e&&ce(e.path)===`image`?{path:e.path,from:`code`}:null}if(!n||/^[a-z][a-z0-9+.-]*:/i.test(n)||ce(n)!==`image`)return null;let r=t.includes(`/`)?t.slice(0,t.lastIndexOf(`/`)):``,i=[];for(let e of(n.startsWith(`/`)?n:`${r}/${n}`).split(`/`))if(e&&e!==`.`){if(e===`..`){if(!i.length)return null;i.pop()}else i.push(e)}return i.length?{path:i.join(`/`),from:`notes`}:null}var Me=new Map;function Ne(e,t){if(`fileUrl`in e)return e.fileUrl(t.path,t.from);let n=`${t.from}:${t.path}`,r=Me.get(n);return r||Me.set(n,r=e.file(t.path,t.from).then(e=>e?URL.createObjectURL(new Blob([e.bytes],{type:e.type})):null,()=>null)),r}var Pe=e=>e.normalize(`NFKD`).replace(/[̀-ͯ]/g,``).toLowerCase().replace(/\.(png|jpe?g|gif|webp|svg|avif)$/,``).replace(/[^a-z0-9._-]+/g,`-`).replace(/-{2,}/g,`-`).replace(/^[-.]+|[-.]+$/g,``);function Fe(e=new Date){let t=e=>String(e).padStart(2,`0`);return`pasted-${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}-${t(e.getHours())}${t(e.getMinutes())}`}async function Ie(e){if(!globalThis.crypto?.subtle)return le(e);let t=await crypto.subtle.digest(`SHA-256`,e);return[...new Uint8Array(t)].map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Le=new class{#e=u(null);get elsewhere(){return i(this.#e)}set elsewhere(e){_(this.#e,e)}#t=u(``);get onAtlas(){return i(this.#t)}set onAtlas(e){_(this.#t,e,!0)}set(e,t){t?this.elsewhere={...t,from:e}:this.elsewhere?.from===e&&(this.elsewhere=null)}};function Re(e){let t=/^#\/n\/([^?#]+)/.exec(e);if(!t)return null;let n=decodeURIComponent(t[1]);return n.endsWith(`/`)?{id:n.slice(0,-1),folder:!0}:{id:n,folder:!1}}var ze={concept:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`],question:[`M8 1.75L14.25 8L8 14.25L1.75 8Z`,`M8 5.75L10.25 8L8 10.25L5.75 8Z`],problem:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M8.5 2.75L9.75 6.25L8.25 8.5L10 13.25`],folder:[`M4.25 4.25H14.25V12.25L12.25 14.25H1.75V6.75Z`,`M5 1.75H9.5`],image:[`M4 2.75H13.25V10.5L11 12.75H2.75V4Z`,`M4.5 10.5L7 7.5L8.75 9.25L10 8L11.75 10`],artifact:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M2.75 5.75H13.25`,`M4.75 11L7 8.5L8.75 10L11.25 7.5`],data:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M2.75 6.75H13.25`,`M2.75 10H13.25`,`M7.5 6.75V13.25`],document:[`M2.75 1.75H10L13.25 5V14.25H2.75Z`,`M10 1.75V5H13.25`,`M5 8.25H11`,`M5 11H9`],misc:[`M8 1.75L13.5 4.9V11.1L8 14.25L2.5 11.1V4.9Z`,`M2.5 4.9L8 8L13.5 4.9`,`M8 8V14.25`],web:[`M5.5 1.75H10.5L14.25 5.5V10.5L10.5 14.25H5.5L1.75 10.5V5.5Z`,`M1.75 8H14.25`,`M8 1.75V14.25`],code:[`M5.25 4.75L2 8L5.25 11.25`,`M10.75 4.75L14 8L10.75 11.25`,`M9.25 3.25L6.75 12.75`]},Be={concept:`concept`,question:`question`,problem:`problem`,folder:`folder`,image:`picture`,artifact:`artifact`,data:`data`,document:`document`,misc:`file`,web:`web`,code:`code`},Ve=a(`<path></path>`),He=a(`<svg class="glyph svelte-8tyru2" viewBox="0 0 16 16" aria-hidden="true"></svg>`);function Ue(e,t){f(t,!0);let r=g(t,`size`,3,12);var i=He();n(i,20,()=>ze[t.kind],e=>e,(e,t)=>{var n=Ve();o(()=>m(n,`d`,t)),s(e,n)}),h(i),o(()=>{m(i,`width`,r()),m(i,`height`,r())}),s(e,i),b()}var We=r(`<i aria-hidden="true"></i>`);function Ge(e,t){f(t,!0);let n=te(()=>t.moment.who.startsWith(`iso:`)),r=te(()=>t.moment.who.startsWith(`agent:`));var a=c(),l=p(a),u=e=>{var n=We();let a;o(()=>a=x(n,1,`dia svelte-1jroppb`,null,a,{open:t.moment.what===`offered`||t.moment.what===`discarded`,gone:t.moment.what===`discarded`,agent:i(r)})),s(e,n)},d=e=>{var n=We();let r;o(()=>r=x(n,1,`sq`,null,r,{empty:t.moment.who===`external`})),s(e,n)};y(l,e=>{i(n)||i(r)?e(u):e(d,-1)}),s(e,a),b()}var Ke=r(`<span class="asked svelte-112n2zp" aria-hidden="true"> </span>`),qe=r(`<li class="svelte-112n2zp"><button type="button"><!></button> <!></li>`),Je=r(`<ol></ol>`);function Ye(r,a){f(a,!0);let c=e=>e.asked===void 0?`${_e(e)} · ${ve(e.at)}${e.added||e.removed?` · +${e.added} −${e.removed}`:``}`:`“${e.asked}”`,l=g(a,`strata`,3,!1),u=g(a,`label`,3,e=>l()?c(e):e.asked===void 0?void 0:`“${e.asked}”`),d=g(a,`name`,3,`The note's timeline`),p=g(a,`leftward`,3,!1),_=te(()=>l()?[...a.moments].reverse():a.moments),ie=e=>Math.min(40,Math.round(4+2.5*Math.sqrt(e.added+e.removed))),oe=e=>e.who.startsWith(`iso:`)?`iso`:e.who.startsWith(`agent:`)?`agent`:e.who===`external`?`external`:`you`;var se=Je();let ce;n(se,21,()=>i(_),e=>e.ids[0],(n,r)=>{var c=qe(),d=e(c);let f,p;var g=e(d),_=e=>{Ge(e,{get moment(){return i(r)}})};y(g,e=>{l()||e(_)}),h(d);var b=ee(d,2),se=e=>{var t=Ke(),n=ne(t,!0);o(e=>v(n,e),[()=>u()(i(r))]),s(e,t)},ce=te(()=>a.pointed===i(r)&&u()(i(r))!==void 0);y(b,e=>{i(ce)&&e(se)}),h(c),o((e,t,n,r,i,a)=>{f=x(d,1,`moment ${e??``}`,`svelte-112n2zp`,f,{at:t}),m(d,`aria-current`,n),m(d,`aria-label`,`${r??``}, ${i??``}`),p=re(d,``,p,{height:a})},[()=>l()?`layer ${oe(i(r))} ${i(r).what}`:``,()=>a.at===ye(i(r)),()=>a.at===ye(i(r))?`step`:void 0,()=>_e(i(r)),()=>ve(i(r).at),()=>l()?`${ie(i(r))}px`:void 0]),t(`pointerenter`,d,()=>a.point(i(r))),t(`pointerleave`,d,()=>a.point(null)),t(`focus`,d,()=>a.point(i(r))),t(`blur`,d,()=>a.point(null)),ae(`click`,d,()=>a.pick(i(r))),s(n,c)}),h(se),o(()=>{ce=x(se,1,`timeline svelte-112n2zp`,null,ce,{leftward:p(),strata:l()}),m(se,`aria-label`,d())}),s(r,se),b()}l([`click`]);var Xe=ie(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.katex=r():n.katex=r()})(typeof self<`u`?self:e,function(){return(function(){var e={};(function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}})(),(function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})();var t={};e.d(t,{default:function(){return $i}});class n extends Error{constructor(e,t){let r=`KaTeX parse error: `+e,i,a,o=t&&t.loc;if(o&&o.start<=o.end){let e=o.lexer.input;i=o.start,a=o.end,i===e.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;let t=e.slice(i,a).replace(/[^]/g,`$&̲`),n;n=i>15?`…`+e.slice(i-15,i):e.slice(0,i);let s;s=a+15<e.length?e.slice(a,a+15)+`…`:e.slice(a),r+=n+t+s}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,n.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=e}}var r=n;let i=/([A-Z])/g,a=e=>e.replace(i,`-$1`).toLowerCase(),o={"&":`&amp;`,">":`&gt;`,"<":`&lt;`,'"':`&quot;`,"'":`&#x27;`},s=/[&><"']/g,c=e=>String(e).replace(s,e=>o[e]),l=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?l(e.body[0]):e:e.type===`font`?l(e.body):e,u=new Set([`mathord`,`textord`,`atom`]),d=e=>u.has(l(e).type),f=e=>{let t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},p={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function m(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function h(e){return Object.prototype.hasOwnProperty.call(e,`default`)&&e.default!==void 0?e.default:m(Array.isArray(e.type)?e.type[0]:e.type)}function g(e,t,n,r){let i=Object.prototype.hasOwnProperty.call(n,t)?n[t]:void 0,a=Object.prototype.hasOwnProperty.call(r,`processor`)?r.processor:void 0;e[t]=i===void 0?h(r):a?a(i):i}class _{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(let t of Object.keys(p)){let n=p[t];n&&g(this,t,e,n)}}reportNonstrict(e,t,n){let i=this.strict;if(typeof i==`function`&&(i=i(e,t,n)),i&&i!==`ignore`){if(i===!0||i===`error`)throw new r(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);i===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+i+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){let r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){let t=f(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return y[ee[this.id]]}sub(){return y[te[this.id]]}fracNum(){return y[ne[this.id]]}fracDen(){return y[b[this.id]]}cramp(){return y[re[this.id]]}text(){return y[ie[this.id]]}isTight(){return this.size>=2}}let y=[new v(0,0,!1),new v(1,0,!0),new v(2,1,!1),new v(3,1,!0),new v(4,2,!1),new v(5,2,!0),new v(6,3,!1),new v(7,3,!0)],ee=[4,5,4,5,6,7,6,7],te=[5,5,5,5,7,7,7,7],ne=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],re=[1,1,3,3,5,5,7,7],ie=[0,1,2,3,2,3,2,3];var x={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]};let ae=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function oe(e){for(let t=0;t<ae.length;t++){let n=ae[t];for(let t=0;t<n.blocks.length;t++){let r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}let se=[];ae.forEach(e=>e.blocks.forEach(e=>se.push(...e)));function ce(e){for(let t=0;t<se.length;t+=2)if(e>=se[t]&&e<=se[t+1])return!0;return!1}let le=e=>e+` `+e,ue=function(e,t){return`M95,`+(622+e+t)+`
2
+ import{$ as e,B as t,E as n,F as r,H as i,I as a,J as o,N as s,P as c,R as l,at as u,bt as d,dt as f,et as p,f as m,ht as h,i as g,it as _,j as v,k as y,nt as ee,ot as te,tt as ne,ut as b,v as re,vt as ie,y as x,z as ae}from"./Cz6kYWmu.js";import{t as oe}from"./CRzLMJPS.js";import"./xihTtKlq.js";import{A as se,C as ce,N as le,T as ue,j as de}from"./CqmdC7Q3.js";import{i as fe,n as pe}from"./CkSjC-iE.js";var me={opencode:`OpenCode`,"claude-code":`Claude Code`,pi:`Pi`};function he(e){let t=e?.startsWith(`agent:`)?e.slice(6):e?.includes(`:`)?``:e??``;return t?me[t]??t:``}var ge={wrote:`wrote the note`,found:`found`,edited:`edited`,kept:`kept`,offered:`offered`,discarded:`removed`,restored:`restored an earlier version`,moved:`moved the note`,"changed elsewhere":`changed elsewhere`};function _e(e){let t=e.who===`you`?`you`:e.who===`external`?`outside isorite`:e.who.startsWith(`agent:`)?he(e.who):`Iso`;return e.asked===void 0?e.who===`external`?e.what===`found`?`found as it was, outside isorite`:`changed outside isorite`:`${t} ${ge[e.what]}`:`${t} · “${e.asked.length>80?e.asked.slice(0,80)+`…`:e.asked}” · ${e.what===`offered`?`not kept yet`:ge[e.what]}`}function ve(e,t=Date.now()){let n=Math.max(0,(t-Date.parse(e))/1e3),[r,i]=n<90?[0,`now`]:n<5400?[Math.round(n/60),`minute`]:n<129600?[Math.round(n/3600),`hour`]:[Math.round(n/86400),`day`];return i===`now`?`just now`:`${r} ${i}${r===1?``:`s`} ago`}var ye=e=>e.ids.at(-1),be=`.btn:not(:disabled), .chip, [data-lustre]`,xe=`input:not([type=button],[type=checkbox],[type=radio],[type=range],[type=submit]), textarea, select, [contenteditable], [contenteditable] *`,Se=420,Ce=3,we=.28,Te=()=>matchMedia(`(prefers-reduced-motion: reduce)`).matches,Ee=new WeakMap;function S(e,t){let[n,r,i,a]=[t.top,t.right,t.bottom,t.left];for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){let e=getComputedStyle(t);if(e.overflowX===`visible`&&e.overflowY===`visible`)continue;let o=t.getBoundingClientRect();n=Math.max(n,o.top),r=Math.min(r,o.right),i=Math.min(i,o.bottom),a=Math.max(a,o.left)}return n<i&&a<r?[n-t.top,t.right-r,t.bottom-i,a-t.left]:null}function De(e,t,n){let r=Math.min(n,e/2,t/2);return r>0?[[r,0],[e,0],[e,t-r],[e-r,t],[0,t],[0,r]]:[[0,0],[e,0],[e,t],[0,t]]}function Oe(e,t=!1,n){if(Te()||Ee.has(e)&&!t)return;Ee.get(e)?.remove();let r=e.getBoundingClientRect(),i=S(e,r);if(!i||r.width<8)return;let a=getComputedStyle(e),[o,s,c]=a.getPropertyValue(`--sheen`).trim().split(/\s+/).map(Number),l=Math.min(1,(parseFloat(a.getPropertyValue(`--glint`))||.4)*1.6*(parseFloat(a.getPropertyValue(`--sheen-k`))||1));if(n){let e=document.createElement(`canvas`).getContext(`2d`);e.fillStyle=`#000`,e.fillStyle=a.getPropertyValue(n).trim()||`#000`;let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(String(e.fillStyle));t&&([o,s,c]=[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)],l=.6)}let u=(parseFloat(a.getPropertyValue(`--cut`))||0)*(e.offsetWidth?r.width/e.offsetWidth:1);if((r.width+6)*(r.height+6)*(window.devicePixelRatio||1)**2>25e6)return;let d=r.width,f=r.height,p=De(d,f,u),m=p.length,h=p.map((e,t)=>{let n=p[(t+1)%m];return Math.hypot(n[0]-e[0],n[1]-e[1])}),g=h.reduce((e,t)=>e+t,0),_=e=>{e=(e%g+g)%g;for(let t=0;t<m;t++){if(e<=h[t]){let n=p[t],r=p[(t+1)%m],i=h[t]?e/h[t]:0;return[n[0]+(r[0]-n[0])*i,n[1]+(r[1]-n[1])*i]}e-=h[t]}return p[0]},v=window.devicePixelRatio||1,y=document.createElement(`canvas`);y.className=`lustre`,y.width=Math.ceil((d+6)*v),y.height=Math.ceil((f+6)*v);let[ee,te,ne,b]=i.map(e=>e>0?e+Ce:0);Object.assign(y.style,{left:`${r.left-Ce}px`,top:`${r.top-Ce}px`,width:`${d+6}px`,height:`${f+6}px`,clipPath:`inset(${ee}px ${te}px ${ne}px ${b}px)`}),document.body.append(y);let re=y.getContext(`2d`);re.scale(v,v);let ie=performance.now(),x=g*we,ae=g/2+x;Ee.set(e,y);let oe=t=>{let n=(t-ie)/Se;if(Ee.get(e)!==y)return;if(n>=1||!e.isConnected){y.remove(),Ee.delete(e);return}re.clearRect(0,0,d+6,f+6);let r=ae*(1-(1-n)**2),i=Math.min(1,(1-n)*3);for(let e of[1,-1])for(let t=0;t<=x;t+=1){let n=r-t;if(n<0||n>g/2)continue;let[a,u]=_(e*n),d=l*i*(1-t/x)**2;re.fillStyle=`rgb(${o} ${s} ${c} / ${d})`,re.fillRect(a+Ce-.5,u+Ce-.5,1,1),re.fillStyle=`rgb(${o} ${s} ${c} / ${d*.35})`,re.fillRect(a+Ce-1.5,u+Ce-1.5,3,3)}requestAnimationFrame(oe)};requestAnimationFrame(oe)}function ke(){let e=document.createElement(`div`);e.className=`brackets`,e.setAttribute(`aria-hidden`,`true`),document.body.append(e);let t=null,n=()=>{let n=t?.isConnected?t.getBoundingClientRect():null;e.hidden=!n||!n.width,n&&!e.hidden&&Object.assign(e.style,{left:`${Math.round(n.left)-4}px`,top:`${Math.round(n.top)-4}px`,width:`${Math.round(n.width)+8}px`,height:`${Math.round(n.height)+8}px`})};return{at:e=>{t=e,n()},place:n}}function Ae(){let e=ke(),t=e=>{if(e.pointerType!==`mouse`)return;let t=e.target.closest?.(be);t&&!(e.relatedTarget instanceof Node&&t.contains(e.relatedTarget))&&Oe(t)},n=t=>{let n=t.target;if(!n.matches?.(`:focus-visible`)||n.matches(xe)){e.at(null);return}e.at(n);let r=n.closest(be);r&&Oe(r)},r=()=>e.at(null),i=0,a=()=>{i||=requestAnimationFrame(()=>{i=0,e.place()})};document.addEventListener(`pointerover`,t),document.addEventListener(`focusin`,n),document.addEventListener(`focusout`,r),addEventListener(`scroll`,a,!0),addEventListener(`resize`,a);let o=setInterval(a,250);return()=>{document.removeEventListener(`pointerover`,t),document.removeEventListener(`focusin`,n),document.removeEventListener(`focusout`,r),removeEventListener(`scroll`,a,!0),removeEventListener(`resize`,a),clearInterval(o),document.querySelector(`.brackets`)?.remove()}}function je(e,t){let n=e.trim().replace(/^<|>$/g,``).split(`#`,1)[0].split(`?`,1)[0];try{n=decodeURIComponent(n)}catch{}if(n.startsWith(`code:`)){let e=ue(n);return e&&ce(e.path)===`image`?{path:e.path,from:`code`}:null}if(!n||/^[a-z][a-z0-9+.-]*:/i.test(n)||ce(n)!==`image`)return null;let r=t.includes(`/`)?t.slice(0,t.lastIndexOf(`/`)):``,i=[];for(let e of(n.startsWith(`/`)?n:`${r}/${n}`).split(`/`))if(e&&e!==`.`){if(e===`..`){if(!i.length)return null;i.pop()}else i.push(e)}return i.length?{path:i.join(`/`),from:`notes`}:null}var Me=new Map;function Ne(e,t){if(`fileUrl`in e)return e.fileUrl(t.path,t.from);let n=`${t.from}:${t.path}`,r=Me.get(n);return r||Me.set(n,r=e.file(t.path,t.from).then(e=>e?URL.createObjectURL(new Blob([e.bytes],{type:e.type})):null,()=>null)),r}var Pe=e=>e.normalize(`NFKD`).replace(/[̀-ͯ]/g,``).toLowerCase().replace(/\.(png|jpe?g|gif|webp|svg|avif)$/,``).replace(/[^a-z0-9._-]+/g,`-`).replace(/-{2,}/g,`-`).replace(/^[-.]+|[-.]+$/g,``);function Fe(e=new Date){let t=e=>String(e).padStart(2,`0`);return`pasted-${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}-${t(e.getHours())}${t(e.getMinutes())}`}async function Ie(e){if(!globalThis.crypto?.subtle)return le(e);let t=await crypto.subtle.digest(`SHA-256`,e);return[...new Uint8Array(t)].map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Le=new class{#e=u(null);get elsewhere(){return i(this.#e)}set elsewhere(e){_(this.#e,e)}#t=u(``);get onAtlas(){return i(this.#t)}set onAtlas(e){_(this.#t,e,!0)}set(e,t){t?this.elsewhere={...t,from:e}:this.elsewhere?.from===e&&(this.elsewhere=null)}};function Re(e){let t=/^#\/n\/([^?#]+)/.exec(e);if(!t)return null;let n=decodeURIComponent(t[1]);return n.endsWith(`/`)?{id:n.slice(0,-1),folder:!0}:{id:n,folder:!1}}var ze={concept:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`],question:[`M8 1.75L14.25 8L8 14.25L1.75 8Z`,`M8 5.75L10.25 8L8 10.25L5.75 8Z`],problem:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M8.5 2.75L9.75 6.25L8.25 8.5L10 13.25`],folder:[`M4.25 4.25H14.25V12.25L12.25 14.25H1.75V6.75Z`,`M5 1.75H9.5`],image:[`M4 2.75H13.25V10.5L11 12.75H2.75V4Z`,`M4.5 10.5L7 7.5L8.75 9.25L10 8L11.75 10`],artifact:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M2.75 5.75H13.25`,`M4.75 11L7 8.5L8.75 10L11.25 7.5`],data:[`M5 2.75H13.25V11L11 13.25H2.75V5Z`,`M2.75 6.75H13.25`,`M2.75 10H13.25`,`M7.5 6.75V13.25`],document:[`M2.75 1.75H10L13.25 5V14.25H2.75Z`,`M10 1.75V5H13.25`,`M5 8.25H11`,`M5 11H9`],misc:[`M8 1.75L13.5 4.9V11.1L8 14.25L2.5 11.1V4.9Z`,`M2.5 4.9L8 8L13.5 4.9`,`M8 8V14.25`],web:[`M5.5 1.75H10.5L14.25 5.5V10.5L10.5 14.25H5.5L1.75 10.5V5.5Z`,`M1.75 8H14.25`,`M8 1.75V14.25`],code:[`M5.25 4.75L2 8L5.25 11.25`,`M10.75 4.75L14 8L10.75 11.25`,`M9.25 3.25L6.75 12.75`]},Be={concept:`concept`,question:`question`,problem:`problem`,folder:`folder`,image:`picture`,artifact:`artifact`,data:`data`,document:`document`,misc:`file`,web:`web`,code:`code`},Ve=a(`<path></path>`),He=a(`<svg class="glyph svelte-8tyru2" viewBox="0 0 16 16" aria-hidden="true"></svg>`);function Ue(e,t){f(t,!0);let r=g(t,`size`,3,12);var i=He();n(i,20,()=>ze[t.kind],e=>e,(e,t)=>{var n=Ve();o(()=>m(n,`d`,t)),s(e,n)}),h(i),o(()=>{m(i,`width`,r()),m(i,`height`,r())}),s(e,i),b()}var We=r(`<i aria-hidden="true"></i>`);function Ge(e,t){f(t,!0);let n=te(()=>t.moment.who.startsWith(`iso:`)),r=te(()=>t.moment.who.startsWith(`agent:`));var a=c(),l=p(a),u=e=>{var n=We();let a;o(()=>a=x(n,1,`dia svelte-1jroppb`,null,a,{open:t.moment.what===`offered`||t.moment.what===`discarded`,gone:t.moment.what===`discarded`,agent:i(r)})),s(e,n)},d=e=>{var n=We();let r;o(()=>r=x(n,1,`sq`,null,r,{empty:t.moment.who===`external`})),s(e,n)};y(l,e=>{i(n)||i(r)?e(u):e(d,-1)}),s(e,a),b()}var Ke=r(`<span class="asked svelte-112n2zp" aria-hidden="true"> </span>`),qe=r(`<li class="svelte-112n2zp"><button type="button"><!></button> <!></li>`),Je=r(`<ol></ol>`);function Ye(r,a){f(a,!0);let c=e=>e.asked===void 0?`${_e(e)} · ${ve(e.at)}${e.added||e.removed?` · +${e.added} −${e.removed}`:``}`:`“${e.asked}”`,l=g(a,`strata`,3,!1),u=g(a,`label`,3,e=>l()?c(e):e.asked===void 0?void 0:`“${e.asked}”`),d=g(a,`name`,3,`The note's timeline`),p=g(a,`leftward`,3,!1),_=te(()=>l()?[...a.moments].reverse():a.moments),ie=e=>Math.min(40,Math.round(4+2.5*Math.sqrt(e.added+e.removed))),oe=e=>e.who.startsWith(`iso:`)?`iso`:e.who.startsWith(`agent:`)?`agent`:e.who===`external`?`external`:`you`;var se=Je();let ce;n(se,21,()=>i(_),e=>e.ids[0],(n,r)=>{var c=qe(),d=e(c);let f,p;var g=e(d),_=e=>{Ge(e,{get moment(){return i(r)}})};y(g,e=>{l()||e(_)}),h(d);var b=ee(d,2),se=e=>{var t=Ke(),n=ne(t,!0);o(e=>v(n,e),[()=>u()(i(r))]),s(e,t)},ce=te(()=>a.pointed===i(r)&&u()(i(r))!==void 0);y(b,e=>{i(ce)&&e(se)}),h(c),o((e,t,n,r,i,a)=>{f=x(d,1,`moment ${e??``}`,`svelte-112n2zp`,f,{at:t}),m(d,`aria-current`,n),m(d,`aria-label`,`${r??``}, ${i??``}`),p=re(d,``,p,{height:a})},[()=>l()?`layer ${oe(i(r))} ${i(r).what}`:``,()=>a.at===ye(i(r)),()=>a.at===ye(i(r))?`step`:void 0,()=>_e(i(r)),()=>ve(i(r).at),()=>l()?`${ie(i(r))}px`:void 0]),t(`pointerenter`,d,()=>a.point(i(r))),t(`pointerleave`,d,()=>a.point(null)),t(`focus`,d,()=>a.point(i(r))),t(`blur`,d,()=>a.point(null)),ae(`click`,d,()=>a.pick(i(r))),s(n,c)}),h(se),o(()=>{ce=x(se,1,`timeline svelte-112n2zp`,null,ce,{leftward:p(),strata:l()}),m(se,`aria-label`,d())}),s(r,se),b()}l([`click`]);var Xe=ie(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.katex=r():n.katex=r()})(typeof self<`u`?self:e,function(){return(function(){var e={};(function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}})(),(function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})();var t={};e.d(t,{default:function(){return $i}});class n extends Error{constructor(e,t){let r=`KaTeX parse error: `+e,i,a,o=t&&t.loc;if(o&&o.start<=o.end){let e=o.lexer.input;i=o.start,a=o.end,i===e.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;let t=e.slice(i,a).replace(/[^]/g,`$&̲`),n;n=i>15?`…`+e.slice(i-15,i):e.slice(0,i);let s;s=a+15<e.length?e.slice(a,a+15)+`…`:e.slice(a),r+=n+t+s}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,n.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=e}}var r=n;let i=/([A-Z])/g,a=e=>e.replace(i,`-$1`).toLowerCase(),o={"&":`&amp;`,">":`&gt;`,"<":`&lt;`,'"':`&quot;`,"'":`&#x27;`},s=/[&><"']/g,c=e=>String(e).replace(s,e=>o[e]),l=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?l(e.body[0]):e:e.type===`font`?l(e.body):e,u=new Set([`mathord`,`textord`,`atom`]),d=e=>u.has(l(e).type),f=e=>{let t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},p={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function m(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function h(e){return Object.prototype.hasOwnProperty.call(e,`default`)&&e.default!==void 0?e.default:m(Array.isArray(e.type)?e.type[0]:e.type)}function g(e,t,n,r){let i=Object.prototype.hasOwnProperty.call(n,t)?n[t]:void 0,a=Object.prototype.hasOwnProperty.call(r,`processor`)?r.processor:void 0;e[t]=i===void 0?h(r):a?a(i):i}class _{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(let t of Object.keys(p)){let n=p[t];n&&g(this,t,e,n)}}reportNonstrict(e,t,n){let i=this.strict;if(typeof i==`function`&&(i=i(e,t,n)),i&&i!==`ignore`){if(i===!0||i===`error`)throw new r(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);i===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+i+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){let r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){let t=f(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return y[ee[this.id]]}sub(){return y[te[this.id]]}fracNum(){return y[ne[this.id]]}fracDen(){return y[b[this.id]]}cramp(){return y[re[this.id]]}text(){return y[ie[this.id]]}isTight(){return this.size>=2}}let y=[new v(0,0,!1),new v(1,0,!0),new v(2,1,!1),new v(3,1,!0),new v(4,2,!1),new v(5,2,!0),new v(6,3,!1),new v(7,3,!0)],ee=[4,5,4,5,6,7,6,7],te=[5,5,5,5,7,7,7,7],ne=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],re=[1,1,3,3,5,5,7,7],ie=[0,1,2,3,2,3,2,3];var x={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]};let ae=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function oe(e){for(let t=0;t<ae.length;t++){let n=ae[t];for(let t=0;t<n.blocks.length;t++){let r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}let se=[];ae.forEach(e=>e.blocks.forEach(e=>se.push(...e)));function ce(e){for(let t=0;t<se.length;t+=2)if(e>=se[t]&&e<=se[t+1])return!0;return!1}let le=e=>e+` `+e,ue=function(e,t){return`M95,`+(622+e+t)+`
3
3
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
4
4
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
5
5
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Bkbiw_sA.js","../chunks/Cz6kYWmu.js","../chunks/DQp-M3XN.js","../chunks/xihTtKlq.js","../chunks/CL9QeiGC.js","../chunks/D7yT4F_8.js","../chunks/CRzLMJPS.js","../chunks/CkSjC-iE.js","../chunks/BxTFtVqu.js","../chunks/yxd8jSz3.js","../assets/drawn.D6lJzDcc.css","../chunks/BleKqNM1.js","../chunks/DyZdoKBK.js","../chunks/BFOLKM4z.js","../assets/FolderField._A4_sc1Z.css","../chunks/Bg-39frG.js","../assets/NoteList.Wxp_AH0Y.css","../chunks/DgI3Vj5v.js","../assets/ground.hxi5N5fC.css","../assets/0.BGpjfMlq.css","../nodes/1.kdx6h8ts.js","../nodes/2.CtK7BGB8.js","../chunks/0qd6IUbO.js","../nodes/3.D5PZa2kH.js","../nodes/4.DzS8oPUH.js","../assets/4.Dn5sJ8uq.css","../nodes/5.B-1BDKsL.js","../assets/5.DJhOSn7C.css","../nodes/6.DDT1DtCg.js","../nodes/7.CCNCaItj.js","../assets/7.C00vyVPo.css"])))=>i.map(i=>d[i]);
2
- import{$ as e,C as t,F as n,H as r,J as i,L as a,N as o,P as s,W as c,X as l,Y as u,at as d,dt as f,et as p,ht as m,i as h,it as g,j as _,k as v,l as y,n as b,nt as x,ot as S,r as C,ut as w}from"../chunks/Cz6kYWmu.js";import{t as T}from"../chunks/CRzLMJPS.js";import"../chunks/xihTtKlq.js";var E={},D=n(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),O=n(`<!> <!>`,1);function k(n,C){f(C,!0);let T=h(C,`components`,23,()=>[]),E=h(C,`data_0`,3,null),k=h(C,`data_1`,3,null);l(()=>C.stores.page.set(C.page)),u(()=>{C.stores,C.page,C.constructors,T(),C.form,E(),k(),C.stores.page.notify()});let A=d(!1),j=d(!1),M=d(null);b(()=>{let e=C.stores.page.subscribe(()=>{r(A)&&(g(j,!0),c().then(()=>{g(M,document.title||`untitled page`,!0)}))});return g(A,!0),e});let N=S(()=>C.constructors[1]);var P=O(),F=p(P),I=e=>{let n=S(()=>C.constructors[0]);var i=s(),a=p(i);t(a,()=>r(n),(e,n)=>{y(n(e,{get data(){return E()},get form(){return C.form},get params(){return C.page.params},children:(e,n)=>{var i=s(),a=p(i);t(a,()=>r(N),(e,t)=>{y(t(e,{get data(){return k()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),o(e,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),o(e,i)},L=e=>{let n=S(()=>C.constructors[0]);var i=s(),a=p(i);t(a,()=>r(n),(e,t)=>{y(t(e,{get data(){return E()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),o(e,i)};v(F,e=>{C.constructors[1]?e(I):e(L,-1)});var R=x(F,2),z=t=>{var n=D(),s=e(n),c=e=>{var t=a();i(()=>_(t,r(M))),o(e,t)};v(s,e=>{r(j)&&e(c)}),m(n),o(t,n)};v(R,e=>{r(A)&&e(z)}),o(n,P),w()}var A=C(k),j=[()=>T(()=>import(`../nodes/0.Bkbiw_sA.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),()=>T(()=>import(`../nodes/1.kdx6h8ts.js`),__vite__mapDeps([20,1,3,12,2]),import.meta.url),()=>T(()=>import(`../nodes/2.CtK7BGB8.js`),__vite__mapDeps([21,1,2,3,4,11,22]),import.meta.url),()=>T(()=>import(`../nodes/3.D5PZa2kH.js`),__vite__mapDeps([23,1,2,3,4,11,12,22]),import.meta.url),()=>T(()=>import(`../nodes/4.DzS8oPUH.js`),__vite__mapDeps([24,1,3,4,2,12,7,6,8,9,25]),import.meta.url),()=>T(()=>import(`../nodes/5.B-1BDKsL.js`),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,27]),import.meta.url),()=>T(()=>import(`../nodes/6.DDT1DtCg.js`),__vite__mapDeps([28,1,3,15,2,4,11,13,14,16,22]),import.meta.url),()=>T(()=>import(`../nodes/7.CCNCaItj.js`),__vite__mapDeps([29,1,3,17,18,22,30]),import.meta.url)],M=[],N={"/":[2],"/atlas":[3],"/code/[...path]":[4],"/notes":[6],"/n/[...id]":[5],"/parts":[7]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!0,R=(e,t)=>F[e](t),z=()=>T(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{R as decode,F as decoders,N as dictionary,I as encoders,z as get_error_template,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.i_AjenOL.js","../chunks/Cz6kYWmu.js","../chunks/Co7i-dcu.js","../chunks/xihTtKlq.js","../chunks/CqmdC7Q3.js","../chunks/ufOJrCuz.js","../chunks/CRzLMJPS.js","../chunks/CkSjC-iE.js","../chunks/BxTFtVqu.js","../chunks/yxd8jSz3.js","../assets/drawn.D6lJzDcc.css","../chunks/D4nFtMQC.js","../chunks/DdegnILL.js","../chunks/lSTs4h6V.js","../assets/FolderField._A4_sc1Z.css","../chunks/DjN194Ef.js","../assets/NoteList.Wxp_AH0Y.css","../chunks/DgI3Vj5v.js","../assets/ground.hxi5N5fC.css","../assets/0.i592VXJM.css","../nodes/1.D6qHWJUF.js","../nodes/2.BPWtlg8V.js","../chunks/0qd6IUbO.js","../nodes/3.DaRPyiq0.js","../nodes/4.CkZ28L5K.js","../assets/4.Dn5sJ8uq.css","../nodes/5.6ZCfORwJ.js","../assets/5.DJhOSn7C.css","../nodes/6.B9EIxq5B.js","../nodes/7.DGJflKit.js","../assets/7.C00vyVPo.css"])))=>i.map(i=>d[i]);
2
+ import{$ as e,C as t,F as n,H as r,J as i,L as a,N as o,P as s,W as c,X as l,Y as u,at as d,dt as f,et as p,ht as m,i as h,it as g,j as _,k as v,l as y,n as b,nt as x,ot as S,r as C,ut as w}from"../chunks/Cz6kYWmu.js";import{t as T}from"../chunks/CRzLMJPS.js";import"../chunks/xihTtKlq.js";var E={},D=n(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),O=n(`<!> <!>`,1);function k(n,C){f(C,!0);let T=h(C,`components`,23,()=>[]),E=h(C,`data_0`,3,null),k=h(C,`data_1`,3,null);l(()=>C.stores.page.set(C.page)),u(()=>{C.stores,C.page,C.constructors,T(),C.form,E(),k(),C.stores.page.notify()});let A=d(!1),j=d(!1),M=d(null);b(()=>{let e=C.stores.page.subscribe(()=>{r(A)&&(g(j,!0),c().then(()=>{g(M,document.title||`untitled page`,!0)}))});return g(A,!0),e});let N=S(()=>C.constructors[1]);var P=O(),F=p(P),I=e=>{let n=S(()=>C.constructors[0]);var i=s(),a=p(i);t(a,()=>r(n),(e,n)=>{y(n(e,{get data(){return E()},get form(){return C.form},get params(){return C.page.params},children:(e,n)=>{var i=s(),a=p(i);t(a,()=>r(N),(e,t)=>{y(t(e,{get data(){return k()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),o(e,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),o(e,i)},L=e=>{let n=S(()=>C.constructors[0]);var i=s(),a=p(i);t(a,()=>r(n),(e,t)=>{y(t(e,{get data(){return E()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),o(e,i)};v(F,e=>{C.constructors[1]?e(I):e(L,-1)});var R=x(F,2),z=t=>{var n=D(),s=e(n),c=e=>{var t=a();i(()=>_(t,r(M))),o(e,t)};v(s,e=>{r(j)&&e(c)}),m(n),o(t,n)};v(R,e=>{r(A)&&e(z)}),o(n,P),w()}var A=C(k),j=[()=>T(()=>import(`../nodes/0.i_AjenOL.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),()=>T(()=>import(`../nodes/1.D6qHWJUF.js`),__vite__mapDeps([20,1,3,12,2]),import.meta.url),()=>T(()=>import(`../nodes/2.BPWtlg8V.js`),__vite__mapDeps([21,1,2,3,4,11,22]),import.meta.url),()=>T(()=>import(`../nodes/3.DaRPyiq0.js`),__vite__mapDeps([23,1,2,3,4,11,12,22]),import.meta.url),()=>T(()=>import(`../nodes/4.CkZ28L5K.js`),__vite__mapDeps([24,1,3,4,2,12,7,6,8,9,25]),import.meta.url),()=>T(()=>import(`../nodes/5.6ZCfORwJ.js`),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,27]),import.meta.url),()=>T(()=>import(`../nodes/6.B9EIxq5B.js`),__vite__mapDeps([28,1,3,15,2,4,11,13,14,16,22]),import.meta.url),()=>T(()=>import(`../nodes/7.DGJflKit.js`),__vite__mapDeps([29,1,3,17,18,22,30]),import.meta.url)],M=[],N={"/":[2],"/atlas":[3],"/code/[...path]":[4],"/notes":[6],"/n/[...id]":[5],"/parts":[7]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!0,R=(e,t)=>F[e](t),z=()=>T(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{R as decode,F as decoders,N as dictionary,I as encoders,z as get_error_template,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
@@ -0,0 +1 @@
1
+ export{a as load_css,n as start}from"../chunks/Co7i-dcu.js";