/usr/share/grafana/public/app/plugins/datasource/grafana-testdata-datasource/dist
/*! For license information please see module.js.LICENSE.txt */ /* [create-plugin] version: 5.22.0 */ define(["module","@grafana/data","react","@grafana/ui","lodash","@grafana/runtime","@emotion/css","rxjs","rxjs/operators"],((e,t,r,a,n,o,i,s,l)=>(()=>{"use strict";var c={110:(e,t,r)=>{const a=r(7715);e.exports=(e,t,r)=>a(e,t,"<",r)},122:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},130:(e,t,r)=>{const a=r(2839);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},284:(e,t,r)=>{const a=r(2839);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},362:(e,t,r)=>{const a=r(4708),n=r(4256),{safeRe:o,t:i}=r(5750);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const a=t.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let n;for(;(n=a.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),a.lastIndex=n.index+n[1].length+n[2].length;a.lastIndex=-1}else r=e.match(t.includePrerelease?o[i.COERCEFULL]:o[i.COERCE]);if(null===r)return null;const s=r[2],l=r[3]||"0",c=r[4]||"0",d=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return n(`${s}.${l}.${c}${d}${u}`,t)}},709:(e,t,r)=>{const a=r(5750),n=r(2074),o=r(4708),i=r(1427),s=r(4256),l=r(9881),c=r(8854),d=r(2479),u=r(4952),p=r(1034),m=r(9406),g=r(5229),h=r(6513),y=r(3440),f=r(7618),b=r(5699),v=r(7565),S=r(3559),w=r(1173),C=r(9308),T=r(2083),I=r(1409),x=r(6031),N=r(3833),F=r(4624),k=r(4991),A=r(362),P=r(9264),E=r(2839),O=r(3238),D=r(3327),R=r(6988),_=r(2366),M=r(7453),L=r(130),j=r(7715),$=r(7379),V=r(110),q=r(284),B=r(8285),H=r(2008);e.exports={parse:s,valid:l,clean:c,inc:d,diff:u,major:p,minor:m,patch:g,prerelease:h,compare:y,rcompare:f,compareLoose:b,compareBuild:v,sort:S,rsort:w,gt:C,lt:T,eq:I,neq:x,gte:N,lte:F,cmp:k,coerce:A,Comparator:P,Range:E,satisfies:O,toComparators:D,maxSatisfying:R,minSatisfying:_,minVersion:M,validRange:L,outside:j,gtr:$,ltr:V,intersects:q,simplifyRange:B,subset:H,SemVer:o,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},1034:(e,t,r)=>{const a=r(4708);e.exports=(e,t)=>new a(e,t).major},1064:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},1173:(e,t,r)=>{const a=r(7565);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},1269:e=>{e.exports=s},1308:t=>{t.exports=e},1409:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>0===a(e,t,r)},1427:e=>{const t=/^[0-9]+$/,r=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const a=t.test(e),n=t.test(r);return a&&n&&(e=+e,r=+r),e===r?0:a&&!n?-1:n&&!a?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},2007:e=>{e.exports=a},2008:(e,t,r)=>{const a=r(2839),n=r(9264),{ANY:o}=n,i=r(3238),s=r(3440),l=[new n(">=0.0.0-0")],c=[new n(">=0.0.0")],d=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?l:c}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=c}const a=new Set;let n,d,m,g,h,y,f;for(const t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?d=p(d,t,r):a.add(t.semver);if(a.size>1)return null;if(n&&d){if(m=s(n.semver,d.semver,r),m>0)return null;if(0===m&&(">="!==n.operator||"<="!==d.operator))return null}for(const e of a){if(n&&!i(e,String(n),r))return null;if(d&&!i(e,String(d),r))return null;for(const a of t)if(!i(e,String(a),r))return!1;return!0}let b=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,v=!(!n||r.includePrerelease||!n.semver.prerelease.length)&&n.semver;b&&1===b.prerelease.length&&"<"===d.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(f=f||">"===e.operator||">="===e.operator,y=y||"<"===e.operator||"<="===e.operator,n)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(g=u(n,e,r),g===e&&g!==n)return!1}else if(">="===n.operator&&!i(n.semver,String(e),r))return!1;if(d)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=p(d,e,r),h===e&&h!==d)return!1}else if("<="===d.operator&&!i(d.semver,String(e),r))return!1;if(!e.operator&&(d||n)&&0!==m)return!1}return!(n&&y&&!d&&0!==m)&&(!(d&&f&&!n&&0!==m)&&(!v&&!b))},u=(e,t,r)=>{if(!e)return t;const a=s(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const a=s(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let n=!1;e:for(const a of e.set){for(const e of t.set){const t=d(a,e,r);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}},2074:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},2083:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>a(e,t,r)<0},2366:(e,t,r)=>{const a=r(4708),n=r(2839);e.exports=(e,t,r)=>{let o=null,i=null,s=null;try{s=new n(t,r)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new a(o,r)))})),o}},2479:(e,t,r)=>{const a=r(4708);e.exports=(e,t,r,n,o)=>{"string"==typeof r&&(o=n,n=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,n,o).version}catch(e){return null}}},2839:(e,t,r)=>{const a=/\s+/g;class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(a," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&y))+":"+e,r=o.get(t);if(r)return r;const a=this.options.loose,n=a?d[u.HYPHENRANGELOOSE]:d[u.HYPHENRANGE];e=e.replace(n,P(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(d[u.COMPARATORTRIM],p),l("comparator trim",e),e=e.replace(d[u.TILDETRIM],m),l("tilde trim",e),e=e.replace(d[u.CARETTRIM],g),l("caret trim",e);let i=e.split(" ").map((e=>S(e,this.options))).join(" ").split(/\s+/).map((e=>A(e,this.options)));a&&(i=i.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(d[u.COMPARATORLOOSE]))))),l("range list",i);const c=new Map,b=i.map((e=>new s(e,this.options)));for(const e of b){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const v=[...c.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(E(this.set[t],e,this.options))return!0;return!1}}e.exports=n;const o=new(r(122)),i=r(9547),s=r(9264),l=r(1064),c=r(4708),{safeRe:d,t:u,comparatorTrimReplace:p,tildeTrimReplace:m,caretTrimReplace:g}=r(5750),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:y}=r(2074),f=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let r=!0;const a=e.slice();let n=a.pop();for(;r&&a.length;)r=a.every((e=>n.intersects(e,t))),n=a.pop();return r},S=(e,t)=>(e=e.replace(d[u.BUILD],""),l("comp",e,t),e=I(e,t),l("caret",e),e=C(e,t),l("tildes",e),e=N(e,t),l("xrange",e),e=k(e,t),l("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,C=(e,t)=>e.trim().split(/\s+/).map((e=>T(e,t))).join(" "),T=(e,t)=>{const r=t.loose?d[u.TILDELOOSE]:d[u.TILDE];return e.replace(r,((t,r,a,n,o)=>{let i;return l("tilde",e,t,r,a,n,o),w(r)?i="":w(a)?i=`>=${r}.0.0 <${+r+1}.0.0-0`:w(n)?i=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:o?(l("replaceTilde pr",o),i=`>=${r}.${a}.${n}-${o} <${r}.${+a+1}.0-0`):i=`>=${r}.${a}.${n} <${r}.${+a+1}.0-0`,l("tilde return",i),i}))},I=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{l("caret",e,t);const r=t.loose?d[u.CARETLOOSE]:d[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,o,i)=>{let s;return l("caret",e,t,r,n,o,i),w(r)?s="":w(n)?s=`>=${r}.0.0${a} <${+r+1}.0.0-0`:w(o)?s="0"===r?`>=${r}.${n}.0${a} <${r}.${+n+1}.0-0`:`>=${r}.${n}.0${a} <${+r+1}.0.0-0`:i?(l("replaceCaret pr",i),s="0"===r?"0"===n?`>=${r}.${n}.${o}-${i} <${r}.${n}.${+o+1}-0`:`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`:`>=${r}.${n}.${o}-${i} <${+r+1}.0.0-0`):(l("no pr"),s="0"===r?"0"===n?`>=${r}.${n}.${o}${a} <${r}.${n}.${+o+1}-0`:`>=${r}.${n}.${o}${a} <${r}.${+n+1}.0-0`:`>=${r}.${n}.${o} <${+r+1}.0.0-0`),l("caret return",s),s}))},N=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>F(e,t))).join(" ")),F=(e,t)=>{e=e.trim();const r=t.loose?d[u.XRANGELOOSE]:d[u.XRANGE];return e.replace(r,((r,a,n,o,i,s)=>{l("xRange",e,r,a,n,o,i,s);const c=w(n),d=c||w(o),u=d||w(i),p=u;return"="===a&&p&&(a=""),s=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&p?(d&&(o=0),i=0,">"===a?(a=">=",d?(n=+n+1,o=0,i=0):(o=+o+1,i=0)):"<="===a&&(a="<",d?n=+n+1:o=+o+1),"<"===a&&(s="-0"),r=`${a+n}.${o}.${i}${s}`):d?r=`>=${n}.0.0${s} <${+n+1}.0.0-0`:u&&(r=`>=${n}.${o}.0${s} <${n}.${+o+1}.0-0`),l("xRange return",r),r}))},k=(e,t)=>(l("replaceStars",e,t),e.trim().replace(d[u.STAR],"")),A=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),P=e=>(t,r,a,n,o,i,s,l,c,d,u,p)=>`${r=w(a)?"":w(n)?`>=${a}.0.0${e?"-0":""}`:w(o)?`>=${a}.${n}.0${e?"-0":""}`:i?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=w(c)?"":w(d)?`<${+c+1}.0.0-0`:w(u)?`<${c}.${+d+1}.0-0`:p?`<=${c}.${d}.${u}-${p}`:e?`<${c}.${d}.${+u+1}-0`:`<=${l}`}`.trim(),E=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3059:e=>{e.exports=l},3238:(e,t,r)=>{const a=r(2839);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},3241:e=>{e.exports=n},3327:(e,t,r)=>{const a=r(2839);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3440:(e,t,r)=>{const a=r(4708);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},3559:(e,t,r)=>{const a=r(7565);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},3833:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>a(e,t,r)>=0},4256:(e,t,r)=>{const a=r(4708);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},4624:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>a(e,t,r)<=0},4708:(e,t,r)=>{const a=r(1064),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=r(2074),{safeRe:i,t:s}=r(5750),l=r(9547),{compareIdentifiers:c}=r(1427);class d{constructor(e,t){if(t=l(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(a("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],n=e.prerelease[t];if(a("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return c(r,n)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const r=this.build[t],n=e.build[t];if(a("build compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return c(r,n)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?i[s.PRERELEASELOOSE]:i[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let a=this.prerelease.length;for(;--a>=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},4952:(e,t,r)=>{const a=r(4256);e.exports=(e,t)=>{const r=a(e,null,!0),n=a(t,null,!0),o=r.compare(n);if(0===o)return null;const i=o>0,s=i?r:n,l=i?n:r,c=!!s.prerelease.length;if(!!l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(s))return l.minor&&!l.patch?"minor":"patch"}const d=c?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"}},4991:(e,t,r)=>{const a=r(1409),n=r(6031),o=r(9308),i=r(3833),s=r(2083),l=r(4624);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return n(e,r,c);case">":return o(e,r,c);case">=":return i(e,r,c);case"<":return s(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},5229:(e,t,r)=>{const a=r(4708);e.exports=(e,t)=>new a(e,t).patch},5699:(e,t,r)=>{const a=r(3440);e.exports=(e,t)=>a(e,t,!0)},5750:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=r(2074),i=r(1064),s=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],d=t.safeSrc=[],u=t.t={};let p=0;const m="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",o],[m,n]],h=(e,t,r)=>{const a=(e=>{for(const[t,r]of g)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),n=p++;i(e,n,t),u[e]=n,c[n]=t,d[n]=a,s[n]=new RegExp(t,r?"g":void 0),l[n]=new RegExp(a,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${m}*`),h("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${m}+`),h("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h("FULL",`^${c[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h("LOOSE",`^${c[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?`),h("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",c[u.COERCE],!0),h("COERCERTLFULL",c[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5959:e=>{e.exports=r},6031:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>0!==a(e,t,r)},6089:e=>{e.exports=i},6513:(e,t,r)=>{const a=r(4256);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},6988:(e,t,r)=>{const a=r(4708),n=r(2839);e.exports=(e,t,r)=>{let o=null,i=null,s=null;try{s=new n(t,r)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new a(o,r)))})),o}},7379:(e,t,r)=>{const a=r(7715);e.exports=(e,t,r)=>a(e,t,">",r)},7453:(e,t,r)=>{const a=r(4708),n=r(2839),o=r(9308);e.exports=(e,t)=>{e=new n(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let i=null;n.forEach((e=>{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||r&&!o(r,i)||(r=i)}return r&&e.test(r)?r:null}},7565:(e,t,r)=>{const a=r(4708);e.exports=(e,t,r)=>{const n=new a(e,r),o=new a(t,r);return n.compare(o)||n.compareBuild(o)}},7618:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>a(t,e,r)},7715:(e,t,r)=>{const a=r(4708),n=r(9264),{ANY:o}=n,i=r(2839),s=r(3238),l=r(9308),c=r(2083),d=r(4624),u=r(3833);e.exports=(e,t,r,p)=>{let m,g,h,y,f;switch(e=new a(e,p),t=new i(t,p),r){case">":m=l,g=d,h=c,y=">",f=">=";break;case"<":m=c,g=u,h=l,y="<",f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;r<t.set.length;++r){const a=t.set[r];let i=null,s=null;if(a.forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,p)?i=e:h(e.semver,s.semver,p)&&(s=e)})),i.operator===y||i.operator===f)return!1;if((!s.operator||s.operator===y)&&g(e,s.semver))return!1;if(s.operator===f&&h(e,s.semver))return!1}return!0}},7781:e=>{e.exports=t},8044:(e,t,r)=>{var a=r(5959),n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var a,o={},c=null,d=null;for(a in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,a)&&!l.hasOwnProperty(a)&&(o[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===o[a]&&(o[a]=t[a]);return{$$typeof:n,type:e,key:c,ref:d,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},8285:(e,t,r)=>{const a=r(3238),n=r(3440);e.exports=(e,t,r)=>{const o=[];let i=null,s=null;const l=e.sort(((e,t)=>n(e,t,r)));for(const e of l){a(e,t,r)?(s=e,i||(i=e)):(s&&o.push([i,s]),s=null,i=null)}i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const d=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return d.length<u.length?d:t}},8531:e=>{e.exports=o},8854:(e,t,r)=>{const a=r(4256);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9264:(e,t,r)=>{const a=Symbol("SemVer ANY");class n{static get ANY(){return a}constructor(e,t){if(t=o(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=o(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=n;const o=r(9547),{safeRe:i,t:s}=r(5750),l=r(4991),c=r(1064),d=r(4708),u=r(2839)},9308:(e,t,r)=>{const a=r(3440);e.exports=(e,t,r)=>a(e,t,r)>0},9406:(e,t,r)=>{const a=r(4708);e.exports=(e,t)=>new a(e,t).minor},9547:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},9728:(e,t,r)=>{e.exports=r(8044)},9881:(e,t,r)=>{const a=r(4256);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}}},d={};function u(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return c[e](r,r.exports,u),r.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.p="public/plugins/grafana-testdata-datasource/";var p={};u.r(p),u.d(p,{plugin:()=>$t});var m={};u.r(m),u.d(m,{edges:()=>vt,nodes:()=>bt});var g={};u.r(g),u.d(g,{edges:()=>wt,nodes:()=>St});var h=u(1308),y=u.n(h);u.p=y()&&y().uri?y().uri.slice(0,y().uri.lastIndexOf("/")+1):"public/plugins/grafana-testdata-datasource/";var f=u(7781),b=u(9728),v=u(5959);const S=(0,v.memo)((()=>(0,b.jsx)("div",{})));S.displayName="ConfigEditor";var w=u(2007);var C=function(){return C=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},C.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;function T(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={loading:!1});var a,n,o=(0,v.useRef)(0),i=(a=(0,v.useRef)(!1),n=(0,v.useCallback)((function(){return a.current}),[]),(0,v.useEffect)((function(){return a.current=!0,function(){a.current=!1}}),[]),n),s=(0,v.useState)(r),l=s[0],c=s[1],d=(0,v.useCallback)((function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var a=++o.current;return l.loading||c((function(e){return C(C({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return i()&&a===o.current&&c({value:e,loading:!1}),e}),(function(e){return i()&&a===o.current&&c({error:e,loading:!1}),e}))}),t);return[l,d]}function I(e,t){void 0===t&&(t=[]);var r=T(e,t,{loading:!0}),a=r[0],n=r[1];return(0,v.useEffect)((function(){n()}),[n]),a}var x=u(709);function N(e,t="latest"){return F(e,t.replace(/\-.*/,""))}function F(e,t){const r={};for(const[a,n]of Object.entries(e))k(n)?r[a]=F(n,t):(P(n,a),r[a]=A(n,t));return r}function k(e){if("object"==typeof e){const[t]=Object.keys(e);return!(0,x.valid)(t)}return!1}function A(e,t){let r,a=Object.keys(e).sort(x.compare);if("latest"===t)return e[a[a.length-1]];for(const e of a)(0,x.gte)(t,e)&&(r=e);return r||(r=a[a.length-1]),e[r]}function P(e,t){if(!Object.keys(e).every((e=>(0,x.valid)(e))))throw new Error(`Invalid semver version: '${t}'`)}const E="8.5.0",O={RadioButton:{container:{"10.2.3":"data-testid radio-button"}},Breadcrumbs:{breadcrumb:{"9.4.0":e=>`data-testid ${e} 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"}},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"},backButton:{"12.1.0":"data-testid EditPaneHeader back"}},TimePicker:{openButton:{[E]:"data-testid TimePicker Open Button"},overlayContent:{"10.2.3":"data-testid TimePicker Overlay Content"},fromField:{"10.2.3":"data-testid Time Range from field",[E]:"Time Range from field"},toField:{"10.2.3":"data-testid Time Range to field",[E]:"Time Range to field"},applyTimeRange:{[E]:"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",[E]:"Time Range calendar"},openButton:{"10.2.3":"data-testid Open time range calendar",[E]:"Open time range calendar"},closeButton:{"10.2.3":"data-testid Close time range Calendar",[E]:"Close time range Calendar"}},absoluteTimeRangeTitle:{[E]:"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:{[E]:"Test Data Query scenario select container"},scenarioSelect:{[E]:"Test Data Query scenario select"},max:{[E]:"TestData max"},min:{[E]:"TestData min"},noise:{[E]:"TestData noise"},seriesCount:{[E]:"TestData series count"},spread:{[E]:"TestData spread"},startValue:{[E]:"TestData start value"},drop:{[E]:"TestData drop values"}}},DataSourceHttpSettings:{urlInput:{"10.4.0":"data-testid Datasource HTTP settings url",[E]:"Datasource HTTP settings url"}},Jaeger:{traceIDInput:{[E]:"Trace ID"}},Prometheus:{configPage:{connectionSettings:{[E]:"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"},exemplarsAddButton:{"10.3.0":"data-testid Add exemplar config button",[E]:"Add exemplar config button"},internalLinkSwitch:{"10.3.0":"data-testid Internal link switch",[E]:"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",[E]:"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:{[E]:e=>`${e} menu`},MenuGroup:{[E]:e=>`${e} menu group`},MenuItem:{[E]:e=>`${e} menu item`},SubMenu:{container:{"10.3.0":"data-testid SubMenu container",[E]:"SubMenu container"},icon:{"10.3.0":"data-testid SubMenu icon",[E]:"SubMenu icon"}}},Panels:{Panel:{title:{[E]:e=>`data-testid Panel header ${e}`},content:{"11.1.0":"data-testid panel content"},headerContainer:{"9.5.0":"data-testid header-container"},headerItems:{"10.2.0":e=>`data-testid Panel header item ${e}`},menuItems:{"9.5.0":e=>`data-testid Panel menu item ${e}`},menu:{"9.5.0":e=>`data-testid Panel menu ${e}`},containerByTitle:{[E]:e=>`${e} panel`},headerCornerInfo:{[E]:e=>`Panel header ${e}`},status:{"10.2.0":e=>`data-testid Panel status ${e}`,[E]:e=>"Panel status"},loadingBar:{"10.0.0":()=>"Panel loading bar"},HoverWidget:{container:{"10.1.0":"data-testid hover-header-container",[E]:"hover-header-container"},dragIcon:{"10.0.0":"data-testid drag-icon"}},PanelDataErrorMessage:{"10.4.0":"data-testid Panel data error message"}},Visualization:{Graph:{container:{"9.5.0":"Graph container"},VisualizationTab:{legendSection:{[E]:"Legend section"}},Legend:{legendItemAlias:{[E]:e=>`gpl alias ${e}`},showLegendSwitch:{[E]:"gpl show legend"}},xAxis:{labels:{[E]:()=>"div.flot-x-axis > div.flot-tick-label"}}},BarGauge:{valueV2:{[E]:"data-testid Bar gauge value"}},PieChart:{svgSlice:{"10.3.0":"data testid Pie Chart Slice"}},Text:{container:{[E]:()=>".markdown-html"}},Table:{header:{[E]:"table header"},footer:{[E]:"table-footer"},body:{"10.2.0":"data-testid table body"}},TableNG:{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"}}}},VizLegend:{seriesName:{"10.3.0":e=>`data-testid VizLegend series ${e}`}},Drawer:{General:{title:{[E]:e=>`Drawer title ${e}`},expand:{[E]:"Drawer expand"},contract:{[E]:"Drawer contract"},close:{"10.3.0":"data-testid Drawer close",[E]:"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",[E]:"Panel editor option pane content"},select:{[E]:"Panel editor option pane select"},fieldLabel:{[E]:e=>`${e} field property editor`},fieldInput:{"11.0.0":e=>`data-testid Panel editor option pane field input ${e}`}},DataPane:{content:{"11.1.0":"data-testid Panel editor data pane content",[E]:"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",[E]:"toggle-viz-options"},toggleTableView:{"11.1.0":"data-testid toggle-table-view",[E]:"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":e=>`data-testid outline node ${e}`},item:{"12.0.0":e=>`data-testid outline item ${e}`}},ElementEditPane:{variableType:{"12.0.0":e=>`data-testid variable type ${e}`},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"}}}},PanelInspector:{Data:{content:{[E]:"Panel inspector Data content"}},Stats:{content:{[E]:"Panel inspector Stats content"}},Json:{content:{"11.1.0":"data-testid Panel inspector Json content",[E]:"Panel inspector Json content"}},Query:{content:{[E]:"Panel inspector Query content"},refreshButton:{[E]:"Panel inspector Query refresh button"},jsonObjectKeys:{[E]:()=>".json-formatter-key"}}},Tab:{title:{"11.2.0":e=>`data-testid Tab ${e}`},active:{[E]:()=>'[class*="-activeTabStyle"]'}},RefreshPicker:{runButtonV2:{[E]:"data-testid RefreshPicker run button"},intervalButtonV2:{[E]:"data-testid RefreshPicker interval button"}},QueryTab:{content:{[E]:"Query editor tab content"},queryInspectorButton:{[E]:"Query inspector button"},queryHistoryButton:{"10.2.0":"data-testid query-history-button",[E]:"query-history-button"},addQuery:{"10.2.0":"data-testid query-tab-add-query",[E]:"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:{[E]:"Query editor row"}},QueryEditorRow:{actionButton:{"10.4.0":e=>`data-testid ${e}`},title:{[E]:e=>`Query editor row title ${e}`},container:{[E]:e=>`Query editor row ${e}`}},AlertTab:{content:{"10.2.3":"data-testid Alert editor tab content",[E]:"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":e=>`data-testid alert-rule step-${e}`},stepAdvancedModeSwitch:{"11.5.0":e=>`data-testid advanced-mode-switch step-${e}`}},Alert:{alertV2:{[E]:e=>`data-testid Alert ${e}`}},TransformTab:{content:{"10.1.0":"data-testid Transform editor tab content",[E]:"Transform editor tab content"},newTransform:{"10.1.0":e=>`data-testid New transform ${e}`},transformationEditor:{"10.1.0":e=>`data-testid Transformation editor ${e}`},transformationEditorDebugger:{"10.1.0":e=>`data-testid Transformation editor debugger ${e}`}},Transforms:{card:{"10.1.0":e=>`data-testid New transform ${e}`},disableTransformationButton:{"10.4.0":"data-testid Disable transformation button"},Reduce:{modeLabel:{"10.2.3":"data-testid Transform mode label",[E]:"Transform mode label"},calculationsLabel:{"10.2.3":"data-testid Transform calculations label",[E]:"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",[E]:"search transformations"},noTransformationsMessage:{"10.2.3":"data-testid no transformations message"},addTransformationButton:{"10.1.0":"data-testid add transformation button",[E]:"add transformation 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",[E]:"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:{[E]:()=>".page-toolbar"},item:{[E]:e=>`${e}`},itemButton:{"9.5.0":e=>`data-testid ${e}`}},QueryEditorToolbarItem:{button:{[E]:e=>`QueryEditor toolbar item button ${e}`}},BackButton:{backArrow:{"10.3.0":"data-testid Go Back",[E]:"Go Back"}},OptionsGroup:{group:{"11.1.0":e=>e?`data-testid Options group ${e}`:"data-testid Options group",[E]:e=>e?`Options group ${e}`:"Options group"},toggle:{"11.1.0":e=>e?`data-testid Options group ${e} toggle`:"data-testid Options group toggle",[E]:e=>e?`Options group ${e} toggle`:"Options group toggle"}},PluginVisualization:{item:{[E]:e=>`Plugin visualization item ${e}`},current:{[E]:()=>'[class*="-currentVisualizationItem"]'}},Select:{menu:{"11.5.0":"data-testid Select menu",[E]:"Select options menu"},option:{"11.1.0":"data-testid Select option",[E]:"Select option"},toggleAllOptions:{"11.3.0":"data-testid toggle all options"},input:{[E]:()=>'input[id*="time-options-input"]'},singleValue:{[E]:()=>'div[class*="-singleValue"]'}},FieldConfigEditor:{content:{[E]:"Field config editor content"}},OverridesConfigEditor:{content:{[E]:"Field overrides editor content"}},FolderPicker:{containerV2:{[E]:"data-testid Folder picker select container"},input:{"10.4.0":"data-testid folder-picker-input"}},ReadonlyFolderPicker:{container:{[E]:"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",[E]:"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:{[E]:"data-testid Time zone picker select container"},changeTimeSettingsButton:{"11.0.0":"data-testid Time zone picker Change time settings button"}},WeekStartPicker:{containerV2:{[E]:"data-testid Choose starting day of the week"},placeholder:{[E]:"Choose starting day of the week"}},TraceViewer:{spanBar:{"9.0.0":"data-testid SpanBar--wrapper"}},QueryField:{container:{"10.3.0":"data-testid Query field",[E]:"Query field"}},QueryBuilder:{queryPatterns:{"10.3.0":"data-testid Query patterns",[E]:"Query patterns"},labelSelect:{"10.3.0":"data-testid Select label",[E]:"Select label"},inputSelect:{"11.1.0":"data-testid Select label-input"},valueSelect:{"10.3.0":"data-testid Select value",[E]:"Select value"},matchOperatorSelect:{"10.3.0":"data-testid Select match operator",[E]:"Select match operator"}},ValuePicker:{button:{"10.3.0":e=>`data-testid Value picker button ${e}`},select:{"10.3.0":e=>`data-testid Value picker select ${e}`}},Search:{sectionV2:{[E]:"data-testid Search section"},itemsV2:{[E]:"data-testid Search items"},cards:{[E]:"data-testid Search cards"},collapseFolder:{[E]:e=>`data-testid Collapse folder ${e}`},expandFolder:{[E]:e=>`data-testid Expand folder ${e}`},dashboardItem:{[E]:e=>`data-testid Dashboard search item ${e}`},dashboardCard:{[E]:e=>`data-testid Search card ${e}`},folderHeader:{"9.3.0":e=>`data-testid Folder header ${e}`},folderContent:{"9.3.0":e=>`data-testid Folder content ${e}`},dashboardItems:{[E]:"data-testid Dashboard search item"}},DashboardLinks:{container:{[E]:"data-testid Dashboard link container"},dropDown:{[E]:"data-testid Dashboard link dropdown"},link:{[E]:"data-testid Dashboard link"}},LoadingIndicator:{icon:{"10.4.0":"data-testid Loading indicator",[E]:"Loading indicator"}},CallToActionCard:{buttonV2:{[E]:e=>`data-testid Call to action button ${e}`}},DataLinksContextMenu:{singleLink:{"10.3.0":"data-testid Data link",[E]:"Data link"}},DataLinksActionsTooltip:{tooltipWrapper:{"12.1.0":"data-testid Data links actions tooltip wrapper"}},CodeEditor:{container:{"10.2.3":"data-testid Code editor container",[E]:"Code editor container"}},ReactMonacoEditor:{editorLazy:{"11.1.0":"data-testid ReactMonacoEditor editorLazy"}},DashboardImportPage:{textarea:{[E]:"data-testid-import-dashboard-textarea"},submit:{[E]:"data-testid-load-dashboard"}},ImportDashboardForm:{name:{[E]:"data-testid-import-dashboard-title"},submit:{[E]:"data-testid-import-dashboard-submit"}},PanelAlertTabContent:{content:{"10.2.3":"data-testid Unified alert editor tab content",[E]:"Unified alert editor tab content"}},VisualizationPreview:{card:{[E]:e=>`data-testid suggestion-${e}`}},ColorSwatch:{name:{[E]:"data-testid-colorswatch"}},DashboardRow:{title:{[E]:e=>`data-testid dashboard-row-title-${e}`},wrapper:{"12.1.0":e=>`data-testid dashboard-row-wrapper-for-${e}`}},UserProfile:{profileSaveButton:{[E]:"data-testid-user-profile-save"},preferencesSaveButton:{[E]:"data-testid-shared-prefs-save"},orgsTable:{[E]:"data-testid-user-orgs-table"},sessionsTable:{[E]:"data-testid-user-sessions-table"},extensionPointTabs:{"10.2.3":"data-testid-extension-point-tabs"},extensionPointTab:{"10.2.3":e=>`data-testid-extension-point-tab-${e}`}},FileUpload:{inputField:{"9.0.0":"data-testid-file-upload-input-field"},fileNameSpan:{"9.0.0":"data-testid-file-upload-file-name"}},DebugOverlay:{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",[E]:"annotations-type-input"},annotationsChoosePanelInput:{"11.1.0":"data-testid choose-panels-input",[E]:"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":e=>`data-testid select-function-parameter-${e}`},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"}}}}},D={pages:N({Alerting:{AddAlertRule:{url:{"10.1.0":"/alerting/new/alerting",[E]:"/alerting/new"}},EditAlertRule:{url:{[E]:e=>`alerting/${e}/edit`}}},Login:{url:{[E]:"/login"},username:{"10.2.3":"data-testid Username input field",[E]:"Username input field"},password:{"10.2.3":"data-testid Password input field",[E]:"Password input field"},submit:{"10.2.3":"data-testid Login button",[E]:"Login button"},skip:{"10.2.3":"data-testid Skip change password button"}},PasswordlessLogin:{url:{[E]:"/login/passwordless/authenticate"},email:{"10.2.3":"data-testid Email input field",[E]:"Email input field"},submit:{"10.2.3":"data-testid PasswordlessLogin button",[E]:"PasswordlessLogin button"}},Home:{url:{[E]:"/"}},DataSource:{name:{"10.3.0":"data-testid Data source settings page name input field",[E]:"Data source settings page name input field"},delete:{[E]:"Data source settings page Delete button"},readOnly:{"10.3.0":"data-testid Data source settings page read only message",[E]:"Data source settings page read only message"},saveAndTest:{"10.0.0":"data-testid Data source settings page Save and Test button",[E]:"Data source settings page Save and Test button"},alert:{"10.3.0":"data-testid Data source settings page Alert",[E]:"Data source settings page Alert"}},DataSources:{url:{[E]:"/datasources"},dataSources:{[E]:e=>`Data source list item ${e}`}},EditDataSource:{url:{"9.5.0":e=>`/datasources/edit/${e}`},settings:{"9.5.0":"Datasource settings page basic settings"}},AddDataSource:{url:{[E]:"/datasources/new"},dataSourcePluginsV2:{"9.3.1":e=>`Add new data source ${e}`,[E]:e=>`Data source plugin item ${e}`}},ConfirmModal:{delete:{"10.0.0":"data-testid Confirm Modal Danger Button",[E]:"Confirm Modal Danger Button"},input:{"12.2.0":"data-testid Confirm Modal Input"}},SecretsManagement:{SecretForm:{"12.2.0":"data-testid Secret Form"}},AddDashboard:{url:{[E]:"/dashboard/new"},itemButton:{"9.5.0":e=>`data-testid ${e}`},addNewPanel:{"11.1.0":"data-testid Add new panel","8.0.0":"Add new panel",[E]:"Add new panel"},itemButtonAddViz:{[E]:"Add new visualization menu item"},addNewRow:{"11.1.0":"data-testid Add new row",[E]:"Add new row"},addNewPanelLibrary:{"11.1.0":"data-testid Add new panel from panel library",[E]:"Add new panel from panel library"},Settings:{Annotations:{List:{url:{[E]:"/dashboard/new?orgId=1&editview=annotations"}},Edit:{url:{[E]:e=>`/dashboard/new?editview=annotations&editIndex=${e}`}}},Variables:{List:{url:{"11.3.0":"/dashboard/new?orgId=1&editview=variables",[E]:"/dashboard/new?orgId=1&editview=templating"}},Edit:{url:{"11.3.0":e=>`/dashboard/new?orgId=1&editview=variables&editIndex=${e}`,[E]:e=>`/dashboard/new?orgId=1&editview=templating&editIndex=${e}`}}}}},ImportDashboard:{url:{[E]:"/dashboard/import"}},Dashboard:{url:{[E]:e=>`/d/${e}`},DashNav:{nav:{[E]:"Dashboard navigation"},navV2:{[E]:"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"}}},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"},SubMenu:{submenu:{[E]:"Dashboard submenu"},submenuItem:{[E]:"data-testid template variable"},submenuItemLabels:{[E]:e=>`data-testid Dashboard template variables submenu Label ${e}`},submenuItemValueDropDownValueLinkTexts:{[E]:e=>`data-testid Dashboard template variables Variable Value DropDown value link text ${e}`},submenuItemValueDropDownDropDown:{[E]:"Variable options"},submenuItemValueDropDownOptionTexts:{[E]:e=>`data-testid Dashboard template variables Variable Value DropDown option text ${e}`},Annotations:{annotationsWrapper:{"10.0.0":"data-testid annotation-wrapper"},annotationLabel:{"10.0.0":e=>`data-testid Dashboard annotations submenu Label ${e}`},annotationToggle:{"10.0.0":e=>`data-testid Dashboard annotations submenu Toggle ${e}`}}},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:{[E]:e=>`Dashboard settings section item ${e}`},saveDashBoard:{[E]:"Dashboard settings aside actions Save button"},saveAsDashBoard:{[E]:"Dashboard settings aside actions Save As button"},title:{"11.2.0":"General"}},Annotations:{Edit:{urlParams:{[E]:e=>`editview=annotations&editIndex=${e}`}},List:{url:{[E]:e=>`/d/${e}?editview=annotations`},addAnnotationCTAV2:{[E]:"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",[E]:"Annotations settings name input"}},NewAnnotation:{panelFilterSelect:{"10.0.0":"data-testid annotations-panel-filter"},showInLabel:{"11.1.0":"data-testid show-in-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":e=>`/d/${e}?editview=variables`,[E]:e=>`/d/${e}?editview=templating`},addVariableCTAV2:{[E]:"data-testid Call to action button Add variable"},newButton:{[E]:"Variable editor New variable button"},table:{[E]:"Variable editor Table"},tableRowNameFields:{[E]:e=>`Variable editor Table Name field ${e}`},tableRowDefinitionFields:{"10.1.0":e=>`Variable editor Table Definition field ${e}`},tableRowArrowUpButtons:{[E]:e=>`Variable editor Table ArrowUp button ${e}`},tableRowArrowDownButtons:{[E]:e=>`Variable editor Table ArrowDown button ${e}`},tableRowDuplicateButtons:{[E]:e=>`Variable editor Table Duplicate button ${e}`},tableRowRemoveButtons:{[E]:e=>`Variable editor Table Remove button ${e}`}},Edit:{urlParams:{"11.3.0":e=>`editview=variables&editIndex=${e}`,[E]:e=>`editview=templating&editIndex=${e}`},General:{headerLink:{[E]:"Variable editor Header link"},modeLabelNew:{[E]:"Variable editor Header mode New"},modeLabelEdit:{[E]:"Variable editor Header mode Edit"},generalNameInput:{[E]:"Variable editor Form Name field"},generalNameInputV2:{[E]:"data-testid Variable editor Form Name field"},generalTypeSelect:{[E]:"Variable editor Form Type select"},generalTypeSelectV2:{[E]:"data-testid Variable editor Form Type select"},generalLabelInput:{[E]:"Variable editor Form Label field"},generalLabelInputV2:{[E]:"data-testid Variable editor Form Label field"},generalHideSelect:{[E]:"Variable editor Form Hide select"},generalHideSelectV2:{[E]:"data-testid Variable editor Form Hide select"},selectionOptionsAllowCustomValueSwitch:{[E]:"data-testid Variable editor Form Allow Custom Value switch"},selectionOptionsMultiSwitch:{"10.4.0":"data-testid Variable editor Form Multi switch",[E]:"Variable editor Form Multi switch"},selectionOptionsIncludeAllSwitch:{"10.4.0":"data-testid Variable editor Form IncludeAll switch",[E]:"Variable editor Form IncludeAll switch"},selectionOptionsCustomAllInput:{"10.4.0":"data-testid Variable editor Form IncludeAll field",[E]:"Variable editor Form IncludeAll field"},previewOfValuesOption:{"10.4.0":"data-testid Variable editor Preview of Values option",[E]:"Variable editor Preview of Values option"},submitButton:{"10.4.0":"data-testid Variable editor Run Query button",[E]:"Variable editor Submit button"},applyButton:{"9.3.0":"data-testid Variable editor Apply button"}},QueryVariable:{closeButton:{[E]:"data-testid Query Variable editor close button"},editor:{[E]:"data-testid Query Variable editor"},previewButton:{[E]:"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",[E]:"Data source picker select container"},queryOptionsOpenButton:{[E]:"data-testid Query Variable editor open button"},queryOptionsRefreshSelect:{[E]:"Variable editor Form Query Refresh select"},queryOptionsRefreshSelectV2:{[E]:"data-testid Variable editor Form Query Refresh select"},queryOptionsRegExInput:{[E]:"Variable editor Form Query RegEx field"},queryOptionsRegExInputV2:{[E]:"data-testid Variable editor Form Query RegEx field"},queryOptionsSortSelect:{[E]:"Variable editor Form Query Sort select"},queryOptionsSortSelectV2:{[E]:"data-testid Variable editor Form Query Sort select"},queryOptionsQueryInput:{"10.4.0":"data-testid Variable editor Form Default Variable Query Editor textarea"},queryOptionsStaticOptionsToggle:{[E]:"Variable editor Form Query Static Options toggle"},queryOptionsStaticOptionsOrderDropdown:{[E]:"Variable editor Form Query Static Options Order dropdown"},valueGroupsTagsEnabledSwitch:{[E]:"Variable editor Form Query UseTags switch"},valueGroupsTagsTagsQueryInput:{[E]:"Variable editor Form Query TagsQuery field"},valueGroupsTagsTagsValuesQueryInput:{[E]:"Variable editor Form Query TagsValuesQuery field"}},ConstantVariable:{constantOptionsQueryInput:{[E]:"Variable editor Form Constant Query field"},constantOptionsQueryInputV2:{[E]:"data-testid Variable editor Form Constant Query field"}},DatasourceVariable:{datasourceSelect:{[E]:"data-testid datasource variable datasource type"},nameFilter:{[E]:"data-testid datasource variable datasource name filter"}},TextBoxVariable:{textBoxOptionsQueryInput:{[E]:"Variable editor Form TextBox Query field"},textBoxOptionsQueryInputV2:{[E]:"data-testid Variable editor Form TextBox Query field"}},CustomVariable:{customValueInput:{[E]:"data-testid custom-variable-input"},optionsOpenButton:{[E]:"data-testid custom-variable-options-open-button"},closeButton:{[E]:"data-testid custom-variable-close-button"}},IntervalVariable:{intervalsValueInput:{[E]:"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:{[E]:"data-testid Variable editor Form Static Options Add button"},labelInput:{[E]:"data-testid Variable editor Form Static Options Label input"},valueInput:{[E]:"data-testid Variable editor Form Static Options Value input"},moveButton:{[E]:"data-testid Variable editor Form Static Options Move button"},deleteButton:{[E]:"data-testid Variable editor Form Static Options Delete button"},row:{[E]:"data-testid Variable editor Form Static Options Row"}}}}},Annotations:{marker:{"10.0.0":"data-testid annotation-marker"}},Rows:{Repeated:{ConfigSection:{warningMessage:{"10.2.0":"data-testid Repeated rows warning message"}}}}},Dashboards:{url:{[E]:"/dashboards"},dashboards:{"10.2.0":e=>`Dashboard search item ${e}`},toggleView:{[E]:"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:{[E]:"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":e=>`/dashboard/snapshot/${e}`},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":e=>`/dashboard/snapshot/${e}`},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:{[E]:"/explore"},General:{container:{[E]:"data-testid Explore"},graph:{[E]:"Explore Graph"},table:{[E]:"Explore Table"},scrollView:{"9.0.0":"data-testid explorer scroll view"},addFromQueryLibrary:{"11.5.0":"data-testid explore add from query library button"}},QueryHistory:{container:{"11.1.0":"data-testid QueryHistory"}}},SoloPanel:{url:{[E]:e=>`/d-solo/${e}`}},PluginsList:{page:{[E]:"Plugins list page"},list:{[E]:"Plugins list"},listItem:{[E]:"Plugins list item"},signatureErrorNotice:{"10.3.0":"data-testid Unsigned plugins notice",[E]:"Unsigned plugins notice"}},PluginPage:{page:{[E]:"Plugin page"},signatureInfo:{"10.3.0":"data-testid Plugin signature info",[E]:"Plugin signature info"},disabledInfo:{"10.3.0":"data-testid Plugin disabled info",[E]:"Plugin disabled info"}},PlaylistForm:{name:{[E]:"Playlist name"},interval:{[E]:"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":e=>`data-testid browse dashboards row ${e}`},checkbox:{"10.0.0":e=>`data-testid ${e} 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-list"}},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":e=>`data-testid dashboards-list-item-${e}`}}}},ProfilePage:{url:{"10.2.0":"/profile"}},Plugin:{url:{[E]:e=>`/plugins/${e}`}},MigrateToCloud:{url:{"11.2.0":"/admin/migrate-to-cloud"}}}),components:N(O)};function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const M=({onChange:e,query:t})=>{const r=r=>{e(_(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){R(e,t,r[t])}))}return e}({},t),{csvContent:r}))};var a;return(0,b.jsx)(w.CodeEditor,{height:300,language:"csv",value:null!==(a=t.csvContent)&&void 0!==a?a:"",onBlur:r,onSave:r,showMiniMap:!1,showLineNumbers:!0})};function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const $=({onChange:e,query:t})=>{const r=["flight_info_by_state.csv","population_by_state.csv","gdp_per_capita.csv","js_libraries.csv","ohlc_dogecoin.csv","weight_height.csv","browser_marketshare.csv","automobiles.csv"].map((e=>({label:e,value:e})));return(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{label:"File",labelWidth:14,children:(0,b.jsx)(w.Select,{width:32,onChange:({value:r})=>{e(j(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){L(e,t,r[t])}))}return e}({},t),{csvFileName:r}))},placeholder:"Select csv file",options:r,value:r.find((e=>e.value===t.csvFileName))})})})};var V=function(e){return e.Annotations="annotations",e.Arrow="arrow",e.CSVContent="csv_content",e.CSVFile="csv_file",e.CSVMetricValues="csv_metric_values",e.DataPointsOutsideRange="datapoints_outside_range",e.ExponentialHeatmapBucketData="exponential_heatmap_bucket_data",e.FlameGraph="flame_graph",e.GrafanaAPI="grafana_api",e.LinearHeatmapBucketData="linear_heatmap_bucket_data",e.Live="live",e.Logs="logs",e.ManualEntry="manual_entry",e.NoDataPoints="no_data_points",e.NodeGraph="node_graph",e.PredictableCSVWave="predictable_csv_wave",e.PredictablePulse="predictable_pulse",e.QueryMeta="query_meta",e.RandomWalk="random_walk",e.RandomWalkTable="random_walk_table",e.RandomWalkWithError="random_walk_with_error",e.RawFrame="raw_frame",e.ServerError500="server_error_500",e.Simulation="simulation",e.Steps="steps",e.SlowQuery="slow_query",e.StreamingClient="streaming_client",e.TableStatic="table_static",e.Trace="trace",e.USA="usa",e.VariablesQuery="variables-query",e.ErrorWithSource="error_with_source",e}({});const q={timeStep:60,onCount:3,onValue:2,offCount:3,offValue:1},B=[{timeStep:60,valuesCSV:"0,0,2,2,1,1"}],H={scenarioId:V.RandomWalk,refId:""};function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){G(e,t,r[t])}))}return e}function U(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const K=e=>{const{wave:t,last:r,index:a,onAdd:n,onChange:o}=e,[i,s]=(0,v.useState)(t.valuesCSV||""),[l,c]=(0,v.useState)(t.labels||""),[d,u]=(0,v.useState)(t.name||""),p=(e,r)=>{o(a,U(W({},t),{[e]:r}))};return(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{label:"Values",grow:!0,tooltip:"Comma separated values. Each value may be an int, float, or null and must not be empty. Whitespace and trailing commas are removed",children:(0,b.jsx)(w.Input,{value:i,placeholder:"CSV values",onChange:e=>s(e.currentTarget.value),autoFocus:!0,onBlur:()=>p("valuesCSV",i),onKeyDown:e=>{"Enter"===e.key&&p("valuesCSV",i)}})}),(0,b.jsx)(w.InlineField,{label:"Step",tooltip:"The number of seconds between datapoints.",children:(0,b.jsx)(w.Input,{value:t.timeStep,type:"number",placeholder:"60",width:10,onChange:e=>p("timeStep",e.currentTarget.valueAsNumber)})}),(0,b.jsx)(w.InlineField,{label:"Name",children:(0,b.jsx)(w.Input,{value:d,placeholder:"name",width:10,onChange:e=>u(e.currentTarget.value),onBlur:()=>p("name",d)})}),(0,b.jsx)(w.InlineField,{label:"Labels",children:(0,b.jsx)(w.Input,{value:l,placeholder:"labels",width:12,onChange:e=>c(e.currentTarget.value),onBlur:()=>p("labels",l)})}),(0,b.jsx)(w.Button,{"aria-label":r?"Add wave":"Remove wave",icon:r?"plus":"minus",variant:"secondary",onClick:()=>{r?n():o(a,void 0)}})]})},Q=(0,v.memo)((({waves:e,onChange:t})=>{const r=(r,a)=>{let n=[...null!=e?e:B];a?n[r]=W({},a):n.splice(r,1),t(n)},a=()=>{const r=[...null!=e?e:B];r.push(W({},B[0])),t(r)};let n=null!=e?e:B;return n.length||(n=B),(0,b.jsx)(b.Fragment,{children:n.map(((e,t)=>(0,b.jsx)(K,{wave:e,index:t,onAdd:a,onChange:r,last:t===n.length-1},`${t}/${e.valuesCSV}`)))})}));function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}Q.displayName="CSVWavesEditor";const J=[{label:"Server panic",value:"server_panic"},{label:"Frontend exception",value:"frontend_exception"},{label:"Frontend observable",value:"frontend_observable"}],Y=({query:e,onChange:t})=>(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Error type",children:(0,b.jsx)(w.Select,{options:J,value:e.errorType,onChange:r=>{t(X(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){z(e,t,r[t])}))}return e}({},e),{errorType:r.value}))}})})});function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const te=[{label:"Plugin",value:"plugin"},{label:"Downstream",value:"downstream"}],re=({query:e,onChange:t})=>(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Error source",children:(0,b.jsx)(w.Select,{options:te,value:e.errorSource,onChange:r=>{t(ee(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Z(e,t,r[t])}))}return e}({},e),{errorSource:r.value}))}})})});function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const oe=[{label:"random-2s-stream",value:"random-2s-stream",description:"Random stream with points every 2s"},{label:"random-flakey-stream",value:"random-flakey-stream",description:"Stream that returns data in random intervals"},{label:"random-labeled-stream",value:"random-labeled-stream",description:"Value with moving labels"},{label:"random-20Hz-stream",value:"random-20Hz-stream",description:"Random stream with points in 20Hz"}],ie=({onChange:e,query:t})=>(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{label:"Channel",labelWidth:14,children:(0,b.jsx)(w.Select,{width:32,onChange:({value:r})=>{e(ne(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){ae(e,t,r[t])}))}return e}({},t),{channel:r}))},placeholder:"Select channel",options:oe,value:oe.find((e=>e.value===t.channel))})})});function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){se(e,t,r[t])}))}return e}function ce(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function de({query:e,onChange:t}){var r,a,n;const o=(null===(r=e.nodes)||void 0===r?void 0:r.type)||"random";return(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{label:"Data type",labelWidth:14,children:(0,b.jsx)(w.Select,{options:ue.map((e=>({label:e,value:e}))),value:ue.find((e=>e===o)),onChange:r=>t(ce(le({},e.nodes),{type:r.value})),width:32})}),("random"===o||"random edges"===o)&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.InlineField,{label:"Count",labelWidth:14,children:(0,b.jsx)(w.Input,{type:"number",name:"count",value:null===(a=e.nodes)||void 0===a?void 0:a.count,width:32,onChange:r=>t(ce(le({},e.nodes),{count:r.currentTarget.value?parseInt(r.currentTarget.value,10):0})),placeholder:"10"})}),(0,b.jsx)(w.InlineField,{label:"Seed",labelWidth:14,children:(0,b.jsx)(w.Input,{type:"number",name:"seed",value:null===(n=e.nodes)||void 0===n?void 0:n.seed,width:16,onChange:r=>t(ce(le({},e.nodes),{seed:r.currentTarget.value?parseInt(r.currentTarget.value,10):0}))})})]})]})}const ue=["random","response_small","response_medium","random edges","feature_showcase"],pe=[{label:"Step",id:"timeStep",placeholder:"60",tooltip:"The number of seconds between datapoints."},{label:"On Count",id:"onCount",placeholder:"3",tooltip:"The number of values within a cycle, at the start of the cycle, that should have the onValue."},{label:"Off Count",id:"offCount",placeholder:"6",tooltip:"The number of offValues within the cycle."},{label:"On Value",id:"onValue",placeholder:"1",tooltip:'The value for "on values", may be an int, float, or null.'},{label:"Off Value",id:"offValue",placeholder:"1",tooltip:'The value for "off values", may be a int, float, or null.'}],me=({onChange:e,query:t})=>{const r=t=>{const{name:r,value:a}=t.target;e({target:{name:r,value:Number(a)}})};return(0,b.jsx)(w.InlineFieldRow,{children:pe.map((({label:e,id:a,placeholder:n,tooltip:o})=>{var i;return(0,b.jsx)(w.InlineField,{label:e,labelWidth:14,tooltip:o,children:(0,b.jsx)(w.Input,{width:32,type:"number",name:a,id:`pulseWave.${a}-${t.refId}`,value:null===(i=t.pulseWave)||void 0===i?void 0:i[a],placeholder:n,onChange:r})},a)}))})},ge=[{label:"Series count",id:"seriesCount",placeholder:"1",min:1,step:1},{label:"Start value",id:"startValue",placeholder:"auto",step:1},{label:"Min",id:"min",placeholder:"none",step:.1},{label:"Max",id:"max",placeholder:"none",step:.1},{label:"Spread",id:"spread",placeholder:"1",min:.5,step:.1},{label:"Noise",id:"noise",placeholder:"0",min:0,step:.1},{label:"Drop (%)",id:"drop",placeholder:"0",min:0,max:100,step:1,tooltip:"Exclude some percent (chance) points"}],he=D.components.DataSource.TestData.QueryTab,ye=({onChange:e,query:t})=>(0,b.jsx)(w.InlineFieldRow,{children:ge.map((({label:r,id:a,min:n,step:o,placeholder:i,tooltip:s})=>{const l=he[a];var c;return(0,b.jsx)(w.InlineField,{label:r,labelWidth:14,"aria-label":l,tooltip:s,children:(0,b.jsx)(w.Input,{width:32,name:a,type:"number",id:`randomWalk-${a}-${t.refId}`,min:n,step:o,value:null!==(c=t[a])&&void 0!==c?c:i,placeholder:i,onChange:e})},a)}))});var fe=u(3241),be=u(8531);function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){ve(e,t,r[t])}))}return e}function we(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const Ce=({onChange:e,query:t})=>{const[r,a]=(0,v.useState)(),[n,o]=(0,v.useState)(),i=r=>{try{const i=JSON.parse(r);if((0,fe.isArray)(i))return a(void 0),o(void 0),void e(we(Se({},t),{rawFrameContent:r}));let s;if((0,fe.isArray)(i.series)&&i.state)s=i.series.map((e=>(0,f.toDataFrameDTO)((0,f.toDataFrame)(e))));else{var n;const e=(0,be.toDataQueryResponse)({data:i});(null===(n=e.data)||void 0===n?void 0:n.length)&&!e.error&&(s=e.data.map((e=>(0,f.dataFrameToJSON)(e))))}if(s)return a(void 0),o("Converted to direct frame result"),void e(we(Se({},t),{rawFrameContent:JSON.stringify(s,null,2)}));a("Unable to read dataframes in text")}catch(e){a("Enter JSON array of data frames (or raw query results body)"),o(void 0)}};var s;return(0,b.jsxs)(b.Fragment,{children:[r&&(0,b.jsx)(w.Alert,{title:r,severity:"error"}),n&&(0,b.jsx)(w.Alert,{title:n,severity:"warning"}),(0,b.jsx)(w.CodeEditor,{height:300,language:"json",value:null!==(s=t.rawFrameContent)&&void 0!==s?s:"[]",onBlur:i,onSave:i,showMiniMap:!0,showLineNumbers:!0})]})};var Te=u(6089);function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ie(e,t,r[t])}))}return e}function Ne(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const Fe=(e,t,r)=>{switch(e.type){case"number":return(0,b.jsx)(w.Input,{type:"number",defaultValue:null==r?void 0:r[e.name],onChange:a=>{const n=a.currentTarget.valueAsNumber;t(Ne(xe({},r),{[e.name]:n}))}});case"boolean":var a;return(0,b.jsx)(w.InlineSwitch,{value:null===(a=null==r?void 0:r[e.name])||void 0===a||a,onChange:()=>{t(Ne(xe({},r),{[e.name]:!r[e.name]}))}});default:return(0,b.jsx)(w.Input,{type:"string",value:null==r?void 0:r[e.name],onChange:a=>{const n=a.target.value;t(Ne(xe({},r),{[e.name]:n}))}})}},ke=e=>({jsonView:(0,Te.css)({marginBottom:e.spacing(1)})}),Ae=({config:e,schema:t,onChange:r})=>{const[a,n]=(0,v.useState)(!1),o=(0,w.useStyles2)(ke);return(0,b.jsxs)(w.FieldSet,{label:"Config",children:[(0,b.jsx)(w.InlineSwitch,{className:o.jsonView,label:"JSON View",showLabel:!0,value:a,onChange:()=>n(!a)}),a?(0,b.jsx)(w.TextArea,{defaultValue:JSON.stringify(e,null,2),rows:7,onChange:e=>{const t=e.currentTarget;r(JSON.parse(t.value))}}):(0,b.jsx)(b.Fragment,{children:t.fields.map((t=>(0,b.jsx)(w.InlineField,{label:t.name,labelWidth:14,children:Fe(t,r,e)},t.name)))})]})};function Pe(e,t,r,a,n,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(a,n)}function Ee(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var o=e.apply(t,r);function i(e){Pe(o,a,n,i,s,"next",e)}function s(e){Pe(o,a,n,i,s,"throw",e)}i(void 0)}))}}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Oe(e,t,r[t])}))}return e}function Re(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const _e=({onChange:e,query:t,ds:r})=>{var a,n,o;const i=null!==(o=t.sim)&&void 0!==o?o:{};var s;const l=null!==(s=i.key)&&void 0!==s?s:{},[c,d]=(0,v.useState)({}),u=I((()=>Ee((function*(){const e=yield r.getResource("sims");return{sims:e,options:e.map((e=>({label:e.name,value:e.type,description:e.description})))}}))()),[r]),p=(0,v.useMemo)((()=>{const e=l.type;return e&&u.value?{details:u.value.sims.find((t=>t.type===e)),option:u.value.options.find((t=>t.value===e))}:{}}),[u.value,null==l?void 0:l.type]);let m=I((()=>Ee((function*(){var e;let t=l.type+"/"+l.tick+"hz";l.uid&&(t+="/"+l.uid);let a=null===(e=yield r.getResource("sim/"+t))||void 0===e?void 0:e.config;return d(a.value),a}))()),[l.type,l.tick,l.uid]);const g=r=>{e(Re(De({},t),{sim:Re(De({},i),{key:r})}))};var h,y;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Simulation",tooltip:"",children:(0,b.jsx)(w.Select,{isLoading:u.loading,options:null!==(h=null===(a=u.value)||void 0===a?void 0:a.options)&&void 0!==h?h:[],value:p.option,onChange:e=>{g(Re(De({},l),{type:e.value}))},width:32})})}),(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Stream",tooltip:"connect to the live channel",children:(0,b.jsx)(w.InlineSwitch,{value:Boolean(i.stream),onChange:()=>{e(Re(De({},t),{sim:Re(De({},i),{stream:!i.stream})}))}})}),(0,b.jsx)(w.InlineField,{label:"Interval",tooltip:"the rate a simulation will spit out events",children:(0,b.jsx)(w.Input,{width:10,type:"number",value:l.tick,onChange:e=>{const t=e.currentTarget.valueAsNumber;g(Re(De({},l),{tick:t}))},min:.1,max:50,suffix:"hz"})}),(0,b.jsx)(w.InlineField,{label:"Last",tooltip:"Only return the last value",children:(0,b.jsx)(w.Label,{children:(0,b.jsx)(w.InlineSwitch,{value:Boolean(i.last),onChange:()=>{e(Re(De({},t),{sim:Re(De({},i),{last:!i.last})}))}})})}),(0,b.jsx)(w.InlineField,{label:"UID",tooltip:"A UID will allow multiple simulations to run at the same time",children:(0,b.jsx)(w.Input,{type:"text",placeholder:"optional",value:i.key.uid,onChange:e=>{const{value:t}=e.currentTarget;g(Re(De({},l),{uid:null!=t?t:void 0}))}})})]}),(0,b.jsx)(Ae,{onChange:e=>{let t=l.type+"/"+l.tick+"hz";l.uid&&(t+="/"+l.uid),r.postResource("sim/"+t,e).then((e=>{d(e.config)}))},config:null!=c?c:m.value,schema:null!==(y=null===(n=p.details)||void 0===n?void 0:n.config.schema)&&void 0!==y?y:{fields:[]}})]})},Me=[{label:"Speed (ms)",id:"speed",placeholder:"value",min:10,step:10},{label:"Spread",id:"spread",placeholder:"value",min:.5,step:.1},{label:"Noise",id:"noise",placeholder:"value",min:0,step:.1},{label:"Bands",id:"bands",placeholder:"bands",min:0,step:1}],Le=[{value:"signal",label:"Signal"},{value:"logs",label:"Logs"},{value:"fetch",label:"Fetch"},{value:"traces",label:"Traces"},{value:"watch",label:"Watch"}],je=({onChange:e,query:t})=>{var r,a,n,o;const i=t=>{const{name:r,value:a}=t.target;e({target:{name:r,value:Number(a)}})},s=(null==t||null===(r=t.stream)||void 0===r?void 0:r.type)||"signal",l="signal"===s?Me:["logs","traces","watch"].includes(s)?[Me[0]]:[];return(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{label:"Type",labelWidth:14,children:(0,b.jsx)(w.Select,{width:32,onChange:({value:t})=>{e({target:{name:"type",value:t}})},defaultValue:Le[0],options:Le,value:null==t||null===(a=t.stream)||void 0===a?void 0:a.type})}),l.map((({label:e,id:r,min:a,step:n,placeholder:o})=>{var s;return(0,b.jsx)(w.InlineField,{label:e,labelWidth:14,children:(0,b.jsx)(w.Input,{width:32,type:"number",id:`stream.${r}-${t.refId}`,name:r,min:a,step:n,value:null===(s=t.stream)||void 0===s?void 0:s[r],placeholder:o,onChange:i})},r)})),"fetch"===(null==t||null===(n=t.stream)||void 0===n?void 0:n.type)&&(0,b.jsx)(w.InlineField,{label:"URL",labelWidth:14,grow:!0,children:(0,b.jsx)(w.Input,{type:"text",name:"url",id:`stream.url-${t.refId}`,value:null==t||null===(o=t.stream)||void 0===o?void 0:o.url,placeholder:"Fetch URL",onChange:e})})]})};function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){$e(e,t,r[t])}))}return e}function qe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function Be({query:e,onChange:t}){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Mode",children:(0,b.jsx)(w.Select,{options:He,onChange:r=>{t(qe(Ve({},e),{mode:r.value}))},width:32,value:He.find((t=>t.value===e.mode))})}),(0,b.jsx)(w.InlineField,{label:"Period",children:(0,b.jsx)(w.Input,{value:e.period,placeholder:"30m",onChange:r=>{t(qe(Ve({},e),{period:r.currentTarget.value}))}})})]}),(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Fields",children:(0,b.jsx)(w.MultiSelect,{options:Ge,onChange:r=>{t(qe(Ve({},e),{fields:r.map((e=>e.value))}))},width:32,placeholder:"all",value:e.fields})}),(0,b.jsx)(w.InlineField,{label:"States",grow:!0,children:(0,b.jsx)(w.MultiSelect,{options:We,onChange:r=>{t(qe(Ve({},e),{states:r.map((e=>e.value))}))},placeholder:"all",value:e.states})})]})]})}const He=["values-as-rows","values-as-fields","values-as-labeled-fields","timeseries","timeseries-wide"].map((e=>({label:e,value:e}))),Ge=["foo","bar","baz"].map((e=>({label:e,value:e}))),We=["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","MD","MA","MI","MN","MS","MO","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"].map((e=>({label:e,value:e})));var Ue=u(1269);const Ke={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Qe;const ze=new Uint8Array(16);const Xe=[];for(let e=0;e<256;++e)Xe.push((e+256).toString(16).slice(1));function Je(e,t=0){return(Xe[e[t+0]]+Xe[e[t+1]]+Xe[e[t+2]]+Xe[e[t+3]]+"-"+Xe[e[t+4]]+Xe[e[t+5]]+"-"+Xe[e[t+6]]+Xe[e[t+7]]+"-"+Xe[e[t+8]]+Xe[e[t+9]]+"-"+Xe[e[t+10]]+Xe[e[t+11]]+Xe[e[t+12]]+Xe[e[t+13]]+Xe[e[t+14]]+Xe[e[t+15]]).toLowerCase()}const Ye=function(e,t,r){if(Ke.randomUUID&&!t&&!e)return Ke.randomUUID();const a=(e=e||{}).random??e.rng?.()??function(){if(!Qe){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Qe=crypto.getRandomValues.bind(crypto)}return Qe(ze)}();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return Je(a)};let Ze=0;function et(){return Ze=(Ze+Math.floor(5*Math.random()))%tt.length,tt[Ze]}const tt=["At","vero","eos","et","accusamus","et","iusto","odio","dignissimos","ducimus","qui","blanditiis","praesentium","voluptatum","deleniti","atque","corrupti","quos","dolores","et","quas","molestias","excepturi","sint","occaecati","cupiditate","non","provident","similique","sunt","in","culpa","qui","officia","deserunt","mollitia","animi","id","est","laborum","et","dolorum","fuga","Et","harum","quidem","rerum","facilis","est","et","expedita","distinctio","Nam","libero","tempore","cum","soluta","nobis","est","eligendi","optio","cumque","nihil","impedit","quo","minus","id","quod","maxime","placeat","facere","possimus","omnis","voluptas","assumenda","est","omnis","dolor","repellendus","Temporibus","autem","quibusdam","et","aut","officiis","debitis","aut","rerum","necessitatibus","saepe","eveniet","ut","et","voluptates","repudiandae","sint","et","molestiae","non","recusandae","Itaque","earum","rerum","hic","tenetur","a","sapiente","delectus","ut","aut","reiciendis","voluptatibus","maiores","alias","consequatur","aut","perferendis","doloribus","asperiores","repellat"];function rt(e,t,r,a,n,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(a,n)}const at={type:"signal",speed:250,spread:3.5,noise:2.2,bands:1};function nt(e,t){const r=(0,fe.defaults)(e.stream,at);switch(r.type){case"signal":return function(e,t,r){return new Ue.Observable((a=>{const n=`signal-${r.panelId||"explore"}-${e.refId}`,o=r.maxDataPoints||1e3;var i;const s={refId:e.refId,fields:[{name:"time",type:f.FieldType.time},{name:null!==(i=e.alias)&&void 0!==i?i:"value",type:f.FieldType.number}]},{spread:l,speed:c,bands:d=0,noise:u}=t;for(let e=0;e<d;e++){const t=d>1?` ${e+1}`:"";s.fields.push({name:"Min"+t,type:f.FieldType.number}),s.fields.push({name:"Max"+t,type:f.FieldType.number})}const p=f.StreamingDataFrame.fromDataFrameJSON({schema:s},{maxLength:o});let m,g=100*Math.random(),h=-1;const y=e=>{g+=(Math.random()-.5)*l;const t={values:[[e],[g]]};let r=g,a=g;for(let e=0;e<d;e++)r-=Math.random()*u,a+=Math.random()*u,t.values.push([r]),t.values.push([a]);const n={data:t};return p.push(n)};let b=Date.now()-o*c;for(let e=0;e<o;e++)y(b),b+=c;const v=()=>{h=Date.now(),y(h),a.next({data:[p],key:n,state:f.LoadingState.Streaming}),m=setTimeout(v,c)};return setTimeout(v,5),()=>{clearTimeout(m)}}))}(e,r,t);case"logs":return function(e,t,r){return new Ue.Observable((a=>{const n=`logs-${r.panelId||"explore"}-${e.refId}`,o=r.maxDataPoints||1e3,i=new f.CircularDataFrame({append:"tail",capacity:o});i.refId=e.refId,i.name=e.alias||"Logs "+e.refId,i.addField({name:"line",type:f.FieldType.string}),i.addField({name:"time",type:f.FieldType.time}),i.meta={preferredVisualisationType:"logs"};const{speed:s}=t;let l;const c=()=>{i.fields[0].values.push(function(e=60){let t=et();for(;t.length<e;)t+=" "+et();return t}()),i.fields[1].values.push(Date.now()),a.next({data:[i],key:n,state:f.LoadingState.Streaming}),l=setTimeout(c,s)};return setTimeout(c,5),()=>{clearTimeout(l)}}))}(e,r,t);case"fetch":return function(e,t,r){return new Ue.Observable((a=>{const n=`fetch-${r.panelId||"explore"}-${e.refId}`,o=r.maxDataPoints||1e3;let i,s=new f.CircularDataFrame({append:"tail",capacity:o});s.refId=e.refId,s.name=e.alias||"Fetch "+e.refId;const l=new f.CSVReader({callback:{onHeader:t=>{s.fields.length&&(s=new f.CircularDataFrame({append:"tail",capacity:o}),s.refId=e.refId,s.name="Fetch "+e.refId);for(const e of t)s.addField(e)},onRow:e=>{s.add(e)}}}),c=e=>{return(t=function*(){if(e.value){const t=(new TextDecoder).decode(e.value);l.readCSV(t)}if(a.next({data:[s],key:n,state:e.done?f.LoadingState.Done:f.LoadingState.Streaming}),!e.done)return i.read().then(c);a.complete()},function(){var e=this,r=arguments;return new Promise((function(a,n){var o=t.apply(e,r);function i(e){rt(o,a,n,i,s,"next",e)}function s(e){rt(o,a,n,i,s,"throw",e)}i(void 0)}))})();var t};if(!t.url)throw new Error("query.url is not defined");return fetch(new Request(t.url)).then((e=>{e.body&&(i=e.body.getReader(),i.read().then(c))})),()=>{}}))}(e,r,t);case"traces":return function(e,t,r){return new Ue.Observable((a=>{const n=`traces-${r.panelId||"explore"}-${e.refId}`,o=function(e,t=1e3){const r=new f.CircularDataFrame({append:"head",capacity:t});return r.refId=e.refId,r.name=e.alias||"Traces "+e.refId,r.addField({name:"TraceID",type:f.FieldType.string}),r.addField({name:"Start time",type:f.FieldType.time}),r.addField({name:"Service",type:f.FieldType.string}),r.addField({name:"Name",type:f.FieldType.string}),r.addField({name:"Duration",type:f.FieldType.number,config:{unit:"ms"}}),r.addField({name:"nested",type:f.FieldType.nestedFrames}),r.meta={preferredVisualisationType:"table",uniqueRowIdFields:[0]},r}(e,r.maxDataPoints);let i;const s=()=>{const e=function(){const e=(0,f.createDataFrame)({fields:[{name:"SpanID",type:f.FieldType.string},{name:"Start time",type:f.FieldType.time},{name:"service.name",type:f.FieldType.string},{name:"duration",type:f.FieldType.number}]});for(const t of e.fields)t.display=(0,f.getDisplayProcessor)({field:t,theme:ot});return e}();(0,f.addRow)(e,[Ye(),Date.now(),"Grafana",1500]),(0,f.addRow)(o,[Ye(),Date.now(),"Grafana","HTTP GET /explore",1500,[e]]),a.next({data:[o],key:n,state:f.LoadingState.Streaming}),i=setTimeout(s,t.speed)};return setTimeout(s,5),()=>{clearTimeout(i)}}))}(e,r,t);case"watch":return function(e,t,r){var a;const n=null===(a=r.targets[0].datasource)||void 0===a?void 0:a.uid;if(!n)return(0,Ue.throwError)((()=>new Error("expected datasource uid")));return new Ue.Observable((a=>{const o=`watch-${r.panelId||"explore"}-${e.refId}`,i=new f.CircularDataFrame({append:"tail",capacity:r.maxDataPoints||1e3});i.refId=e.refId,i.name=e.alias||"Logs "+e.refId,i.addField({name:"time",type:f.FieldType.time}),i.addField({name:"message",type:f.FieldType.number}),i.addField({name:"value",type:f.FieldType.number});const s=new TextDecoder;var l;const c=(0,be.getBackendSrv)().chunked({url:`api/datasources/uid/${n}/resources/stream`,params:{count:r.maxDataPoints||1e3,format:"json",speed:`${null!==(l=t.speed)&&void 0!==l?l:250}ms`,flush:85}}).subscribe({next:e=>{e.data&&e.ok&&s.decode(e.data,{stream:!0}).split("\n").forEach((e=>{if(null==e?void 0:e.length)try{const t=JSON.parse(e);i.fields[0].values.push(t.time),i.fields[1].values.push(t.message),i.fields[2].values.push(t.value),a.next({data:[i],key:o,state:f.LoadingState.Streaming})}catch(t){console.warn("error parsing line",e,t)}}))},error:e=>{console.warn("error in stream",o,e)},complete:()=>{}});return()=>{c.unsubscribe()}}))}(e,r,t)}throw new Error(`Unknown Stream Type: ${r.type}`)}const ot=(0,f.createTheme)();function it(e,t,r,a,n,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(a,n)}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){st(e,t,r[t])}))}return e}function ct(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const dt=[{value:"datasources",label:"Data Sources"},{value:"search",label:"Search"},{value:"annotations",label:"Annotations"}],ut=D.components.DataSource.TestData.QueryTab,pt=(0,v.memo)((()=>(0,b.jsxs)("div",{children:["See github for more information about setting up a reproducible test environment.",(0,b.jsx)("br",{}),(0,b.jsx)("br",{}),(0,b.jsx)(w.LinkButton,{variant:"secondary",href:"https://github.com/grafana/grafana/tree/main/devenv",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),(0,b.jsx)("br",{})]})));pt.displayName="TestInfoTab";var mt=u(3059);function gt(e,t){const r=["A","B","C","D","E","F","G","H"],a=[];if(t>5)return[];for(const n of r){const r=`${e}${n}`;a.push({name:r,children:gt(r,t+1)})}return a}function ht(e,t,r){if(r>=t.length)return e;if("*"===t[r])return e;const a=t[r];let n=[],o=[a];a.startsWith("{")&&(o=a.replace(/\{|\}/g,"").split(","));for(const a of e)for(const e of o)if(-1!==e.indexOf("*")){const o=e.replace("*","");new RegExp(`^${o}.*`,"gi").test(a.name)&&(n=n.concat(ht([a],t,r+1)))}else a.name===e&&(n=n.concat(ht(a.children,t,r+1)));return n}function yt(e){if(0===e.indexOf("value"))return[{name:e,children:[]}];return ht(gt("",0),e.split("."),0)}const ft=1/4294967296;const bt={fields:[{name:f.NodeGraphDataFrameFieldNames.id,type:f.FieldType.string,config:{links:[{title:"Traces/All",url:"",internal:{query:{queryType:"getTraceSummaries",query:'service(id(name: "${__data.fields.name}", type: "${__data.fields.type}"))'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/OK",url:"",internal:{query:{queryType:"getTraceSummaries",query:'service(id(name: "${__data.fields.name}", type: "${__data.fields.type}")) { ok = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/Errors",url:"",internal:{query:{queryType:"getTraceSummaries",query:'service(id(name: "${__data.fields.name}", type: "${__data.fields.type}")) { error = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/Faults",url:"",internal:{query:{queryType:"getTraceSummaries",query:'service(id(name: "${__data.fields.name}", type: "${__data.fields.type}")) { fault = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}}]},values:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},{name:f.NodeGraphDataFrameFieldNames.title,type:f.FieldType.string,config:{displayName:"Name"},values:["auth","products","customers","orders","products","orders","api","shipping","orders","execute-api","shipping","www","api","www","products","test-client","test-api"]},{name:f.NodeGraphDataFrameFieldNames.subTitle,type:f.FieldType.string,config:{displayName:"Type"},values:["Compute","SQL","SQL","SQL","remote","Function","Compute","Function","Function","remote","Function","Compute","client","client","Compute","ephemeral","ephemeral-api"]},{name:f.NodeGraphDataFrameFieldNames.mainStat,type:f.FieldType.number,config:{unit:"ms/t",displayName:"Average response time"},values:[3.5394042646735553,15.906441318223264,4.913011921591567,7.4163203042094095,1092,22.85961441405067,56.135855729084696,4.45946191601527,12.818300278280843,4.25,12.565442646791492,77.63447512700567,40.387096774193544,77.63447512700567,27.648950187374872,77.63447512700567,27.648950187374872]},{name:f.NodeGraphDataFrameFieldNames.secondaryStat,type:f.FieldType.number,config:{unit:"t/min",displayName:"Transactions per minute"},values:[50.56317154501667,682.4,512.8416666666667,125.64444444444445,.005585812037424941,137.59722222222223,300.0527777777778,30.582348853370394,125.77222222222223,.028706417080318163,30.582348853370394,165.675,.100021510002151,165.675,162.33055555555555,165.675,162.33055555555555]},{name:f.NodeGraphDataFrameFieldNames.arc+"success",type:f.FieldType.number,config:{color:{mode:f.FieldColorModeId.Fixed,fixedColor:"green"},displayName:"Sucesss"},values:[.9338865684765882,1,1,1,.5,1,.9901128505170387,.9069260134520997,1,0,.9069260134520997,.9624432037288534,0,.9624432037288534,.9824945669843769,.9624432037288534,.9824945669843769]},{name:f.NodeGraphDataFrameFieldNames.arc+"faults",type:f.FieldType.number,config:{color:{mode:f.FieldColorModeId.Fixed,fixedColor:"red"},displayName:"Faults"},values:[0,0,0,0,.5,0,.009479813736472288,0,0,0,0,.017168821152524185,0,.017168821152524185,.01750543301562313,.017168821152524185,.01750543301562313]},{name:f.NodeGraphDataFrameFieldNames.arc+"errors",type:f.FieldType.number,config:{color:{mode:f.FieldColorModeId.Fixed,fixedColor:"semi-dark-yellow"},displayName:"Errors"},values:[.06611343152341174,0,0,0,0,0,.0004073357464890436,.09307398654790038,0,1,.09307398654790038,.02038797511862247,1,.02038797511862247,0,.02038797511862247,0]},{name:f.NodeGraphDataFrameFieldNames.arc+"throttled",type:f.FieldType.number,config:{color:{mode:f.FieldColorModeId.Fixed,fixedColor:"purple"},displayName:"Throttled"},values:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}],meta:{preferredVisualisationType:"nodeGraph"},name:"nodes"},vt={fields:[{name:f.NodeGraphDataFrameFieldNames.id,type:f.FieldType.string,config:{links:[{title:"Traces/All",url:"",internal:{query:{queryType:"getTraceSummaries",query:'edge("${__data.fields.sourceName}", "${__data.fields.targetName}")'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/OK",url:"",internal:{query:{queryType:"getTraceSummaries",query:'edge("${__data.fields.sourceName}", "${__data.fields.targetName}") { ok = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/Errors",url:"",internal:{query:{queryType:"getTraceSummaries",query:'edge("${__data.fields.sourceName}", "${__data.fields.targetName}") { error = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}},{title:"Traces/Faults",url:"",internal:{query:{queryType:"getTraceSummaries",query:'edge("${__data.fields.sourceName}", "${__data.fields.targetName}") { fault = true }'},datasourceUid:"Ax4erxHGz",datasourceName:"Trace data source"}}]},values:["0__2","5__8","6__0","6__5","6__9","6__2","6__14","6__4","8__3","10__7","11__0","11__6","12__6","13__11","14__1","14__2","14__10","15__16"]},{name:f.NodeGraphDataFrameFieldNames.source,type:f.FieldType.string,config:{},values:[0,5,6,6,6,6,6,6,8,10,11,11,12,13,14,14,14,15]},{name:"sourceName",type:f.FieldType.string,config:{},values:["auth","orders","api","api","api","api","api","api","orders","shipping","www","www","api","www","products","products","products","test-client"]},{name:f.NodeGraphDataFrameFieldNames.target,type:f.FieldType.string,config:{},values:[2,8,0,5,9,2,14,4,3,7,0,6,6,11,1,2,10,16]},{name:"targetName",type:f.FieldType.string,config:{},values:["customers","orders","auth","orders","execute-api","customers","products","products","orders","shipping","auth","api","api","www","products","customers","shipping","test-api"]},{name:f.NodeGraphDataFrameFieldNames.mainStat,type:f.FieldType.string,config:{displayName:"Response percentage"},values:["Success 100.00%","Success 100.00%","Success 100.00%","Success 100.00%","Errors 100.00%","Success 100.00%","Faults 1.75%","Faults 50.00%","Success 100.00%","Errors 9.31%","Errors 6.62%","Faults 1.13%","Errors 100.00%","Faults 1.72%","Success 100.00%","Success 100.00%","Faults 9.30%","Faults 9.30%"]},{name:f.NodeGraphDataFrameFieldNames.secondaryStat,type:f.FieldType.number,config:{unit:"t/min",displayName:"Transactions per minute"},values:[50.56317154501667,125.77222222222223,.03333333333333333,137.59722222222223,.022222222222222223,299.96666666666664,162.33055555555555,.005555555555555556,125.64444444444445,30.582348853370394,50.51111111111111,299.9166666666667,.100021510002151,165.675,682.4,162.33055555555555,30.558333333333334,30.558333333333334]}],meta:{preferredVisualisationType:"nodeGraph"},name:"edges"},St={fields:[{name:f.NodeGraphDataFrameFieldNames.id,type:f.FieldType.string,values:["0","candycon2000","pantry-summary","compute-splines-api","send-notification","popcorn-distributor","caramel-gateway","candy-distributor","candy-query-frontend","candy-ruler","candy-querier","candy-chocolate-querier","candy-backend","candy-read","candy-write","popcorn-backend","popcorn-query-frontend","proxy-reads","proxy-gateway","proxy-writes","dentist","fudge-proxy-gateway","candy-admin-api","candy-disposer","candy-ingester","candy-gateway","candy-chocolate-write-proxy","candy-store-gateway","popcorn-querier","candy-query-scheduler","api","controller","gateway","db","marshmallow-popcorn-plugin","eggnog-query","licorice-ingester","licorice-distributor","licorice-gateway","licorice-querier","licorice-query-frontend","licorice-ruler","licorice-read","licorice-write","licorice-sugar-gateway","licorice-query-scheduler","popcorn-ingester","popcorn-ruler","peanutapi","almondapi","worker","toffee-gateway","marshmallow-gateway","toffee-proxy-gateway","mints-distributor","mints-agent","mints-ingester","marshmallow-query-frontend","marshmallow-ingester","marshmallow-querier","eating-scheduler","calorie-generator","candy-packaging-exporter","candy-manager","overeat-gateway","wrappers-api","overeat_api","licorice-admin-api","almond","almondops-gateway"]},{name:f.NodeGraphDataFrameFieldNames.title,config:{displayName:"Service name"},type:f.FieldType.string,values:["0","candycon2000","pantry-summary","compute-splines-api","send-notification","popcorn-distributor","caramel-gateway","candy-distributor","candy-query-frontend","candy-ruler","candy-querier","candy-chocolate-querier","candy-backend","candy-read","candy-write","popcorn-backend","popcorn-query-frontend","proxy-reads","proxy-gateway","proxy-writes","dentist","fudge-proxy-gateway","candy-admin-api","candy-disposer","candy-ingester","candy-gateway","candy-chocolate-write-proxy","candy-store-gateway","popcorn-querier","candy-query-scheduler","api","controller","gateway","db","marshmallow-popcorn-plugin","eggnog-query","licorice-ingester","licorice-distributor","licorice-gateway","licorice-querier","licorice-query-frontend","licorice-ruler","licorice-read","licorice-write","licorice-sugar-gateway","licorice-query-scheduler","popcorn-ingester","popcorn-ruler","peanutapi","almondapi","worker","toffee-gateway","marshmallow-gateway","toffee-proxy-gateway","mints-distributor","mints-agent","mints-ingester","marshmallow-query-frontend","marshmallow-ingester","marshmallow-querier","eating-scheduler","calorie-generator","candy-packaging-exporter","candy-manager","overeat-gateway","wrappers-api","overeat_api","licorice-admin-api","almond","almondops-gateway"]},{name:f.NodeGraphDataFrameFieldNames.mainStat,config:{unit:"ms/r",displayName:"Average response time"},type:f.FieldType.number,values:[.3792332384891563,.8672229016348518,null,16.20695699632165,39.928285334583585,9.655124202033475,21.05268555627574,5.867123115073844,2.4860418856893776,355.53214166441546,20.55178572103791,null,38.89817349596472,8.180751216025271,.8054812870678301,40.77678203483556,85.482797395998,16.27026063145621,null,19.87661445917064,.22942839760131845,null,null,null,.5613453804178244,null,null,8.992145179555344,304.9330783211414,null,10.395531440216706,null,null,null,.015141602590812384,null,2516.1181289425012,1.753552009081408,2.18723509171844,2042.6033859578174,35.584947433232884,12.650689593313736,11469.63275426663,10032.233577903402,2.7579124143530875,null,12.313124260662056,null,449.2619110960284,null,457.68439141665425,4.200223281332062,3.22412985358373,null,16.03316977154454,null,5.830408312271875,1460.8431543525896,6.379590630002257,null,null,null,null,null,null,null,null,null,null,null]},{name:f.NodeGraphDataFrameFieldNames.secondaryStat,config:{unit:"r/sec",displayName:"Requests per second"},type:f.FieldType.number,values:[0,0,null,0,0,0,0,0,.01,0,.01,null,0,0,.02,0,0,0,null,0,0,null,null,null,.1,null,null,0,0,null,0,null,null,null,0,null,.06,0,0,0,0,0,0,0,0,null,0,null,0,null,0,0,0,null,0,null,0,0,0,null,null,null,null,null,null,null,null,null,null,null]},{name:"arc__success",config:{displayName:"Success",color:{fixedColor:"green",mode:"fixed"}},type:f.FieldType.number,values:[1,1,1,1,0,1,.999931271795046,.9999982854540072,.9999993106537873,1,.9999988795927239,1,.9984939706365067,.9999936988458762,.9374731810143394,.9981691514900277,1,1,1,.6918050349578433,1,1,1,1,.9649904403274051,1,1,.996693264215713,.9990646675327494,1,.989711501101388,1,1,1,1,1,.974376082211577,1,1,.9979501689527777,.9999554801847671,.7997517799066115,.998393334495106,.8077280841753209,.9999889402832068,1,.9267936098112096,1,.9678190225122817,1,.9664342727367723,1,1,1,1,1,1,.49879813934581896,.8514429797914538,1,1,1,1,1,1,1,1,1,1,1]},{name:"arc__failed",config:{displayName:"Failed",color:{fixedColor:"red",mode:"fixed"}},type:f.FieldType.number,values:[0,0,0,0,1,0,6872820495400671e-20,17145459928594954e-22,6.893462126672767e-7,0,1120407275990985e-21,0,.001506029363493422,6301154123861364e-21,.06252681898566055,.0018308485099723893,0,0,0,.30819496504215677,0,0,0,0,.03500955967259495,0,0,.0033067357842869243,.0009353324672505954,0,.01028849889861211,0,0,0,0,0,.025623917788423094,0,0,.002049831047222383,4451981523281711e-20,.20024822009338844,.001606665504893849,.19227191582467903,11059716793143872e-21,0,.07320639018879034,0,.032180977487718344,0,.03356572726322771,0,0,0,0,0,0,.501201860654181,.14855702020854625,0,0,0,0,0,0,0,0,0,0,0]}],meta:{preferredVisualisationType:"nodeGraph"},name:"nodes"},wt={fields:[{name:f.NodeGraphDataFrameFieldNames.id,type:f.FieldType.string,values:["pantry-summary_candycon2000","compute-splines-api_candycon2000","compute-splines-api_send-notification","caramel-gateway_popcorn-distributor","caramel-gateway_candy-distributor","caramel-gateway_candy-query-frontend","caramel-gateway_candy-ruler","caramel-gateway_caramel-gateway","caramel-gateway_candy-querier","caramel-gateway_candy-chocolate-querier","caramel-gateway_candy-backend","caramel-gateway_candy-read","caramel-gateway_candy-write","caramel-gateway_popcorn-backend","caramel-gateway_popcorn-query-frontend","proxy-gateway_proxy-reads","proxy-gateway_proxy-writes","proxy-reads_caramel-gateway","proxy-writes_caramel-gateway","fudge-proxy-gateway_dentist","candy-admin-api_candy-distributor","candy-backend_candy-read","candy-backend_candy-write","candy-disposer_candy-distributor","candy-distributor_candy-ingester","candy-distributor_candy-distributor","candy-gateway_candy-admin-api","candy-gateway_candy-distributor","candy-gateway_candy-query-frontend","candy-chocolate-write-proxy_caramel-gateway","candy-ingester_candy-distributor","candy-querier_candy-ingester","candy-querier_candy-query-frontend","candy-querier_candy-store-gateway","candy-querier_candy-distributor","candy-query-frontend_candy-querier","candy-query-frontend_popcorn-querier","candy-query-frontend_candy-distributor","candy-query-scheduler_candy-distributor","candy-read_candy-backend","candy-read_candy-read","candy-read_candy-write","candy-read_popcorn-backend","candy-ruler_candy-ruler","candy-ruler_candy-ingester","candy-ruler_candy-query-frontend","candy-ruler_candy-distributor","candy-write_candy-write","controller_api","gateway_api","db_api","eggnog-query_marshmallow-popcorn-plugin","licorice-distributor_licorice-ingester","licorice-gateway_licorice-distributor","licorice-gateway_licorice-querier","licorice-gateway_licorice-query-frontend","licorice-gateway_licorice-ruler","licorice-gateway_licorice-read","licorice-gateway_licorice-write","licorice-querier_licorice-sugar-gateway","licorice-querier_licorice-ingester","licorice-querier_licorice-query-frontend","licorice-query-frontend_licorice-querier","licorice-query-scheduler_licorice-query-frontend","licorice-read_licorice-read","licorice-read_licorice-write","licorice-ruler_licorice-ingester","licorice-ruler_licorice-sugar-gateway","licorice-ruler_licorice-ruler","licorice-write_licorice-write","popcorn-backend_candy-read","popcorn-backend_candy-write","popcorn-distributor_candy-ingester","popcorn-distributor_popcorn-ingester","popcorn-querier_candy-ingester","popcorn-querier_candy-query-frontend","popcorn-querier_candy-store-gateway","popcorn-querier_popcorn-ingester","popcorn-querier_popcorn-query-frontend","popcorn-query-frontend_popcorn-querier","popcorn-ruler_candy-ingester","popcorn-ruler_popcorn-query-frontend","almondapi_peanutapi","peanutapi_0","peanutapi_worker","toffee-gateway_licorice-gateway","toffee-gateway_marshmallow-gateway","toffee-proxy-gateway_toffee-gateway","mints-agent_mints-distributor","mints-distributor_mints-ingester","marshmallow-gateway_marshmallow-query-frontend","marshmallow-querier_marshmallow-ingester","eating-scheduler_peanutapi","calorie-generator_compute-splines-api","worker_0","worker_worker","candy-backend_candy-backend","candy-gateway_candy-ruler","candy-packaging-exporter_candy-distributor","caramel-gateway_candy-chocolate-write-proxy","candy-manager_candy-distributor","candy-backend_popcorn-backend","candy-gateway_candy-manager","candy-gateway_candy-querier","candy-gateway_candy-store-gateway","candy-gateway_candy-disposer","candy-query-scheduler_candy-query-frontend","candy-store-gateway_candy-distributor","api_gateway","gateway_overeat-gateway","gateway_wrappers-api","overeat-gateway_overeat_api","overeat_api_gateway","wrappers-api_caramel-gateway","licorice-gateway_licorice-admin-api","popcorn-backend_popcorn-backend","popcorn-backend_candy-backend","almondops-gateway_almond","marshmallow-gateway_marshmallow-querier"]},{name:f.NodeGraphDataFrameFieldNames.source,type:f.FieldType.string,config:{},values:["pantry-summary","compute-splines-api","compute-splines-api","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","caramel-gateway","proxy-gateway","proxy-gateway","proxy-reads","proxy-writes","fudge-proxy-gateway","candy-admin-api","candy-backend","candy-backend","candy-disposer","candy-distributor","candy-distributor","candy-gateway","candy-gateway","candy-gateway","candy-chocolate-write-proxy","candy-ingester","candy-querier","candy-querier","candy-querier","candy-querier","candy-query-frontend","candy-query-frontend","candy-query-frontend","candy-query-scheduler","candy-read","candy-read","candy-read","candy-read","candy-ruler","candy-ruler","candy-ruler","candy-ruler","candy-write","controller","gateway","db","eggnog-query","licorice-distributor","licorice-gateway","licorice-gateway","licorice-gateway","licorice-gateway","licorice-gateway","licorice-gateway","licorice-querier","licorice-querier","licorice-querier","licorice-query-frontend","licorice-query-scheduler","licorice-read","licorice-read","licorice-ruler","licorice-ruler","licorice-ruler","licorice-write","popcorn-backend","popcorn-backend","popcorn-distributor","popcorn-distributor","popcorn-querier","popcorn-querier","popcorn-querier","popcorn-querier","popcorn-querier","popcorn-query-frontend","popcorn-ruler","popcorn-ruler","almondapi","peanutapi","peanutapi","toffee-gateway","toffee-gateway","toffee-proxy-gateway","mints-agent","mints-distributor","marshmallow-gateway","marshmallow-querier","eating-scheduler","calorie-generator","worker","worker","candy-backend","candy-gateway","candy-packaging-exporter","caramel-gateway","candy-manager","candy-backend","candy-gateway","candy-gateway","candy-gateway","candy-gateway","candy-query-scheduler","candy-store-gateway","api","gateway","gateway","overeat-gateway","overeat_api","wrappers-api","licorice-gateway","popcorn-backend","popcorn-backend","almondops-gateway","marshmallow-gateway"]},{name:f.NodeGraphDataFrameFieldNames.target,type:f.FieldType.string,config:{},values:["candycon2000","candycon2000","send-notification","popcorn-distributor","candy-distributor","candy-query-frontend","candy-ruler","caramel-gateway","candy-querier","candy-chocolate-querier","candy-backend","candy-read","candy-write","popcorn-backend","popcorn-query-frontend","proxy-reads","proxy-writes","caramel-gateway","caramel-gateway","dentist","candy-distributor","candy-read","candy-write","candy-distributor","candy-ingester","candy-distributor","candy-admin-api","candy-distributor","candy-query-frontend","caramel-gateway","candy-distributor","candy-ingester","candy-query-frontend","candy-store-gateway","candy-distributor","candy-querier","popcorn-querier","candy-distributor","candy-distributor","candy-backend","candy-read","candy-write","popcorn-backend","candy-ruler","candy-ingester","candy-query-frontend","candy-distributor","candy-write","api","api","api","marshmallow-popcorn-plugin","licorice-ingester","licorice-distributor","licorice-querier","licorice-query-frontend","licorice-ruler","licorice-read","licorice-write","licorice-sugar-gateway","licorice-ingester","licorice-query-frontend","licorice-querier","licorice-query-frontend","licorice-read","licorice-write","licorice-ingester","licorice-sugar-gateway","licorice-ruler","licorice-write","candy-read","candy-write","candy-ingester","popcorn-ingester","candy-ingester","candy-query-frontend","candy-store-gateway","popcorn-ingester","popcorn-query-frontend","popcorn-querier","candy-ingester","popcorn-query-frontend","peanutapi","0","worker","licorice-gateway","marshmallow-gateway","toffee-gateway","mints-distributor","mints-ingester","marshmallow-query-frontend","marshmallow-ingester","peanutapi","compute-splines-api","0","worker","candy-backend","candy-ruler","candy-distributor","candy-chocolate-write-proxy","candy-distributor","popcorn-backend","candy-manager","candy-querier","candy-store-gateway","candy-disposer","candy-query-frontend","candy-distributor","gateway","overeat-gateway","wrappers-api","overeat_api","gateway","caramel-gateway","licorice-admin-api","popcorn-backend","candy-backend","almond","marshmallow-querier"]},{name:f.NodeGraphDataFrameFieldNames.mainStat,config:{unit:"ms/r",displayName:"Average response time"},type:f.FieldType.number,values:[.9961658833566494,.6756011854064742,39.928285334583585,9.655124202033475,9.876837578844937,81.6959176729049,552.378420528502,34.02406743798451,2.7907819532876537,null,1210.5999270997852,40.22305442474939,11.008270340421854,1163.33527417596,199.9200764328362,16.27026063145621,19.87661445917064,7.9747137654137195,20.135808118892268,.22942839760131845,11.6566561294579,75.22426032984903,.7326871862490554,10.591500091052806,.43709820361586454,7.681333333333334,null,5.743161551306568,22.56587650604559,31.38290115791745,11.375645375977152,.5974877233841939,.020271039373167783,8.891949445529226,10.293999999999995,20.582963262267164,405.7442187685195,8.522692621843909,6.924993219513745,34.39516266769771,5.952498150615941,.7842759237283988,37.01067693570632,6.956706372103876,1.2689668998692378,66.66971283621828,13.622246129080805,.9078908605310487,.8179566076701271,1.101057295936026,19.887110234592154,.015141602590812384,.16393403903361325,1.753552009081408,1531278.5796188207,46.231810748849455,24.54774899949519,345061.91461907607,3.1331808761849147,2.764448605690192,2759.490189311903,.019420568056168524,30.83859939288313,.026999999999999993,2.405242467897073,14607.641090479348,11.449968675469439,.33363793667426944,.15786000187388566,.585213874210476,41.39677023252635,.12979907013653832,2.5827714948826848,6.868234219946023,21.107071160645475,.053417204821597085,61.770970442855806,42.998532007278904,.041043219084661645,217.39742114991702,.21606213948511854,13.174790215465455,459.42768834463334,.30539630255527017,447.5818111167013,2.18723509171844,3.22412985358373,4.200223281332062,16.03316977154454,5.830408312271875,1460.8431543525896,6.379590630002257,37.46723333208206,16.20695699632165,.4593149548828589,2693.186775574188,.034024049217002236,196.843,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},{name:f.NodeGraphDataFrameFieldNames.secondaryStat,config:{unit:"r/sec",displayName:"Requests per second"},type:f.FieldType.number,values:[0,0,0,0,0,0,0,0,0,null,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.03,0,null,0,0,0,0,.07,.01,0,0,.01,0,0,0,0,0,.02,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.05,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]}],meta:{preferredVisualisationType:"nodeGraph"},name:"edges"};function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function It(e=10,t){const r=[],a=function(e=Math.random()){let t=0|(0<=e&&e<1?e/ft:Math.abs(e));return()=>(t=1664525*t+1013904223|0,ft*(t>>>0))}(t),n={id:"root",title:"root",subTitle:"client",success:1,error:0,stat1:Math.random(),stat2:Math.random(),edges:[]};r.push(n);const o=[n];for(let t=1;t<e;t++){const e=xt(t);r.push(e);const n=Math.floor(a()*Math.floor(o.length-1)),i=o[n];i.edges.push(e.id),i.edges.length>=3&&o.splice(n,1),o.push(e)}const i=Math.floor(e/2);for(let e=0;e<=i;e++){const e=Math.floor(a()*Math.floor(r.length-1)),t=Math.floor(a()*Math.floor(r.length-1));e!==t&&"0"!==r[e].id&&"0"!==r[t].id&&r[e].edges.push(r[t].id)}const{nodesFields:s,nodesFrame:l,edgesFrame:c}=kt(),d=new Set;for(const e of r){s.id.values.push(e.id),s.title.values.push(e.title),s[f.NodeGraphDataFrameFieldNames.subTitle].values.push(e.subTitle),s[f.NodeGraphDataFrameFieldNames.mainStat].values.push(e.stat1),s[f.NodeGraphDataFrameFieldNames.secondaryStat].values.push(e.stat2),s.arc__success.values.push(e.success),s.arc__errors.values.push(e.error);const t=Math.random();s[f.NodeGraphDataFrameFieldNames.icon].values.push(t>.9?"database":t<.1?"cloud":""),s[f.NodeGraphDataFrameFieldNames.nodeRadius].values.push(Math.max(100*t,30)),s[f.NodeGraphDataFrameFieldNames.highlighted].values.push(Math.random()>.5);for(const t of e.edges){const r=`${e.id}--${t}`;d.has(r)||(d.add(r),c.fields[0].values.push(`${e.id}--${t}`),c.fields[1].values.push(e.id),c.fields[2].values.push(t),c.fields[3].values.push(100*Math.random()),c.fields[4].values.push(Math.random()>.5),c.fields[5].values.push(Math.ceil(15*Math.random())))}}return c.length=c.fields[0].values.length,[l,c]}function xt(e){const t=Math.random();return{id:`service:${e}`,title:`service:${e}`,subTitle:"service",success:t,error:1-t,stat1:Math.random(),stat2:Math.random(),edges:[],highlighted:Math.random()>.5}}function Nt(e){const t="small"===e?m:g;return[new f.MutableDataFrame(t.nodes),new f.MutableDataFrame(t.edges)]}function Ft(e=10,t=1){return It(e,t)[1]}function kt(){const e={[f.NodeGraphDataFrameFieldNames.id]:{values:[],type:f.FieldType.string,config:{links:[{title:"test data link",url:"",internal:{query:{scenarioId:"logs",alias:"from service graph",stringInput:"tes"},datasourceUid:"gdev-testdata",datasourceName:"gdev-testdata"}}]}},[f.NodeGraphDataFrameFieldNames.title]:{values:[],type:f.FieldType.string},[f.NodeGraphDataFrameFieldNames.subTitle]:{values:[],type:f.FieldType.string},[f.NodeGraphDataFrameFieldNames.mainStat]:{values:[],type:f.FieldType.number,config:{displayName:"Transactions per second"}},[f.NodeGraphDataFrameFieldNames.secondaryStat]:{values:[],type:f.FieldType.number,config:{displayName:"Average duration"}},[f.NodeGraphDataFrameFieldNames.arc+"success"]:{values:[],type:f.FieldType.number,config:{color:{fixedColor:"green",mode:f.FieldColorModeId.Fixed},displayName:"Success"}},[f.NodeGraphDataFrameFieldNames.arc+"errors"]:{values:[],type:f.FieldType.number,config:{color:{fixedColor:"red",mode:f.FieldColorModeId.Fixed},displayName:"Errors"}},[f.NodeGraphDataFrameFieldNames.icon]:{values:[],type:f.FieldType.string},[f.NodeGraphDataFrameFieldNames.nodeRadius]:{values:[],type:f.FieldType.number},[f.NodeGraphDataFrameFieldNames.highlighted]:{values:[],type:f.FieldType.boolean},[f.NodeGraphDataFrameFieldNames.detail+"test_value"]:{values:[],config:{displayName:"Test value"},type:f.FieldType.number}},t=new f.MutableDataFrame({name:"nodes",fields:Object.keys(e).map((t=>Tt(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ct(e,t,r[t])}))}return e}({},e[t]),{name:t}))),meta:{preferredVisualisationType:"nodeGraph"}});return{nodesFrame:t,edgesFrame:{name:"edges",fields:[{name:f.NodeGraphDataFrameFieldNames.id,values:[],type:f.FieldType.string,config:{}},{name:f.NodeGraphDataFrameFieldNames.source,values:[],type:f.FieldType.string,config:{}},{name:f.NodeGraphDataFrameFieldNames.target,values:[],type:f.FieldType.string,config:{}},{name:f.NodeGraphDataFrameFieldNames.mainStat,values:[],type:f.FieldType.number,config:{}},{name:f.NodeGraphDataFrameFieldNames.highlighted,values:[],type:f.FieldType.boolean,config:{}},{name:f.NodeGraphDataFrameFieldNames.thickness,values:[],type:f.FieldType.number,config:{}},{name:f.NodeGraphDataFrameFieldNames.color,values:[],type:f.FieldType.string,config:{}},{name:f.NodeGraphDataFrameFieldNames.strokeDasharray,values:[],type:f.FieldType.string,config:{}}],meta:{preferredVisualisationType:"nodeGraph"},length:0},nodesFields:e}}const At={name:"response",meta:{preferredVisualisationType:"flamegraph"},fields:[{name:"level",values:[0,1,2,3,4,5,6,7,8,9,10,11,12,11,12,13,14,15,16,10,11,12,13,9,10,9,9,7,7,6,5,6,7,8,8,9,10,11,12,13,8,9,10,6,7,8,9,10,11,12,13,14,15,4,5,6,7,8,9,9,10,11,12,11,12,13,8,8,7,8,8,7,6,7,8,9,9,10,11,12,13,14,15,16,17,18,9,8,8,7,8,6,7,8,8,7,6,7,8,8,8,9,10,11,12,4,5,6,7,8,9,9,10,11,9,10,7,4,5,6,7,8,8,7,8,9,10,11,12,13,10,10,11,9,10,10,11,12,13,14,15,16,17,8,9,5,6,7,6,7,6,5,6,6,6,6,5,6,7,6,5,6,7,8,4,5,6,5,6,5,4,5,5,3,4,5,6,7,7,8,7,8,9,8,9,8,7,8,9,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,24,24,25,26,24,25,22,23,23,24,25,26,27,28,29,30,31,32,21,22,23,24,25,26,27,26,24,25,26,25,24,24,25,26,27,28,29,30,31,32,33,34,35,25,26,27,25,26,24,23,24,24,25,23,23,22,23,24,24,23,24,25,26,24,25,23,24,24,25,23,23,24,24,23,23,23,23,23,24,25,22,23,24,25,22,23,24,25,26,27,28,25,26,27,28,29,24,22,23,24,25,26,27,28,29,30,31,32,33,21,22,23,23,24,24,24,22,23,24,25,24,23,24,24,23,22,23,24,25,25,26,27,24,22,23,24,25,26,27,28,29,30,31,32,24,21,22,23,24,25,26,27,28,21,22,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,24,25,26,27,28,23,24,25,26,27,28,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,31,30,28,29,30,31,32,33,34,35,36,37,29,30,31,26,27,28,28,28,29,27,26,27,26,25,26,27,28,29,30,31,32,32,33,34,30,31,32,33,34,33,34,35,36,37,38,39,29,30,31,32,32,27,28,28,27,28,29,30,31,32,33,34,35,36,37,38,39,40,27,28,27,28,29,30,31,32,33,34,35,36,28,27,28,28,29,27,27,28,27,27,26,27,28,28,29,29,29,26,27,27,28,29,30,29,30,30,29,30,31,28,29,30,28,28,28,28,29,30,29,30,27,28,28,26,27,26,27,27,28,29,26,27,28,29,28,27,28,29,30,30,28,29,30,31,32,32,27,28,26,25,25,26,27,28,29,30,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,31,30,31,32,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,29,26,27,28,29,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,31,30,29,29,29,25,26,27,28,26,26,27,28,27,28,28,26,27,28,28,27,28,25,26,27,28,29,30,31,32,33,34,25,25,26,27,28,25,26,24,25,22,23,24,25,26,27,28,29,30,31,32,33,33,34,34,32,33,34,34,32,28,29,30,31,27,28,29,26,27,28,29,30,31,32,33,34,26,27,28,29,24,25,26,27,28,29,30,27,28,26,27,25,26,27,28,29,26,25,26,27,26,27,27,28,29,30,31,32,33,34,35,36,37,38,38,39,30,31,32,26,27,28,27,28,29,25,26,27,28,29,30,31,32,28,29,28,29,28,29,27,28,29,30,31,29,30,31,32,33,34,35,27,28,29,30,31,32,33,34,35,36,37,38,28,29,30,31,28,29,30,31,26,25,26,27,28,29,27,28,29,30,25,26,15,14,15,16,17,13,14,15,16,15,16,17,18,19,20,12,13,14,15,16,17,10,11,12,13,14,12,13,10,11,12,13,14,15,2,3,4,5,6,7,8,4,5,6,7,8,9,2,3,1,2,3,4,5,6,6,6,6,7,8,8,9,6,7,6,6,6,6,5,5,6,5,5,5,5,5,6,7,4,2,3,4,5,6,4,5,6,7,8,9,1,2,3,4,5,6,7,8,2,3,4,5,6,7,8,9,2,3,4,5,6,1,2,3,3,4,3,2,1,2,3,4,5,6,5,6,7,8,5,5,6,7,4,5,6,4,2,3,4,3,4,5,6,5,5,6,4,1,2,3,4,5,6,2,3,4,5,6,7,8,9,10,11,12,13,2,3,4,5,6,7,8,9,10,11,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,16,17,18,19,16,17,18,19,20,21,22,23,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,8,9,10,11,12,13,14,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4]},{name:"value",values:[1646e7,41e8,41e8,367e7,113e7,106e7,102e7,15e7,15e7,5e7,3e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,8e7,4e7,1e7,1e7,53e7,8e7,4e7,7e7,5e7,5e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,1e7,39e7,39e7,18e7,7e7,5e7,1e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,1e7,1e7,1e7,11e7,8e7,6e7,1e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,1e7,1e7,3e7,2e7,4e7,3e7,2e7,1e7,1e7,4e7,4e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,21e7,21e7,21e7,13e7,13e7,1e7,5e7,4e7,4e7,7e7,1e7,4e7,184e7,24e7,24e7,5e7,1e7,1e7,19e7,13e7,5e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,8e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,6e7,1e7,133e7,129e7,32e7,1e7,1e7,1e7,13e7,1e7,1e7,6e7,3e7,1e8,4e7,1e7,1e7,4e7,3e7,1e7,1e7,7e7,1e7,1e7,5e7,4e7,1e7,3e7,2e7,1e7,43e7,43e7,43e7,43e7,1e7,4e7,2e7,37e7,2e7,1e7,18e7,1e7,3e7,1e7,1e7,1e7,563e7,558e7,558e7,558e7,558e7,558e7,558e7,558e7,558e7,554e7,554e7,553e7,551e7,55e8,549e7,549e7,161e7,161e7,154e7,154e7,19e7,17e7,17e7,1e7,2e7,12e7,1e7,1e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,85e7,35e7,3e8,12e7,11e7,8e7,2e7,1e7,8e7,4e7,2e7,1e7,1e7,5e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,37e7,4e7,2e7,1e7,1e8,1e7,1e7,1e7,3e7,3e7,8e7,2e7,1e7,1e7,1e7,4e7,1e7,1e7,1e7,2e7,1e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,11e7,11e7,6e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,48e7,15e7,1e7,13e7,1e7,1e7,5e7,14e7,8e7,4e7,1e7,1e7,2e7,1e7,1e7,2e7,12e7,6e7,4e7,1e7,1e7,1e7,1e7,2e7,3e7,3e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,6e7,6e7,6e7,6e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,3e7,3e7,3e7,3e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,388e7,388e7,388e7,388e7,387e7,323e7,323e7,321e7,32e7,7e7,7e7,4e7,4e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,7e7,6e7,2e7,3e7,1e7,1e7,1e7,1e8,2e7,5e7,185e7,41e7,11e7,11e7,9e7,6e7,6e7,4e7,2e7,2e7,2e7,3e7,3e7,3e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,2e7,1e7,2e7,2e7,2e7,1e7,1e7,3e7,2e7,1e7,4e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,4e7,1e7,8e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,6e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,16e7,12e7,2e7,1e8,5e7,1e7,1e7,64e7,1e7,55e7,41e7,8e7,6e7,26e7,2e7,17e7,6e7,3e7,2e7,2e7,2e7,1e7,1e7,1e7,2e7,5e7,4e7,1e7,1e7,1e7,7e7,3e7,4e7,29e7,9e7,3e7,1e7,1e7,1e7,1e7,21e7,2e7,1e7,1e7,1e7,12e7,9e7,9e7,6e7,1e7,3e7,3e7,3e7,3e7,1e7,2e7,5e7,1e7,1e7,1e7,28e7,15e7,15e7,15e7,6e7,3e7,8e7,5e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,13e7,13e7,13e7,7e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,4e7,1e7,59e7,2e7,2e7,1e7,4e7,15e7,3e7,3e7,12e7,1e7,8e7,37e7,26e7,4e7,15e7,11e7,9e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,7e7,6e7,2e7,2e7,64e7,64e7,25e7,25e7,23e7,18e7,17e7,17e7,17e7,17e7,5e7,1e7,4e7,1e7,1e7,6e7,6e7,1e7,3e7,1e7,1e7,1e7,1e7,1e7,5e7,5e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,39e7,6e7,4e7,3e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,3e7,1e7,1e7,1e7,1e7,1e7,9e7,1e7,1e7,6e7,1e7,4e7,4e7,4e7,3e7,3e7,3e7,3e7,3e7,3e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,1e7,1e7,1e7,1e7,1e7,18e7,17e7,5e7,2e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,3e7,3e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,9e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,7e7,7e7,7e7,7e7,1e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,1e7,4e7,4e7,1e7,1e7,1e7,1e7,1e7,3e7,3e7,3e7,3e7,3e7,3e7,1e7,1e7,619e7,617e7,617e7,607e7,446e7,1e7,5e7,44e7,54e7,2e7,1e7,1e7,1e7,98e7,1e7,5e7,48e7,54e7,5e7,21e7,3e7,3e7,6e7,18e7,1e7,21e7,2e7,2e7,2e7,1e8,2e7,2e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,4e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,1e7,1e7,1e7,1e7,1e7,17e7,16e7,7e7,3e7,1e7,4e7,1e7,17e7,9e7,9e7,7e7,2e7,1e7,3e7,3e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,8e7,1e7,1e7,7e7,6e7,1e7,1e7,2e7,2e7,2e7,1e7,8e7,1e7,1e7,1e7,1e7,1e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,2e7,5e7,5e7,5e7,5e7,5e7,5e7,5e7,1e7,1e7,1e7,6e7,6e7,6e7,6e7,6e7,6e7,6e7,4e7,4e7,3e7,3e7,3e7,3e7,3e7,3e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7,1e7],config:{unit:"short"}},{name:"self",values:[16460,4100,4100,3670,1130,1060,1020,150,150,50,30,20,10,10,10,10,10,10,10,10,10,10,10,80,40,10,10,530,80,40,70,50,50,30,10,10,10,10,10,10,10,10,10,20,20,20,20,20,20,20,20,20,10,390,390,180,70,50,10,20,20,10,10,10,10,10,10,10,20,10,10,10,110,80,60,10,20,20,20,10,10,10,10,10,10,10,20,10,10,30,20,40,30,20,10,10,40,40,10,10,10,10,10,10,10,210,210,210,130,130,10,50,40,40,70,10,40,1840,240,240,50,10,10,190,130,50,20,10,10,10,10,10,10,80,20,10,10,10,10,10,10,10,10,60,10,1330,1290,320,10,10,10,130,10,10,60,30,100,40,10,10,40,30,10,10,70,10,10,50,40,10,30,20,10,430,430,430,430,10,40,20,370,20,10,180,10,30,10,10,10,5630,5580,5580,5580,5580,5580,5580,5580,5580,5540,5540,5530,5510,5500,5490,5490,1610,1610,1540,1540,190,170,170,10,20,120,10,10,20,20,20,10,10,10,10,10,10,10,10,10,10,10,850,350,300,120,110,80,20,10,80,40,20,10,10,50,10,10,10,10,10,10,10,10,10,10,10,10,10,10,20,20,20,20,10,10,10,10,10,370,40,20,10,100,10,10,10,30,30,80,20,10,10,10,40,10,10,10,20,10,20,10,10,10,10,10,10,10,110,110,60,20,20,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,480,150,10,130,10,10,50,140,80,40,10,10,20,10,10,20,120,60,40,10,10,10,10,20,30,30,20,20,20,20,20,20,20,20,20,10,10,10,10,10,10,10,10,10,10,10,60,60,60,60,30,10,10,10,10,10,10,10,10,10,10,10,10,20,20,20,20,20,30,30,30,30,30,30,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,3880,3880,3880,3880,3870,3230,3230,3210,320,70,70,40,40,20,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,20,30,10,10,10,10,10,10,10,10,10,20,20,20,70,60,20,30,10,10,10,100,20,50,1850,410,110,110,90,60,60,40,20,20,20,30,30,30,10,10,20,20,20,20,20,20,10,20,20,20,10,10,30,20,10,40,10,10,10,10,10,10,10,10,10,10,10,10,10,40,10,80,30,30,10,10,10,10,10,10,10,20,60,30,30,10,10,10,10,10,10,160,120,20,100,50,10,10,640,10,550,410,80,60,260,20,170,60,30,20,20,20,10,10,10,20,50,40,10,10,10,70,30,40,290,90,30,10,10,10,10,210,20,10,10,10,120,90,90,60,10,30,30,30,30,10,20,50,10,10,10,280,150,150,150,60,30,80,50,20,20,20,20,20,20,20,20,20,20,20,20,10,10,10,10,10,10,10,20,20,20,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,130,130,130,70,30,30,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,40,10,590,20,20,10,40,150,30,30,120,10,80,370,260,40,150,110,90,10,10,10,10,10,10,10,10,10,10,20,20,20,20,20,70,60,20,20,640,640,250,250,230,180,170,170,170,170,50,10,40,10,10,60,60,10,30,10,10,10,10,10,50,50,20,10,10,10,10,10,10,10,10,10,10,10,10,10,390,60,40,30,20,20,10,10,10,10,10,30,10,10,10,10,10,90,10,10,60,10,40,40,40,30,30,30,30,30,30,30,30,10,10,10,10,10,10,20,10,10,10,10,10,180,170,50,20,20,20,20,10,10,10,10,10,10,10,30,30,20,20,20,10,10,10,10,10,10,10,90,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,70,70,70,70,10,20,20,10,10,10,10,10,10,10,10,10,10,10,10,10,10,20,20,10,10,10,10,10,10,10,10,10,10,10,10,10,10,20,20,10,10,10,10,10,20,20,20,20,20,10,40,40,10,10,10,10,10,30,30,30,30,30,30,10,10,6190,6170,6170,6070,4460,10,50,440,540,20,10,10,10,980,10,50,480,540,50,210,30,30,60,180,10,210,20,20,20,100,20,20,10,10,10,10,10,10,10,10,10,40,10,10,10,10,10,10,10,20,20,20,20,20,20,20,20,10,10,10,10,10,170,160,70,30,10,40,10,170,90,90,70,20,10,30,30,30,30,10,10,10,10,10,10,10,10,80,10,10,70,60,10,10,20,20,20,10,80,10,10,10,10,10,20,20,20,20,20,20,20,20,20,20,20,20,50,50,50,50,50,50,50,10,10,10,60,60,60,60,60,60,60,40,40,30,30,30,30,30,30,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10],config:{unit:"short"}},{name:"label",type:f.FieldType.enum,values:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,15,15,16,17,14,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,28,30,31,32,33,34,35,41,42,43,44,40,28,29,45,46,47,48,49,50,51,52,53,27,53,28,54,55,27,28,56,45,46,49,50,51,31,57,58,59,60,36,53,52,54,28,54,28,36,29,12,27,28,36,29,45,46,47,48,61,62,63,6,7,8,21,9,10,11,19,20,23,64,14,15,18,65,66,15,15,15,15,15,16,65,18,16,66,18,65,66,67,68,69,31,70,71,72,18,65,73,74,75,54,12,12,76,77,78,79,80,81,82,83,84,74,85,74,86,87,88,89,90,91,92,90,93,91,94,95,96,97,12,98,12,99,100,12,101,102,103,104,99,103,105,106,107,108,109,107,110,107,111,107,112,107,113,114,115,116,117,118,119,120,95,121,122,123,124,125,126,12,127,125,54,12,28,128,51,31,57,58,129,130,131,132,133,134,135,136,137,82,83,138,139,79,12,77,82,140,141,142,143,28,144,145,146,31,147,148,149,150,54,151,152,153,154,27,155,28,36,156,157,135,158,159,160,140,150,54,53,152,153,161,160,162,159,163,164,78,79,165,166,154,138,167,137,82,168,169,170,171,172,173,140,152,153,174,175,141,142,143,28,36,82,176,28,45,46,49,50,51,31,57,58,59,60,43,27,53,28,177,56,36,55,54,28,36,53,27,52,28,178,44,40,28,29,45,46,49,155,54,28,144,145,146,31,147,148,179,180,181,29,182,183,184,185,186,187,180,188,189,190,191,192,193,194,195,62,4,26,27,28,30,31,32,33,34,35,196,197,198,199,200,29,201,197,198,199,200,29,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,107,219,220,221,222,223,224,225,226,4,5,227,228,19,20,229,230,231,232,233,234,235,236,237,235,236,238,239,240,241,242,217,243,244,26,245,40,28,30,31,32,33,34,35,27,28,29,246,247,158,248,249,12,250,251,12,252,253,254,226,4,26,27,28,29,36,37,38,245,40,28,255,29,30,31,32,33,34,35,41,5,227,228,19,9,54,28,155,256,141,142,143,28,144,145,146,31,147,148,179,180,181,257,159,140,152,153,258,175,69,31,70,71,196,83,259,248,249,12,260,249,12,261,248,262,27,53,28,36,29,56,263,260,186,187,264,265,180,188,181,266,267,268,269,267,268,149,261,270,271,180,181,264,265,27,53,28,82,83,272,149,271,264,265,273,54,28,36,12,256,274,275,159,276,141,142,143,28,29,36,158,159,277,278,279,4,5,227,244,280,228,19,20,229,230,231,232,233,234,235,236,237,235,236,238,239,240,241,242,217,281,9,10,11,282,20,229,230,231,232,233,234,235,236,237,235,236,238,239,240,241,242,217,283,62,63,227,228,9,19,281,229,230,231,232,233,234,235,236,237,284,285,286,287,288,20,289,283,244,290,291,27,28,36,149,271,264,265,180,188,181,187,180,188,181,264,265,292,293,294,54,28,30,31,32,33,34,260,295,269,267,268,296,297,298,260,299,300,301,302,303,304,31,305,306,148,179,264,180,181,188,307,180,188,181,149,308,309,269,267,310,308,309,311,31,312,313,314,315,316,317,318,31,319,306,148,320,321,284,285,286,287,288,322,12,323,53,256,141,142,143,53,159,253,273,324,254,259,226,4,26,245,40,28,30,31,32,33,34,325,35,326,27,28,29,263,27,53,186,187,180,292,293,327,328,329,330,331,332,333,334,323,53,335,54,336,329,330,331,332,337,338,339,31,340,341,342,294,54,28,45,46,49,50,51,31,57,58,343,344,345,346,217,347,215,216,217,27,14,15,18,348,349,15,16,348,257,225,251,27,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,182,183,184,185,146,365,366,367,352,353,27,53,368,355,358,359,360,361,369,236,237,370,371,372,373,238,239,240,241,242,217,374,375,376,31,377,378,35,379,380,41,326,381,382,383,384,72,196,385,196,386,387,56,388,389,390,391,392,325,393,394,382,395,396,397,398,399,400,31,401,402,403,404,405,406,407,408,409,31,410,411,412,413,414,415,213,214,215,216,217,416,417,27,28,29,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,318,434,435,436,437,438,439,440,441,442,443,439,444,427,445,446,435,428,435,446,447,448,449,450,352,353,451,452,408,409,31,410,411,314,315,316,317,318,236,453,239,240,241,242,217,454,455,456,457,458,459,460,461,462,463,464,203,465,205,466,467,468,469,470,40,28,45,46,49,50,471,472,473,474,148,475,476,473,474,148,307,180,181,191,477,193,478,479,480,481,482,483,67,68,69,31,70,71,72,484,485,486,487,27,28,36,488,489,490,40,28,30,31,32,33,34,35,41,491,213,214,492],config:{type:{enum:{text:["total","test/pkg/agent.(*Target).start.func1","test/pkg/agent.(*Target).scrape","test/pkg/distributor.(*Distributor).Push","compress/gzip.(*Writer).Write","compress/flate.(*compressor).write","compress/flate.(*compressor).deflate","compress/flate.(*compressor).writeBlock","compress/flate.(*huffmanBitWriter).writeBlock","compress/flate.(*huffmanBitWriter).indexTokens","compress/flate.(*huffmanEncoder).generate","compress/flate.(*huffmanEncoder).bitCounts","runtime.memmove","compress/flate.(*huffmanEncoder).assignEncodingAndSize","sort.Sort","sort.quickSort","sort.insertionSort","compress/flate.(*byFreq).sort","sort.doPivot","compress/flate.(*huffmanBitWriter).writeTokens","compress/flate.(*huffmanBitWriter).writeCode","compress/flate.offsetCode","compress/flate.(*huffmanBitWriter).dynamicSize","compress/flate.(*compressor).findMatch","compress/flate.matchLen","compress/flate.hash4","compress/flate.NewWriter","runtime.newobject","runtime.mallocgc","runtime.memclrNoHeapPointers","runtime.gcAssistAlloc","runtime.systemstack","runtime.gcAssistAlloc.func1","runtime.gcAssistAlloc1","runtime.gcDrainN","runtime.scanobject","runtime.heapBitsSetType","runtime.heapBitsSetTypeGCProg","runtime.runGCProg","compress/flate.(*compressor).initDeflate","runtime.makeslice","runtime.pageIndexOf","test/pkg/pprof.OpenRaw","test/pkg/gen/google/v1.(*Profile).UnmarshalVT","test/pkg/gen/google/v1.(*Sample).UnmarshalVT","runtime.(*mcache).nextFree","runtime.(*mcache).refill","runtime.(*mcentral).uncacheSpan","runtime.(*spanSet).push","runtime.(*mcentral).cacheSpan","runtime.(*mcentral).grow","runtime.(*mheap).alloc","runtime.getMCache","runtime.nextFreeFast","runtime.growslice","test/pkg/gen/google/v1.(*Location).UnmarshalVT","runtime.heapBitsForAddr","runtime.(*mheap).alloc.func1","runtime.(*mheap).allocSpan","runtime.(*mheap).allocMSpanLocked","runtime.(*fixalloc).alloc","runtime.(*headTailIndex).incTail","compress/gzip.(*Writer).Close","compress/flate.(*compressor).close","test/pkg/pprof.(*Profile).Normalize","test/pkg/pprof.(*sortedSample).Less","test/pkg/pprof.(*sortedSample).Swap","runtime.gcWriteBarrierR8","runtime.gcWriteBarrier","runtime.wbBufFlush","runtime.wbBufFlush.func1","runtime.wbBufFlush1","runtime.findObject","test/pkg/pprof.(*Profile).clearSampleReferences","test/pkg/slices.RemoveInPlace[...]","test/pkg/pprof.(*Profile).clearSampleReferences.func1","test/pkg/pprof.StacktracesHasher.Hashes","github.com/cespare/xxhash/v2.round","github.com/cespare/xxhash/v2.(*Digest).Sum64","github.com/cespare/xxhash/v2.(*Digest).Write","github.com/cespare/xxhash/v2.u64","github.com/samber/lo.Uniq[...]","runtime.mapaccess2_fast64","runtime.memhash64","runtime.bucketMask","test/pkg/pprof.(*Profile).Normalize.func1","test/pkg/pprof.(*Profile).Normalize.func1.1","test/pkg/gen/google/v1.(*Profile).MarshalToVT","test/pkg/gen/google/v1.(*Profile).MarshalToSizedBufferVT","test/pkg/gen/google/v1.(*Sample).MarshalToSizedBufferVT","test/pkg/gen/google/v1.(*Profile).SizeVT","test/pkg/gen/google/v1.(*Sample).SizeVT","test/pkg/gen/google/v1.encodeVarint","test/pkg/gen/google/v1.(*Location).SizeVT","io/ioutil.ReadAll","io.ReadAll","compress/gzip.(*Reader).Read","compress/flate.(*decompressor).Read","compress/flate.(*dictDecoder).tryWriteCopy","compress/flate.(*decompressor).huffmanBlock","compress/flate.(*dictDecoder).writeCopy","compress/flate.(*decompressor).huffSym","bytes.(*Reader).ReadByte","compress/flate.(*decompressor).moreBits","compress/flate.(*decompressor).nextBlock","net/http.(*conn).serve","net/http.serverHandler.ServeHTTP","net/http.HandlerFunc.ServeHTTP","test/pkg/util.glob..func1.1","golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP","test/pkg/create.(*create).initServer.func2.1","github.com/opentracing-contrib/go-stdlib/nethttp.MiddlewareFunc.func5","github.com/weaveworks/common/middleware.Log.Wrap.func1","github.com/weaveworks/common/middleware.Instrument.Wrap.func1","github.com/felixge/httpsnoop.(*Metrics).CaptureMetrics","github.com/weaveworks/common/middleware.Instrument.Wrap.func1.2","github.com/gorilla/mux.(*Router).ServeHTTP","github.com/bufbuild/connect-go.(*Handler).ServeHTTP","github.com/bufbuild/connect-go.NewUnaryHandler[...].func1","github.com/bufbuild/connect-go.NewUnaryHandler[...].func1.1","test/pkg/ingester.(*Ingester).Push","github.com/klauspost/compress/gzip.(*Reader).Read","github.com/klauspost/compress/flate.(*decompressor).Read","github.com/klauspost/compress/flate.(*dictDecoder).tryWriteCopy","github.com/klauspost/compress/flate.(*dictDecoder).writeByte","github.com/klauspost/compress/flate.(*decompressor).huffmanBytesReader","github.com/klauspost/compress/flate.(*dictDecoder).writeCopy","github.com/klauspost/compress/flate.(*decompressor).nextBlock","runtime.(*mcache).allocLarge","runtime.(*pageAlloc).alloc","runtime.(*pageAlloc).allocRange","runtime.(*pageAlloc).update","runtime.(*pallocBits).summarize","test/pkg/create.(*Head).Ingest","test/pkg/create.(*Head).convertSamples","test/pkg/create.(*deduplicatingSlice[...]).ingest","test/pkg/create.(*stacktracesHelper).rewrite","test/pkg/create.idConversionTable.rewriteUint64","runtime.add","test/pkg/create.(*stacktracesHelper).key","runtime.mapassign_fast64","runtime.hashGrow","runtime.makeBucketArray","runtime.newarray","runtime.profilealloc","runtime.mProf_Malloc","runtime.callers","runtime.callers.func1","runtime.gentraceback","runtime.findfunc","runtime.(*hmap).newoverflow","runtime.releasem","runtime.growWork_fast64","runtime.evacuate_fast64","encoding/binary.littleEndian.PutUint64","runtime.acquirem","test/pkg/create.(*labelCache).rewriteLabels","runtime.mapaccess1_fast64","runtime.mapaccess2_faststr","aeshashbody","memeqbody","runtime.mapaccess2","runtime.memhash_varlen","runtime.evacuated","test/pkg/create.(*locationsHelper).key","runtime.bucketShift","test/pkg/create.(*stringsHelper).addToRewriter","test/pkg/create.(*locationsHelper).rewrite","github.com/prometheus/client_golang/prometheus.(*CounterVec).WithLabelValues","github.com/prometheus/client_golang/prometheus.(*MetricVec).GetMetricWithLabelValues","github.com/prometheus/client_golang/prometheus.(*MetricVec).hashLabelValues","github.com/prometheus/client_golang/prometheus.hashAdd","test/pkg/create.(*deltaProfiles).computeDelta","test/pkg/create.deltaSamples","runtime.typedmemmove","runtime.bulkBarrierPreWrite","test/pkg/create.copySlice[...]","runtime.add1","runtime.roundupsize","runtime.pcdatavalue","runtime.pcvalue","runtime.step","github.com/go-kit/log.(*context).Log","github.com/go-kit/log.bindValues","github.com/go-kit/log.Caller.func1","runtime.Caller","runtime.(*Frames).Next","runtime.funcline1","runtime.readvarint","test/pkg/gen/google/v1.(*Profile).ReturnToVTPool","test/pkg/gen/google/v1.(*Profile).ResetVT","github.com/bufbuild/connect-go.(*errorTranslatingSender).Send","github.com/bufbuild/connect-go.(*connectUnaryHandlerSender).Send","github.com/bufbuild/connect-go.(*connectUnaryMarshaler).Marshal","github.com/bufbuild/connect-go.(*compressionPool).Compress","github.com/bufbuild/connect-go.(*compressionPool).putCompressor","runtime.spanOf","compress/gzip.(*Writer).Reset","compress/gzip.(*Writer).init","compress/flate.(*Writer).Reset","compress/flate.(*compressor).reset","github.com/bufbuild/connect-go.(*compressionPool).getCompressor","github.com/bufbuild/connect-go.receiveUnaryRequest[...]","github.com/bufbuild/connect-go.(*errorTranslatingReceiver).Receive","github.com/bufbuild/connect-go.(*connectUnaryHandlerReceiver).Receive","github.com/bufbuild/connect-go.(*connectUnaryUnmarshaler).UnmarshalFunc","bytes.(*Buffer).ReadFrom","github.com/weaveworks/common/middleware.(*reqBody).Read","net/http.(*body).Read","net/http.(*body).readLocked","net/http/internal.(*chunkedReader).Read","bufio.(*Reader).Read","net/http.(*connReader).Read","net.(*conn).Read","net.(*netFD).Read","syscall.Read","syscall.read","syscall.Syscall","net/http.(*ServeMux).ServeHTTP","net/http/pprof.Index","net/http/pprof.handler.ServeHTTP","runtime/pprof.(*Profile).WriteTo","runtime/pprof.writeAlloc","runtime/pprof.writeHeapInternal","runtime/pprof.writeHeapProto","runtime/pprof.(*profileBuilder).pbSample","runtime/pprof.(*profileBuilder).flush","compress/flate.(*compressor).encSpeed","compress/flate.(*huffmanBitWriter).writeBlockDynamic","github.com/felixge/httpsnoop.(*rw).Write","github.com/felixge/httpsnoop.(*Metrics).CaptureMetrics.func2.1","github.com/weaveworks/common/middleware.(*badResponseLoggingWriter).Write","github.com/opentracing-contrib/go-stdlib/nethttp.(*statusCodeTracker).Write","net/http.(*response).Write","net/http.(*response).write","bufio.(*Writer).Write","bufio.(*Writer).Flush","net/http.(*chunkWriter).Write","net/http.checkConnErrorWriter.Write","net.(*conn).Write","net.(*netFD).Write","internal/poll.(*FD).Write","syscall.write","compress/flate.token.length","compress/flate.(*deflateFast).encode","compress/flate.(*compressor).init","runtime/pprof.writeHeapProto.func1","runtime/pprof.(*profileBuilder).pbLabel","runtime/pprof.(*protobuf).int64Opt","runtime/pprof.(*protobuf).endMessage","runtime/pprof.(*protobuf).startMessage","runtime/pprof.(*protobuf).uint64s","runtime/pprof.(*protobuf).int64s","runtime/pprof.(*profileBuilder).appendLocsForStack","runtime/pprof.(*profileBuilder).emitLocation","runtime.memclrNoHeapPointersChunked","runtime.mapassign_faststr","runtime.mapaccess1_faststr","runtime.memclrHasPointers","runtime/pprof.(*profileBuilder).pbLine","runtime.duffcopy","runtime.duffzero","runtime.CallersFrames","runtime/pprof.allFrames","runtime.funcInfo.entry","runtime.(*moduledata).textAddr","runtime.funcfile","runtime.findnull","indexbytebody","runtime.funcname","runtime.(*Func).Entry","runtime.pcdatavalue1","runtime/pprof.runtime_expandFinalInlineFrame","runtime/pprof.(*profileBuilder).stringIndex","runtime.growWork_faststr","runtime.evacuate_faststr","runtime.advanceEvacuationMark","runtime/pprof.(*protobuf).uint64Opt","runtime.funcdata","runtime/pprof.(*profileBuilder).build","compress/flate.(*deflateFast).matchLen","compress/flate.(*huffmanBitWriter).writeBits","compress/flate.(*huffmanBitWriter).writeDynamicHeader","compress/flate.hash","fmt.Fprintf","fmt.(*pp).doPrintf","fmt.(*pp).printArg","fmt.(*pp).fmtInteger","fmt.(*fmt).fmtInteger","compress/flate.token.offset","compress/flate.load64","runtime.FuncForPC","runtime/pprof.newProfileBuilder","runtime/pprof.(*profileBuilder).readMapping","os.ReadFile","runtime.(*Func).Name","runtime/pprof.scaleHeapSample","math.archExp","runtime.(*MemProfileRecord).Stack","runtime/pprof.writeGoroutine","runtime/pprof.writeRuntimeProfile","runtime/pprof.runtime_goroutineProfileWithLabels","runtime.goroutineProfileWithLabels","runtime.forEachGRace","runtime.goroutineProfileWithLabels.func4","runtime.goroutineProfileWithLabels.func4.1","runtime.saveg","runtime.funcspdelta","runtime.goroutineProfileWithLabels.func1","runtime.isSystemGoroutine","runtime.goroutineProfileWithLabels.func2","runtime.startTheWorld","runtime.startTheWorld.func1","runtime.startTheWorldWithSema","runtime.wakep","runtime.startm","runtime.notewakeup","runtime.futexwakeup","runtime.futex","runtime.goroutineProfileWithLabels.func3","runtime/pprof.printCountProfile","runtime/pprof.printCountProfile.func1","bytes.(*Buffer).Write","runtime.slicebytetostring","runtime.overLoadFactor","runtime.heapBits.bits","runtime.greyobject","runtime/pprof.parseProcSelfMaps","runtime/pprof.elfBuildID","os.OpenFile","syscall.Open","syscall.openat","syscall.Syscall6","runtime/pprof.parseProcSelfMaps.func1","bytes.Cut","runtime/pprof.(*profileBuilder).addMapping","os.Open","os.openFileNolog","os.newFile","runtime.SetFinalizer","runtime.SetFinalizer.func2","runtime.addfinalizer","runtime.addspecial","runtime.(*pageAlloc).allocToCache","os.(*File).Stat","internal/poll.(*FD).Fstat","syscall.Fstat","os.(*File).Read","runtime/pprof.(*keysByCount).Less","cmpbody","github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues","runtime.assertI2I","runtime.getitab","runtime.(*itabTableType).find","github.com/weaveworks/common/middleware.Instrument.getRouteName","github.com/weaveworks/common/middleware.getRouteName","github.com/weaveworks/common/middleware.MakeLabelValue","strings.Trim","github.com/gorilla/mux.(*Router).Match","github.com/gorilla/mux.(*Route).Match","github.com/gorilla/mux.(*routeRegexp).Match","regexp.(*Regexp).doExecute","regexp.(*Regexp).backtrack","regexp.(*Regexp).tryBacktrack","github.com/weaveworks/common/logging.gokit.Debugf","github.com/uber/jaeger-client-go.(*Tracer).Extract","github.com/uber/jaeger-client-go.(*TextMapPropagator).Extract","runtime.assertE2I2","github.com/weaveworks/common/middleware.Tracer.Wrap.func1","net/http.(*response).finishRequest","net/http.(*chunkWriter).writeHeader","net/http.Header.writeSubset","net/http.Header.sortedKeyValues","sync.(*Pool).Get","net/http.(*conn).readRequest","runtime.mapiterinit","runtime.gcBgMarkWorker","runtime.gcBgMarkWorker.func2","runtime.gcDrain","runtime.(*gcBits).bytep","runtime.(*mspan).objIndex","runtime.(*gcWork).put","runtime.getempty","runtime.putfull","runtime.(*lfstack).push","runtime.(*mspan).markBitsForIndex","runtime.markBits.isMarked","runtime.arenaIndex","runtime.(*gcWork).tryGet","runtime.trygetfull","runtime.spanOfUnchecked","runtime.heapBits.next","runtime.gcFlushBgCredit","runtime.(*gcWork).balance","runtime.handoff","runtime.(*gcWork).tryGetFast","runtime.gcMarkDone","runtime.gcMarkTermination","runtime.mProf_Flush","runtime.mProf_FlushLocked","runtime.(*bucket).mp","runtime.gcMarkTermination.func4","runtime.forEachP","runtime.gcMarkTermination.func4.1","runtime.(*mcache).prepareForSweep","runtime.(*mcache).releaseAll","net/http.(*persistConn).readLoop","runtime.selectgo","runtime.send","runtime.goready","runtime.goready.func1","runtime.ready","runtime.runqput","bufio.(*Reader).Peek","bufio.(*Reader).fill","net/http.(*persistConn).Read","net/http.(*persistConn).readResponse","github.com/opentracing-contrib/go-stdlib/nethttp.(*Tracer).gotFirstResponseByte","runtime.bgsweep","runtime.sweepone","runtime.(*sweepLocker).tryAcquire","runtime.(*sweepLocked).sweep","runtime.(*gcBitsArena).tryAlloc","runtime.spanClass.sizeclass","runtime/internal/atomic.(*Uint32).CompareAndSwap","runtime.mcall","runtime.park_m","runtime.schedule","runtime.findrunnable","runtime.netpoll","runtime.epollwait","runtime.stopm","runtime.notesleep","runtime.futexsleep","runtime.(*randomOrder).start","runtime.checkTimers","runtime.runtimer","runtime.dodeltimer0","runtime.gcstopm","runtime.lock2","runtime.procyield","runtime.(*lfstack).pop","runtime.gosched_m","runtime.lock","runtime.goschedImpl","runtime.execute","runtime.casgstatus","net/http.(*persistConn).writeLoop","net/http.(*Request).write","net/http.newTransferWriter","runtime.convI2I","runtime.chansend1","runtime.chansend","net/http.persistConnWriter.Write","runtime.exitsyscall","runtime.exitsyscallfast","runtime.exitsyscallfast_reacquired","test/pkg/distributor.(*Distributor).Push.func1","test/pkg/distributor.(*Distributor).sendProfiles","test/pkg/distributor.(*Distributor).sendProfilesErr","test/pkg/gen/ingester/v1/ingesterv1connect.(*ingesterServiceClient).Push","github.com/bufbuild/connect-go.(*Client[...]).CallUnary","github.com/bufbuild/connect-go.NewClient[...].func2","github.com/bufbuild/connect-go.NewClient[...].func1","github.com/bufbuild/connect-go.receiveUnaryResponse[...]","github.com/bufbuild/connect-go.(*connectUnaryClientReceiver).Receive","github.com/bufbuild/connect-go.(*compressionPool).Decompress","github.com/bufbuild/connect-go.(*compressionPool).getDecompressor","compress/gzip.(*Reader).Reset","compress/gzip.(*Reader).readHeader","compress/flate.(*dictDecoder).init","runtime.heapBits.initSpan","compress/flate.(*decompressor).Reset","runtime.newstack","runtime.copystack","compress/flate.NewReader","compress/flate.fixedHuffmanDecoderInit","github.com/bufbuild/connect-go.(*connectClientSender).Send","github.com/bufbuild/connect-go.(*connectUnaryMarshaler).write","github.com/bufbuild/connect-go.(*duplexHTTPCall).Write","io.(*pipe).write","runtime.chanrecv1","runtime.chanrecv","runtime.recv","github.com/bufbuild/connect-go.(*errorTranslatingReceiver).Close","github.com/bufbuild/connect-go.(*connectUnaryClientReceiver).Close","github.com/bufbuild/connect-go.(*duplexHTTPCall).CloseRead","github.com/opentracing-contrib/go-stdlib/nethttp.closeTracker.Close","runtime/pprof.profileWriter","runtime/pprof.(*profileBuilder).addCPUData","runtime/pprof.(*profMap).lookup","net/http.(*connReader).backgroundRead","internal/poll.(*FD).Read"]}}}}]},Pt={name:"response",meta:{preferredVisualisationType:"flamegraph"},fields:[{name:"level",values:[0,1,2,3,4,5,6,1,2,3,4,5,6,6,7,8,9,10,9,9,10,11,12,13,14,15,16,17,18,19,20,20,21,19,20,21,19,17,18,19,20,20,21,19,20,21,19,17,18,19,20,21,22,23,24,25,23,24,21,19,20,21,17,18,19,20,21,22,23,24,25,26,17,18,19,20,21,22,23,24,25,26,27,22,15,16,17,18,19,20,17,18,19,20,21,22,23,23,24,24,25,21,17,18,19,19,17,18,19,20,16,17,15,16,17,18,19,20,21,22,23,24,25,22,22,22,22,23,20,20,16,17,18,19,16,17,15,16,17,18,19,20,21,22,23,24,17,18,19,20,21,22,23,15,16,15,16,12,13,9,9,10,9,10,6,6,6,6,7,8,6,7,2,3,4,5,6,7,3,4,5,6,7,8,3,4,5,6,7,8,9,10,11,12,10,11,12,13,14,15,16,16,17,18,19,20,21,22,14,15,16,14,11,12,13,14,9,10,11,12,10,9,10,11,12,13,14,15,16,17,15,16,17,16,15,16,17,16,17,16,15,16,17,18,19,20,21,19,4,5,6,7,8,9,6,7,8,6,7,8,9,10,7,4,5,6,7,8,3,4,5,6,7,8,9,10,11,12,8,9,10,11,12,13,14,15,16,17,8,9,10,11,12,13,14,15,16,17,18,6,7,8,9,10,11,7,8,6,7,8,9,10,11,12,13,6,7,8,9,10,11,12,13,14,6,7,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,3,4,5,6,1,2]},{name:"label",values:["total","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!Heartbeat.<>c.<.ctor>b__8_0","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!Heartbeat.TimerLoop","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!Heartbeat.OnHeartbeat","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!DateHeaderValueManager.SetDateValues","Microsoft.Net.Http.Headers!HeaderUtilities.FormatDate","System!DateTimeFormat.Format","System.Threading!PortableThreadPool.WorkerThread.WorkerThreadStart","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection<T>.System.Threading.IThreadPoolWorkItem.Execute","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection<T>.ExecuteAsync","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<ExecuteAsync>d__6>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection.<ExecuteAsync>d__6<T>.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnection..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnection.ProcessRequestsAsync<!T0>","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<ProcessRequestsAsync>d__12>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnection.<ProcessRequestsAsync>d__12<TContext>.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1OutputProducer..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.ProcessRequestsAsync<!T0>","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<ProcessRequestsAsync>d__222>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.<ProcessRequestsAsync>d__222<TContext>.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.ProcessRequests<!T0>","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<ProcessRequests>d__223>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.<ProcessRequests>d__223<TContext>.MoveNext","Microsoft.AspNetCore.HostFiltering!HostFilteringMiddleware.Invoke","Microsoft.AspNetCore.Routing!EndpointMiddleware.Invoke","Example!Program.<>c__DisplayClass0_0.<Main>b__0","Example!BikeService.Order","Example!OrderService.FindNearestVehicle","Pyroscope!LabelSet.BuildUpon","Pyroscope!LabelsWrapper.Do","Pyroscope!Profiler.get_Instance","Pyroscope!LabelSet.Builder.Add","System.Collections.Generic!Dictionary<TKey, TKey>.TryInsert","System.Collections.Generic!Dictionary<TKey, TKey>.Initialize","Pyroscope!LabelSet.Builder.Build","Example!Program.<>c__DisplayClass0_0.<Main>b__1","Example!ScooterService.Order","Example!OrderService.FindNearestVehicle","Pyroscope!LabelSet.BuildUpon","Pyroscope!LabelsWrapper.Do","Pyroscope!Profiler.get_Instance","Pyroscope!LabelSet.Builder.Add","System.Collections.Generic!Dictionary<TKey, TKey>.TryInsert","System.Collections.Generic!Dictionary<TKey, TKey>.Initialize","Pyroscope!LabelSet.Builder.Build","Example!Program.<>c__DisplayClass0_0.<Main>b__2","Example!CarService.Order","Example!OrderService.FindNearestVehicle","Pyroscope!LabelsWrapper.Do","Example!OrderService.<>c__DisplayClass0_1.<FindNearestVehicle>b__0","Example!OrderService.CheckDriverAvailability","Pyroscope!LabelSet.BuildUpon","System.Collections.Generic!Dictionary<TKey, TKey>..ctor","System.Collections.Generic!Dictionary<TKey, TKey>.Initialize","Pyroscope!LabelsWrapper.Do","Pyroscope!Profiler.get_Instance","Pyroscope!Profiler.get_Instance","Pyroscope!LabelSet.Builder.Add","System.Collections.Generic!Dictionary<TKey, TKey>.TryInsert","System.Collections.Generic!Dictionary<TKey, TKey>.Initialize","Microsoft.AspNetCore.Http!RequestDelegateFactory.ExecuteWriteStringResponseAsync","Microsoft.AspNetCore.Http!HttpResponseWritingExtensions.WriteAsync","Microsoft.AspNetCore.Http!HttpResponseWritingExtensions.WriteAsync","Microsoft.AspNetCore.Http!DefaultHttpResponse.StartAsync","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature.StartAsync","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1OutputProducer.WriteResponseHeaders","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.PipeWriterHelpers!ConcurrentPipeWriter.GetSpan","System.IO.Pipelines!Pipe.DefaultPipeWriter.GetSpan","System.IO.Pipelines!Pipe.AllocateWriteHeadSynchronized","System.IO.Pipelines!Pipe.CreateSegmentUnsynchronized","Microsoft.Extensions.Logging!LoggerMessage.<>c__DisplayClass10_0<T1>.<Define>g__Log|0","Microsoft.Extensions.Logging!Logger<T>.Microsoft.Extensions.Logging.ILogger.Log<!LogValues>","Microsoft.Extensions.Logging!Logger.Log<!LogValues>","Microsoft.Extensions.Logging!Logger.<Log>g__LoggerLog|12_0<!LogValues>","Microsoft.Extensions.Logging.Console!ConsoleLogger.Log<!LogValues>","Microsoft.Extensions.Logging.Console!SimpleConsoleFormatter.Write<!LogValues>","Microsoft.Extensions.Logging!LoggerMessage.LogValues.<>c<T0>.<.cctor>b__12_0","Microsoft.Extensions.Logging!LoggerMessage.LogValues<T0>.ToString","System!String.FormatHelper","System!Span<System!Char>.ToString","System!String.Ctor","System.Text!StringBuilder.ToString","Microsoft.AspNetCore.Hosting!HostingApplication.CreateContext","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.BeginRequest","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.Log.RequestScope","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.Log.HostingLogScope..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature.get_TraceIdentifier","System!String.Create<System!ValueTuple>","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.LogRequestStarting","Microsoft.Extensions.Logging!Logger.Log<!T0>","Microsoft.Extensions.Logging!Logger.<Log>g__LoggerLog|12_0<!T0>","Microsoft.Extensions.Logging.Console!ConsoleLogger.Log<!T0>","Microsoft.Extensions.Logging.Console!SimpleConsoleFormatter.Write<!T0>","Microsoft.AspNetCore.Hosting!HostingRequestStartingLog.ToString","System.Buffers!TlsOverPerCoreLockedStacksArrayPool<System!Char>.Rent","System.Runtime.CompilerServices!DefaultInterpolatedStringHandler.ToStringAndClear","System!String.Ctor","System.Buffers!TlsOverPerCoreLockedStacksArrayPool<System!Char>.Return","System.Buffers!TlsOverPerCoreLockedStacksArrayPool<System!Char>.InitializeTlsBucketsAndTrimming","System.Text!StringBuilder.ToString","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.StartActivity","System.Diagnostics!Activity.Start","System!String.Create<System!ValueTuple>","System.Threading!ExecutionContext.SetLocalValue","Microsoft.Extensions.Logging!Logger.BeginScope<!T0>","Microsoft.Extensions.Logging!LoggerFactoryScopeProvider.Push","System.Threading!ExecutionContext.SetLocalValue","System.Threading!AsyncLocalValueMap.TwoElementAsyncLocalValueMap.Set","Microsoft.AspNetCore.Http!DefaultHttpContextFactory.Create","Microsoft.AspNetCore.Http!DefaultHttpContext..ctor","Microsoft.AspNetCore.Hosting!HostingApplication.DisposeContext","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.LogRequestFinished","Microsoft.Extensions.Logging!Logger.Log<!T0>","Microsoft.Extensions.Logging!Logger.<Log>g__LoggerLog|12_0<!T0>","Microsoft.Extensions.Logging.Console!ConsoleLogger.Log<!T0>","Microsoft.Extensions.Logging.Console!SimpleConsoleFormatter.Write<!T0>","Microsoft.AspNetCore.Hosting!HostingRequestFinishedLog.ToString","System!Number.FormatDouble","System.Text!ValueStringBuilder.ToString","System!Span<System!Char>.ToString","System!String.Ctor","System!Number.UInt32ToDecStr","System!String.Replace","System!String.Substring","System.Runtime.CompilerServices!DefaultInterpolatedStringHandler.ToStringAndClear","System!String.Ctor","System.Text!StringBuilder.ToString","System.Text!StringBuilder.set_Length","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.StopActivity","System.Diagnostics!Activity.Stop","System.Threading!ExecutionContext.SetLocalValue","System.Threading!AsyncLocalValueMap.TwoElementAsyncLocalValueMap.Set","Microsoft.Extensions.Logging!LoggerFactoryScopeProvider.Scope.Dispose","System.Threading!ExecutionContext.SetLocalValue","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.TryParseRequest","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.ParseRequest","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.TakeMessageHeaders","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.ParseHeaders","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.TryTakeSingleHeader","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.OnHeader","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpRequestHeaders.Append","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!HttpUtilities.GetRequestHeaderString","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!StringUtilities.GetAsciiOrUTF8StringNonNullCharacters","System!String.Create<System!IntPtr>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.TakeStartLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.ParseRequestLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.ParseRequestLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.OnStartLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.OnOriginFormTarget","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!StringUtilities.GetAsciiStringNonNullCharacters","System!String.Create<System!IntPtr>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.InitializeBodyControl","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!BodyControl..ctor","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices!ValueTaskAwaiter, !<ProcessRequests>d__223>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<ProcessRequests>d__223>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices!TaskAwaiter, !<ProcessRequestsAsync>d__222>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<ProcessRequestsAsync>d__222>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection.OnHeartbeat","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices!TaskAwaiter, !<ProcessRequestsAsync>d__12>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<ProcessRequestsAsync>d__12>","System.Threading!CancellationToken.Register","System.Threading!CancellationTokenSource.Register","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnectionMiddleware<TContext>.OnConnectionAsync","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection.BeginConnectionScope","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!TimeoutControl..ctor","Microsoft.Extensions.Logging!Logger.BeginScope<!T0>","Microsoft.Extensions.Logging!LoggerFactoryScopeProvider.Push","System.Threading!ExecutionContext.SetLocalValue","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.AwaitUnsafeOnCompleted<System.Runtime.CompilerServices!TaskAwaiter, !<ExecuteAsync>d__6>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<ExecuteAsync>d__6>","System.Threading!ThreadPoolWorkQueue.Dispatch","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!IOQueue.System.Threading.IThreadPoolWorkItem.Execute","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Threading.Tasks!VoidTaskResult, Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoSend>d__28>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoSend>d__28.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.Shutdown","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<>c.<FireConnectionClosed>b__29_0","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.CancelConnectionClosedToken","System.Threading!CancellationTokenSource.ExecuteCallbackHandlers","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnection.OnConnectionClosed","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.OnInputOrOutputCompleted","System.Net.Sockets!SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute","System.Net.Sockets!Socket.AwaitableSocketAsyncEventArgs.OnCompleted","System.Net.Sockets!Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets!SocketConnectionListener.<AcceptAsync>d__10.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets!SocketConnectionContextFactory.Create","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection..ctor","System.IO.Pipelines!DuplexPipe.CreateConnectionPair","System.IO.Pipelines!Pipe..ctor","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.Start","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.DoReceive","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<DoReceive>d__27>","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoReceive>d__27.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketReceiver.WaitForDataAsync","System.Net.Sockets!Socket.ReceiveAsync","System.Net.Sockets!SocketAsyncContext..ctor","System.Net.Sockets!SocketAsyncEventArgs.DoOperationReceive","System.Net.Sockets!SocketAsyncContext.ReceiveAsync","System.Net.Sockets!SocketAsyncContext.OperationQueue<TOperation>.StartAsyncOperation","System.Net.Sockets!SocketAsyncContext.TryRegister","System.Net.Sockets!SocketAsyncEngine.TryRegisterSocket","System.Net.Sockets!SocketAsyncEngine.TryRegisterCore","System.Collections.Concurrent!ConcurrentDictionary<System!IntPtr, System.Net.Sockets!SocketAsyncEngine.SocketAsyncContextWrapper>.TryAddInternal","System.IO.Pipelines!Pipe.GetMemory","System.IO.Pipelines!Pipe.AllocateWriteHeadSynchronized","System.IO.Pipelines!Pipe.CreateSegmentUnsynchronized","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<DoReceive>d__27>","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.DoSend","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<DoSend>d__28>","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoSend>d__28.MoveNext","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<DoSend>d__28>","System.Net.Sockets!Socket.get_LocalEndPoint","System.Net.Sockets!IPEndPointExtensions.Create","System.Net.Internals!SocketAddress.GetIPEndPoint","System.Net.Internals!SocketAddress.GetIPAddress","System.Net.Sockets!IPEndPointExtensions.Serialize","System.Threading.Tasks!Task<TResult>.TrySetResult","System.Threading.Tasks!Task.RunContinuations","System.Threading.Tasks!AwaitTaskContinuation.RunOrScheduleAction","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!ConnectionDispatcher.<>c__DisplayClass8_0.<<StartAcceptingConnectionsCore>g__AcceptConnectionsAsync|0>d<T>.MoveNext","Microsoft.AspNetCore.Connections!TransportConnection.Microsoft.AspNetCore.Http.Features.IFeatureCollection.Set<!T0>","System.Collections.Generic!List<T>.AddWithResize","System.Collections.Generic!List<T>.set_Capacity","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection<T>..ctor","Microsoft.AspNetCore.Connections!TransportConnection.Microsoft.AspNetCore.Http.Features.IFeatureCollection.Set<!T0>","Microsoft.AspNetCore.Connections!TransportConnection.ExtraFeatureSet","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!TransportConnectionManager.AddConnection","Microsoft.AspNetCore.Connections!TransportConnection.get_ConnectionId","System!String.Create<System!Int64>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!ConnectionManager.AddConnection","System.Collections.Concurrent!ConcurrentDictionary<TKey, TKey>.TryAddInternal","System.Collections.Concurrent!ConcurrentDictionary<TKey, TKey>.TryAddInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!TransportManager.GenericConnectionListener.AcceptAsync","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets!SocketConnectionListener.AcceptAsync","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<AcceptAsync>d__10>","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets!SocketConnectionListener.<AcceptAsync>d__10.MoveNext","System.Net.Sockets!Socket.AwaitableSocketAsyncEventArgs.AcceptAsync","System.Net.Sockets!Socket.AcceptAsync","System.Net.Sockets!SocketAsyncEventArgs.DoOperationAccept","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<TResult>.GetStateMachineBox<!<AcceptAsync>d__10>","System.Net.Sockets!SocketAsyncEventArgs.AcceptCompletionCallback","System.Net.Sockets!SocketAsyncEventArgs.FinishOperationSyncSuccess","System.Net.Sockets!IPEndPointExtensions.Create","System.Net.Internals!SocketAddress.GetIPEndPoint","System.Net.Internals!SocketAddress.GetIPAddress","System.Net!IPAddress..ctor","System.Net.Sockets!IPEndPointExtensions.Serialize","System.Net.Internals!SocketAddress..ctor","System.Net.Internals!SocketAddress..ctor","System.Net.Sockets!SocketAsyncEventArgs.FinishOperationAccept","System.Net.Sockets!IPEndPointExtensions.Create","System.Net.Internals!SocketAddress.GetIPEndPoint","System.Net.Internals!SocketAddress.GetIPAddress","System.Net!IPAddress..ctor","System.Net.Sockets!SocketPal.CreateSocket","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<System.Threading.Tasks!VoidTaskResult, Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoReceive>d__27>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DoReceive>d__27.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.FireConnectionClosed","System.Threading!ThreadPool.UnsafeQueueUserWorkItem<!T0>","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunFromThreadPoolDispatchLoop","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.<ProcessRequests>d__223<TContext>.MoveNext","Microsoft.AspNetCore.HostFiltering!HostFilteringMiddleware.Invoke","Microsoft.AspNetCore.Routing!EndpointMiddleware.Invoke","Example!Program.<>c__DisplayClass0_0.<Main>b__0","Example!BikeService.Order","Example!OrderService.FindNearestVehicle","Pyroscope!LabelsWrapper.Do","Pyroscope!Profiler.get_Instance","Microsoft.AspNetCore.Http!RequestDelegateFactory.ExecuteWriteStringResponseAsync","Microsoft.AspNetCore.Http!HttpResponseWritingExtensions.WriteAsync","Microsoft.AspNetCore.Http!HttpResponseWritingExtensions.WriteAsync","Microsoft.AspNetCore.Http!DefaultHttpResponse.StartAsync","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature.StartAsync","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1OutputProducer.WriteResponseHeaders","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.PipeWriterHelpers!ConcurrentPipeWriter.GetSpan","System.IO.Pipelines!Pipe.DefaultPipeWriter.GetSpan","System.IO.Pipelines!Pipe.AllocateWriteHeadSynchronized","System.IO.Pipelines!Pipe.CreateSegmentUnsynchronized","Microsoft.Extensions.Logging!LoggerMessage.<>c__DisplayClass10_0<T1>.<Define>g__Log|0","Microsoft.Extensions.Logging!Logger<T>.Microsoft.Extensions.Logging.ILogger.Log<!LogValues>","Microsoft.Extensions.Logging!Logger.Log<!LogValues>","Microsoft.Extensions.Logging!Logger.<Log>g__LoggerLog|12_0<!LogValues>","Microsoft.Extensions.Logging.Console!ConsoleLogger.Log<!LogValues>","Microsoft.Extensions.Logging.Console!SimpleConsoleFormatter.Write<!LogValues>","Microsoft.Extensions.Logging!LoggerMessage.LogValues.<>c<T0>.<.cctor>b__12_0","Microsoft.Extensions.Logging!LoggerMessage.LogValues<T0>.ToString","System!String.FormatHelper","System!Span<System!Char>.ToString","System!String.Ctor","Microsoft.AspNetCore.Hosting!HostingApplication.CreateContext","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.BeginRequest","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.Log.RequestScope","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.Log.HostingLogScope..ctor","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature.get_TraceIdentifier","System!String.Create<System!ValueTuple>","Microsoft.AspNetCore.Http!DefaultHttpContextFactory.Create","Microsoft.AspNetCore.Http!DefaultHttpContext..ctor","Microsoft.AspNetCore.Hosting!HostingApplication.DisposeContext","Microsoft.AspNetCore.Hosting!HostingApplicationDiagnostics.LogRequestFinished","Microsoft.Extensions.Logging!Logger.Log<!T0>","Microsoft.Extensions.Logging!Logger.<Log>g__LoggerLog|12_0<!T0>","Microsoft.Extensions.Logging.Console!ConsoleLogger.Log<!T0>","Microsoft.Extensions.Logging.Console!SimpleConsoleFormatter.Write<!T0>","Microsoft.AspNetCore.Hosting!HostingRequestFinishedLog.ToString","System!Number.UInt32ToDecStr","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.TryParseRequest","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.ParseRequest","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.TakeStartLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.ParseRequestLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpParser<Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1ParsingHandler>.ParseRequestLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.OnStartLine","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!Http1Connection.OnOriginFormTarget","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!StringUtilities.GetAsciiStringNonNullCharacters","System!String.Create<System!IntPtr>","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.InitializeBodyControl","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!BodyControl..ctor","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.SetResult","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.SetExistingTaskResult","System.Threading.Tasks!Task.RunContinuations","System.Threading.Tasks!AwaitTaskContinuation.RunOrScheduleAction","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http!HttpProtocol.<ProcessRequestsAsync>d__222<TContext>.MoveNext","System.Threading.Tasks!Task<System.Threading.Tasks!VoidTaskResult>.TrySetResult","System.Threading.Tasks!Task.RunContinuations","System.Threading.Tasks!AwaitTaskContinuation.RunOrScheduleAction","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal!HttpConnection.<ProcessRequestsAsync>d__12<TContext>.MoveNext","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.SetExistingTaskResult","System.Threading.Tasks!Task.RunContinuations","System.Threading.Tasks!AwaitTaskContinuation.RunOrScheduleAction","System.Runtime.CompilerServices!AsyncTaskMethodBuilder.AsyncStateMachineBox<TResult, TResult>.MoveNext","System.Threading!ExecutionContext.RunInternal","Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure!KestrelConnection.<ExecuteAsync>d__6<T>.MoveNext","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.DisposeAsync","System.Runtime.CompilerServices!AsyncMethodBuilderCore.Start<!<DisposeAsync>d__26>","Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal!SocketConnection.<DisposeAsync>d__26.MoveNext","System.Runtime.CompilerServices!AsyncTaskMethodBuilder<System.Threading.Tasks!VoidTaskResult>.GetStateMachineBox<!<DisposeAsync>d__26>","System.Threading!UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute","System.Threading!TimerQueue.FireNextTimers","System.Threading!TimerQueueTimer.Fire","Microsoft.Extensions.FileProviders.Physical!PhysicalFilesWatcher.RaiseChangeEvents","System.Threading!ThreadPoolWorkQueueThreadLocals.Finalize","System.Threading!ThreadPoolWorkQueue.WorkStealingQueueList.Remove"]},{name:"self",values:[0,0,0,0,0,0,12,4,0,0,0,0,8,0,0,17,3,12,26,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,1,0,0,2,0,0,1,0,0,0,0,3,1,0,0,2,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,7,15,2,0,0,0,0,3,1,0,0,0,0,0,0,0,4,0,1,8,7,0,1,3,2,1,0,1,3,5,0,1,0,0,0,0,0,0,0,0,2,0,1,4,0,5,12,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,10,0,1,0,3,2,0,0,0,7,7,1,1,0,0,6,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,15,14,14,4,0,0,0,0,0,0,3,9,3,0,0,0,0,2,0,0,1,2,0,0,0,6,0,0,2,3,1,0,0,0,0,0,3,0,0,3,0,0,2,5,0,0,0,0,2,1,0,0,0,0,0,0,1,1,0,0,0,1,1,0,5,0,3,2,0,1,3,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,0,1]},{name:"value",values:[378,12,12,12,12,12,12,365,230,230,230,230,8,206,206,206,15,12,26,139,139,139,136,136,136,42,42,3,3,2,0,1,1,1,1,1,0,4,4,2,0,1,1,1,1,1,1,9,9,7,5,4,4,0,0,0,3,3,1,2,2,2,4,4,4,4,4,4,4,4,4,4,22,22,22,22,22,7,7,7,7,7,7,15,42,32,3,3,3,3,14,13,13,13,5,5,0,5,4,1,1,8,11,4,1,3,4,2,1,1,8,5,29,26,25,25,25,12,12,2,2,2,2,0,1,4,5,5,12,1,3,3,3,0,0,0,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,10,10,1,1,3,3,2,0,0,7,7,7,1,1,6,6,6,1,1,131,0,0,0,0,0,3,3,3,3,3,3,117,97,97,97,97,97,73,32,18,4,26,20,20,20,17,17,3,14,5,2,2,2,2,2,1,1,1,2,6,6,6,6,6,5,5,3,1,18,18,18,18,18,18,3,3,3,7,2,2,5,3,0,0,2,2,1,2,2,2,2,1,1,1,1,20,20,2,2,1,0,8,3,3,10,6,6,5,2,2,0,0,0,0,0,10,10,7,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,1]},{name:"selfRight",values:[0,0,0,0,0,0,16,5,0,0,0,0,1,0,0,19,2,8,28,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,2,0,0,2,1,0,0,1,0,0,0,1,0,2,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,2,11,1,0,0,0,0,2,0,0,0,0,0,0,1,0,2,0,0,7,3,0,3,2,2,0,1,1,4,2,0,0,0,0,0,0,0,0,0,0,1,1,2,3,0,4,13,0,0,0,0,1,0,3,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1,1,4,0,5,0,1,0,0,1,0,7,9,3,0,0,2,2,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,4,12,12,5,0,0,0,0,0,0,2,9,0,0,0,0,0,1,0,0,4,3,0,0,0,6,0,0,1,2,0,0,0,0,0,0,2,0,0,1,0,0,6,8,0,0,2,0,1,1,0,0,0,0,0,0,2,3,0,0,0,0,0,1,0,0,1,3,0,2,1,0,2,0,0,0,0,3,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{name:"valueRight",values:[316,16,16,16,16,16,16,300,190,190,190,190,1,173,173,173,10,8,28,108,108,108,107,107,107,34,34,4,4,2,1,1,1,1,1,1,1,7,7,4,1,2,2,2,2,2,1,9,9,9,8,8,8,3,2,2,5,5,0,0,0,0,1,1,1,1,1,1,1,1,1,1,13,13,13,13,13,2,2,2,2,2,2,11,31,24,2,2,2,2,10,10,10,10,3,3,1,2,2,0,0,7,8,5,3,2,4,2,2,1,6,2,28,24,24,24,24,11,11,1,1,1,1,1,2,3,4,4,13,0,1,1,1,1,3,3,4,4,3,3,3,3,3,3,3,3,1,1,1,1,1,1,1,5,4,5,5,1,1,0,1,1,7,7,9,3,0,4,4,2,0,0,105,1,1,1,1,1,1,1,1,1,1,1,100,87,87,87,87,87,58,29,17,5,25,19,19,19,12,12,2,10,1,1,1,1,1,1,4,4,4,3,6,6,6,6,3,3,3,2,0,26,26,26,26,26,26,1,1,1,14,6,6,8,4,2,2,1,1,1,5,5,5,5,2,2,2,3,10,10,1,1,1,1,1,1,1,8,3,3,1,0,2,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}]};class Et extends f.StandardVariableSupport{toDataQuery(e){return{refId:"TestDataDataSource-QueryVariable",stringInput:e.query,scenarioId:V.VariablesQuery,csvWave:void 0}}}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ot(e,t,r[t])}))}return e}function Rt(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}class _t extends be.DataSourceWithBackend{getDefaultQuery(){return{scenarioId:V.RandomWalk,seriesCount:1}}query(e){const t=[],r=[];for(let a of e.targets)if(!a.hide)switch(a=this.resolveTemplateVariables(a,e.scopedVars),a.scenarioId){case"live":r.push(jt(a,e));break;case"streaming_client":r.push(nt(a,e));break;case"grafana_api":r.push(Mt(a,e));break;case V.Annotations:r.push(this.annotationDataTopicTest(a,e));break;case"variables-query":r.push(this.variablesQuery(a,e));break;case"node_graph":r.push(this.nodesQuery(a,e));break;case"flame_graph":r.push(this.flameGraphQuery(a));break;case"steps":r.push(this.stepsQuery(a));break;case"trace":r.push(this.trace(e));break;case"raw_frame":r.push(this.rawFrameQuery(a,e));break;case"server_error_500":const n=this.serverErrorQuery(a,e);n?r.push(n):t.push(a);break;case"manual_entry":{let e="Time,Value\n";if(a.points)for(const t of a.points)e+=`${t[1]},${t[0]}\n`;a.scenarioId=V.CSVContent,a.csvContent=e}default:t.push(a)}if(t.length){const a=Rt(Dt({},e),{targets:t});r.push(super.query(a))}return 0===r.length?(0,Ue.of)({data:[]}):(0,Ue.merge)(...r)}resolveTemplateVariables(e,t){const r=Dt({},e);return r.labels&&(r.labels=this.templateSrv.replace(r.labels,t)),r.alias&&(r.alias=this.templateSrv.replace(r.alias,t)),r.scenarioId&&(r.scenarioId=this.templateSrv.replace(r.scenarioId,t)),r.stringInput&&(r.stringInput=this.templateSrv.replace(r.stringInput,t)),r.csvContent&&(r.csvContent=this.templateSrv.replace(r.csvContent,t)),r.rawFrameContent&&(r.rawFrameContent=this.templateSrv.replace(r.rawFrameContent,t)),r}applyTemplateVariables(e,t){return this.resolveTemplateVariables(e,t)}annotationDataTopicTest(e,t){var r;const a=this.buildFakeAnnotationEvents(t.range,null!==(r=e.lines)&&void 0!==r?r:10),n=new f.ArrayDataFrame(a);return n.meta={dataTopic:f.DataTopic.Annotations},(0,Ue.of)({key:e.refId,data:[n]}).pipe((0,mt.delay)(100))}buildFakeAnnotationEvents(e,t){let r=e.from.valueOf();const a=[],n=(e.to.valueOf()-r)/t;for(let e=0;e<t;e++)a.push({time:r,text:'This is the text, <a href="https://grafana.com">Grafana.com</a>',tags:["text","server"]}),r+=n;return a}getQueryDisplayText(e){var t;const r=null!==(t=e.scenarioId)&&void 0!==t?t:"Default scenario";return e.alias?r+" as "+e.alias:r}testDatasource(){return Promise.resolve({status:"success",message:"Data source is working"})}getScenarios(){return this.scenariosCache||(this.scenariosCache=this.getResource("scenarios")),this.scenariosCache}variablesQuery(e,t){var r;const a=null!==(r=e.stringInput)&&void 0!==r?r:"",n=yt(this.templateSrv.replace(a,(0,f.getSearchFilterScopedVar)({query:a,wildcardChar:"*"}))).map((e=>({value:e.name,text:e.name}))),o=new f.ArrayDataFrame(n);return(0,Ue.of)({data:[o]}).pipe((0,mt.delay)(100))}nodesQuery(e,t){var r;const a=(null===(r=e.nodes)||void 0===r?void 0:r.type)||"random";let n;switch(a){case"feature_showcase":n=function(){const{nodesFrame:e,edgesFrame:t}=kt();return(0,f.addRow)(e,{[f.NodeGraphDataFrameFieldNames.id]:"root",[f.NodeGraphDataFrameFieldNames.title]:"root",[f.NodeGraphDataFrameFieldNames.subTitle]:"client",[f.NodeGraphDataFrameFieldNames.mainStat]:1234,[f.NodeGraphDataFrameFieldNames.secondaryStat]:5678,arc__success:.5,arc__errors:.5,[f.NodeGraphDataFrameFieldNames.icon]:"",[f.NodeGraphDataFrameFieldNames.nodeRadius]:40,[f.NodeGraphDataFrameFieldNames.highlighted]:!1,[f.NodeGraphDataFrameFieldNames.detail+"test_value"]:1}),(0,f.addRow)(e,{[f.NodeGraphDataFrameFieldNames.id]:"app_service",[f.NodeGraphDataFrameFieldNames.title]:"app service",[f.NodeGraphDataFrameFieldNames.subTitle]:"with icon",[f.NodeGraphDataFrameFieldNames.mainStat]:1.2,[f.NodeGraphDataFrameFieldNames.secondaryStat]:2.3,arc__success:1,arc__errors:0,[f.NodeGraphDataFrameFieldNames.icon]:"apps",[f.NodeGraphDataFrameFieldNames.nodeRadius]:40,[f.NodeGraphDataFrameFieldNames.highlighted]:!1,[f.NodeGraphDataFrameFieldNames.detail+"test_value"]:42}),(0,f.addRow)(t,{[f.NodeGraphDataFrameFieldNames.id]:"root-app_service",[f.NodeGraphDataFrameFieldNames.source]:"root",[f.NodeGraphDataFrameFieldNames.target]:"app_service",[f.NodeGraphDataFrameFieldNames.mainStat]:3.4,[f.NodeGraphDataFrameFieldNames.secondaryStat]:4.5,[f.NodeGraphDataFrameFieldNames.thickness]:4,[f.NodeGraphDataFrameFieldNames.color]:"",[f.NodeGraphDataFrameFieldNames.strokeDasharray]:""}),(0,f.addRow)(e,{[f.NodeGraphDataFrameFieldNames.id]:"auth_service",[f.NodeGraphDataFrameFieldNames.title]:"auth service",[f.NodeGraphDataFrameFieldNames.subTitle]:"highlighted",[f.NodeGraphDataFrameFieldNames.mainStat]:3.4,[f.NodeGraphDataFrameFieldNames.secondaryStat]:4.5,arc__success:0,arc__errors:1,[f.NodeGraphDataFrameFieldNames.icon]:"",[f.NodeGraphDataFrameFieldNames.nodeRadius]:40,[f.NodeGraphDataFrameFieldNames.highlighted]:!0}),(0,f.addRow)(t,{[f.NodeGraphDataFrameFieldNames.id]:"root-auth_service",[f.NodeGraphDataFrameFieldNames.source]:"root",[f.NodeGraphDataFrameFieldNames.target]:"auth_service",[f.NodeGraphDataFrameFieldNames.mainStat]:113.4,[f.NodeGraphDataFrameFieldNames.secondaryStat]:4.511,[f.NodeGraphDataFrameFieldNames.thickness]:8,[f.NodeGraphDataFrameFieldNames.color]:"red",[f.NodeGraphDataFrameFieldNames.strokeDasharray]:""}),(0,f.addRow)(e,{[f.NodeGraphDataFrameFieldNames.id]:"db",[f.NodeGraphDataFrameFieldNames.title]:"db",[f.NodeGraphDataFrameFieldNames.subTitle]:"bigger size",[f.NodeGraphDataFrameFieldNames.mainStat]:9876.123,[f.NodeGraphDataFrameFieldNames.secondaryStat]:123.9876,arc__success:.9,arc__errors:.1,[f.NodeGraphDataFrameFieldNames.icon]:"database",[f.NodeGraphDataFrameFieldNames.nodeRadius]:60,[f.NodeGraphDataFrameFieldNames.highlighted]:!1,[f.NodeGraphDataFrameFieldNames.detail+"test_value"]:1357}),(0,f.addRow)(t,{[f.NodeGraphDataFrameFieldNames.id]:"auth_service-db",[f.NodeGraphDataFrameFieldNames.source]:"auth_service",[f.NodeGraphDataFrameFieldNames.target]:"db",[f.NodeGraphDataFrameFieldNames.mainStat]:1139.4,[f.NodeGraphDataFrameFieldNames.secondaryStat]:477.511,[f.NodeGraphDataFrameFieldNames.thickness]:2,[f.NodeGraphDataFrameFieldNames.color]:"blue",[f.NodeGraphDataFrameFieldNames.strokeDasharray]:"2 2"}),[e,t]}();break;case"random":var o,i;n=It(null===(o=e.nodes)||void 0===o?void 0:o.count,null===(i=e.nodes)||void 0===i?void 0:i.seed);break;case"response_small":n=Nt("small");break;case"response_medium":n=Nt("medium");break;case"random edges":var s,l;n=[Ft(null===(s=e.nodes)||void 0===s?void 0:s.count,null===(l=e.nodes)||void 0===l?void 0:l.seed)];break;default:throw new Error(`Unknown node_graph sub type ${a}`)}return(0,Ue.of)({data:n}).pipe((0,mt.delay)(100))}flameGraphQuery(e){const t=e.flamegraphDiff?Pt:At;return(0,Ue.of)({data:[Rt(Dt({},t),{refId:e.refId})]}).pipe((0,mt.delay)(100))}trace(e){const t=new f.MutableDataFrame({meta:{preferredVisualisationType:"trace"},fields:[{name:"traceID"},{name:"spanID"},{name:"parentSpanID"},{name:"operationName"},{name:"serviceName"},{name:"serviceTags"},{name:"startTime"},{name:"duration"},{name:"logs"},{name:"references"},{name:"tags"},{name:"kind"},{name:"statusCode"},{name:"warnings"},{name:"stackTraces"}]}),r=e.targets[0].spanCount||10,a="75c665dfb68",n=Date.now()-18e5,o=["client","server",""],i=[0,1,2];for(let e=0;e<r;e++)t.add({traceID:a+"10000",spanID:a+(1e4+e),parentSpanID:0===e?"":a+1e4,operationName:`Operation ${e}`,serviceName:`Service ${e}`,startTime:n+100*e,duration:300,tags:[{key:"http.method",value:"POST"},{key:"http.status_code",value:200},{key:"http.url",value:`Service${e}:80`}],serviceTags:[{key:"client-uuid",value:"6238bacefsecba865"},{key:"service.name",value:`Service${e}`},{key:"ip",value:"0.0.0.1"},{key:"latest_version",value:!1}],logs:e%4==0?[{timestamp:n+100*e,fields:[{key:"msg",value:"Service updated"}]},{timestamp:n+100*e+200,fields:[{key:"host",value:"app"}]}]:[],kind:0===e?"client":o[Math.floor(Math.random()*o.length)],statusCode:i[Math.floor(Math.random()*i.length)],references:0===e?[]:[{refType:"EXTERNAL",spanID:a+10001,traceID:a+"10000",tags:[{key:"external.service",value:`Service${e}`},{key:"resource.pod",value:`Pod${e}`}]}],warnings:e%2==0?["[2025-07-30T14:12:09Z] [payment-service] Delayed response from external payment gateway (Stripe). Request ID: 8f3a7c2b-ff13-4e3c-b610-18a92c8b199d. Latency: 3421ms. Threshold: 2500ms.",'[2025-07-30T14:14:42Z] [notification-service] Email delivery failed for user_id=93244 (Email: user@example.com). SMTP server responded with status 421: "Service not available, closing transmission channel".',"[2025-07-30T14:18:55Z] [user-profile-service] Deprecated API version used in request: /v1/profile/update. Recommend migrating to /v2/profile/update. Client ID: svc-auth-34."]:[],stackTraces:e%4==0?['Traceback (most recent call last):\n File "/app/services/payment.py", line 112, in process_transaction\n response = gateway.charge(card_info, amount)\n File "/app/lib/gateway/stripe_client.py", line 76, in charge\n return self._send_request(payload)\n File "/app/lib/gateway/stripe_client.py", line 45, in _send_request\n raise GatewayTimeoutError("Stripe request timed out after 3000ms")\ngateway.exceptions.GatewayTimeoutError: Stripe request timed out after 3000ms\n','Traceback (most recent call last):\n File "/usr/src/app/main.py", line 27, in <module>\n run_app()\n File "/usr/src/app/core/server.py", line 88, in run_app\n initialize_services()\n File "/usr/src/app/core/init.py", line 52, in initialize_services\n db.connect()\n File "/usr/src/app/db/connection.py", line 31, in connect\n raise DatabaseConnectionError("Failed to connect to database: timeout after 5s")\ndb.exceptions.DatabaseConnectionError: Failed to connect to database: timeout after 5s\n']:[]});return(0,Ue.of)({data:[t]}).pipe((0,mt.delay)(100))}rawFrameQuery(e,t){try{var r;const t=JSON.parse(null!==(r=e.rawFrameContent)&&void 0!==r?r:"[]").map((t=>{const r=(0,f.toDataFrame)(t);return r.refId=e.refId,r}));return(0,Ue.of)({data:t,state:f.LoadingState.Done}).pipe((0,mt.delay)(100))}catch(e){return(0,Ue.of)({data:[],error:e instanceof Error?e:new Error("Unkown error")}).pipe((0,mt.delay)(100))}}stepsQuery(e){var t,r;let a=(null!==(r=e.csvContent)&&void 0!==r?r:"a\n,b\nc\n").split("\n").map((e=>e.trim())).filter((e=>Boolean(e.length)));this.step=this.step%a.length;const n=(null===(t=e.alias)||void 0===t?void 0:t.length)?e.alias:"step",o={refId:e.refId,fields:[{name:"time",type:f.FieldType.time,values:[Date.now()],config:{}},{name:"index",type:f.FieldType.number,values:[this.step],config:{}},{name:n,type:f.FieldType.string,values:[a[this.step]],config:{}}],length:1};for(let e=0;e<a.length;e++)o.fields.push({name:`${n}-${a[e]}`,type:f.FieldType.boolean,values:[e<=this.step],config:{}});return this.step++,(0,Ue.of)({data:[o]}).pipe((0,mt.delay)(50))}serverErrorQuery(e,t){const{errorType:r}=e;if("server_panic"===r)return null;var a;if(""===(null!==(a=e.stringInput)&&void 0!==a?a:"")){if("frontend_exception"===r)throw new Error("Scenario threw an exception in the frontend because the input was empty.");return(0,Ue.throwError)((()=>new Error("Scenario returned an error because the input was empty.")))}return null}constructor(e,t=(0,be.getTemplateSrv)()){super(e),Ot(this,"templateSrv",void 0),Ot(this,"scenariosCache",void 0),Ot(this,"step",void 0),this.templateSrv=t,this.step=0,this.variables=new Et,this.annotations={getDefaultQuery:()=>({scenarioId:V.Annotations,lines:10}),prepareAnnotation:e=>{var t,r;return(null===(r=e.target)||void 0===r||null===(t=r.scenarioId)||void 0===t?void 0:t.length)?e:Rt(Dt({},e),{target:{refId:"Anno",scenarioId:V.Annotations,lines:10}})}}}}function Mt(e,t){const r=`/api/${e.stringInput}`;return(0,Ue.from)((0,be.getBackendSrv)().get(r).then((e=>{const t=new f.ArrayDataFrame(e);return{state:f.LoadingState.Done,data:[t]}})))}let Lt=1e3;function jt(e,t){if(!e.channel)throw new Error("Missing channel config");return(0,be.getGrafanaLiveSrv)().getDataStream({addr:{scope:f.LiveChannelScope.Plugin,namespace:"testdata",path:e.channel},key:"testStream."+Lt++})}const $t=new f.DataSourcePlugin(_t).setConfigEditor(S).setQueryEditor((({query:e,datasource:t,onChange:r,onRunQuery:a})=>{e=lt({},H,e);const{loading:n,value:o}=I((()=>{return(a=function*(){if(e.scenarioId===V.ManualEntry&&e.points){let t="Time,Value\n";for(const r of e.points)t+=`${r[1]},${r[0]}\n`;r({refId:e.refId,datasource:e.datasource,scenarioId:V.CSVContent,csvContent:t})}const a=yield t.getScenarios(),n=[V.Simulation,V.Annotations];return a.map((e=>ct(lt({},e),{hideAliasField:n.includes(e.id)})))},function(){var e=this,t=arguments;return new Promise((function(r,n){var o=a.apply(e,t);function i(e){it(o,r,n,i,s,"next",e)}function s(e){it(o,r,n,i,s,"throw",e)}i(void 0)}))})();var a}),[]),i=e=>{r(e),a()},s=(0,v.useMemo)((()=>null==o?void 0:o.find((t=>t.id===e.scenarioId))),[o,e]),l=null==s?void 0:s.id,c=null==s?void 0:s.description,d=t=>{const{name:r,value:a,type:n}=t.currentTarget;let o=a;"number"===n&&(o=Number(a)),"levelColumn"===r&&t.currentTarget instanceof HTMLInputElement&&(o=t.currentTarget.checked),i(ct(lt({},e),{[r]:o}))},u=t=>r=>{const{name:a,value:n,type:o}=r.target;let s=n;"number"===o&&(s=Number(n)),i(ct(lt({},e),{[t]:ct(lt({},e[t]),{[a]:s})}))},p=u("stream"),m=u("pulseWave"),g=(0,v.useMemo)((()=>(o||[]).map((e=>({label:e.name,value:e.id}))).sort(((e,t)=>e.label.localeCompare(t.label)))),[o]),h=(0,v.useMemo)((()=>{var t;const r=null!==(t=e.scenarioId)&&void 0!==t?t:"";return{labels:["random_walk","predictable_pulse"].includes(r),dropPercent:["csv_content","csv_file"].includes(r)}}),[null==e?void 0:e.scenarioId]);return n?null:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(w.InlineFieldRow,{"aria-label":ut.scenarioSelectContainer,children:[(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Scenario",children:(0,b.jsx)(w.Select,{inputId:`test-data-scenario-select-${e.refId}`,options:g,value:g.find((t=>t.value===e.scenarioId)),onChange:t=>{const r=null==o?void 0:o.find((e=>e.id===t.value));if(!r)return;const a={scenarioId:t.value,refId:e.refId,alias:e.alias,datasource:e.datasource};switch(r.stringInput&&(a.stringInput=r.stringInput),r.id){case V.GrafanaAPI:a.stringInput="datasources";break;case V.StreamingClient:a.stream=at;break;case V.Live:a.channel="random-2s-stream";break;case V.Simulation:a.sim={key:{type:"flight",tick:10}};break;case V.PredictablePulse:a.pulseWave=q;break;case V.PredictableCSVWave:a.csvWave=B;break;case V.Annotations:a.lines=10;break;case V.Steps:a.csvContent="a\nb\nc\n";break;case V.USA:a.usa={mode:He[0].value};break;case V.ErrorWithSource:a.errorSource="plugin"}i(a)},width:32})}),(null==s?void 0:s.stringInput)&&(0,b.jsx)(w.InlineField,{label:"String Input",children:(0,b.jsx)(w.Input,{width:32,id:`stringInput-${e.refId}`,name:"stringInput",placeholder:e.stringInput,value:e.stringInput,onChange:d})}),Boolean(!(null==s?void 0:s.hideAliasField))&&(0,b.jsx)(w.InlineField,{label:"Alias",labelWidth:14,children:(0,b.jsx)(w.Input,{width:32,id:`alias-${e.refId}`,type:"text",placeholder:"optional",pattern:'[^<>&\\\\"]+',name:"alias",value:e.alias,onChange:d})}),h.dropPercent&&(0,b.jsx)(w.InlineField,{label:"Drop",tooltip:"Drop a random set of points",children:(0,b.jsx)(w.Input,{type:"number",min:0,max:100,step:5,width:8,onChange:d,name:"dropPercent",placeholder:"0",value:e.dropPercent,suffix:(0,b.jsx)(w.Icon,{name:"percentage"})})}),h.labels&&(0,b.jsx)(w.InlineField,{label:"Labels",labelWidth:14,tooltip:(0,b.jsxs)(b.Fragment,{children:["Set labels using a key=value syntax:",(0,b.jsx)("br",{}),'{ key = "value", key2 = "value" }',(0,b.jsx)("br",{}),'key="value", key2="value"',(0,b.jsx)("br",{}),"key=value, key2=value",(0,b.jsx)("br",{}),"Value can contain templates:",(0,b.jsx)("br",{}),"$seriesIndex - replaced with index of the series"]}),children:(0,b.jsx)(w.Input,{width:32,id:`labels-${e.refId}`,name:"labels",onChange:d,value:null==e?void 0:e.labels,placeholder:"key=value, key2=value2"})})]}),l===V.RandomWalk&&(0,b.jsx)(ye,{onChange:d,query:e,ds:t}),l===V.StreamingClient&&(0,b.jsx)(je,{onChange:p,query:e,ds:t}),l===V.Live&&(0,b.jsx)(ie,{onChange:i,query:e,ds:t}),l===V.Simulation&&(0,b.jsx)(_e,{onChange:i,query:e,ds:t}),l===V.RawFrame&&(0,b.jsx)(Ce,{onChange:i,query:e,ds:t}),l===V.CSVFile&&(0,b.jsx)($,{onChange:i,query:e,ds:t}),l===V.CSVContent&&(0,b.jsx)(M,{onChange:i,query:e,ds:t}),l===V.Steps&&(0,b.jsx)(M,{onChange:i,query:e,ds:t}),l===V.Logs&&(0,b.jsxs)(w.InlineFieldRow,{children:[(0,b.jsx)(w.InlineField,{label:"Lines",labelWidth:14,children:(0,b.jsx)(w.Input,{type:"number",name:"lines",value:e.lines,width:32,onChange:d,placeholder:"10"})}),(0,b.jsx)(w.InlineField,{label:"Level",labelWidth:14,children:(0,b.jsx)(w.InlineSwitch,{onChange:d,name:"levelColumn",value:!!e.levelColumn})})]}),l===V.Annotations&&(0,b.jsx)(w.InlineFieldRow,{children:(0,b.jsx)(w.InlineField,{label:"Count",labelWidth:14,children:(0,b.jsx)(w.Input,{type:"number",name:"lines",value:e.lines,width:32,onChange:d,placeholder:"10"})})}),l===V.USA&&(0,b.jsx)(Be,{onChange:t=>{i(ct(lt({},e),{usa:t}))},query:null!==(y=e.usa)&&void 0!==y?y:{}}),l===V.GrafanaAPI&&(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Endpoint",children:(0,b.jsx)(w.Select,{options:dt,onChange:({value:t})=>{i(ct(lt({},e),{stringInput:t}))},width:32,value:dt.find((t=>t.value===e.stringInput))})}),l===V.Arrow&&(0,b.jsx)(w.InlineField,{grow:!0,children:(0,b.jsx)(w.TextArea,{name:"stringInput",value:e.stringInput,rows:10,placeholder:"Copy base64 text data from query result",onChange:d})}),l===V.FlameGraph&&(0,b.jsx)(w.InlineField,{label:"Diff profile",grow:!0,children:(0,b.jsx)(w.InlineSwitch,{value:Boolean(e.flamegraphDiff),onChange:t=>{i(ct(lt({},e),{flamegraphDiff:t.currentTarget.checked}))}})}),l===V.PredictablePulse&&(0,b.jsx)(me,{onChange:m,query:e,ds:t}),l===V.PredictableCSVWave&&(0,b.jsx)(Q,{onChange:t=>{i(ct(lt({},e),{csvWave:t}))},waves:e.csvWave}),l===V.NodeGraph&&(0,b.jsx)(de,{onChange:t=>r(ct(lt({},e),{nodes:t})),query:e}),l===V.ServerError500&&(0,b.jsx)(Y,{onChange:i,query:e,ds:t}),l===V.Trace&&(0,b.jsx)(w.InlineField,{labelWidth:14,label:"Span count",children:(0,b.jsx)(w.Input,{type:"number",name:"spanCount",value:e.spanCount,width:32,onChange:d,placeholder:"10"})}),l===V.ErrorWithSource&&(0,b.jsx)(re,{onChange:i,query:e,ds:t}),c&&(0,b.jsx)("p",{children:c})]});var y})).setMetadataInspector((function({data:e}){return(0,b.jsxs)(w.Stack,{direction:"column",children:[(0,b.jsx)("div",{children:"Meta data inspector for the TestData data source."}),e.map(((e,t)=>{var r;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{children:["Frame: ",t]}),(0,b.jsxs)("div",{children:["Custom meta: ",(0,b.jsx)("br",{}),JSON.stringify(null===(r=e.meta)||void 0===r?void 0:r.custom,null,2)]})]})}))]})})).addConfigPage({title:"Setup",icon:"list-ul",body:pt,id:"setup"});return p})())); //# sourceMappingURL=module.js.map
.
Edit
..
Edit
CHANGELOG.md
Edit
LICENSE
Edit
README.md
Edit
dashboards
Edit
img
Edit
module.js
Edit
module.js.LICENSE.txt
Edit
module.js.map
Edit
plugin.json
Edit