/*! 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([[55],{98:function(e,n,t){"use strict";t.r(n),t.d(n,"SlackActionFieldsComponents",(function(){return d})),t.d(n,"simpleConnectorQueryClient",(function(){return k})),t.d(n,"default",(function(){return j})),t(1);var o=t(2),s=t(25),c=t(29),i=t(37),r=t(8),a=t(9);const l=e=>[{id:"token",label:r.e,isPasswordField:!0,helpText:Object(a.jsx)(s.EuiLink,{href:e.links.alerting.slackApiAction,target:"_blank"},Object(a.jsx)(c.FormattedMessage,{id:"xpack.stackConnectors.components.slack_api.apiKeyDocumentation",defaultMessage:"Create a Slack Web API token"}))}],u=[],d=({readOnly:e,isEdit:n})=>{const{docLinks:t}=Object(o.useKibana)().services;return Object(a.jsx)(o.SimpleConnectorForm,{isEdit:n,readOnly:e,configFormSchema:u,secretsFormSchema:l(t)})},k=new i.QueryClient,j=e=>Object(a.jsx)(i.QueryClientProvider,{client:k},Object(a.jsx)(d,e))}}]);