PageSourceSearch

https://anchorageairport.net/public/build/2143.02d41cefa24d1aa658ba.js

js anchorageairport.net collected 2026-10-06 06:57:48 UTC 171,869 bytes, 26 lines download raw bytes

1"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[2143],{5421(O,T,e){e.d(T,{JE:()=>l,Od:()=>o,WC:()=>r});const a="YYYY-MM-DD HH:mm:ss",t="YYYY-MM-DD HH:mm:ss.SSS";class l{constructor(){this.fullDate=a,this.fullDateMS=t,this.interval={millisecond:"HH:mm:ss.SSS",second:"HH:mm:ss",minute:"HH:mm",hour:"MM/DD HH:mm",day:"MM/DD",month:"YYYY-MM",year:"YYYY"}}update(n){this.fullDate=n.fullDate,this.interval=n.interval,n.useBrowserLocale&&this.useBrowserLocale()}useBrowserLocale(){this.fullDate=o({year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),this.fullDateMS=this.fullDate.replace("ss","ss.SSS"),this.interval.millisecond=o({hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1},null,this.interval.second).replace("ss","ss.SSS"),this.interval.second=o({hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1},null,this.interval.second),this.interval.minute=o({hour:"2-digit",minute:"2-digit",hour12:!1},null,this.interval.minute),this.interval.hour=o({month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1},null,this.interval.hour),this.interval.day=o({month:"2-digit",day:"2-digit",hour12:!1},null,this.interval.day),this.interval.month=o({year:"numeric",month:"2-digit",hour12:!1},null,this.interval.month)}getTimeFieldUnit(n){return`time:${n?this.fullDateMS:this.fullDate}`}}function o(p,n,i){if(E())return i??a;!n&&navigator&&(n=[...navigator.languages]);let x;try{x=new Intl.DateTimeFormat(n||void 0,p)}catch{x=new Intl.DateTimeFormat("en-US",p)}const u=x.formatToParts(new Date),D={year:"YYYY",month:"MM",day:"DD",hour:x.resolvedOptions().hour12?"hh":"HH",minute:"mm",second:"ss",weekday:"ddd",era:"N",dayPeriod:"A",timeZoneName:"Z"};return u.map(P=>D[P.type]||P.value).join("")}const r=new l,E=()=>!("DateTimeFormat"in Intl)||!("formatToParts"in Intl.DateTimeFormat.prototype)},25229(O,T,e){e.d(T,{$D:()=>c,AN:()=>P,Ah:()=>b,Ar:()=>x,JK:()=>p,KQ:()=>D,XN:()=>n,mt:()=>r,oZ:()=>d,pp:()=>h,u8:()=>i,xQ:()=>S,xS:()=>E,yT:()=>u});var a=e(95093),t=e.n(a),l=e(84743),o=e.n(l);const r=t().ISO_8601,E=s=>{t().locale(s)},p=()=>t().locale(),n=()=>t().localeData(),i=s=>s===null||typeof s=="string"||typeof s=="number"||s instanceof Date||Array.isArray(s)&&s.every(g=>typeof g=="string"||typeof g=="number")||x(s),x=s=>t().isMoment(s),u=(s,g)=>t().utc(s,g),b=(s,g)=>t().duration(s,g),D=(s,g)=>t()(s,g),P=s=>D(s),d=(s,g,f)=>{if(s&&s!=="browser"){let y;if(typeof g=="string"&&f?y=(0,l.tz)(g,f,s):y=(0,l.tz)(g,s),x(y))return y}return D(g,f)},S=s=>t().weekdays().findIndex(g=>g.toLowerCase()===s.toLowerCase()),h=s=>["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].findIndex(g=>g.toLowerCase()===s.toLowerCase()),c=s=>{const g="-weekStart",f=p().replace(g,""),y=s?h(s):-1;y!==-1?t().updateLocale(f+g,{parentLocale:f,week:{dow:y}}):E(f)}},19379(O,T,e){e.d(T,{o:()=>o});var a=e(74486),t=e(88483),l=e(16126);class o{constructor(){this.subscribers=new Map,this.emitter=new a.A}publish(p){this.emitter.emit(p.type,p)}subscribe(p,n){return this.getStream(p).subscribe({next:n})}getStream(p){return new t.c(n=>{const i=x=>{n.next(x)};return this.emitter.on(p.type,i),this.subscribers.set(i,n),()=>{this.emitter.off(p.type,i),this.subscribers.delete(i)}})}newScopedBus(p,n){return new r([p],this,n)}emit(p,n){typeof p=="string"?this.emitter.emit(p,{type:p,payload:n}):this.emitter.emit(p.name,{type:p.name,payload:n})}on(p,n){n.wrapper=i=>{n(i.payload)},typeof p=="string"?this.emitter.on(p,n.wrapper):this.emitter.on(p.name,n.wrapper)}off(p,n){if(typeof p=="string"){this.emitter.off(p,n.wrapper);return}this.emitter.off(p.name,n.wrapper)}removeAllListeners(){this.emitter.removeAllListeners();for(const[p,n]of this.subscribers)n.complete(),this.subscribers.delete(p)}}
1class r{constructor(p,n,i){this.path=p,this.eventBus=n,this.filterConfig=i??{onlyLocal:!1}}publish(p){p.origin||(p.origin=this),this.eventBus.publish(p)}filter(p){return this.filterConfig.onlyLocal?p.origin===this:!0}getStream(p){return this.eventBus.getStream(p).pipe((0,l.p)(this.filter.bind(this)))}subscribe(p,n){return this.getStream(p).subscribe({next:n})}removeAllListeners(){this.eventBus.removeAllListeners()}newScopedBus(p,n){return new r([...this.path,p],this,n)}}},68388(O,T,e){e.d(T,{a:()=>a,x:()=>t});class a{constructor(){this.type=this.__proto__.constructor.type}setTags(o){return this.tags=new Set(o),this}}class t extends a{constructor(o){super(),this.payload=o}}},54734(O,T,e){e.d(T,{l:()=>t});var a=e(42954);const t=new a.O},63704(O,T,e){e.d(T,{DX:()=>d,G$:()=>x,Jf:()=>b,aj:()=>p,iQ:()=>S,sQ:()=>h});var a=e(16750),t=e(99418),l=e(34005),o=e.n(l);const r=Object.keys(l.whiteList).reduce((c,s)=>(c[s]=l.whiteList[s]?.concat(["class","style"]),c),{});r.iframe=["src","width","height"];const E=new l.FilterXSS({onTagAttr(c,s,g,f){if(c==="iframe")return f?` ${s}="${l.escapeAttrValue(b(g))}" sandbox credentialless referrerpolicy=no-referrer`:""},onTag(c,s,g){if(s==='<input disabled="" type="checkbox">'||s==='<input checked="" disabled="" type="checkbox">')return s},whiteList:r,css:{whiteList:{...l.getDefaultCSSWhiteList(),"flex-direction":!0,"flex-wrap":!0,"flex-basis":!0,"flex-grow":!0,"flex-shrink":!0,"flex-flow":!0,gap:!0,order:!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"align-items":!0,"align-content":!0,"align-self":!0}}});function p(c){try{return t.A.addHook("afterSanitizeAttributes",s=>{s.tagName==="A"&&s.getAttribute("target")==="_blank"&&s.setAttribute("rel","noopener noreferrer")}),t.A.sanitize(c,{USE_PROFILES:{html:!0},FORBID_TAGS:["form","input"],ADD_ATTR:["target"]})}catch{return console.error("String could not be sanitized",c),P(c)}finally{t.A.removeHook("afterSanitizeAttributes")}}function n(c){return t.A.sanitize(c,{RETURN_TRUSTED_TYPE:!0,ADD_ATTR:["xmlns:atom","version","property","content"],ADD_TAGS:["rss","meta","channel","title","link","description","atom:link","item","pubDate","guid"],PARSER_MEDIA_TYPE:"application/xhtml+xml"})}function i(c){return t.A.sanitize(c,{RETURN_TRUSTED_TYPE:!0})}function x(c){try{return E.process(c)}catch{return console.error("String could not be sanitized",c),"Text string could not be sanitized"}}function u(c){return t.A.sanitize(c,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function b(c){return(0,a.J)(c)}function D(c){return/\u001b\[\d{1,2}m/.test(c)}function P(c){return String(c).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;")}class d extends Error{constructor(s="Invalid request path"){super(s),this.name="PathValidationError",Error.captureStackTrace&&Error.captureStackTrace(this,d)}}function S(c){try{let s=c;for(;;){const g=decodeURIComponent(s);if(g===s)break;s=g}if(/\.\.|\/\\|[\t\n\r]/.test(s))throw new d;return c}catch(s){throw s instanceof d?s:new d("Error validating request path")}}const h={escapeHtml:P,hasAnsiCodes:D,sanitize:p,sanitizeTextPanelContent:x,sanitizeUrl:b,sanitizeSVGContent:u,sanitizeTrustedTypes:i,sanitizeTrustedTypesRSS:n}},6773(O,T,e){e.d(T,{MV:()=>c,X4:()=>P,a:()=>S,e$:()=>d,eM:()=>u,tL:()=>D,ze:()=>E});var a=e(84140);function t(s,g=0,f=1){return Math.min(Math.max(g,s),f)}function l(s){s=s.slice(1);const g=new RegExp(`.{1,${s.length>=6?2:1}}`,"g");let f=s.match(g);if(!f)return"";let y=Array.from(f);return y[0].length===1&&(y=y.map(v=>v+v)),y?`rgb${y.length===4?"a":""}(${y.map((v,M)=>M<3?parseInt(v,16):Math.round(parseInt(v,16)/255*1e3)/1e3).join(", ")})`:""}function o(s){const g=s.toString(16);return g.length===1?`0${g}`:g}function r(s){if(s.indexOf("#")===0)return s;const{values:g}=i(s);return`#${g.map(f=>o(f)).join("")}`}function E(s){if(s[0]==="#")return s;const g=(0,a.A)(s);return g.getAlpha()===1?g.toHexString():g.toHex8String()}function p(s){return s.startsWith("rgb")?s:(0,a.A)(s).toRgbString()}function n(s){const g=i(s),{values:f}=g,y=f[0],v=f[1]/100,M=f[2]/100,B=v*Math.min(M,1-M),R=(L,$=(L+y/30)%12)=>M-B*Math.max(Math.min($-3,9-$,1),-1);let I="rgb";const A=[Math.round(R(0)*255),Math.round(R(8)*255),Math.round(R(4)*255)];return g.type==="hsla"&&(I+="a",A.push(f[3])),x({type:I,values:A})}
1function i(s){if(typeof s!="string")return s;if(s.charAt(0)==="#")return i(l(s));const g=s.indexOf("("),f=s.substring(0,g);if(["rgb","rgba","hsl","hsla","color"].indexOf(f)===-1)throw new Error(`Unsupported '${s}' color. The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()`);let y=s.substring(g+1,s.length-1),v;if(f==="color"){if(y=y.split(" "),v=y.shift(),y.length===4&&y[3].charAt(0)==="/"&&(y[3]=y[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(v)===-1)throw new Error(`Unsupported ${v} color space. The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`)}else y=y.split(",");return y=y.map(M=>parseFloat(M)),{type:f,values:y,colorSpace:v}}function x(s){const{type:g,colorSpace:f}=s;let y=s.values;return g.indexOf("rgb")!==-1?y=y.map((v,M)=>M<3?parseInt(v,10):v):g.indexOf("hsl")!==-1&&(y[1]=`${y[1]}%`,y[2]=`${y[2]}%`),g.indexOf("color")!==-1?y=`${f} ${y.join(" ")}`:y=`${y.join(", ")}`,`${g}(${y})`}function u(s,g,f){const y=b(s),v=b(g,f);return(Math.max(y,v)+.05)/(Math.min(y,v)+.05)}function b(s,g){const f=i(s);let y=f.type==="hsl"?i(n(s)).values:f.values;if(g&&f.type==="rgba"){const M=i(g),B=y[3];y[0]=y[0]*B+M.values[0]*(1-B),y[1]=y[1]*B+M.values[1]*(1-B),y[2]=y[2]*B+M.values[2]*(1-B)}const v=y.map(M=>(f.type!=="color"&&(M/=255),M<=.03928?M/12.92:((M+.055)/1.055)**2.4));return Number((.2126*v[0]+.7152*v[1]+.0722*v[2]).toFixed(3))}function D(s,g=.15){return b(s)>.5?d(s,g):S(s,g)}function P(s,g){if(s==="")return"#000000";if(g=t(g),s[0]==="#"){if(s.length===9)s=s.substring(0,7);else if(s.length<=5){let y="#";for(let v=1;v<4;v++)y+=s[v]+s[v];s=y}return s+Math.round(g*255).toString(16).padStart(2,"0")}else{if(s[3]==="(")return s.replace(")",`, ${g})`);if(s[4]==="(")return s.substring(0,s.lastIndexOf(","))+`, ${g})`}const f=i(s);return f.type==="color"?f.values[3]=`/${g}`:f.values[3]=g,x(f)}function d(s,g){const f=i(s);if(g=t(g),f.type.indexOf("hsl")!==-1)f.values[2]*=1-g;else if(f.type.indexOf("rgb")!==-1||f.type.indexOf("color")!==-1)for(let y=0;y<3;y+=1)f.values[y]*=1-g;return x(f)}function S(s,g){const f=i(s);if(g=t(g),f.type.indexOf("hsl")!==-1)f.values[2]+=(100-f.values[2])*g;else if(f.type.indexOf("rgb")!==-1)for(let y=0;y<3;y+=1)f.values[y]+=(255-f.values[y])*g;else if(f.type.indexOf("color")!==-1)for(let y=0;y<3;y+=1)f.values[y]+=(1-f.values[y])*g;return x(f)}const c={clamp:t,hexToRgb:l,rgbToHex:r,asHexString:E,asRgbString:p,hslToRgb:n,decomposeColor:i,recomposeColor:x,getContrastRatio:u,getLuminance:b,emphasize:D,alpha:P,darken:d,lighten:S,onBackground:(s,g)=>{const f=(0,a.A)(s).toRgb(),y=(0,a.A)(g).toRgb(),v=f.a+y.a*(1-f.a);return(0,a.A)({r:(f.r*f.a+y.r*y.a*(1-f.a))/v,g:(f.g*f.a+y.g*y.a*(1-f.a))/v,b:(f.b*f.a+y.b*y.a*(1-f.a))/v,a:v})}}},35555(O,T,e){e.d(T,{D:()=>l});var a=e(96540),t=e(27989);const l=(0,a.createContext)((0,t.a)());l.displayName="ThemeContext"},27989(O,T,e){e.d(T,{r:()=>Tt,a:()=>St});var a=e(64222);function t(){const Y=["xs","sm","md","lg","xl","xxl"],W={xs:0,sm:544,md:769,lg:992,xl:1200,xxl:1440};function C(F){return`@media (min-width:${typeof F=="number"?F:W[F]}px)`}function U(F){return`@media (max-width:${(typeof F=="number"?F:W[F])-5/100}px)`}function _(F,z){const N=typeof F=="number"?F:W[F];return`${typeof z=="string"?`@container ${z}`:"@container"} (width >= ${N}px)`}function j(F,z){const N=typeof F=="number"?F:W[F];return`${typeof z=="string"?`@container ${z}`:"@container"} (width < ${N}px)`}return{values:W,up:C,down:U,keys:Y,unit:"px",container:{up:_,down:j}}}var l=e(2543),o=e(6773);const r={white:"#ffffff",black:"#000000",gray25:"#2c3235",gray15:"#22252b",gray10:"#181b1f",gray05:"#111217",darkLayer0:"#18181a",darkLayer1:"#212124",darkLayer2:"#2a2a2f",darkBorder1:"#34343b",darkBorder2:"#64646b",gray90:"#fbfbfb",gray100:"#f4f5f5",gray80:"#d0d1d3",lightBorder1:"#e4e7e7",blueDarkMain:"#3d71d9",blueDarkText:"#6e9fff",redDarkMain:"#d10e5c",redDarkText:"#ff5286",greenDarkMain:"#1a7f4b",greenDarkText:"#6ccf8e",orangeDarkMain:"#ff9900",orangeDarkText:"#fbad37",blueLightMain:"#3871dc",blueLightText:"#1f62e0",redLightMain:"#e0226e",redLightText:"#cf0e5B",greenLightMain:"#1b855e",greenLightText:"#0a764e",orangeLightMain:"#ff9900",orangeLightText:"#b5510d"},E=a.object({name:a.string().optional(),main:a.string().optional(),shade:a.str
1ing().optional(),text:a.string().optional(),border:a.string().optional(),transparent:a.string().optional(),borderTransparent:a.string().optional(),contrastText:a.string().optional()}),p=E.required(),n=a.enum(["light","dark"]),x=(m=>a.object({mode:n,primary:m,secondary:m,info:m,error:m,success:m,warning:m,text:a.object({primary:a.string().optional(),secondary:a.string().optional(),disabled:a.string().optional(),link:a.string().optional(),maxContrast:a.string().optional()}),background:a.object({canvas:a.string().optional(),primary:a.string().optional(),secondary:a.string().optional(),elevated:a.string().optional()}),border:a.object({weak:a.string().optional(),medium:a.string().optional(),strong:a.string().optional()}),gradients:a.object({brandVertical:a.string().optional(),brandHorizontal:a.string().optional()}),action:a.object({selected:a.string().optional(),selectedBorder:a.string().optional(),hover:a.string().optional(),hoverOpacity:a.number().optional(),focus:a.string().optional(),disabledBackground:a.string().optional(),disabledText:a.string().optional(),disabledOpacity:a.number().optional()}),hoverFactor:a.number(),contrastThreshold:a.number(),tonalOffset:a.number()}).partial())(E);class u{constructor(){this.mode="dark",this.whiteBase="204, 204, 220",this.border={weak:`rgba(${this.whiteBase}, 0.12)`,medium:`rgba(${this.whiteBase}, 0.2)`,strong:`rgba(${this.whiteBase}, 0.30)`},this.text={primary:`rgb(${this.whiteBase})`,secondary:`rgba(${this.whiteBase}, 0.65)`,disabled:`rgba(${this.whiteBase}, 0.61)`,link:r.blueDarkText,maxContrast:r.white},this.primary={main:r.blueDarkMain,text:r.blueDarkText,border:r.blueDarkText},this.secondary={main:`rgba(${this.whiteBase}, 0.10)`,shade:`rgba(${this.whiteBase}, 0.14)`,transparent:`rgba(${this.whiteBase}, 0.08)`,text:this.text.primary,contrastText:`rgb(${this.whiteBase})`,border:`rgba(${this.whiteBase}, 0.08)`},this.info=this.primary,this.error={main:r.redDarkMain,text:r.redDarkText},this.success={main:r.greenDarkMain,text:r.greenDarkText},this.warning={main:r.orangeDarkMain,text:r.orangeDarkText},this.background={canvas:r.gray05,primary:r.gray10,secondary:r.gray15,elevated:r.gray15},this.action={hover:`rgba(${this.whiteBase}, 0.16)`,selected:`rgba(${this.whiteBase}, 0.12)`,selectedBorder:r.orangeDarkMain,focus:`rgba(${this.whiteBase}, 0.16)`,hoverOpacity:.08,disabledText:this.text.disabled,disabledBackground:`rgba(${this.whiteBase}, 0.04)`,disabledOpacity:.38},this.gradients={brandHorizontal:"linear-gradient(270deg, #F55F3E 0%, #FF8833 100%)",brandVertical:"linear-gradient(0.01deg, #F55F3E 0.01%, #FF8833 99.99%)"},this.contrastThreshold=3,this.hoverFactor=.03,this.tonalOffset=.15}}class b{constructor(){this.mode="light",this.blackBase="36, 41, 46",this.primary={main:r.blueLightMain,border:r.blueLightText,text:r.blueLightText},this.text={primary:`rgba(${this.blackBase}, 1)`,secondary:`rgba(${this.blackBase}, 0.75)`,disabled:`rgba(${this.blackBase}, 0.65)`,link:this.primary.text,maxContrast:r.black},this.border={weak:`rgba(${this.blackBase}, 0.12)`,medium:`rgba(${this.blackBase}, 0.3)`,strong:`rgba(${this.blackBase}, 0.4)`},this.secondary={main:`rgba(${this.blackBase}, 0.08)`,shade:`rgba(${this.blackBase}, 0.15)`,transparent:`rgba(${this.blackBase}, 0.08)`,contrastText:`rgba(${this.blackBase},  1)`,text:this.text.primary,border:this.border.weak},this.info={main:r.blueLightMain,text:r.blueLightText},this.error={main:r.redLightMain,text:r.redLightText,border:r.redLightText},this.success={main:r.greenLightMain,text:r.greenLightText},this.warning={main:r.orangeLightMain,text:r.orangeLightText},this.background={canvas:r.gray90,primary:r.white,secondary:r.gray100,elevated:r.white},this.action={hover:`rgba(${this.blackBase}, 0.12)`,selected:`rgba(${this.blackBase}, 0.08)`,selectedBorder:r.orangeLightMain,hoverOpacity:.08,focus:`rgba(${this.blackBase}, 0.12)`,disabledBackground:`rgba(${this.blackBase}, 0.04)`,disabledText:this.text.disabled,disabledOpacity:.38},this.gradients={brandHorizontal:"linear-gradient(90deg, #FF8833 0%, #F53E4C 100%)",brandVertical:"linear-gradient(0.01deg, #F53E4C -31.2%, #FF8833 113.07%)"},this.contrastThreshold=3,this.hoverFactor=.03,this.tonalOffset=.2}}function D(m){const Y=new u,Q=new b,W=(m.mode??"dark")==="dark"?Y:Q,{primary:C=W.primary,secondary:U=W.secondary,info:_=W.info,warning:j=W.warning,success:F=W.success,error:z=W.error,tonalOffset:N=W.tonalOffset,hoverFactor:at=W.hoverFactor,contrastThreshold:J=W.contrastThreshold,...it}=m;function lt(K,ct=J){return(0,o.eM)(Y.text.maxContrast,K,W.background.primary)>=ct?Y.text.maxContrast:Q.text.maxContrast}const dt=({color:K,name:ct})=>(K={...K,name:ct},K.main||(K.main=W[ct].main),K.text||(K.text=K.main),K.border||(K.border=K.text),K.shade||(K.shade=W.mode==="light"?(0,o.e$)(K.main,N):(0,o.a)(K.main,N)),K.transparent||(K.transparent=(0,o.X4)(K.main,.15)),K.contrastText||(K.contrastText=lt(K.main)),K.borderTransparent||(K.borderTransparent=(0,o.X4)(K.border,.25)),K);return(0,l.merge)({...W,primary:dt({color:C,name:"primary"}),secondary:dt({color:U,name:"secondary"}),info:dt({color:_,name:"info"}),error:dt({color:z,name:"error"}),success:dt({color:F,name:"success"}),warning:dt({color:j,name:"warning"}),getContrastText:lt,emphasize:(K,ct)=>(0,o.tL)(K,ct??at)},it)}function P(m,Y){const Q={padding:1,headerHeight:4,background:m.background.primary,borderColor:m.border.weak,boxShadow:"none"},W={borderColor:m.border.medium,borderHover:m.border.strong,text:m.text.primary,background:m.mode==="dark"?m.background.canvas:m.background.primary},C={borderRadius:"default",padding:.5};return{height:{sm:3,md:4,lg:6}
1,input:W,panel:Q,dropdown:{background:m.background.elevated},tooltip:{background:m.background.elevated,text:m.text.primary},dashboard:{background:m.background.canvas,padding:1},drawer:{padding:2},overlay:{background:m.mode==="dark"?"rgba(63, 62, 62, 0.5)":"rgba(208, 209, 211, 0.5)"},sidemenu:{width:57},menuTabs:{height:5},textHighlight:{text:m.warning.contrastText,background:m.warning.main},horizontalDrawer:{defaultHeight:400},table:{rowHoverBackground:m.action.hover,rowSelected:m.action.selected},menu:C}}function d(m){return m.mode==="dark"?{z1:"0px 1px 2px rgba(1, 4, 9, 0.75)",z2:"0px 4px 8px rgba(1, 4, 9, 0.75)",z3:"0px 8px 24px rgb(1, 4, 9)"}:{z1:"0px 1px 2px rgba(24, 26, 27, 0.2)",z2:"0px 4px 8px rgba(24, 26, 27, 0.2)",z3:"0px 13px 20px 1px rgba(24, 26, 27, 0.18)"}}const S=a.object({borderRadius:a.int().nonnegative().optional()});function h(m){const Y=m.borderRadius??6;return{radius:{default:`${Y}px`,md:`${Y}px`,sm:`${Math.ceil(Y*(2/3))}px`,lg:`${Math.ceil(Y*(5/3))}px`,pill:"9999px",circle:"100%"},borderRadius:C=>`${(C??1)*Y}px`}}const c=a.object({gridSize:a.int().positive().optional()});function s(m={}){const{gridSize:Y=8}=m,Q=C=>typeof C=="string"?C:C*Y,W=(...C)=>(C.length===0&&(C[0]=1),C.map(U=>{const _=Q(U);return typeof _=="number"?`${_}px`:_}).join(" "));return W.gridSize=Y,W.x0="0px",W.x0_25="2px",W.x0_5="4px",W.x1="8px",W.x1_5="12px",W.x2="16px",W.x2_5="20px",W.x3="24px",W.x4="32px",W.x5="40px",W.x6="48px",W.x8="64px",W.x10="80px",W}const g={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},f={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function y(m=["all"],Y={}){const{duration:Q=f.standard,easing:W=g.easeInOut,delay:C=0}=Y;return(Array.isArray(m)?m:[m]).map(U=>`${U} ${typeof Q=="string"?Q:B(Q)} ${W} ${typeof C=="string"?C:B(C)}`).join(",")}function v(...m){return`@media ${m.map(Y=>`(prefers-reduced-motion: ${Y})`).join(",")}`}function M(m){if(!m)return 0;const Y=m/36;return Math.round((4+15*Y**.25+Y/5)*10)}function B(m){return`${Math.round(m)}ms`}function R(){return{create:y,duration:f,easing:g,getAutoHeightDuration:M,handleMotion:v}}const I=a.object({fontFamily:a.string().optional(),fontFamilyMonospace:a.string().optional(),fontSize:a.number().positive().optional(),fontWeightLight:a.number().positive().optional(),fontWeightRegular:a.number().positive().optional(),fontWeightMedium:a.number().positive().optional(),fontWeightBold:a.number().positive().optional(),htmlFontSize:a.number().positive().optional()}),A="'Inter', 'Helvetica', 'Arial', sans-serif",L="'Roboto Mono', monospace";function $(m,Y={}){const{fontFamily:Q=A,fontFamilyMonospace:W=L,fontSize:C=14,fontWeightLight:U=300,fontWeightRegular:_=400,fontWeightMedium:j=500,fontWeightBold:F=500,htmlFontSize:z=14}=Y,N=C/14,at=dt=>`${dt/z*N}rem`,J=(dt,K,ct,bt,It)=>{if(ct%2!==0||K%2!==0)throw new Error("Font size and line height should be integer multiples of 2 to prevent issues with alignment");return{fontFamily:Q,fontWeight:dt,fontSize:at(K),lineHeight:ct/K,...Q===A?{letterSpacing:`${k(bt/K)}em`}:{},...It}},it={h1:J(_,28,32,-.25),h2:J(_,24,28,0),h3:J(_,22,24,0),h4:J(_,18,22,.25),h5:J(_,16,22,0),h6:J(j,14,22,.15),body:J(_,C,22,.15),bodySmall:J(_,12,18,.15),code:{...J(_,14,16,.15),fontFamily:W}};return{htmlFontSize:z,pxToRem:at,fontFamily:Q,fontFamilyMonospace:W,fontSize:C,fontWeightLight:U,fontWeightRegular:_,fontWeightMedium:j,fontWeightBold:F,size:{base:"14px",xs:"10px",sm:"12px",md:"14px",lg:"18px"},...it}}function k(m){return Math.round(m*1e5)/1e5}var H=e(68492);function V(m){const Y={name:"Grafana Default",typography:{fontFamily:{sansSerif:m.typography.fontFamily,monospace:m.typography.fontFamilyMonospace},size:{base:`${m.typography.fontSize}px`,xs:m.typography.size.xs,sm:m.typography.size.sm,md:m.typography.size.md,lg:m.typography.size.lg},heading:{h1:m.typography.h1.fontSize,h2:m.typography.h2.fontSize,h3:m.typography.h3.fontSize,h4:m.typography.h4.fontSize,h5:m.typography.h5.fontSize,h6:m.typography.h6.fontSize},weight:{light:m.typography.fontWeightLight,regular:m.typography.fontWeightRegular,semibold:m.typography.fontWeightMedium,bold:m.typography.fontWeightBold},lineHeight:{xs:m.typography.bodySmall.lineHeight,sm:m.typography.bodySmall.lineHeight,md:m.typography.body.lineHeight,lg:m.typography.h2.lineHeight},link:{decoration:"none",hoverDecoration:"none"}},breakpoints:{xs:`${m.breakpoints.values.xs}px`,sm:`${m.breakpoints.values.sm}px`,md:`${m.breakpoints.values.md}px`,lg:`${m.breakpoints.values.lg}px`,xl:`${m.breakpoints.values.xl}px`,xxl:`${m.breakpoints.values.xxl}px`},spacing:{base:m.spacing.gridSize,insetSquishMd:m.spacing(.5,1),d:m.spacing(2),xxs:m.spacing(.25),xs:m.spacing(.5),sm:m.spacing(1),md:m.spacing(2),lg:m.spacing(3),xl:m.spacing(4),gutter:m.spacing(4),formSpacingBase:m.spacing.gridSize,formMargin:`${m.spacing.gridSize*4}px`,formFieldsetMargin:`${m.spacing.gridSize*2}px`,formInputHeight:m.spacing.gridSize*4,formButtonHeight:m.spacing.gridSize*4,formInputPaddingHorizontal:`${m.spacing.gridSize}px`,formInputAffixPaddingHorizontal:`${m.spacing.gridSize/2}px`,formInputMargin:`${m.spacing.gridSize*2}px`,formLabelPadding:"0 0 0 2px",formLabelMargin:`0 0 ${m.spacing.gridSize/2+"px"} 0`,formValidationMessagePadding:"4px 8px",formValidationMessageMargin:"4px 0 0 0",inlineFormMargin:"4px"},border:{radius:{sm:m.shape.borderRadius(1),md:m.shape.borderRadius(2),lg:m.shape.borderRadius(3)},width:{sm:"1px"}},height:{sm:m.spacing.gridSize*m.components.height.sm,md:m.spacing.gridSize*m.components.height.md,lg:m.spacing.gridSize*m.components.height.lg},panelPadding:m.components.panel.padding*m.spacing.gridSize,panelHeaderHeight:m.spacing.gridSize*m.components.panel.headerHeight,zIndex:m.zIndex},Q={...G,black:"#000000",white:"#ffffff",dark1:"#141414",dark2:"#161719",dark3:"#1f1f20",dark4:"#212124",dark5:"#222426",dar
1k6:"#262628",dark7:"#292a2d",dark8:"#2f2f32",dark9:"#343436",dark10:"#424345",gray1:"#555555",gray2:"#8e8e8e",gray3:"#b3b3b3",gray4:"#d8d9da",gray5:"#ececec",gray6:"#f4f5f8",gray7:"#fbfbfb",redBase:"#e02f44",redShade:"#c4162a",greenBase:"#299c46",greenShade:"#23843b",red:"#d44a3a",yellow:"#ecbb13",purple:"#9933cc",variable:"#32d1df",orange:"#eb7b18",orangeDark:"#ff780a"},W={bg1:m.colors.background.primary,bg2:m.colors.background.secondary,bg3:m.colors.action.hover,dashboardBg:m.colors.background.canvas,bgBlue1:m.colors.primary.main,bgBlue2:m.colors.primary.shade},C={border1:m.colors.border.weak,border2:m.colors.border.medium,border3:m.colors.border.strong},U={textStrong:m.colors.text.maxContrast,textHeading:m.colors.text.primary,text:m.colors.text.primary,textSemiWeak:m.colors.text.secondary,textWeak:m.colors.text.secondary,textFaint:m.colors.text.disabled,textBlue:m.colors.primary.text},_={formLabel:m.colors.text.primary,formDescription:m.colors.text.secondary,formInputBg:m.components.input.background,formInputBgDisabled:m.colors.action.disabledBackground,formInputBorder:m.components.input.borderColor,formInputBorderHover:m.components.input.borderHover,formInputBorderActive:m.colors.primary.border,formInputBorderInvalid:m.colors.error.border,formInputPlaceholderText:m.colors.text.disabled,formInputText:m.components.input.text,formInputDisabledText:m.colors.action.disabledText,formFocusOutline:m.colors.primary.main,formValidationMessageText:m.colors.error.contrastText,formValidationMessageBg:m.colors.error.main};return{...Y,type:m.colors.mode==="dark"?H.I.Dark:H.I.Light,isDark:m.isDark,isLight:m.isLight,name:m.name,palette:{...Q,brandPrimary:Q.orange,brandSuccess:m.colors.success.main,brandWarning:m.colors.warning.main,brandDanger:m.colors.error.main,queryRed:m.colors.error.text,queryGreen:m.colors.success.text,queryPurple:"#fe85fc",queryOrange:Q.orange,online:m.colors.success.main,warn:m.colors.success.main,critical:m.colors.success.main},colors:{...W,...C,..._,...U,bodyBg:m.colors.background.canvas,panelBg:m.components.panel.background,panelBorder:m.components.panel.borderColor,pageHeaderBg:m.colors.background.canvas,pageHeaderBorder:m.colors.background.canvas,dropdownBg:_.formInputBg,dropdownShadow:Q.black,dropdownOptionHoverBg:W.bg2,link:m.colors.text.primary,linkDisabled:m.colors.text.disabled,linkHover:m.colors.text.maxContrast,linkExternal:m.colors.text.link},shadows:{listItem:"none"},visualization:m.visualization}}const G={gray98:"#f7f8fa",gray97:"#f1f5f9",gray95:"#e9edf2",gray90:"#dce1e6",gray85:"#c7d0d9",gray70:"#9fa7b3",gray60:"#7b8087",gray33:"#464c54",gray25:"#2c3235",gray15:"#202226",gray10:"#141619",gray05:"#0b0c0e",blue95:"#5794f2",blue85:"#33a2e5",blue80:"#3274d9",blue77:"#1f60c4",red88:"#e02f44"};var rt=e(64394);const et=m=>a.enum([`super-light-${m}`,`light-${m}`,m,`semi-dark-${m}`,`dark-${m}`]),X=m=>a.object({name:a.literal(m),shades:a.array(a.object({color:a.string(),name:et(m),aliases:a.array(a.string()).optional(),primary:a.boolean().optional()}))}),ot=a.union([X("red"),X("orange"),X("yellow"),X("green"),X("blue"),X("purple")]),q=a.object({hues:a.array(ot).optional(),palette:a.array(a.string()).optional()});function nt(m,Y={}){const Q=m.mode==="light"?st():w(),{palette:W=Z(),hues:C=[]}=Y,U=[...Q];for(const F of C){const z=U.find(N=>N.name===F.name);if(z)for(const N of F.shades){const at=z.shades.find(J=>J.name===N.name);at&&(at.color=N.color)}}const _={};for(const F of U)for(const z of F.shades)if(_[z.name]=z.color,z.aliases)for(const N of z.aliases)_[N]=z.color;return _.transparent=m.mode==="light"?"rgba(255, 255, 255, 0)":"rgba(0,0,0,0)",_["panel-bg"]=m.background.primary,_.text=m.text.primary,{hues:U,palette:W,getColorByName:F=>{if(!F)return rt.F;const z=_[F];if(z)return z;if(F[0]==="#"||F.indexOf("rgb")>-1)return F;const N=mt[F.toLowerCase()];return N?(_[F]=N,N):F}}}function w(){return[{name:"red",shades:[{color:"#FFA6B0",name:"super-light-red"},{color:"#FF7383",name:"light-red"},{color:"#F2495C",name:"red",primary:!0},{color:"#E02F44",name:"semi-dark-red"},{color:"#C4162A",name:"dark-red"}]},{name:"orange",shades:[{color:"#FFCB7D",name:"super-light-orange",aliases:[]},{color:"#FFB357",name:"light-orange",aliases:[]},{color:"#FF9830",name:"orange",aliases:[],primary:!0},{color:"#FF780A",name:"semi-dark-orange",aliases:[]},{color:"#FA6400",name:"dark-orange",aliases:[]}]},{name:"yellow",shades:[{color:"#FFF899",name:"super-light-yellow",aliases:[]},{color:"#FFEE52",name:"light-yellow",aliases:[]},{color:"#FADE2A",name:"yellow",aliases:[],primary:!0},{color:"#F2CC0C",name:"semi-dark-yellow",aliases:[]},{color:"#E0B400",name:"dark-yellow",aliases:[]}]},{name:"green",shades:[{color:"#C8F2C2",name:"super-light-green",aliases:[]},{color:"#96D98D",name:"light-green",aliases:[]},{color:"#73BF69",name:"green",aliases:[],primary:!0},{color:"#56A64B",name:"semi-dark-green",aliases:[]},{color:"#37872D",name:"dark-green",aliases:[]}]},{name:"blue",shades:[{color:"#C0D8FF",name:"super-light-blue",aliases:[]},{color:"#8AB8FF",name:"light-blue",aliases:[]},{color:"#5794F2",name:"blue",aliases:[],primary:!0},{color:"#3274D9",name:"semi-dark-blue",aliases:[]},{color:"#1F60C4",name:"dark-blue",aliases:[]}]},{name:"purple",shades:[{color:"#DEB6F2",name:"super-light-purple",aliases:[]},{color:"#CA95E5",name:"light-purple",aliases:[]},{color:"#B877D9",name:"purple",aliases:[],primary:!0},{color:"#A352CC",name:"semi-dark-purple",aliases:[]},{color:"#8F3BB8",name:"dark-purple",aliases:[]}]}]}function st(){return[{name:"red",shades:[{color:"#FF7383",name:"super-light-red"},{color:"#F2495C",name:"light-red"}
1,{color:"#E02F44",name:"red",primary:!0},{color:"#C4162A",name:"semi-dark-red"},{color:"#AD0317",name:"dark-red"}]},{name:"orange",shades:[{color:"#FFB357",name:"super-light-orange",aliases:[]},{color:"#FF9830",name:"light-orange",aliases:[]},{color:"#FF780A",name:"orange",aliases:[],primary:!0},{color:"#FA6400",name:"semi-dark-orange",aliases:[]},{color:"#E55400",name:"dark-orange",aliases:[]}]},{name:"yellow",shades:[{color:"#FFEE52",name:"super-light-yellow",aliases:[]},{color:"#FADE2A",name:"light-yellow",aliases:[]},{color:"#F2CC0C",name:"yellow",aliases:[],primary:!0},{color:"#E0B400",name:"semi-dark-yellow",aliases:[]},{color:"#CC9D00",name:"dark-yellow",aliases:[]}]},{name:"green",shades:[{color:"#96D98D",name:"super-light-green",aliases:[]},{color:"#73BF69",name:"light-green",aliases:[]},{color:"#56A64B",name:"green",aliases:[],primary:!0},{color:"#37872D",name:"semi-dark-green",aliases:[]},{color:"#19730E",name:"dark-green",aliases:[]}]},{name:"blue",shades:[{color:"#8AB8FF",name:"super-light-blue",aliases:[]},{color:"#5794F2",name:"light-blue",aliases:[]},{color:"#3274D9",name:"blue",aliases:[],primary:!0},{color:"#1F60C4",name:"semi-dark-blue",aliases:[]},{color:"#1250B0",name:"dark-blue",aliases:[]}]},{name:"purple",shades:[{color:"#CA95E5",name:"super-light-purple",aliases:[]},{color:"#B877D9",name:"light-purple",aliases:[]},{color:"#A352CC",name:"purple",aliases:[],primary:!0},{color:"#8F3BB8",name:"semi-dark-purple",aliases:[]},{color:"#7C2EA3",name:"dark-purple",aliases:[]}]}]}function Z(){return["green","semi-dark-yellow","blue","orange","red","purple","dark-green","dark-yellow","dark-blue","dark-orange","dark-red","dark-purple","super-light-green","super-light-yellow","super-light-blue","super-light-orange","super-light-red","super-light-purple","#447EBC","#C15C17","#890F02","#0A437C","#6D1F62","#584477","#B7DBAB","#F4D598","#70DBED","#F9BA8F","#F29191","#82B5D8","#E5A8E2","#AEA2E0","#629E51","#E5AC0E","#64B0C8","#E0752D","#BF1B00","#0A50A1","#962D82","#614D93","#9AC48A","#F2C96D","#65C5DB","#F9934E","#EA6460","#5195CE","#D683CE","#806EB7","#3F6833","#967302","#2F575E","#99440A","#58140C","#052B51","#511749","#3F2B5B","#E0F9D7","#FCEACA","#CFFAFF","#F9E2D2","#FCE2DE","#BADFF4","#F9D9F9","#DEDAF7"]}const mt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
1almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},xt={activePanel:999,navbarFixed:1e3,sidemenu:1020,dropdown:1030,typeahead:1030,tooltip:1040,modalBackdrop:1050,modal:1060,portal:1061},Tt=a.object({name:a.string(),id:a.string(),colors:x.optional(),spacing:c.optional(),shape:S.optional(),typography:I.optional(),visualization:q.optional()});function St(m={}){const{name:Y,colors:Q={},spacing:W={},shape:C={},typography:U={},visualization:_={}}=m,j=D(Q),F=t(),z=s(W),N=h(C),at=$(j,U),J=d(j),it=R(),lt=P(j,J),dt=nt(j,_),K={name:Y??(j.mode==="dark"?"Dark":"Light"),isDark:j.mode==="dark",isLight:j.mode==="light",colors:j,breakpoints:F,spacing:z,shape:N,components:lt,typography:at,shadows:J,transitions:it,visualization:dt,zIndex:{...xt},flags:{}};return{...K,v1:V(K)}}},7467(O,T,e){e.d(T,{g:()=>S,k:()=>h});var a=e(42954),t=e(27989),l=e(57622),o=e(37643),r=e(3676),E=e(24148),p=e(24336),n=e(44297),i=e(75849),x=e(54591),u=e(10323),b=e(17247),D=e(71185),P=e(24069);const d={aubergine:l,debug:o,desertbloom:r,gildedgrove:E,gloom:p,mars:n,matrix:i,sapphiredusk:x,synthwave:u,tron:b,victorian:D,zen:P};function S(g){return(c.getIfExists(g)??c.get("dark")).build()}function h(g){return c.list().filter(v=>v.isExtra?g.includes(v.id):!0).sort((v,M)=>v.isExtra&&!M.isExtra?1:!v.isExtra&&M.isExtra?-1:v.name.localeCompare(M.name))}const c=new a.O(()=>[{id:"system",name:"System preference",build:s},{id:"dark",name:"Dark",build:()=>(0,t.a)({colors:{mode:"dark"}})},{id:"light",name:"Light",build:()=>(0,t.a)({colors:{mode:"light"}})}]);for(const[g,f]of Object.entries(d)){const y=t.r.safeParse(f);if(!y.success)console.error(`Invalid theme definition for theme ${g}: ${y.error.message}`);else{const v=y.data;c.register({id:v.id,name:v.name,build:()=>(0,t.a)(v),isExtra:!0})}}function s(){const f=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return S(f)}},95004(O,T,e){e.d(T,{Bc:()=>t,LE:()=>l,PU:()=>a,aI:()=>o});var a=(r=>(r.time="time",r.number="number",r.string="string",r.boolean="boolean",r.trace="trace",r.geo="geo",r.enum="enum",r.other="other",r.frame="frame",r.nestedFrames="nestedFrames",r))(a||{});const t="Value",l="Time",o="Metric"},64394(O,T,e){e.d(T,{F:()=>t,Y:()=>a});var a=(l=>(l.Thresholds="thresholds",l.PaletteClassic="palette-classic",l.PaletteClassicByName="palette-classic-by-name",l.PaletteSaturated="palette-saturated",l.ContinuousGrYlRd="continuous-GrYlRd",l.ContinuousRdYlGr="continuous-RdYlGr",l.ContinuousBlYlRd="continuous-BlYlRd",l.ContinuousYlRd="continuous-YlRd",l.ContinuousBlPu="continuous-BlPu",l.ContinuousYlBl="continuous-YlBl",l.ContinuousBlues="continuous-blues",l.ContinuousReds="continuous-reds",l.ContinuousGreens="continuous-greens",l.ContinuousPurples="continuous-purples",l.ContinuousViridis="continuous-viridis",l.ContinuousMagma="continuous-magma",l.ContinuousPlasma="continuous-plasma",l.ContinuousInferno="continuous-inferno",l.ContinuousCividis="continuous-cividis",l.Fixed="fixed",l.Shades="shades",l))(a||{});const t="#808080"},30360(O,T,e){e.d(T,{Uo:()=>l,az:()=>a,n6:()=>t});const a={google:!0,microsoft:!0,github:!0,gitlab:!0,okta:!0,scim:!0,discord:!0,hipchat:!0,amazon:!0,"google-hangouts-alt":!0,pagerduty:!0,line:!0,anchor:!0,"adjust-circle":!0,"angle-double-down":!0,"angle-double-right":!0,"angle-double-left":!0,"angle-double-up":!0,"angle-down":!0,"angle-left":!0,"angle-right":!0,"angle-up":!0,"align-left":!0,"align-right":!0,"api-endpoint":!0,"application-observability":!0,apps:!0,"archive-alt":!0,arrow:!0,"arrow-circle-right":!0,"arrow-down":!0,"arrow-from-right":!0,"arrow-left":!0,"arrow-random":!0,"arrow-right":!0,"arrow-to-right":!0,"arrow-up":!0,"arrows-h":!0,"arrows-v":!0,asserts:!0,"expand-arrows":!0,"expand-arrows-alt":!0,at:!0,ai:!0,backward:!0,bars:!0,bell:!0,"bell-slash":!0,bolt:!0,book:!0,bookmark:!0,"book-open":!0,"brackets-curly":!0,brain:!0,"browser-alt":!0,bug:!0,building:!0,"calculator-alt":!0,"calendar-alt":!0,"calendar-slash":!0,camera:!0,capture:!0,"channel-add":!0,"chart-line":!0,check:!0,"check-circle":!0,"check-square":!0,circle:!0,"circle-mono":!0,"clipboard-alt":!0,"clock-nine":!0,cloud:!0,"cloud-database-tree":!0,"cloud-download":!0,"cloud-exclamation":!0,"cloud-info":!0,"cloud-provider":!0,"cloud-upload":!0,"code-branch":!0,
1cog:!0,columns:!0,"comment-alt":!0,"comment-alt-message":!0,"comment-alt-share":!0,"comments-alt":!0,compass:!0,"compress-arrows":!0,"compress-alt":!0,"compress-alt-left":!0,copy:!0,"corner-up-left":!0,"corner-up-right":!0,"corner-down-right-alt":!0,"create-dashboard":!0,"credit-card":!0,crosshair:!0,cube:!0,dashboard:!0,database:!0,"database-observability":!0,"dice-three":!0,docker:!0,"document-info":!0,"document-layout-left":!0,"download-alt":!0,draggabledots:!0,drilldown:!0,"adaptive-telemetry":!0,edit:!0,"ellipsis-v":!0,enter:!0,envelope:!0,"exchange-alt":!0,"exclamation-triangle":!0,"exclamation-circle":!0,exclamation:!0,"external-link-alt":!0,eye:!0,"eye-slash":!0,"ellipsis-h":!0,"expand-alt":!0,"fa fa-spinner":!0,favorite:!0,"file-alt":!0,"file-blank":!0,"file-copy-alt":!0,"file-download":!0,"file-edit-alt":!0,"file-export":!0,"file-landscape-alt":!0,filter:!0,"filter-plus":!0,"filter-minus":!0,flip:!0,folder:!0,font:!0,fire:!0,"folder-open":!0,"folder-plus":!0,"folder-upload":!0,forward:!0,"frontend-observability":!0,"gf-bar-alignment-after":!0,"gf-bar-alignment-before":!0,"gf-bar-alignment-center":!0,"gf-glue":!0,"gf-grid":!0,"gf-grotfood":!0,"gf-interpolation-linear":!0,"gf-interpolation-smooth":!0,"gf-interpolation-step-after":!0,"gf-interpolation-step-before":!0,"gf-landscape":!0,"gf-layout-simple":!0,"gf-logs":!0,"gf-ml":!0,"gf-ml-alt":!0,"gf-movepane-left":!0,"gf-movepane-right":!0,"gf-portrait":!0,"gf-service-account":!0,"gf-show-context":!0,"gf-pin":!0,"gf-prometheus":!0,"gf-traces":!0,globe:!0,grafana:!0,"graph-bar":!0,"hand-pointer":!0,heart:!0,"heart-rate":!0,"heart-break":!0,history:!0,"history-alt":!0,home:!0,"home-alt":!0,"horizontal-align-center":!0,"horizontal-align-left":!0,"horizontal-align-right":!0,hourglass:!0,import:!0,info:!0,"info-circle":!0,k6:!0,"k6-rounded":!0,"key-skeleton-alt":!0,keyboard:!0,kubernetes:!0,"laptop-cloud":!0,"layer-group":!0,"layers-alt":!0,layers:!0,"layers-slash":!0,"legend-hide":!0,"legend-show":!0,"library-panel":!0,"line-alt":!0,link:!0,"link-broken":!0,"list-ui-alt":!0,"list-ul":!0,"list-ol":!0,lock:!0,"map-marker":!0,"map-marker-plus":!0,"map-marker-minus":!0,"maximize-left":!0,message:!0,minus:!0,"minus-circle":!0,"mobile-android":!0,monitor:!0,"multi-step":!0,palette:!0,"panel-add":!0,paragraph:!0,"pathfinder-unite":!0,pause:!0,"pause-circle":!0,pen:!0,percentage:!0,play:!0,plug:!0,plus:!0,"plus-circle":!0,"plus-square":!0,power:!0,"presentation-play":!0,process:!0,"question-circle":!0,"record-audio":!0,repeat:!0,rocket:!0,"ruler-combined":!0,save:!0,search:!0,"search-minus":!0,"search-plus":!0,"share-alt":!0,shield:!0,"shield-exclamation":!0,signal:!0,signin:!0,signout:!0,sitemap:!0,slack:!0,"sliders-v-alt":!0,spinner:!0,"sort-amount-down":!0,"sort-amount-up":!0,"square-shape":!0,star:!0,"step-backward":!0,stopwatch:!0,"stopwatch-slash":!0,sync:!0,"sync-slash":!0,table:!0,"table-collapse-all":!0,"table-expand-all":!0,"tag-alt":!0,"telegram-alt":!0,"text-fields":!0,"thumbs-down":!0,"thumbs-up":!0,times:!0,"times-circle":!0,"toggle-on":!0,"toggle-off":!0,"trash-alt":!0,unarchive:!0,unlock:!0,upload:!0,user:!0,ban:!0,window:!0,"window-grid":!0,"users-alt":!0,"user-arrows":!0,"vertical-align-bottom":!0,"vertical-align-center":!0,"vertical-align-top":!0,"web-section":!0,"web-section-alt":!0,"wrap-text":!0,wrench:!0,rss:!0,x:!0,"add-user":!0,attach:!0,"dollar-alt":!0,"ai-sparkle":!0,bitbucket:!0,git:!0,"tachometer-fast":!0,"tachometer-empty":!0,"cmab-logo":!0};function t(o){return!o||typeof o!="string"?!1:o in a}function l(o){if(t(o))return o}},11594(O,T,e){e.d(T,{Ac:()=>l,QE:()=>t,Ud:()=>n,ZK:()=>r,ib:()=>p,kv:()=>o,pn:()=>a,xf:()=>E});var a=(i=>(i.alpha="alpha",i.beta="beta",i.stable="stable",i.deprecated="deprecated",i))(a||{}),t=(i=>(i.panel="panel",i.datasource="datasource",i.app="app",i.renderer="renderer",i))(t||{}),l=(i=>(i.internal="internal",i.valid="valid",i.invalid="invalid",i.modified="modified",i.missing="missing",i))(l||{}),o=(i=>(i.grafana="grafana",i.commercial="commercial",i.community="community",i.private="private",i.core="core",i))(o||{}),r=(i=>(i.missingSignature="signatureMissing",i.invalidSignature="signatureInvalid",i.modifiedSignature="signatureModified",i.failedBackendStart="failedBackendStart",i.angular="angular",i))(r||{}),E=(i=>(i.fetch="fetch",i.script="script",i))(E||{}),p=(i=>(i.dashboard="dashboard",i.page="page",i.panel="panel",i.datasource="datasource",i))(p||{});
1class n{addConfigPage(x){return this.configPages||(this.configPages=[]),this.configPages.push(x),this}setChannelSupport(){return console.warn("[deprecation] plugin is using ignored option: setChannelSupport",this.meta),this}constructor(){this.meta={}}}},68492(O,T,e){e.d(T,{I:()=>a});var a=(t=>(t.Light="light",t.Dark="dark",t))(a||{})},42954(O,T,e){e.d(T,{O:()=>t});var a=e(11594);class t{constructor(o){this.init=o,this.ordered=[],this.byId=new Map,this.initialized=!1,this.setInit=r=>{if(this.initialized)throw new Error("Registry already initialized");this.init=r},this.init=o}getIfExists(o){if(this.initialized||this.initialize(),o)return this.byId.get(o)}initialize(){if(this.init)for(const o of this.init())this.register(o);this.sort(),this.initialized=!0}get(o){const r=this.getIfExists(o);if(!r)throw new Error(`"${o}" not found in: ${this.list().map(E=>E.id)}`);return r}selectOptions(o,r){this.initialized||this.initialize();const E={options:[],current:[]},p={};if(o)for(const n of o)p[n]={};for(const n of this.ordered){if(n.excludeFromPicker||r&&!r(n))continue;const i={value:n.id,label:n.name,description:n.description};n.state===a.pn.alpha&&(i.label+=" (alpha)"),E.options.push(i),p[n.id]&&(p[n.id]=i)}return o&&(E.current=Object.values(p)),E}list(o){if(this.initialized||this.initialize(),o){const r=[];for(const E of o){const p=this.getIfExists(E);p&&r.push(p)}return r}return this.ordered}isEmpty(){return this.initialized||this.initialize(),this.ordered.length===0}register(o){if(this.byId.has(o.id))throw new Error("Duplicate Key:"+o.id);if(this.byId.set(o.id,o),this.ordered.push(o),o.aliasIds)for(const r of o.aliasIds)this.byId.has(r)||this.byId.set(r,o);this.initialized&&this.sort()}sort(){}}},37615(O,T,e){e.d(T,{l:()=>t});const a={},t=(l,o,r)=>{let E=`[Deprecation warning] ${l}: ${o} is deprecated`;r&&(E+=`. Use ${r} instead`);const p=Date.now(),n=a[E];(!n||p-n>1e4)&&(console.warn(E),a[E]=p)}},47184(O,T,e){e.d(T,{z:()=>a});const a=t=>({label:t,value:t})},38998(O,T,e){e.d(T,{L:()=>l});var a=e(99589),t=e.n(a);function l(n,i="latest"){const x=i.replace(/\-.*/,""),u=x&&(0,a.valid)(x)?x:"latest";return o(n,u)}function o(n,i){const x={};for(const[u,b]of Object.entries(n))r(b)?x[u]=o(b,i):(p(b,u),x[u]=E(b,i));return x}function r(n){if(typeof n=="object"){const[i]=Object.keys(n);return!(0,a.valid)(i)}return!1}function E(n,i){let x,u=Object.keys(n).sort(a.compare);if(i==="latest")return n[u[u.length-1]];for(const b of u)(0,a.gte)(i,b)&&(x=b);return x||(x=u[u.length-1]),n[x]}function p(n,i){if(!Object.keys(n).every(x=>(0,a.valid)(x)))throw new Error(`Invalid semver version: '${i}'`)}},85629(O,T,e){e.d(T,{XF:()=>E,bQ:()=>r,Tp:()=>p,eR:()=>l,af:()=>o});var a=e(38998);const t="8.5.0",l={RadioButton:{container:{"10.2.3":"data-testid radio-button"}},Breadcrumbs:{breadcrumb:{"9.4.0":n=>`data-testid ${n} breadcrumb`}},CanvasGridAddActions:{addPanel:{"12.1.0":"data-testid CanvasGridAddActions add-panel"},groupPanels:{"12.1.0":"data-testid CanvasGridAddActions group-panels"},ungroup:{"12.1.0":"data-testid CanvasGridAddActions ungroup"},ungroupRows:{"12.1.0":"data-testid CanvasGridAddActions ungroup-rows"},addRow:{"12.1.0":"data-testid CanvasGridAddActions add-row"},pasteRow:{"12.1.0":"data-testid CanvasGridAddActions paste-row"},addTab:{"12.1.0":"data-testid CanvasGridAddActions add-tab"},pasteTab:{"12.1.0":"data-testid CanvasGridAddActions paste-tab"},pastePanel:{"12.1.0":"data-testid CanvasGridAddActions paste-panel"}},DashboardEditPaneSplitter:{primaryBody:{"12.1.0":"data-testid DashboardEditPaneSplitter primary body"},bodyContainer:{"12.4.0":"data-testid DashboardEditPaneSplitter body container"}},Sidebar:{container:{"12.4.0":"data-testid Sidebar container"},closePane:{"12.4.0":"data-testid Sidebar close pane"},dockToggle:{"12.4.0":"data-testid sidebar-dock-toggle"},newPanelButton:{"12.4.0":"data-testid sidebar add new panel"}},EditPaneHeader:{deleteButton:{"12.1.0":"data-testid EditPaneHeader delete panel"},copyDropdown:{"12.1.0":"data-testid EditPaneHeader copy dropdown"},copy:{"12.1.0":"data-testid EditPaneHeader copy"},duplicate:{"12.1.0":"data-testid EditPaneHeader duplicate"}},LayoutContainer:{"12.4.0":n=>`data-testid Layout container ${n}`},TimePicker:{moveBackwardButton:{"12.4.0":"data-testid explore-toolbar-timepicker-move-backward-button"},moveForwardButton:{"12.4.0":"data-testid explore-toolbar-timepicker-move-forward-button"},zoomOut:{"12.4.0":"data-testid explore-toolbar-timepicker-zoom-out-button"},openButton:{[t]:"data-testid TimePicker Open Button"},overlayContent:{"10.2.3":"data-testid TimePicker Overlay Content"},fromField:{"10.2.3":"data-testid Time Range from field",[t]:"Time Range from field"},toField:{"10.2.3":"data-testid Time Range to field",[t]:"Time Range to field"},applyTimeRange:{[t]:"data-testid TimePicker submit button"},copyTimeRange:{"10.4.0":"data-testid TimePicker copy button"},pasteTimeRange:{"10.4.0":"data-testid TimePicker paste button"},calendar:{label:{"10.2.3":"data-testid Time Range calendar",[t]:"Time Range calendar"},openButton:{"10.2.3":"data-testid Open time range calendar",[t]:"Open time range calendar"},closeButton:{"10.2.3":"data-testid Close time range Calendar",[t]:"Close time range Calendar"}},absoluteTimeRangeTitle:{[t]:"data-testid-absolute-time-range-narrow"}},DataSourcePermissions:{form:{"9.5.0":()=>'form[name="addPermission"]'},roleType:{"9.5.0":"Role to add new permission to"},rolePicker:{"9.5.0":"Built-in role picker"},permissionLevel:{"12.0.0":"Permission level","9.5.0":"Permission Level"}},DateTimePicker:{input:{"10.2.3":"data-testid date-time-input"}},DataSource:{TestData:{QueryTab:{scenarioSelectContainer:{[t]:"Test Data Query scenario select container"},scenarioSelect:{[t]:"Test Data Query scenario select"},max:{[t]:"TestData max"},min:{[t]:"TestData min"},noise:{[t]:"TestData noise"},seriesCount:{[t]:"TestData series count"},spread:{[t]:"TestData spread"},startValue:{[t]:"TestData start value"},drop:{[t]:"TestData drop values"}}},DataSourceHttpSettings:{urlInput:{"10.4.0":"data-testid Datasource HTTP settings url",[t]:"Datasource HTTP settings url"}},Jaeger:{traceIDInput:{[t]:"Trace ID"}},Prometheus:{configPage:{connectionSettings:{[t]:"Data source connection URL"},manageAlerts:{"10.4.0":"prometheus-alerts-manager"},allowAsRecordingRulesTarget:{"12.1.0":"prometheus-recording-rules-target"},scrapeInterval:{"10.4.0":"data-testid scrape interval"},queryTimeout:{"10.4.0":"data-testid query timeout"},defaultEditor:{"10.4.0":"data-testid default editor"},disableMetricLookup:{"10.4.0":"disable-metric-lookup"},prometheusType:{"10.4.0":"data-testid prometheus type"},prometheusVersion:{"10.4.0":"data-testid prometheus version"},cacheLevel:{"10.4.0":"data-testid cache level"},incrementalQuerying:{"10.4.0":"prometheus-incremental-querying"},queryOverlapWindow:{"10.4.0":"data-testid query overlap window"},disableRecordingRules:{"10.4.0":"disable-recording-rules"},customQueryParameters:{"10.4.0":"data-testid custom query parameters"},httpMethod:{"10.4.0":"data-testid http method"}
1,exemplarsAddButton:{"10.3.0":"data-testid Add exemplar config button",[t]:"Add exemplar config button"},internalLinkSwitch:{"10.3.0":"data-testid Internal link switch",[t]:"Internal link switch"},codeModeMetricNamesSuggestionLimit:{"11.1.0":"data-testid code mode metric names suggestion limit"},seriesLimit:{"12.0.2":"data-testid maximum series limit"}},queryEditor:{explain:{"10.4.0":"data-testid prometheus explain switch wrapper"},editorToggle:{"10.4.0":"data-testid QueryEditorModeToggle"},options:{"10.4.0":"data-testid prometheus options"},legend:{"10.4.0":"data-testid prometheus legend wrapper"},format:{"10.4.0":"data-testid prometheus format"},step:{"10.4.0":"data-testid prometheus-step"},type:{"10.4.0":"data-testid prometheus type"},exemplars:{"10.4.0":"data-testid prometheus-exemplars"},builder:{metricSelect:{"10.4.0":"data-testid metric select"},hints:{"10.4.0":"data-testid prometheus hints"},metricsExplorer:{"10.4.0":"data-testid metrics explorer"},queryAdvisor:{"10.4.0":"data-testid query advisor"}},code:{queryField:{"10.4.0":"data-testid prometheus query field"},metricsCountInfo:{"11.1.0":"data-testid metrics count disclaimer"},metricsBrowser:{openButton:{"10.4.0":"data-testid open metrics browser"},selectMetric:{"10.4.0":"data-testid select a metric"},seriesLimit:{"10.3.1":"data-testid series limit"},metricList:{"10.4.0":"data-testid metric list"},labelNamesFilter:{"10.4.0":"data-testid label names filter"},labelValuesFilter:{"10.4.0":"data-testid label values filter"},useQuery:{"10.4.0":"data-testid use query"},useAsRateQuery:{"10.4.0":"data-testid use as rate query"},validateSelector:{"10.4.0":"data-testid validate selector"},clear:{"10.4.0":"data-testid clear"}}}},exemplarMarker:{"10.3.0":"data-testid Exemplar marker",[t]:"Exemplar marker"},variableQueryEditor:{queryType:{"10.4.0":"data-testid query type"},labelnames:{metricRegex:{"10.4.0":"data-testid label names metric regex"}},labelValues:{labelSelect:{"10.4.0":"data-testid label values label select"}},metricNames:{metricRegex:{"10.4.0":"data-testid metric names metric regex"}},varQueryResult:{"10.4.0":"data-testid variable query result"},seriesQuery:{"10.4.0":"data-testid prometheus series query"},classicQuery:{"10.4.0":"data-testid prometheus classic query"}},annotations:{minStep:{"10.4.0":"data-testid prometheus-annotation-min-step"},title:{"10.4.0":"data-testid prometheus annotation title"},tags:{"10.4.0":"data-testid prometheus annotation tags"},text:{"10.4.0":"data-testid prometheus annotation text"},seriesValueAsTimestamp:{"10.4.0":"data-testid prometheus annotation series value as timestamp"}}}},Menu:{MenuComponent:{[t]:n=>`${n} menu`},MenuGroup:{[t]:n=>`${n} menu group`},MenuItem:{[t]:n=>`${n} menu item`},SubMenu:{container:{"10.3.0":"data-testid SubMenu container",[t]:"SubMenu container"},icon:{"10.3.0":"data-testid SubMenu icon",[t]:"SubMenu icon"}}},Panels:{Panel:{title:{[t]:n=>`data-testid Panel header ${n}`},content:{"11.1.0":"data-testid panel content"},headerContainer:{"9.5.0":"data-testid header-container"},headerItems:{"10.2.0":n=>`data-testid Panel header item ${n}`},menuItems:{"9.5.0":n=>`data-testid Panel menu item ${n}`},menu:{"9.5.0":n=>`data-testid Panel menu ${n}`},containerByTitle:{[t]:n=>`${n} panel`},headerCornerInfo:{[t]:n=>`Panel header ${n}`},status:{"10.2.0":n=>`data-testid Panel status ${n}`,[t]:n=>"Panel status"},loadingBar:{"10.0.0":()=>"Panel loading bar"},PanelNonApplicableDrilldownsSubHeader:{"12.4.0":"Panel non-applicable drilldowns subheader"},HoverWidget:{container:{"10.1.0":"data-testid hover-header-container",[t]:"hover-header-container"},dragIcon:{"10.0.0":"data-testid drag-icon"}},PanelDataErrorMessage:{"10.4.0":"data-testid Panel data error message"},PanelGroupByHeaderAction:{"12.4.0":"data-testid Panel group by header action"}},Visualization:{Graph:{container:{"9.5.0":"Graph container"},VisualizationTab:{legendSection:{[t]:"Legend section"}},Legend:{legendItemAlias:{[t]:n=>`gpl alias ${n}`},showLegendSwitch:{[t]:"gpl show legend"}},xAxis:{labels:{[t]:()=>"div.flot-x-axis > div.flot-tick-label"}}},BarGauge:{valueV2:{[t]:"data-testid Bar gauge value"}}
1,PieChart:{svgSlice:{"10.3.0":"data testid Pie Chart Slice"}},Text:{container:{[t]:()=>".markdown-html"}},Table:{header:{[t]:"table header"},footer:{[t]:"table-footer"},body:{"10.2.0":"data-testid table body"}},TableNG:{RowExpander:{"12.4.0":"data-testid tableng row expander"},Filters:{HeaderButton:{"12.1.0":"data-testid tableng header filter"},Container:{"12.1.0":"data-testid tablenf filter container"},SelectAll:{"12.1.0":"data-testid tableng filter select-all"}},Tooltip:{Wrapper:{"12.2.0":"data-testid tableng tooltip wrapper"},Caret:{"12.2.0":"data-testid tableng tooltip caret"}},Footer:{ReducerLabel:{"12.2.0":"data-testid tableng footer reducer-label"},Value:{"12.2.0":"data-testid tableng footer value"}}},Tooltip:{Wrapper:{"12.3.0":"data-testid viz-tooltip-wrapper"}},Gauge:{Container:{"12.4.0":"data-testid gauge container"}}}},VizLegend:{seriesName:{"10.3.0":n=>`data-testid VizLegend series ${n}`}},Drawer:{General:{title:{[t]:n=>`Drawer title ${n}`},expand:{[t]:"Drawer expand"},contract:{[t]:"Drawer contract"},close:{"10.3.0":"data-testid Drawer close",[t]:"Drawer close"},rcContentWrapper:{"9.4.0":()=>".rc-drawer-content-wrapper"},subtitle:{"10.4.0":"data-testid drawer subtitle"}},DashboardSaveDrawer:{saveButton:{"11.1.0":"data-testid Save dashboard drawer button"},saveAsButton:{"11.1.0":"data-testid Save as dashboard drawer button"},saveAsTitleInput:{"11.1.0":"Save dashboard title field"}}},PanelEditor:{General:{content:{"11.1.0":"data-testid Panel editor content","8.0.0":"Panel editor content"}},OptionsPane:{content:{"11.1.0":"data-testid Panel editor option pane content",[t]:"Panel editor option pane content"},header:{"12.4.0":"data-testid Panel editor OptionsPane header"},select:{[t]:"Panel editor option pane select"},fieldLabel:{[t]:n=>`${n} field property editor`},fieldInput:{"11.0.0":n=>`data-testid Panel editor option pane field input ${n}`}},DataPane:{content:{"11.1.0":"data-testid Panel editor data pane content",[t]:"Panel editor data pane content"}},applyButton:{"9.2.0":"data-testid Apply changes and go back to dashboard","9.1.0":"Apply changes and go back to dashboard","8.0.0":"panel editor apply"},toggleVizPicker:{"10.0.0":"data-testid toggle-viz-picker","8.0.0":"toggle-viz-picker"},toggleVizOptions:{"10.1.0":"data-testid toggle-viz-options",[t]:"toggle-viz-options"},toggleTableView:{"11.1.0":"data-testid toggle-table-view",[t]:"toggle-table-view"},showZoomField:{"10.2.0":"Map controls Show zoom control field property editor"},showAttributionField:{"10.2.0":"Map controls Show attribution field property editor"},showScaleField:{"10.2.0":"Map controls Show scale field property editor"},showMeasureField:{"10.2.0":"Map controls Show measure tools field property editor"},showDebugField:{"10.2.0":"Map controls Show debug field property editor"},measureButton:{"12.1.0":"data-testid panel-editor-measure-button","9.2.0":"show measure tools"},Outline:{section:{"12.0.0":"data-testid Outline section"},node:{"12.0.0":n=>`data-testid outline node ${n}`},item:{"12.0.0":n=>`data-testid outline item ${n}`}},ElementEditPane:{variableType:{"12.0.0":n=>`data-testid variable type ${n}`},addVariableButton:{"12.0.0":"data-testid add variable button"},variableNameInput:{"12.0.0":"data-testid variable name input"},variableLabelInput:{"12.0.0":"data-testid variable label input"},AutoGridLayout:{minColumnWidth:{"12.1.0":"data-testid min column width selector"},customMinColumnWidth:{"12.1.0":"data-testid custom min column width input"},clearCustomMinColumnWidth:{"12.1.0":"data-testid clear custom min column width input"},maxColumns:{"12.1.0":"data-testid max columns selector"},rowHeight:{"12.1.0":"data-testid row height selector"},customRowHeight:{"12.1.0":"data-testid custom row height input"},clearCustomRowHeight:{"12.1.0":"data-testid clear custom row height input"},fillScreen:{"12.1.0":"data-testid fill screen switch"}},TabsLayout:{titleInput:{"12.2.0":"data-testid tab title input"}},RowsLayout:{titleInput:{"12.3.0":"data-testid row title input"}}}},PanelInspector:{Data:{content:{[t]:"Panel inspector Data content"}},Stats:{content:{[t]:"Panel inspector Stats content"}},Json:{content:{"11.1.0":"data-testid Panel inspector Json content",[t]:"Panel inspector Json content"}},Query:{content:{[t]:"Panel inspector Query content"},refreshButton:{[t]:"Panel inspector Query refresh button"},jsonObjectKeys:{[t]:()=>".json-formatter-key"}}},Tab:{title:{"11.2.0":n=>`data-testid Tab ${n}`},active:{[t]:()=>'[class*="-activeTabStyle"]'}},RefreshPicker:{runButtonV2:{[t]:"data-testid RefreshPicker run button"},intervalButtonV2:{[t]:"data-testid RefreshPicker interval button"}},QueryTab:{content:{[t]:"Query editor tab content"},queryInspectorButton:{[t]:"Query inspector button"},queryHistoryButton:{"10.2.0":"data-testid query-history-button",[t]:"query-history-button"}
1,addQuery:{"10.2.0":"data-testid query-tab-add-query",[t]:"Query editor add query button"},addQueryFromLibrary:{"11.5.0":"data-testid query-tab-add-query-from-library"},queryGroupTopSection:{"11.2.0":"data-testid query group top section"},addExpression:{"11.2.0":"data-testid query-tab-add-expression"}},QueryHistory:{queryText:{"9.0.0":"Query text"}},QueryEditorRows:{rows:{[t]:"Query editor row"}},QueryEditorRow:{actionButton:{"10.4.0":n=>`data-testid ${n}`},title:{[t]:n=>`Query editor row title ${n}`},container:{[t]:n=>`Query editor row ${n}`}},AlertTab:{content:{"10.2.3":"data-testid Alert editor tab content",[t]:"Alert editor tab content"}},AlertRules:{groupToggle:{"11.0.0":"data-testid group-collapse-toggle"},toggle:{"11.0.0":"data-testid collapse-toggle"},expandedContent:{"11.0.0":"data-testid expanded-content"},previewButton:{"11.1.0":"data-testid alert-rule preview-button"},ruleNameField:{"11.1.0":"data-testid alert-rule name-field"},newFolderButton:{"11.1.0":"data-testid alert-rule new-folder-button"},newFolderNameField:{"11.1.0":"data-testid alert-rule name-folder-name-field"},newFolderNameCreateButton:{"11.1.0":"data-testid alert-rule name-folder-name-create-button"},newEvaluationGroupButton:{"11.1.0":"data-testid alert-rule new-evaluation-group-button"},newEvaluationGroupName:{"11.1.0":"data-testid alert-rule new-evaluation-group-name"},newEvaluationGroupInterval:{"11.1.0":"data-testid alert-rule new-evaluation-group-interval"},newEvaluationGroupCreate:{"11.1.0":"data-testid alert-rule new-evaluation-group-create-button"},step:{"11.5.0":n=>`data-testid alert-rule step-${n}`},stepAdvancedModeSwitch:{"11.5.0":n=>`data-testid advanced-mode-switch step-${n}`}},Alert:{alertV2:{[t]:n=>`data-testid Alert ${n}`}},TransformTab:{content:{"10.1.0":"data-testid Transform editor tab content",[t]:"Transform editor tab content"},newTransform:{"10.1.0":n=>`data-testid New transform ${n}`},transformationEditor:{"10.1.0":n=>`data-testid Transformation editor ${n}`},transformationEditorDebugger:{"10.1.0":n=>`data-testid Transformation editor debugger ${n}`}},Transforms:{card:{"10.1.0":n=>`data-testid New transform ${n}`},disableTransformationButton:{"10.4.0":"data-testid Disable transformation button"},Reduce:{modeLabel:{"10.2.3":"data-testid Transform mode label",[t]:"Transform mode label"},calculationsLabel:{"10.2.3":"data-testid Transform calculations label",[t]:"Transform calculations label"}},SpatialOperations:{actionLabel:{"9.1.2":"root Action field property editor"},locationLabel:{"10.2.0":"root Location Mode field property editor"},location:{autoOption:{"9.1.2":"Auto location option"},coords:{option:{"9.1.2":"Coords location option"},latitudeFieldLabel:{"9.1.2":"root Latitude field field property editor"},longitudeFieldLabel:{"9.1.2":"root Longitude field field property editor"}},geohash:{option:{"9.1.2":"Geohash location option"},geohashFieldLabel:{"9.1.2":"root Geohash field field property editor"}},lookup:{option:{"9.1.2":"Lookup location option"},lookupFieldLabel:{"9.1.2":"root Lookup field field property editor"},gazetteerFieldLabel:{"9.1.2":"root Gazetteer field property editor"}}}},searchInput:{"10.2.3":"data-testid search transformations",[t]:"search transformations"},noTransformationsMessage:{"10.2.3":"data-testid no transformations message"},addTransformationButton:{"10.1.0":"data-testid add transformation button",[t]:"add transformation button"},goToQueriesButton:{"10.4.0":"data-testid go to queries button",[t]:"go to queries button"},removeAllTransformationsButton:{"10.4.0":"data-testid remove all transformations button"}},NavBar:{Configuration:{button:{"9.5.0":"Configuration"}},Toggle:{button:{"10.2.3":"data-testid Toggle menu",[t]:"Toggle menu"}},Reporting:{button:{"9.5.0":"Reporting"}}},NavMenu:{Menu:{"10.2.3":"data-testid navigation mega-menu"},item:{"9.5.0":"data-testid Nav menu item"}},NavToolbar:{container:{"9.4.0":"data-testid Nav toolbar"},commandPaletteTrigger:{"11.5.0":"data-testid Command palette trigger"},shareDashboard:{"11.1.0":"data-testid Share dashboard"},markAsFavorite:{"11.1.0":"data-testid Mark as favorite"},editDashboard:{editButton:{"11.1.0":"data-testid Edit dashboard button"},saveButton:{"11.1.0":"data-testid Save dashboard button"},exitButton:{"11.1.0":"data-testid Exit edit mode button"},settingsButton:{"11.1.0":"data-testid Dashboard settings"},addRowButton:{"11.1.0":"data-testid Add row button"},addLibraryPanelButton:{"11.1.0":"data-testid Add a panel from the panel library button"},addVisualizationButton:{"11.1.0":"data-testid Add new visualization menu item"},pastePanelButton:{"11.1.0":"data-testid Paste panel button"},discardChangesButton:{"11.1.0":"data-testid Discard changes button"},discardLibraryPanelButton:{"11.1.0":"data-testid Discard library panel button"},unlinkLibraryPanelButton:{"11.1.0":"data-testid Unlink library panel button"},saveLibraryPanelButton:{"11.1.0":"data-testid Save library panel button"},backToDashboardButton:{"11.1.0":"data-testid Back to dashboard button"}}},PageToolbar:{container:{[t]:()=>".page-toolbar"},item:{[t]:n=>`${n}`},itemButton:{"9.5.0":n=>`data-testid ${n}`}},QueryEditorToolbarItem:{button:{[t]:n=>`QueryEditor toolbar item button ${n}`}},BackButton:{backArrow:{"10.3.0":"data-testid Go Back",[t]:"Go Back"}},OptionsGroup:{group:{"11.1.0":n=>n?`data-testid Options group ${n}`:"data-testid Options group",[t]:n=>n?`Options group ${n}`:"Options group"},toggle:{"11.1.0":n=>n?`data-testid Options group ${n} toggle`:"data-testid Options group toggle",[t]:n=>n?`Options group ${n} toggle`:"Options group toggle"}},PluginVisualization:{item:{"12.4.0":n=>`data-testid Plugin visualization item ${n}`,[t]:n=>`Plugin visualization item ${n}`},current:{[t]:()=>'[class*="-currentVisualizationItem"]'}},Select:{menu:{"11.5.0":"data-testid Select menu",[t]:"Select options menu"},option:{"11.1.0":"data-testid Select option",[t]:"Select option"},toggleAllOptions:{"11.3.0":"data-testid toggle all options"},input:{[t]:()=>'input[id*="time-options-input"]'},singleValue:{[t]:()=>'div[class*="-singleValue"]'}},FieldConfigEditor:{content:{[t]:"Field config editor content"}},OverridesConfigEditor:{content:{[t]:"Field overrides editor content"}},FolderPicker:{containerV2:{[t]:"data-testid Folder picker select container"},input:{"10.4.0":"data-testid folder-picker-input"}},ReadonlyFolderPicker:{container:{[t]:"data-testid Readonly folder picker select container"}},DataSourcePicker:{container:{"10.0.0":"data-testid Data source picker select container","8.0.0":"Data source picker select container"},inputV2:{"10.1.0":"data-testid Select a data source",[t]:"Select a data source"},dataSourceList:{"10.4.0":"data-testid Data source list dropdown"},advancedModal:{dataSourceList:{"10.4.0":"data-testid Data source list"},builtInDataSourceList:{"10.4.0":"data-testid Built in data source list"}}},TimeZonePicker:{containerV2:{[t]:"data-testid Time zone picker select container"},changeTimeSettingsButton:{"11.0.0":"data-testid Time zone picker Change time settings button"}},WeekStartPicker:{containerV2:{[t]:"data-testid Choose starting day of the week"},placeholder:{[t]:"Choose starting day of the week"}},TraceViewer:{spanBar:{"9.0.0":"data-testid SpanBar--wrapper"}},QueryField:{container:{"10.3.0":"data-testid Query field",[t]:"Query field"}},QueryBuilder:{queryPatterns:{"10.3.0":"data-testid Query patterns",[t]:"Query patterns"},labelSelect:{"10.3.0":"data-testid Select label",[t]:"Select label"},inputSelect:{"11.1.0":"data-testid Select label-input"},valueSelect:{"10.3.0":"data-testid Select value",[t]:"Select value"},matchOperatorSelect:{"10.3.0":"data-testid Select match operator",[t]:"Select match operator"}},ValuePicker:{button:{"10.3.0":n=>`data-testid Value picker button ${n}`},select:{"10.3.0":n=>`data-testid Value picker select ${n}`}},Search:{sectionV2:{[t]:"data-testid Search section"},itemsV2:{[t]:"data-testid Search items"},cards:{[t]:"data-testid Search cards"},collapseFolder:{[t]:n=>`data-testid Collapse folder ${n}`},expandFolder:{[t]:n=>`data-testid Expand folder ${n}`},dashboardItem:{[t]:n=>`data-testid Dashboard search item ${n}`},dashboardCard:{[t]:n=>`data-testid Search card ${n}`},folderHeader:{"9.3.0":n=>`data-testid Folder header ${n}`},folderContent:{"9.3.0":n=>`data-testid Folder content ${n}`},dashboardItems:{[t]:"data-testid Dashboard search item"}},DashboardLinks:{container:{[t]:"data-testid Dashboard link container"},dropDown:{[t]:"data-testid Dashboard link dropdown"},link:{[t]:"data-testid Dashboard link"}},LoadingIndicator:{icon:{"10.4.0":"data-testid Loading indicator",[t]:"Loading indicator"}},CallToActionCard:{buttonV2:{[t]:n=>`data-testid Call to action button ${n}`}},DataLinksContextMenu:{singleLink:{"10.3.0":"data-testid Data link",[t]:"Data link"}}
1,DataLinksActionsTooltip:{tooltipWrapper:{"12.1.0":"data-testid Data links actions tooltip wrapper"}},CodeEditor:{container:{"10.2.3":"data-testid Code editor container",[t]:"Code editor container"}},ReactMonacoEditor:{editorLazy:{"11.1.0":"data-testid ReactMonacoEditor editorLazy"}},DashboardImportPage:{textarea:{[t]:"data-testid-import-dashboard-textarea"},submit:{[t]:"data-testid-load-dashboard"}},ImportDashboardForm:{name:{[t]:"data-testid-import-dashboard-title"},submit:{[t]:"data-testid-import-dashboard-submit"},floatGridItemsWarning:{[t]:"data-testid-import-dashboard-float-grid-items-warning"}},PanelAlertTabContent:{content:{"10.2.3":"data-testid Unified alert editor tab content",[t]:"Unified alert editor tab content"}},VisualizationPreview:{card:{[t]:n=>`data-testid suggestion-${n}`},confirm:{"12.4.0":n=>`data-testid suggestion-${n} confirm button`}},ColorSwatch:{name:{[t]:"data-testid-colorswatch"}},DashboardRow:{title:{[t]:n=>`data-testid dashboard-row-title-${n}`},wrapper:{"12.1.0":n=>`data-testid dashboard-row-wrapper-for-${n}`}},UserProfile:{profileSaveButton:{[t]:"data-testid-user-profile-save"},preferencesSaveButton:{[t]:"data-testid-shared-prefs-save"},orgsTable:{[t]:"data-testid-user-orgs-table"},sessionsTable:{[t]:"data-testid-user-sessions-table"},extensionPointTabs:{"10.2.3":"data-testid-extension-point-tabs"},extensionPointTab:{"10.2.3":n=>`data-testid-extension-point-tab-${n}`}},FileUpload:{inputField:{"9.0.0":"data-testid-file-upload-input-field"},fileNameSpan:{"9.0.0":"data-testid-file-upload-file-name"}},DebugOverlay:{wrapper:{"12.3.0":"data-testid debug-overlay-wrapper","9.2.0":"debug-overlay"}},OrgRolePicker:{input:{"9.5.0":"Role"}},AnalyticsToolbarButton:{button:{"9.5.0":"Dashboard insights"}},Variables:{variableOption:{"9.5.0":"data-testid variable-option"},variableLinkWrapper:{"11.1.1":"data-testid variable-link-wrapper"}},Annotations:{annotationsTypeInput:{"11.1.0":"data-testid annotations-type-input",[t]:"annotations-type-input"},annotationsChoosePanelInput:{"11.1.0":"data-testid choose-panels-input",[t]:"choose-panels-input"},editor:{testButton:{"11.0.0":"data-testid annotations-test-button"},resultContainer:{"11.0.0":"data-testid annotations-query-result-container"}}},Tooltip:{container:{"10.2.0":"data-testid tooltip"}},ReturnToPrevious:{buttonGroup:{"11.0.0":"data-testid dismissable button group"},backButton:{"11.0.0":"data-testid back"},dismissButton:{"11.0.0":"data-testid dismiss"}},SQLQueryEditor:{selectColumn:{"11.0.0":"data-testid select-column"},selectColumnInput:{"11.0.0":"data-testid select-column-input"},selectFunctionParameter:{"11.0.0":n=>`data-testid select-function-parameter-${n}`},selectAggregation:{"11.0.0":"data-testid select-aggregation"},selectAggregationInput:{"11.0.0":"data-testid select-aggregation-input"},selectAlias:{"11.0.0":"data-testid select-alias"},selectAliasInput:{"11.0.0":"data-testid select-alias-input"},selectInputParameter:{"11.0.0":"data-testid select-input-parameter"},filterConjunction:{"11.0.0":"data-testid filter-conjunction"},filterField:{"11.0.0":"data-testid filter-field"},filterOperator:{"11.0.0":"data-testid filter-operator"},headerTableSelector:{"11.0.0":"data-testid header-table-selector"},headerFilterSwitch:{"11.0.0":"data-testid header-filter-switch"},headerGroupSwitch:{"11.0.0":"data-testid header-group-switch"},headerOrderSwitch:{"11.0.0":"data-testid header-order-switch"},headerPreviewSwitch:{"11.0.0":"data-testid header-preview-switch"}},EntityNotFound:{container:{"11.2.0":"data-testid entity-not-found"}},Portal:{container:{"11.5.0":"data-testid portal-container"}},ExportImage:{formatOptions:{container:{"12.1.0":"data-testid export-image-format-options"},png:{"12.1.0":"data-testid export-image-format-png"},jpg:{"12.1.0":"data-testid export-image-format-jpg"}},rendererAlert:{container:{"12.1.0":"data-testid export-image-renderer-alert"},title:{"12.1.0":"data-testid export-image-renderer-alert-title"},description:{"12.1.0":"data-testid export-image-renderer-alert-description"}},buttons:{generate:{"12.1.0":"data-testid export-image-generate-button"},download:{"12.1.0":"data-testid export-image-download-button"},cancel:{"12.1.0":"data-testid export-image-cancel-button"}},preview:{container:{"12.1.0":"data-testid export-image-preview-container"},loading:{"12.1.0":"data-testid export-image-preview-loading"},image:{"12.1.0":"data-testid export-image-preview"},error:{container:{"12.1.0":"data-testid export-image-error"},title:{"12.1.0":"data-testid export-image-error-title"},message:{"12.1.0":"data-testid export-image-error-message"}}}},VizTooltipFooter:{buttons:{apply:{"12.1.0":"data-testid viz-tooltip-footer-apply-filters-button"},applyInverse:{"12.1.0":"data-testid viz-tooltip-footer-apply-inverse-filters-button"}}}},o={Alerting:{AddAlertRule:{url:{"10.1.0":"/alerting/new/alerting",[t]:"/alerting/new"}},EditAlertRule:{url:{[t]:n=>`alerting/${n}/edit`}}},Login:{url:{[t]:"/login"},username:{"10.2.3":"data-testid Username input field",[t]:"Username input field"},password:{"10.2.3":"data-testid Password input field",[t]:"Password input field"},submit:{"10.2.3":"data-testid Login button",[t]:"Login button"},skip:{"10.2.3":"data-testid Skip change password button"}},PasswordlessLogin:{url:{[t]:"/login/passwordless/authenticate"},email:{"10.2.3":"data-testid Email input field",[t]:"Email input field"},submit:{"10.2.3":"data-testid PasswordlessLogin button",[t]:"PasswordlessLogin button"}},Home:{url:{[t]:"/"}},DataSource:{name:{"10.3.0":"data-testid Data source settings page name input field",[t]:"Data source settings page name input field"},delete:{[t]:"Data source settings page Delete button"},readOnly:{"10.3.0":"data-testid Data source settings page read only message",[t]:"Data source settings page read only message"},saveAndTest:{"10.0.0":"data-testid Data source settings page Save and Test button",[t]:"Data source settings page Save and Test button"},alert:{"10.3.0":"data-testid Data source settings page Alert",[t]:"Data source settings page Alert"}},DataSources:{url:{[t]:"/datasources"},dataSources:{[t]:n=>`Data source list item ${n}`},dataSourceAddButton:{"12.4.0":"data-testid data-source-add-button"}},EditDataSource:{url:{"9.5.0":n=>`/datasources/edit/${n}`},settings:{"9.5.0":"Datasource settings page basic settings"}},AddDataSource:{url:{[t]:"/datasources/new"},dataSourcePluginsV2:{"9.3.1":n=>`Add new data source ${n}`,[t]:n=>`Data source plugin item ${n}`}},ConfirmModal:{delete:{"10.0.0":"data-testid Confirm Modal Danger Button",[t]:"Confirm Modal Danger Button"},input:{"12.2.0":"data-testid Confirm Modal Input"}},SecretsManagement:{SecretForm:{"12.2.0":"data-testid Secret Form"}},AddDashboard:{url:{[t]:"/dashboard/new"},itemButton:{"9.5.0":n=>`data-testid ${n}`},addNewPanel:{"11.1.0":"data-testid Add new panel","8.0.0":"Add new panel",[t]:"Add new panel"},itemButtonAddViz:{[t]:"Add new visualization menu item"},addNewRow:{"11.1.0":"data-testid Add new row",[t]:"Add new row"},addNewPanelLibrary:{"11.1.0":"data-testid Add new panel from panel library",[t]:"Add new panel from panel library"},Settings:{Annotations:{List:{url:{[t]:"/dashboard/new?orgId=1&editview=annotations"}},Edit:{url:{[t]:n=>`/dashboard/new?editview=annotations&editIndex=${n}`}}},Variables:{List:{url:{"11.3.0":"/dashboard/new?orgId=1&editview=variables",[t]:"/dashboard/new?orgId=1&editview=templating"}},Edit:{url:{"11.3.0":n=>`/dashboard/new?orgId=1&editview=variables&editIndex=${n}`,[t]:n=>`/dashboard/new?orgId=1&editview=templating&editIndex=${n}`}}}}},ImportDashboard:{url:{[t]:"/dashboard/import"}},Dashboard:{url:{[t]:n=>`/d/${n}`},Sidebar:{optionsButton:{"12.4.0":"data-testid Dashboard Sidebar options button"},outlineButton:{"12.4.0":"data-testid Dashboard Sidebar outline button"},addButton:{"12.4.0":"data-testid Dashboard Sidebar new button"}},DashNav:{nav:{[t]:"Dashboard navigation"},navV2:{[t]:"data-testid Dashboard navigation"},publicDashboardTag:{"9.1.0":"data-testid public dashboard tag"},shareButton:{"10.4.0":"data-testid share-button"},scrollContainer:{"11.1.0":"data-testid Dashboard canvas scroll container"},newShareButton:{container:{"11.1.0":"data-testid new share button"},shareLink:{"11.1.0":"data-testid new share link-button"},arrowMenu:{"11.1.0":"data-testid new share button arrow menu"},menu:{container:{"11.1.0":"data-testid new share button menu"},shareInternally:{"11.1.0":"data-testid new share button share internally"},shareExternally:{"11.1.1":"data-testid new share button share externally"},shareSnapshot:{"11.2.0":"data-testid new share button share snapshot"}}}
1,NewExportButton:{container:{"11.2.0":"data-testid new export button"},arrowMenu:{"11.2.0":"data-testid new export button arrow menu"},Menu:{container:{"11.2.0":"data-testid new export button menu"},exportAsJson:{"11.2.0":"data-testid new export button export as json"},exportAsImage:{"12.1.0":"data-testid new export button export as image"}}},playlistControls:{prev:{"11.0.0":"data-testid playlist previous dashboard button"},stop:{"11.0.0":"data-testid playlist stop dashboard button"},next:{"11.0.0":"data-testid playlist next dashboard button"}}},Controls:{"11.1.0":"data-testid dashboard controls"},ControlsButton:{"12.3.0":"data-testid dashboard controls button"},SubMenu:{submenu:{[t]:"Dashboard submenu"},submenuItem:{[t]:"data-testid template variable"},submenuItemLabels:{[t]:n=>`data-testid Dashboard template variables submenu Label ${n}`},submenuItemValueDropDownValueLinkTexts:{[t]:n=>`data-testid Dashboard template variables Variable Value DropDown value link text ${n}`},submenuItemValueDropDownDropDown:{[t]:"Variable options"},submenuItemValueDropDownOptionTexts:{[t]:n=>`data-testid Dashboard template variables Variable Value DropDown option text ${n}`},Annotations:{annotationsWrapper:{"10.0.0":"data-testid annotation-wrapper"},annotationLabel:{"10.0.0":n=>`data-testid Dashboard annotations submenu Label ${n}`},annotationToggle:{"10.0.0":n=>`data-testid Dashboard annotations submenu Toggle ${n}`}}},Settings:{Actions:{close:{"9.5.0":"data-testid dashboard-settings-close"}},General:{deleteDashBoard:{"11.1.0":"data-testid Dashboard settings page delete dashboard button"},sectionItems:{[t]:n=>`Dashboard settings section item ${n}`},saveDashBoard:{[t]:"Dashboard settings aside actions Save button"},saveAsDashBoard:{[t]:"Dashboard settings aside actions Save As button"},title:{"11.2.0":"General"}},Annotations:{Edit:{urlParams:{[t]:n=>`editview=annotations&editIndex=${n}`}},List:{url:{[t]:n=>`/d/${n}?editview=annotations`},addAnnotationCTAV2:{[t]:"data-testid Call to action button Add annotation query"},annotations:{"10.4.0":"data-testid list-annotations"}},Settings:{name:{"11.1.0":"data-testid Annotations settings name input",[t]:"Annotations settings name input"}},NewAnnotation:{panelFilterSelect:{"10.0.0":"data-testid annotations-panel-filter"},showInLabel:{"11.1.0":"data-testid show-in-label"},annotationControlsDisplay:{"12.4.0":"data-testid annotation-controls-display-label"},previewInDashboard:{"10.0.0":"data-testid annotations-preview"},delete:{"10.4.0":"data-testid annotations-delete"},apply:{"10.4.0":"data-testid annotations-apply"},enable:{"10.4.0":"data-testid annotation-enable"},hide:{"10.4.0":"data-testid annotation-hide"}}},Variables:{List:{url:{"11.3.0":n=>`/d/${n}?editview=variables`,[t]:n=>`/d/${n}?editview=templating`},addVariableCTAV2:{[t]:"data-testid Call to action button Add variable"},newButton:{[t]:"Variable editor New variable button"},table:{[t]:"Variable editor Table"},tableRowNameFields:{[t]:n=>`Variable editor Table Name field ${n}`},tableRowDefinitionFields:{"10.1.0":n=>`Variable editor Table Definition field ${n}`},tableRowArrowUpButtons:{[t]:n=>`Variable editor Table ArrowUp button ${n}`},tableRowArrowDownButtons:{[t]:n=>`Variable editor Table ArrowDown button ${n}`},tableRowDuplicateButtons:{[t]:n=>`Variable editor Table Duplicate button ${n}`},tableRowRemoveButtons:{[t]:n=>`Variable editor Table Remove button ${n}`}},Edit:{urlParams:{"11.3.0":n=>`editview=variables&editIndex=${n}`,[t]:n=>`editview=templating&editIndex=${n}`},General:{headerLink:{[t]:"Variable editor Header link"},modeLabelNew:{[t]:"Variable editor Header mode New"},modeLabelEdit:{[t]:"Variable editor Header mode Edit"},generalNameInput:{[t]:"Variable editor Form Name field"},generalNameInputV2:{[t]:"data-testid Variable editor Form Name field"},generalTypeSelect:{[t]:"Variable editor Form Type select"},generalTypeSelectV2:{[t]:"data-testid Variable editor Form Type select"},generalLabelInput:{[t]:"Variable editor Form Label field"},generalLabelInputV2:{[t]:"data-testid Variable editor Form Label field"},generalHideSelect:{[t]:"Variable editor Form Hide select"},generalHideSelectV2:{[t]:"data-testid Variable editor Form Hide select"},generalDisplaySelect:{"12.4.0":"data-testid Variable editor Display select"},selectionOptionsAllowCustomValueSwitch:{[t]:"data-testid Variable editor Form Allow Custom Value switch"},selectionOptionsMultiSwitch:{"10.4.0":"data-testid Variable editor Form Multi switch",[t]:"Variable editor Form Multi switch"},selectionOptionsIncludeAllSwitch:{"10.4.0":"data-testid Variable editor Form IncludeAll switch",[t]:"Variable editor Form IncludeAll switch"},selectionOptionsCustomAllInput:{"10.4.0":"data-testid Variable editor Form IncludeAll field",[t]:"Variable editor Form IncludeAll field"},previewOfValuesOption:{"10.4.0":"data-testid Variable editor Preview of Values option",[t]:"Variable editor Preview of Values option"},submitButton:{"10.4.0":"data-testid Variable editor Run Query button",[t]:"Variable editor Submit button"},applyButton:{"9.3.0":"data-testid Variable editor Apply button"}},QueryVariable:{closeButton:{[t]:"data-testid Query Variable editor close button"},editor:{[t]:"data-testid Query Variable editor"},previewButton:{[t]:"data-testid Query Variable editor preview button"},queryOptionsDataSourceSelect:{"10.4.0":"data-testid Select a data source","10.0.0":"data-testid Data source picker select container",[t]:"Data source picker select container"},queryOptionsOpenButton:{[t]:"data-testid Query Variable editor open button"},queryOptionsRefreshSelect:{[t]:"Variable editor Form Query Refresh select"},queryOptionsRefreshSelectV2:{[t]:"data-testid Variable editor Form Query Refresh select"},queryOptionsRegExInput:{[t]:"Variable editor Form Query RegEx field"},queryOptionsRegExInputV2:{[t]:"data-testid Variable editor Form Query RegEx field"},queryOptionsRegExApplyToSelectV2:{[t]:"data-testid Variable editor Form Query RegExApplyTo select"},queryOptionsSortSelect:{[t]:"Variable editor Form Query Sort select"},queryOptionsSortSelectV2:{[t]:"data-testid Variable editor Form Query Sort select"},queryOptionsQueryInput:{"10.4.0":"data-testid Variable editor Form Default Variable Query Editor textarea"},queryOptionsStaticOptionsToggle:{[t]:"Variable editor Form Query Static Options toggle"},queryOptionsStaticOptionsOrderDropdown:{[t]:"Variable editor Form Query Static Options Order dropdown"},valueGroupsTagsEnabledSwitch:{[t]:"Variable editor Form Query UseTags switch"},valueGroupsTagsTagsQueryInput:{[t]:"Variable editor Form Query TagsQuery field"},valueGroupsTagsTagsValuesQueryInput:{[t]:"Variable editor Form Query TagsValuesQuery field"}},ConstantVariable:{constantOptionsQueryInput:{[t]:"Variable editor Form Constant Query field"},constantOptionsQueryInputV2:{[t]:"data-testid Variable editor Form Constant Query field"}},DatasourceVariable:{datasourceSelect:{[t]:"data-testid datasource variable datasource type"},nameFilter:{[t]:"data-testid datasource variable datasource name filter"}},TextBoxVariable:{textBoxOptionsQueryInput:{[t]:"Variable editor Form TextBox Query field"},textBoxOptionsQueryInputV2:{[t]:"data-testid Variable editor Form TextBox Query field"}},CustomVariable:{customValueInput:{[t]:"data-testid custom-variable-input"},optionsOpenButton:{[t]:"data-testid custom-variable-options-open-button"},closeButton:{[t]:"data-testid custom-variable-close-button"},applyButton:{[t]:"data-testid custom-variable-apply-button"}},IntervalVariable:{intervalsValueInput:{[t]:"data-testid interval variable intervals input"},autoEnabledCheckbox:{"10.4.0":"data-testid interval variable auto value checkbox"},stepCountIntervalSelect:{"10.4.0":"data-testid interval variable step count input"},minIntervalInput:{"10.4.0":"data-testid interval variable mininum interval input"}},GroupByVariable:{dataSourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid group by variable info text"},modeToggle:{"10.4.0":"data-testid group by variable mode toggle"}},AdHocFiltersVariable:{datasourceSelect:{"10.4.0":"data-testid Select a data source"},infoText:{"10.4.0":"data-testid ad-hoc filters variable info text"},modeToggle:{"11.0.0":"data-testid ad-hoc filters variable mode toggle"}},SwitchVariable:{valuePairTypeSelect:{"12.3.0":"data-testid switch variable value pair type select"},enabledValueInput:{"12.3.0":"data-testid switch variable enabled value input"},disabledValueInput:{"12.3.0":"data-testid switch variable disabled value input"}},StaticOptionsEditor:{addButton:{[t]:"data-testid Variable editor Form Static Options Add button"},labelInput:{[t]:"data-testid Variable editor Form Static Options Label input"},valueInput:{[t]:"data-testid Variable editor Form Static Options Value input"},moveButton:{[t]:"data-testid Variable editor Form Static Options Move button"},deleteButton:{[t]:"data-testid Variable editor Form Static Options Delete button"},row:{[t]:"data-testid Variable editor Form Static Options Row"}}}}},Annotations:{marker:{"10.0.0":"data-testid annotation-marker"}}
1,Rows:{Repeated:{ConfigSection:{warningMessage:{"10.2.0":"data-testid Repeated rows warning message"}}}}},Dashboards:{url:{[t]:"/dashboards"},dashboards:{"10.2.0":n=>`Dashboard search item ${n}`},toggleView:{[t]:"data-testid radio-button"}},SaveDashboardAsModal:{newName:{"10.2.0":"Save dashboard title field"},save:{"10.2.0":"Save dashboard button"}},SaveDashboardModal:{save:{"10.2.0":"Dashboard settings Save Dashboard Modal Save button"},saveVariables:{"10.2.0":"Dashboard settings Save Dashboard Modal Save variables checkbox"},saveTimerange:{"10.2.0":"Dashboard settings Save Dashboard Modal Save timerange checkbox"},saveRefresh:{"11.1.0":"Dashboard settings Save Dashboard Modal Save refresh checkbox"},variablesWarningAlert:{"12.2.0":"Dashboard settings Save Dashboard Modal Save variables Variables With Errors Warning Alert"}},SharePanelModal:{linkToRenderedImage:{[t]:"Link to rendered image"}},ShareDashboardModal:{PublicDashboard:{WillBePublicCheckbox:{"9.1.0":"data-testid public dashboard will be public checkbox"},LimitedDSCheckbox:{"9.1.0":"data-testid public dashboard limited datasources checkbox"},CostIncreaseCheckbox:{"9.1.0":"data-testid public dashboard cost may increase checkbox"},PauseSwitch:{"9.5.0":"data-testid public dashboard pause switch"},EnableAnnotationsSwitch:{"9.3.0":"data-testid public dashboard on off switch for annotations"},CreateButton:{"9.5.0":"data-testid public dashboard create button"},DeleteButton:{"9.3.0":"data-testid public dashboard delete button"},CopyUrlInput:{"9.1.0":"data-testid public dashboard copy url input"},CopyUrlButton:{"9.1.0":"data-testid public dashboard copy url button"},SettingsDropdown:{"10.1.0":"data-testid public dashboard settings dropdown"},TemplateVariablesWarningAlert:{"9.1.0":"data-testid public dashboard disabled template variables alert"},UnsupportedDataSourcesWarningAlert:{"9.5.0":"data-testid public dashboard unsupported data sources alert"},NoUpsertPermissionsWarningAlert:{"9.5.0":"data-testid public dashboard no upsert permissions alert"},EnableTimeRangeSwitch:{"9.4.0":"data-testid public dashboard on off switch for time range"},EmailSharingConfiguration:{Container:{"9.5.0":"data-testid email sharing config container"},ShareType:{"9.5.0":"data-testid public dashboard share type"},EmailSharingInput:{"9.5.0":"data-testid public dashboard email sharing input"},EmailSharingInviteButton:{"9.5.0":"data-testid public dashboard email sharing invite button"},EmailSharingList:{"9.5.0":"data-testid public dashboard email sharing list"},DeleteEmail:{"9.5.0":"data-testid public dashboard delete email button"},ReshareLink:{"9.5.0":"data-testid public dashboard reshare link button"}}},SnapshotScene:{url:{"11.1.0":n=>`/dashboard/snapshot/${n}`},PublishSnapshot:{"11.1.0":"data-testid publish snapshot button"},CopyUrlButton:{"11.1.0":"data-testid snapshot copy url button"},CopyUrlInput:{"11.1.0":"data-testid snapshot copy url input"}}},ShareDashboardDrawer:{ShareInternally:{container:{"11.3.0":"data-testid share internally drawer container"},lockTimeRangeSwitch:{"11.3.0":"data-testid share internally lock time range switch"},shortenUrlSwitch:{"11.3.0":"data-testid share internally shorten url switch"},copyUrlButton:{"11.3.0":"data-testid share internally copy url button"},SharePanel:{preview:{"11.5.0":"data-testid share panel internally image generation preview"},widthInput:{"11.5.0":"data-testid share panel internally width input"},heightInput:{"11.5.0":"data-testid share panel internally height input"},scaleFactorInput:{"11.5.0":"data-testid share panel internally scale factor input"},generateImageButton:{"11.5.0":"data-testid share panel internally generate image button"},downloadImageButton:{"11.5.0":"data-testid share panel internally download image button"}}},ShareExternally:{container:{"11.3.0":"data-testid share externally drawer container"},publicAlert:{"11.3.0":"data-testid public share alert"},emailSharingAlert:{"11.3.0":"data-testid email share alert"},shareTypeSelect:{"11.3.0":"data-testid share externally share type select"},Creation:{PublicShare:{createButton:{"11.3.0":"data-testid public share dashboard create button"},cancelButton:{"11.3.0":"data-testid public share dashboard cancel button"}},EmailShare:{createButton:{"11.3.0":"data-testid email share dashboard create button"},cancelButton:{"11.3.0":"data-testid email share dashboard cancel button"}},willBePublicCheckbox:{"11.3.0":"data-testid share dashboard will be public checkbox"}},Configuration:{enableTimeRangeSwitch:{"11.3.0":"data-testid share externally enable time range switch"},enableAnnotationsSwitch:{"11.3.0":"data-testid share externally enable annotations switch"},copyUrlButton:{"11.3.0":"data-testid share externally copy url button"},revokeAccessButton:{"11.3.0":"data-testid share externally revoke access button"},toggleAccessButton:{"11.3.0":"data-testid share externally pause or resume access button"}}},ShareSnapshot:{url:{"11.3.0":n=>
1`/dashboard/snapshot/${n}`},container:{"11.3.0":"data-testid share snapshot drawer container"},publishSnapshot:{"11.3.0":"data-testid share snapshot publish button"},copyUrlButton:{"11.3.0":"data-testid share snapshot copy url button"}}},ExportDashboardDrawer:{ExportAsJson:{container:{"11.3.0":"data-testid export as json drawer container"},codeEditor:{"11.3.0":"data-testid export as json code editor"},exportExternallyToggle:{"11.3.0":"data-testid export as json externally switch"},saveToFileButton:{"11.3.0":"data-testid export as json save to file button"},copyToClipboardButton:{"11.3.0":"data-testid export as json copy to clipboard button"},cancelButton:{"11.3.0":"data-testid export as json cancel button"}}},PublicDashboard:{page:{"9.5.0":"public-dashboard-page"},NotAvailable:{container:{"9.5.0":"public-dashboard-not-available"},title:{"9.5.0":"public-dashboard-title"},pausedDescription:{"9.5.0":"public-dashboard-paused-description"}},footer:{"11.0.0":"public-dashboard-footer"}},PublicDashboardScene:{loadingPage:{"11.0.0":"public-dashboard-scene-loading-page"},page:{"11.0.0":"public-dashboard-scene-page"},controls:{"11.0.0":"public-dashboard-controls"}},RequestViewAccess:{form:{"9.5.0":"request-view-access-form"},recipientInput:{"9.5.0":"request-view-access-recipient-input"},submitButton:{"9.5.0":"request-view-access-submit-button"}},PublicDashboardConfirmAccess:{submitButton:{"10.2.0":"data-testid confirm-access-submit-button"}},Explore:{url:{[t]:"/explore"},General:{container:{[t]:"data-testid Explore"},graph:{[t]:"Explore Graph"},table:{[t]:"Explore Table"},scrollView:{"9.0.0":"data-testid explorer scroll view"},addFromQueryLibrary:{"11.5.0":"data-testid explore add from query library button"}},toolbar:{bar:{"12.4.0":"data-testid explore-toolbar"},contentOutline:{"12.4.0":"data-testid explore-toolbar-content-outline-button"},goQueryless:{"12.4.0":"data-testid explore-toolbar-go-queryless-button"},split:{"12.4.0":"data-testid explore-toolbar-split-button"},addTo:{"12.4.0":"data-testid explore-toolbar-add-dropdown-button"},share:{"12.4.0":"data-testid explore-toolbar-share-button"},copyLink:{"12.4.0":"data-testid explore-toolbar-copy-link-button"},live:{"12.4.0":"data-testid explore-toolbar-live-button"},refreshPicker:{"12.4.0":"data-testid explore-toolbar-refresh-picker"},add:{"12.4.0":n=>`data-testid explore-toolbar-add-button ${n}`}},QueryHistory:{container:{"11.1.0":"data-testid QueryHistory"}}},SoloPanel:{url:{[t]:n=>`/d-solo/${n}`}},PluginsList:{page:{[t]:"Plugins list page"},list:{[t]:"Plugins list"},listItem:{[t]:"Plugins list item"},signatureErrorNotice:{"10.3.0":"data-testid Unsigned plugins notice",[t]:"Unsigned plugins notice"}},PluginPage:{page:{[t]:"Plugin page"},signatureInfo:{"10.3.0":"data-testid Plugin signature info",[t]:"Plugin signature info"},disabledInfo:{"10.3.0":"data-testid Plugin disabled info",[t]:"Plugin disabled info"}},PlaylistForm:{name:{[t]:"Playlist name"},interval:{[t]:"Playlist interval"},itemDelete:{"10.2.0":"data-testid playlist-form-delete-item"}},BrowseDashboards:{table:{body:{"10.2.0":"data-testid browse-dashboards-table"},row:{"10.2.0":n=>`data-testid browse dashboards row ${n}`},checkbox:{"10.0.0":n=>`data-testid ${n} checkbox`}},NewFolderForm:{form:{"10.2.0":"data-testid new folder form"},nameInput:{"10.2.0":"data-testid new-folder-name-input"},createButton:{"10.2.0":"data-testid new-folder-create-button"}}},SearchDashboards:{table:{"10.2.0":"Search results table"}},Search:{url:{"9.3.0":"/?search=openn"},FolderView:{url:{"9.3.0":"/?search=open&layout=folders"}}},PublicDashboards:{ListItem:{linkButton:{"9.3.0":"public-dashboard-link-button"},configButton:{"9.3.0":"public-dashboard-configuration-button"},trashcanButton:{"9.3.0":"public-dashboard-remove-button"},pauseSwitch:{"10.1.0":"data-testid public dashboard pause switch"}}},UserListPage:{tabs:{allUsers:{"10.0.0":"data-testid all-users-tab"},orgUsers:{"10.0.0":"data-testid org-users-tab"},anonUserDevices:{"10.2.3":"data-testid anon-user-devices-tab"},publicDashboardsUsers:{"10.0.0":"data-testid public-dashboards-users-tab"},users:{"10.0.0":"data-testid users-tab"}},org:{url:{"10.2.0":"/admin/users","9.5.0":"/org/users"}},admin:{url:{"9.5.0":"/admin/users"}},publicDashboards:{container:{"11.1.0":"data-testid public-dashboards-users-l
1ist"}},UserListAdminPage:{container:{"10.0.0":"data-testid user-list-admin-page"}},UsersListPage:{container:{"10.0.0":"data-testid users-list-page"}},UserAnonListPage:{container:{"10.4.0":"data-testid user-anon-list-page"}},UsersListPublicDashboardsPage:{container:{"10.0.0":"data-testid users-list-public-dashboards-page"},DashboardsListModal:{listItem:{"10.0.0":n=>`data-testid dashboards-list-item-${n}`}}}},ProfilePage:{url:{"10.2.0":"/profile"}},Plugin:{url:{[t]:n=>`/plugins/${n}`}},MigrateToCloud:{url:{"11.2.0":"/admin/migrate-to-cloud"}}},r=(0,a.L)(o),E=(0,a.L)(l),p={pages:r,components:E}},57002(O,T,e){e.d(T,{$0:()=>h,AY:()=>s,Hp:()=>n,IP:()=>i,LE:()=>d,MB:()=>a,NY:()=>t,Nm:()=>g,bE:()=>p,d_:()=>l,fY:()=>E,jQ:()=>r,k8:()=>u,mz:()=>c,rT:()=>o,tS:()=>S,tv:()=>P,w2:()=>b,wQ:()=>D,wi:()=>f,y6:()=>x});const a="en-US",t="fr-FR",l="es-ES",o="de-DE",r="pt-BR",E="zh-Hans",p="it-IT",n="ja-JP",i="id-ID",x="ko-KR",u="ru-RU",b="cs-CZ",D="nl-NL",P="hu-HU",d="pt-PT",S="pl-PL",h="sv-SE",c="tr-TR",s="zh-Hant",g=a,f="pseudo"},29686(O,T,e){e.d(T,{Vy:()=>D,Yq:()=>x,a3:()=>u,tX:()=>b});var a=e(32017),t=e.n(a),l=e(47078),o=e.n(l);const r=P=>o()(P,{isEqual:t()});function E(P){P.cache.keys.length=0,P.cache.values.length=0}let p;const n=r((P,d)=>{try{return new Intl.DateTimeFormat(P,d)}catch{return new Intl.DateTimeFormat("en-US",d)}}),i=r((P,d)=>new Intl.DurationFormat(P,d)),x=r((P,d={})=>{const S=typeof P=="string"?new Date(P):P;return n(p,d).format(S)}),u=r((P,d={})=>i(p,d).format(P)),b=(P,d,S={})=>{const h=typeof P=="string"?new Date(P):P,c=typeof d=="string"?new Date(d):d;return n(p,S).formatRange(h,c)},D=P=>{E(x),E(u),p=P}},92745(O,T,e){e.d(T,{JL:()=>v,Ph:()=>g,Z0:()=>s,eI:()=>M,fl:()=>D,kh:()=>h,t:()=>B,wR:()=>S,x6:()=>R});var a,t=e(72635),l=e(94997),o=e(96540),r=e(32389),E=e(57002),p=e(29686),n=e(22480);let i,x;const u=[...n.Y,{name:"Pseudo",code:E.wi}];function b({id:I,ns:A}={}){if(I){i=h().getFixedT(null,I),x=L=>o.createElement(r.x6,{shouldUnescape:!0,ns:I,...L});return}i=h().t,x=L=>o.createElement(r.x6,{shouldUnescape:!0,ns:A,...L})}async function D(I,A,L){if(!L?.length)return;const $=A===E.wi?E.Nm:A;return Promise.all(L.map(async k=>{try{const H=await k($);M($,I,H)}catch(H){console.error(`Error loading resources for namespace ${I} and language: ${$}`,H)}}))}function P(){if(h().options?.resources&&typeof h().options.resources=="object")return;const I=h().use(r.r9).init({resources:{},returnEmptyString:!1,lng:E.Nm});return b(),I}function d(){if((0,r.TO)()?.options?.react)return;const I={};(0,r.Pj)(I),(0,r.Vx)(h())}async function S(I,A){await P(),d();const L=g();return b({id:I}),await D(I,L,A),{language:L}}function h(){const I=t.Ay;return I&&I.default?I.default:I}async function c({ns:I,language:A=E.Nm,module:L}){const $={partialBundledLanguages:!0,resources:{},returnEmptyString:!1,supportedLngs:u.map(k=>k.code),fallbackLng:E.Nm,ns:I,postProcess:[E.wi]};if(A==="detect"){h().use(l.A);const k={order:["navigator"],caches:[]};$.detection=k}else $.lng=u.find(k=>k.code===A)?.code??void 0;if(L?h().use(L).use(r.r9):h().use(r.r9),A===E.wi){const{default:k}=await e.e(904).then(e.bind(e,80904));h().use(new k({languageToPseudo:E.wi,enabled:!0,wrapped:!0}))}return await h().init($),b({ns:I}),{language:g()}}function s(){return h()?.language||E.Nm}function g(){return h()?.resolvedLanguage||E.Nm}function f(){return h()?.options.ns}async function y(I){const A=u.find(L=>L.code===I)?.code??a;await h().changeLanguage(A)}async function v({language:I,ns:A,module:L},$){return(0,p.Vy)($),c({language:I,ns:A,module:L})}function M(I,A,L){h().addResourceBundle(I,A,L,!0,!1)}const B=(I,A,L)=>(P(),i||(console.warn("t() was called before i18n was initialized. This is probably caused by calling t() in the root module scope, instead of lazily on render"),i=h().t),i(I,A,L));function R(I){P();const A=x??r.x6;return o.createElement(A,{shouldUnescape:!0,...I})}},22480(O,T,e){e.d(T,{Y:()=>t});var a=e(57002);const t=[{code:a.MB,name:"English"},{code:a.NY,name:"Fran\xE7ais"},{code:a.d_,name:"Espa\xF1ol"},{code:a.rT,name:"Deutsch"},{code:a.fY,name:"\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09"},{code:a.jQ,name:"Portugu\xEAs Brasileiro"},{code:a.AY,name:"\u4E2D\u6587\uFF08\u7E41\u9AD4\uFF09"},{code:a.bE,name:"Italiano"},{code:a.Hp,name:"\u65E5\u672C\u8A9E"},{code:a.IP,name:"Bahasa Indonesia"},{code:a.y6,name:"\uD55C\uAD6D\uC5B4"},{code:a.k8,name:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{code:a.w2,name:"\u010Ce\u0161tina"},{code:a.wQ,name:"Nederlands"},{code:a.tv,name:"Magyar"},{code:a.LE,name:"Portugu\xEAs"},{code:a.tS,name:"Polski"},{code:a.$0,name:"Svenska"},{code:a.mz,name:"T\xFCrk\xE7e"}]},43173(O,T,e){e.d(T,{$:()=>i,p:()=>r});var a=e(2543),t=e.n(a),l=e(7467),o=e(5421);
1class r{constructor(u){this.publicDashboardsEnabled=!0,this.snapshotEnabled=!0,this.datasources={},this.panels={},this.apps={},this.auth={},this.minRefreshInterval="",this.appUrl="",this.appSubUrl="",this.namespace="default",this.windowTitlePrefix="Grafana - ",this.buildInfo={version:"1.0",commit:"1",env:"production"},this.externalUserMngLinkUrl="",this.externalUserMngLinkName="",this.externalUserMngInfo="",this.externalUserMngAnalytics=!1,this.externalUserMngAnalyticsParams="",this.externalUserUpgradeLinkUrl="",this.allowOrgCreate=!1,this.feedbackLinksEnabled=!0,this.disableLoginForm=!1,this.defaultDatasource="",this.authProxyEnabled=!1,this.exploreEnabled=!1,this.queryHistoryEnabled=!1,this.helpEnabled=!1,this.profileEnabled=!1,this.newsFeedEnabled=!0,this.ldapEnabled=!1,this.jwtHeaderName="",this.jwtUrlLogin=!1,this.sigV4AuthEnabled=!1,this.azureAuthEnabled=!1,this.secureSocksDSProxyEnabled=!1,this.samlEnabled=!1,this.samlName="",this.autoAssignOrg=!0,this.verifyEmailEnabled=!1,this.oauth={},this.rbacEnabled=!0,this.disableUserSignUp=!1,this.loginHint="",this.passwordHint="",this.viewersCanEdit=!1,this.disableSanitizeHtml=!1,this.trustedTypesDefaultPolicyEnabled=!1,this.cspReportOnlyEnabled=!1,this.liveEnabled=!0,this.liveNamespaced=!1,this.liveMessageSizeLimit=65536,this.featureToggles={},this.anonymousEnabled=!1,this.licenseInfo={},this.rendererAvailable=!1,this.rendererVersion="",this.rendererDefaultImageWidth=1e3,this.rendererDefaultImageHeight=500,this.rendererDefaultImageScale=1,this.supportBundlesEnabled=!1,this.http2Enabled=!1,this.grafanaJavascriptAgent={enabled:!1,apiKey:"",customEndpoint:"",consoleInstrumentalizationEnabled:!1,performanceInstrumentalizationEnabled:!1,cspInstrumentalizationEnabled:!1,tracingInstrumentalizationEnabled:!1,internalLoggerLevel:0,botFilterEnabled:!1},this.pluginCatalogURL="https://grafana.com/grafana/plugins/",this.pluginAdminEnabled=!0,this.pluginAdminExternalManageEnabled=!1,this.pluginCatalogHiddenPlugins=[],this.pluginCatalogManagedPlugins=[],this.pluginCatalogPreinstalledPlugins=[],this.pluginsCDNBaseURL="",this.expressionsEnabled=!1,this.awsAllowedAuthProviders=[],this.awsAssumeRoleEnabled=!1,this.awsPerDatasourceHTTPProxyEnabled=!1,this.azure={managedIdentityEnabled:!1,workloadIdentityEnabled:!1,userIdentityEnabled:!1,userIdentityFallbackCredentialsEnabled:!1,azureEntraPasswordCredentialsEnabled:!1},this.caching={enabled:!1,cleanCacheEnabled:!0,defaultTTLMs:3e5},this.unifiedAlertingEnabled=!1,this.unifiedAlerting={minInterval:"",stateHistory:{backend:void 0,primary:void 0,prometheusTargetDatasourceUID:void 0,prometheusMetricName:void 0},recordingRulesEnabled:!1,defaultRecordingRulesTargetDatasourceUID:void 0,alertStateHistoryBackend:void 0,alertStateHistoryPrimary:void 0},this.recordedQueries={enabled:!0},this.featureHighlights={enabled:!1},this.reporting={enabled:!0},this.analytics={enabled:!0},this.googleAnalytics4SendManualPageViews=!1,this.analyticsConsoleReporting=!1,this.dashboardPerformanceMetrics=[],this.panelSeriesLimit=0,this.sqlConnectionLimits={maxOpenConns:100,maxIdleConns:100,connMaxLifetime:14400},this.defaultDatasourceManageAlertsUiToggle=!0,this.defaultAllowRecordingRulesTargetAlertsUiToggle=!0,this.enableFrontendSandboxForPlugins=[],this.cloudMigrationPollIntervalMs=2e3,this.exploreDefaultTimeOffset="1h",this.listDashboardScopesEndpoint="",this.listScopesEndpoint="",this.openFeatureContext={},this.bootData=u.bootData,(0,a.merge)(this,u),this.dateFormats&&o.WC.update(this.dateFormats),p(this),E(this),this.bootData.settings.featureToggles=this.featureToggles,this.theme2=(0,l.g)(this.bootData.user.theme),this.bootData.user.lightTheme=this.theme2.isLight,this.theme=this.theme2.v1,this.regionalFormat=u.bootData.user.regionalFormat}}function E(x){const u=x.featureToggles,D=window.localStorage.getItem("grafana.featureToggles");if(D){const P=D.split(",");for(const d of P){const[S,h]=d.split("="),c=h==="true"||h==="1";u[S]=c,console.log(`Setting feature toggle ${S} = ${c} via localstorage`)}}}function p(x){if(window.location.href.indexOf("__feature")===-1)return;const u=x.buildInfo.env==="development",b=new Set(["queryServiceFromUI"]);
1new URLSearchParams(window.location.search).forEach((P,d)=>{if(d.startsWith("__feature.")){const S=x.featureToggles,h=d.substring(10),c=P==="true"||P==="";c!==S[d]&&(u||b.has(h)?(S[h]=c,console.log(`Setting feature toggle ${h} = ${c} via url`)):console.log(`Unable to change feature toggle ${h} via url in production.`))}})}let n=window.grafanaBootData;n||(console.error("window.grafanaBootData was not set by the time config was initialized"),n={assets:{dark:"",light:""},settings:{},user:{},navTree:[]});const i=new r({...n.settings,bootData:n})},75234(O,T,e){e.d(T,{E8:()=>l,H8:()=>p,J7:()=>n,_:()=>t,ah:()=>r,sR:()=>o});var a=e(68388);class t extends a.a{static{this.type="refresh"}}class l extends a.x{static{this.type="theme-changed"}}class o extends a.x{static{this.type="time-range-updated"}}class r extends a.x{static{this.type="copy-panel"}}let E;function p(i){E=i}function n(){return E}},45861(O,T,e){e.d(T,{$n:()=>b,Jt:()=>P,U_:()=>s,hs:()=>d,my:()=>g,s4:()=>x,vy:()=>S,z9:()=>D});var a,t=e(74848),l=e(22803),o=e(96540),r=e(63142),E=e(35484),p=e(3343),n=e(30703),i=e(45967);const x=["primary","secondary","destructive"],u=null,b=o.forwardRef(({"aria-label":y,variant:v="primary",size:M="md",fill:B="solid",icon:R,fullWidth:I,children:A,className:L,type:$="button",tooltip:k,disabled:H,tooltipPlacement:V,iconPlacement:G="left",onClick:rt,...et},X)=>{const ot=(0,r.$j)(),q=d({theme:ot,size:M,variant:v,fill:B,fullWidth:I,iconOnly:!A}),nt=(0,l.cx)(q.button,{[q.disabled]:H},L),w=!!k,st=R&&(0,t.jsx)(P,{icon:R,size:M,className:q.icon}),Z=(0,t.jsxs)("button",{className:nt,type:$,onClick:H?void 0:rt,...et,"aria-disabled":w&&H,disabled:!w&&H,ref:k?void 0:X,"aria-label":y??(!A&&typeof k=="string"?k:void 0),children:[G==="left"&&st,A&&(0,t.jsx)("span",{className:q.content,children:A}),G==="right"&&st]});return k?(0,t.jsx)(i.m,{ref:X,content:k,placement:V,children:Z}):Z});b.displayName="Button";const D=o.forwardRef(({"aria-label":y,variant:v="primary",size:M="md",fill:B="solid",icon:R,iconPlacement:I="left",fullWidth:A,children:L,className:$,onBlur:k,onFocus:H,disabled:V,tooltip:G,tooltipPlacement:rt,...et},X)=>{const ot=(0,r.$j)(),q=d({theme:ot,fullWidth:A,size:M,variant:v,fill:B,iconOnly:!L}),nt=(0,l.cx)(q.button,{[(0,l.css)(q.disabled,{pointerEvents:"none"})]:V},$),w=R&&(0,t.jsx)(P,{icon:R,size:M,className:q.icon}),st=(0,t.jsxs)("a",{className:nt,...et,tabIndex:V?-1:0,"aria-disabled":V,ref:G?void 0:X,"aria-label":y??(!L&&typeof G=="string"?G:void 0),children:[I==="left"&&w,L&&(0,t.jsx)("span",{className:q.content,children:L}),I==="right"&&w]});return G?(0,t.jsx)(i.m,{ref:X,content:G,placement:rt,children:st}):st});D.displayName="LinkButton";const P=({icon:y,size:v,className:M,iconType:B})=>y?o.isValidElement(y)?o.cloneElement(y,{className:M,size:v}):(0,t.jsx)(n.I,{name:y,size:v,className:M,type:B}):null,d=y=>{const{theme:v,variant:M,fill:B="solid",size:R,iconOnly:I,fullWidth:A}=y,{height:L,padding:$,fontSize:k}=(0,p.SM)(R,v),H=s(v,M,B),V=c(v,M,B),G=(0,E.getButtonFocusStyles)(v),rt=v.spacing.gridSize*$-1;return{button:(0,l.css)({label:"button",display:"inline-flex",alignItems:"center",gap:v.spacing(1),fontSize:k,fontWeight:v.typography.fontWeightMedium,fontFamily:v.typography.fontFamily,padding:`0 ${rt}px`,height:v.spacing(L),lineHeight:`${v.spacing.gridSize*L-2}px`,verticalAlign:"middle",cursor:"pointer",borderRadius:v.shape.radius.default,"&:focus":G,"&:focus-visible":G,"&:focus:not(:focus-visible)":(0,E.getMouseFocusStyles)(v),...A&&{flexGrow:1,justifyContent:"center"},...H,":disabled":V,"&[disabled]":V,[v.transitions.handleMotion("no-preference","reduce")]:{transition:v.transitions.create(["background-color","border-color","color"],{duration:v.transitions.duration.short})}}),disabled:(0,l.css)(V,{"&:hover":(0,l.css)(V)}),img:(0,l.css)({width:"16px",height:"16px",margin:v.spacing(0,1,0,.5)}),icon:I?(0,l.css)({marginRight:v.spacing(-$/2),marginLeft:v.spacing(-$/2)}):void 0,content:(0,l.css)({display:"flex",flexDirection:"row",alignItems:"center",whiteSpace:"nowrap",overflow:"hidden",height:"100%"})}};function S(y,v){return{background:v==="solid"?y.main:"transparent"}}function h(y,v,M){let B=v.border,R="transparent",I="transparent";
1return v.name==="secondary"&&(R=v.border,I=y.colors.emphasize(v.border,.25),B=y.colors.border.strong),M==="outline"?{background:"transparent",color:v.text,border:`1px solid ${B}`,"&:hover, &:focus":{background:v.transparent,borderColor:y.colors.emphasize(B,.25),color:v.text},"&:active":{...S(v,M)}}:M==="text"?{background:"transparent",color:v.text,border:"1px solid transparent","&:hover, &:focus":{background:v.transparent,textDecoration:"none",outline:"none"},"&:active":{...S(v,M)}}:{background:v.main,color:v.contrastText,border:`1px solid ${R}`,"&:hover":{background:v.shade,color:v.contrastText,boxShadow:y.shadows.z1,borderColor:I},"&:focus":{background:v.shade,color:v.contrastText},"&:active":{...S(v,M)}}}function c(y,v,M){const B={cursor:"not-allowed",boxShadow:"none",color:y.colors.text.disabled,transition:"none",background:y.colors.action.disabledBackground};return M==="text"?{...B,background:"transparent",border:"1px solid transparent"}:M==="outline"?{...B,background:"transparent",border:`1px solid ${y.colors.border.weak}`}:{...B,background:y.colors.action.disabledBackground,border:"1px solid transparent"}}function s(y,v,M){switch(v){case"secondary":return h(y,y.colors.secondary,M);
1case"destructive":return h(y,y.colors.error,M);case"success":return h(y,y.colors.success,M);case"primary":default:return h(y,y.colors.primary,M)}}const g=y=>(0,l.css)({background:"transparent",color:y.colors.text.primary,border:"none",padding:0}),f=y=>a({background:"transparent",border:"none",padding:0,fontFamily:"inherit",color:"inherit",height:"100%",cursor:"context-menu","&:hover":{background:"transparent",color:"inherit"}})},56297(O,T,e){e.d(T,{D:()=>o});var a=e(74848),t=e(22803),l=e(63142);const o=({error:E,errorInfo:p,title:n})=>{const i=(0,l.of)(r);return(0,a.jsxs)("div",{className:i,children:[(0,a.jsx)("h2",{children:n}),(0,a.jsxs)("details",{style:{whiteSpace:"pre-wrap"},children:[E&&E.toString(),(0,a.jsx)("br",{}),p&&p.componentStack]})]})};o.displayName="ErrorWithStack";const r=()=>(0,t.css)({width:"500px",margin:"64px auto"})},3343(O,T,e){e.d(T,{SM:()=>n,Xb:()=>o,g$:()=>r,gm:()=>l,lH:()=>E});var a=e(22803),t=e(35484);const l=i=>(0,a.css)({"&:focus":(0,t.getFocusStyles)(i)}),o=(i,x=!1)=>{const u=x?i.colors.error.border:i.components.input.borderColor,b=x?i.colors.error.shade:i.components.input.borderHover,D=i.components.input.background,P=i.components.input.text,d=i.isDark?"#2e2f35":"#bab4ca";return(0,a.cx)(r(i),(0,a.css)({background:D,lineHeight:i.typography.body.lineHeight,fontSize:i.typography.size.md,color:P,border:`1px solid ${u}`,"&:-webkit-autofill, &:-webkit-autofill:hover":{boxShadow:`inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px ${D}!important`,WebkitTextFillColor:`${P} !important`,borderColor:d},"&:-webkit-autofill:focus":{boxShadow:`0 0 0 2px ${i.colors.background.primary}, 0 0 0px 4px ${i.colors.primary.main}, inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 0 100px ${D}!important`,WebkitTextFillColor:`${P} !important`},"&:hover":{borderColor:b},"&:focus":{outline:"none"},"&:disabled":{backgroundColor:i.colors.action.disabledBackground,color:i.colors.action.disabledText,border:`1px solid ${i.colors.action.disabledBackground}`,"&:hover":{borderColor:u}},"&::placeholder":{color:i.colors.text.disabled,opacity:1}}))},r=i=>(0,a.css)({padding:i.spacing(0,1,0,1)}),E=()=>({sm:(0,a.css)({width:p("sm")}),md:(0,a.css)({width:p("md")}),lg:(0,a.css)({width:p("lg")}),auto:(0,a.css)({width:p("auto")})}),p=i=>{switch(i){case"sm":return"200px";case"md":return"320px";case"lg":return"580px";case"auto":default:return"auto"}};function n(i,x){switch(i){case"sm":return{padding:1,fontSize:x.typography.size.sm,height:x.components.height.sm};case"lg":return{padding:3,fontSize:x.typography.size.lg,height:x.components.height.lg};case"md":default:return{padding:2,fontSize:x.typography.size.md,height:x.components.height.md}}}},30703(O,T,e){e.d(T,{I:()=>u});var a=e(74848),t=e(22803),l=e(96540),o=e(55494),r=e(30360),E=e(63142),p=e(27046),n=e(58851);const i=b=>({icon:(0,t.css)({display:"inline-block",fill:"currentColor",flexShrink:0,label:"Icon",lineHeight:0,verticalAlign:"middle"}),orange:(0,t.css)({fill:b.v1.palette.orange}),spin:(0,t.css)({[b.transitions.handleMotion("no-preference","reduce")]:{animation:`${p.t} 2s infinite linear`}})});function x(b){const[,D]=(0,l.useState)(0),P=(0,l.useRef)(!1),d=(0,l.useRef)(b),S=(0,l.useRef)(null);let h=b;P.current&&b!==d.current?(h=d.current,S.current=b):!P.current&&b!==d.current&&(d.current=b,S.current=null,P.current=!0);const c=(0,l.useCallback)(()=>{P.current=!1,S.current&&(d.current=S.current,S.current=null,D(s=>s+1))},[]);return{nameToUse:h,handleLoad:c}}const u=(0,l.memo)((0,l.forwardRef)(({size:b="md",type:D="default",name:P,className:d,style:S,title:h="",...c},s)=>{const g=(0,E.of)(i),{nameToUse:f,handleLoad:y}=x(P);(0,r.n6)(f)||console.warn("Icon component passed an invalid icon name",f);const v=f==="fa fa-spinner"?"spinner":f,M=(0,n.cs)(b),B=M,R=f.startsWith("gf-bar-align")?16:f.startsWith("gf-interp")?30:M,I=(0,n.hO)(v,D),A=(0,t.cx)(g.icon,d,D==="mono"?{[g.orange]:f==="favorite"}:"",{[g.spin]:v==="spinner"});return(0,a.jsx)(o.default,{"data-testid":`icon-${v}`,"aria-hidden":c.tabIndex===void 0&&!h&&!c["aria-label"]&&!c["aria-labelledby"]&&!c["aria-describedby"],onLoad:y,onError:y,innerRef:s,src:I,width:R,height:B,title:h,className:A,style:S,loader:(0,a.jsx)("svg",{className:(0,t.cx)((0,t.css)({width:R,height:B}),A)}),...c})}));u.displayName="Icon"},58851(O,T,e){e.d(T,{Wj:()=>r,Xi:()=>t,cs:()=>l,hO:()=>E});const a=["grafana","favorite","heart-break","heart","panel-add","library-panel","circle-mono"];
1function t(p,n){return p?.startsWith("gf-")?"custom":a.includes(p)?"mono":n==="default"?"unicons":n==="solid"?"solid":"mono"}function l(p){switch(p){case"xs":return 12;case"sm":return 14;case"md":return 16;case"lg":return 18;case"xl":return 24;case"xxl":return 36;case"xxxl":return 48}}let o;function r(){if(o)return o;const p=typeof window<"u"&&window.__grafana_public_path__;return p?o=p+"build/img/icons/":o="public/build/img/icons/",o}function E(p,n="default"){const i=r(),x=t(p,n);return`${i}${x}/${p}.svg`}},76319(O,T,e){e.d(T,{K:()=>x});var a=e(74848),t=e(22803),l=e(96540),o=e(37615),r=e(63142),E=e(35484),p=e(45861),n=e(58851),i=e(45967);const x=l.forwardRef((b,D)=>{const{size:P="md",variant:d="secondary"}=b;let S;P==="xxl"||P==="xxxl"?((0,o.l)("IconButton",'size="xxl" and size="xxxl"','size="xl"'),S="xl"):S=P;const h=(0,r.of)(u,S,d);let c,s;if("tooltip"in b){const{tooltip:g}=b;c=typeof g=="string"?g:void 0}else if("ariaLabel"in b||"aria-label"in b){const{ariaLabel:g,["aria-label"]:f}=b;c=f||g,s=D}if("tooltip"in b){const{name:g,iconType:f,className:y,tooltip:v,tooltipPlacement:M,...B}=b;return(0,a.jsx)(i.m,{ref:D,content:v,placement:M,children:(0,a.jsx)("button",{...B,ref:s,"aria-label":c,className:(0,t.cx)(h.button,y),type:"button",children:(0,a.jsx)(p.Jt,{icon:g,size:S,className:h.icon,iconType:f})})})}else{const{name:g,iconType:f,className:y,...v}=b;return(0,a.jsx)("button",{...v,ref:s,"aria-label":c,className:(0,t.cx)(h.button,y),type:"button",children:(0,a.jsx)(p.Jt,{icon:g,size:S,className:h.icon,iconType:f})})}});x.displayName="IconButton";const u=(b,D,P)=>{const d=(0,n.cs)(D)+b.spacing.gridSize,S=(0,p.vy)(b.colors.secondary,"text");let h=b.colors.primary.text,c=b.colors.primary.transparent;return P==="secondary"?(h=b.colors.secondary.text,c=b.colors.secondary.transparent):P==="destructive"&&(h=b.colors.error.text,c=b.colors.error.transparent),{button:(0,t.css)({zIndex:0,position:"relative",margin:`0 ${b.spacing.x0_5} 0 0`,boxShadow:"none",border:"none",display:"inline-flex",background:"transparent",justifyContent:"center",alignItems:"center",padding:0,color:h,borderRadius:b.shape.radius.default,"&:active":{"&:before, &:hover:before":{backgroundColor:S.background}},"&[disabled], &:disabled":{cursor:"not-allowed",color:b.colors.action.disabledText,opacity:.65,"&:hover:before":{backgroundColor:"transparent"}},"&:before":{zIndex:-1,position:"absolute",opacity:0,width:`${d}px`,height:`${d}px`,borderRadius:b.shape.radius.default,content:'""',[b.transitions.handleMotion("no-preference","reduce")]:{transitionDuration:"0.2s",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionProperty:"opacity"}},"&:focus, &:focus-visible":(0,E.getFocusStyles)(b),"&:focus:not(:focus-visible)":(0,E.getMouseFocusStyles)(b),"&:hover:before":{backgroundColor:c,opacity:1}}),icon:(0,t.css)({verticalAlign:"baseline"})}}},74660(O,T,e){e.d(T,{W:()=>t});var a=e(96540);const t=a.createContext(!1);t.displayName="AutoSizeInputContext"},63527(O,T,e){e.d(T,{n:()=>u,p:()=>x});var a=e(74848),t=e(22803),l=e(96540),o=e(49185),r=e(63142),E=e(65240),p=e(3343),n=e(68079),i=e(74660);const x=(0,l.forwardRef)((b,D)=>{const{className:P,addonAfter:d,addonBefore:S,prefix:h,suffix:c,invalid:s,loading:g,width:f=0,...y}=b,[v,M]=(0,o.A)(),[B,R]=(0,o.A)(),I=(0,l.useContext)(i.W),A=(M.width||0)+(R.width||0),L=I&&f?f+A/8:void 0,$=(0,r.$j)(),k=u({theme:$,invalid:!!s,width:L?void 0:f}),H=c||g&&(0,a.jsx)(n.y,{inline:!0});return(0,a.jsxs)("div",{className:(0,t.cx)(k.wrapper,P),style:L?{width:$.spacing(L)}:void 0,"data-testid":"input-wrapper",children:[!!S&&(0,a.jsx)("div",{className:k.addon,children:S}),(0,a.jsxs)("div",{className:k.inputWrapper,children:[h&&(0,a.jsx)("div",{className:k.prefix,ref:v,children:h}),(0,a.jsx)("input",{ref:D,className:k.input,...y,onWheel:y.type==="number"?V=>{V.currentTarget.blur(),y.onWheel?.(V)}:y.onWheel,style:{paddingLeft:h?M.width+12:void 0,paddingRight:H||g?R.width+12:void 0}}),H&&(0,a.jsx)("div",{className:k.suffix,ref:B,children:H})]}),!!d&&(0,a.jsx)("div",{className:k.addon,children:d})]})});x.displayName="Input";
1const u=(0,E.N)(({theme:b,invalid:D=!1,width:P})=>{const d="28px",S=(0,t.css)({position:"absolute",top:0,zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",flexGrow:0,flexShrink:0,fontSize:b.typography.size.md,height:"100%",minWidth:d,color:b.colors.text.secondary});return{wrapper:(0,t.cx)((0,t.css)({label:"input-wrapper",display:"flex",width:P?b.spacing(P):"100%",height:b.spacing(b.components.height.md),borderRadius:b.shape.radius.default,"&:hover":{"> .prefix, .suffix, .input":{borderColor:D?b.colors.error.border:b.colors.primary.border},"input[type='number']":{appearance:"textfield"},"input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button":{WebkitAppearance:"inner-spin-button !important",opacity:1}}})),inputWrapper:(0,t.css)({label:"input-inputWrapper",position:"relative",flexGrow:1,zIndex:1,"&:not(:first-child):last-child":{"> input":{borderLeft:"none",borderTopLeftRadius:"unset",borderBottomLeftRadius:"unset"}},"&:first-child:not(:last-child)":{"> input":{borderRight:"none",borderTopRightRadius:"unset",borderBottomRightRadius:"unset"}},"&:not(:first-child):not(:last-child)":{"> input":{borderRight:"none",borderTopRightRadius:"unset",borderBottomRightRadius:"unset",borderTopLeftRadius:"unset",borderBottomLeftRadius:"unset"}},input:{"&:not(:first-child)":{paddingLeft:d},"&:not(:last-child)":{paddingRight:d},"&[readonly]":{cursor:"default"}}}),input:(0,t.cx)((0,p.gm)(b),(0,p.Xb)(b,D),(0,t.css)({label:"input-input",position:"relative",zIndex:0,flexGrow:1,borderRadius:b.shape.radius.default,height:"100%",width:"100%"})),inputDisabled:(0,t.css)({backgroundColor:b.colors.action.disabledBackground,color:b.colors.action.disabledText,border:`1px solid ${b.colors.action.disabledBackground}`,"&:focus":{boxShadow:"none"}}),addon:(0,t.css)({label:"input-addon",display:"flex",justifyContent:"center",alignItems:"center",flexGrow:0,flexShrink:0,position:"relative","&:first-child":{borderTopRightRadius:"unset",borderBottomRightRadius:"unset","> :last-child":{borderTopRightRadius:"unset",borderBottomRightRadius:"unset"}},"&:last-child":{borderTopLeftRadius:"unset",borderBottomLeftRadius:"unset","> :first-child":{borderTopLeftRadius:"unset",borderBottomLeftRadius:"unset"}},"> *:focus":{zIndex:2}}),prefix:(0,t.cx)(S,(0,t.css)({label:"input-prefix",paddingLeft:b.spacing(1),paddingRight:b.spacing(.5),borderRight:"none",borderTopRightRadius:"unset",borderBottomRightRadius:"unset"})),suffix:(0,t.cx)(S,(0,t.css)({label:"input-suffix",paddingLeft:b.spacing(1),paddingRight:b.spacing(1),borderLeft:"none",borderTopLeftRadius:"unset",borderBottomLeftRadius:"unset",right:0})),loadingIndicator:(0,t.css)({"& + *":{marginLeft:b.spacing(.5)}})}})},31286(O,T,e){e.d(T,{a:()=>p});var a=e(74848),t=e(22803),l=e(96540),o=e(63142),r=e(43990),E=e(15205);const p=(0,l.forwardRef)((u,b)=>{const{children:D,margin:P,marginX:d,marginY:S,marginTop:h,marginBottom:c,marginLeft:s,marginRight:g,padding:f,paddingX:y,paddingY:v,paddingTop:M,paddingBottom:B,paddingLeft:R,paddingRight:I,display:A,backgroundColor:L,grow:$,shrink:k,basis:H,flex:V,borderColor:G,borderStyle:rt,borderRadius:et,direction:X,justifyContent:ot,alignItems:q,boxShadow:nt,element:w,gap:st,width:Z,minWidth:mt,maxWidth:xt,height:Tt,minHeight:St,maxHeight:m,position:Y,...Q}=u,W=(0,o.of)(x,P,d,S,h,c,s,g,f,y,v,M,B,R,I,A,L,$,k,H,V,G,rt,et,X,ot,q,nt,st,Y),C=(0,o.of)(E.E,Z,mt,xt,Tt,St,m),U=w??"div";return(0,a.jsx)(U,{ref:b,className:(0,t.cx)(W.root,C),...Q,children:D})});p.displayName="Box";const n=(u,b)=>{switch(u){case"error":case"success":case"info":case"warning":return b.colors[u].borderTransparent;default:return u?b.colors.border[u]:void 0}},i=(u,b)=>{switch(u){case"error":case"success":case"info":case"warning":return b.colors[u].transparent;default:return u?b.colors.background[u]:void 0}},x=(u,b,D,P,d,S,h,c,s,g,f,y,v,M,B,R,I,A,L,$,k,H,V,G,rt,et,X,ot,q,nt)=>({root:(0,t.css)([(0,r.Y)(u,b,w=>({margin:u.spacing(w)})),(0,r.Y)(u,D,w=>({marginLeft:u.spacing(w),marginRight:u.spacing(w)})),(0,r.Y)(u,P,w=>({marginTop:u.spacing(w),marginBottom:u.spacing(w)})),(0,r.Y)(u,d,w=>({marginTop:u.spacing(w)})),(0,r.Y)(u,S,w=>({marginBottom:u.spacing(w)})),(0,r.Y)(u,h,w=>({marginLeft:u.spacing(w)})),(0,r.Y)(u,c,w=>({marginRight:u.spacing(w)})),(0,r.Y)(u,s,w=>({padding:u.spacing(w)})),(0,r.Y)(u,g,w=>({paddingLeft:u.spacing(w),paddingRight:u.spacing(w)})),(0,r.Y)(u,f,w=>({paddingTop:u.spacing(w),paddingBottom:u.spacing(w)})),(0,r.Y)(u,y,w=>({paddingTop:u.spacing(w)})),(0,r.Y)(u,v,w=>({paddingBottom:u.spacing(w)})),(0,r.Y)(u,M,w=>({paddingLeft:u.spacing(w)})),(0,r.Y)(u,B,w=>({paddingRight:u.spacing(w)})),(0,r.Y)(u,R,w=>({display:w})),(0,r.Y)(u,I,w=>({backgroundColor:i(w,u)})),(0,r.Y)(u,rt,w=>({flexDirection:w})),(0,r.Y)(u,A,w=>({flexGrow:w})),(0,r.Y)(u,L,w=>({flexShrink:w})),(0,r.Y)(u,$,w=>({flexBasis:w})),(0,r.Y)(u,k,w=>({flex:w})),(0,r.Y)(u,V,w=>({borderStyle:w})),(0,r.Y)(u,H,w=>({borderColor:n(w,u)})),(V||H)&&{borderWidth:"1px"},(0,r.Y)(u,et,w=>({justifyContent:w})),(0,r.Y)(u,X,w=>({alignItems:w})),(0,r.Y)(u,G,w=>
1({borderRadius:u.shape.radius[w]})),(0,r.Y)(u,ot,w=>({boxShadow:u.shadows[w]})),(0,r.Y)(u,q,w=>({gap:u.spacing(w)})),(0,r.Y)(u,nt,w=>({position:w}))])})},41654(O,T,e){e.d(T,{B:()=>p});var a=e(74848),t=e(22803),l=e(96540),o=e(63142),r=e(43990),E=e(15205);const p=l.forwardRef((i,x)=>{const{gap:u=1,rowGap:b,columnGap:D,alignItems:P,justifyContent:d,direction:S,wrap:h,children:c,grow:s,shrink:g,basis:f,flex:y,width:v,minWidth:M,maxWidth:B,height:R,minHeight:I,maxHeight:A,...L}=i,$=(0,o.of)(n,u,b,D,P,d,S,h,s,g,f,y),k=(0,o.of)(E.E,v,M,B,R,I,A);return(0,a.jsx)("div",{ref:x,className:(0,t.cx)($.flex,k),...L,children:c})});p.displayName="Stack";const n=(i,x,u,b,D,P,d,S,h,c,s,g)=>({flex:(0,t.css)([{display:"flex"},(0,r.Y)(i,d,f=>({flexDirection:f})),(0,r.Y)(i,S,f=>({flexWrap:typeof f=="boolean"?f?"wrap":"nowrap":f})),(0,r.Y)(i,D,f=>({alignItems:f})),(0,r.Y)(i,P,f=>({justifyContent:f})),(0,r.Y)(i,x,f=>({gap:i.spacing(f)})),(0,r.Y)(i,u,f=>({rowGap:i.spacing(f)})),(0,r.Y)(i,b,f=>({columnGap:i.spacing(f)})),(0,r.Y)(i,h,f=>({flexGrow:f})),(0,r.Y)(i,c,f=>({flexShrink:f})),(0,r.Y)(i,s,f=>({flexBasis:f})),(0,r.Y)(i,g,f=>({flex:f}))])})},43990(O,T,e){e.d(T,{Y:()=>t});function a(l,o,r,E){const p=o[E];if(p!=null)return{[l.breakpoints.up(E)]:r(p)}}function t(l,o,r){return o==null?null:typeof o!="object"||!("xs"in o)?r(o):[a(l,o,r,"xs"),a(l,o,r,"sm"),a(l,o,r,"md"),a(l,o,r,"lg"),a(l,o,r,"xl"),a(l,o,r,"xxl")]}},15205(O,T,e){e.d(T,{E:()=>l});var a=e(22803),t=e(43990);const l=(o,r,E,p,n,i,x)=>(0,a.css)([(0,t.Y)(o,r,u=>({width:o.spacing(u)})),(0,t.Y)(o,E,u=>({minWidth:o.spacing(u)})),(0,t.Y)(o,p,u=>({maxWidth:o.spacing(u)})),(0,t.Y)(o,n,u=>({height:o.spacing(u)})),(0,t.Y)(o,i,u=>({minHeight:o.spacing(u)})),(0,t.Y)(o,x,u=>({maxHeight:o.spacing(u)}))])},6975(O,T,e){e.d(T,{_:()=>r});var a=e(74848),t=e(22803),l=e(63142),o=e(68079);const r=({text:p,className:n,...i})=>{const x=(0,l.of)(E);return(0,a.jsxs)("div",{className:(0,t.cx)(x.container,n),...i,children:[p," ",(0,a.jsx)(o.y,{inline:!0})]})},E=p=>({container:(0,t.css)({marginBottom:p.spacing(4)})})},50992(O,T,e){e.d(T,{B:()=>P});var a=e(74848),t=e(22803),l=e(96540),o=e(54734),r=e(85629),E=e(63142),p=e(65232),n=e(78193);function i(S){for(let h=S.length-1;h>0;h--){const c=S.charAt(h);if(c==="$")return{index:h,prefix:S.substring(h)};if(c===" "||c==="	"||c==='"'||c==="'")return{index:h+1,prefix:S.substring(h+1)}}return{index:0,prefix:S}}function x(S,h,c,s){const g=[];for(const f of c)h&&!f.label.startsWith(h)||g.push({...f,kind:u(S,f.kind),range:s,insertText:f.insertText??f.label});return g}function u(S,h){switch(h){case n.q.Method:return S.languages.CompletionItemKind.Method;case n.q.Field:return S.languages.CompletionItemKind.Field;case n.q.Property:return S.languages.CompletionItemKind.Property;case n.q.Constant:return S.languages.CompletionItemKind.Constant;case n.q.Text:return S.languages.CompletionItemKind.Text}return S.languages.CompletionItemKind.Text}function b(S,h,c,s){if(!(!h||!c))return S.languages.registerCompletionItemProvider(h,{triggerCharacters:["$"],provideCompletionItems:(g,f,y)=>{if(g.id!==s)return;const v={startLineNumber:f.lineNumber,endLineNumber:f.lineNumber,startColumn:f.column,endColumn:f.column};if(y.triggerCharacter==="$")return v.startColumn=f.column-1,{suggestions:x(S,"$",c(),v)};const M=g.getValueInRange({startLineNumber:f.lineNumber,startColumn:1,endLineNumber:f.lineNumber,endColumn:f.column}),{index:B,prefix:R}=i(M);v.startColumn=B+1;const I=x(S,R,c(),v);if(I.length)return{suggestions:I}}})}class D extends l.PureComponent{constructor(h){super(h),this.loadCustomLanguage=()=>{const{language:c}=this.props,s=o.l.getIfExists(c);return s?s.init():Promise.resolve()},this.getEditorValue=()=>"",this.onBlur=()=>{const{onBlur:c}=this.props;c&&c(this.getEditorValue())},this.onFocus=()=>{const{onFocus:c}=this.props;c&&c(this.getEditorValue())},this.onSave=()=>{const{onSave:c}=this.props;c&&c(this.getEditorValue())},this.handleBeforeMount=c=>{this.monaco=c;const{onBeforeEditorMount:s}=this.props;s?.(c)},this.handleOnMount=(c,s)=>{const{getSuggestions:g,language:f,onChange:y,onEditorDidMount:v}=this.props;this.modelId=c.getModel()?.id,this.getEditorValue=()=>c.getValue(),g&&this.modelId&&(this.completionCancel=b(s,f,g,this.modelId)),c.onKeyDown(M=>{M.keyCode===s.KeyCode.KeyS&&(M.ctrlKey||M.metaKey)&&(M.preventDefault(),this.onSave())}),y&&c.getModel()?.onDidChangeContent(()=>y(c.getValue())),v&&v(c,s)}}componentWillUnmount(){this.completionCancel&&this.completionCancel.dispose(),this.props.onEditorWillUnmount?.()}componentDidUpdate(h){const{getSuggestions:c,language:s}=this.props,g=h.language!==s;if(h.getSuggestions!==c||g){if(this.completionCancel&&this.completionCancel.dispose(),!this.monaco){console.warn("Monaco instance not loaded yet");return}c&&this.modelId&&(this.completionCancel=b(this.monaco,s,c,this.modelId))}g&&this.loadCustomLanguage()}render(){const{theme:h,language:c,width:s,height:g,showMiniMap:f,showLineNumbers:y,readOnly:v,wordWrap:M,monacoOptions:B}=this.props,{alwaysConsumeMouseWheel:R,...I}=B??{},A=this.props.value??"",L=A.length>100,$=(0,t.cx)(d(h).container,this.props.containerStyles),k={wordWrap:M?"on":"off",tabSize:2,codeLens:!1,contextmenu:!1,minimap:{enabled:L&&f,renderCharacters:!1},readOnly:v,lineNumbersMinChars:4,lineDecorationsWidth:1*h.spacing.gridSize,overviewRulerBorder:!1,automaticLayout:!0,padding:{top:.5*h.spacing.gridSize,bottom:.5*h.spacing.gridSize},fixedOverflowWidgets:!0,scrollbar:{alwaysConsumeMouseWheel:R??!1}};return y||(k.glyphMargin=!1,k.folding=!1,k.lineNumbers="off",k.lineNumbersMinChars=0),(0,a.jsx)("div",{className:$,onFocus:this.onFocus,onBlur:this.onBlur,"data-testid":r.Tp.components.CodeEditor.container,children:(0,a.jsx)(p.m,{width:s,height:g,language:c,value:A,options:{...k,...I??{}},beforeMount:this.handleBeforeMount,onMount:this.handleOnMount,keepCurrentModel:!0})})}}const P=(0,E.cV)(D),d=S=>
1({container:(0,t.css)({borderRadius:S.shape.radius.default,border:`1px solid ${S.components.input.borderColor}`,overflow:"hidden"})})},65232(O,T,e){e.d(T,{m:()=>x});var a=e(74848),t=e(22803),l=e(85629),o=e(92745),r=e(63142),E=e(16817);const p=b=>{const D=(0,E.A)(async()=>await b);return{...D,dependency:D.value}};var n=e(56297),i=e(6975);const x=b=>{const D=(0,r.of)(u),{loading:P,error:d,dependency:S}=p(Promise.all([e.e(630),e.e(7396),e.e(8477),e.e(4463),e.e(8926)]).then(e.bind(e,84463)));if(P)return(0,a.jsx)(i._,{text:(0,o.t)("grafana-ui.monaco.loading-placeholder","Loading editor"),className:D.container});if(d)return(0,a.jsx)(n.D,{title:(0,o.t)("grafana-ui.monaco.error-label","React Monaco Editor failed to load"),error:d,errorInfo:{componentStack:d?.stack??""}});const h=S.ReactMonacoEditor;return(0,a.jsx)(h,{...b,loading:b.loading??null,wrapperProps:{"data-testid":l.Tp.components.ReactMonacoEditor.editorLazy}})},u=b=>({container:(0,t.css)({marginBottom:"unset",marginLeft:b.spacing(1)})})},78193(O,T,e){e.d(T,{q:()=>a});var a=(t=>(t.Method="method",t.Field="field",t.Property="property",t.Constant="constant",t.Text="text",t))(a||{})},15245(O,T,e){e.d(T,{ZL:()=>p,gF:()=>n,qB:()=>i});var a=e(74848),t=e(22803),l=e(96540),o=e(40961),r=e(85629),E=e(63142);function p(b){const{children:D,className:P,root:d,forwardedRef:S}=b,h=(0,E.$j)(),c=(0,l.useRef)(null),s=d??n();return c.current||(c.current=document.createElement("div"),P&&(c.current.className=P),c.current.style.position="relative",c.current.style.zIndex=`${b.zIndex??h.zIndex.portal}`),(0,l.useLayoutEffect)(()=>(c.current&&s.appendChild(c.current),()=>{c.current&&s.removeChild(c.current)}),[s]),o.createPortal((0,a.jsx)("div",{ref:S,children:D}),c.current)}function n(){return window.document.getElementById("grafana-portal-container")??document.body}function i(){const b=(0,E.of)(x);return(0,a.jsx)("div",{id:"grafana-portal-container","data-testid":r.Tp.components.Portal.container,className:b.grafanaPortalContainer})}const x=b=>({grafanaPortalContainer:(0,t.css)({position:"fixed",top:0,width:"100%",zIndex:b.zIndex.portal})}),u=l.forwardRef((b,D)=>(0,a.jsx)(p,{...b,forwardedRef:D}));u.displayName="RefForwardingPortal"},92807(O,T,e){e.d(T,{P:()=>n});var a=e(74848),t=e(22803),l=e(96540),o=e(63142),r=e(31286);const E=({children:x})=>{const[u,b]=(0,l.useState)(!1),[D,P]=(0,l.useState)(!1),d=(0,l.useRef)(null),S=(0,l.useRef)(null),h=(0,o.of)(p);return(0,l.useEffect)(()=>{const c=new IntersectionObserver(s=>{s.forEach(g=>{g.target===d.current?b(!g.isIntersecting):g.target===S.current&&P(!g.isIntersecting)})});return[d,S].forEach(s=>{s.current&&c.observe(s.current)}),()=>c.disconnect()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,t.cx)(h.scrollIndicator,h.scrollTopIndicator,{[h.scrollIndicatorVisible]:u}),role:"presentation"}),(0,a.jsxs)("div",{className:h.scrollContent,children:[(0,a.jsx)("div",{ref:d,className:(0,t.cx)(h.scrollMarker,h.scrollTopMarker)}),x,(0,a.jsx)("div",{ref:S,className:(0,t.cx)(h.scrollMarker,h.scrollBottomMarker)})]}),(0,a.jsx)("div",{className:(0,t.cx)(h.scrollIndicator,h.scrollBottomIndicator,{[h.scrollIndicatorVisible]:D}),role:"presentation"})]})},p=x=>{const u=`rgba(0, 0, 0, ${x.isDark?.25:.08})`;return{scrollContent:(0,t.css)({display:"flex",flexDirection:"column",flexGrow:1,position:"relative"}),scrollIndicator:(0,t.css)({height:`max(5%, ${x.spacing(3)})`,left:0,opacity:0,pointerEvents:"none",position:"absolute",right:0,[x.transitions.handleMotion("no-preference","reduce")]:{transition:x.transitions.create("opacity")},zIndex:1}),scrollTopIndicator:(0,t.css)({background:`linear-gradient(0deg, transparent, ${u})`,top:0}),scrollBottomIndicator:(0,t.css)({background:`linear-gradient(180deg, transparent, ${u})`,bottom:0}),scrollIndicatorVisible:(0,t.css)({opacity:1}),scrollMarker:(0,t.css)({height:"1px",left:0,pointerEvents:"none",position:"absolute",right:0}),scrollTopMarker:(0,t.css)({top:0}),scrollBottomMarker:(0,t.css)({bottom:0})}},n=(0,l.forwardRef)(({children:x,showScrollIndicators:u=!1,onScroll:b,overflowX:D="auto",overflowY:P="auto",scrollbarWidth:d="thin",...S},h)=>{const c=(0,o.of)(i,d,P,D),g={...{maxHeight:"100%",minHeight:0,minWidth:0},...S};
1return(0,a.jsx)(r.a,{...g,display:"flex",direction:"column",flex:1,position:"relative",children:(0,a.jsx)("div",{tabIndex:0,onScroll:b,className:c.scroller,ref:h,children:u?(0,a.jsx)(E,{children:x}):x})})});n.displayName="ScrollContainer";const i=(x,u,b,D)=>({scroller:(0,t.css)({display:"flex",flex:1,flexDirection:"column",overflowX:D,overflowY:b,scrollbarWidth:u})})},68509(O,T,e){e.d(T,{Iv:()=>W,DW:()=>m,gZ:()=>Q,KF:()=>St,l6:()=>Tt,KA:()=>I.K,ip:()=>Y});var a=e(74848),t=e(2543),l=e(96540),o=e(46005),r=e(8539),E=e(93943),p=e(66963),n=e(47184),i=e(92745),x=e(63142),u=e(30703),b=e(15245),D=e(73757);const P=C=>{let U;return"data-testid"in C.selectProps&&C.selectProps["data-testid"]&&(U=C.selectProps["data-testid"]+"-input"),(0,a.jsx)(D.c.Input,{...C,"data-testid":U})};var d=e(68079);function S({selectProps:C}){const _=C.menuIsOpen?"search":"angle-down",j="md";return C.isLoading?(0,a.jsx)(d.y,{inline:!0}):(0,a.jsx)(u.I,{name:_,size:j})}var h=e(22803),c=e(63527);const s=(0,l.forwardRef)((C,U)=>{const{children:_}=C,j=(0,x.$j)(),F=(0,c.n)({theme:j,invalid:!1});return(0,a.jsx)("div",{className:(0,h.cx)(F.suffix,(0,h.css)({position:"relative"})),ref:U,children:_})});s.displayName="IndicatorsContainer";var g=e(3343);const f=(0,l.forwardRef)(function({focused:U,invalid:_,disabled:j,children:F,innerProps:z,prefix:N,...at},J){const it=(0,x.of)(y,_,!!N);return(0,a.jsxs)("div",{className:it.input,...z,ref:J,children:[N&&(0,a.jsx)("div",{className:(0,h.cx)(it.prefix),children:N}),F]})}),y=(C,U,_)=>{const j=(0,c.n)({theme:C,invalid:U});return{input:(0,h.cx)((0,g.g$)(C),(0,h.css)({width:"100%",maxWidth:"100%",display:"flex",flexDirection:"row",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between",paddingRight:0,position:"relative",boxSizing:"border-box"}),_&&(0,h.css)({paddingLeft:0})),prefix:(0,h.cx)(j.prefix,(0,h.css)({position:"relative"}))}};var v=e(76319),M=e(69665);const B=({innerProps:C,children:U})=>{const _=(0,x.$j)(),j=(0,M.J)(_);return(0,a.jsx)("div",{...C,className:j.multiValueContainer,children:U})},R=({children:C,innerProps:U})=>{const _=(0,x.$j)(),j=(0,M.J)(_);return(0,a.jsx)(v.K,{...U,name:"times",size:"sm",className:j.multiValueRemove,tooltip:(0,i.t)("grafana-ui.select.multi-value-remove","Remove")})};var I=e(73744),A=e(72508);const L=({children:C,cx:U,getClassNames:_,getStyles:j,Heading:F,headingProps:z,label:N,selectProps:at,theme:J})=>{const it=(0,x.of)(M.J);return(0,a.jsxs)("div",{className:it.group,children:[(0,a.jsx)(F,{cx:U,getClassNames:_,getStyles:j,selectProps:at,theme:J,...z,children:N}),C]})};var $=e(66404);const k=C=>{const U=(0,x.of)(M.J);return(0,a.jsx)("div",{className:U.groupHeader,children:(0,a.jsx)($.E,{weight:"bold",variant:"bodySmall",color:"secondary",children:C.children??""})})};var H=e(89534);class V extends l.Component{constructor(){super(...arguments),this.ref=(0,l.createRef)()}componentDidUpdate(U){if(this.ref.current&&this.props.selectProps.autoWidth&&!this.props.selectProps.maxVisibleValues&&!(0,t.isEqual)(U.selectProps.value,this.props.selectProps.value)){this.ref.current.style.minWidth="0px";const _=this.ref.current.offsetWidth;this.ref.current.style.minWidth=`${_}px`}}render(){const{children:U}=this.props,{selectProps:_}=this.props;if(_&&Array.isArray(U)&&Array.isArray(U[0])&&_.maxVisibleValues!==void 0&&!(_.showAllSelectedWhenOpen&&_.menuIsOpen)){const[j,...F]=U,z=j.slice(0,_.maxVisibleValues);return this.renderContainer([z,...F])}return this.renderContainer(U)}renderContainer(U){const{isMulti:_,theme:j,selectProps:F}=this.props,z=this.props.selectProps?.noMultiValueWrap&&!this.props.selectProps?.menuIsOpen,N=(0,M.J)(j),at=F["data-testid"],J=(0,h.cx)(N.valueContainer,{[N.valueContainerMulti]:_&&!z,[N.valueContainerMultiNoWrap]:_&&z});return(0,a.jsx)("div",{ref:this.ref,"data-testid":at,className:J,children:U})}}const G=(0,x.cV)(V);var rt=e(57830),et=e(29362);const X=(C,U)=>{if(Array.isArray(C)){const _=C.filter(Boolean);return _?.length?_:void 0}if(typeof C=="object")return[C];if(typeof C=="string"||typeof C=="number"){const _=ot(C,U);if(_)return[_]}},ot=(C,U)=>{for(const _ of U)if("options"in _){let j=ot(C,_.options);if(j)return j}else if("value"in _&&_.value===C)return _;return null},q=C=>C.map(({description:U,..._})=>_),nt=C=>{const{children:U,innerProps:_,selectProps:{menuIsOpen:j,onMenuClose:F,onMenuOpen:z},isFocused:N,isMulti:at,getValue:J,innerRef:it}=C,lt=C.selectProps;return lt.renderControl?l.createElement(lt.renderControl,{isOpen:j,value:at?J():J()[0],ref:it,onClick:j?F:z,onBlur:F,disabled:!!lt.disabled,invalid:!!lt.invalid}):(0,a.jsx)(f,{ref:it,innerProps:_,prefix:lt.prefix,focused:N,invalid:!!lt.invalid,disabled:!!lt.disabled,children:U})};function w(C,U){return U.length===C.length?et.X.allSelected:C.length===0?et.X.noneSelected:et.X.indeterminate}function st({allowCustomValue:C=!1,allowCreateWhileLoading:U=!1,"aria-label":_,"data-testid":j,autoFocus:
1F=!1,backspaceRemovesValue:z=!0,blurInputOnSelect:N,cacheOptions:at,className:J,closeMenuOnSelect:it=!0,components:lt,createOptionPosition:dt="last",defaultOptions:K,defaultValue:ct,disabled:bt=!1,filterOption:It,formatCreateLabel:Nt,getOptionLabel:Kt,getOptionValue:Ht,inputValue:Rt,invalid:Yt,isClearable:Gt=!1,id:Qt,isLoading:Jt=!1,isMulti:vt=!1,inputId:Xt,isOpen:wt,isOptionDisabled:Zt,isSearchable:qt=!0,loadOptions:yt,loadingMessage:te="Loading options...",maxMenuHeight:Ot=300,minMenuHeight:ee,maxVisibleValues:ae,menuPlacement:_t="auto",menuPosition:ne="fixed",menuShouldPortal:Lt=!0,noOptionsMessage:re=(0,i.t)("grafana-ui.select.no-options-label","No options found"),onBlur:oe,onChange:Mt,onCloseMenu:se,onCreateOption:ie,onInputChange:le,onKeyDown:de,onMenuScrollToBottom:Ut,onMenuScrollToTop:Wt,onOpenMenu:ce,onFocus:ue,toggleAllOptions:ht,openMenuOnFocus:pe=!1,options:pt=[],placeholder:ge=(0,i.t)("grafana-ui.select.placeholder","Choose"),prefix:fe,renderControl:me,showAllSelectedWhenOpen:he=!0,tabSelectsValue:be=!0,value:Et,virtualized:kt=!1,noMultiValueWrap:ye,width:Ft,isValidNewOption:xe,formatOptionLabel:ve,hideSelectedOptions:Ee,selectRef:De,...Pe}){const $t=(0,x.$j)(),Bt=(0,M.J)($t),Ct=(0,l.useRef)(null),[Te,Se]=(0,l.useState)(!1),Me=(0,rt.z)($t,Ft),[jt,Ce]=(0,l.useState)(!!Rt);(0,l.useImperativeHandle)(De,()=>Ct.current,[]),(0,l.useEffect)(()=>{if(yt&&wt&&Ct.current&&Ct.current.controlRef&&_t==="auto"){const tt=window.innerHeight-Ct.current.controlRef.getBoundingClientRect().bottom;Se(tt<Ot)}},[Ot,_t,yt,wt]);const _e=(0,l.useCallback)((tt,gt)=>{if(vt&&tt==null)return Mt([],gt);Mt(tt,gt)},[vt,Mt]);let At=o.Ay;const Dt={};let zt={},ut;if(vt&&yt)ut=Et;else if(vt&&Et&&Array.isArray(Et)&&!yt)ut=Et.map(tt=>{const gt=ot(tt.value??tt,pt);return gt||(typeof tt=="string"?(0,n.z)(tt):tt)});else if(yt){const tt=ct||Et;ut=tt?[tt]:[]}else ut=X(Et,pt);const Ie={"aria-label":_,"data-testid":j,autoFocus:F,backspaceRemovesValue:z,blurInputOnSelect:N,captureMenuScroll:Ut||Wt,closeMenuOnSelect:it,defaultValue:ct,disabled:bt,filterOption:jt?It:null,getOptionLabel:Kt,getOptionValue:Ht,hideSelectedOptions:Ee,inputValue:Rt,invalid:Yt,isClearable:Gt,id:Qt,isDisabled:bt,isLoading:Jt,isMulti:vt,inputId:Xt,isOptionDisabled:Zt,isSearchable:qt,maxMenuHeight:Ot,minMenuHeight:ee,maxVisibleValues:ae,menuIsOpen:wt,menuPlacement:_t==="auto"&&Te?"top":_t,menuPosition:Lt?"fixed":ne,menuShouldBlockScroll:!0,menuPortalTarget:Lt&&(0,b.gF)(),menuShouldScrollIntoView:!1,onBlur:oe,onChange:_e,onInputChange:(tt,gt)=>{const ft=le?.(tt,gt)??tt,Vt=!!ft;return Vt!==jt&&Ce(Vt),ft},onKeyDown:de,onMenuClose:se,onMenuOpen:ce,onMenuScrollToBottom:Ut,onMenuScrollToTop:Wt,onFocus:ue,formatOptionLabel:ve,openMenuOnFocus:pe,options:kt?q(pt):pt,placeholder:ge,prefix:fe,renderControl:me,showAllSelectedWhenOpen:he,tabSelectsValue:be,value:vt?ut:ut?.[0],noMultiValueWrap:ye};C&&(At=p.A,Dt.allowCreateWhileLoading=U,Dt.formatCreateLabel=Nt??Z,Dt.onCreateOption=ie,Dt.createOptionPosition=dt,Dt.isValidNewOption=xe),yt&&(At=C?E.A:r.A,zt={loadOptions:yt,cacheOptions:at,defaultOptions:K});const we=kt?A.zd:A.eB;let Pt=et.X.noneSelected;ht?.enabled&&(0,t.isArray)(ut)&&(ht?.determineToggleAllState?Pt=ht.determineToggleAllState(ut,pt):Pt=w(ut,pt));const Oe=(0,l.useCallback)(()=>{let tt=Pt===et.X.noneSelected?pt:[];ht?.optionsFilter&&(tt=Pt===et.X.noneSelected?pt.filter(ht.optionsFilter):pt.filter((0,t.negate)(ht.optionsFilter))),Mt(tt,{action:"select-option",option:{}})},[pt,ht,Mt,Pt]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(At,{ref:Ct,components:{MenuList:we,Group:L,GroupHeading:k,ValueContainer:G,IndicatorsContainer:mt,IndicatorSeparator:xt,Control:nt,Option:A.o5,ClearIndicator(tt){const{clearValue:gt}=tt;return(0,a.jsx)(u.I,{name:"times",role:"button","aria-label":(0,i.t)("grafana-ui.select.clear-value","Clear value"),className:Bt.singleValueRemove,tabIndex:0,onMouseDown:ft=>{ft.preventDefault(),ft.stopPropagation(),gt()},onKeyDown:ft=>{(ft.key==="Enter"||ft.key===" ")&&(ft.preventDefault(),ft.stopPropagation(),gt())}})},LoadingIndicator(){return null},LoadingMessage(){return(0,a.jsx)("div",{className:Bt.loadingMessage,children:te})},NoOptionsMessage(){return(0,a.jsx)("div",{className:Bt.loadingMessage,"aria-label":(0,i.t)("grafana-ui.select.empty-options","No options provided"),children:re})},DropdownIndicator:S,SingleValue(tt){return(0,a.jsx)(H.K,{...tt,isDisabled:bt})},SelectContainer:I.K,MultiValueContainer:B,MultiValueRemove:bt?()=>null:R,Input:P,...lt},toggleAllOptions:ht?.enabled&&{state:Pt,selectAllClicked:Oe,selectedCount:(0,t.isArray)(ut)?ut.length:void 0},styles:Me,className:J,autoWidth:Ft==="auto",...Ie,...Dt,...zt,...Pe})})}function Z(C){return(0,a.jsxs)("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[(0,a.jsx)("div",{children:C}),(0,a.jsx)("div",{style:{flexGrow:1}}),(0,a.jsx)("div",{className:"muted small",style:{display:"flex",gap:"8px",alignItems:"center"},children:(0,a.jsx)(i.x6,{i18nKey:"grafana-ui.select.default-create-label",children:"Hit enter to add"})})]})}function mt(C){const{showAllSelectedWhenOpen:U,maxVisibleValues:_,menuIsOpen:j}=C.selectProps,F=C.getValue();if(_!==void 0&&Array.isArray(C.children)){const z=F.length;if(z>_&&!(U&&j)){const N=[...C.children];return N.splice(-1,0,(0,a.jsx)("span",{id:"excess-values",children:`(+${z-_})`},"excess-values")),(0,a.jsx)(s,{...C,children:N})}}return(0,a.jsx)(s,{...C})}
1function xt(){return(0,a.jsx)(a.Fragment,{})}function Tt(C){return(0,a.jsx)(st,{...C})}function St(C){return(0,a.jsx)(st,{...C,isMulti:!0})}function m(C){return(0,a.jsx)(st,{...C})}function Y(C){return(0,a.jsx)(st,{virtualized:!0,...C})}function Q(C){return(0,a.jsx)(st,{virtualized:!0,...C})}function W(C){return(0,a.jsx)(st,{...C,isMulti:!0})}},73744(O,T,e){e.d(T,{K:()=>n});var a=e(74848),t=e(22803),l=e(73757),o=e(63142),r=e(35484),E=e(3343),p=e(63527);const n=x=>{const{isDisabled:u,isFocused:b,children:D,selectProps:{invalid:P=!1}}=x,d=(0,o.of)(i,b,u,P);return(0,a.jsx)(l.c.SelectContainer,{...x,className:(0,t.cx)(d.wrapper,x.className),children:D})},i=(x,u,b,D)=>{const P=(0,p.n)({theme:x,invalid:D});return{wrapper:(0,t.cx)(P.wrapper,(0,E.Xb)(x,D),u&&(0,t.css)((0,r.getFocusStyles)(x)),b&&P.inputDisabled,(0,t.css)({position:"relative",boxSizing:"border-box",flexDirection:"row",flexWrap:"wrap",alignItems:"stretch",justifyContent:"space-between",minHeight:x.spacing(x.components.height.md),height:"auto",maxWidth:"100%",padding:0,cursor:b?"not-allowed":"pointer"}))}}},72508(O,T,e){e.d(T,{eB:()=>S,o5:()=>M,zd:()=>f});var a=e(74848),t=e(22803),l=e(2543),o=e.n(l),r=e(96540),E=e(97222),p=e(30360),n=e(85629),i=e(92745),x=e(63142),u=e(45861),b=e(30703),D=e(92807),P=e(69665),d=e(29362);const S=({children:B,maxHeight:R,innerRef:I,innerProps:A,selectProps:L})=>{const $=(0,x.$j)(),k=(0,P.J)($),{toggleAllOptions:H,components:V}=L,G=V?.Option??M;return(0,a.jsx)("div",{...A,"data-testid":n.Tp.components.Select.menu,className:k.menu,style:{maxHeight:R},"aria-label":(0,i.t)("grafana-ui.select.menu-label","Select options menu"),children:(0,a.jsxs)(D.P,{ref:I,maxHeight:"inherit",overflowX:"hidden",showScrollIndicators:!0,padding:.5,children:[H&&(0,a.jsx)(v,{state:H.state,optionComponent:G,selectedCount:H.selectedCount,onClick:H.selectAllClicked}),B]})})};S.displayName="SelectMenu";const h=37,c=8,s=8,g=58,f=({children:B,maxHeight:R,innerRef:I,options:A,selectProps:L,focusedOption:$})=>{const k=(0,x.$j)(),H=(0,P.J)(k),V=(0,r.useRef)(null),{toggleAllOptions:G,components:rt}=L,et=rt?.Option??M,X=(0,r.useMemo)(()=>A.flatMap(Z=>Z.options?[Z,...Z.options]:[Z]),[A]),ot=X.findIndex(Z=>Z.value===$?.value);if((0,r.useLayoutEffect)(()=>{V.current?.scrollToItem(ot)},[ot]),!Array.isArray(B))return null;const q=B.flatMap((Z,mt)=>y(Z)?[r.cloneElement(Z,{children:null}),...Z.props.children.slice(0,-1),r.cloneElement(Z.props.children.at(-1),{innerProps:{...Z.props.children.at(-1).props.innerProps,style:{borderBottom:`1px solid ${k.colors.border.weak}`,height:h}}})]:[Z]);G&&q.unshift((0,a.jsx)(v,{optionComponent:et,state:G.state,selectedCount:G.selectedCount,onClick:G.selectAllClicked}));let nt=(0,l.max)(X.map(Z=>Z.label?.length))??0;G&&nt<12&&(nt=12);const w=nt*c+s*2+g,st=Math.min(q.length*h,R);return(0,a.jsx)(E.Y1,{outerRef:I,ref:V,className:H.menu,height:st,width:w,"aria-label":(0,i.t)("grafana-ui.select.menu-label","Select options menu"),itemCount:q.length,itemSize:h,children:({index:Z,style:mt})=>(0,a.jsx)("div",{style:{...mt,overflow:"hidden"},children:q[Z]})})},y=B=>r.isValidElement(B)&&Array.isArray(B.props.children);f.displayName="VirtualizedSelectMenu";const v=({state:B,onClick:R,selectedCount:I,optionComponent:A})=>{const L=(0,x.$j)(),$=(0,P.J)(L);return(0,a.jsx)("button",{"data-testid":n.Tp.components.Select.toggleAllOptions,className:(0,t.css)((0,u.my)(L),$.toggleAllButton,{height:h}),onClick:R,children:A({isDisabled:!1,isSelected:B===d.X.allSelected,isFocused:!1,data:{},indeterminate:B===d.X.indeterminate,innerRef:()=>{},innerProps:{},children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.x6,{i18nKey:"select.select-menu.selected-count",children:"Selected"}),` (${I??0})`]})})})},M=({children:B,data:R,innerProps:I,innerRef:A,isFocused:L,isSelected:$,renderOptionLabel:k})=>{const H=(0,x.$j)(),V=(0,P.J)(H),G=R.icon?(0,p.Uo)(R.icon):void 0,{onMouseMove:rt,onMouseOver:et,...X}=I;return(0,a.jsxs)("div",{ref:A,className:(0,t.cx)(V.option,L&&V.optionFocused,$&&V.optionSelected,R.isDisabled&&V.optionDisabled),...X,"data-testid":n.Tp.components.Select.option,title:R.title,children:[G&&(0,a.jsx)(b.I,{name:G,className:V.optionIcon}),R.imgUrl&&(0,a.jsx)("img",{className:V.optionImage,src:R.imgUrl,alt:R.label||String(R.value)}),(0,a.jsxs)("div",{className:V.optionBody,children:[(0,a.jsx)("span",{children:k?k(R):B}),R.description&&(0,a.jsx)("div",{className:V.optionDescription,children:R.description}),R.component&&(0,a.jsx)(R.component,{})]})]})};M.displayName="SelectMenuOptions"},89534(O,T,e){e.d(T,{K:()=>D});var a=e(74848),t=e(22803),l=e(73757),o=e(30360),r=e(63142),E=e(96540);function p(d,S={}){const{duration:h=250,delay:c=250}=S,[s,g]=(0,E.useState)(d),f=(0,E.useRef)(void 0);return(0,E.useEffect)(()=>{let y;if(d)y=setTimeout(()=>
1{f.current=new Date,g(d)},c);else{const v=f.current?Date.now()-f.current.valueOf():0,M=()=>{f.current=void 0,g(d)};v>=h?M():y=setTimeout(M,h-v)}return()=>{y&&(clearTimeout(y),y=void 0)}},[d,h,c]),s}var n=e(30703),i=e(68079),x=e(19052),u=e(4819);const b=d=>({singleValue:(0,t.css)({label:"singleValue",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",boxSizing:"border-box",maxWidth:"100%",gridArea:"1 / 1 / 2 / 3"}),spinnerWrapper:(0,t.css)({width:"16px",height:"16px",display:"inline-block",marginRight:"10px",position:"relative",verticalAlign:"middle",overflow:"hidden"}),spinnerIcon:(0,t.css)({width:"100%",height:"100%",position:"absolute"}),optionIcon:(0,t.css)({marginRight:d.spacing(1),color:d.colors.text.secondary}),disabled:(0,t.css)({color:d.colors.text.disabled}),isOpen:(0,t.css)({color:d.colors.text.disabled})}),D=d=>{const{children:S,data:h,isDisabled:c}=d,s=(0,r.of)(b),g=p(h.loading||!1,{delay:250,duration:750}),f=h.icon?(0,o.Uo)(h.icon):void 0;return(0,a.jsxs)(l.c.SingleValue,{...d,className:(0,t.cx)(s.singleValue,c&&s.disabled,d.selectProps.menuIsOpen&&s.isOpen),children:[h.imgUrl?(0,a.jsx)(P,{loading:g,imgUrl:h.imgUrl,styles:s,alt:String(h.label??h.value)}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.n,{horizontal:!0,size:16,visible:g,duration:150,children:(0,a.jsx)("div",{className:s.spinnerWrapper,children:(0,a.jsx)(i.y,{className:s.spinnerIcon,inline:!0})})}),f&&(0,a.jsx)(n.I,{name:f,role:"img",className:s.optionIcon})]}),!h.hideText&&S]})},P=d=>(0,a.jsxs)("div",{className:d.styles.spinnerWrapper,children:[(0,a.jsx)(x.A,{duration:150,visible:d.loading,children:(0,a.jsx)(i.y,{className:d.styles.spinnerIcon,inline:!0})}),(0,a.jsx)(x.A,{duration:150,visible:!d.loading,children:(0,a.jsx)("img",{className:d.styles.spinnerIcon,src:d.imgUrl,alt:d.alt})})]})},69665(O,T,e){e.d(T,{J:()=>l});var a=e(22803),t=e(65240);const l=(0,t.N)(o=>({menu:(0,a.css)({label:"grafana-select-menu",background:o.components.dropdown.background,borderRadius:o.shape.radius.default,boxShadow:o.shadows.z3,position:"relative",minWidth:"100%",overflow:"hidden",zIndex:1}),option:(0,a.css)({label:"grafana-select-option",padding:"8px",position:"relative",display:"flex",alignItems:"center",flexDirection:"row",flexShrink:0,whiteSpace:"nowrap",cursor:"pointer",borderLeft:"2px solid transparent",borderRadius:o.shape.radius.default,"&:hover":{background:o.colors.action.hover,"@media (forced-colors: active), (prefers-contrast: more)":{border:`1px solid ${o.colors.primary.border}`}}}),optionIcon:(0,a.css)({marginRight:o.spacing(1)}),optionImage:(0,a.css)({label:"grafana-select-option-image",width:"16px",marginRight:"10px"}),optionDescription:(0,a.css)({label:"grafana-select-option-description",fontWeight:"normal",fontSize:o.typography.size.sm,color:o.colors.text.secondary,whiteSpace:"normal",lineHeight:o.typography.body.lineHeight}),optionBody:(0,a.css)({label:"grafana-select-option-body",display:"flex",fontWeight:o.typography.fontWeightMedium,flexDirection:"column",flexGrow:1}),optionFocused:(0,a.css)({label:"grafana-select-option-focused",background:o.colors.action.focus,"@media (forced-colors: active), (prefers-contrast: more)":{border:`1px solid ${o.colors.primary.border}`}}),optionSelected:(0,a.css)({background:o.colors.action.selected,"&::before":{backgroundImage:o.colors.gradients.brandVertical,borderRadius:o.shape.radius.default,content:'" "',display:"block",height:"100%",position:"absolute",transform:"translateX(-50%)",width:o.spacing(.5),left:0}}),optionDisabled:(0,a.css)({label:"grafana-select-option-disabled",backgroundColor:o.colors.action.disabledBackground,color:o.colors.action.disabledText,cursor:"not-allowed"}),singleValue:(0,a.css)({label:"grafana-select-single-value",color:o.components.input.text,gridArea:"1 / 1 / 2 / 3",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",boxSizing:"border-box",maxWidth:"100%"}),valueContainer:(0,a.css)({label:"grafana-select-value-container",alignItems:"center",display:"grid",position:"relative",boxSizing:"border-box",flex:"1 1 0%",outline:"none",overflow:"hidden"}),valueContainerMulti:(0,a.css)({label:"grafana-select-value-container-multi",flexWrap:"wrap",display:"flex"}
1),valueContainerMultiNoWrap:(0,a.css)({display:"grid",gridAutoFlow:"column"}),loadingMessage:(0,a.css)({label:"grafana-select-loading-message",padding:o.spacing(1),textAlign:"center",width:"100%"}),multiValueContainer:(0,a.css)({label:"grafana-select-multi-value-container",display:"flex",alignItems:"center",lineHeight:1,background:o.colors.background.secondary,borderRadius:o.shape.radius.sm,margin:o.spacing(.25,1,.25,0),padding:o.spacing(.25,0,.25,1),color:o.colors.text.primary,fontSize:o.typography.size.sm,overflow:"hidden",whiteSpace:"nowrap","&:hover":{background:o.colors.emphasize(o.colors.background.secondary)}}),multiValueRemove:(0,a.css)({label:"grafana-select-multi-value-remove",margin:o.spacing(0,.5),cursor:"pointer",svg:{marginBottom:0}}),singleValueRemove:(0,a.css)({cursor:"pointer","&:hover":{color:o.colors.text.primary}}),groupHeader:(0,a.css)({padding:o.spacing(1,1,1,.75),borderLeft:"2px solid transparent"}),group:(0,a.css)({"&:not(:first-child)":{borderTop:`1px solid ${o.colors.border.weak}`},':has(+ [role="option"])':{borderBottom:`1px solid ${o.colors.border.weak}`}}),toggleAllButton:(0,a.css)({width:"100%",border:0,padding:0,textAlign:"left"})}))},57830(O,T,e){e.d(T,{A:()=>t,z:()=>l});var a=e(96540);function t(o){return{clearIndicator:()=>({}),container:()=>({}),control:()=>({}),dropdownIndicator:()=>({}),group:()=>({}),groupHeading:()=>({}),indicatorsContainer:()=>({}),indicatorSeparator:()=>({}),input:function(r){return{...r,color:"inherit",margin:0,padding:0,zIndex:1,overflow:"hidden"}},loadingIndicator:()=>({}),loadingMessage:()=>({}),menu:()=>({}),menuList:({maxHeight:r})=>({maxHeight:r}),multiValue:()=>({}),multiValueLabel:()=>({overflow:"hidden",textOverflow:"ellipsis"}),multiValueRemove:()=>({}),noOptionsMessage:()=>({}),option:()=>({}),placeholder:r=>({...r,color:o.colors.text.secondary}),singleValue:()=>({}),valueContainer:()=>({})}}function l(o,r){return(0,a.useMemo)(()=>({...t(o),menuPortal:E=>({...E,zIndex:o.zIndex.portal}),menu:({top:E,bottom:p,position:n})=>({top:E,bottom:p,position:n,minWidth:"100%",zIndex:o.zIndex.dropdown}),container:()=>({width:r?o.spacing(r):"100%",display:r==="auto"?"inline-flex":"flex"}),option:(E,p)=>({...E,opacity:p.isDisabled?.5:1})}),[o,r])}},29362(O,T,e){e.d(T,{X:()=>a});var a=(t=>(t.allSelected="allSelected",t.indeterminate="indeterminate",t.noneSelected="noneSelected",t))(a||{})},68079(O,T,e){e.d(T,{y:()=>x});var a=e(74848),t=e(22803),l=e(55494),o=e(92745),r=e(63142),E=e(97958),p=e(27046),n=e(30703),i=e(58851);const x=({className:D,inline:P=!1,iconClassName:d,style:S,size:h="md"})=>{const c=(0,r.of)(u),s=(0,r.of)(b,h),f=window.matchMedia("(prefers-reduced-motion: reduce)").matches?"hourglass":"spinner";if(typeof h!="string"||!(0,E.rJ)(h)){const y=(0,i.Wj)(),v=(0,i.Xi)(f,"default"),M=`${y}${v}/${f}.svg`;return(0,a.jsx)("div",{"data-testid":"Spinner",style:S,className:(0,t.cx)({[c.inline]:P},s.wrapper,D),children:(0,a.jsx)(l.default,{src:M,width:h,height:h,className:(0,t.cx)(c.spin,s.icon,D),style:S})})}return(0,a.jsx)("div",{"data-testid":"Spinner",style:S,className:(0,t.cx)({[c.inline]:P},D),children:(0,a.jsx)(n.I,{className:(0,t.cx)(c.spin,d),name:f,size:h,"aria-label":(0,o.t)("grafana-ui.spinner.aria-label","Loading")})})},u=D=>({inline:(0,t.css)({display:"inline-block",lineHeight:0}),spin:(0,t.css)({[D.transitions.handleMotion("no-preference")]:{animation:`${p.t} 2s infinite linear`}})}),b=(D,P)=>({wrapper:(0,t.css)({fontSize:typeof P=="string"?P:`${P}px`}),icon:(0,t.css)({display:"inline-block",fill:"currentColor",flexShrink:0,label:"Icon",lineHeight:0,verticalAlign:"middle"})})},66404(O,T,e){e.d(T,{E:()=>i});var a=e(74848),t=e(22803),l=e(96540),o=e(63142),r=e(65848),E=e(45967);const p=l.forwardRef(({childElement:u,children:b},D)=>{const[P,d]=(0,l.useState)(!1),S=(0,l.useRef)(null);(0,l.useImperativeHandle)(D,()=>S.current);const h=(0,l.useMemo)(()=>new ResizeObserver(s=>{for(const g of s)g.target.clientWidth&&g.target.scrollWidth&&(g.target.scrollWidth>g.target.clientWidth&&d(!0),g.target.scrollWidth<=g.target.clientWidth&&d(!1))}),[]);(0,l.useEffect)(()=>{const{current:s}=S;return s&&h.observe(s),()=>{h.disconnect()}},[d,h]);const c=s=>typeof s=="string"?s:r.renderToStaticMarkup((0,a.jsx)(a.Fragment,{children:s})).replace(/(<([^>]+)>)/gi,"");return P?(0,a.jsx)(E.m,{ref:S,content:c(b),children:u(void 0)}):u(S)});p.displayName="TruncatedText";var n=e(66969);const i=l.forwardRef(({element:u="span",variant:b,weight:D,color:P,truncate:d,italic:S,textAlignment:h,children:c,tabular:s,...g},f)=>{const y=(0,o.of)(x,u,b,P,D,d,S,h,s),v=M=>(0,l.createElement)(u,{...g,style:void 0,className:y,ref:M},c);return!d||u==="span"?v(void 0):(0,a.jsx)(p,{childElement:v,children:c,ref:f})});i.displayName="Text";const x=(u,b,D,P,d,S,h,c,s)=>(0,t.css)([{margin:0,padding:0,...(0,n.d$)(u,b,D)},D&&{...u.typography[D]},P&&{color:(0,n.vT)(P,u)},d&&{fontWeight:(0,n.iV)(d,u)},S&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},h&&{fontStyle:"italic"},c&&{textAlign:c},s&&{fontFeatureSettings:'"tnum"'}])},66969(O,T,e){e.d(T,{d$:()=>l,iV:()=>a,vT:()=>t});const a=(o,r)=>
1{switch(o){case"bold":return r.typography.fontWeightBold;case"medium":return r.typography.fontWeightMedium;case"light":return r.typography.fontWeightLight;case"regular":case void 0:return r.typography.fontWeightRegular}},t=(o,r)=>{switch(o){case"error":return r.colors.error.text;case"success":return r.colors.success.text;case"info":return r.colors.info.text;case"warning":return r.colors.warning.text;default:return o?r.colors.text[o]:void 0}},l=(o,r,E)=>{if(E)return o.typography[E];switch(r){case"span":return;case"h1":return o.typography.h1;case"h2":return o.typography.h2;case"h3":return o.typography.h3;case"h4":return o.typography.h4;case"h5":return o.typography.h5;case"h6":return o.typography.h6;default:return o.typography.body}}},45967(O,T,e){e.d(T,{m:()=>u});var a=e(74848),t=e(83505),l=e(46885),o=e(34743),r=e(96540),E=e(85629),p=e(63142),n=e(76373),i=e(71495),x=e(15245);const u=(0,r.forwardRef)(({children:D,theme:P,interactive:d,show:S,placement:h,content:c},s)=>{const g=(0,r.useRef)(null),[f,y]=(0,r.useState)(S),v=S??f,M=(0,i.O)(h),B=[(0,o.cY)(8),...(0,n.getPositioningMiddleware)(M),(0,o.UE)({element:g})],{context:R,refs:I,floatingStyles:A}=(0,t.we)({open:v,placement:M,onOpenChange:y,middleware:B,whileElementsMounted:l.ll}),L=(0,r.useId)(),$=(0,t.Mk)(R,{handleClose:d?(0,t.iB)():void 0,move:!1}),k=(0,t.iQ)(R),H=(0,t.s9)(R),{getReferenceProps:V,getFloatingProps:G}=(0,t.bv)([H,$,k]),rt=typeof c=="function",X=(0,p.of)(b)[P??"info"],ot=(0,r.useCallback)(nt=>{I.setReference(nt),typeof s=="function"?s(nt):s&&(s.current=nt)},[s,I]),q="aria-label"in D.props&&D.props["aria-label"]===c;return(0,a.jsxs)(a.Fragment,{children:[(0,r.cloneElement)(D,{ref:ot,tabIndex:0,"aria-describedby":!q&&v?L:void 0,...V()}),v&&(0,a.jsx)(x.ZL,{children:(0,a.jsxs)("div",{ref:I.setFloating,style:A,...G(),children:[(0,a.jsx)(t.ie,{className:X.arrow,ref:g,context:R}),(0,a.jsxs)("div",{"data-testid":E.Tp.components.Tooltip.container,id:L,role:"tooltip",className:X.container,children:[typeof c=="string"&&c,(0,r.isValidElement)(c)&&(0,r.cloneElement)(c),rt&&c({})]})]})})]})});u.displayName="Tooltip";const b=D=>{const P=(0,i.f)(D,D.components.tooltip.background,D.components.tooltip.background,D.components.tooltip.text,{topBottom:.5,rightLeft:1}),d=(0,i.f)(D,D.colors.error.main,D.colors.error.main,D.colors.error.contrastText,{topBottom:.5,rightLeft:1});return{info:P,"info-alt":P,error:d}}},35942(O,T,e){e.d(T,{n:()=>x});var a=e(74848),t=e(22803),l=e(96540),o=e(25229),r=e(92745),E=e(63142),p=e(45967);const n=D=>{const d=(0,o.KQ)(D).diff((0,o.KQ)(),"hours",!1);return`Active last ${(Math.floor(-d/24)+1)*24}h`},i=D=>{if(!D)return"";const[P,d]=D.split(" ");return`${P?.[0]??""}${d?.[0]??""}`.toUpperCase()},x=({userView:D,className:P,children:d,onClick:S,showTooltip:h=!0})=>{const{user:c,lastActiveAt:s}=D,g=s!=null,f=g&&(0,o.KQ)(s).diff((0,o.KQ)(),"minutes",!0)>=-15,y=(0,E.$j)(),v=(0,l.useMemo)(()=>b(y,f),[y,f]),M=(0,a.jsx)("button",{type:"button",onClick:S,className:(0,t.cx)(v.container,(h||S)&&v.hover,S&&v.pointer,P),"aria-label":(0,r.t)("grafana-ui.user-icon.label","{{name}} icon",{name:c.name}),children:d?(0,a.jsx)("div",{className:(0,t.cx)(v.content,v.textContent),children:d}):c.avatarUrl?(0,a.jsx)("img",{className:v.content,src:c.avatarUrl,alt:`${c.name} avatar`}):(0,a.jsx)("div",{className:(0,t.cx)(v.content,v.textContent),children:i(c.name)})});if(h){const B=(0,a.jsxs)("div",{className:v.tooltipContainer,children:[(0,a.jsx)("div",{className:v.tooltipName,children:c.name}),g&&(0,a.jsx)("div",{className:v.tooltipDate,children:f?(0,a.jsxs)("div",{className:v.dotContainer,children:[(0,a.jsx)("span",{children:(0,a.jsx)(r.x6,{i18nKey:"grafana-ui.user-icon.active-text",children:"Active last 15m"})}),(0,a.jsx)("span",{className:v.dot})]}):n(s)})]});return(0,a.jsx)(p.m,{content:B,children:M})}else return M},u=D=>`0 0 0 1px ${D}`,b=(D,P)=>{const d=P?D.colors.primary.main:D.colors.border.medium,S=P?D.colors.primary.text:D.colors.border.strong;return{container:(0,t.css)({padding:0,width:"30px",height:"30px",background:"none",border:"none",borderRadius:D.shape.radius.circle,cursor:"default","& >
1 *":{borderRadius:D.shape.radius.circle}}),content:(0,t.css)({lineHeight:"24px",maxWidth:"100%",border:`3px ${D.colors.background.primary} solid`,boxShadow:u(d),backgroundClip:"padding-box"}),textContent:(0,t.css)({background:D.colors.background.primary,padding:0,color:D.colors.text.secondary,textAlign:"center",fontSize:D.typography.size.sm,"&:focus":{boxShadow:u(d)}}),tooltipContainer:(0,t.css)({textAlign:"center",padding:D.spacing(0,1)}),tooltipName:(0,t.css)({fontWeight:D.typography.fontWeightBold}),tooltipDate:(0,t.css)({fontWeight:D.typography.fontWeightRegular}),dotContainer:(0,t.css)({display:"flex",alignItems:"center"}),dot:(0,t.css)({height:"6px",width:"6px",backgroundColor:D.colors.primary.main,borderRadius:D.shape.radius.circle,display:"inline-block",marginLeft:D.spacing(1)}),pointer:(0,t.css)({cursor:"pointer"}),hover:(0,t.css)({"&:hover > *":{boxShadow:u(S)}})}}},19052(O,T,e){e.d(T,{A:()=>E});var a=e(74848),t=e(22803),l=e(96540),o=e(66588),r=e(63142);function E(n){const{visible:i,children:x,duration:u=250}=n,b=(0,r.of)(p,u),D=(0,l.useRef)(null);return(0,a.jsx)(o.A,{in:i,mountOnEnter:!0,unmountOnExit:!0,timeout:u,classNames:b,nodeRef:D,children:l.cloneElement(x,{ref:D})})}const p=(n,i)=>({enter:(0,t.css)({label:"enter",opacity:0}),enterActive:(0,t.css)({label:"enterActive",opacity:1,[n.transitions.handleMotion("no-preference","reduce")]:{transition:`opacity ${i}ms ease-out`}}),exit:(0,t.css)({label:"exit",opacity:1}),exitActive:(0,t.css)({label:"exitActive",opacity:0,[n.transitions.handleMotion("no-preference","reduce")]:{transition:`opacity ${i}ms ease-out`}})})},4819(O,T,e){e.d(T,{n:()=>E});var a=e(74848),t=e(22803),l=e(96540),o=e(66588),r=e(63142);function E(n){const{visible:i,children:x,duration:u=250,horizontal:b,size:D}=n,P=(0,r.of)(p,u,b?"width":"height",D),d=(0,l.useRef)(null);return(0,a.jsx)(o.A,{in:i,mountOnEnter:!0,unmountOnExit:!0,timeout:u,classNames:P,nodeRef:d,children:l.cloneElement(x,{ref:d})})}const p=(n,i,x,u)=>({enter:(0,t.css)({label:"enter",[`${x}`]:0,opacity:0}),enterActive:(0,t.css)({label:"enterActive",[`${x}`]:`${u}px`,opacity:1,[n.transitions.handleMotion("no-preference")]:{transition:`opacity ${i}ms ease-out, ${x} ${i}ms ease-out`},[n.transitions.handleMotion("reduce")]:{transition:`opacity ${i}ms ease-out`}}),exit:(0,t.css)({label:"exit",[`${x}`]:`${u}px`,opacity:1}),exitActive:(0,t.css)({label:"exitActive",opacity:0,[`${x}`]:0,[n.transitions.handleMotion("no-preference")]:{transition:`opacity ${i}ms ease-out, ${x} ${i}ms ease-out`},[n.transitions.handleMotion("reduce")]:{transition:`opacity ${i}ms ease-out`}})})},63142(O,T,e){e.d(T,{$j:()=>P,DP:()=>D,IS:()=>d,SL:()=>u,cV:()=>b,fq:()=>h,of:()=>S});var a=e(74848),t=e(4146),l=e.n(t),o=e(47078),r=e.n(o),E=e(96540),p=e(35555),n=e(65240);let i=null;const x=new WeakMap,u=c=>{const s=g=>{const f=i||p.D;return(0,a.jsx)(f.Consumer,{children:y=>(0,a.jsx)(c,{...g,theme:y.v1})})};return s.displayName=`WithTheme(${c.displayName})`,l()(s,c),s},b=c=>{const s=g=>{const f=i||p.D;return(0,a.jsx)(f.Consumer,{children:y=>(0,a.jsx)(c,{...g,theme:y})})};return s.displayName=`WithTheme(${c.displayName})`,l()(s,c),s};function D(){return(0,E.useContext)(i||p.D).v1}function P(){return(0,E.useContext)(i||p.D)}function d(c){const s=D();let g=x.get(c);return g||(g=(0,n.N)(c),x.set(c,g)),g(s)}function S(c,...s){const g=P();g.colors.background.elevated||(g.colors.background.elevated=g.colors.mode==="light"?g.colors.background.primary:g.colors.background.secondary);let f=x.get(c);return f||(f=r()(c,{maxSize:10}),x.set(c,f)),f(g,...s)}const h=c=>(i=E.createContext(c),()=>{i=null})},35484(O,T,e){e.r(T),e.d(T,{cardChrome:()=>t,focusCss:()=>n,getButtonFocusStyles:()=>u,getExternalRadius:()=>D,getFocusStyles:()=>x,getInternalRadius:()=>P,getMouseFocusStyles:()=>i,getTooltipContainerStyles:()=>b,hoverColor:()=>l,listItem:()=>o,listItemSelected:()=>r,mediaUp:()=>E});var a=e(84140);function t(d){return`
2    background: ${d.colors.background.secondary};
3    &:hover {
4      background: ${l(d.colors.background.secondary,d)};
5    }
6    box-shadow: ${d.components.panel.boxShadow};
7    border-radius: ${d.shape.radius.default};
8`}function l(d,S){return S.isDark?(0,a.A)(d).brighten(2).toString():(0,a.A)(d).darken(2).toString()}function o(d){return`
9  background: ${d.colors.background.secondary};
10  &:hover {
11    background: ${l(d.colors.background.secondary,d)};
12  }
13  box-shadow: ${d.components.panel.boxShadow};
14  border-radius: ${d.shape.radius.default};
15`}function r(d){return`
16    background: ${l(d.colors.background.secondary,d)};
17    color: ${d.colors.text.maxContrast};
18`}function E(d){return`only screen and (min-width: ${d})`}const p=d=>d.hasOwnProperty("v1"),n=d=>{const S=p(d),h=S?d.colors.background.canvas:d.colors.bodyBg,c=S?d.colors.primary.main:d.colors.formFocusOutline;return`
19  outline: 2px dotted transparent;
20  outline-offset: 2px;
21  box-shadow: 0 0 0 2px ${h}, 0 0 0px 4px ${c};
22  transition-property: outline, outline-offset, box-shadow;
23  transition-duration: 0.2s;
24  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);`};function i(d){return{outline:"none",boxShadow:"none"}}function x(d){return{outline:"2px dotted transparent",outlineOffset:"2px",boxShadow:`0 0 0 2px ${d.colors.background.canvas}, 0 0 0px 4px ${d.colors.primary.main}`,transitionTimingFunction:"cubic-bezier(0.19, 1, 0.22, 1)",transitionDuration:"0.2s",transitionProperty:"outline, outline-offset, box-shadow"}}function u(d){return{...x(d),transitionProperty:void 0}}const b=d=>({overflow:"hidden",background:d.colors.background.elevated,boxShadow:d.shadows.z2,maxWidth:"800px",padding:d.spacing(1),borderRadius:d.shape.radius.default,zIndex:d.zIndex.tooltip}),D=(d,S,h={})=>{const{selfBorderWidth:c=1,childBorderRadius:s}=h;return`calc(max(0px, ${s!==void 0?`${s}px`:d.shape.radius.default} + ${S}px + ${c}px))`},P=(d,S,h={})=>{const{parentBorderWidth:c=1,parentBorderRadius:s}=h;return`calc(max(0px, ${s!==void 0?`${s}px`:d.shape.radius.default} - ${S}px - ${c}px))`}},65240(O,T,e){e.d(T,{N:()=>l});var a=e(47078),t=e.n(a);function l(o){return t()(o)}},97958(O,T,e){e.d(T,{GO:()=>o,SS:()=>r,lV:()=>E,rJ:()=>l});var a=e(30360),t=e(95004);const l=p=>["xs","sm","md","lg","xl","xxl","xxxl"].includes(p),o=()=>Object.keys(a.az);function r(p){return E(p?.type)}function E(p){if(p)switch(p){case t.PU.time:return"clock-nine";case t.PU.string:return"font";case t.PU.number:return"calculator-alt";case t.PU.boolean:return"toggle-on";case t.PU.trace:return"info-circle";case t.PU.enum:return"list-ol";case t.PU.geo:return"map-marker";case t.PU.other:return"brackets-curly"}return"question-circle"}},76373(O,T,e){e.r(T),e.d(T,{BOUNDARY_ELEMENT_ID:()=>t,getPositioningMiddleware:()=>l});var a=e(34743);const t="floating-boundary";function l(o){const r=[],E=(0,a.UU)({crossAxis:"alignment",fallbackAxisSideDirection:"end",boundary:document.getElementById(t)??void 0}),p=(0,a.BN)();return o?.includes("-")?r.push(E,p):r.push(p,E),r}},27046(O,T,e){e.d(T,{t:()=>t});var a=e(22803);const t=(0,a.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(359deg)"}})},71495(O,T,e){e.d(T,{O:()=>t,f:()=>l});var a=e(22803);function t(o){switch(o){case"auto":return"bottom";case"auto-start":return"bottom-start";case"auto-end":return"bottom-end";default:return o??"bottom"}}function l(o,r,E,p,n){return{arrow:(0,a.css)({fill:r}),container:(0,a.css)({backgroundColor:r,borderRadius:o.shape.radius.default,border:`1px solid ${E}`,boxShadow:o.shadows.z2,color:p,fontSize:o.typography.bodySmall.fontSize,padding:o.spacing(n.topBottom,n.rightLeft),[o.transitions.handleMotion("no-preference","reduce")]:{transition:"opacity 0.3s"},zIndex:o.zIndex.tooltip,maxWidth:"400px",overflowWrap:"break-word","&[data-popper-interactive='false']":{pointerEvents:"none"}}),headerClose:(0,a.css)({color:o.colors.text.secondary,position:"absolute",right:o.spacing(.5),top:o.spacing(1),backgroundColor:"transparent",border:0}),header:(0,a.css)({paddingTop:o.spacing(1),paddingBottom:o.spacing(2)}),body:(0,a.css)({paddingTop:o.spacing(1),paddingBottom:o.spacing(1)}),footer:(0,a.css)({paddingTop:o.spacing(2),paddingBottom:o.spacing(1)})}}},45229(O,T,e){e.d(T,{l:()=>t});var a=e(19379);const t=new a.o}
24,17016(O,T,e){e.d(T,{f:()=>l});var a=e(54734),t=e(81041);function l(){self.MonacoEnvironment={getWorker(o,r){const E=a.l.getIfExists(r);return E?E.init():r==="json"?new t.c(new URL(e.p+e.u(1162),e.b)):r==="css"||r==="scss"||r==="less"?new t.c(new URL(e.p+e.u(9044),e.b)):r==="html"||r==="handlebars"||r==="razor"?new t.c(new URL(e.p+e.u(4064),e.b)):r==="typescript"||r==="javascript"?new t.c(new URL(e.p+e.u(2150),e.b)):new t.c(new URL(e.p+e.u(1821),e.b))}}}},48307(O,T,e){e.d(T,{G:()=>o});var a=e(63704),t=e(43173);const l=t.$.cspReportOnlyEnabled,o={createHTML:(r,E,p)=>l?(console.error("[HTML not sanitized with Trusted Types]",r,E,p),r):r.replace(/<script/gi,"&lt;script"),createScript:r=>r,createScriptURL:(r,E,p)=>l?(console.error("[ScriptURL not sanitized with Trusted Types]",r,E,p),r):a.sQ.sanitizeUrl(r)};t.$.trustedTypesDefaultPolicyEnabled&&window.trustedTypes&&window.trustedTypes.createPolicy&&window.trustedTypes.createPolicy("default",o)},6007(O,T,e){e.d(T,{N:()=>u});var a,t,l=e(74848),o=e(96540),r=e(70255),E=e(35555),p=e(43173),n=e(75234),i=e(45229),x=e(201);const u=({children:D,value:P})=>{const[d,S]=(0,o.useState)(P);return(0,o.useEffect)(()=>{const h=i.l.subscribe(n.E8,c=>{p.$.theme2=c.payload,S(c.payload)});return()=>h.unsubscribe()},[]),(0,o.useEffect)(()=>{S(P)},[P]),(0,l.jsx)(E.D.Provider,{value:d,children:(0,l.jsx)(r.z,{baseColor:d.colors.emphasize(d.colors.background.secondary),highlightColor:d.colors.emphasize(d.colors.background.secondary,.1),borderRadius:d.shape.radius.default,children:D})})},b=(D,P)=>function(S){return a(u,{value:P,children:t.createElement(D,{...S})})}},81041(O,T,e){e.d(T,{c:()=>a});class a extends window.Worker{constructor(l,o){const r=l.toString(),E=new URL(".",l).toString(),p=`importScripts('${r}');`,n=URL.createObjectURL(new Blob([`__webpack_worker_public_path__ = '${E}'; ${p}`],{type:"application/javascript"}));super(n,o),URL.revokeObjectURL(n)}}},26305(O,T,e){e.d(T,{A:()=>l});var a=e(81041);function t(){return new a.c(new URL(e.p+e.u(7887),e.b))}function l(){return[{id:"kusto",name:"kusto",init:t}]}}}]);
25
26//# sourceMappingURL=2143.02d41cefa24d1aa658ba.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.