import{S as _,i as h,s as b,e as m,b as a,c as p,w as c,l as d,m as u,n as g,o as v,bq as o}from"./index-BcAJnzER.js";function f(n){let r,e;return{c(){r=m("img"),o(r.src,e="/api/branches/"+n[0].id+"/files/"+n[1].fullpath)||a(r,"src",e),a(r,"alt","")},m(s,l){p(s,r,l)},p(s,l){l&3&&!o(r.src,e="/api/branches/"+s[0].id+"/files/"+s[1].fullpath)&&a(r,"src",e)},d(s){s&&d(r)}}}function q(n){let r,e=n[0]!==null&&n[1]&&f(n);return{c(){r=m("div"),e&&e.c(),a(r,"class","overflow-auto")},m(s,l){p(s,r,l),e&&e.m(r,null)},p(s,[l]){s[0]!==null&&s[1]?e?e.p(s,l):(e=f(s),e.c(),e.m(r,null)):e&&(e.d(1),e=null)},i:c,o:c,d(s){s&&d(r),e&&e.d()}}}function B(n,r,e){let s,l;u(n,g,i=>e(1,l=i));const t=v();return u(n,t,i=>e(0,s=i)),[s,l,t]}class w extends _{constructor(r){super(),h(this,r,B,q,b,{})}}export{w as default};
