"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[2154,5346],{72687(a,t,e){e.r(t),e.d(t,{DataSourceCacheUpgradePage:()=>_,default:()=>x});var o=e(74848),n=e(54148),d=e(13791),u=e(49095),p=e(90758);const _=()=>{const{uid:m=""}=(0,n.g)(),{navId:v,pageNav:l}=(0,u.n)("cache");return(0,o.jsx)(d.Y,{navId:v,pageNav:l,children:(0,o.jsx)(d.Y.Contents,{children:(0,o.jsx)(p.Y,{uid:m})})})},x=_},49095(a,t,e){e.d(t,{n:()=>v});var o=e(54148),n=e(92745),d=e(78282),u=e(84057),p=e(74426),_=e(99723),x=e(23691),m=e(52763);function v(l){const{uid:i=""}=(0,o.g)(),k=(0,o.zy)(),r=(0,p.xw)(i),b=(0,p.S4)(r.type),O=(0,x.ob)(r.type),w=new URLSearchParams(k.search),E=l||w.get("page"),{plugin:g,loadError:f,loading:h}=(0,p._e)(),D=(0,d.l)()?.getInstanceSettings(i),C=!!(D?.meta?.alerting??!1),I=D?.type==="alertmanager",T=C||I,P=(0,m.d4)(s=>s.navIndex),M=E?`datasource-${E}-${i}`:`datasource-settings-${i}`;let c={node:{text:(0,n.t)("connections.use-data-source-settings-nav.page-nav.text.data-source-nav-node","Data Source Nav Node")},main:{text:(0,n.t)("connections.use-data-source-settings-nav.page-nav.text.data-source-nav-node","Data Source Nav Node")}};if(f){const s={text:f,subTitle:(0,n.t)("connections.use-data-source-settings-nav.node.subTitle.data-source-error","Data Source Error"),icon:"exclamation-triangle"};c={node:s,main:s}}if((h||!g)&&(c=(0,u.tc)(P,M,(0,_.$m)("settings"))),!r.uid){const s={text:(0,n.t)("connections.use-data-source-settings-nav.node.subTitle.data-source-error","Data Source Error"),icon:"exclamation-triangle"};c={node:s,main:s}}return g&&(c=(0,u.tc)(P,M,(0,_.Vh)((0,_.R4)(r,g),E||"settings"))),{navId:"connections-datasources",pageNav:{...c.main,dataSourcePluginName:O?.name||g?.meta.name||"",active:!0,text:r.name||"",subTitle:b.name?`Type: ${b.name}`:"",children:(c.main.children||[]).map(s=>({...s,url:s.url?.replace("datasources/edit/","/connections/datasources/edit/")}))},dataSourceHeader:{alertingSupported:T}}}},14552(a,t,e){a.exports=e.p+"static/img/adobe-analytics.4753db26.svg"},42965(a,t,e){a.exports=e.p+"static/img/appdynamics.26e3d55b.svg"},63340(a,t,e){a.exports=e.p+"static/img/atlassian-statuspage.3c87e280.svg"},19810(a,t,e){a.exports=e.p+"static/img/aurora.b26d603d.svg"},36654(a,t,e){a.exports=e.p+"static/img/azure-cosmosdb.573a2a46.svg"},15912(a,t,e){a.exports=e.p+"static/img/azure-devops.a937d73a.png"},91735(a,t,e){a.exports=e.p+"static/img/catchpoint.fa6c7933.svg"},95552(a,t,e){a.exports=e.p+"static/img/cloudflare.ea4404be.jpg"},74484(a,t,e){a.exports=e.p+"static/img/cockroachdb.c40db97d.jpg"},51147(a,t,e){a.exports=e.p+"static/img/datadog.68935496.png"},7672(a,t,e){a.exports=e.p+"static/img/drone.e55e0d85.svg"},36404(a,t,e){a.exports=e.p+"static/img/dynatrace.3510a47f.png"},70535(a,t,e){a.exports=e.p+"static/img/gitlab.a9ff2a14.svg"},23735(a,t,e){a.exports=e.p+"static/img/honeycomb.23074f0a.png"},26871(a,t,e){a.exports=e.p+"static/img/jira_logo.fc367bdf.png"},57454(a,t,e){a.exports=e.p+"static/img/logicmonitor.a0d2ddd9.svg"},10128(a,t,e){a.exports=e.p+"static/img/mongodb.cd31e197.svg"},78485(a,t,e){a.exports=e.p+"static/img/netlify.35f83f3c.svg"},59161(a,t,e){a.exports=e.p+"static/img/newrelic.4ba92509.svg"},69443(a,t,e){a.exports=e.p+"static/img/oracle.b53d3bc4.png"},94443(a,t,e){a.exports=e.p+"static/img/pagerduty.261221ea.svg"},12680(a,t,e){a.exports=e.p+"static/img/salesforce.f79d37a9.svg"},99444(a,t,e){a.exports=e.p+"static/img/sap_hana.7f369d20.png"},57925(a,t,e){a.exports=e.p+"static/img/servicenow.de3a7a6a.svg"},15584(a,t,e){a.exports=e.p+"static/img/signalfx-logo.70e37f3d.svg"},22810(a,t,e){a.exports=e.p+"static/img/snowflake.4951e616.svg"},42166(a,t,e){a.exports=e.p+"static/img/splunk_logo_128.08e4871b.png"},6758(a,t,e){a.exports=e.p+"static/img/sumo.3e01fb77.svg"},40250(a,t,e){a.exports=e.p+"static/img/wavefront.a8880e4a.svg"},16926(a,t,e){a.exports=e.p+"static/img/zendesk.9a6bf432.svg"}}]);

//# sourceMappingURL=ConnectionsDataSourceCacheUpgradePage.1102b6346338b5161af3.js.map