PageSourceSearch

https://aibr.org/build/assets/chunk-MCG5YV3A-mwckgY4f.js

js aibr.org collected 2026-09-24 09:33:33 UTC 1,251 bytes, 1 lines download raw bytes

1import{j as a,r as l}from"./app-belrbPXN.js";import{A as x}from"./index-Cg9dHLmZ.js";import{m as g}from"./use-force-update-VB-OXXUy.js";import{g as y}from"./chunk-EB2I5ZVA-WHwNbYK3.js";var d=(r,i,o)=>Math.min(Math.max(r,i),o),u=r=>{const{ripples:i=[],motionProps:o,color:s="currentColor",style:c,onClear:e}=r;return a.jsx(a.Fragment,{children:i.map(t=>{const n=d(.01*t.size,.2,t.size>100?.75:.5);return a.jsx(x,{mode:"popLayout",children:a.jsx(g.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:s,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:t.y,left:t.x,width:`${t.size}px`,height:`${t.size}px`,...c},transition:{duration:n},onAnimationComplete:()=>{e(t.key)},...o})},t.key)})})};u.displayName="NextUI.Ripple";var z=u;function R(r={}){const[i,o]=l.useState([]),s=l.useCallback(e=>{const t=e.currentTarget,n=Math.max(t.clientWidth,t.clientHeight),m=t.getBoundingClientRect();o(p=>[...p,{key:y(p.length.toString()),size:n,x:e.clientX-m.x-n/2,y:e.clientY-m.y-n/2}])},[]),c=l.useCallback(e=>{o(t=>t.filter(n=>n.key!==e))},[]);return{ripples:i,onClick:s,onClear:c,...r}}export{z as r,R as u};

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.