@grafana/k6-test-builder 0.8.12 → 0.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -29,6 +29,165 @@ function $parcel$export(e, n, v, s) {
29
29
 
30
30
 
31
31
 
32
+ const $a80b21e889559c22$export$cc0ae9a5c96bcd6f = ()=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
33
+ width: 100,
34
+ height: 81,
35
+ viewBox: "0 0 98 81",
36
+ children: /*#__PURE__*/ (0, $b7VBt$jsxs)("g", {
37
+ id: "test-buider",
38
+ transform: "translate(-.5 -.5)",
39
+ children: [
40
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
41
+ id: "Path_456",
42
+ fill: "#f9f8fc",
43
+ d: "M8 8h90v73H8z"
44
+ }),
45
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
46
+ id: "Path_457",
47
+ fill: "#beb9d7",
48
+ fillRule: "evenodd",
49
+ d: "M7.5 8a.5.5 0 0 1 .5-.5h90a.5.5 0 0 1 .5.5v73a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5zm1 .5v72h89v-72z"
50
+ }),
51
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
52
+ id: "Path_458",
53
+ d: "M91 1H1v73h90V1z",
54
+ fill: "#fff"
55
+ }),
56
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
57
+ id: "Path_459",
58
+ d: "M.5 1A.5.5 0 0 1 1 .5h90a.5.5 0 0 1 .5.5v73a.5.5 0 0 1-.5.5H1a.5.5 0 0 1-.5-.5zm1 .5v72h89v-72z",
59
+ fillRule: "evenodd",
60
+ fill: "#3c3c64"
61
+ }),
62
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
63
+ id: "Path_460",
64
+ d: "M31 33h52v11H31z",
65
+ fill: "#fff"
66
+ }),
67
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
68
+ id: "Path_461",
69
+ d: "M82 34H32v9h50zm-51-1v11h52V33z",
70
+ fill: "#ece8f1"
71
+ }),
72
+ /*#__PURE__*/ (0, $b7VBt$jsx)("circle", {
73
+ id: "Ellipse_22",
74
+ cx: "1.5",
75
+ cy: "1.5",
76
+ r: "1.5",
77
+ fill: "#beb9d7",
78
+ transform: "translate(76 37)"
79
+ }),
80
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
81
+ id: "Path_462",
82
+ d: "M35 38.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
83
+ fillRule: "evenodd",
84
+ fill: "#3c3c64"
85
+ }),
86
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
87
+ id: "Path_463",
88
+ d: "M49 38.25a.75.75 0 0 1 .75-.75h22.5a.75.75 0 0 1 0 1.5h-22.5a.75.75 0 0 1-.75-.75z",
89
+ fillRule: "evenodd",
90
+ fill: "#3c3c64"
91
+ }),
92
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
93
+ id: "Path_464",
94
+ d: "M31 50h52v11H31z",
95
+ fill: "#fff"
96
+ }),
97
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
98
+ id: "Path_465",
99
+ d: "M82 51H32v9h50zm-51-1v11h52V50z",
100
+ fill: "#ece8f1"
101
+ }),
102
+ /*#__PURE__*/ (0, $b7VBt$jsx)("circle", {
103
+ id: "Ellipse_23",
104
+ cx: "1.5",
105
+ cy: "1.5",
106
+ r: "1.5",
107
+ fill: "#beb9d7",
108
+ transform: "translate(76 54)"
109
+ }),
110
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
111
+ id: "Path_466",
112
+ d: "M35 55.25a.75.75 0 0 1 .75-.75h17.5a.75.75 0 0 1 0 1.5h-17.5a.75.75 0 0 1-.75-.75z",
113
+ fillRule: "evenodd",
114
+ fill: "#3c3c64"
115
+ }),
116
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
117
+ id: "Path_467",
118
+ d: "M57 55.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5h-14.5a.75.75 0 0 1-.75-.75z",
119
+ fillRule: "evenodd",
120
+ fill: "#3c3c64"
121
+ }),
122
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
123
+ id: "Rectangle_214",
124
+ fill: "#7d64ff",
125
+ d: "M0 0H20V8H0z",
126
+ transform: "translate(31 19)"
127
+ }),
128
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
129
+ id: "Path_468",
130
+ d: "M7 20.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
131
+ fill: "#7d64ff"
132
+ }),
133
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
134
+ id: "Path_469",
135
+ d: "M7 26.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75z",
136
+ fillRule: "evenodd",
137
+ fill: "#3c3c64"
138
+ }),
139
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
140
+ id: "Path_470",
141
+ d: "M7 32.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
142
+ fillRule: "evenodd",
143
+ fill: "#3c3c64"
144
+ }),
145
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
146
+ id: "Path_471",
147
+ d: "M7 38.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
148
+ fill: "#7d64ff"
149
+ }),
150
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
151
+ id: "Path_472",
152
+ d: "M7 44.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
153
+ fillRule: "evenodd",
154
+ fill: "#3c3c64"
155
+ }),
156
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
157
+ id: "Path_473",
158
+ d: "M7 50.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
159
+ fillRule: "evenodd",
160
+ fill: "#3c3c64"
161
+ }),
162
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
163
+ id: "Path_474",
164
+ d: "M7 56.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75z",
165
+ fill: "#7d64ff"
166
+ }),
167
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
168
+ id: "Path_475",
169
+ d: "M7 62.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
170
+ fillRule: "evenodd",
171
+ fill: "#3c3c64"
172
+ }),
173
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
174
+ id: "Path_476",
175
+ d: "M8 6a2 2 0 1 1-2-2 2 2 0 0 1 2 2zm7 0a2 2 0 1 1-2-2 2 2 0 0 1 2 2zm5 2a2 2 0 1 0-2-2 2 2 0 0 0 2 2z",
176
+ fillRule: "evenodd",
177
+ fill: "#3c3c64"
178
+ }),
179
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
180
+ id: "Path_477",
181
+ d: "M.5 11a.5.5 0 0 1 .5-.5h82a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z",
182
+ fillRule: "evenodd",
183
+ fill: "#3c3c64"
184
+ })
185
+ ]
186
+ })
187
+ });
188
+
189
+
190
+
32
191
 
33
192
  const $77857f570335d7ae$var$LOGGER_ENABLE_KEY = '__test_builder_logger_enabled__';
34
193
  const $77857f570335d7ae$var$K6_VERBOSE_LOGS = '_k6_verbose_logs_';
@@ -615,17 +774,22 @@ const $977f5f8f585fbb2c$export$83928dab12a26f6a = {
615
774
  const $977f5f8f585fbb2c$export$bac408da7e039568 = 5242880;
616
775
  const $977f5f8f585fbb2c$export$ac45c55a63dc8871 = 'Options';
617
776
  const $977f5f8f585fbb2c$export$7b20b9dfd8d07602 = `${$977f5f8f585fbb2c$export$ac45c55a63dc8871} & Scenarios`;
777
+ const $977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY = 'https://k6.io';
778
+ // const K6_DOCS_URL = 'https://grafana.com/docs/k6/latest'
779
+ const $977f5f8f585fbb2c$var$GRAFANA_DOCS_URL = 'https://grafana.com/docs/grafana-cloud';
780
+ const $977f5f8f585fbb2c$var$GRAFANA_K6_DOCS_URL = `${$977f5f8f585fbb2c$var$GRAFANA_DOCS_URL}/testing/k6`;
618
781
  const $977f5f8f585fbb2c$export$9ffca73f9b15ba64 = {
619
- thresholds: '/docs/using-k6/thresholds',
620
- 'request-builder': '/docs/test-authoring/test-builder',
621
- 'cloud-logs': '/docs/cloud/analyzing-results/logs',
622
- 'cloud-apm': '/docs/cloud/integrations/cloud-apm',
623
- 'cloud-apm-azure-monitor': '/docs/cloud/integrations/cloud-apm/azure-monitor',
624
- 'cloud-apm-datadog': '/docs/cloud/integrations/cloud-apm/datadog',
625
- 'cloud-apm-grafana-cloud': '/docs/cloud/integrations/cloud-apm/grafana-cloud',
626
- 'cloud-apm-new-relic': '/docs/cloud/integrations/cloud-apm/new-relic',
627
- 'results-visualization/cloud': '/docs/results-visualization/cloud',
628
- 'cloud-tests-from-cli.load-zones': '/docs/cloud/creating-and-running-a-test/cloud-scripting-extras/load-zones'
782
+ thresholds: `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/using-k6/thresholds`,
783
+ 'request-builder': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/test-authoring/test-builder`,
784
+ 'cloud-logs': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/analyzing-results/logs`,
785
+ 'cloud-apm': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/integrations/cloud-apm`,
786
+ 'cloud-apm-azure-monitor': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/integrations/cloud-apm/azure-monitor`,
787
+ 'cloud-apm-datadog': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/integrations/cloud-apm/datadog`,
788
+ 'cloud-apm-grafana-cloud': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/integrations/cloud-apm/grafana-cloud`,
789
+ 'cloud-apm-new-relic': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/cloud/integrations/cloud-apm/new-relic`,
790
+ 'results-visualization/cloud': `${$977f5f8f585fbb2c$var$K6_DOCS_URL_LEGACY}/docs/results-visualization/cloud`,
791
+ 'cloud-tests-from-cli.load-zones': '/docs/cloud/creating-and-running-a-test/cloud-scripting-extras/load-zones',
792
+ vuhs: `${$977f5f8f585fbb2c$var$GRAFANA_K6_DOCS_URL}/author-run/vu-hours`
629
793
  };
630
794
  const $977f5f8f585fbb2c$export$7ff6e792a88a203a = 'grpc_reqs';
631
795
  const $977f5f8f585fbb2c$export$4dafb9ce6095cf07 = 'grpc_req_duration';
@@ -883,7 +1047,6 @@ const $977f5f8f585fbb2c$export$dfc5314d8999a652 = {
883
1047
  };
884
1048
 
885
1049
 
886
- const $a2bbc3b49e805484$var$K6_BASE_URL = 'https://k6.io';
887
1050
  const $a2bbc3b49e805484$var$Link = /*#__PURE__*/ (0, $b7VBt$styledcomponents).a.withConfig({
888
1051
  displayName: "DocsLink__Link",
889
1052
  componentId: "sc-1jtr9q6-0"
@@ -893,175 +1056,15 @@ const $a2bbc3b49e805484$var$Link = /*#__PURE__*/ (0, $b7VBt$styledcomponents).a.
893
1056
  ], ({ theme: theme })=>theme.palette.text.link);
894
1057
  function $a2bbc3b49e805484$export$e816d7af81d48a79({ article: article, children: children }) {
895
1058
  const articlePath = (0, $977f5f8f585fbb2c$export$9ffca73f9b15ba64)[article] || '';
896
- const href = `${$a2bbc3b49e805484$var$K6_BASE_URL}${articlePath}`;
897
1059
  return /*#__PURE__*/ (0, $b7VBt$jsx)($a2bbc3b49e805484$var$Link, {
898
1060
  target: "_blank",
899
- href: href,
1061
+ href: articlePath,
900
1062
  rel: "noreferrer",
901
1063
  children: children
902
1064
  });
903
1065
  }
904
1066
 
905
1067
 
906
-
907
- const $a80b21e889559c22$export$cc0ae9a5c96bcd6f = ()=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
908
- width: 100,
909
- height: 81,
910
- viewBox: "0 0 98 81",
911
- children: /*#__PURE__*/ (0, $b7VBt$jsxs)("g", {
912
- id: "test-buider",
913
- transform: "translate(-.5 -.5)",
914
- children: [
915
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
916
- id: "Path_456",
917
- fill: "#f9f8fc",
918
- d: "M8 8h90v73H8z"
919
- }),
920
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
921
- id: "Path_457",
922
- fill: "#beb9d7",
923
- fillRule: "evenodd",
924
- d: "M7.5 8a.5.5 0 0 1 .5-.5h90a.5.5 0 0 1 .5.5v73a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5zm1 .5v72h89v-72z"
925
- }),
926
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
927
- id: "Path_458",
928
- d: "M91 1H1v73h90V1z",
929
- fill: "#fff"
930
- }),
931
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
932
- id: "Path_459",
933
- d: "M.5 1A.5.5 0 0 1 1 .5h90a.5.5 0 0 1 .5.5v73a.5.5 0 0 1-.5.5H1a.5.5 0 0 1-.5-.5zm1 .5v72h89v-72z",
934
- fillRule: "evenodd",
935
- fill: "#3c3c64"
936
- }),
937
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
938
- id: "Path_460",
939
- d: "M31 33h52v11H31z",
940
- fill: "#fff"
941
- }),
942
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
943
- id: "Path_461",
944
- d: "M82 34H32v9h50zm-51-1v11h52V33z",
945
- fill: "#ece8f1"
946
- }),
947
- /*#__PURE__*/ (0, $b7VBt$jsx)("circle", {
948
- id: "Ellipse_22",
949
- cx: "1.5",
950
- cy: "1.5",
951
- r: "1.5",
952
- fill: "#beb9d7",
953
- transform: "translate(76 37)"
954
- }),
955
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
956
- id: "Path_462",
957
- d: "M35 38.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
958
- fillRule: "evenodd",
959
- fill: "#3c3c64"
960
- }),
961
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
962
- id: "Path_463",
963
- d: "M49 38.25a.75.75 0 0 1 .75-.75h22.5a.75.75 0 0 1 0 1.5h-22.5a.75.75 0 0 1-.75-.75z",
964
- fillRule: "evenodd",
965
- fill: "#3c3c64"
966
- }),
967
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
968
- id: "Path_464",
969
- d: "M31 50h52v11H31z",
970
- fill: "#fff"
971
- }),
972
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
973
- id: "Path_465",
974
- d: "M82 51H32v9h50zm-51-1v11h52V50z",
975
- fill: "#ece8f1"
976
- }),
977
- /*#__PURE__*/ (0, $b7VBt$jsx)("circle", {
978
- id: "Ellipse_23",
979
- cx: "1.5",
980
- cy: "1.5",
981
- r: "1.5",
982
- fill: "#beb9d7",
983
- transform: "translate(76 54)"
984
- }),
985
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
986
- id: "Path_466",
987
- d: "M35 55.25a.75.75 0 0 1 .75-.75h17.5a.75.75 0 0 1 0 1.5h-17.5a.75.75 0 0 1-.75-.75z",
988
- fillRule: "evenodd",
989
- fill: "#3c3c64"
990
- }),
991
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
992
- id: "Path_467",
993
- d: "M57 55.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5h-14.5a.75.75 0 0 1-.75-.75z",
994
- fillRule: "evenodd",
995
- fill: "#3c3c64"
996
- }),
997
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
998
- id: "Rectangle_214",
999
- fill: "#7d64ff",
1000
- d: "M0 0H20V8H0z",
1001
- transform: "translate(31 19)"
1002
- }),
1003
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1004
- id: "Path_468",
1005
- d: "M7 20.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
1006
- fill: "#7d64ff"
1007
- }),
1008
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1009
- id: "Path_469",
1010
- d: "M7 26.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75z",
1011
- fillRule: "evenodd",
1012
- fill: "#3c3c64"
1013
- }),
1014
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1015
- id: "Path_470",
1016
- d: "M7 32.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
1017
- fillRule: "evenodd",
1018
- fill: "#3c3c64"
1019
- }),
1020
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1021
- id: "Path_471",
1022
- d: "M7 38.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
1023
- fill: "#7d64ff"
1024
- }),
1025
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1026
- id: "Path_472",
1027
- d: "M7 44.25a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
1028
- fillRule: "evenodd",
1029
- fill: "#3c3c64"
1030
- }),
1031
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1032
- id: "Path_473",
1033
- d: "M7 50.25a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z",
1034
- fillRule: "evenodd",
1035
- fill: "#3c3c64"
1036
- }),
1037
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1038
- id: "Path_474",
1039
- d: "M7 56.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75z",
1040
- fill: "#7d64ff"
1041
- }),
1042
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1043
- id: "Path_475",
1044
- d: "M7 62.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 0 1.5H7.75a.75.75 0 0 1-.75-.75z",
1045
- fillRule: "evenodd",
1046
- fill: "#3c3c64"
1047
- }),
1048
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1049
- id: "Path_476",
1050
- d: "M8 6a2 2 0 1 1-2-2 2 2 0 0 1 2 2zm7 0a2 2 0 1 1-2-2 2 2 0 0 1 2 2zm5 2a2 2 0 1 0-2-2 2 2 0 0 0 2 2z",
1051
- fillRule: "evenodd",
1052
- fill: "#3c3c64"
1053
- }),
1054
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
1055
- id: "Path_477",
1056
- d: "M.5 11a.5.5 0 0 1 .5-.5h82a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z",
1057
- fillRule: "evenodd",
1058
- fill: "#3c3c64"
1059
- })
1060
- ]
1061
- })
1062
- });
1063
-
1064
-
1065
1068
  const $4cf6d05a57acd1d1$var$defaultContext = {
1066
1069
  ScriptEditorComponent: (0, $b60f5acc8283b9c9$export$32efa5142ae8aa01),
1067
1070
  enableViewLinkHref: true,
@@ -1621,6 +1624,9 @@ function $8497e93aef02a037$export$ae763f5129c1544a(state) {
1621
1624
  function $8497e93aef02a037$export$e6a428d399561b3f(state) {
1622
1625
  return state.ui.hasFractionalVUhResolution;
1623
1626
  }
1627
+ function $8497e93aef02a037$export$3c947cbaab82b2b8(state) {
1628
+ return state.ui.metadata;
1629
+ }
1624
1630
  function $8497e93aef02a037$export$15d5f46743a7d01c(state) {
1625
1631
  return state.ui.availableLoadZones;
1626
1632
  }
@@ -1637,6 +1643,7 @@ function $8497e93aef02a037$export$3eeb5a93131e0579(state) {
1637
1643
  const $7ef4afb8c4d4abe0$export$d4c72bab9d6cc13a = {
1638
1644
  initialized: false,
1639
1645
  advancedOptionsTab: 'headers',
1646
+ metadata: undefined,
1640
1647
  showTestScript: false,
1641
1648
  error: null,
1642
1649
  isLoading: false,
@@ -1703,9 +1710,12 @@ const $7761e2aa524882e4$export$83c693298dde2c4f = (0, $b7VBt$createSlice)({
1703
1710
  setHasCloudExecution (state, action) {
1704
1711
  state.hasCloudExecution = action.payload;
1705
1712
  },
1706
- setHasFractionalVUhResolution (state, action) {
1713
+ /** @deprecated To be replaced by adaptive VUhs */ setHasFractionalVUhResolution (state, action) {
1707
1714
  state.hasFractionalVUhResolution = action.payload;
1708
1715
  },
1716
+ setMetadata (state, action) {
1717
+ state.metadata = action.payload;
1718
+ },
1709
1719
  setAvailableLoadZones (state, action) {
1710
1720
  state.availableLoadZones = action.payload;
1711
1721
  },
@@ -1721,7 +1731,7 @@ const $7761e2aa524882e4$export$95881ffef5b0c248 = $7761e2aa524882e4$export$83c69
1721
1731
  const $7761e2aa524882e4$export$e324594224ef24da = $7761e2aa524882e4$export$83c693298dde2c4f.actions;
1722
1732
 
1723
1733
 
1724
- const { init: $8592aa8dcb3902ac$export$2cd8252107eb640b, setAdvancedOptionsTab: $8592aa8dcb3902ac$export$267d608097309f30, setAvailableLoadZones: $8592aa8dcb3902ac$export$9f9f33201c1586de, setHasCloudExecution: $8592aa8dcb3902ac$export$f89a1b8f393b8bb6, setHasFractionalVUhResolution: $8592aa8dcb3902ac$export$92220e1782a52292, setIsLoading: $8592aa8dcb3902ac$export$9eaa806651dd33f0, setView: $8592aa8dcb3902ac$export$78fa5045d0400717, setIsSaving: $8592aa8dcb3902ac$export$ad10cacbaf4608fe, setShowTestScript: $8592aa8dcb3902ac$export$8fadc49d0b5909c, setUnsavedChanges: $8592aa8dcb3902ac$export$278d42400282afa6 } = (0, $7761e2aa524882e4$export$e324594224ef24da);
1734
+ const { init: $8592aa8dcb3902ac$export$2cd8252107eb640b, setAdvancedOptionsTab: $8592aa8dcb3902ac$export$267d608097309f30, setAvailableLoadZones: $8592aa8dcb3902ac$export$9f9f33201c1586de, setMetadata: $8592aa8dcb3902ac$export$f8685c902e685023, setHasCloudExecution: $8592aa8dcb3902ac$export$f89a1b8f393b8bb6, setHasFractionalVUhResolution: $8592aa8dcb3902ac$export$92220e1782a52292, setIsLoading: $8592aa8dcb3902ac$export$9eaa806651dd33f0, setView: $8592aa8dcb3902ac$export$78fa5045d0400717, setIsSaving: $8592aa8dcb3902ac$export$ad10cacbaf4608fe, setShowTestScript: $8592aa8dcb3902ac$export$8fadc49d0b5909c, setUnsavedChanges: $8592aa8dcb3902ac$export$278d42400282afa6 } = (0, $7761e2aa524882e4$export$e324594224ef24da);
1725
1735
 
1726
1736
 
1727
1737
 
@@ -2232,6 +2242,9 @@ const $f54872b9dc7588c3$export$b3e22bcfd64c1022 = (value, keySelector = (obj)=>o
2232
2242
  function $f54872b9dc7588c3$export$24567f54a9be5ab9(value, precision = 2) {
2233
2243
  return Number(Number(value).toFixed(precision));
2234
2244
  }
2245
+ const $f54872b9dc7588c3$export$c37640da124effef = (num)=>{
2246
+ return $f54872b9dc7588c3$export$24567f54a9be5ab9(num * 100, 0);
2247
+ };
2235
2248
  const $f54872b9dc7588c3$export$19c55c6cefb3b57 = (obj, props)=>{
2236
2249
  return Object.fromEntries(Object.entries(obj).filter(([k])=>props.includes(k)));
2237
2250
  };
@@ -5451,7 +5464,7 @@ function $f33bf9327a1ab3ee$export$9cc0a26cbe829bcb() {
5451
5464
  }
5452
5465
  function $f33bf9327a1ab3ee$export$e3a1a4f1e85dc208() {
5453
5466
  const dispatch = $f33bf9327a1ab3ee$export$371624ce4da5e319();
5454
- const { hasCloudExecution: hasCloudExecution = false, hasFractionalVUhResolution: hasFractionalVUhResolution = false, k6Test: k6Test, availableLoadZones: availableLoadZones = [] } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
5467
+ const { hasCloudExecution: hasCloudExecution = false, hasFractionalVUhResolution: hasFractionalVUhResolution = false, metadata: metadata, k6Test: k6Test, availableLoadZones: availableLoadZones = [] } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
5455
5468
  (0, $b7VBt$useEffect)(()=>{
5456
5469
  dispatch((0, $8592aa8dcb3902ac$export$f89a1b8f393b8bb6)(Boolean(hasCloudExecution)));
5457
5470
  }, [
@@ -5462,7 +5475,13 @@ function $f33bf9327a1ab3ee$export$e3a1a4f1e85dc208() {
5462
5475
  dispatch((0, $8592aa8dcb3902ac$export$92220e1782a52292)(Boolean(hasFractionalVUhResolution)));
5463
5476
  }, [
5464
5477
  dispatch,
5465
- hasFractionalVUhResolution
5478
+ hasFractionalVUhResolution
5479
+ ]);
5480
+ (0, $b7VBt$useEffect)(()=>{
5481
+ dispatch((0, $8592aa8dcb3902ac$export$f8685c902e685023)(metadata));
5482
+ }, [
5483
+ dispatch,
5484
+ metadata
5466
5485
  ]);
5467
5486
  (0, $b7VBt$useEffect)(()=>{
5468
5487
  const { loadZones: loadZones, config: config, thresholds: thresholds, scenarios: scenarios, name: name, id: id } = new (0, $ab0d82593c0c1516$export$1576fc997deee1a4)(k6Test).toObject();
@@ -14788,7 +14807,7 @@ function $59eb99f127c45ea7$export$9bb8a8c9de09825e({ children: children }) {
14788
14807
 
14789
14808
 
14790
14809
 
14791
- function $045b658c7184976c$export$f290710bbb710efa({ loading: loading, saving: saving, k6Test: k6Test, hasCloudExecution: hasCloudExecution, hasFractionalVUhResolution: hasFractionalVUhResolution, availableLoadZones: availableLoadZones = [
14810
+ function $045b658c7184976c$export$f290710bbb710efa({ loading: loading, saving: saving, k6Test: k6Test, metadata: metadata, hasCloudExecution: hasCloudExecution, hasFractionalVUhResolution: hasFractionalVUhResolution, availableLoadZones: availableLoadZones = [
14792
14811
  {
14793
14812
  id: 11,
14794
14813
  available: true,
@@ -14808,6 +14827,7 @@ function $045b658c7184976c$export$f290710bbb710efa({ loading: loading, saving: s
14808
14827
  // create test builder context
14809
14828
  const context = {
14810
14829
  k6Test: k6Test,
14830
+ metadata: metadata,
14811
14831
  hasCloudExecution: hasCloudExecution,
14812
14832
  hasFractionalVUhResolution: hasFractionalVUhResolution,
14813
14833
  availableLoadZones: availableLoadZones,
@@ -15363,6 +15383,9 @@ function $5a0fefad370c8866$export$353d8c4618aae5e2({ loading: loading, saving: s
15363
15383
 
15364
15384
 
15365
15385
 
15386
+
15387
+
15388
+
15366
15389
  const $92a80ae14fece9ea$export$8099ab97743c966c = /*#__PURE__*/ (0, $b7VBt$forwardRef)(({ props: props }, ref)=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
15367
15390
  ref: ref,
15368
15391
  xmlns: "http://www.w3.org/2000/svg",
@@ -15412,6 +15435,76 @@ const $92a80ae14fece9ea$export$8099ab97743c966c = /*#__PURE__*/ (0, $b7VBt$forwa
15412
15435
 
15413
15436
 
15414
15437
 
15438
+ const $ea7e97c068fa75d3$export$8dedaee0e594ee0e = /*#__PURE__*/ (0, $b7VBt$forwardRef)(({ props: props }, ref)=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
15439
+ ref: ref,
15440
+ xmlns: "http://www.w3.org/2000/svg",
15441
+ width: "0.84em",
15442
+ height: "1em",
15443
+ viewBox: "0 0 12.798 15.2",
15444
+ preserveAspectRatio: "xMaxYMax meet",
15445
+ ...props,
15446
+ children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15447
+ id: "pin",
15448
+ transform: "translate(-40.9 .1)",
15449
+ children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15450
+ id: "Group_268",
15451
+ transform: "translate(41)",
15452
+ children: /*#__PURE__*/ (0, $b7VBt$jsxs)("g", {
15453
+ id: "Group_267",
15454
+ children: [
15455
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15456
+ id: "Path_320",
15457
+ d: "M165.125 84.483a.586.586 0 0 0-.157-1.161 1.613 1.613 0 0 1-.215.014 1.582 1.582 0 1 1 1.582-1.582 1.6 1.6 0 0 1-.021.257.586.586 0 1 0 1.157.189 2.751 2.751 0 1 0-2.347 2.283z",
15458
+ stroke: "transparent",
15459
+ strokeWidth: "2px",
15460
+ fill: "currentColor",
15461
+ transform: "translate(-158.455 -76.686)"
15462
+ }),
15463
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15464
+ id: "Path_321",
15465
+ d: "M52.653 376.6a7.1 7.1 0 0 0-1.839-.592.586.586 0 1 0-.233 1.148 3.991 3.991 0 0 1 1.815.671 3.192 3.192 0 0 1-1.466.608 17.874 17.874 0 0 1-7.262 0 3.191 3.191 0 0 1-1.466-.608 3.991 3.991 0 0 1 1.815-.671.586.586 0 1 0-.233-1.148 7.1 7.1 0 0 0-1.839.592 1.443 1.443 0 0 0-.945 1.229c0 .727.708 1.29 2.1 1.672a18.583 18.583 0 0 0 8.389 0c1.4-.383 2.1-.945 2.1-1.672a1.443 1.443 0 0 0-.936-1.229z",
15466
+ stroke: "transparent",
15467
+ strokeWidth: "2px",
15468
+ fill: "currentColor",
15469
+ transform: "translate(-41 -364.981)"
15470
+ }),
15471
+ /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15472
+ id: "Path_322",
15473
+ d: "M87.573 12.383a.586.586 0 0 0 .991 0 15.922 15.922 0 0 1 1.913-2.316C91.8 8.658 93.164 7.2 93.166 5.038a4.983 4.983 0 0 0-1.5-3.575 5.135 5.135 0 0 0-7.181 0A5 5 0 0 0 83 5.04c0 2.166 1.362 3.625 2.677 5.036a16.1 16.1 0 0 1 1.896 2.307zm.5-11.211a3.9 3.9 0 0 1 3.926 3.867c0 1.7-1.1 2.87-2.373 4.227a22.3 22.3 0 0 0-1.553 1.779 22.551 22.551 0 0 0-1.535-1.768c-1.267-1.359-2.36-2.533-2.362-4.237a3.844 3.844 0 0 1 3.892-3.868z",
15474
+ stroke: "transparent",
15475
+ strokeWidth: "2px",
15476
+ fill: "currentColor",
15477
+ transform: "translate(-81.77)"
15478
+ })
15479
+ ]
15480
+ })
15481
+ })
15482
+ })
15483
+ }));
15484
+
15485
+
15486
+
15487
+
15488
+ const $ff01a446e890cae0$export$4202723ba73439f5 = /*#__PURE__*/ (0, $b7VBt$forwardRef)(({ props: props }, ref)=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
15489
+ ref: ref,
15490
+ xmlns: "http://www.w3.org/2000/svg",
15491
+ width: "1em",
15492
+ height: "1em",
15493
+ viewBox: "0 0 11.04 11.041",
15494
+ ...props,
15495
+ children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15496
+ children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15497
+ children: /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15498
+ fill: "currentColor",
15499
+ d: "M11.012 9.461a.431.431 0 1 0-.844.176.451.451 0 0 1-.091.378.438.438 0 0 1-.345.164H1.309a.438.438 0 0 1-.345-.164.451.451 0 0 1-.091-.378 4.765 4.765 0 0 1 4.533-3.774h.229a4.744 4.744 0 0 1 3.832 2.106.431.431 0 1 0 .716-.48A5.61 5.61 0 0 0 7.276 5.28a2.932 2.932 0 1 0-3.51 0A5.609 5.609 0 0 0 .028 9.461a1.31 1.31 0 0 0 1.281 1.58h8.423a1.31 1.31 0 0 0 1.281-1.58zM3.45 2.933A2.07 2.07 0 1 1 5.625 5h-.209A2.073 2.073 0 0 1 3.45 2.933z"
15500
+ })
15501
+ })
15502
+ })
15503
+ }));
15504
+
15505
+
15506
+
15507
+
15415
15508
 
15416
15509
 
15417
15510
 
@@ -15507,74 +15600,45 @@ function $79002af3b59253f5$export$d4e10f46dd803e0a({ loadZones: loadZones = [],
15507
15600
 
15508
15601
 
15509
15602
 
15510
- const $ea7e97c068fa75d3$export$8dedaee0e594ee0e = /*#__PURE__*/ (0, $b7VBt$forwardRef)(({ props: props }, ref)=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
15511
- ref: ref,
15512
- xmlns: "http://www.w3.org/2000/svg",
15513
- width: "0.84em",
15514
- height: "1em",
15515
- viewBox: "0 0 12.798 15.2",
15516
- preserveAspectRatio: "xMaxYMax meet",
15517
- ...props,
15518
- children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15519
- id: "pin",
15520
- transform: "translate(-40.9 .1)",
15521
- children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15522
- id: "Group_268",
15523
- transform: "translate(41)",
15524
- children: /*#__PURE__*/ (0, $b7VBt$jsxs)("g", {
15525
- id: "Group_267",
15526
- children: [
15527
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15528
- id: "Path_320",
15529
- d: "M165.125 84.483a.586.586 0 0 0-.157-1.161 1.613 1.613 0 0 1-.215.014 1.582 1.582 0 1 1 1.582-1.582 1.6 1.6 0 0 1-.021.257.586.586 0 1 0 1.157.189 2.751 2.751 0 1 0-2.347 2.283z",
15530
- stroke: "transparent",
15531
- strokeWidth: "2px",
15532
- fill: "currentColor",
15533
- transform: "translate(-158.455 -76.686)"
15534
- }),
15535
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15536
- id: "Path_321",
15537
- d: "M52.653 376.6a7.1 7.1 0 0 0-1.839-.592.586.586 0 1 0-.233 1.148 3.991 3.991 0 0 1 1.815.671 3.192 3.192 0 0 1-1.466.608 17.874 17.874 0 0 1-7.262 0 3.191 3.191 0 0 1-1.466-.608 3.991 3.991 0 0 1 1.815-.671.586.586 0 1 0-.233-1.148 7.1 7.1 0 0 0-1.839.592 1.443 1.443 0 0 0-.945 1.229c0 .727.708 1.29 2.1 1.672a18.583 18.583 0 0 0 8.389 0c1.4-.383 2.1-.945 2.1-1.672a1.443 1.443 0 0 0-.936-1.229z",
15538
- stroke: "transparent",
15539
- strokeWidth: "2px",
15540
- fill: "currentColor",
15541
- transform: "translate(-41 -364.981)"
15542
- }),
15543
- /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15544
- id: "Path_322",
15545
- d: "M87.573 12.383a.586.586 0 0 0 .991 0 15.922 15.922 0 0 1 1.913-2.316C91.8 8.658 93.164 7.2 93.166 5.038a4.983 4.983 0 0 0-1.5-3.575 5.135 5.135 0 0 0-7.181 0A5 5 0 0 0 83 5.04c0 2.166 1.362 3.625 2.677 5.036a16.1 16.1 0 0 1 1.896 2.307zm.5-11.211a3.9 3.9 0 0 1 3.926 3.867c0 1.7-1.1 2.87-2.373 4.227a22.3 22.3 0 0 0-1.553 1.779 22.551 22.551 0 0 0-1.535-1.768c-1.267-1.359-2.36-2.533-2.362-4.237a3.844 3.844 0 0 1 3.892-3.868z",
15546
- stroke: "transparent",
15547
- strokeWidth: "2px",
15548
- fill: "currentColor",
15549
- transform: "translate(-81.77)"
15550
- })
15551
- ]
15552
- })
15553
- })
15554
- })
15555
- }));
15556
15603
 
15557
15604
 
15605
+ const $176528c97bc34253$export$476179e7d34c5ddb = ()=>{
15606
+ const usedLoadZones = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $27ada388e04e2c5d$export$62a321f0b5eed932));
15607
+ const availableLoadZones = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $8497e93aef02a037$export$15d5f46743a7d01c));
15608
+ return (0, $b7VBt$useMemo)(()=>{
15609
+ return usedLoadZones.map((loadZone)=>{
15610
+ const loadZoneData = availableLoadZones.find((item)=>item.k6_load_zone_id === loadZone.loadZone);
15611
+ if (!loadZoneData) return null;
15612
+ return {
15613
+ ...loadZoneData,
15614
+ distribution: loadZone.percent,
15615
+ countryCode: (0, $f54872b9dc7588c3$export$ea0b53343d95e8c5)(loadZoneData)
15616
+ };
15617
+ }).filter((loadZone)=>loadZone !== null);
15618
+ }, [
15619
+ availableLoadZones,
15620
+ usedLoadZones
15621
+ ]);
15622
+ };
15558
15623
 
15559
15624
 
15560
15625
 
15561
- const $ff01a446e890cae0$export$4202723ba73439f5 = /*#__PURE__*/ (0, $b7VBt$forwardRef)(({ props: props }, ref)=>/*#__PURE__*/ (0, $b7VBt$jsx)("svg", {
15562
- ref: ref,
15563
- xmlns: "http://www.w3.org/2000/svg",
15564
- width: "1em",
15565
- height: "1em",
15566
- viewBox: "0 0 11.04 11.041",
15567
- ...props,
15568
- children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15569
- children: /*#__PURE__*/ (0, $b7VBt$jsx)("g", {
15570
- children: /*#__PURE__*/ (0, $b7VBt$jsx)("path", {
15571
- fill: "currentColor",
15572
- d: "M11.012 9.461a.431.431 0 1 0-.844.176.451.451 0 0 1-.091.378.438.438 0 0 1-.345.164H1.309a.438.438 0 0 1-.345-.164.451.451 0 0 1-.091-.378 4.765 4.765 0 0 1 4.533-3.774h.229a4.744 4.744 0 0 1 3.832 2.106.431.431 0 1 0 .716-.48A5.61 5.61 0 0 0 7.276 5.28a2.932 2.932 0 1 0-3.51 0A5.609 5.609 0 0 0 .028 9.461a1.31 1.31 0 0 0 1.281 1.58h8.423a1.31 1.31 0 0 0 1.281-1.58zM3.45 2.933A2.07 2.07 0 1 1 5.625 5h-.209A2.073 2.073 0 0 1 3.45 2.933z"
15573
- })
15574
- })
15575
- })
15576
- }));
15577
15626
 
15627
+ const $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4 = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
15628
+ displayName: "TestMetaInformationstyles__Group",
15629
+ componentId: "sc-17lkpin-0"
15630
+ })([
15631
+ "display:flex;align-items:center;margin-right:10px;font-size:12px;color:",
15632
+ ";white-space:nowrap;> span{font-weight:600;display:inline-flex;align-items:center;}svg{font-size:13px;color:",
15633
+ ";margin-right:5px;}"
15634
+ ], ({ theme: theme })=>theme.palette.text.primary, ({ theme: theme })=>(0, $b7VBt$alpha1)(theme.palette.text.secondary, 0.5));
15635
+ const $9d9ef6b1aa606543$export$42a852a2b6b56249 = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
15636
+ displayName: "TestMetaInformationstyles__Container",
15637
+ componentId: "sc-17lkpin-1"
15638
+ })([
15639
+ "display:flex;align-items:center;",
15640
+ ":last-child{margin-right:0;}"
15641
+ ], $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4);
15578
15642
 
15579
15643
 
15580
15644
 
@@ -15598,97 +15662,138 @@ const $f90e6ac18264291c$export$1ae172e61ce3735b = /*#__PURE__*/ (0, $b7VBt$forwa
15598
15662
  }));
15599
15663
 
15600
15664
 
15601
- const $600e66eeb9e75faf$var$Group = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
15602
- displayName: "TestMetaInformation__Group",
15603
- componentId: "sc-1iuml17-0"
15604
- })([
15605
- "display:flex;align-items:center;margin-right:10px;font-size:12px;color:",
15606
- ";white-space:nowrap;> span{font-weight:600;display:inline-flex;align-items:center;}svg{font-size:13px;color:",
15607
- ";margin-right:5px;}"
15608
- ], ({ theme: theme })=>theme.palette.text.primary, ({ theme: theme })=>(0, $b7VBt$alpha1)(theme.palette.text.secondary, 0.5));
15609
- const $600e66eeb9e75faf$var$Container = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
15610
- displayName: "TestMetaInformation__Container",
15611
- componentId: "sc-1iuml17-1"
15665
+
15666
+
15667
+
15668
+
15669
+
15670
+ const $7c10312fad43a1ee$export$f4f5234705b8ee7d = ({ vuh: vuh })=>{
15671
+ const { vuh_usage: vuh_usage = 0, vuh_reduction_rate: vuh_reduction_rate = 0 } = vuh || {};
15672
+ const original = (0, $f54872b9dc7588c3$export$24567f54a9be5ab9)(vuh_usage / (1 - vuh_reduction_rate));
15673
+ const discounted = (0, $f54872b9dc7588c3$export$24567f54a9be5ab9)(vuh_usage);
15674
+ const reduction = (0, $f54872b9dc7588c3$export$c37640da124effef)(vuh_reduction_rate);
15675
+ const reductionText = reduction > 0 ? `; however, you were billed ${discounted} VUh due to a ${reduction}% discount applied based on the size of the test.` : '. This test run was not eligible for any discounts.';
15676
+ return /*#__PURE__*/ (0, $b7VBt$jsxs)($7c10312fad43a1ee$var$Container, {
15677
+ children: [
15678
+ /*#__PURE__*/ (0, $b7VBt$jsxs)("span", {
15679
+ children: [
15680
+ "Your test utilized ",
15681
+ original,
15682
+ " Virtual User Hours (VUh)",
15683
+ reductionText
15684
+ ]
15685
+ }),
15686
+ /*#__PURE__*/ (0, $b7VBt$jsx)((0, $a2bbc3b49e805484$export$e816d7af81d48a79), {
15687
+ article: "vuhs",
15688
+ children: "Learn more about VUh"
15689
+ })
15690
+ ]
15691
+ });
15692
+ };
15693
+ const $7c10312fad43a1ee$var$Container = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
15694
+ displayName: "VUhTooltipContent__Container",
15695
+ componentId: "sc-1lz5zhl-0"
15612
15696
  })([
15613
- "display:flex;align-items:center;",
15614
- ":last-child{margin-right:0;}"
15615
- ], $600e66eeb9e75faf$var$Group);
15616
- const $600e66eeb9e75faf$export$93f0f0dfc0a5be37 = ({ className: className })=>{
15617
- const totalTime = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$e73da3986effb0a3));
15618
- const maxVUs = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$b7fc4be04e2b72c4));
15619
- const vuhs = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$e6bea69880c59e62));
15620
- const usedLoadZones = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $27ada388e04e2c5d$export$62a321f0b5eed932));
15621
- const availableLoadZones = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $8497e93aef02a037$export$15d5f46743a7d01c));
15622
- const loadZones = (0, $b7VBt$useMemo)(()=>{
15623
- return usedLoadZones.map((loadZone)=>{
15624
- const loadZoneData = availableLoadZones.find((item)=>item.k6_load_zone_id === loadZone.loadZone);
15625
- if (!loadZoneData) return null;
15626
- return {
15627
- ...loadZoneData,
15628
- distribution: loadZone.percent,
15629
- countryCode: (0, $f54872b9dc7588c3$export$ea0b53343d95e8c5)(loadZoneData)
15630
- };
15631
- }).filter((loadZone)=>loadZone !== null);
15632
- }, [
15633
- availableLoadZones,
15634
- usedLoadZones
15635
- ]);
15636
- const minutes = (0, $b7VBt$useMemo)(()=>{
15637
- const formatted = (0, $f54872b9dc7588c3$export$5a00511f040384d7)(totalTime).split(' ').map((value)=>(0, $f54872b9dc7588c3$export$362b9e721fb12a1b)(parseInt(value)));
15638
- if (formatted.length === 1) return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $b7VBt$Fragment), {
15639
- children: [
15640
- /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15641
- children: formatted
15642
- }),
15643
- "\xa0",
15644
- totalTime >= 60 || totalTime === 0 ? 'min' : 's'
15645
- ]
15646
- });
15647
- const [min, s] = formatted;
15648
- return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $b7VBt$Fragment), {
15697
+ "display:flex;flex-direction:column;gap:12px;"
15698
+ ]);
15699
+
15700
+
15701
+
15702
+ const $d8f115728c3a4b86$export$692b9323eea6a0ee = ()=>{
15703
+ const vuh_usage_legacy = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$e6bea69880c59e62));
15704
+ const metadata = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $8497e93aef02a037$export$3c947cbaab82b2b8));
15705
+ const vuh = metadata === null || metadata === void 0 ? void 0 : metadata.vuh;
15706
+ if (vuh_usage_legacy && !vuh) return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4), {
15707
+ children: [
15708
+ /*#__PURE__*/ (0, $b7VBt$jsx)((0, $f90e6ac18264291c$export$1ae172e61ce3735b), {}),
15709
+ /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15710
+ children: (0, $f54872b9dc7588c3$export$24567f54a9be5ab9)(vuh_usage_legacy)
15711
+ }),
15712
+ "\xa0VUh"
15713
+ ]
15714
+ });
15715
+ if (!(vuh !== null && vuh !== void 0 && vuh.vuh_usage)) return null;
15716
+ return /*#__PURE__*/ (0, $b7VBt$jsx)((0, $b7VBt$Tooltip), {
15717
+ title: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $7c10312fad43a1ee$export$f4f5234705b8ee7d), {
15718
+ vuh: vuh
15719
+ }),
15720
+ interactive: true,
15721
+ children: /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4), {
15649
15722
  children: [
15723
+ /*#__PURE__*/ (0, $b7VBt$jsx)((0, $f90e6ac18264291c$export$1ae172e61ce3735b), {}),
15650
15724
  /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15651
- children: min
15652
- }),
15653
- "min\xa0",
15654
- /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15655
- children: s
15725
+ children: (0, $f54872b9dc7588c3$export$24567f54a9be5ab9)(vuh.vuh_usage)
15656
15726
  }),
15657
- "s"
15727
+ "\xa0VUh"
15658
15728
  ]
15659
- });
15729
+ })
15730
+ });
15731
+ };
15732
+
15733
+
15734
+
15735
+
15736
+
15737
+
15738
+
15739
+ const $1e8b9911c76d0648$export$c57e9b2d8b9e4de = ()=>{
15740
+ const totalTime = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$e73da3986effb0a3));
15741
+ const formatted = (0, $b7VBt$useMemo)(()=>{
15742
+ return (0, $f54872b9dc7588c3$export$5a00511f040384d7)(totalTime).split(' ').map((value)=>(0, $f54872b9dc7588c3$export$362b9e721fb12a1b)(parseInt(value)));
15660
15743
  }, [
15661
15744
  totalTime
15662
15745
  ]);
15746
+ if (formatted.length === 1) return /*#__PURE__*/ (0, $b7VBt$jsxs)("span", {
15747
+ children: [
15748
+ formatted,
15749
+ " ",
15750
+ totalTime >= 60 || totalTime === 0 ? 'min' : 's'
15751
+ ]
15752
+ });
15753
+ const [minutes, seconds] = formatted;
15754
+ return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $b7VBt$Fragment), {
15755
+ children: [
15756
+ /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15757
+ children: minutes
15758
+ }),
15759
+ "min ",
15760
+ /*#__PURE__*/ (0, $b7VBt$jsxs)("span", {
15761
+ children: [
15762
+ seconds,
15763
+ "s"
15764
+ ]
15765
+ })
15766
+ ]
15767
+ });
15768
+ };
15769
+
15770
+
15771
+ const $fcd128185cf5cac5$export$93f0f0dfc0a5be37 = ({ className: className })=>{
15772
+ const maxVUs = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$b7fc4be04e2b72c4));
15773
+ const loadZones = (0, $176528c97bc34253$export$476179e7d34c5ddb)();
15663
15774
  return /*#__PURE__*/ (0, $b7VBt$jsx)((0, $59eb99f127c45ea7$export$9bb8a8c9de09825e), {
15664
- children: /*#__PURE__*/ (0, $b7VBt$jsxs)($600e66eeb9e75faf$var$Container, {
15775
+ children: /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$42a852a2b6b56249), {
15665
15776
  className: className,
15666
15777
  children: [
15667
- /*#__PURE__*/ (0, $b7VBt$jsxs)($600e66eeb9e75faf$var$Group, {
15668
- children: [
15669
- /*#__PURE__*/ (0, $b7VBt$jsx)((0, $f90e6ac18264291c$export$1ae172e61ce3735b), {}),
15670
- /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15671
- children: (0, $f54872b9dc7588c3$export$362b9e721fb12a1b)(vuhs)
15672
- }),
15673
- "\xa0VUh"
15674
- ]
15675
- }),
15676
- /*#__PURE__*/ (0, $b7VBt$jsxs)($600e66eeb9e75faf$var$Group, {
15778
+ /*#__PURE__*/ (0, $b7VBt$jsx)((0, $d8f115728c3a4b86$export$692b9323eea6a0ee), {}),
15779
+ /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4), {
15677
15780
  children: [
15678
15781
  /*#__PURE__*/ (0, $b7VBt$jsx)((0, $ff01a446e890cae0$export$4202723ba73439f5), {}),
15679
- /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
15680
- children: (0, $f54872b9dc7588c3$export$362b9e721fb12a1b)(maxVUs)
15681
- }),
15682
- "\xa0Max VUs"
15782
+ /*#__PURE__*/ (0, $b7VBt$jsxs)("span", {
15783
+ children: [
15784
+ (0, $f54872b9dc7588c3$export$362b9e721fb12a1b)(maxVUs),
15785
+ " Max VUs"
15786
+ ]
15787
+ })
15683
15788
  ]
15684
15789
  }),
15685
- /*#__PURE__*/ (0, $b7VBt$jsxs)($600e66eeb9e75faf$var$Group, {
15790
+ /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4), {
15686
15791
  children: [
15687
15792
  /*#__PURE__*/ (0, $b7VBt$jsx)((0, $92a80ae14fece9ea$export$8099ab97743c966c), {}),
15688
- minutes
15793
+ /*#__PURE__*/ (0, $b7VBt$jsx)((0, $1e8b9911c76d0648$export$c57e9b2d8b9e4de), {})
15689
15794
  ]
15690
15795
  }),
15691
- /*#__PURE__*/ (0, $b7VBt$jsxs)($600e66eeb9e75faf$var$Group, {
15796
+ /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $9d9ef6b1aa606543$export$eb2fcfdbd7ba97d4), {
15692
15797
  children: [
15693
15798
  /*#__PURE__*/ (0, $b7VBt$jsx)((0, $ea7e97c068fa75d3$export$8dedaee0e594ee0e), {}),
15694
15799
  /*#__PURE__*/ (0, $b7VBt$jsx)("span", {
@@ -15709,6 +15814,8 @@ const $600e66eeb9e75faf$export$93f0f0dfc0a5be37 = ({ className: className })=>{
15709
15814
 
15710
15815
 
15711
15816
 
15817
+
15818
+
15712
15819
  const $02bf5baa4df69ce9$export$398e9b43dc594d8e = (level, theme)=>{
15713
15820
  switch(level){
15714
15821
  case 'success':
@@ -16618,4 +16725,4 @@ function $6d29da0c23d05a91$export$5a5fec7b51bf1c65() {
16618
16725
 
16619
16726
 
16620
16727
 
16621
- export {$a180d875ebbc7977$export$68bd654274082695 as IMPORT_ITEMS, $6d29da0c23d05a91$export$5a5fec7b51bf1c65 as useScriptImports, $599049cde64ff282$export$f69e5ec4b4b9cd7f as useTestBuilderName, $1a84ef478f6c7a2c$export$e332dc600b88d679 as getTestBuilderTest, $1a84ef478f6c7a2c$export$a87b1e8d480e0b86 as useGetTestBuilderTest, $9fefb3802c1a6632$export$a8f6042260b6c9c2 as StatusMessage, $1c5dbcfbf6773beb$export$3ae18a2a755cc9c8 as StatusBar, $045b658c7184976c$export$f290710bbb710efa as TestBuilder, $5a0fefad370c8866$export$353d8c4618aae5e2 as SyntheticsBuilder, $600e66eeb9e75faf$export$93f0f0dfc0a5be37 as TestMetaInformation, $59eb99f127c45ea7$export$9bb8a8c9de09825e as TestBuilderStoreProvider, $4cf6d05a57acd1d1$export$10961d9597c38760 as TestBuilderInternalContextProvider, $211a5ec4efef370d$export$35d89f711450937a as convertDurationToSeconds, $211a5ec4efef370d$export$4bba44c8fcc0fa as isDurationValid, $211a5ec4efef370d$export$9427da4570bcea21 as isStageTargetValid, $71c26ded81aa0285$export$e271b69afb17d5a0 as TestBuilderThemeProvider, $1eed075243b73743$export$44518b3b0aec31d as grafanaThemeToMuiTheme, $c0917619c23bad14$export$1d11f73118c5c05d as useGetUnsavedChanges, $977f5f8f585fbb2c$export$9ffca73f9b15ba64 as DOCS_ARTICLE_LINKS};
16728
+ export {$a180d875ebbc7977$export$68bd654274082695 as IMPORT_ITEMS, $6d29da0c23d05a91$export$5a5fec7b51bf1c65 as useScriptImports, $599049cde64ff282$export$f69e5ec4b4b9cd7f as useTestBuilderName, $1a84ef478f6c7a2c$export$e332dc600b88d679 as getTestBuilderTest, $1a84ef478f6c7a2c$export$a87b1e8d480e0b86 as useGetTestBuilderTest, $9fefb3802c1a6632$export$a8f6042260b6c9c2 as StatusMessage, $1c5dbcfbf6773beb$export$3ae18a2a755cc9c8 as StatusBar, $045b658c7184976c$export$f290710bbb710efa as TestBuilder, $5a0fefad370c8866$export$353d8c4618aae5e2 as SyntheticsBuilder, $fcd128185cf5cac5$export$93f0f0dfc0a5be37 as TestMetaInformation, $59eb99f127c45ea7$export$9bb8a8c9de09825e as TestBuilderStoreProvider, $4cf6d05a57acd1d1$export$10961d9597c38760 as TestBuilderInternalContextProvider, $211a5ec4efef370d$export$35d89f711450937a as convertDurationToSeconds, $211a5ec4efef370d$export$4bba44c8fcc0fa as isDurationValid, $211a5ec4efef370d$export$9427da4570bcea21 as isStageTargetValid, $71c26ded81aa0285$export$e271b69afb17d5a0 as TestBuilderThemeProvider, $1eed075243b73743$export$44518b3b0aec31d as grafanaThemeToMuiTheme, $c0917619c23bad14$export$1d11f73118c5c05d as useGetUnsavedChanges, $977f5f8f585fbb2c$export$9ffca73f9b15ba64 as DOCS_ARTICLE_LINKS};