(window["webpackJsonpstreamlit-browser"]=window["webpackJsonpstreamlit-browser"]||[]).push([[33],{2200:function(e,t,n){"use strict";n.r(t);var r=n(5),a=n(10),i=n(13),o=n(11),c=n(12),u=n(0),s=n.n(u),d=n(67),p=function(e){function t(){var e,n;Object(r.a)(this,t);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(n=Object(i.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(c)))).audioRef=s.a.createRef(),n.componentDidMount=function(){n.updateTime()},n.componentDidUpdate=function(){n.updateTime()},n}return Object(c.a)(t,e),Object(a.a)(t,[{key:"updateTime",value:function(){if(this.audioRef.current){var e=this.props.element;this.audioRef.current.currentTime=e.get("startTime")}}},{key:"render",value:function(){var e=this.props,t=e.element,n=e.width,r=t.get("url");return r.startsWith("/media")&&(r=Object(d.a)(Object(d.c)(),r)),s.a.createElement("audio",{ref:this.audioRef,controls:!0,src:r,className:"stAudio",style:{width:n}})}}]),t}(u.PureComponent);n.d(t,"default",function(){return p})}}]);
//# sourceMappingURL=33.572f620c.chunk.js.map