PageSourceSearch

https://savediscoverlater.com/assets/SanctuaryLandingPage-DnUnsOK_.js

js savediscoverlater.com collected 2026-10-02 01:43:26 UTC 31,443 bytes, 8 lines download raw bytes

1import{bi as Ue,bj as qe,bk as V,bl as ne,bm as be,bn as Xe,bo as Ge,bp as Je,bq as Qe,br as Ze,bs as ve,bt as et,bu as tt,bv as re,r as d,bw as ye,bx as le,by as W,bz as st,bA as J,ay as nt,az as rt,aR as it,j as s,aD as L,aB as A,aQ as ot,ar as F,a$ as at,aN as lt,c as ct,at as dt,bB as ut,U as xt,m as N,A as mt,aa as we,a as y,bC as ft,X as ht,bD as pt,Y as je,d as gt,k as bt}from"./index-BbmoTCrT.js";import{c as ke}from"./index-BdQq_4o_.js";import{S as vt}from"./search-BvLnD-Qo.js";import{E as yt}from"./eye-DAt7skBd.js";import{B as wt}from"./bookmark-DmiRnpH_.js";import{T as jt}from"./telescope-DSwHySKV.js";import{C as kt}from"./clock-BOs0n11f.js";const Y=new WeakMap;let E;const Se=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:qe(n)&&"getBBox"in n?n.getBBox()[t]:n[r],St=Se("inline","width","offsetWidth"),Nt=Se("block","height","offsetHeight");function Et({target:e,borderBoxSize:t}){var r;(r=Y.get(e))==null||r.forEach(n=>{n(e,{get width(){return St(e,t)},get height(){return Nt(e,t)}})})}function Pt(e){e.forEach(Et)}function Rt(){typeof ResizeObserver>"u"||(E=new ResizeObserver(Pt))}function Ct(e,t){E||Rt();const r=Ue(e);return r.forEach(n=>{let i=Y.get(n);i||(i=new Set,Y.set(n,i)),i.add(t),E==null||E.observe(n)}),()=>{r.forEach(n=>{const i=Y.get(n);i==null||i.delete(t),i!=null&&i.size||E==null||E.unobserve(n)})}}const $=new Set;let B;function Tt(){B=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};$.forEach(t=>t(e))},window.addEventListener("resize",B)}function Dt(e){return $.add(e),B||Tt(),()=>{$.delete(e),!$.size&&typeof B=="function"&&(window.removeEventListener("resize",B),B=void 0)}}function Lt(e,t){return typeof e=="function"?Dt(e):Ct(e,t)}function Ne(e,t){let r;const n=()=>{const{currentTime:i}=t,a=(i===null?0:i.value)/100;r!==a&&e(a),r=a};return V.preUpdate(n,!0),()=>ne(n)}function Bt(...e){const t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],i=e[1+r],o=e[2+r],a=e[3+r],l=be(i,o,a);return t?l(n):l}const At=50,ce=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),zt=()=>({time:0,x:ce(),y:ce()}),It={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function de(e,t,r,n){const i=r[t],{length:o,position:a}=It[t],l=i.current,u=r.time;i.current=e[`scroll${a}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=Xe(0,i.scrollLength,i.current);const x=n-u;i.velocity=x>At?0:Ge(i.current-l,x)}function Mt(e,t,r){de(e,"x",t,r),de(e,"y",t,r),t.time=r}function Ot(e,t){const r={x:0,y:0};let n=e;for(;n&&n!==t;)if(Je(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n.tagName==="svg"){const i=n.getBoundingClientRect();n=n.parentElement;const o=n.getBoundingClientRect();r.x+=i.left-o.left,r.y+=i.top-o.top}else if(n instanceof SVGGraphicsElement){const{x:i,y:o}=n.getBBox();r.x+=i,r.y+=o;let a=null,l=n.parentNode;for(;!a;)l.tagName==="svg"&&(a=l),l=n.parentNode;n=a}else break;return r}const Z={start:0,center:.5,end:1};function ue(e,t,r=0){let n=0;if(e in Z&&(e=Z[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?n=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?n=i/100*document.documentElement.clientWidth:e.endsWith("vh")?n=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(n=t*e),r+n}const _t=[0,0];function Ht(e,t,r,n){let i=Array.isArray(e)?e:_t,o=0,a=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Z[e]?e:"0"]),o=ue(i[0],r,n),a=ue(i[1],t),o-a}const Wt={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Vt={x:0,y:0};function Ft(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function Kt(e,t,r){const{offset:n=Wt.All}=r,{target:i=e,axis:o="y"}=r,a=o==="y"?"height":"width",l=i!==e?Ot(i,e):Vt,u=i===e?{width:e.scrollWidth,height:e.scrollHeight}:Ft(i),x={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let f=!t[o].interpolate;const c=n.length;for(let m=0;m<c;m++){const p=Ht(n[m],x[a],u[a],l[o]);
1!f&&p!==t[o].interpolatorOffsets[m]&&(f=!0),t[o].offset[m]=p}f&&(t[o].interpolate=be(t[o].offset,Qe(n),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=Ze(0,1,t[o].interpolate(t[o].current))}function Yt(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function $t(e,t,r,n={}){return{measure:i=>{Yt(e,n.target,r),Mt(e,r,i),(n.offset||n.target)&&Kt(e,r,n)},notify:()=>t(r)}}const _=new WeakMap,xe=new WeakMap,Q=new WeakMap,me=e=>e===document.scrollingElement?window:e;function Ee(e,{container:t=document.scrollingElement,...r}={}){if(!t)return ve;let n=Q.get(t);n||(n=new Set,Q.set(t,n));const i=zt(),o=$t(t,e,i,r);if(n.add(o),!_.has(t)){const l=()=>{for(const c of n)c.measure(et.timestamp);V.preUpdate(u)},u=()=>{for(const c of n)c.notify()},x=()=>V.read(l);_.set(t,x);const f=me(t);window.addEventListener("resize",x,{passive:!0}),t!==document.documentElement&&xe.set(t,Lt(t,x)),f.addEventListener("scroll",x,{passive:!0}),x()}const a=_.get(t);return V.read(a,!1,!0),()=>{var x;ne(a);const l=Q.get(t);if(!l||(l.delete(o),l.size))return;const u=_.get(t);_.delete(t),u&&(me(t).removeEventListener("scroll",u),(x=xe.get(t))==null||x(),window.removeEventListener("resize",u))}}const fe=new Map;function Ut(e){const t={value:0},r=Ee(n=>{t.value=n[e.axis].progress*100},e);return{currentTime:t,cancel:r}}function Pe({source:e,container:t,...r}){const{axis:n}=r;e&&(t=e);const i=fe.get(t)??new Map;fe.set(t,i);const o=r.target??"self",a=i.get(o)??{},l=n+(r.offset??[]).join(",");return a[l]||(a[l]=!r.target&&tt()?new ScrollTimeline({source:t,axis:n}):Ut({container:t,...r})),a[l]}function qt(e,t){const r=Pe(t);return e.attachTimeline({timeline:t.target?void 0:r,observe:n=>(n.pause(),Ne(i=>{n.time=n.iterationDuration*i},r))})}function Xt(e){return e.length===2}function Gt(e,t){return Xt(e)?Ee(r=>{e(r[t.axis].progress,r)},t):Ne(e,Pe(t))}function Jt(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){if(!r)return ve;const i={axis:t,container:r,...n};return typeof e=="function"?Gt(e,i):qt(e,i)}const Qt=()=>({scrollX:W(0),scrollY:W(0),scrollXProgress:W(0),scrollYProgress:W(0)}),K=e=>e?!e.current:!1;function Zt({container:e,target:t,...r}={}){const n=re(Qt),i=d.useRef(null),o=d.useRef(!1),a=d.useCallback(()=>(i.current=Jt((l,{x:u,y:x})=>{n.scrollX.set(u.current),n.scrollXProgress.set(u.progress),n.scrollY.set(x.current),n.scrollYProgress.set(x.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var l;(l=i.current)==null||l.call(i)}),[e,t,JSON.stringify(r.offset)]);return ye(()=>{if(o.current=!1,K(e)||K(t)){o.current=!0;return}else return a()},[a]),d.useEffect(()=>{if(o.current)return le(!K(e)),le(!K(t)),a()},[a]),n}function es(e){const t=re(()=>W(e)),{isStatic:r}=d.useContext(st);if(r){const[,n]=d.useState(e);d.useEffect(()=>t.on("change",n),[])}return t}function Re(e,t){const r=es(t()),n=()=>r.set(t());return n(),ye(()=>{const i=()=>V.preRender(n,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),ne(n)}}),r}function ts(e){J.current=[],e();const t=Re(J.current,e);return J.current=void 0,t}function ss(e,t,r,n){if(typeof e=="function")return ts(e);const i=typeof t=="function"?t:Bt(t,r,n);return Array.isArray(e)?he(e,i):he([e],([o])=>i(o))}function he(e,t){const r=re(()=>[]);return Re(e,()=>{r.length=0;const n=e.length;for(let i=0;i<n;i++)r[i]=e[i].get();return t(r)})}var Ce=["PageUp","PageDown"],Te=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],De={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},z="Slider",[ee,ns,rs]=nt(z),[Le,Bs]=rt(z,[rs]),[is,U]=Le(z),Be=d.forwardRef((e,t)=>{const{name:r,min:n=0,max:i=100,step:o=1,orientation:a="horizontal",disabled:l=!1,minStepsBetweenThumbs:u=0,defaultValue:x=[n],value:f,onValueChange:c=()=>{},onValueCommit:m=()=>{},inverted:p=!1,form:S,...w}=e,g=d.useRef(new Set),h=d.useRef(0),j=a==="horizontal"?os:as,[b=[],I]=it({prop:f,defaultProp:x,onChange:k=>{var T;(T=[...g.current][h.current])==null||T.focus(),c(k)}}),q=d.useRef(b);function X(k){const P=xs(b,k);M(k,P)}function Ye(k){M(k,h.current)}function $e(){const k=q.current[h.current];b[h.current]!==k&&m(b)}function M(k,P,{commit:T}={commit:!1}){const oe=ps(o),G=gs(Math.round((k-n)/o)*o+n,oe),O=ke(G,[n,i]);I((D=[])=>{const R=ds(D,O,P);if(hs(R,u*o)){h.current=R.indexOf(O);const ae=String(R)!==String(D);return ae&&T&&m(R),ae?R:D}else return D})}return s.jsx(is,{scope:e.__scopeSlider,name:r,disabled:l,min:n,max:i,valueIndexToChangeRef:h,thumbs:g.current,values:b,orientation:a,form:S,children:s.jsx(ee.Provider,{scope:e.__scopeSlider,children:s.jsx(ee.Slot,{scope:e.__scopeSlider,children:s.jsx(j,{"aria-disabled":l,"data-disabled":l?"":void 0,...w,ref:t,onPointerDown:L(w.onPointerDown,()=>{l||(q.current=b)}),min:n,max:i,inverted:p,onSlideStart:l?void 0:X,onSlideMove:l?void 0:Ye,onSlideEnd:l?void 0:$e,onHomeKeyDown:()=>!l&&M(n,0,{commit:!0}),onEndKeyDown:()=>!l&&M(i,b.length-1,{commit:!0}),onStepKeyDown:({event:k,direction:P})=>
1{if(!l){const G=Ce.includes(k.key)||k.shiftKey&&Te.includes(k.key)?10:1,O=h.current,D=b[O],R=o*G*P;M(D+R,O,{commit:!0})}}})})})})});Be.displayName=z;var[Ae,ze]=Le(z,{startEdge:"left",endEdge:"right",size:"width",direction:1}),os=d.forwardRef((e,t)=>{const{min:r,max:n,dir:i,inverted:o,onSlideStart:a,onSlideMove:l,onSlideEnd:u,onStepKeyDown:x,...f}=e,[c,m]=d.useState(null),p=A(t,j=>m(j)),S=d.useRef(void 0),w=ot(i),g=w==="ltr",h=g&&!o||!g&&o;function C(j){const b=S.current||c.getBoundingClientRect(),I=[0,b.width],X=ie(I,h?[r,n]:[n,r]);return S.current=b,X(j-b.left)}return s.jsx(Ae,{scope:e.__scopeSlider,startEdge:h?"left":"right",endEdge:h?"right":"left",direction:h?1:-1,size:"width",children:s.jsx(Ie,{dir:w,"data-orientation":"horizontal",...f,ref:p,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:j=>{const b=C(j.clientX);a==null||a(b)},onSlideMove:j=>{const b=C(j.clientX);l==null||l(b)},onSlideEnd:()=>{S.current=void 0,u==null||u()},onStepKeyDown:j=>{const I=De[h?"from-left":"from-right"].includes(j.key);x==null||x({event:j,direction:I?-1:1})}})})}),as=d.forwardRef((e,t)=>{const{min:r,max:n,inverted:i,onSlideStart:o,onSlideMove:a,onSlideEnd:l,onStepKeyDown:u,...x}=e,f=d.useRef(null),c=A(t,f),m=d.useRef(void 0),p=!i;function S(w){const g=m.current||f.current.getBoundingClientRect(),h=[0,g.height],j=ie(h,p?[n,r]:[r,n]);return m.current=g,j(w-g.top)}return s.jsx(Ae,{scope:e.__scopeSlider,startEdge:p?"bottom":"top",endEdge:p?"top":"bottom",size:"height",direction:p?1:-1,children:s.jsx(Ie,{"data-orientation":"vertical",...x,ref:c,style:{...x.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const g=S(w.clientY);o==null||o(g)},onSlideMove:w=>{const g=S(w.clientY);a==null||a(g)},onSlideEnd:()=>{m.current=void 0,l==null||l()},onStepKeyDown:w=>{const h=De[p?"from-bottom":"from-top"].includes(w.key);u==null||u({event:w,direction:h?-1:1})}})})}),Ie=d.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:i,onSlideEnd:o,onHomeKeyDown:a,onEndKeyDown:l,onStepKeyDown:u,...x}=e,f=U(z,r);return s.jsx(F.span,{...x,ref:t,onKeyDown:L(e.onKeyDown,c=>{c.key==="Home"?(a(c),c.preventDefault()):c.key==="End"?(l(c),c.preventDefault()):Ce.concat(Te).includes(c.key)&&(u(c),c.preventDefault())}),onPointerDown:L(e.onPointerDown,c=>{const m=c.target;m.setPointerCapture(c.pointerId),c.preventDefault(),f.thumbs.has(m)?m.focus():n(c)}),onPointerMove:L(e.onPointerMove,c=>{c.target.hasPointerCapture(c.pointerId)&&i(c)}),onPointerUp:L(e.onPointerUp,c=>{const m=c.target;m.hasPointerCapture(c.pointerId)&&(m.releasePointerCapture(c.pointerId),o(c))})})}),Me="SliderTrack",Oe=d.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,i=U(Me,r);return s.jsx(F.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...n,ref:t})});Oe.displayName=Me;var te="SliderRange",_e=d.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,i=U(te,r),o=ze(te,r),a=d.useRef(null),l=A(t,a),u=i.values.length,x=i.values.map(m=>Ve(m,i.min,i.max)),f=u>1?Math.min(...x):0,c=100-Math.max(...x);return s.jsx(F.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...n,ref:l,style:{...e.style,[o.startEdge]:f+"%",[o.endEdge]:c+"%"}})});_e.displayName=te;var se="SliderThumb",He=d.forwardRef((e,t)=>{const r=ns(e.__scopeSlider),[n,i]=d.useState(null),o=A(t,l=>i(l)),a=d.useMemo(()=>n?r().findIndex(l=>l.ref.current===n):-1,[r,n]);return s.jsx(ls,{...e,ref:o,index:a})}),ls=d.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:i,...o}=e,a=U(se,r),l=ze(se,r),[u,x]=d.useState(null),f=A(t,C=>x(C)),c=u?a.form||!!u.closest("form"):!0,m=at(u),p=a.values[n],S=p===void 0?0:Ve(p,a.min,a.max),w=us(n,a.values.length),g=m==null?void 0:m[l.size],h=g?ms(g,S,l.direction):0;return d.useEffect(()=>{if(u)return a.thumbs.add(u),()=>{a.thumbs.delete(u)}},[u,a.thumbs]),s.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[l.startEdge]:`calc(${S}% + ${h}px)`},children:[s.jsx(ee.ItemSlot,{scope:e.__scopeSlider,children:s.jsx(F.span,{role:"slider","aria-label":e["aria-label"]||w,"aria-valuemin":a.min,"aria-valuenow":p,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...o,ref:f,style:p===void 0?{display:"none"}:e.style,onFocus:L(e.onFocus,()=>{a.valueIndexToChangeRef.current=n})})}),c&&s.jsx(We,{name:i??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:p},n)]})});He.displayName=se;var cs="RadioBubbleInput",We=d.forwardRef(({__scopeSlider:e,value:t,...r},n)=>{const i=d.useRef(null),o=A(i,n),a=lt(t);return d.useEffect(()=>{const l=i.current;if(!l)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(a!==t&&f){const c=new Event("input",{bubbles:!0});f.call(l,t),l.dispatchEvent(c)}},[a,t]),s.jsx(F.input,{style:{display:"none"},...r,ref:o,defaultValue:t})});We.displayName=cs;function ds(e=[],t,r){const n=[...e];return n[r]=t,n.sort((i,o)=>i-o)}function Ve(e,t,r){const o=100/(r-t)*(e-t);return ke(o,[0,100])}function us(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function xs(e,t){if(e.length===1)return 0;const r=e.map(i=>Math.abs(i-t)),n=Math.min(...r);return r.indexOf(n)}function ms(e,t,r){const n=e/2,o=ie([0,50],[0,n]);return(n-o(t)*r)*r}function fs(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function hs(e,t){if(t>0){const r=fs(e);return Math.min(...r)>=t}return!0}function ie(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function ps(e){return(String(e).split(".")[1]||"").length}function gs(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var Fe=Be,bs=Oe,vs=_e,ys=He;const Ke=d.forwardRef(({className:e,...t},r)=>s.jsxs(Fe,{ref:r,className:ct("relative flex w-full touch-none select-none items-center",e),...t,children:[s.jsx(bs,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:s.jsx(vs,{className:"absolute h-full bg-primary"})}),s.jsx(ys,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Ke.displayName=Fe.displayName;function v({children:e,className:t="",delay:r=0}){const n=d.useRef(null),i=ft(n,{once:!0,margin:"-60px"});return s.jsx(N.div,{ref:n,className:t,initial:{opacity:0,filter:"blur(12px)"},animate:i?{opacity:1,filter:"blur(0px)"}:{},transition:{duration:.9,delay:r,ease:[.22,1,.36,1]},children:e})}function ws({isFocused:e}){const[t,r]=d.useState(!1);return d.useEffect(()=>{const n=setInterval(()=>{r(!0),setTimeout(()=>r(!1),200)},4e3);return()=>clearInterval(n)},[]),s.jsx(N.div,{className:"relative w-20 h-20 md:w-24 md:h-24 flex-shrink-0",animate:e?{rotate:[0,-8,0],y:[0,-4,0]}:{rotate:[0,2,-2,0],y:[0,-3,0]},transition:e?{duration:.5,ease:"easeInOut"}:{duration:5,repeat:1/0,ease:"easeInOut"},children:s.jsx("img",{src:we,alt:"Ollie the Owl",className:"w-full h-full object-contain drop-shadow-md",style:{transform:t?"scaleY(0.92)":"scaleY(1)",transition:"transform 0.15s ease"}})})}function pe({children:e,to:t,className:r=""}){return s.jsx(y,{to:t,children:s.jsx(N.span,{className:`inline-flex items-center gap-2 px-7 py-3.5 rounded-sm font-sans text-sm tracking-widest uppercase
2          border-[0.5px] transition-colors cursor-pointer select-none
3          bg-ink text-paper border-ink
4          hover:bg-ink-hover ${r}`,whileHover:{scale:1.04,y:-1},whileTap:{scale:.97,y:1},transition:{type:"spring",stiffness:400,damping:20},children:e})})}function js(){const[e,t]=d.useState(!1),r=[{to:"/features",label:"Features"},{to:"/pricing",label:"Pricing"},{to:"/blog",label:"Journal"}];return s.jsxs("nav",{className:"flex items-center justify-between px-6 md:px-12 py-6 max-w-6xl mx-auto relative",children:[s.jsx(y,{to:"/",className:"font-serif text-lg text-ink tracking-tight whitespace-nowrap",children:"Save for Later"}),s.jsxs("div",{className:"hidden md:flex items-center gap-6",children:[r.map(n=>s.jsx(y,{to:n.to,className:"text-xs uppercase tracking-[0.15em] text-ink-2 hover:text-ink transition-colors",children:n.label},n.to)),s.jsx(y,{to:"/dashboard",className:"text-xs uppercase tracking-[0.15em] text-paper bg-ink px-4 py-2 rounded-3xl hover:bg-ink-hover transition-colors",children:"Open Library"})]}),s.jsxs("div",{className:"flex md:hidden items-center gap-3",children:[s.jsx(y,{to:"/dashboard",className:"text-[10px] uppercase tracking-[0.15em] text-paper bg-ink px-3 py-1.5 rounded-3xl hover:bg-ink-hover transition-colors",children:"Library"}),s.jsx("button",{onClick:()=>t(!e),className:"p-1.5 text-ink hover:text-ink-2 transition-colors","aria-label":"Toggle menu",children:e?s.jsx(ht,{size:20,strokeWidth:1}):s.jsx(pt,{size:20,strokeWidth:1})})]}),s.jsx(je,{children:e&&s.jsx(N.div,{initial:{opacity:0,y:-8}
4,animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2,ease:"easeOut"},className:"absolute top-full left-0 right-0 bg-paper border-b border-line px-6 py-4 flex flex-col gap-3 z-50 md:hidden",children:r.map(n=>s.jsx(y,{to:n.to,onClick:()=>t(!1),className:"text-xs uppercase tracking-[0.15em] text-ink-2 hover:text-ink transition-colors py-1",children:n.label},n.to))})})]})}function ks(){const[e,t]=d.useState([12]),r=Math.min(100,Math.round(e[0]/50*100)),n=100-r;return s.jsxs("div",{className:"max-w-xl mx-auto",children:[s.jsxs("p",{className:"font-serif text-lg mb-2 text-ink",children:["Right now, you have ",s.jsx("span",{className:"font-bold text-2xl tabular-nums",children:e[0]})," tabs open."]}),s.jsx(Ke,{value:e,onValueChange:t,min:1,max:80,step:1,className:"my-6 [&_[role=slider]]:bg-ink [&_[role=slider]]:border-ink [&_[data-orientation=horizontal]>[data-orientation=horizontal]]:bg-ink/60 [&_[data-orientation=horizontal]]:bg-line-2"}),s.jsx("div",{className:"relative h-32 flex items-end justify-center mb-6",children:Array.from({length:Math.min(e[0],30)}).map((i,o)=>s.jsx(N.div,{className:"absolute bottom-0 bg-paper-2 border-[0.5px] border-line-2 rounded-sm",style:{width:`${140-o*1.5}px`,height:`${8+o*2.8}px`,zIndex:o},initial:{y:20,opacity:0},animate:{y:0,opacity:1,rotate:(o%2===0?1:-1)*(Math.random()*2)},transition:{delay:o*.02}},o))}),s.jsxs("div",{className:"grid grid-cols-2 gap-6 text-center",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-ink-2 mb-1",children:"Cognitive Weight"}),s.jsx("div",{className:"relative h-2 bg-line rounded-full overflow-hidden",children:s.jsx(N.div,{className:"absolute inset-y-0 left-0 bg-[#C0564B] rounded-full",animate:{width:`${r}%`},transition:{type:"spring",stiffness:120}})}),s.jsxs("p",{className:"mt-1 text-sm font-medium text-[#C0564B]",children:[r,"%"]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-xs uppercase tracking-widest text-ink-2 mb-1",children:"Library Peace"}),s.jsx("div",{className:"relative h-2 bg-line rounded-full overflow-hidden",children:s.jsx(N.div,{className:"absolute inset-y-0 left-0 bg-[#5B8A6F] rounded-full",animate:{width:`${n}%`},transition:{type:"spring",stiffness:120}})}),s.jsxs("p",{className:"mt-1 text-sm font-medium text-[#5B8A6F]",children:[n,"%"]})]})]})]})}const ge=[{id:"quick",icon:kt,label:"Quick Read",title:"The Art of Slow Productivity",source:"Cal Newport · 4 min",tag:"Productivity"},{id:"deep",icon:gt,label:"Deep Dive",title:"How Memory Palaces Shape Learning",source:"Aeon Essays · 12 min",tag:"Psychology"},{id:"inspire",icon:bt,label:"Inspiration",title:"Why Architects Study Beehives",source:"Dezeen · 6 min",tag:"Design"}];function Ss(){const[e,t]=d.useState(null),r=ge.find(n=>n.id===e);return s.jsxs("div",{className:"max-w-lg mx-auto text-center",children:[s.jsx("div",{className:"flex justify-center gap-8 mb-10",children:ge.map(n=>{const i=n.icon;return s.jsxs(N.button,{onClick:()=>t(e===n.id?null:n.id),className:`flex flex-col items-center gap-2 p-4 rounded-lg border-[0.5px] transition-colors ${e===n.id?"border-ink bg-paper-2":"border-line-2 hover:border-faint"}`,whileHover:{y:-2},whileTap:{scale:.97},children:[s.jsx(i,{size:22,strokeWidth:1.2,className:"text-ink"}),s.jsx("span",{className:"text-xs tracking-wider uppercase text-ink-2",children:n.label})]},n.id)})}),s.jsx(je,{mode:"wait",children:r&&s.jsxs(N.div,{initial:{opacity:0,rotateY:-90,scale:.95},animate:{opacity:1,rotateY:0,scale:1},exit:{opacity:0,rotateY:90,scale:.95},transition:{duration:.5,ease:[.22,1,.36,1]},className:`bg-paper-2 border-[0.5px] border-line-2 rounded-sm p-8 text-left
5              transform-gpu`,style:{perspective:800},children:[s.jsx("span",{className:"inline-block text-[10px] uppercase tracking-[0.2em] text-muted-ink border-[0.5px] border-line-2 px-2 py-0.5 rounded-sm mb-4",children:r.tag}),s.jsx("h4",{className:"font-serif text-xl text-ink mb-2",children:r.title}),s.jsx("p",{className:"text-sm text-muted-ink",children:r.source})]},r.id)})]})}function H(){return s.jsx("div",{className:"w-full max-w-md mx-auto h-px bg-line-2 my-20 md:my-28"})}function Ns(){const e=d.useRef(null),{scrollYProgress:t}=Zt({target:e,offset:["start end","center center"]}),r=ss(t,[0,1],[300,800]);return s.jsx("div",{ref:e,className:"text-center py-12",children:s.jsxs(N.h3,{className:"font-serif text-3xl md:text-5xl text-ink leading-tight",style:{fontWeight:r},children:["The deeper you read,",s.jsx("br",{}),"the sharper the focus."]})})}function As(){const[e,t]=d.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsxs(dt,{children:[s.jsx("title",{children:"Your Digital Sanctuary | Save for Later"}),s.jsx("meta",{name:"description",content:"The internet is loud. This is your quiet corner. Save, organize and rediscover what matters with Save for Later."})]}),s.jsxs("div",{className:"min-h-screen bg-paper",style:{fontFamily:"'Inter', sans-serif",backgroundImage:`url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E")`},children:[s.jsx(js,{}),s.jsxs("section",{className:"max-w-4xl mx-auto px-6 pt-16 md:pt-28 pb-12 text-center",children:[s.jsx(v,{children:s.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-2 mb-8",children:"Your Digital Sanctuary"})}),s.jsx(v,{delay:.15,children:s.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl leading-[1.1] text-ink mb-8 font-serif",children:["The internet is loud.",s.jsx("br",{}),s.jsx("span",{className:"italic",children:"This is your quiet corner."})]})}),s.jsx(v,{delay:.3,children:s.jsx("p",{className:"text-base md:text-lg text-ink-2 max-w-lg mx-auto mb-12 leading-relaxed",children:"Save articles, videos, and ideas into a calm, personal library. Rediscover them when you're ready, not when an algorithm decides."})}),s.jsx(v,{delay:.45,children:s.jsxs("div",{className:"flex items-center gap-4 max-w-lg mx-auto",children:[s.jsx(ws,{isFocused:e}),s.jsxs("div",{className:"flex-1 relative",children:[s.jsx("input",{type:"text",placeholder:"Paste a link to save…",className:`w-full bg-transparent border-b border-line-2 focus:border-ink
6                    outline-none py-3 text-sm text-ink placeholder:text-faint
7                    transition-colors`,onFocus:()=>t(!0),onBlur:()=>t(!1)}),s.jsx(ut,{size:14,className:"absolute right-0 top-1/2 -translate-y-1/2 text-faint",strokeWidth:1})]})]})})]}),s.jsx(H,{}),s.jsxs("section",{className:"max-w-4xl mx-auto px-6 pb-12",children:[s.jsxs(v,{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-2 text-center mb-4",children:"The Problem"}),s.jsx("h2",{className:"text-3xl md:text-4xl text-center text-ink mb-12 font-serif",children:"How many tabs are open right now?"})]}),s.jsx(v,{delay:.2,children:s.jsx(ks,{})}),s.jsx(v,{delay:.35,children:s.jsx("p",{className:"text-center text-sm text-ink-2 mt-8 max-w-md mx-auto leading-relaxed",children:"Every open tab is a tiny decision you haven't made yet. Save for Later lifts that weight off your shoulders."})})]}),s.jsx(H,{}),s.jsxs("section",{className:"max-w-5xl mx-auto px-6 pb-12",children:[s.jsxs(v,{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-2 text-center mb-4",children:"The Solution"}),s.jsx("h2",{className:"text-3xl md:text-4xl text-center text-ink mb-16 font-serif",children:"Spaces that think like you do"})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 md:gap-8",children:[{icon:vt,title:"The Explorer",desc:"A catch-all for curiosities. Throw in anything. Ollie will help you make sense of it later.",rotate:"-1.5deg"},{icon:xt,title:"The Scholar",desc:"Deep research made elegant. Organize sources, annotate highlights, build knowledge quietly.",rotate:"0.8deg"},{icon:yt,title:"The Dreamer",desc:"Visual inspiration boards. Moods, textures, ideas. No structure required, just feeling.",rotate:"-0.5deg"}].map((r,n)=>{const i=r.icon;return s.jsx(v,{delay:n*.15,children:s.jsxs(N.div,{className:`bg-paper-2 border-[0.5px] border-line-2 rounded-sm p-8
8                      relative`,style:{rotate:r.rotate},whileHover:{rotate:"0deg",y:-4,boxShadow:"0 8px 30px rgba(43,37,32,0.08)"},transition:{type:"spring",stiffness:200,damping:20},children:[s.jsx(i,{size:20,strokeWidth:1,className:"text-ink mb-4"}),s.jsx("h3",{className:"font-serif text-lg text-ink mb-2",children:r.title}),s.jsx("p",{className:"text-sm text-ink-2 leading-relaxed",children:r.desc})]})},r.title)})}),s.jsx(v,{delay:.5,children:s.jsx("div",{className:"text-center mt-12",children:s.jsxs(pe,{to:"/savebox",children:["Explore Save Boxes ",s.jsx(mt,{size:14,strokeWidth:1.5})]})})})]}),s.jsx(H,{}),s.jsxs("section",{className:"max-w-4xl mx-auto px-6 pb-4",children:[s.jsx(v,{children:s.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-2 text-center mb-4",children:"Deep Reading"})}),s.jsx(Ns,{}),s.jsx(v,{delay:.2,children:s.jsx("p",{className:"text-center text-sm text-ink-2 max-w-md mx-auto leading-relaxed",children:"Reader View strips away ads and noise. Annotate, highlight, and let your mind settle into the words."})})]}),s.jsx(H,{}),s.jsxs("section",{className:"max-w-4xl mx-auto px-6 pb-12",children:[s.jsxs(v,{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-2 text-center mb-4",children:"The Discovery"}),s.jsx("h2",{className:"text-3xl md:text-4xl text-center text-ink mb-12 font-serif",children:"What do you feel like reading?"})]}),s.jsx(v,{delay:.2,children:s.jsx(Ss,{})})]}),s.jsx(H,{}),s.jsxs("section",{className:"max-w-3xl mx-auto px-6 pb-12 text-center",children:[s.jsxs(v,{children:[s.jsx("h2",{className:"text-3xl md:text-4xl text-ink mb-6 font-serif",children:"Start building your quiet corner"}),s.jsx("p",{className:"text-sm text-ink-2 mb-10 max-w-md mx-auto leading-relaxed",children:"Free to begin. No credit card. No noise."})]}),s.jsx(v,{delay:.15,children:s.jsxs(pe,{to:"/dashboard",children:["Open Your Library ",s.jsx(wt,{size:14,strokeWidth:1.5})]})})]}),s.jsxs("footer",{className:"border-t border-line mt-12",children:[s.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-16 flex flex-col md:flex-row items-center md:items-start gap-10",children:[s.jsxs(v,{className:"flex-shrink-0 text-center md:text-left",children:[s.jsxs("div",{className:"relative w-20 h-20 mx-auto md:mx-0",children:[s.jsx("img",{src:we,alt:"Ollie the Owl",className:"w-full h-full object-contain opacity-70"}),s.jsx(jt,{size:14,className:"absolute -top-1 -right-1 text-ink-2",strokeWidth:1})]}),s.jsx("p",{className:"text-xs text-faint mt-3 max-w-[160px]",children:"Ollie's always on the lookout for your next great read."})]}),s.jsxs("div",{className:"flex-1 grid grid-cols-2 md:grid-cols-3 gap-8 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.2em] text-faint mb-3",children:"Product"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(y,{to:"/features",className:"block text-ink-2 hover:text-ink transition-colors",children:"Features"}),s.jsx(y,{to:"/savebox",className:"block text-ink-2 hover:text-ink transition-colors",children:"Save Boxes"}),s.jsx(y,{to:"/extension",className:"block text-ink-2 hover:text-ink transition-colors",children:"Extension"}),s.jsx(y,{to:"/pricing",className:"block text-ink-2 hover:text-ink transition-colors",children:"Pricing"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.2em] text-faint mb-3",children:"Community"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(y,{to:"/lookout",className:"block text-ink-2 hover:text-ink transition-colors",children:"The Lookout"}),s.jsx(y,{to:"/blog",className:"block text-ink-2 hover:text-ink transition-colors",children:"Journal"}),s.jsx(y,{to:"/newsletter",className:"block text-ink-2 hover:text-ink transition-colors",children:"Newsletter"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-[10px] uppercase tracking-[0.2em] text-faint mb-3",children:"Help"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(y,{to:"/faq",className:"block text-ink-2 hover:text-ink transition-colors",children:"FAQ"}),s.jsx(y,{to:"/about",className:"block text-ink-2 hover:text-ink transition-colors",children:"About"}),s.jsx(y,{to:"/privacy",className:"block text-ink-2 hover:text-ink transition-colors",children:"Privacy"}),s.jsx(y,{to:"/terms",className:"block text-ink-2 hover:text-ink transition-colors",children:"Terms"})]})]})]})]}),s.jsx("div",{className:"border-t border-line py-6 text-center",children:s.jsxs("p",{className:"text-xs text-faint",children:["© ",new Date().getFullYear()," Save for Later. Built with quiet intention."]})})]})]})]})}export{As 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.