import{n as m,r as C,o as l,i as D,H as R,f as p,g as r,R as d,h as e,k as v,j as B,P as E,D as U,T as $,_ as j,S as w}from"./B7moA0Zy.js";const N={__name:"Finishing",props:{data:{type:Object}},setup(f){const g=f,{title:o,code:u,hideCode:h,url:a,mainImage:n,thumbImage:s,active:i}=g.data,c=m(()=>!a&&!o&&!s),k=m(()=>{let t=[];return n!=null&&n.length&&(t=n),s!=null&&s.length&&(t=s),t});return(t,F)=>{const y=j,x=w,_=C("lay");return l(),D(U(e(a)&&e(i)!==!1?e($):"div"),{to:e(a)&&e(i)!==!1?("useRelativeUrl"in t?t.useRelativeUrl:e(E))(e(a)):void 0},{default:R(()=>[p((l(),r("div",{class:d({"thumb-hover":e(a)&&e(i)!==!1})},[p((l(),r("div",null,[v(y,{data:{image:e(k),ratio:[1,1]}},null,8,["data"]),e(c)?(l(),r("div",{key:0,class:d({"skeleton--default skeleton--image":e(c)})},null,2)):B("",!0)])),[[_,{dir:"o",align:"start"}]]),v(x,{class:d({"skeleton--small":e(c)}),data:{heading:e(o)?`${e(u)&&!e(h)?`${e(u)} `:""}${e(o)}`:" ",typo:"4",tag:"3"}},null,8,["class","data"])],2)),[[_,{gap:"xs"}]])]),_:1},8,["to"])}}};export{N as default};