webpackJsonp([17],{773:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return P});var a,c,o,i,r=n(2),s=n.n(r),u=n(1),l=n.n(u),d=n(3),h=n.n(d),f=n(4),p=n.n(f),v=n(0),m=(n.n(v),n(9)),g=n(151),b=n(16),k=n(5),y=n.n(k),_=n(12),O=n.n(_),C=n(69),j=n(6),w=n(901),S=n(8),T=(n.n(S),n(11)),E=n.n(T),M=n(101),N=Object(j.f)({placeholder:{id:"report.placeholder",defaultMessage:"Additional comments"},submit:{id:"report.submit",defaultMessage:"Submit"}}),x=function(){var e=Object(C.c)();return function(t){var n=t.getIn(["reports","new","account_id"]);return{isSubmitting:t.getIn(["reports","new","isSubmitting"]),account:e(t,n),comment:t.getIn(["reports","new","comment"]),statusIds:Object(S.OrderedSet)(t.getIn(["timelines","account:"+n,"items"])).union(t.getIn(["reports","new","status_ids"]))}}},P=(a=Object(m.connect)(x))(c=Object(j.g)((i=o=function(e){function t(){var n,a,c;l()(this,t);for(var o=arguments.length,i=Array(o),r=0;r=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;tthis.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=tn?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-40){var n=t[0];return{x:n.clientX,y:n.clientY}}var a=e.pageX;if(void 0!==a)return{x:a,y:e.pageY}}return{x:0,y:0}}Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=a},901:function(e,t,n){"use strict";var a=n(9),c=n(902),o=n(151),i=n(8),r=(n.n(i),function(e,t){var n=t.id;return{status:e.getIn(["statuses",n]),checked:e.getIn(["reports","new","status_ids"],Object(i.Set)()).includes(n)}}),s=function(e,t){var n=t.id;return{onToggle:function(t){e(Object(o.k)(n,t.target.checked))}}};t.a=Object(a.connect)(r,s)(c.a)},902:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var a=n(2),c=n.n(a),o=n(1),i=n.n(o),r=n(3),s=n.n(r),u=n(4),l=n.n(u),d=n(0),h=n.n(d),f=n(790),p=n.n(f),v=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return l()(t,e),t.prototype.render=function(){var e=this.props,t=e.status,n=e.checked,a=e.onToggle,o=e.disabled,i={__html:t.get("contentHtml")};return t.get("reblog")?null:c()("div",{className:"status-check-box"},void 0,c()("div",{className:"status__content",dangerouslySetInnerHTML:i}),c()("div",{className:"status-check-box-toggle"},void 0,c()(p.a,{checked:n,onChange:a,disabled:o})))},t}(h.a.PureComponent)}}); //# sourceMappingURL=report_modal-7a2950f40d4867b9cbb0.js.map