"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9264],{9264:(g,e,t)=>{t.r(e),t.d(e,{default:()=>f});var a=t(74848),l=t(24180),m=t(39558),P=t(42418),_=t(7392),D=t(53270),M=t(70383),O=t(78742),d=t(33594),T=t(33302);const o=(0,a.jsx)(_.L,{entity:"Notification template"}),f=()=>{const{name:E}=(0,l.g)(),s=E?decodeURIComponent(E):void 0,{selectedAlertmanager:i}=(0,M.VI)(),{currentData:r,isLoading:C,error:n}=(0,T.J2)({alertmanager:i??"",uid:s??""});return s?C?(0,a.jsx)(m._,{text:"Loading template..."}):n?(0,D.E)(n)?o:(0,a.jsx)(P.F,{severity:"error",title:"Failed to fetch notification template",children:(0,O.JZ)(n)}):r?(0,a.jsx)(d.By,{alertmanager:i??"",originalTemplate:r}):o:(0,a.jsx)(_.L,{entity:"Notification template"})}}}]);

//# sourceMappingURL=9264.1e075b68d81ebdd09f1f.js.map