/*! 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.triggersActionsUi_bundle_jsonpfunction=window.triggersActionsUi_bundle_jsonpfunction||[]).push([[37],{112:function(n,t,r){"use strict";function e(n){return n}function u(n){throw new Error("Called `absurd` function which should be uncallable")}Object.defineProperty(t,"__esModule",{value:!0}),t.bindTo_=t.bind_=t.hole=t.pipe=t.untupled=t.tupled=t.absurd=t.decrement=t.increment=t.tuple=t.flow=t.flip=t.constVoid=t.constUndefined=t.constNull=t.constFalse=t.constTrue=t.constant=t.not=t.unsafeCoerce=t.identity=void 0,t.identity=e,t.unsafeCoerce=e,t.not=function(n){return function(t){return!n(t)}},t.constant=function(n){return function(){return n}},t.constTrue=function(){return!0},t.constFalse=function(){return!1},t.constNull=function(){return null},t.constUndefined=function(){},t.constVoid=function(){},t.flip=function(n){return function(t,r){return n(r,t)}},t.flow=function(n,t,r,e,u,i,o,c,f){switch(arguments.length){case 1:return n;case 2:return function(){return t(n.apply(this,arguments))};case 3:return function(){return r(t(n.apply(this,arguments)))};case 4:return function(){return e(r(t(n.apply(this,arguments))))};case 5:return function(){return u(e(r(t(n.apply(this,arguments)))))};case 6:return function(){return i(u(e(r(t(n.apply(this,arguments))))))};case 7:return function(){return o(i(u(e(r(t(n.apply(this,arguments)))))))};case 8:return function(){return c(o(i(u(e(r(t(n.apply(this,arguments))))))))};case 9:return function(){return f(c(o(i(u(e(r(t(n.apply(this,arguments)))))))))}}},t.tuple=function(){for(var n=[],t=0;t({decryptionHealth:n,executionHealth:t,readHealth:r,...e}),i=({is_sufficiently_secure:n,has_permanent_encryption_key:t,alerting_framework_health:r,...e})=>({isSufficientlySecure:n,hasPermanentEncryptionKey:t,alertingFrameworkHealth:r,...e});async function o({http:n}){const t=await n.get(`${e.b}/_health`),r=u(t.alerting_framework_health);return{...i(t),alertingFrameworkHealth:r}}}}]);