/*! For license information please see dll.DraggableGrid.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[41],{1080:function(e,t,n){"use strict";n.r(t);var r=n(5),a=n(11),o=n(1),i=n.n(o),s=n(0),l=n.n(s),c=n(12),u=n.n(c),p={label:i.a.string.isRequired,onClick:i.a.func},f=l.a.forwardRef((function(e,t){var n=e.label,o=e.onClick,i=e.className,s=Object(a.default)(e,["label","onClick","className"]);return l.a.createElement("button",Object(r.default)({ref:t,type:"button",className:u()("close",i),onClick:o},s),l.a.createElement("span",{"aria-hidden":"true"},"×"),l.a.createElement("span",{className:"sr-only"},n))}));f.displayName="CloseButton",f.propTypes=p,f.defaultProps={label:"Close"},t.default=f},2552:function(e,t,n){"use strict";var r=n(2553);e.exports=r},2553:function(e,t,n){"use strict";var r=n(39),a=n(364),o=n(51),i=n(2554),s=n(2555);e.exports=function(e,t,n){var l,c,u,p,f;if(!r(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");if(l=a(i),arguments.length>2&&(u=s(l,n)))throw u;for(c=l.copy?new Array(e.length):e,f=0;f<e.length;f++)null!=(p=e[f])&&o(p,t)&&(c[f]=p[t]);return c}},2554:function(e){e.exports=JSON.parse('{"copy":true}')},2555:function(e,t,n){"use strict";var r=n(141),a=n(51),o=n(207).isPrimitive;e.exports=function(e,t){return r(t)?a(t,"copy")&&(e.copy=t.copy,!o(e.copy))?new TypeError("invalid option. `copy` option must be a boolean primitive. Option: `"+e.copy+"`."):null:new TypeError("invalid argument. Options argument must be an object. Value: `"+t+"`.")}},849:function(e,t,n){"use strict";n.r(t);var r=n(14),a=n.n(r),o=n(13),i=n.n(o),s=n(15),l=n.n(s),c=n(16),u=n.n(c),p=n(8),f=n.n(p),d=n(0),m=n.n(d),h=n(1),y=n.n(h),g=n(1015),b=n(1488),v=n(39),x=n.n(v),w=n(2552),R=n.n(w),k=n(140),E=n.n(k);function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var D=Object(b.WidthProvider)(b.Responsive),N=function(e){if(!x()(e.children))return null;var t=e.children.map((function(e,t){return{lg:{i:"cell-".concat(t),x:6*t%18,y:4*E()(t/3),w:6,h:4},md:{i:"cell-".concat(t),x:6*t%12,y:4*E()(t/2),w:6,h:4},sm:{i:"cell-".concat(t),x:6*t%12,y:4*E()(t/2),w:6,h:4},xs:{i:"cell-".concat(t),x:6*t%12,y:4*E()(t/2),w:6,h:4},xxs:{i:"cell-".concat(t),x:4*t%6,y:4*E()(t/1),w:6,h:4}}}));return t={lg:R()(t,"lg"),md:R()(t,"md"),sm:R()(t,"sm"),xs:R()(t,"xs"),xxs:R()(t,"xxs")}},O=function(e){l()(n,e);var t=C(n);function n(e){var r;return a()(this,n),(r=t.call(this,e)).state={layouts:N(e)},r}return i()(n,[{key:"render",value:function(){return x()(this.props.children)?m.a.createElement(D,{layouts:this.state.layouts,breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:18,md:12,sm:12,xs:12,xxs:6},isResizable:this.props.isResizable,isDraggable:this.props.isDraggable,rowHeight:this.props.rowHeight},this.props.children.map((function(e,t){return m.a.createElement("div",{key:"cell-".concat(t)},e)}))):m.a.createElement(g.default,{variant:"danger"},"The draggable grid requires at least two child elements for it to be rendered.")}}],[{key:"getDerivedStateFromProps",value:function(e){return{layouts:N(e)}}}]),n}(d.Component);O.defaultProps={isDraggable:!1,isResizable:!1,rowHeight:60},O.propTypes={isDraggable:y.a.bool,isResizable:y.a.bool,rowHeight:y.a.number},t.default=O}}]);