PageSourceSearch

https://www.iu.org/build/assets/Image-DkzeRT_Z.js

js iu.org collected 2026-09-24 09:20:25 UTC 2,998 bytes, 1 lines download raw bytes

1import{En as e,J as t,On as n,Zn as r,_ as i,b as a,bt as o,er as s,g as c,k as l,mt as u,o as d,y as f}from"./runtime-core.esm-bundler-DPmoNEl9.js";import{n as p}from"./utils-DICGkfbo.js";import{c as m,d as h,i as g,o as _,s as v}from"./cloudinary-gjdUMiSH.js";function y(t,n=void 0){return c(()=>e(n)?.real!==!0&&e(t)?.meta_data?.real!==!0)}var b={key:0},x=[`media`,`srcset`,`width`,`height`,`type`],S=[`srcset`,`width`,`height`,`type`],C=[`src`,`alt`,`role`,`aria-label`,`loading`,`fetchpriority`,`width`,`height`],w=l({__name:`Image`,props:{payload:{},circle:{type:Boolean},sizes:{},lazy:{type:Boolean},fetchpriority:{},aspectRatio:{},transparent:{type:Boolean},faceCenter:{type:Boolean,default:void 0},href:{},class:{type:[Boolean,null,String,Object,Array]},style:{type:[Boolean,null,String,Object,Array]},real:{type:Boolean},aiLabelOverlay:{},suppressAiLabelOverlay:{type:Boolean}},setup(e){let l=e,w=t(`bodyIndex`,-1)===0,T=(l.lazy??!0)&&!w,E=l.fetchpriority??(w?`high`:void 0),D=l.circle?`1:1`:l.aspectRatio,O=c(()=>v(l.payload.filename)),k=c(()=>O.value===`svg`?[`svg`]:[`avif`,`webp`,`jpg`]),A=c(()=>O.value===`svg`?void 0:l.sizes),j=c(()=>A.value?.length?A.value.find(e=>e.breakpoint===`DEFAULT`)?.width??A.value[A.value.length-1].width:l.payload.width??void 0),M=c(()=>{let e=j.value;return e?g(e,D)??l.payload.height??void 0:l.payload.height??void 0}),N=e=>{if(e!==`auto`&&e!==`json`)return{avif:`image/avif`,jpg:`image/jpeg`,png:`image/png`,svg:`image/svg+xml`,webp:`image/webp`}[e]},P=y(()=>l.payload,()=>({real:l.real})),F=c(()=>P.value&&!l.suppressAiLabelOverlay),I=c(()=>P.value?`, AI-generated`:``),L=c(()=>{if(!l.payload.alt)return P.value?`img`:`presentation`}),R=c(()=>l.faceCenter!==!1);return(e,t)=>l.payload.filename?(u(),a(`picture`,b,[(u(!0),a(d,null,o(k.value,e=>(u(),a(d,{key:e},[A.value?(u(!0),a(d,{key:0},o(A.value,({breakpoint:t,width:r,height:i,aspectRatio:o})=>(u(),a(`source`,{key:t,media:t===`DEFAULT`?void 0:`(min-width: ${n(_)(t)}px)`,srcset:`${n(m)(l.payload.filename,{width:r,height:i,aspectRatio:o||n(D),format:e,faceCenter:R.value,aiGenerated:F.value,aiLabelOverlay:l.aiLabelOverlay})} ${n(h)(t)}`,width:r,height:r?n(g)(r,o||n(D)):i,type:N(e)},null,8,x))),128)):(u(),a(`source`,{key:1,srcset:n(m)(l.payload.filename,{aspectRatio:n(D),format:e,faceCenter:R.value,aiGenerated:F.value,aiLabelOverlay:l.aiLabelOverlay}),width:l.payload.width,height:n(g)(l.payload.width||0,n(D))||l.payload.height,type:N(e)},null,8,S))],64))),128)),i(`img`,{class:r(n(p)({"rounded-full":l.circle,"bg-none [user-drag:none]":l.transparent},l.href?`transition-transform duration-300 hover:scale-110`:``,l.class)),style:s(l.style),src:n(m)(l.payload.filename,{aspectRatio:n(D),faceCenter:R.value,aiGenerated:F.value,aiLabelOverlay:l.aiLabelOverlay}),alt:(l.payload.alt??``)+I.value,role:L.value,"aria-label":n(P)&&!l.payload.alt?`AI-generated image`:void 0,loading:n(T)?`lazy`:void 0,fetchpriority:n(E),width:j.value,height:M.value},null,14,C)])):f(``,!0)}});
1export{y as n,w 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.