PageSourceSearch

https://www.levelup.ai/_next/static/chunks/app/(docs)/docs/%5B%5B.…?dpl=dpl_Gr8gHbxettrTWW5zAqKqCnYhZdHW

js levelup.ai collected 2026-10-05 12:23:30 UTC 6,625 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6395],{21339:(e,t,r)=>{"use strict";r.d(t,{DashboardTableOfContents:()=>a});var n=r(21752),s=r(39442),i=r(97e3),o=r(37684),l=r(39141);function a(e){let{toc:t}=e,[r,l]=(0,o.useState)(!1);(0,o.useEffect)(()=>{l(!0)},[]);let a=function(e){let[t,r]=(0,o.useState)([]);return(0,o.useEffect)(()=>{let t=()=>{let t=e.filter(e=>!!e).map(e=>document.getElementById(e)).filter(e=>null!==e);if(0===t.length)return void r([]);let n=window.location.hash.slice(1);if(n&&e.includes(n)){let e=document.getElementById(n);if(e&&500>Math.abs(e.getBoundingClientRect().top-100))return void r([n])}let s=window.innerHeight,i=document.documentElement.scrollHeight;if(window.scrollY+s>=i-10)return void r([t[t.length-1].id]);let o=null,l=1/0;for(let e of t){let t=Math.abs(100-e.getBoundingClientRect().top);t<l&&(l=t,o=e)}o?r([o.id]):r([])};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),window.addEventListener("hashchange",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t),window.removeEventListener("hashchange",t)}},[e]),t}((0,o.useMemo)(()=>t?t.flatMap(e=>[e.id]).flat().filter(Boolean):[],[t])),c=(0,o.useRef)(null),d=(0,o.useRef)(new Map),[f,p]=(0,o.useState)(0),h=(0,s.z)(0,{stiffness:300,damping:30,bounce:0,duration:.3}),g=(0,s.z)(0,{stiffness:300,damping:30,bounce:0,duration:.3});return(0,o.useEffect)(()=>{if(!r)return;c.current&&p(c.current.scrollHeight);let e=new ResizeObserver(e=>{e.forEach(e=>{p(e.target.scrollHeight)})});return c.current&&e.observe(c.current),()=>e.disconnect()},[r]),(0,o.useEffect)(()=>{if(0===a.length||!c.current)return;let e=Array.from(d.current.entries()).filter(e=>{let[t]=e;return a.includes(t)}).map(e=>{var t;let[r,n]=e,s=n.getBoundingClientRect(),i=null==(t=c.current)?void 0:t.getBoundingClientRect();return i?{id:r,top:s.top-i.top,bottom:s.top-i.top+s.height}:null}).filter(e=>null!==e).sort((e,t)=>e.top-t.top);if(e.length>0){let t=e[0];h.set(t.top);let r=e[e.length-1];g.set(r.bottom)}},[a,h,g]),r?(0,n.jsx)("div",{className:"space-y-4",children:(0,n.jsxs)("div",{className:"relative",ref:c,children:[(0,n.jsxs)(i.P.svg,{className:"absolute h-full w-2 overflow-visible z-10",children:[(0,n.jsx)("path",{d:"M 1 0 L 1 ".concat(f),fill:"none",stroke:"var(--border)",strokeWidth:"2"}),(0,n.jsx)(i.P.path,{id:"progress",d:"M 1 0 L 1 ".concat(f),fill:"none",stroke:"url(#gradient)",strokeWidth:"1.25",transition:{duration:.3,type:"spring",bounce:0}}),(0,n.jsx)("defs",{children:(0,n.jsxs)(i.P.linearGradient,{id:"gradient",gradientUnits:"userSpaceOnUse",x1:"0",x2:"0",y1:h,y2:g,children:[(0,n.jsx)("stop",{stopColor:"var(--foreground)",stopOpacity:"0"}),(0,n.jsx)("stop",{stopColor:"var(--foreground)"}),(0,n.jsx)("stop",{offset:"1",stopColor:"var(--foreground)"}),(0,n.jsx)("stop",{offset:"1",stopColor:"var(--foreground)",stopOpacity:"0"})]})})]}),(0,n.jsx)(u,{tree:t,activeItems:a,nodesRef:d})]})}):null}function u(e){let{tree:t,level:r=1,activeItems:s=[],nodesRef:i}=e,a=(0,o.useMemo)(()=>t.length?Math.min(...t.map(e=>e.level)):1,[t]),u=e=>{switch(e-a){case 0:default:return"pl-4";case 1:return"pl-8";case 2:return"pl-12";case 3:return"pl-16"}};return t.length&&r<5?(0,n.jsx)("ul",{className:"m-0 list-none text-[14px] relative mt-2",children:t.map((e,r)=>{let o=e.id,a=s.includes(o);return(0,n.jsx)("li",{className:"mt-0 relative",children:(0,n.jsx)("div",{className:(0,l.cn)("flex items-center gap-2",u(e.level)),ref:t=>{t?(i.current.set(o,t),t.setAttribute("data-level",e.level.toString())):i.current.delete(o)},"data-level":e.level,children:(0,n.jsx)("a",{href:"#".concat(e.id),className:(0,l.cn)("inline-block no-underline px-1 pt-1.5 pb-[6px] rounded leading-5 font-normal hover:text-foreground",a?"text-gray-950 dark:text-white":"text-gray-500 dark:text-gray-400",r===t.length-1&&"pb-0"),children:e.text})})},e.id)})}):null}},32799:(e,t,r)=>{"use strict";r.d(t,{CheckboxListItem:()=>
1o});var n=r(21752),s=r(37684),i=r(39141);function o(e){let{initialChecked:t,children:r,className:o}=e,[l,a]=(0,s.useState)(t);return(0,n.jsxs)("li",{className:(0,i.cn)("flex gap-2 mb-3",o),children:[(0,n.jsx)("input",{type:"checkbox",checked:l,onChange:e=>a(e.target.checked),className:"mt-[5px] w-4 h-4 shrink-0 rounded border-gray-300 text-primary focus:ring-primary cursor-pointer"}),(0,n.jsx)("div",{className:(0,i.cn)("flex-1 transition-all duration-200",l&&"[&>*]:line-through [&>*]:text-muted-foreground [&>*]:opacity-60"),children:r})]})}},39205:(e,t,r)=>{"use strict";r.d(t,{jH:()=>i});var n=r(37684);r(21752);var s=n.createContext(void 0);function i(e){let t=n.useContext(s);return e||t||"ltr"}},39442:(e,t,r)=>{"use strict";r.d(t,{z:()=>f});var n=r(37684),s=r(72149),i=r(66652),o=r(61213),l=r(31870),a=r(99603),u=r(72034),c=r(43403),d=r(1827);function f(e,t={}){let{isStatic:r}=(0,n.useContext)(i.Q),h=(0,n.useRef)(null),g=(0,o.M)(()=>(0,u.S)(e)?e.get():e),v=(0,o.M)(()=>"string"==typeof g?g.replace(/[\d.-]/g,""):void 0),m=(0,a.d)(g),x=(0,n.useRef)(g),b=(0,n.useRef)(c.l),w=()=>{y(),h.current=(0,s.L)({keyframes:[p(m.get()),p(x.current)],velocity:m.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:b.current})},y=()=>{h.current&&h.current.stop()};return(0,n.useInsertionEffect)(()=>m.attach((e,t)=>r?t(e):(x.current=e,b.current=e=>{var r,n;return t((r=e,(n=v)?r+n:r))},d.Gt.postRender(w),m.get()),y),[JSON.stringify(t)]),(0,l.E)(()=>{if((0,u.S)(e))return e.on("change",e=>{var t,r;return m.set((t=e,(r=v)?t+r:t))})},[m,v]),m}function p(e){return"number"==typeof e?e:parseFloat(e)}},90265:(e,t,r)=>{Promise.resolve().then(r.bind(r,32799)),Promise.resolve().then(r.bind(r,21339)),Promise.resolve().then(r.bind(r,31493)),Promise.resolve().then(r.bind(r,82065)),Promise.resolve().then(r.bind(r,766)),Promise.resolve().then(r.bind(r,51736)),Promise.resolve().then(r.t.bind(r,51573,23)),Promise.resolve().then(r.t.bind(r,21450,23))},97e3:(e,t,r)=>{"use strict";r.d(t,{P:()=>i});var n=r(97716),s=r(40750);let i=(0,n.I)(s.G)},97716:(e,t,r)=>{"use strict";function n(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}r.d(t,{I:()=>n})},99603:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var n=r(37684),s=r(66652),i=r(61213),o=r(88906);function l(e){let t=(0,i.M)(()=>(0,o.OQ)(e)),{isStatic:r}=(0,n.useContext)(s.Q);if(r){let[,r]=(0,n.useState)(e);(0,n.useEffect)(()=>t.on("change",r),[])}return t}}},e=>{var t=t=>e(e.s=t);e.O(0,[6144,750,1434,1573,1450,2205,3541,6268,7485,7116,1928,7358],()=>t(90265)),_N_E=e.O()}]);

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.