import{l as s,p as r,e as v,c as w,s as _,S as k}from"./i18n-Dnhn5Rxr.js";import{R as m,a4 as g,Z as y,a as b,T as $,U as d,z as D,V as S,W as x,w as z,a5 as E,Y as L}from"./index-DWyDLubb.js";import"./ScrollFade.svelte_svelte_type_style_lang-DPHOQHBm.js";var T=x("<a><!></a>");function U(l,e){const i=s(e,["children","$$slots","$$events","$$legacy"]),c=s(i,["href","download"]);m(e,!1);let n=r(e,"href",12,void 0),o=r(e,"download",12);const f=g();var p={get href(){return n()},set href(t){n(t),d()},get download(){return o()},set download(t){o(t),d()}};v();var a=T(),u=E(()=>f.bind(null,"click"));w(a,()=>({class:"download-link","data-testid":"download-link",href:n(),target:D(()=>typeof window<"u"&&window.__is_colab__?"_blank":null),rel:"noopener noreferrer",download:o(),...c,[k]:{position:"relative"}}),void 0,void 0,void 0,"svelte-7nkusa");var h=S(a);return _(h,e,"default",{}),L(a),y("click",a,function(...t){z(u)?.apply(this,t)}),b(l,a),$(p)}export{U as D};
