(this["webpackJsonpclient-view-genially"]=this["webpackJsonpclient-view-genially"]||[]).push([[4],{760:function(e,t,a){"use strict";a.r(t);var r=a(0),n=a.n(r),c=a(1),l=a.n(c),o=a(19),i=a.n(o),s=a(13),p=a(35);function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}var y=s.c.div.withConfig({displayName:"GTableChartstyled__TableChartWrapper",componentId:"vaq3f4-0"})((function(){return{width:"100%",height:"100%",wordBreak:"break-all"}})),u=s.c.table.withConfig({displayName:"GTableChartstyled__TableStyled",componentId:"vaq3f4-1"})((function(e){return{borderCollapse:"collapse",height:"100%",width:"100%",tableLayout:e.fixed?"fixed":"auto"}})),b=s.c.td.withConfig({displayName:"GTableChartstyled__TableCell",componentId:"vaq3f4-2"})((function(){return function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?f(Object(a),!0).forEach((function(t){i()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},p.a.increaseSpecificity({padding:"0.15em"}))})),d=function(e){var t=e.data,a=e.id,r=e.cellStyles,c="fixed"===e.tableStyles.css.tableLayout;return n.a.createElement(y,{className:"genially-chart-wrapper"},n.a.createElement(u,{fixed:c},n.a.createElement("tbody",null,t.map((function(e,t){var c="t_".concat(a,"_r_").concat(t);return n.a.createElement("tr",{key:c},e.map((function(e,c){var l="t_".concat(a,"_c_").concat(t,"_").concat(c);return n.a.createElement(b,{style:r[t][c].css,key:l},n.a.createElement("span",null,e))})))})))))};d.propTypes={data:l.a.arrayOf(l.a.arrayOf(l.a.oneOfType([l.a.string,l.a.number]))),cellStyles:l.a.arrayOf(l.a.arrayOf(l.a.shape({css:l.a.object}))),tableStyles:l.a.shape({css:l.a.shape({tableLayout:l.a.oneOf(["auto","fixed"])})}),id:l.a.string},d.defaultProps={};t.default=d}}]);
//# sourceMappingURL=tableChart.8c4b1e3a.chunk.js.map