PageSourceSearch

https://yoowifi.com/assets/AutoResizeText%20-BIYjh2Ia.js

js yoowifi.com collected 2026-10-01 16:09:40 UTC 518 bytes, 1 lines download raw bytes

1import{r as c,j as f}from"./index-DxhIxHch.js";const x=({children:i,maxLines:o=2,className:l="",baseFontSize:t=64})=>{const s=c.useRef(null);return c.useEffect(()=>{const n=()=>{const e=s.current;if(!e)return;e.style.fontSize=`${t}px`;const u=parseFloat(getComputedStyle(e).lineHeight)*o;let r=t;for(;e.scrollHeight>u&&r>10;)r-=1,e.style.fontSize=`${r}px`};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[i,o,t]),f.jsx("div",{ref:s,className:l,children:i})};export{x as A};

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.