(this["webpackJsonpclient-view-genially"]=this["webpackJsonpclient-view-genially"]||[]).push([[4],{786:function(e,a,t){"use strict";t.r(a);var n=t(0),r=t.n(n),l=t(1),i=t.n(l),c=t(6),s=t(19),o=function(){return(o=Object.assign||function(e){for(var a,t=1,n=arguments.length;t<n;t++)for(var r in a=arguments[t])Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e}).apply(this,arguments)},p=c.c.div.withConfig({displayName:"TableChartWrapper",componentId:"sc-1yh5byw"})((function(){return{width:"100%",height:"100%",wordBreak:"break-all"}})),y=c.c.table.withConfig({displayName:"TableStyled",componentId:"sc-pd8tqs"})((function(e){return{borderCollapse:"collapse",height:"100%",width:"100%",tableLayout:e.fixed?"fixed":"auto"}})),u=c.c.td.withConfig({displayName:"TableCell",componentId:"sc-akhupy"})((function(){return o({},s.a.increaseSpecificity({padding:"0.15em"}))})),d=function(e){var a=e.data,t=e.id,n=e.cellStyles,l="fixed"===e.tableStyles.css.tableLayout;return r.a.createElement(p,{className:"genially-chart-wrapper"},r.a.createElement(y,{fixed:l},r.a.createElement("tbody",null,a.map((function(e,a){var l="t_"+t+"_r_"+a;return r.a.createElement("tr",{key:l},e.map((function(e,l){var i="t_"+t+"_c_"+a+"_"+l;return r.a.createElement(u,{style:n[a][l].css,key:i},r.a.createElement("span",null,e))})))})))))};d.propTypes={data:i.a.arrayOf(i.a.arrayOf(i.a.oneOfType([i.a.string,i.a.number]))),cellStyles:i.a.arrayOf(i.a.arrayOf(i.a.shape({css:i.a.object}))),tableStyles:i.a.shape({css:i.a.shape({tableLayout:i.a.oneOf(["auto","fixed"])})}),id:i.a.string},d.defaultProps={};a.default=d}}]);
//# sourceMappingURL=tableChart.f7d3fe4a.chunk.js.map