1import{n as L,a as as}from"./dom-DuUjSFqu.js";import{defineScene as es,h as r}from"./sceneRuntime-CHN9yY_U.js";const s="agent-access",is={home:'<path d="M4 10.5 12 4l8 6.5V19a1 1 0 0 1-1 1h-4.5v-5.5h-5V20H5a1 1 0 0 1-1-1z"/>',notes:'<path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z"/>',studio:'<path d="M4 10v4M8 6v12M12 9v6M16 4v16M20 10v4"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',bolt:'<path d="M13 2 4 14h8l-1 8 9-12h-8z"/>',layers:'<path d="m12 3 9 4.5-9 4.5-9-4.5z"/><path d="m3 12 9 4.5 9-4.5"/><path d="m3 16.5 9 4.5 9-4.5"/>',media:'<rect x="3" y="6" width="13" height="12" rx="2"/><path d="m16 10 5-3v10l-5-3"/>',gear:'<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/>',search:'<circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/>',plus:'<path d="M12 5v14M5 12h14"/>',puzzle:'<path d="M10 3a2 2 0 0 1 4 0c0 .6.4 1 1 1h2a2 2 0 0 1 2 2v2c0 .6.4 1 1 1a2 2 0 0 1 0 4c-.6 0-1 .4-1 1v2a2 2 0 0 1-2 2h-2c-.6 0-1-.4-1-1a2 2 0 0 0-4 0c0 .6-.4 1-1 1H5a2 2 0 0 1-2-2v-2c0-.6.4-1 1-1a2 2 0 0 0 0-4c-.6 0-1-.4-1-1V6a2 2 0 0 1 2-2h2c.6 0 1-.4 1-1Z"/>',file:'<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/><path d="M15 13H9M15 17H9"/>',image:'<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-5-5L5 21"/>',bookmark:'<path d="M6 3h12v18l-6-4-6 4z"/>',video:'<rect x="3" y="6" width="13" height="12" rx="2"/><path d="m16 10 5-3v10l-5-3"/>',folder:'<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>',chevD:'<path d="m6 9 6 6 6-6"/>',chevR:'<path d="m9 6 6 6-6 6"/>',back:'<path d="m15 18-6-6 6-6"/>',fwd:'<path d="m9 18 6-6-6-6"/>',reload:'<path d="M20 12a8 8 0 1 1-2.4-5.7L20 8.5"/><path d="M20 3.5v5h-5"/>',lock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/>',star:'<path d="m12 3 2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3 6.5 20.2l1-6.2L3 9.6l6.2-.9z"/>',link:'<path d="M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1.5 1.5"/><path d="M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1.5-1.5"/>',tray:'<path d="M12 3v12"/><path d="m7 10 5 5 5-5"/><path d="M5 21h14"/>',list:'<path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/>',more:'<circle cx="5" cy="12" r="1.3"/><circle cx="12" cy="12" r="1.3"/><circle cx="19" cy="12" r="1.3"/>',x:'<path d="M18 6 6 18M6 6l12 12"/>',headphones:'<path d="M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3"/>',check:'<path d="m4 7 2 2 3-3"/><path d="M12 7h8"/><path d="m4 15 2 2 3-3"/><path d="M12 15h8"/>',quote:'<path d="M7 17c-2 0-3-1.5-3-3.5C4 10 6 7 9 6"/><path d="M17 17c-2 0-3-1.5-3-3.5 0-3.5 2-6.5 5-7.5"/>',mic:'<rect x="9" y="3" width="6" height="11" rx="3"/><path d="M5 11a7 7 0 0 0 14 0M12 18v3"/>',term:'<path d="m5 8 4 4-4 4"/><path d="M12 17h7"/>',pin:'<path d="M9 3h6l-1 6 4 4v2H6v-2l4-4z"/><path d="M12 15v6"/>'},o=(d,n=16,h=1.8,c="")=>`<svg class="${c}" viewBox="0 0 24 24" width="${n}" height="${n}" fill="none" stroke="currentColor" stroke-width="${h}" stroke-linecap="round" stroke-linejoin="round">${is[d]}</svg>`;let os=0;const ns=d=>{const n="agt"+os++;return`<svg viewBox="0 0 120 120" width="${d}" height="${d}"><defs><linearGradient id="${n}" x1="20" y1="20" x2="100" y2="100" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="#A85A3A"/><stop offset="45%" stop-color="#D4775B"/><stop offset="100%" stop-color="#E8A46C"/></linearGradient></defs><path d="M56 14C30 14 14 32 14 54c0 16 10 28 22 34 2 1 3 3 2 5l-2 12c-.5 2 1.5 4 3.5 3l14-8c2-1 4-1 6-.5 3 .5 6 1.5 10 1.5 26 0 44-18 42-44C110 30 84 14 56 14z" fill="url(#${n})"/>
1<rect x="37" y="45" width="6" height="18" rx="3" fill="#fff" opacity=".92"/><rect x="49" y="37" width="6" height="34" rx="3" fill="#fff" opacity=".92"/><rect x="61" y="43" width="6" height="22" rx="3" fill="#fff" opacity=".92"/></svg>`},ls=`*,*::before,*::after{box-sizing:border-box} 2.yw-cursor{position:absolute;left:0;top:0;width:22px;height:22px;pointer-events:none;z-index:50;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 2l13 11h-6.5l3.8 7-2.6 1.3-3.8-7.1L4 18z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}`,ps=(d,n,h,c,l,m=520)=>{const $=()=>{const x=document.createElement("div");x.style.cssText="position:absolute;left:0;top:0;width:100%;height:100%",d.appendChild(x);const M=x.attachShadow({mode:"open"}),z=document.createElement("style");z.textContent=ls+c,M.appendChild(z);const y=document.createElement("div");return y.className=`ys-${s} ys-v-${l}`,y.style.cssText="position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden",M.appendChild(y),[x,y]},[b,A]=$(),[w,E]=$(),e=n(A);return n(E)(0),w.style.opacity=String(0),x=>{e(x),w.style.opacity=String(r.ease.inOut(r.loopFade(x,h,m)))}},X=[["Final copy for the pricing page",!1],["Record the 60-second demo",!1],["Email the beta list (412 people)",!1],["App Store screenshots in 5 languages",!1],["Press kit to Dana by Thursday",!1],["Support macros for launch week",!1]],K="Find my launch plan in Yaps and turn the open items into a ",k="checklist note",a={type0:300,enter:1500,say:1650,s1:1950,s1out:2400,s2:2700,s2out:3050,s3:3350,s3out:3800,done:4050,swap:4650,toRow:5450,rowClick:5550,open:5650,dur:9e3},ds=7800,N=[];{const d=r.rand(311);let n=a.type0;for(let h=0;h<k.length;h++)N.push(n),n+=58+d()*40+(k[h]===" "?50:0)}const rs={tile:{tm:{x:128,y:18,w:580,h:520},tmBack:{dx:-150,dy:8,s:.86},yw:{x:200,y:22,w:592,h:540},side:0,list:172,cursorStart:[700,470],park:[740,470]},stage:{tm:{x:170,y:90,w:940,h:620},tmBack:{dx:-150,dy:0,s:.86},yw:{x:430,y:60,w:820,h:720},side:160,list:236,cursorStart:[1150,700],park:[1190,700]}},cs=` 3.ys-${s} .tm{position:absolute;border-radius:12px;overflow:hidden;background:#141211;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 30px 80px rgba(0,0,0,.6),0 8px 24px rgba(0,0,0,.35);transform-origin:0 50%} 4.ys-${s} .tm-bar{height:40px;display:flex;align-items:center;padding:0 14px;background:#211e1c;border-bottom:1px solid rgba(0,0,0,.4);color:#a8a09a;font-size:13px} 5.ys-${s} .lights{display:flex;gap:8px}.ys-${s} .lights i{width:12px;height:12px;border-radius:50%;background:#ff5f57}.ys-${s} .lights i:nth-child(2){background:#febc2e}.ys-${s} .lights i:nth-child(3){background:#28c840} 6.ys-${s} .tm-bar .ttl{flex:1;text-align:center;margin-right:52px} 7.ys-${s} .tm-body{position:absolute;left:0;right:0;top:40px;bottom:0;overflow:hidden;font-family:var(--app-mono);color:#e6e1dc} 8.ys-${s} .tm-scroll{position:absolute;left:0;right:0;top:0} 9.ys-${s} .ln{white-space:pre-wrap;word-break:break-word} 10.ys-${s} .ln.gap{height:.7em} 11.ys-${s} .ln .d{color:#8d857e} 12.ys-${s} .ln .b{font-weight:600;color:#f3eee9} 13.ys-${s} .ln .ok{color:#5fb87a} 14.ys-${s} .ln .you{color:#a8a09a} 15.ys-${s} .ln .str{color:#e0b784} 16.ys-${s} .row{display:flex;gap:.6em} 17.ys-${s} .row>span:first-child{flex:0 0 auto} 18.ys-${s} .spin{color:#e0896b} 19.ys-${s} .box{border:1px solid #5a5450;border-radius:8px;display:flex;gap:.6em;align-items:flex-start} 20.ys-${s} .box .gt{color:#a8a09a} 21.ys-${s} .kc{display:inline-block;width:.6em;height:1.15em;background:#e6e1dc;vertical-align:-.2em} 22.ys-${s} .hint{color:#6f6863} 23.ys-${s} .dock{position:absolute;left:0;right:0;bottom:0;background:#141211} 24/* Yaps */ 25.ys-${s} .yw{position:absolute;border-radius:14px;overflow:hidden;background:#151211;box-shadow:0 0 0 1px rgba(255,255,255,.09),0 30px 80px rgba(0,0,0,.6),0 8px 24px rgba(0,0,0,.35)} 26.ys-${s} .yw .lights{position:absolute;left:16px;top:16px;z-index:6} 27.ys-${s} .side{position:absolute;left:0;top:0;bottom:0;background:#191313;padding:60px 12px 0} 28.ys-${s} .brand{display:flex;align-items:center;gap:10px;font-family:var(--app-serif);font-size:23px;color:#f5eee8;padding:0 8px;margin-bottom:24px} 29.ys-${s} .nav{display:flex;align-items:center;gap:11px;height:40px;padding:0 13px;border-radius:12px;color:#e8ddd4;font-size:14px;font-weight:500;margin-bottom:4px;border:1px solid transparent} 30.ys-${s} .nav.on{background:linear-gradient(135deg,rgba(212,119,91,.26),rgba(120,60,40,.2));border-color:rgba(232,164,108,.28);color:#fff} 31.ys-${s} .nav svg{color:#cbbfb5} 32.ys-${s} .list{position:absolute;top:0;bottom:0;background:#151114;border-right:1px solid rgba(255,255,255,.07)} 33.ys-${s} .lh{display:flex;align-items:center;gap:8px} 34.ys-${s} .lh h2{font-family:var(--app-serif);font-weight:400;color:#f5eee8;margin:0 auto 0 0} 35.ys-${s} .ib{border-radius:9px;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:#cbbfb5;flex:0 0 auto} 36.ys-${s} .lsearch{white-space:nowrap;overflow:hidden;border-radius:10px;border:1px solid rgba(255,255,255,.09);display:flex;align-items:center;gap:8px;padding:0 12px;color:#8f847c} 37.ys-${s} .newn{border-radius:10px;background:linear-gradient(135deg,#c86a42,#b4532f);display:flex;align-items:center;gap:10px;padding:0 14px;color:#fff;font-weight:600;box-shadow:0 6px 18px rgba(180,83,47,.25);white-space:nowrap} 38.ys-${s} .newn small{display:block;font:400 .78em var(--app-mono);opacity:.8} 39.ys-${s} .tr{display:flex;align-items:center;gap:9px;color:#e8ddd4;white-space:nowrap;overflow:hidden;border-radius:8px;padding-right:8px} 40.ys-${s} .tr .c{margin-left:auto;color:#6e6560;font-family:var(--app-mono);font-size:.8em} 41.ys-${s} .tr .tx{overflow:hidden;text-overflow:ellipsis} 42.ys-${s} .tr svg{flex:0 0 auto;color:#9a9088} 43.ys-${s} .tr.sel{background:#3a2d29;box-shadow:inset 0 0 0 1px rgba(232,164,108,.35);color:#fff} 44.ys-${s} .tr.sel svg{color:#e8a46c} 45.ys-${s} .tkick{font:600 .74em var(--app-mono);letter-spacing:.12em;color:#c88a6c;display:flex;align-items:center;gap:6px} 46.ys-${s} .ed{position:absolute;top:0;bottom:0;right:0;background:#1e1a17;overflow:hidden} 47.ys-${s} .crumb{display:flex;align-items:center;color:#e8ddd4;font-weight:500;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap;overflow:hidden} 48.ys-${s} .crumb span{color:#9a9088} 49.ys-${s} .n-title{font-family:var(--app-serif);font-weight:400;color:#f5eee8;letter-spacing:-.01em;line-height:1.02;margin:0} 50.ys-${s} .n-tag{display:inline-block;border:1px dashed rgba(255,255,255,.28);border-radius:7px;color:#9a9088;font-family:var(--app-mono)} 51.ys-${s} .md-p{color:#e8ddd4;margin:0} 52.ys-${s} .md-h2{font-family:var(--app-serif);font-weight:400;color:#f5eee8;line-height:1.1;margin:0} 53.ys-${s} .wl{color:#9a9088}.ys-${s} .wl b{font-weight:500;color:#e8a46c;text-decoration:underline;text-underline-offset:3px} 54.ys-${s} .wlw{background:rgba(212,119,91,.12);border-radius:4px;padding:0 3px} 55.ys-${s} .task{display:flex;align-items:center;color:#e8ddd4} 56.ys-${s} .cb{flex:0 0 auto;border:1.5px solid rgba(255,255,255,.32);border-radius:4px} 57.ys-${s} .md-li{color:#e8ddd4;display:flex;gap:.45em}.ys-${s} .md-li i{font-style:normal;color:#9a9088} 58/* tile */ 59.ys-${s}.ys-v-tile .tm-body{font-size:17.5px;line-height:1.5} 60.ys-${s}.ys-v-tile .tm-scroll{padding:16px 22px 0} 61.ys-${s}.ys-v-tile .dock{padding:10px 22px 16px} 62.ys-${s}.ys-v-tile .box{padding:10px 14px} 63.ys-${s}.ys-v-tile .lh{padding:46px 14px 0 18px}.ys-${s}.ys-v-tile .lh h2{font-size:30px} 64.ys-${s}.ys-v-tile .ib{width:36px;height:34px} 65.ys-${s}.ys-v-tile .lsearch{height:40px;margin:16px 14px 10px;font-size:15px} 66.ys-${s}.ys-v-tile .newn{height:46px;margin:0 14px;font-size:15px} 67.ys-${s}.ys-v-tile .tree{margin:14px 8px 0 12px;font-size:16px} 68.ys-${s}.ys-v-tile .tr{height:34px}.ys-${s}.ys-v-tile .tkick{height:30px} 69.ys-${s}.ys-v-tile .crumb{height:60px;padding:0 24px;font-size:15px} 70.ys-${s}.ys-v-tile .doc{padding:22px 28px 0} 71.ys-${s}.ys-v-tile .n-title{font-size:40px} 72.ys-${s}.ys-v-tile .n-tag{font-size:13px;padding:4px 9px;margin:10px 0 12px} 73.ys-${s}.ys-v-tile .md-p,.ys-${s}.ys-v-tile .task{font-size:20px;line-height:1.5} 74.ys-${s}.ys-v-tile .task{gap:12px;margin-bottom:4px}.ys-${s}.ys-v-tile .cb{width:19px;height:19px} 75.ys-${s}.ys-v-tile .md-h2{font-size:25px;margin:12px 0 8px} 76/* stage */ 77.ys-${s}.ys-v-stage .tm-body{font-size:16px;line-height:1.55} 78.ys-${s}
78.ys-v-stage .tm-scroll{padding:18px 26px 0} 79.ys-${s}.ys-v-stage .dock{padding:10px 26px 18px} 80.ys-${s}.ys-v-stage .box{padding:10px 14px} 81.ys-${s}.ys-v-stage .lh{padding:26px 14px 0 18px}.ys-${s}.ys-v-stage .lh h2{font-size:27px} 82.ys-${s}.ys-v-stage .ib{width:34px;height:32px} 83.ys-${s}.ys-v-stage .lsearch{height:38px;margin:16px 14px 10px;font-size:14px} 84.ys-${s}.ys-v-stage .newn{height:44px;margin:0 14px;font-size:14px} 85.ys-${s}.ys-v-stage .tree{margin:16px 8px 0 12px;font-size:14.5px} 86.ys-${s}.ys-v-stage .tr{height:31px}.ys-${s}.ys-v-stage .tkick{height:28px} 87.ys-${s}.ys-v-stage .crumb{height:60px;padding:0 32px;font-size:14px} 88.ys-${s}.ys-v-stage .doc{padding:32px 40px 0} 89.ys-${s}.ys-v-stage .n-title{font-size:44px} 90.ys-${s}.ys-v-stage .n-tag{font-size:12px;padding:4px 9px;margin:12px 0 16px} 91.ys-${s}.ys-v-stage .md-p,.ys-${s}.ys-v-stage .task{font-size:16.5px;line-height:1.6} 92.ys-${s}.ys-v-stage .task{gap:11px;margin-bottom:5px}.ys-${s}.ys-v-stage .cb{width:16px;height:16px} 93.ys-${s}.ys-v-stage .md-h2{font-size:23px;margin:16px 0 8px} 94`,C=d=>d.replace(/&/g,"&").replace(/</g,"<"),H=d=>`<span class="str">${C(d)}</span>`;function hs(d){const n=(c,l)=>c.length>l?c.slice(0,l-1)+"â¦":c,h=d?38:84;return[{at:a.enter,html:`<div class="ln row you"><span>></span><span>${K}${k}</span></div>`},{at:a.enter,html:'<div class="ln gap"></div>'},{at:a.say,html:'<div class="ln row"><span>âº</span><span>Iâll find the launch plan in your Yaps vault first.</span></div>'},{at:a.say,html:'<div class="ln gap"></div>'},{at:a.s1,tool:a.s1out,html:`<div class="ln row"><span class="dot">âº</span><span><span class="b">Bash</span>(yaps vault search ${H('"launch plan"')})</span></div>`},{at:a.s1out,html:`<div class="ln row d"><span> â¿</span><span>${C(n('{"count":2,"hits":[{"note_id":"01K5W7","path":"Projects/Atlas/Launch plan.md","title":"Launch plan"',h))}</span></div><div class="ln row d"><span> </span><span>⦠+9 lines (ctrl+o to expand)</span></div>`},{at:a.s1out,html:'<div class="ln gap"></div>'},{at:a.s2,tool:a.s2out,html:`<div class="ln row"><span class="dot">âº</span><span><span class="b">Bash</span>(yaps vault get ${H('"Projects/Atlas/Launch plan.md"')})</span></div>`},{at:a.s2out,html:`<div class="ln row d"><span> â¿</span><span>${C(n('{"note":{"title":"Launch plan","markdown":"## Open items\\n- [ ] Final copy for',h))}</span></div><div class="ln row d"><span> </span><span>⦠+41 lines (ctrl+o to expand)</span></div>`},{at:a.s2out,html:'<div class="ln gap"></div>'},{at:a.s3,tool:a.s3out,html:`<div class="ln row"><span class="dot">âº</span><span><span class="b">Bash</span>(yaps vault create --folder ${H('"Projects/Atlas"')} --title ${H('"Launch checklist"')} --markdown-file checklist.md)</span></div>`},{at:a.s3out,html:`<div class="ln row d"><span> â¿</span><span>${C(n('{"note":{"path":"Projects/Atlas/Launch checklist.md","title":"Launch checklist"',h))}</span></div>`},{at:a.s3out,html:'<div class="ln gap"></div>'},{at:a.done,html:'<div class="ln row"><span>âº</span><span>Done. <span class="b">Launch checklist</span> is in Projects/Atlas with the 6 open items, linked back to the plan.</span></div>'}]}const gs=es(s,{duration:a.dur,settle:ds,build(d,{variant:n}){return{render:ps(d,c=>{const l=rs[n],m=n==="tile",$=l.tm,b=l.yw,A=l.side+l.list,w=hs(m);c.innerHTML=` 95 <div class="yw" data-r="yw" style="left:${b.x}px;top:${b.y}px;width:${b.w}px;height:${b.h}px"> 96 <div class="lights"><i></i><i></i><i></i></div> 97 ${m?"":`<div class="side" style="width:${l.side}px"><div class="brand">${ns(26)}Yaps</div> 98 ${[["home","Home"],["notes","Notes"],["studio","Studio"],["clock","Activity"],["bolt","Features"],["layers","Resources"],["media","Media"]].map(([t,i])=>`<div class="nav ${i==="Notes"?"on":""}">${o(t,17,1.9)}${i}</div>`).join("")}</div>`} 99 <div class="list" style="left:${l.side}px;width:${l.list}px"> 100 <div class="lh"><h2>Notes</h2>${m?"":`<span class="ib">${o("list",15,1.9)}</span><span class="ib">${o("tray",15,1.9)}</span>`}<span class="ib">${o("notes",m?17:15,1.9)}</span></div> 101 <div class="lsearch">${o("search",15,2)}Search notesâ¦</div> 102 <div class="newn">${o("plus",16,2.2)}<div>New note<small>General</small></div></div> 103 <div class="tree"> 104 <div class="tkick">${o("chevD",11,2.2)}FOLDERS</div> 105 <div class="tr">${o("chevR",12,2)}${o("folder",16,1.8)}<span class="tx">General</span><span class="c">14</span></div> 106 <div class="tr">${o("chevD",12,2)}${o("folder",16,1.8)}<span class="tx">Projects</span><span class="c">3</span></div> 107 <div style="padding-left:18px"> 108 <div class="tr">${o("chevD",12,2)}${o("folder",16,1.8)}<span class="tx">Atlas</span><span class="c" data-r="cnt">4</span></div> 109 <div style="padding-left:20px;position:relative"> 110 <div class="tr" data-r="newrow" style="position:absolute;
110left:20px;right:0;top:0">${o("file",15,1.8)}<span class="tx">Launch checklist</span></div> 111 <div class="tr wasSel" data-old>${o("file",15,1.8)}<span class="tx">Launch plan</span></div> 112 <div class="tr" data-old>${o("file",15,1.8)}<span class="tx">Beta feedback</span></div> 113 <div class="tr" data-old>${o("file",15,1.8)}<span class="tx">Pricing notes</span></div> 114 </div> 115 <div class="tr" data-old>${o("chevR",12,2)}${o("folder",16,1.8)}<span class="tx">Hiring</span><span class="c">6</span></div> 116 </div> 117 <div class="tr" data-old>${o("chevR",12,2)}${o("folder",16,1.8)}<span class="tx">Daily</span><span class="c">31</span></div> 118 </div> 119 </div> 120 <div class="ed" style="left:${A}px"> 121 <div data-r="oldNote" style="position:absolute;inset:0"> 122 <div class="crumb"><span>Projects / Atlas / </span>Launch plan</div> 123 <div class="doc"><h1 class="n-title">Launch plan</h1><span class="n-tag">#launch</span> 124 <p class="md-p">Ship Atlas 2.0 on 14 October. Beta ends the Friday before.</p> 125 <h3 class="md-h2">Open items</h3> 126 ${X.slice(0,3).map(([t])=>`<div class="md-li"><i>- [ ]</i><span>${t}</span></div>`).join("")}</div> 127 </div> 128 <div data-r="newNote" style="position:absolute;inset:0"> 129 <div class="crumb"><span>Projects / Atlas / </span>Launch checklist</div> 130 <div class="doc"><h1 class="n-title">Launch checklist</h1><span class="n-tag">+ tag</span> 131 <p class="md-p" style="margin-bottom:${m?10:12}px">Open items from <span class="wl wlw">[[<b>Launch plan</b>]]</span>, as of 26 Sep.</p> 132 ${X.map(([t])=>`<div class="task"><span class="cb"></span><span>${t}</span></div>`).join("")}</div> 133 </div> 134 </div> 135 </div> 136 137 <div class="tm" data-r="tm" style="left:${$.x}px;top:${$.y}px;width:${$.w}px;height:${$.h}px"> 138 <div class="tm-bar"><div class="lights"><i></i><i></i><i></i></div><div class="ttl">atlas â agent â 120Ã40</div></div> 139 <div class="tm-body" data-r="body"> 140 <div class="tm-scroll" data-r="scroll"> 141 <div class="ln hint" style="margin-bottom:.9em">~/code/atlas</div> 142 ${w.map((t,i)=>`<div data-e="${i}">${t.html}</div>`).join("")} 143 <div data-r="spin" class="ln spin">â» Running⦠<span class="hint">(esc to interrupt)</span></div> 144 </div> 145 <div class="dock" data-r="dock"> 146 <div class="box"><span class="gt">></span><span data-r="input"></span></div> 147 <div class="ln hint" style="margin-top:6px;font-size:.82em">? for shortcuts</div> 148 </div> 149 </div> 150 </div> 151 <div class="yw-cursor" data-r="cur"></div>`;const E=t=>L(c,`[data-r="${t}"]`),e={};["yw","tm","body","scroll","spin","dock","input","newrow","cnt","oldNote","newNote","cur"].forEach(t=>e[t]=E(t));const B=w.map((t,i)=>({...t,el:L(c,`[data-e="${i}"]`)})),x=as(c,"[data-old]"),M=L(c,".wasSel"),z=(t,i)=>{let S=0,v=0;for(;t&&t!==i;)S+=t.offsetLeft,v+=t.offsetTop,t=t.offsetParent;return[S,v]};let y={row:[0,0],rowW:0,rowH:0};const D=()=>{const[t,i]=z(e.newrow,e.yw);y={row:[b.x+t,b.y+i],rowW:e.newrow.offsetWidth,rowH:e.newrow.offsetHeight}};D();let R=null;document.fonts&&document.fonts.status!=="loaded"&&document.fonts.ready.then(()=>{D(),R!=null&&V(R)});const T=(t,i)=>{t.style.opacity=String(i),t.style.visibility=i>.001?"visible":"hidden"},Z=(t,i)=>t>=i&&t<i+140?1:0,[P,j]=l.cursorStart;function V(t){R=t;let i=0;for(;i<N.length&&N[i]<=t;)i++;const S=t<a.enter;e.input.innerHTML=S?`${K}${k.slice(0,i)}<span class="kc" style="opacity:${i<k.length||Math.floor(t/520)%2===0?1:0}"></span>`:`<span class="kc" style="opacity:${Math.floor(t/520)%2===0?.9:0}"></span>`;let v=null;B.forEach(p=>{const u=t>=p.at;if(p.el.style.display=u?"":"none",p.tool){const ts=L(p.el,".dot"),q=u&&t<p.tool;q&&(v=p),ts.className="dot "+(q?Math.floor(t/260)%2?"hint":"":"ok")}});const J=t>=a.enter&&t<a.say;
151e.spin.style.display=v||J?"":"none",v&&Math.max(1,Math.round((t-v.at)/1e3)),e.spin.firstChild.nodeValue=v?"⻠Running⦠":"⻠Thinking⦠";const Q=e.body.offsetHeight-e.dock.offsetHeight-8,ss=e.scroll.offsetHeight;e.scroll.style.transform=`translateY(${Math.min(0,Q-ss)}px)`;const g=r.ease.inOut(r.seg(t,a.swap,a.swap+650)),O=l.tmBack;e.tm.style.transform=`translate(${O.dx*g}px,${O.dy*g}px) scale(${1-(1-O.s)*g})`,e.tm.style.filter=`brightness(${1-.45*g})`,e.tm.style.zIndex=String(g>.5?1:3),e.yw.style.zIndex=String(g>.5?3:1),e.yw.style.filter=`brightness(${.3+.7*g})`,e.yw.style.transform=`translateX(${(1-g)*40}px) scale(${.96+.04*g})`;const F=r.ease.inOut(r.seg(t,a.s3out,a.s3out+300));T(e.newrow,F),x.forEach(p=>p.style.transform=`translateY(${F*y.rowH}px)`);const G=r.seg(t,a.swap+300,a.swap+600)*(1-r.seg(t,a.open+300,a.open+900));e.newrow.style.boxShadow=t>=a.open?"":`inset 0 0 0 1px rgba(232,164,108,${.65*G})`,e.newrow.style.background=t>=a.open?"":`rgba(212,119,91,${.18*G})`,e.newrow.classList.toggle("sel",t>=a.open),M.classList.toggle("sel",t<a.open),e.cnt.textContent=t>=a.s3out?"4":"3";const I=r.ease.out(r.seg(t,a.open,a.open+260));T(e.oldNote,1-I),T(e.newNote,I);const W=y.row[0]+y.rowW*.45,Y=y.row[1]+y.rowH/2,f=[[0,P,j],[a.swap+300,P,j],[a.toRow,W,Y+2],[a.open+300,W,Y+2],[a.open+1100,l.park[0],l.park[1]],[a.dur,l.park[0],l.park[1]]];let _=P,U=j;for(let p=1;p<f.length;p++)if(t<=f[p][0]){const u=r.ease.inOut(r.seg(t,f[p-1][0],f[p][0]));_=r.lerp(f[p-1][1],f[p][1],u),U=r.lerp(f[p-1][2],f[p][2],u);break}e.cur.style.transform=`translate(${_-4}px,${U-2}px) scale(${Z(t,a.rowClick)?.86:1})`,e.cur.style.opacity=String(r.seg(t,a.swap+200,a.swap+600))}return V},a.dur,cs,n)}}});export{gs as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.