PageSourceSearch

https://ptpgroup.com.ar/assets/SmartImage-i15yeysT.js

js ptpgroup.com.ar collected 2026-10-05 07:53:29 UTC 1,984 bytes, 1 lines download raw bytes

1import{c as A,r as t,j as a}from"./index-C_pzTDgi.js";const N=[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]],$=A("image-off",N),l=r=>r||"",I=2,M=a.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-gradient-to-br from-muted via-card to-background",children:a.jsx($,{className:"w-7 h-7 text-secondary/40","aria-hidden":!0})}),z=({src:r,fallbackSrc:g,alt:b,className:p="",width:j,height:k,loading:S="lazy",priority:d=!1,placeholder:E=M})=>{const[m,f]=t.useState(l(r)),[y,c]=t.useState(!1),[F,x]=t.useState(!r),n=t.useRef(0),u=t.useRef(!1),o=t.useRef(null);t.useEffect(()=>{n.current=0,u.current=!1,f(l(r)),c(!1),x(!r)},[r]);const s=t.useCallback(e=>{e&&e.complete&&(e.naturalWidth>0||e.currentSrc)&&c(!0)},[]),R=t.useCallback(e=>{o.current=e,s(e)},[s]);t.useEffect(()=>{s(o.current);const e=requestAnimationFrame(()=>s(o.current)),i=window.setTimeout(()=>{s(o.current),c(!0)},1200);return()=>{cancelAnimationFrame(e),window.clearTimeout(i)}},[m,s]);const v=()=>{const e=l(g),i=l(r);if(e&&!u.current&&e!==i){u.current=!0,n.current=0,f(e);return}if(n.current<I){n.current+=1;const h=u.current&&e?e:i,w=h.includes("?")?"&":"?";window.setTimeout(()=>f(`${h}${w}r=${n.current}`),350*n.current);return}x(!0)};return F?a.jsx(a.Fragment,{children:E}):a.jsxs(a.Fragment,{children:[!y&&a.jsx("div",{className:"absolute inset-0 bg-muted animate-pulse","aria-hidden":!0}),a.jsx("img",{ref:R,src:m,alt:b,width:j,height:k,loading:d?"eager":S,decoding:d?"sync":"async",fetchPriority:d?"high":"auto",onLoad:()=>c(!0),onError:v,className:`${p} transition-opacity duration-500 ${y?"opacity-100":"opacity-0"}`})]})};export{z as S,l as r};

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.