"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[5686],{28972(F,i,a){a.r(i),a.d(i,{plugin:()=>p});var s=a(65917),f=a(45468),o=a(3615),r=a(14553),m=a(24797),g=a(85372),u=a(34448),d=a(64702),v=a(47018);function l(e,n={}){(0,u.rR)(`grafana_flamegraph_${e}`,{app:m.Jk.Unknown,grafana_version:d.$.buildInfo.version,...n})}const h=e=>{const n=(0,o.oA)(e.data.series[0]);return n?(0,r.jsx)(v.a,{panelId:e.id,data:e.data,message:(0,o.Ik)(n)}):(0,r.jsx)(g.A,{data:e.data.series[0],stickyHeader:!1,getTheme:()=>d.$.theme2,showFlameGraphOnly:e.options?.showFlameGraphOnly??!1,onTableSymbolClick:()=>l("table_item_selected"),onViewSelected:t=>l("view_selected",{view:t}),onTextAlignSelected:t=>l("text_align_selected",{align:t}),onTableSort:t=>l("table_sort_selected",{sort:t})})},c=[s.uo.Unit,s.uo.Decimals],p=new f.m(h).setSuggestionsSupplier(e=>{if(e.rawFrames?.some(n=>(0,o.oA)(n)===void 0))return[{cardOptions:{previewModifier:n=>{n.options=n.options||{},n.options.showFlameGraphOnly=!0}}}]}).useFieldConfig({disableStandardOptions:Object.values(s.uo).filter(e=>!c.includes(e))})}}]);

//# sourceMappingURL=flamegraphPanel-react19.119f560381f8e57a168b.js.map