jQuery(document).ready(function(o){o("#post-selection").length>0&&socialPostFlowInitSelectize("#post-selection"),o("body.wpzinc").on("change","input[name=toggle]",function(){o(this).is(":checked")?o("ul.categorychecklist input[type=checkbox]").prop("checked",!0):o("ul.categorychecklist input[type=checkbox]").prop("checked",!1)}),o("#progress-bar").length>0&&o("#progress-bar").synchronous_request({url:social_post_flow_bulk_publish.ajax,number_requests:social_post_flow_bulk_publish.number_of_requests,action:social_post_flow_bulk_publish.action,nonce:social_post_flow_bulk_publish.nonce,ids:social_post_flow_bulk_publish.post_ids,stop_on_error:-1,onRequestSuccess(e){return o("tbody",o(this.log)).append(e.data),!0},onRequestError(e,t){return o("tbody",o(this.log)).append('<tr><td colspan="8">'+t+"</td></tr>"),!0},onFinished(){this.cancelled,o("tbody",o(this.log)).append('<tr><td colspan="8">'+social_post_flow_bulk_publish.finished+"</td></tr>")}})});