PageSourceSearch

https://shrinkme.app/assets/LegalPage-ByafyA4u.js

js shrinkme.app collected 2026-10-03 23:56:59 UTC 2,084 bytes, 1 lines download raw bytes

1import{C as e,D as t,O as n,a as r,at as i,c as a,d as o,ot as s,p as c,s as l,t as u,u as d,v as f,w as p,x as m,y as h,z as g}from"./runtime-core.esm-bundler-DnuX0c2R.js";import{r as _,t as v}from"./PageFooter-Dr8kHLiY.js";import{n as y}from"./dist-BlMnsp-8.js";import{t as b}from"./_plugin-vue_export-helper-BDNMzG2s.js";var x=[`lang`],S={class:`band`},C={class:`band-inner`},w=[`aria-label`],T={class:`toc-label`},E=[`href`,`aria-current`],D={key:0,class:`toc-number`},O=140,k=b(c({__name:`LegalPage`,props:{title:{},contentsLabel:{},lang:{},contentKey:{}},setup(c){let b=c,k=t(`content`),A=g([]),j=g(``),M=[],N=()=>{M=[...k.value?.querySelectorAll(`section[id]`)??[]],A.value=M.map(e=>{let t=e.querySelector(`h2`),n=t?.querySelector(`.number`)?.textContent?.trim(),r=t?.querySelector(`.title`)?.textContent??t?.textContent;return{id:e.id,number:n,label:r?.trim()??e.id}}),P()},P=()=>{let e=window.innerHeight+window.scrollY>=document.body.scrollHeight-4,t=M.filter(e=>e.getBoundingClientRect().top<=O),n=e?M[M.length-1]:t[t.length-1];j.value=(n??M[0])?.id??``};return y(`scroll`,P,{passive:!0}),h(N),n(()=>b.contentKey,()=>f(N)),(t,n)=>(m(),a(u,null,[o(_),r(`main`,{lang:c.lang,class:`legal-page`},[r(`div`,S,[r(`div`,C,[r(`h1`,null,s(c.title),1),p(t.$slots,`band`,{},void 0,!0)]),n[0]||=r(`svg`,{class:`shore`,viewBox:`0 0 1440 48`,preserveAspectRatio:`none`,"aria-hidden":`true`},[r(`path`,{d:`M0 48V22C160 4 320 0 480 14s320 34 480 26 320-30 480-26v34z`})],-1)]),r(`div`,{class:i([`body`,{"has-toc":A.value.length>1}])},[A.value.length>1?(m(),a(`nav`,{key:0,class:`toc`,"aria-label":c.contentsLabel},[r(`p`,T,s(c.contentsLabel),1),r(`ol`,null,[(m(!0),a(u,null,e(A.value,e=>(m(),a(`li`,{key:e.id},[r(`a`,{href:`#${e.id}`,class:i({active:e.id===j.value}),"aria-current":e.id===j.value?`location`:void 0},[e.number?(m(),a(`span`,D,s(e.number),1)):l(``,!0),d(s(e.label),1)],10,E)]))),128))])],8,w)):l(``,!0),r(`div`,{ref_key:`content`,ref:k,class:`legal-content`},[p(t.$slots,`default`,{},void 0,!0)],512)],2)],8,x),o(v)],64))}}),[[`__scopeId`,`data-v-1bc9476a`]]);export{k as t};

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.