Viewing File: /usr/local/cpanel/base/frontend/jupiter/koality/_nuxt/BEdJFh5y.js

import{d as _,o,e as s,D as d,k as h,b as t,a,_ as m,w as r,A as f}from"./EJiqiqZX.js";import{_ as b}from"./DFn9I5Nm.js";const p={key:0,class:"aspect-[4/3] o_overflow-hidden relative"},w={class:"absolute inset-0 bg-uiBg-30 text-uiNeutral-40 flex items-center justify-center"},g={key:1},k={title:"Open Screenshot","aria-label":"Open Screenshot",class:"w-full h-full block"},v=["src"],x=["src"],B=_({__name:"PageComponentScreenshot",props:{screenshot:{},withBorder:{type:Boolean,default:!0}},setup(e){const n=f(!1),c=l=>{n.value=!0};return(l,y)=>{const i=m,u=b;return o(),s("div",{class:d([e.withBorder?"outline-1 outline-gray-200 dark:outline-neutral-800 border border-white dark:border-neutral-900 rounded-sm":""])},[!e.screenshot.thumb||h(n)?(o(),s("div",p,[t("div",w,[a(i,{name:"material-symbols:imagesmode-outline",class:"size-1/2"})])])):(o(),s("figure",g,[a(u,null,{content:r(()=>[t("img",{src:e.screenshot.raw,alt:"Screenshot",class:"w-full h-full"},null,8,x)]),default:r(()=>[t("a",k,[t("img",{src:e.screenshot.thumb,alt:"Screenshot",class:"w-full h-full object-cover object-top aspect-[4/3] hover:o_shadow-xl transition-shadow duration-300 cursor-pointer",onError:c},null,40,v)])]),_:1})]))],2)}}}),j=Object.assign(B,{__name:"PageComponentScreenshot"});export{j as _};
Back to Directory File Manager