text: (window["webpackJsonpstreamlit-browser"]=window["webpackJsonpstreamlit-browser"]||[]).push([[28],{2081:function(t,e,i){},2386:function(t,e,i){"use strict";i.r(e);var n,a=i(6),r=i(11),c=i(14),l=i(12),o=i(13),s=i(0),u=i.n(s),d=i(214),h=i(68);i(2081);!function(t){t[t.OriginalWidth=-1]="OriginalWidth",t[t.ColumnWidth=-2]="ColumnWidth"}(n||(n={}));var m=function(t){function e(){return Object(a.a)(this,e),Object(c.a)(this,Object(l.a)(e).apply(this,arguments))}return Object(o.a)(e,t),Object(r.a)(e,[{key:"render",value:function(){var t,e=this.props,i=e.element,a=e.width,r=e.height,c=e.isFullScreen,l=i.get("width");if(l===n.OriginalWidth)t=void 0;else if(l===n.ColumnWidth)t=a;else{if(!(l>0))throw Error("Invalid image width: ".concat(l));t=i.get("width")}var o={};return r&&c?(o.height=r,o["object-fit"]="contain"):o.width=t,u.a.createElement("div",{style:{width:a}},i.get("imgs").map(function(e,i){return u.a.createElement("div",{className:"image-container stImage",key:i,style:{width:t}},u.a.createElement("img",{style:o,src:(n=e,n.get("url").startsWith("/media")?Object(h.a)(Object(h.c)(),n.get("url")):n.get("url")),alt:i}),!c&&u.a.createElement("div",{className:"caption"}," ",e.get("caption")," "));var n}))}}]),e}(s.PureComponent),g=Object(d.a)(m);i.d(e,"default",function(){return g})}}]);
  //# sourceMappingURL=28.b39a1d77.chunk.js.map