PageSourceSearch

https://cdn.peatix.com/assets/production/static/peaz-frontend/js/AvatarImage-D2kduoNI.js

js peatix.com collected 2026-09-24 06:34:02 UTC 2,222 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`10f2960c-b2af-4e33-a41a-e3783f6911c6`,e._sentryDebugIdIdentifier=`sentry-dbid-10f2960c-b2af-4e33-a41a-e3783f6911c6`)}catch{}})();import{C as e,Ct as t,G as n,O as r,Wt as i,_t as a,b as o,y as s}from"./route-CITprrr5.js";import{t as c}from"./_plugin-vue_export-helper-CdgHZ22j.js";var l=[`xs`,`sm`,`md`,`lg`,`xl`,`2xl`],u=`data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='64'%20height='64'%20rx='32'%20fill='%23F2F4F7'/%3e%3cg%20opacity='0.08'%3e%3crect%20x='0.375'%20y='0.375'%20width='63.25'%20height='63.25'%20rx='31.625'%20stroke='%23101828'%20stroke-width='0.75'/%3e%3c/g%3e%3cpath%20d='M42.6666%2044C42.6666%2042.1392%2042.6666%2041.2089%2042.4369%2040.4518C41.9199%2038.7473%2040.586%2037.4134%2038.8814%2036.8963C38.1244%2036.6667%2037.194%2036.6667%2035.3332%2036.6667H28.6666C26.8058%2036.6667%2025.8755%2036.6667%2025.1184%2036.8963C23.4139%2037.4134%2022.08%2038.7473%2021.5629%2040.4518C21.3333%2041.2089%2021.3333%2042.1392%2021.3333%2044M37.9999%2026C37.9999%2029.3137%2035.3136%2032%2031.9999%2032C28.6862%2032%2025.9999%2029.3137%2025.9999%2026C25.9999%2022.6863%2028.6862%2020%2031.9999%2020C35.3136%2020%2037.9999%2022.6863%2037.9999%2026Z'%20stroke='%23475467'%20stroke-width='2.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,d=[`src`,`alt`],f=c(r({__name:`AvatarImage`,props:{imageUrl:{type:String,default:null},alt:{type:String,default:null},size:{type:String,default:l[2]}},setup(r){let c=r,f=a(!1),p=s(()=>!f.value&&c.imageUrl?c.imageUrl:u);function m(){f.value=!0}let h=s(()=>
1{if(!l.includes(c.size))throw TypeError(`Invalid size prop: '${c.size}'. Allowed values are ${l.join(`, `)}.`);return`size-${c.size}`});return(a,s)=>(n(),e(`div`,{class:i([`avatar`,t(h)])},[o(`img`,{class:`w-full`,src:t(p),alt:r.alt,onError:m},null,40,d)],2))}}),[[`__scopeId`,`data-v-6a7f56dc`]]);export{u as n,l as r,f as t};
2//# sourceMappingURL=AvatarImage-D2kduoNI.js.map

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.