/*! 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.uptime_bundle_jsonpfunction=window.uptime_bundle_jsonpfunction||[]).push([[11],{120:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(1),i=a.n(n),o=a(19),c=a(21),l=a(0),s=a(20);const r=({onCancel:e})=>{const{application:t}=Object(c.useKibana)().services;return i.a.createElement(o.EuiConfirmModal,{title:i.a.createElement(i.a.Fragment,null,d," ",i.a.createElement(o.EuiIcon,{type:"cheer"})),onCancel:e,onConfirm:()=>{null==t||t.navigateToApp("synthetics")},confirmButtonText:m,cancelButtonText:u},i.a.createElement("p",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.description",defaultMessage:"The Elastic Synthetics integration is deprecated. Instead, you can now monitor endpoints, pages, and user journeys directly in the Synthetics app much more efficiently:"})),i.a.createElement("p",null,i.a.createElement("li",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.addPrivateLocations",defaultMessage:"Add private locations against your fleet policies"})),i.a.createElement("li",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.manageMonitors",defaultMessage:"Manage lightweight and browser monitors from a single place"})),i.a.createElement("li",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.elasticManagedLocations",defaultMessage:"Run monitors in multiple locations managed by Elastic, or from your own private locations"})),i.a.createElement("li",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.automateMonitors",defaultMessage:"Automate the creation of your monitors using project monitors"}))),i.a.createElement("p",null,i.a.createElement(s.FormattedMessage,{id:"xpack.uptime.deprecateNoticeModal.forMoreInformation",defaultMessage:"For more information, {docsLink}",values:{docsLink:i.a.createElement(o.EuiLink,{"data-test-subj":"syntheticsDeprecateNoticeModalLink",target:"_blank",href:"https://www.elastic.co/guide/en/observability/current/monitor-uptime-synthetics.html"},p)}})))},d=l.i18n.translate("xpack.uptime.deprecateNoticeModal.headerText",{defaultMessage:"Synthetic Monitoring is now available out of the box in Synthetics"}),u=l.i18n.translate("xpack.uptime.deprecateNoticeModal.goBack",{defaultMessage:"Go back"}),p=l.i18n.translate("xpack.uptime.deprecateNoticeModal.readDocs",{defaultMessage:"read docs."}),m=l.i18n.translate("xpack.uptime.deprecateNoticeModal.goToSynthetics",{defaultMessage:"Go to Synthetics"})},235:function(e,t,a){"use strict";a.r(t),a.d(t,"SyntheticsPolicyCreateExtensionWrapper",(function(){return r}));var n=a(1),i=a.n(n),o=a(23),c=a(21),l=a(120);const s=Object(n.memo)((({newPolicy:e})=>{Object(o.useTrackPageview)({app:"fleet",path:"syntheticsCreate"}),Object(o.useTrackPageview)({app:"fleet",path:"syntheticsCreate",delay:15e3});const{application:t}=Object(c.useKibana)().services,{package:a}=e,s=Object(n.useCallback)((()=>{null==t||t.navigateToApp("integrations",{path:`/detail/${null==a?void 0:a.name}-${null==a?void 0:a.version}/overview`})}),[t,null==a?void 0:a.name,null==a?void 0:a.version]);return i.a.createElement(l.a,{onCancel:s})}));s.displayName="SyntheticsPolicyCreateExtension";const r=Object(n.memo)((({newPolicy:e,onChange:t})=>i.a.createElement(s,{newPolicy:e,onChange:t})));r.displayName="SyntheticsPolicyCreateExtensionWrapper"}}]);