elseware-ui 3.1.1 → 3.2.0

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/index.mjs CHANGED
@@ -16,6 +16,7 @@ import ReactWorldFlags from 'react-world-flags';
16
16
  import emojiFlags from 'emoji-flags';
17
17
  import { ComposableMap, Geographies, Geography, Marker } from 'react-simple-maps';
18
18
  import { BiChevronDown, BiChevronUp, BiSolidLike, BiLike, BiSolidDislike, BiDislike, BiDotsVerticalRounded, BiReply, BiEdit, BiTrash, BiFlag } from 'react-icons/bi/index.js';
19
+ import { FiAlertTriangle, FiActivity, FiCheckCircle, FiServer, FiDatabase, FiClock, FiRefreshCw } from 'react-icons/fi';
19
20
  import CodeMirror from '@uiw/react-codemirror';
20
21
  import { markdown } from '@codemirror/lang-markdown';
21
22
  import { oneDark } from '@codemirror/theme-one-dark';
@@ -4718,7 +4719,7 @@ var init_python = __esm({
4718
4719
  });
4719
4720
 
4720
4721
  // node_modules/refractor/lang/jsx.js
4721
- function jsx226(Prism2) {
4722
+ function jsx227(Prism2) {
4722
4723
  Prism2.register(javascript);
4723
4724
  Prism2.register(markup);
4724
4725
  (function(Prism3) {
@@ -4851,14 +4852,14 @@ var init_jsx = __esm({
4851
4852
  "node_modules/refractor/lang/jsx.js"() {
4852
4853
  init_javascript();
4853
4854
  init_markup();
4854
- jsx226.displayName = "jsx";
4855
- jsx226.aliases = [];
4855
+ jsx227.displayName = "jsx";
4856
+ jsx227.aliases = [];
4856
4857
  }
4857
4858
  });
4858
4859
 
4859
4860
  // node_modules/refractor/lang/tsx.js
4860
4861
  function tsx(Prism2) {
4861
- Prism2.register(jsx226);
4862
+ Prism2.register(jsx227);
4862
4863
  Prism2.register(typescript);
4863
4864
  (function(Prism3) {
4864
4865
  var typescript2 = Prism3.util.clone(Prism3.languages.typescript);
@@ -6173,7 +6174,7 @@ var cardHoverBorderVariants = {
6173
6174
  ["dark" /* dark */]: "hover:border-eui-dark-500"
6174
6175
  };
6175
6176
  var cardBgVariants = {
6176
- ["default" /* default */]: "bg-white/5",
6177
+ ["default" /* default */]: "bg-white/[0.03]",
6177
6178
  ["primary" /* primary */]: "bg-eui-primary-500/10",
6178
6179
  ["secondary" /* secondary */]: "bg-eui-secondary-500/10",
6179
6180
  ["success" /* success */]: "bg-eui-success-500/10",
@@ -13782,13 +13783,13 @@ function Card({
13782
13783
  // default behavior
13783
13784
  }) {
13784
13785
  const eui = useEUIConfig();
13785
- const resolvedShape = shape ?? eui?.config?.global?.shape ?? "softRoundedSquare";
13786
+ const resolvedShape = shape ?? eui?.config?.global?.shape ?? "roundedSquare";
13786
13787
  return /* @__PURE__ */ jsxs(
13787
13788
  "div",
13788
13789
  {
13789
13790
  className: cn(
13790
13791
  // Base
13791
- "relative border backdrop-blur-md transition-all duration-300 overflow-hidden p-3",
13792
+ "relative overflow-hidden border p-4 backdrop-blur-md transition-all duration-300",
13792
13793
  // Shape
13793
13794
  shapes[resolvedShape],
13794
13795
  // Background
@@ -32721,6 +32722,430 @@ function StarRatingDistribution({
32721
32722
  );
32722
32723
  }
32723
32724
  var StarRatingDistribution_default = StarRatingDistribution;
32725
+ var HEALTHY_STATUSES = /* @__PURE__ */ new Set([
32726
+ "ok",
32727
+ "up",
32728
+ "online",
32729
+ "healthy",
32730
+ "success",
32731
+ "operational"
32732
+ ]);
32733
+ var UNHEALTHY_STATUSES = /* @__PURE__ */ new Set([
32734
+ "down",
32735
+ "offline",
32736
+ "unhealthy",
32737
+ "error",
32738
+ "failed",
32739
+ "failure",
32740
+ "unavailable"
32741
+ ]);
32742
+ var isRecord2 = (value) => {
32743
+ return typeof value === "object" && value !== null;
32744
+ };
32745
+ var getField = (value, key) => {
32746
+ if (!isRecord2(value)) {
32747
+ return void 0;
32748
+ }
32749
+ return value[key];
32750
+ };
32751
+ var getStringField = (value, keys2) => {
32752
+ for (const key of keys2) {
32753
+ const field = getField(value, key);
32754
+ if (typeof field === "string" && field.trim()) {
32755
+ return field.trim();
32756
+ }
32757
+ }
32758
+ return "";
32759
+ };
32760
+ var getBooleanField = (value, keys2) => {
32761
+ for (const key of keys2) {
32762
+ const field = getField(value, key);
32763
+ if (typeof field === "boolean") {
32764
+ return field;
32765
+ }
32766
+ }
32767
+ return null;
32768
+ };
32769
+ var getSystemHealthPayload = (data) => {
32770
+ const nestedData = getField(data, "data");
32771
+ return nestedData ?? data ?? null;
32772
+ };
32773
+ var getSystemHealthErrorMessage = (error) => {
32774
+ const nestedData = getField(error, "data");
32775
+ return getStringField(nestedData, ["message", "error"]) || getStringField(error, ["message", "error", "statusText"]) || "Health endpoint did not respond.";
32776
+ };
32777
+ var getSystemHealthHttpStatus = (error) => {
32778
+ const status = getField(error, "status");
32779
+ if (typeof status === "string" || typeof status === "number") {
32780
+ return status;
32781
+ }
32782
+ return "Network error";
32783
+ };
32784
+ var getSystemHealthStatusText = (data) => {
32785
+ const payload = getSystemHealthPayload(data);
32786
+ return (getStringField(payload, ["status", "state", "health"]) || getStringField(data, ["status", "state", "health"])).toLowerCase();
32787
+ };
32788
+ var normalizeSystemHealthState = (status) => {
32789
+ if (!status) {
32790
+ return null;
32791
+ }
32792
+ const normalizedStatus = status.toLowerCase();
32793
+ if (HEALTHY_STATUSES.has(normalizedStatus)) {
32794
+ return "operational";
32795
+ }
32796
+ if (UNHEALTHY_STATUSES.has(normalizedStatus)) {
32797
+ return "unavailable";
32798
+ }
32799
+ if (normalizedStatus === "checking" || normalizedStatus === "loading") {
32800
+ return "checking";
32801
+ }
32802
+ if (normalizedStatus === "reachable") {
32803
+ return "reachable";
32804
+ }
32805
+ return null;
32806
+ };
32807
+ var resolveSystemHealthState = ({
32808
+ data,
32809
+ status,
32810
+ isError,
32811
+ isLoading,
32812
+ isFetching
32813
+ }) => {
32814
+ if (isLoading || isFetching) {
32815
+ return "checking";
32816
+ }
32817
+ if (isError) {
32818
+ return "unavailable";
32819
+ }
32820
+ const normalizedStatus = normalizeSystemHealthState(status) ?? normalizeSystemHealthState(getSystemHealthStatusText(data));
32821
+ if (normalizedStatus) {
32822
+ return normalizedStatus;
32823
+ }
32824
+ const payload = getSystemHealthPayload(data);
32825
+ const healthy = getBooleanField(payload, ["ok", "healthy", "success"]) ?? getBooleanField(data, ["ok", "healthy", "success"]);
32826
+ if (healthy === true) {
32827
+ return "operational";
32828
+ }
32829
+ if (healthy === false) {
32830
+ return "unavailable";
32831
+ }
32832
+ return "reachable";
32833
+ };
32834
+ var resolveSystemHealthView = (input) => {
32835
+ const state = resolveSystemHealthState(input);
32836
+ const viewMap = {
32837
+ checking: {
32838
+ state: "checking",
32839
+ label: "Checking",
32840
+ description: "Request in flight",
32841
+ variant: "info",
32842
+ icon: FiActivity,
32843
+ dotClassName: "bg-eui-info-300",
32844
+ panelClassName: "text-eui-info-200 bg-eui-info-500/10 border-eui-info-400/30"
32845
+ },
32846
+ operational: {
32847
+ state: "operational",
32848
+ label: "Operational",
32849
+ description: "Health endpoint is reporting normally",
32850
+ variant: "success",
32851
+ icon: FiCheckCircle,
32852
+ dotClassName: "bg-eui-success-300",
32853
+ panelClassName: "text-eui-success-200 bg-eui-success-500/10 border-eui-success-400/30"
32854
+ },
32855
+ reachable: {
32856
+ state: "reachable",
32857
+ label: "Reachable",
32858
+ description: getSystemHealthStatusText(input.data) || "Response received",
32859
+ variant: "warning",
32860
+ icon: FiActivity,
32861
+ dotClassName: "bg-eui-warning-300",
32862
+ panelClassName: "text-eui-warning-100 bg-eui-warning-500/10 border-eui-warning-300/30"
32863
+ },
32864
+ unavailable: {
32865
+ state: "unavailable",
32866
+ label: "Unavailable",
32867
+ description: getSystemHealthErrorMessage(input.error),
32868
+ variant: "danger",
32869
+ icon: FiAlertTriangle,
32870
+ dotClassName: "bg-eui-danger-300",
32871
+ panelClassName: "text-eui-danger-200 bg-eui-danger-500/10 border-eui-danger-400/30"
32872
+ }
32873
+ };
32874
+ const view = viewMap[state];
32875
+ return {
32876
+ ...view,
32877
+ label: input.statusLabel ?? view.label,
32878
+ description: input.statusDescription ?? view.description
32879
+ };
32880
+ };
32881
+ var formatSystemHealthTimestamp = (value) => {
32882
+ if (!value) {
32883
+ return "Pending";
32884
+ }
32885
+ if (typeof value === "string") {
32886
+ return value;
32887
+ }
32888
+ const date = value instanceof Date ? value : new Date(value);
32889
+ if (Number.isNaN(date.getTime())) {
32890
+ return "Pending";
32891
+ }
32892
+ return date.toLocaleString();
32893
+ };
32894
+ var stringifySystemHealthPayload = (value, emptyText = "No response payload yet.") => {
32895
+ if (value === null || value === void 0) {
32896
+ return emptyText;
32897
+ }
32898
+ if (typeof value === "string") {
32899
+ return value;
32900
+ }
32901
+ if (value instanceof Error) {
32902
+ return JSON.stringify(
32903
+ {
32904
+ name: value.name,
32905
+ message: value.message,
32906
+ stack: value.stack
32907
+ },
32908
+ null,
32909
+ 2
32910
+ );
32911
+ }
32912
+ try {
32913
+ return JSON.stringify(value, null, 2);
32914
+ } catch {
32915
+ return String(value);
32916
+ }
32917
+ };
32918
+ function MetricItem({ icon, label, value }) {
32919
+ return /* @__PURE__ */ jsx(Card_default, { children: /* @__PURE__ */ jsxs(CardContent_default, { className: "p-0", children: [
32920
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-xs uppercase tracking-wide text-slate-400", children: [
32921
+ icon ? createElement(icon, {
32922
+ className: "text-eui-success-300"
32923
+ }) : null,
32924
+ /* @__PURE__ */ jsx("span", { children: label })
32925
+ ] }),
32926
+ /* @__PURE__ */ jsx("div", { className: "mt-3 break-words text-sm font-medium text-slate-100", children: value ?? "Not available" })
32927
+ ] }) });
32928
+ }
32929
+ function ConnectionItem({ label, value }) {
32930
+ return /* @__PURE__ */ jsxs("div", { children: [
32931
+ /* @__PURE__ */ jsx("dt", { className: "text-slate-500", children: label }),
32932
+ /* @__PURE__ */ jsx("dd", { className: "mt-1 break-words font-medium text-slate-100", children: value ?? "Not available" })
32933
+ ] });
32934
+ }
32935
+ function SystemHealthStatus({
32936
+ eyebrow = "System",
32937
+ title = "System Health",
32938
+ description,
32939
+ data,
32940
+ error,
32941
+ response,
32942
+ status,
32943
+ statusLabel,
32944
+ statusDescription,
32945
+ isError = false,
32946
+ isLoading = false,
32947
+ isFetching = false,
32948
+ serverLabel = "Server",
32949
+ serverUrl,
32950
+ endpointLabel = "Endpoint",
32951
+ endpointPath = "/api/v1/system/health",
32952
+ endpointUrl,
32953
+ environmentLabel = "Environment",
32954
+ environment,
32955
+ lastCheckedLabel = "Last Checked",
32956
+ lastCheckedAt,
32957
+ responseTitle = "Response",
32958
+ responseDescription,
32959
+ emptyResponseText = "No response payload yet.",
32960
+ connectionTitle = "Connection",
32961
+ httpStateLabel = "HTTP state",
32962
+ httpState,
32963
+ pollingLabel = "Polling",
32964
+ pollingValue,
32965
+ clientLabel = "Client",
32966
+ clientName,
32967
+ metrics,
32968
+ connectionItems,
32969
+ refreshLabel = "Refresh health status",
32970
+ onRefresh,
32971
+ contentClassName,
32972
+ heroClassName,
32973
+ metricsClassName,
32974
+ responseClassName,
32975
+ connectionClassName,
32976
+ className,
32977
+ ...rest
32978
+ }) {
32979
+ const view = resolveSystemHealthView({
32980
+ data,
32981
+ error,
32982
+ status,
32983
+ statusLabel,
32984
+ statusDescription,
32985
+ isError,
32986
+ isLoading,
32987
+ isFetching
32988
+ });
32989
+ const StatusIcon = view.icon;
32990
+ const responsePayload = response ?? (isError ? error : getSystemHealthPayload(data));
32991
+ const responseText = stringifySystemHealthPayload(
32992
+ responsePayload,
32993
+ emptyResponseText
32994
+ );
32995
+ const defaultMetrics = [
32996
+ {
32997
+ id: "server",
32998
+ icon: FiServer,
32999
+ label: serverLabel,
33000
+ value: serverUrl
33001
+ },
33002
+ {
33003
+ id: "endpoint",
33004
+ icon: FiDatabase,
33005
+ label: endpointLabel,
33006
+ value: endpointUrl ?? endpointPath
33007
+ },
33008
+ {
33009
+ id: "last-checked",
33010
+ icon: FiClock,
33011
+ label: lastCheckedLabel,
33012
+ value: formatSystemHealthTimestamp(lastCheckedAt)
33013
+ },
33014
+ {
33015
+ id: "environment",
33016
+ icon: FiActivity,
33017
+ label: environmentLabel,
33018
+ value: environment
33019
+ }
33020
+ ];
33021
+ const defaultConnectionItems = [
33022
+ {
33023
+ id: "http-state",
33024
+ label: httpStateLabel,
33025
+ value: httpState ?? (isError ? getSystemHealthHttpStatus(error) : "Connected")
33026
+ },
33027
+ {
33028
+ id: "polling",
33029
+ label: pollingLabel,
33030
+ value: pollingValue
33031
+ },
33032
+ {
33033
+ id: "client",
33034
+ label: clientLabel,
33035
+ value: clientName
33036
+ }
33037
+ ];
33038
+ const visibleMetrics = metrics ?? defaultMetrics;
33039
+ const visibleConnectionItems = connectionItems ?? defaultConnectionItems;
33040
+ const currentResponseDescription = responseDescription ?? (isError ? "Request error" : "Latest payload");
33041
+ const heroDescription = description ?? `Live status from ${endpointPath}`;
33042
+ return /* @__PURE__ */ jsxs(
33043
+ "section",
33044
+ {
33045
+ ...rest,
33046
+ className: cn("min-h-screen bg-[#05070b] text-slate-100", className),
33047
+ children: [
33048
+ /* @__PURE__ */ jsx(
33049
+ "section",
33050
+ {
33051
+ className: cn(
33052
+ "border-b border-white/10",
33053
+ "bg-[radial-gradient(circle_at_top_left,rgba(22,163,74,0.22),transparent_32%),linear-gradient(135deg,rgba(15,23,42,0.96),rgba(2,6,23,0.98))]",
33054
+ heroClassName
33055
+ ),
33056
+ children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex w-full max-w-6xl flex-col gap-8 px-5 py-14 sm:px-8 lg:flex-row lg:items-end lg:justify-between lg:py-20", children: [
33057
+ /* @__PURE__ */ jsxs("div", { className: "max-w-3xl", children: [
33058
+ eyebrow ? /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold uppercase tracking-wide text-eui-success-300", children: eyebrow }) : null,
33059
+ title ? /* @__PURE__ */ jsx("h1", { className: "mt-4 text-4xl font-semibold leading-tight text-white sm:text-5xl", children: title }) : null,
33060
+ heroDescription ? /* @__PURE__ */ jsx("div", { className: "mt-5 max-w-2xl text-base leading-7 text-slate-300", children: heroDescription }) : null
33061
+ ] }),
33062
+ /* @__PURE__ */ jsx(Card_default, { styles: cn("px-5 py-4", view.panelClassName), children: /* @__PURE__ */ jsxs(CardContent_default, { className: "p-0", children: [
33063
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
33064
+ /* @__PURE__ */ jsx(
33065
+ "span",
33066
+ {
33067
+ className: cn("h-2.5 w-2.5 rounded-full", view.dotClassName)
33068
+ }
33069
+ ),
33070
+ /* @__PURE__ */ jsx(StatusIcon, { className: "text-xl" }),
33071
+ /* @__PURE__ */ jsx(
33072
+ Chip,
33073
+ {
33074
+ label: view.label,
33075
+ variant: view.variant,
33076
+ appearance: "ghost",
33077
+ shape: "roundedSquare"
33078
+ }
33079
+ )
33080
+ ] }),
33081
+ /* @__PURE__ */ jsx("div", { className: "mt-2 max-w-xs text-sm opacity-80", children: view.description })
33082
+ ] }) })
33083
+ ] })
33084
+ }
33085
+ ),
33086
+ /* @__PURE__ */ jsxs(
33087
+ "section",
33088
+ {
33089
+ className: cn(
33090
+ "mx-auto w-full max-w-6xl px-5 py-10 sm:px-8",
33091
+ contentClassName
33092
+ ),
33093
+ children: [
33094
+ visibleMetrics.length > 0 ? /* @__PURE__ */ jsx(
33095
+ "div",
33096
+ {
33097
+ className: cn(
33098
+ "grid gap-4 md:grid-cols-2 xl:grid-cols-4",
33099
+ metricsClassName
33100
+ ),
33101
+ children: visibleMetrics.map((metric, index3) => /* @__PURE__ */ jsx(MetricItem, { ...metric }, metric.id ?? index3))
33102
+ }
33103
+ ) : null,
33104
+ /* @__PURE__ */ jsxs("div", { className: "mt-8 grid gap-6 lg:grid-cols-[minmax(0,1fr)_320px]", children: [
33105
+ /* @__PURE__ */ jsx(Card_default, { styles: cn("bg-slate-950/70 p-0", responseClassName), children: /* @__PURE__ */ jsxs(CardContent_default, { className: "p-0", children: [
33106
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 border-b border-white/10 px-5 py-4", children: [
33107
+ /* @__PURE__ */ jsxs("div", { children: [
33108
+ responseTitle ? /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold text-white", children: responseTitle }) : null,
33109
+ currentResponseDescription ? /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-400", children: currentResponseDescription }) : null
33110
+ ] }),
33111
+ onRefresh ? /* @__PURE__ */ jsx(
33112
+ Button_web_default,
33113
+ {
33114
+ icon: /* @__PURE__ */ jsx(
33115
+ FiRefreshCw,
33116
+ {
33117
+ className: isFetching ? "animate-spin" : ""
33118
+ }
33119
+ ),
33120
+ mode: "outlined",
33121
+ variant: "success",
33122
+ shape: "roundedSquare",
33123
+ size: "md",
33124
+ disabled: isFetching,
33125
+ onPress: () => {
33126
+ void onRefresh();
33127
+ },
33128
+ accessibilityLabel: refreshLabel,
33129
+ className: "h-10 w-10",
33130
+ contentClassName: "text-eui-success-200"
33131
+ }
33132
+ ) : null
33133
+ ] }),
33134
+ /* @__PURE__ */ jsx("pre", { className: "max-h-[420px] overflow-auto whitespace-pre-wrap break-words p-5 text-sm leading-6 text-slate-300", children: responseText })
33135
+ ] }) }),
33136
+ /* @__PURE__ */ jsx(Card_default, { styles: cn("p-5", connectionClassName), children: /* @__PURE__ */ jsxs(CardContent_default, { className: "p-0", children: [
33137
+ connectionTitle ? /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold text-white", children: connectionTitle }) : null,
33138
+ visibleConnectionItems.length > 0 ? /* @__PURE__ */ jsx("dl", { className: "mt-5 space-y-4 text-sm", children: visibleConnectionItems.map((item, index3) => /* @__PURE__ */ jsx(ConnectionItem, { ...item }, item.id ?? index3)) }) : null
33139
+ ] }) })
33140
+ ] })
33141
+ ]
33142
+ }
33143
+ )
33144
+ ]
33145
+ }
33146
+ );
33147
+ }
33148
+ var SystemHealthStatus_default = SystemHealthStatus;
32724
33149
  function WorldMapCountryTable({
32725
33150
  title = "Country Breakdown",
32726
33151
  data
@@ -35718,11 +36143,11 @@ function addChildren(props, children3) {
35718
36143
  }
35719
36144
  }
35720
36145
  }
35721
- function productionCreate(_2, jsx265, jsxs130) {
36146
+ function productionCreate(_2, jsx266, jsxs131) {
35722
36147
  return create3;
35723
36148
  function create3(_3, type2, props, key) {
35724
36149
  const isStaticChildren = Array.isArray(props.children);
35725
- const fn = isStaticChildren ? jsxs130 : jsx265;
36150
+ const fn = isStaticChildren ? jsxs131 : jsx266;
35726
36151
  return key ? fn(type2, props, key) : fn(type2, props);
35727
36152
  }
35728
36153
  }
@@ -55943,7 +56368,7 @@ function createChildren2(stylesheet, useInlineStyles) {
55943
56368
  return function(children3) {
55944
56369
  childrenCount += 1;
55945
56370
  return children3.map(function(child, i) {
55946
- return createElement2({
56371
+ return createElement3({
55947
56372
  node: child,
55948
56373
  stylesheet,
55949
56374
  useInlineStyles,
@@ -55952,7 +56377,7 @@ function createChildren2(stylesheet, useInlineStyles) {
55952
56377
  });
55953
56378
  };
55954
56379
  }
55955
- function createElement2(_ref) {
56380
+ function createElement3(_ref) {
55956
56381
  var node2 = _ref.node, stylesheet = _ref.stylesheet, _ref$style = _ref.style, style2 = _ref$style === void 0 ? {} : _ref$style, useInlineStyles = _ref.useInlineStyles, key = _ref.key;
55957
56382
  var properties2 = node2.properties, type2 = node2.type, TagName = node2.tagName, value = node2.value;
55958
56383
  if (type2 === "text") {
@@ -56211,7 +56636,7 @@ function processLines(codeTree, wrapLines, lineProps, showLineNumbers, showInlin
56211
56636
  function defaultRenderer(_ref5) {
56212
56637
  var rows = _ref5.rows, stylesheet = _ref5.stylesheet, useInlineStyles = _ref5.useInlineStyles;
56213
56638
  return rows.map(function(node2, i) {
56214
- return createElement2({
56639
+ return createElement3({
56215
56640
  node: node2,
56216
56641
  stylesheet,
56217
56642
  useInlineStyles,
@@ -56641,7 +57066,7 @@ var json_default = json;
56641
57066
 
56642
57067
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
56643
57068
  init_jsx();
56644
- var jsx_default = jsx226;
57069
+ var jsx_default = jsx227;
56645
57070
 
56646
57071
  // node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
56647
57072
  init_markup();
@@ -59387,6 +59812,6 @@ function ScrollToTop({
59387
59812
  }
59388
59813
  var ScrollToTop_default = ScrollToTop;
59389
59814
 
59390
- export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterBottom, FooterBrand, FooterColumn, FooterColumns, FooterDescription, FooterLink, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, FooterSocial, FooterSocials, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_web_default as ImageInput, ImageView, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, SiteFooter2 as SiteFooter, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, extractTextColorClasses, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
59815
+ export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterBottom, FooterBrand, FooterColumn, FooterColumns, FooterDescription, FooterLink, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, FooterSocial, FooterSocials, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_web_default as ImageInput, ImageView, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, SiteFooter2 as SiteFooter, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, SystemHealthStatus_default as SystemHealthStatus, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, extractTextColorClasses, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, formatSystemHealthTimestamp, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getSystemHealthErrorMessage, getSystemHealthHttpStatus, getSystemHealthPayload, getSystemHealthStatusText, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, normalizeSystemHealthState, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveSystemHealthState, resolveSystemHealthView, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, stringifySystemHealthPayload, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
59391
59816
  //# sourceMappingURL=index.mjs.map
59392
59817
  //# sourceMappingURL=index.mjs.map