/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.stackConnectors_bundle_jsonpfunction=window.stackConnectors_bundle_jsonpfunction||[]).push([[68],{111:function(e,o,n){"use strict";n.r(o),n.d(o,"default",(function(){return r})),n(1);var a=n(0),s=n(2),t=n(9);const r=({actionParams:e,editAction:o,index:n,messageVariables:r,errors:d})=>{const{body:i}=e;return Object(t.jsx)(s.JsonEditorWithMessageVariables,{messageVariables:r,paramsProperty:"body",inputTargetValue:i,label:a.i18n.translate("xpack.stackConnectors.components.webhook.bodyFieldLabel",{defaultMessage:"Body"}),"aria-label":a.i18n.translate("xpack.stackConnectors.components.webhook.bodyCodeEditorAriaLabel",{defaultMessage:"Code editor"}),errors:d.body,onDocumentsChange:e=>{o("body",e,n)},onBlur:()=>{i||o("body","",n)}})}}}]);