"use strict";(self.webpackChunkstreamlit_browser=self.webpackChunkstreamlit_browser||[]).push([[633],{90633:function(e,t,i){i.r(t),i.d(t,{default:function(){return s}});i(47313);var r=i(2444),l=i(78992),n=i(46417);var s=function(e){var t=e.disabled,i=e.element,s=e.widgetMgr,a=e.width,d=e.endpoints,u={width:a};return(0,n.jsx)("div",{className:"row-widget stDownloadButton",style:u,children:(0,n.jsx)(r.t2,{help:i.help,children:(0,n.jsx)(r.ZP,{kind:r.nW.SECONDARY,size:r.V5.SMALL,disabled:t,onClick:function(){s.setTriggerValue(i,{fromUi:!0});var e=document.createElement("a"),t=d.buildMediaURL(i.url);e.setAttribute("href",t),e.setAttribute("target","_blank"),e.click()},fluidWidth:i.useContainerWidth||!1,children:(0,n.jsx)(l.Z,{source:i.label,allowHTML:!1,isLabel:!0,isButton:!0})})})})}}}]);