import{r as h}from"./file-url-DgijyRSD.js";/* empty css */const{SvelteComponent:p,assign:a,bubble:v,compute_rest_props:u,detach:b,element:j,exclude_internal_props:q,flush:y,get_spread_update:I,init:w,insert:x,listen:C,noop:m,safe_not_equal:P,set_attributes:g,src_url_equal:S,toggle_class:d}=window.__gradio__svelte__internal;function k(s){let e,r,i,_,l=[{src:r=s[0]},s[1]],n={};for(let t=0;t{e=a(a({},e),q(c)),r(1,_=u(e,i)),"src"in c&&r(2,l=c.src)},s.$$.update=()=>{if(s.$$.dirty&12){r(0,n=l),r(3,t=l);const c=l;h(c).then(f=>{t===c&&r(0,n=f)})}},[n,_,l,t,o]}class D extends p{constructor(e){super(),w(this,e,z,k,P,{src:2})}get src(){return this.$$.ctx[2]}set src(e){this.$$set({src:e}),y()}}export{D as I}; //# sourceMappingURL=Image-CsmDAdIf.js.map