(()=>{"use strict";const e=window.React,{TextareaControl:t,PanelBody:n}=wp.components,a=class extends wp.element.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e,t){var n=JSON.parse(JSON.stringify(this.props.attributes));n[e]=t,this.props.onChange(n)}render(){return(0,e.createElement)(n,{title:"Rest API Query",initialOpen:!1},(0,e.createElement)(t,{label:"Query Arguments",help:"Enter each argument in a separate line. Arguments format - argument_name=argument_value",value:this.props.attributes.jet_rest_query,onChange:e=>{this.handleChange("jet_rest_query",e)}}))}};window.JetEngineListingData.customPanles.listingGrid||(window.JetEngineListingData.customPanles.listingGrid=[]),window.JetEngineListingData.customPanles.listingGrid.push(a)})();
//# sourceMappingURL=blocks.js.map