@xyo-network/react-shared 7.4.1 → 7.5.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.
Files changed (32) hide show
  1. package/dist/browser/components/BasicHero/BasicHero.stories.d.ts +2 -2
  2. package/dist/browser/components/BasicHero/BasicHero.stories.d.ts.map +1 -1
  3. package/dist/browser/components/LoadResult.stories.d.ts +4 -4
  4. package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.stories.d.ts +1 -1
  5. package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.stories.d.ts.map +1 -1
  6. package/dist/browser/components/StyleGuide/StyleGuide.stories.d.ts +1 -1
  7. package/dist/browser/components/StyleGuide/StyleGuide.stories.d.ts.map +1 -1
  8. package/dist/browser/components/TableCell/EllipsizeTableCell.stories.d.ts +3 -3
  9. package/dist/browser/components/TableCell/EllipsizeTableCell.stories.d.ts.map +1 -1
  10. package/dist/browser/components/TableCell/HashTableCell.d.ts +1 -1
  11. package/dist/browser/components/TableCell/HashTableCell.d.ts.map +1 -1
  12. package/dist/browser/components/ThemeTokenAvatar/ThemeTokenAvatar.stories.d.ts +1 -1
  13. package/dist/browser/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.stories.d.ts +1 -1
  14. package/dist/browser/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.stories.d.ts.map +1 -1
  15. package/dist/browser/components/TokenBar/TokenBar.stories.d.ts +2 -2
  16. package/dist/browser/components/TokenBar/TokenBar.stories.d.ts.map +1 -1
  17. package/dist/browser/components/TokenSummary/TokenSummary.stories.d.ts +2 -2
  18. package/dist/browser/components/TokenSummary/TokenSummary.stories.d.ts.map +1 -1
  19. package/dist/browser/components/bigint/Input.stories.d.ts +5 -5
  20. package/dist/browser/components/bigint/Input.stories.d.ts.map +1 -1
  21. package/dist/browser/components/bigint/TextField.d.ts +3 -3
  22. package/dist/browser/components/bigint/TextField.d.ts.map +1 -1
  23. package/dist/browser/hooks/GradientStyles/GradientStyle.stories.d.ts +1 -1
  24. package/dist/browser/hooks/GradientStyles/GradientStyle.stories.d.ts.map +1 -1
  25. package/dist/browser/hooks/payload/usePayloadHash.d.ts +4 -5
  26. package/dist/browser/hooks/payload/usePayloadHash.d.ts.map +1 -1
  27. package/dist/browser/index.mjs +591 -628
  28. package/dist/browser/index.mjs.map +1 -1
  29. package/package.json +33 -33
  30. package/src/components/TableCell/HashTableCell.tsx +1 -1
  31. package/src/components/bigint/TextField.tsx +5 -3
  32. package/src/hooks/payload/usePayloadHash.tsx +1 -1
@@ -1,27 +1,32 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
1
4
  // src/components/Ampersand.tsx
2
5
  import { Typography } from "@mui/material";
3
- import { jsx } from "react/jsx-runtime";
4
- var Ampersand = (props) => {
5
- return /* @__PURE__ */ jsx(Typography, { marginX: 1, component: "span", ...props, children: "&" });
6
- };
6
+ import React from "react";
7
+ var Ampersand = /* @__PURE__ */ __name((props) => {
8
+ return /* @__PURE__ */ React.createElement(Typography, {
9
+ marginX: 1,
10
+ component: "span",
11
+ ...props
12
+ }, "&");
13
+ }, "Ampersand");
7
14
 
8
15
  // src/components/BasicHero/BasicHero.tsx
9
- import {
10
- Container,
11
- Grid,
12
- styled,
13
- Typography as Typography2
14
- } from "@mui/material";
16
+ import { Container, Grid, styled, Typography as Typography2 } from "@mui/material";
15
17
  import { ButtonEx } from "@xylabs/react-button";
16
18
  import { FlexGrowCol, FlexGrowRow } from "@xylabs/react-flexbox";
17
19
  import { LinkEx } from "@xylabs/react-link";
18
20
  import { useIsSmall } from "@xylabs/react-theme";
21
+ import React2 from "react";
19
22
 
20
23
  // src/hooks/GradientStyles/GradientStyles.tsx
21
24
  import { useIsDark } from "@xylabs/react-theme";
22
- var colorfulGradientLightMode = () => {
25
+ var colorfulGradientLightMode = /* @__PURE__ */ __name(() => {
23
26
  return {
24
- background: { backgroundImage: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)" },
27
+ background: {
28
+ backgroundImage: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)"
29
+ },
25
30
  border: {
26
31
  borderImage: "-webkit-linear-gradient(232deg, #e17751, #d84e7a, #5898dd, #8c8ee5)",
27
32
  borderImageSlice: 1,
@@ -37,10 +42,12 @@ var colorfulGradientLightMode = () => {
37
42
  display: "inline-block"
38
43
  }
39
44
  };
40
- };
41
- var colorfulGradientDarkMode = () => {
45
+ }, "colorfulGradientLightMode");
46
+ var colorfulGradientDarkMode = /* @__PURE__ */ __name(() => {
42
47
  return {
43
- background: { backgroundImage: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)" },
48
+ background: {
49
+ backgroundImage: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)"
50
+ },
44
51
  border: {
45
52
  borderImage: "-webkit-linear-gradient(232deg, #F17938, #FF5BDC, #5898dd, #B2FFFD)",
46
53
  borderImageSlice: 1,
@@ -56,19 +63,19 @@ var colorfulGradientDarkMode = () => {
56
63
  display: "inline-block"
57
64
  }
58
65
  };
59
- };
60
- var useGradientStyles = () => {
66
+ }, "colorfulGradientDarkMode");
67
+ var useGradientStyles = /* @__PURE__ */ __name(() => {
61
68
  const dark = useIsDark();
62
69
  const styles = dark ? colorfulGradientDarkMode() : colorfulGradientLightMode();
63
70
  return styles;
64
- };
71
+ }, "useGradientStyles");
65
72
 
66
73
  // src/hooks/payload/useBoundWitnessValidate.tsx
67
74
  import { assertEx } from "@xylabs/assert";
68
75
  import { usePromise } from "@xylabs/react-promise";
69
76
  import { BoundWitnessValidator } from "@xyo-network/boundwitness-validator";
70
77
  import { isAnyPayload } from "@xyo-network/payload-model";
71
- var useValidateBoundWitness = (input) => {
78
+ var useValidateBoundWitness = /* @__PURE__ */ __name((input) => {
72
79
  const [output, validationError] = usePromise(async () => {
73
80
  if (!input) return;
74
81
  const object = JSON.parse(input);
@@ -78,58 +85,79 @@ var useValidateBoundWitness = (input) => {
78
85
  payload: validPayload,
79
86
  errors: errors2
80
87
  };
81
- }, [input]);
88
+ }, [
89
+ input
90
+ ]);
82
91
  const { payload, errors } = output ?? {};
83
92
  return {
84
93
  payload,
85
- errors: [validationError, ...errors ?? []].filter((error) => !!error)
94
+ errors: [
95
+ validationError,
96
+ ...errors ?? []
97
+ ].filter((error) => !!error)
86
98
  };
87
- };
99
+ }, "useValidateBoundWitness");
88
100
 
89
101
  // src/hooks/payload/usePayloadHash.tsx
90
102
  import { usePromise as usePromise2 } from "@xylabs/react-promise";
91
103
  import { PayloadBuilder } from "@xyo-network/payload-builder";
92
- var usePayloadHash = (payload) => {
104
+ var usePayloadHash = /* @__PURE__ */ __name((payload) => {
93
105
  return usePayloadRootHash(payload);
94
- };
95
- var usePayloadDataHash = (payload) => {
96
- return usePromise2(async () => payload ? await PayloadBuilder.dataHash(payload) : void 0, [payload])[0];
97
- };
98
- var usePayloadRootHash = (payload) => {
99
- return usePromise2(async () => payload ? await PayloadBuilder.hash(payload) : void 0, [payload])[0];
100
- };
101
- var usePayloadHashes = (payloads) => {
102
- return usePromise2(
103
- async () => payloads ? await Promise.all(payloads.map(async (payload) => [payload, await PayloadBuilder.dataHash(payload)])) : void 0,
104
- [payloads]
105
- )[0];
106
- };
106
+ }, "usePayloadHash");
107
+ var usePayloadDataHash = /* @__PURE__ */ __name((payload) => {
108
+ return usePromise2(async () => payload ? await PayloadBuilder.dataHash(payload) : void 0, [
109
+ payload
110
+ ])[0];
111
+ }, "usePayloadDataHash");
112
+ var usePayloadRootHash = /* @__PURE__ */ __name((payload) => {
113
+ return usePromise2(async () => payload ? await PayloadBuilder.hash(payload) : void 0, [
114
+ payload
115
+ ])[0];
116
+ }, "usePayloadRootHash");
117
+ var usePayloadHashes = /* @__PURE__ */ __name((payloads) => {
118
+ return usePromise2(async () => payloads ? await Promise.all(payloads.map(async (payload) => [
119
+ payload,
120
+ await PayloadBuilder.dataHash(payload)
121
+ ])) : void 0, [
122
+ payloads
123
+ ])[0];
124
+ }, "usePayloadHashes");
107
125
 
108
126
  // src/hooks/payload/usePayloadValidate.tsx
109
127
  import { assertEx as assertEx2 } from "@xylabs/assert";
110
128
  import { PayloadBuilder as PayloadBuilder2 } from "@xyo-network/payload-builder";
111
129
  import { isAnyPayload as isAnyPayload2 } from "@xyo-network/payload-model";
112
130
  import { useMemo } from "react";
113
- var usePayloadValidate = (input) => {
131
+ var usePayloadValidate = /* @__PURE__ */ __name((input) => {
114
132
  return useMemo(() => {
115
133
  if (!input) return {};
116
134
  try {
117
135
  const object = JSON.parse(input);
118
136
  const validPayload = assertEx2(isAnyPayload2(object) ? object : null, () => "Invalid payload");
119
137
  const { schema, ...fields } = validPayload;
120
- const payload = new PayloadBuilder2({ schema }).fields(fields).build();
121
- return { payload };
138
+ const payload = new PayloadBuilder2({
139
+ schema
140
+ }).fields(fields).build();
141
+ return {
142
+ payload
143
+ };
122
144
  } catch (error) {
123
- return { errors: [error] };
145
+ return {
146
+ errors: [
147
+ error
148
+ ]
149
+ };
124
150
  }
125
- }, [input]);
126
- };
151
+ }, [
152
+ input
153
+ ]);
154
+ }, "usePayloadValidate");
127
155
 
128
156
  // src/hooks/useDataState.ts
129
157
  import { useState } from "react";
130
- var useDataState = (defaultValue) => {
158
+ var useDataState = /* @__PURE__ */ __name((defaultValue) => {
131
159
  const [state, setState] = useState(defaultValue);
132
- const setDataState = (value) => {
160
+ const setDataState = /* @__PURE__ */ __name((value) => {
133
161
  try {
134
162
  if (JSON.stringify(value) !== JSON.stringify(state)) {
135
163
  setState(value);
@@ -137,16 +165,19 @@ var useDataState = (defaultValue) => {
137
165
  } catch {
138
166
  console.error("setDataState failed! Make sure data type is stringifiable!");
139
167
  }
140
- };
141
- return [state, setDataState];
142
- };
168
+ }, "setDataState");
169
+ return [
170
+ state,
171
+ setDataState
172
+ ];
173
+ }, "useDataState");
143
174
 
144
175
  // src/hooks/useMediaQuery.ts
145
176
  import { useMediaQuery } from "@mui/material";
146
177
 
147
178
  // src/hooks/useShareForwardRef.ts
148
179
  import { useEffect, useRef } from "react";
149
- var useShareForwardedRef = (forwardedRef, refresh = 0) => {
180
+ var useShareForwardedRef = /* @__PURE__ */ __name((forwardedRef, refresh = 0) => {
150
181
  const innerRef = useRef(null);
151
182
  useEffect(() => {
152
183
  if (!forwardedRef) {
@@ -157,329 +188,283 @@ var useShareForwardedRef = (forwardedRef, refresh = 0) => {
157
188
  } else {
158
189
  forwardedRef.current = innerRef.current;
159
190
  }
160
- }, [forwardedRef, refresh]);
191
+ }, [
192
+ forwardedRef,
193
+ refresh
194
+ ]);
161
195
  return innerRef;
162
- };
196
+ }, "useShareForwardedRef");
163
197
 
164
198
  // src/components/BasicHero/BasicHero.tsx
165
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
166
- var SubLinkSection = ({
167
- backgroundImageAlignment,
168
- subLinkIcon,
169
- subLinkPath,
170
- subLinkText1,
171
- subLinkText2
172
- }) => {
173
- return /* @__PURE__ */ jsxs(
174
- FlexGrowRow,
175
- {
176
- width: "100%",
177
- sx: {
178
- flexDirection: { md: "row", xs: "column" },
179
- justifyContent: { md: backgroundImageAlignment ? "flex-start" : "center", xs: "center" }
199
+ var SubLinkSection = /* @__PURE__ */ __name(({ backgroundImageAlignment, subLinkIcon, subLinkPath, subLinkText1, subLinkText2 }) => {
200
+ return /* @__PURE__ */ React2.createElement(FlexGrowRow, {
201
+ width: "100%",
202
+ sx: {
203
+ flexDirection: {
204
+ md: "row",
205
+ xs: "column"
180
206
  },
181
- children: [
182
- subLinkIcon ? /* @__PURE__ */ jsxs("span", { children: [
183
- subLinkIcon,
184
- "\xA0"
185
- ] }) : null,
186
- /* @__PURE__ */ jsxs(Typography2, { children: [
187
- subLinkText1,
188
- "\xA0"
189
- ] }),
190
- /* @__PURE__ */ jsx2(LinkEx, { href: subLinkPath, underline: "always", target: "_blank", color: "inherit", children: /* @__PURE__ */ jsx2(Typography2, { children: subLinkText2 }) })
191
- ]
207
+ justifyContent: {
208
+ md: backgroundImageAlignment ? "flex-start" : "center",
209
+ xs: "center"
210
+ }
192
211
  }
193
- );
194
- };
195
- var ButtonSection = ({
196
- href,
197
- to,
198
- buttonText
199
- }) => {
212
+ }, subLinkIcon ? /* @__PURE__ */ React2.createElement("span", null, subLinkIcon, "\xA0") : null, /* @__PURE__ */ React2.createElement(Typography2, null, subLinkText1, "\xA0"), /* @__PURE__ */ React2.createElement(LinkEx, {
213
+ href: subLinkPath,
214
+ underline: "always",
215
+ target: "_blank",
216
+ color: "inherit"
217
+ }, /* @__PURE__ */ React2.createElement(Typography2, null, subLinkText2)));
218
+ }, "SubLinkSection");
219
+ var ButtonSection = /* @__PURE__ */ __name(({ href, to, buttonText }) => {
200
220
  const isMobile = useIsSmall();
201
- return href ? /* @__PURE__ */ jsx2(
202
- ButtonEx,
203
- {
204
- fullWidth: true,
205
- marginTop: 1,
206
- marginBottom: 1,
207
- marginRight: isMobile ? 2 : 1,
208
- marginLeft: isMobile ? 2 : 0,
209
- target: href ?? "_blank",
210
- href,
211
- color: "primary",
212
- variant: "contained",
213
- paddingX: 3,
214
- sx: { display: href || to ? "flex" : "none" },
215
- children: buttonText
221
+ return href ? /* @__PURE__ */ React2.createElement(ButtonEx, {
222
+ fullWidth: true,
223
+ marginTop: 1,
224
+ marginBottom: 1,
225
+ marginRight: isMobile ? 2 : 1,
226
+ marginLeft: isMobile ? 2 : 0,
227
+ target: href ?? "_blank",
228
+ href,
229
+ color: "primary",
230
+ variant: "contained",
231
+ paddingX: 3,
232
+ sx: {
233
+ display: href || to ? "flex" : "none"
216
234
  }
217
- ) : to ? /* @__PURE__ */ jsx2(
218
- ButtonEx,
219
- {
220
- fullWidth: true,
221
- marginTop: 1,
222
- marginBottom: 1,
223
- marginRight: isMobile ? 2 : 1,
224
- marginLeft: isMobile ? 2 : 0,
225
- to,
226
- color: "primary",
227
- variant: "contained",
228
- paddingX: 3,
229
- sx: { display: href || to ? "flex" : "none" },
230
- children: buttonText
235
+ }, buttonText) : to ? /* @__PURE__ */ React2.createElement(ButtonEx, {
236
+ fullWidth: true,
237
+ marginTop: 1,
238
+ marginBottom: 1,
239
+ marginRight: isMobile ? 2 : 1,
240
+ marginLeft: isMobile ? 2 : 0,
241
+ to,
242
+ color: "primary",
243
+ variant: "contained",
244
+ paddingX: 3,
245
+ sx: {
246
+ display: href || to ? "flex" : "none"
231
247
  }
232
- ) : /* @__PURE__ */ jsx2(
233
- ButtonEx,
234
- {
235
- fullWidth: true,
236
- marginTop: 1,
237
- marginBottom: 1,
238
- marginRight: isMobile ? 2 : 1,
239
- marginLeft: isMobile ? 2 : 0,
240
- color: "primary",
241
- variant: "contained",
242
- paddingX: 3,
243
- sx: { display: href || to ? "flex" : "none" },
244
- children: buttonText
248
+ }, buttonText) : /* @__PURE__ */ React2.createElement(ButtonEx, {
249
+ fullWidth: true,
250
+ marginTop: 1,
251
+ marginBottom: 1,
252
+ marginRight: isMobile ? 2 : 1,
253
+ marginLeft: isMobile ? 2 : 0,
254
+ color: "primary",
255
+ variant: "contained",
256
+ paddingX: 3,
257
+ sx: {
258
+ display: href || to ? "flex" : "none"
245
259
  }
246
- );
247
- };
248
- var BasicHero = ({
249
- backgroundImage,
250
- title,
251
- gradientTitle,
252
- backgroundColor,
253
- textColor,
254
- desc,
255
- heroImage,
256
- title2,
257
- subLinkText1,
258
- subLinkText2,
259
- subLinkPath,
260
- button1Text,
261
- button2Text,
262
- button2To,
263
- button1To,
264
- button2Href,
265
- button1Href,
266
- subLinkIcon,
267
- sx,
268
- ...props
269
- // eslint-disable-next-line complexity
270
- }) => {
260
+ }, buttonText);
261
+ }, "ButtonSection");
262
+ var BasicHero = /* @__PURE__ */ __name(({ backgroundImage, title, gradientTitle, backgroundColor, textColor, desc, heroImage, title2, subLinkText1, subLinkText2, subLinkPath, button1Text, button2Text, button2To, button1To, button2Href, button1Href, subLinkIcon, sx, ...props }) => {
271
263
  const isMobile = useIsSmall();
272
264
  const styles = useGradientStyles();
273
- const StyledSpan = styled("span")({ ...styles.heading });
274
- return /* @__PURE__ */ jsx2(
275
- FlexGrowCol,
276
- {
277
- sx: {
278
- backgroundImage: `url(${backgroundImage})`,
279
- backgroundPosition: {
280
- lg: "bottom",
281
- md: "center left",
282
- xs: "top left"
283
- },
284
- minHeight: {
285
- md: "500px",
286
- sm: "400px",
287
- xs: "200px"
288
- },
289
- ...sx
265
+ const StyledSpan = styled("span")({
266
+ ...styles.heading
267
+ });
268
+ return /* @__PURE__ */ React2.createElement(FlexGrowCol, {
269
+ sx: {
270
+ backgroundImage: `url(${backgroundImage})`,
271
+ backgroundPosition: {
272
+ lg: "bottom",
273
+ md: "center left",
274
+ xs: "top left"
290
275
  },
291
- style: {
292
- backgroundColor: backgroundColor ?? "",
293
- backgroundRepeat: "no-repeat",
294
- backgroundSize: "cover",
295
- color: textColor ?? ""
276
+ minHeight: {
277
+ md: "500px",
278
+ sm: "400px",
279
+ xs: "200px"
296
280
  },
297
- ...props,
298
- children: /* @__PURE__ */ jsx2(Container, { children: /* @__PURE__ */ jsxs(
299
- Grid,
300
- {
301
- container: true,
302
- justifyContent: "center",
303
- alignItems: "center",
304
- sx: {
305
- alignItems: { xs: "center" },
306
- justifyContent: { xs: "center" }
307
- },
308
- children: [
309
- /* @__PURE__ */ jsx2(
310
- Grid,
311
- {
312
- size: {
313
- xs: 12,
314
- sm: 8,
315
- md: backgroundImage ? 6 : 8,
316
- lg: backgroundImage ? 6 : 8
317
- },
318
- children: /* @__PURE__ */ jsxs(FlexGrowCol, { paddingY: 2, sx: { alignItems: { xs: backgroundImage && !isMobile ? "flex-start" : "center" } }, children: [
319
- /* @__PURE__ */ jsxs(Typography2, { variant: "h1", component: "h1", gutterBottom: true, textAlign: backgroundImage && !isMobile ? "left" : "center", children: [
320
- title ? /* @__PURE__ */ jsx2("span", { children: `${title} ` }) : null,
321
- gradientTitle ? /* @__PURE__ */ jsxs(StyledSpan, { children: [
322
- " ",
323
- ` ${gradientTitle}`
324
- ] }) : null,
325
- title2 ? /* @__PURE__ */ jsx2("span", { children: ` ${title2}` }) : null
326
- ] }),
327
- /* @__PURE__ */ jsx2(Typography2, { variant: "body1", component: "h2", gutterBottom: true, textAlign: backgroundImage && !isMobile ? "left" : "center", children: desc }),
328
- /* @__PURE__ */ jsxs(
329
- FlexGrowRow,
330
- {
331
- sx: { flexDirection: { lg: "row", xs: "column" } },
332
- width: "100%",
333
- marginTop: 1,
334
- children: [
335
- button1Href ? /* @__PURE__ */ jsx2(ButtonSection, { href: button1Href, buttonText: button1Text }) : button1To ? /* @__PURE__ */ jsx2(ButtonSection, { to: button1To, buttonText: button1Text }) : /* @__PURE__ */ jsx2(ButtonSection, { buttonText: button1Text }),
336
- button2Href ? /* @__PURE__ */ jsx2(ButtonSection, { href: button2Href, buttonText: button2Text }) : button2To ? /* @__PURE__ */ jsx2(ButtonSection, { to: button2To, buttonText: button2Text }) : /* @__PURE__ */ jsx2(ButtonSection, { buttonText: button2Text })
337
- ]
338
- }
339
- ),
340
- /* @__PURE__ */ jsx2(
341
- SubLinkSection,
342
- {
343
- subLinkIcon,
344
- subLinkText1,
345
- subLinkText2,
346
- subLinkPath,
347
- backgroundImageAlignment: backgroundImage ? true : false
348
- }
349
- )
350
- ] })
351
- }
352
- ),
353
- /* @__PURE__ */ jsx2(Grid, { size: { xs: 12, md: 6 }, children: heroImage ? /* @__PURE__ */ jsx2("img", { src: heroImage, width: "100%" }) : null })
354
- ]
355
- }
356
- ) })
281
+ ...sx
282
+ },
283
+ style: {
284
+ backgroundColor: backgroundColor ?? "",
285
+ backgroundRepeat: "no-repeat",
286
+ backgroundSize: "cover",
287
+ color: textColor ?? ""
288
+ },
289
+ ...props
290
+ }, /* @__PURE__ */ React2.createElement(Container, null, /* @__PURE__ */ React2.createElement(Grid, {
291
+ container: true,
292
+ justifyContent: "center",
293
+ alignItems: "center",
294
+ sx: {
295
+ alignItems: {
296
+ xs: "center"
297
+ },
298
+ justifyContent: {
299
+ xs: "center"
300
+ }
357
301
  }
358
- );
359
- };
302
+ }, /* @__PURE__ */ React2.createElement(Grid, {
303
+ size: {
304
+ xs: 12,
305
+ sm: 8,
306
+ md: backgroundImage ? 6 : 8,
307
+ lg: backgroundImage ? 6 : 8
308
+ }
309
+ }, /* @__PURE__ */ React2.createElement(FlexGrowCol, {
310
+ paddingY: 2,
311
+ sx: {
312
+ alignItems: {
313
+ xs: backgroundImage && !isMobile ? "flex-start" : "center"
314
+ }
315
+ }
316
+ }, /* @__PURE__ */ React2.createElement(Typography2, {
317
+ variant: "h1",
318
+ component: "h1",
319
+ gutterBottom: true,
320
+ textAlign: backgroundImage && !isMobile ? "left" : "center"
321
+ }, title ? /* @__PURE__ */ React2.createElement("span", null, `${title} `) : null, gradientTitle ? /* @__PURE__ */ React2.createElement(StyledSpan, null, " ", ` ${gradientTitle}`) : null, title2 ? /* @__PURE__ */ React2.createElement("span", null, ` ${title2}`) : null), /* @__PURE__ */ React2.createElement(Typography2, {
322
+ variant: "body1",
323
+ component: "h2",
324
+ gutterBottom: true,
325
+ textAlign: backgroundImage && !isMobile ? "left" : "center"
326
+ }, desc), /* @__PURE__ */ React2.createElement(FlexGrowRow, {
327
+ sx: {
328
+ flexDirection: {
329
+ lg: "row",
330
+ xs: "column"
331
+ }
332
+ },
333
+ width: "100%",
334
+ marginTop: 1
335
+ }, button1Href ? /* @__PURE__ */ React2.createElement(ButtonSection, {
336
+ href: button1Href,
337
+ buttonText: button1Text
338
+ }) : button1To ? /* @__PURE__ */ React2.createElement(ButtonSection, {
339
+ to: button1To,
340
+ buttonText: button1Text
341
+ }) : /* @__PURE__ */ React2.createElement(ButtonSection, {
342
+ buttonText: button1Text
343
+ }), button2Href ? /* @__PURE__ */ React2.createElement(ButtonSection, {
344
+ href: button2Href,
345
+ buttonText: button2Text
346
+ }) : button2To ? /* @__PURE__ */ React2.createElement(ButtonSection, {
347
+ to: button2To,
348
+ buttonText: button2Text
349
+ }) : /* @__PURE__ */ React2.createElement(ButtonSection, {
350
+ buttonText: button2Text
351
+ })), /* @__PURE__ */ React2.createElement(SubLinkSection, {
352
+ subLinkIcon,
353
+ subLinkText1,
354
+ subLinkText2,
355
+ subLinkPath,
356
+ backgroundImageAlignment: backgroundImage ? true : false
357
+ }))), /* @__PURE__ */ React2.createElement(Grid, {
358
+ size: {
359
+ xs: 12,
360
+ md: 6
361
+ }
362
+ }, heroImage ? /* @__PURE__ */ React2.createElement("img", {
363
+ src: heroImage,
364
+ width: "100%"
365
+ }) : null))));
366
+ }, "BasicHero");
360
367
 
361
368
  // src/components/bigint/FixedPointPopover.tsx
362
- import {
363
- FormHelperText,
364
- Popover,
365
- TextField
366
- } from "@mui/material";
367
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
368
- var FixedPointPopover = ({
369
- fixedPoint,
370
- minFixedPoint: minimumPoint,
371
- onFixedPointChange,
372
- ...props
373
- }) => {
374
- const handleChange = (event) => {
369
+ import { FormHelperText, Popover, TextField } from "@mui/material";
370
+ import React3 from "react";
371
+ var FixedPointPopover = /* @__PURE__ */ __name(({ fixedPoint, minFixedPoint: minimumPoint, onFixedPointChange, ...props }) => {
372
+ const handleChange = /* @__PURE__ */ __name((event) => {
375
373
  const fixedPointInteger = Number.parseInt(event.target.value, 10);
376
374
  if (Number.isNaN(fixedPointInteger)) return;
377
375
  onFixedPointChange?.(fixedPointInteger);
378
- };
379
- return /* @__PURE__ */ jsxs2(Popover, { slotProps: { paper: { sx: { p: 2 } } }, ...props, children: [
380
- /* @__PURE__ */ jsx3(TextField, { slotProps: { htmlInput: { min: minimumPoint } }, value: fixedPoint, onChange: handleChange, type: "number" }),
381
- /* @__PURE__ */ jsx3(FormHelperText, { children: "Set the Fixed Point" })
382
- ] });
383
- };
376
+ }, "handleChange");
377
+ return /* @__PURE__ */ React3.createElement(Popover, {
378
+ slotProps: {
379
+ paper: {
380
+ sx: {
381
+ p: 2
382
+ }
383
+ }
384
+ },
385
+ ...props
386
+ }, /* @__PURE__ */ React3.createElement(TextField, {
387
+ slotProps: {
388
+ htmlInput: {
389
+ min: minimumPoint
390
+ }
391
+ },
392
+ value: fixedPoint,
393
+ onChange: handleChange,
394
+ type: "number"
395
+ }), /* @__PURE__ */ React3.createElement(FormHelperText, null, "Set the Fixed Point"));
396
+ }, "FixedPointPopover");
384
397
 
385
398
  // src/components/bigint/helpers/formatBigIntInput.ts
386
- var formatBigIntInput = (rawValue) => {
399
+ var formatBigIntInput = /* @__PURE__ */ __name((rawValue) => {
387
400
  const filteredValue = rawValue.replaceAll(/[^\d.]/g, "");
388
401
  if (filteredValue.split(".").length > 2) return;
389
402
  return filteredValue;
390
- };
403
+ }, "formatBigIntInput");
391
404
 
392
405
  // src/components/bigint/TextField.tsx
393
- import {
394
- FormControl,
395
- FormHelperText as FormHelperText2,
396
- TextField as TextField2
397
- } from "@mui/material";
406
+ import { FormControl, FormHelperText as FormHelperText2, TextField as TextField2 } from "@mui/material";
398
407
  import { toFixedPoint } from "@xylabs/decimal-precision";
399
- import { isDefined } from "@xylabs/typeof";
400
- import {
401
- useEffect as useEffect2,
402
- useMemo as useMemo2,
403
- useState as useState3
404
- } from "react";
408
+ import { isDefined } from "@xylabs/sdk-js";
409
+ import React5, { useEffect as useEffect2, useMemo as useMemo2, useState as useState3 } from "react";
405
410
 
406
411
  // src/components/bigint/InputAdornment.tsx
407
- import {
408
- Avatar,
409
- IconButton,
410
- InputAdornment
411
- } from "@mui/material";
412
- import { useRef as useRef2, useState as useState2 } from "react";
413
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
414
- var FixedPointInputAdornment = ({
415
- fixedPoint,
416
- minFixedPoint,
417
- onFixedPointChange,
418
- ...props
419
- }) => {
412
+ import { Avatar, IconButton, InputAdornment } from "@mui/material";
413
+ import React4, { useRef as useRef2, useState as useState2 } from "react";
414
+ var FixedPointInputAdornment = /* @__PURE__ */ __name(({ fixedPoint, minFixedPoint, onFixedPointChange, ...props }) => {
420
415
  const ref = useRef2(null);
421
416
  const [open, setOpen] = useState2(false);
422
- return /* @__PURE__ */ jsxs3(InputAdornment, { ...props, children: [
423
- /* @__PURE__ */ jsx4(
424
- FixedPointPopover,
425
- {
426
- anchorEl: ref.current,
427
- anchorOrigin: { vertical: "bottom", horizontal: "left" },
428
- fixedPoint,
429
- minFixedPoint,
430
- onClose: () => setOpen(false),
431
- onFixedPointChange,
432
- open
433
- }
434
- ),
435
- /* @__PURE__ */ jsx4(IconButton, { size: "small", ref, onClick: () => setOpen(!open), children: /* @__PURE__ */ jsx4(
436
- Avatar,
437
- {
438
- sx: {
439
- fontSize: ".75rem",
440
- height: "20px",
441
- width: "20px"
442
- },
443
- children: fixedPoint
444
- }
445
- ) })
446
- ] });
447
- };
417
+ return /* @__PURE__ */ React4.createElement(InputAdornment, props, /* @__PURE__ */ React4.createElement(FixedPointPopover, {
418
+ anchorEl: ref.current,
419
+ anchorOrigin: {
420
+ vertical: "bottom",
421
+ horizontal: "left"
422
+ },
423
+ fixedPoint,
424
+ minFixedPoint,
425
+ onClose: /* @__PURE__ */ __name(() => setOpen(false), "onClose"),
426
+ onFixedPointChange,
427
+ open
428
+ }), /* @__PURE__ */ React4.createElement(IconButton, {
429
+ size: "small",
430
+ ref,
431
+ onClick: /* @__PURE__ */ __name(() => setOpen(!open), "onClick")
432
+ }, /* @__PURE__ */ React4.createElement(Avatar, {
433
+ sx: {
434
+ fontSize: ".75rem",
435
+ height: "20px",
436
+ width: "20px"
437
+ }
438
+ }, fixedPoint)));
439
+ }, "FixedPointInputAdornment");
448
440
 
449
441
  // src/components/bigint/TextField.tsx
450
- import { Fragment, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
451
- var BigIntTextField = ({
452
- defaultFixedPoint = 18,
453
- defaultRawValue,
454
- helperText,
455
- hideAdornment,
456
- onChangeFixedPoint,
457
- onChangeFormatted,
458
- onChange,
459
- resetValue,
460
- ...props
461
- }) => {
442
+ var BigIntTextField = /* @__PURE__ */ __name(({ defaultFixedPoint = 18, defaultRawValue, helperText, hideAdornment, onChangeFixedPoint, onChangeFormatted, onChange, resetValue, ...props }) => {
462
443
  const [rawValue, setRawValue] = useState3("");
463
444
  const [fixedPoint, setFixedPoint] = useState3(defaultFixedPoint);
464
445
  const [error, setError] = useState3();
465
446
  useMemo2(() => {
466
447
  setRawValue("");
467
- }, [resetValue]);
448
+ }, [
449
+ resetValue
450
+ ]);
468
451
  useMemo2(() => {
469
452
  if (isDefined(defaultRawValue)) {
470
453
  const formattedValue = formatBigIntInput(defaultRawValue);
471
454
  if (formattedValue) setRawValue(formattedValue);
472
455
  }
473
- }, [defaultRawValue]);
474
- const handleChange = (event) => {
456
+ }, [
457
+ defaultRawValue
458
+ ]);
459
+ const handleChange = /* @__PURE__ */ __name((event) => {
475
460
  onChange?.(event);
476
461
  const formattedValue = formatBigIntInput(event.target.value);
477
462
  if (isDefined(formattedValue)) {
478
463
  setRawValue(formattedValue);
479
464
  onChangeFormatted?.(formattedValue);
480
465
  }
481
- };
482
- const onFixedPointChange = (fixedPoint2) => setFixedPoint(fixedPoint2);
466
+ }, "handleChange");
467
+ const onFixedPointChange = /* @__PURE__ */ __name((fixedPoint2) => setFixedPoint(fixedPoint2), "onFixedPointChange");
483
468
  const bigIntValue = useMemo2(() => {
484
469
  if (rawValue) {
485
470
  const fixedValue = toFixedPoint(rawValue, fixedPoint);
@@ -494,44 +479,45 @@ var BigIntTextField = ({
494
479
  } else {
495
480
  return;
496
481
  }
497
- }, [rawValue, fixedPoint]);
482
+ }, [
483
+ rawValue,
484
+ fixedPoint
485
+ ]);
498
486
  useEffect2(() => {
499
487
  onChangeFixedPoint?.(bigIntValue);
500
- }, [bigIntValue]);
488
+ }, [
489
+ bigIntValue
490
+ ]);
501
491
  const minFixedPoint = rawValue.split(".")[1]?.length;
502
492
  const resolvedHelperText = useMemo2(() => {
503
493
  if (error) return "Cannot convert to BigInt";
504
494
  return helperText ?? "Enter a number";
505
- }, [helperText, error]);
506
- return /* @__PURE__ */ jsxs4(Fragment, { children: [
507
- /* @__PURE__ */ jsx5(
508
- TextField2,
509
- {
510
- onChange: handleChange,
511
- type: "string",
512
- error: Boolean(error),
513
- slotProps: {
514
- htmlInput: { pattern: "[0-9]*[.]?[0-9]*" },
515
- input: {
516
- startAdornment: hideAdornment ? null : /* @__PURE__ */ jsx5(
517
- FixedPointInputAdornment,
518
- {
519
- position: "start",
520
- fixedPoint,
521
- minFixedPoint,
522
- onFixedPointChange
523
- }
524
- )
525
- }
526
- },
527
- value: rawValue,
528
- ...props
495
+ }, [
496
+ helperText,
497
+ error
498
+ ]);
499
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(TextField2, {
500
+ onChange: handleChange,
501
+ type: "string",
502
+ error: Boolean(error),
503
+ slotProps: {
504
+ htmlInput: {
505
+ pattern: "[0-9]*[.]?[0-9]*"
506
+ },
507
+ input: {
508
+ startAdornment: hideAdornment ? null : /* @__PURE__ */ React5.createElement(FixedPointInputAdornment, {
509
+ position: "start",
510
+ fixedPoint,
511
+ minFixedPoint,
512
+ onFixedPointChange
513
+ })
529
514
  }
530
- ),
531
- /* @__PURE__ */ jsx5(FormHelperText2, { children: resolvedHelperText })
532
- ] });
533
- };
534
- var WithFormControl = ({ textFieldProps, ...props }) => /* @__PURE__ */ jsx5(FormControl, { ...props, children: /* @__PURE__ */ jsx5(BigIntTextField, { ...textFieldProps }) });
515
+ },
516
+ value: rawValue,
517
+ ...props
518
+ }), /* @__PURE__ */ React5.createElement(FormHelperText2, null, resolvedHelperText));
519
+ }, "BigIntTextField");
520
+ var WithFormControl = /* @__PURE__ */ __name(({ textFieldProps, ...props }) => /* @__PURE__ */ React5.createElement(FormControl, props, /* @__PURE__ */ React5.createElement(BigIntTextField, textFieldProps)), "WithFormControl");
535
521
 
536
522
  // src/components/bigint/Input.ts
537
523
  var BigIntInput = {
@@ -540,16 +526,12 @@ var BigIntInput = {
540
526
  };
541
527
 
542
528
  // src/components/Ellipsize.tsx
543
- import {
544
- Box,
545
- styled as styled2,
546
- Typography as Typography3
547
- } from "@mui/material";
548
- import { jsx as jsx6 } from "react/jsx-runtime";
529
+ import { Box, styled as styled2, Typography as Typography3 } from "@mui/material";
530
+ import React6 from "react";
549
531
  var ComponentName = "Ellipsize";
550
532
  var EllipsizeRoot = styled2(Box, {
551
533
  name: ComponentName,
552
- shouldForwardProp: (prop) => prop !== "beforeLineHeight",
534
+ shouldForwardProp: /* @__PURE__ */ __name((prop) => prop !== "beforeLineHeight", "shouldForwardProp"),
553
535
  slot: "Root"
554
536
  })(({ beforeLineHeight = 0 }) => ({
555
537
  "&": {
@@ -568,16 +550,14 @@ var EllipsizeRoot = styled2(Box, {
568
550
  var EllipsizeInnerWrap = styled2(Box, {
569
551
  name: ComponentName,
570
552
  slot: "innerWrap"
571
- })(() => ({ position: "relative" }));
553
+ })(() => ({
554
+ position: "relative"
555
+ }));
572
556
  var EllipsizeContentWrap = styled2(Typography3, {
573
557
  name: ComponentName,
574
- shouldForwardProp: (prop) => prop !== "ellipsisPosition",
558
+ shouldForwardProp: /* @__PURE__ */ __name((prop) => prop !== "ellipsisPosition", "shouldForwardProp"),
575
559
  slot: "contentWrap"
576
- })(({
577
- theme,
578
- ellipsisPosition,
579
- fontFamily
580
- }) => {
560
+ })(({ theme, ellipsisPosition, fontFamily }) => {
581
561
  return theme.unstable_sx({
582
562
  fontFamily: fontFamily ?? "monospace",
583
563
  left: 0,
@@ -592,268 +572,275 @@ var EllipsizeContentWrap = styled2(Typography3, {
592
572
  } : {}
593
573
  });
594
574
  });
595
- var EllipsizeBox = ({
596
- ref,
597
- innerWrapProps,
598
- children,
599
- ellipsisPosition = "start",
600
- disableSharedRef,
601
- typographyProps,
602
- ...props
603
- }) => {
575
+ var EllipsizeBox = /* @__PURE__ */ __name(({ ref, innerWrapProps, children, ellipsisPosition = "start", disableSharedRef, typographyProps, ...props }) => {
604
576
  const sharedRef = useShareForwardedRef(ref);
605
577
  const { sx: innerWrapSx, ...remainingInnerWrapProps } = innerWrapProps ?? {};
606
- return /* @__PURE__ */ jsx6(EllipsizeRoot, { ref: sharedRef, ...props, children: /* @__PURE__ */ jsx6(
607
- EllipsizeInnerWrap,
608
- {
609
- ...remainingInnerWrapProps,
610
- sx: {
611
- alignItems: "center",
612
- display: "flex",
613
- ...innerWrapSx
614
- },
615
- children: /* @__PURE__ */ jsx6(EllipsizeContentWrap, { component: "span", ellipsisPosition, variant: "body2", ...typographyProps, children })
578
+ return /* @__PURE__ */ React6.createElement(EllipsizeRoot, {
579
+ ref: sharedRef,
580
+ ...props
581
+ }, /* @__PURE__ */ React6.createElement(EllipsizeInnerWrap, {
582
+ ...remainingInnerWrapProps,
583
+ sx: {
584
+ alignItems: "center",
585
+ display: "flex",
586
+ ...innerWrapSx
616
587
  }
617
- ) });
618
- };
588
+ }, /* @__PURE__ */ React6.createElement(EllipsizeContentWrap, {
589
+ component: "span",
590
+ ellipsisPosition,
591
+ variant: "body2",
592
+ ...typographyProps
593
+ }, children)));
594
+ }, "EllipsizeBox");
619
595
  EllipsizeBox.displayName = "EllipsizeBox";
620
596
 
621
597
  // src/components/LabeledTextFieldWrapper.tsx
622
598
  import { Stack, Typography as Typography4 } from "@mui/material";
623
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
624
- var LabeledTextFieldWrapper = ({
625
- children,
626
- label,
627
- ...props
628
- }) => {
629
- return /* @__PURE__ */ jsxs5(Stack, { flexDirection: "column", ...props, children: [
630
- /* @__PURE__ */ jsx7(Typography4, { gutterBottom: true, variant: "caption", children: label }),
631
- children
632
- ] });
633
- };
599
+ import React7 from "react";
600
+ var LabeledTextFieldWrapper = /* @__PURE__ */ __name(({ children, label, ...props }) => {
601
+ return /* @__PURE__ */ React7.createElement(Stack, {
602
+ flexDirection: "column",
603
+ ...props
604
+ }, /* @__PURE__ */ React7.createElement(Typography4, {
605
+ gutterBottom: true,
606
+ variant: "caption"
607
+ }, label), children);
608
+ }, "LabeledTextFieldWrapper");
634
609
 
635
610
  // src/components/ListItemButtonEx.tsx
636
611
  import { ListItemButton } from "@mui/material";
612
+ import React8 from "react";
637
613
  import { useNavigate } from "react-router-dom";
638
- import { jsx as jsx8 } from "react/jsx-runtime";
639
- var ListItemButtonExTo = ({
640
- to,
641
- toOptions,
642
- onClick,
643
- ...props
644
- }) => {
614
+ var ListItemButtonExTo = /* @__PURE__ */ __name(({ to, toOptions, onClick, ...props }) => {
645
615
  const navigate = useNavigate();
646
- const localOnClick = (event) => {
616
+ const localOnClick = /* @__PURE__ */ __name((event) => {
647
617
  onClick?.(event);
648
618
  if (to) {
649
619
  void navigate(to, toOptions);
650
620
  }
651
- };
652
- return /* @__PURE__ */ jsx8(ListItemButton, { onClick: localOnClick, ...props });
653
- };
654
- var ListItemButtonEx = ({ to, ...props }) => {
655
- return to ? /* @__PURE__ */ jsx8(ListItemButtonExTo, { to, ...props }) : /* @__PURE__ */ jsx8(ListItemButton, { ...props });
656
- };
621
+ }, "localOnClick");
622
+ return /* @__PURE__ */ React8.createElement(ListItemButton, {
623
+ onClick: localOnClick,
624
+ ...props
625
+ });
626
+ }, "ListItemButtonExTo");
627
+ var ListItemButtonEx = /* @__PURE__ */ __name(({ to, ...props }) => {
628
+ return to ? /* @__PURE__ */ React8.createElement(ListItemButtonExTo, {
629
+ to,
630
+ ...props
631
+ }) : /* @__PURE__ */ React8.createElement(ListItemButton, props);
632
+ }, "ListItemButtonEx");
657
633
 
658
634
  // src/components/LoadResult.tsx
659
635
  import { FlexGrowRow as FlexGrowRow2 } from "@xylabs/react-flexbox";
636
+ import React10 from "react";
660
637
 
661
638
  // src/components/NotFound.tsx
662
639
  import { Typography as Typography5 } from "@mui/material";
663
640
  import { FlexGrowCol as FlexGrowCol2 } from "@xylabs/react-flexbox";
664
- import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
665
- var NotFound = (props) => {
666
- return /* @__PURE__ */ jsxs6(FlexGrowCol2, { ...props, children: [
667
- /* @__PURE__ */ jsx9(Typography5, { variant: "h2", children: "Sorry!" }),
668
- /* @__PURE__ */ jsx9(Typography5, { marginY: 3, variant: "body2", children: "Can't find anything here" })
669
- ] });
670
- };
641
+ import React9 from "react";
642
+ var NotFound = /* @__PURE__ */ __name((props) => {
643
+ return /* @__PURE__ */ React9.createElement(FlexGrowCol2, props, /* @__PURE__ */ React9.createElement(Typography5, {
644
+ variant: "h2"
645
+ }, "Sorry!"), /* @__PURE__ */ React9.createElement(Typography5, {
646
+ marginY: 3,
647
+ variant: "body2"
648
+ }, "Can't find anything here"));
649
+ }, "NotFound");
671
650
 
672
651
  // src/components/LoadResult.tsx
673
- import { Fragment as Fragment2, jsx as jsx10 } from "react/jsx-runtime";
674
652
  function LoadResult(props) {
675
- const {
676
- notFound,
677
- error,
678
- searchResult,
679
- children
680
- } = props;
653
+ const { notFound, error, searchResult, children } = props;
681
654
  if (notFound) {
682
- return /* @__PURE__ */ jsx10(NotFound, {});
655
+ return /* @__PURE__ */ React10.createElement(NotFound, null);
683
656
  }
684
657
  if (error) {
685
- return /* @__PURE__ */ jsx10(Fragment2, { children });
658
+ return /* @__PURE__ */ React10.createElement(React10.Fragment, null, children);
686
659
  }
687
- return searchResult === void 0 ? /* @__PURE__ */ jsx10(FlexGrowRow2, { busy: true, minHeight: "50px" }) : /* @__PURE__ */ jsx10(Fragment2, { children });
660
+ return searchResult === void 0 ? /* @__PURE__ */ React10.createElement(FlexGrowRow2, {
661
+ busy: true,
662
+ minHeight: "50px"
663
+ }) : /* @__PURE__ */ React10.createElement(React10.Fragment, null, children);
688
664
  }
665
+ __name(LoadResult, "LoadResult");
689
666
 
690
667
  // src/components/Pipe.tsx
691
668
  import { Typography as Typography6 } from "@mui/material";
692
- import { jsx as jsx11 } from "react/jsx-runtime";
693
- var Pipe = (props) => {
694
- return /* @__PURE__ */ jsx11(Typography6, { marginX: 1, component: "span", ...props, children: "|" });
695
- };
669
+ import React11 from "react";
670
+ var Pipe = /* @__PURE__ */ __name((props) => {
671
+ return /* @__PURE__ */ React11.createElement(Typography6, {
672
+ marginX: 1,
673
+ component: "span",
674
+ ...props
675
+ }, "|");
676
+ }, "Pipe");
696
677
 
697
678
  // src/components/pluginValidation/DataMissing.tsx
698
679
  import { Alert, AlertTitle } from "@mui/material";
699
- import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
700
- var PayloadDataMissing = ({ alertBody, ...props }) => {
701
- return /* @__PURE__ */ jsxs7(Alert, { severity: "warning", ...props, children: [
702
- /* @__PURE__ */ jsx12(AlertTitle, { children: "Missing Data" }),
703
- alertBody ?? "Payload is missing required data to render correctly"
704
- ] });
705
- };
680
+ import React12 from "react";
681
+ var PayloadDataMissing = /* @__PURE__ */ __name(({ alertBody, ...props }) => {
682
+ return /* @__PURE__ */ React12.createElement(Alert, {
683
+ severity: "warning",
684
+ ...props
685
+ }, /* @__PURE__ */ React12.createElement(AlertTitle, null, "Missing Data"), alertBody ?? "Payload is missing required data to render correctly");
686
+ }, "PayloadDataMissing");
706
687
 
707
688
  // src/components/ScrollTableOnSm.tsx
708
689
  import { styled as styled3 } from "@mui/material";
709
- import { jsx as jsx13 } from "react/jsx-runtime";
690
+ import React13 from "react";
710
691
  var StyledScrollTableOnSm = styled3("div")(({ theme }) => ({
711
- [theme.breakpoints.down("md")]: { overflowX: "scroll" },
692
+ [theme.breakpoints.down("md")]: {
693
+ overflowX: "scroll"
694
+ },
712
695
  display: "flex",
713
696
  flexGrow: 1
714
697
  }));
715
- var ScrollTableOnSm = ({ children }) => /* @__PURE__ */ jsx13(StyledScrollTableOnSm, { children });
698
+ var ScrollTableOnSm = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ React13.createElement(StyledScrollTableOnSm, null, children), "ScrollTableOnSm");
716
699
 
717
700
  // src/components/SectionSpacingRow/SectionSpacingRow.tsx
718
701
  import { useTheme } from "@mui/material";
719
702
  import { FlexGrowRow as FlexGrowRow3 } from "@xylabs/react-flexbox";
720
- import { jsx as jsx14 } from "react/jsx-runtime";
721
- var SectionSpacingRow = ({
722
- ref,
723
- children,
724
- sx,
725
- ...props
726
- }) => {
703
+ import React14 from "react";
704
+ var SectionSpacingRow = /* @__PURE__ */ __name(({ ref, children, sx, ...props }) => {
727
705
  const theme = useTheme();
728
- return /* @__PURE__ */ jsx14(
729
- FlexGrowRow3,
730
- {
731
- sx: {
732
- paddingBottom: { md: theme.spacing(5), xs: theme.spacing(5) },
733
- paddingTop: { md: theme.spacing(5), xs: theme.spacing(5) },
734
- ...sx
706
+ return /* @__PURE__ */ React14.createElement(FlexGrowRow3, {
707
+ sx: {
708
+ paddingBottom: {
709
+ md: theme.spacing(5),
710
+ xs: theme.spacing(5)
735
711
  },
736
- width: "100%",
737
- ref,
738
- ...props,
739
- children
740
- }
741
- );
742
- };
712
+ paddingTop: {
713
+ md: theme.spacing(5),
714
+ xs: theme.spacing(5)
715
+ },
716
+ ...sx
717
+ },
718
+ width: "100%",
719
+ ref,
720
+ ...props
721
+ }, children);
722
+ }, "SectionSpacingRow");
743
723
  SectionSpacingRow.displayName = "SectionSpacingRow";
744
724
 
725
+ // src/components/TableCell/AddressTableCell.tsx
726
+ import React16 from "react";
727
+
745
728
  // src/components/TableCell/EllipsisTableCell.tsx
746
729
  import { styled as styled4, TableCell } from "@mui/material";
747
730
  import { asLinkHrefOrToProps, LinkEx as LinkEx2 } from "@xylabs/react-link";
748
- import { useMemo as useMemo3 } from "react";
749
- import { jsx as jsx15 } from "react/jsx-runtime";
731
+ import React15, { useMemo as useMemo3 } from "react";
750
732
  var EllipsisTableCellRoot = styled4(TableCell, {
751
733
  name: "EllipsisTableCell",
752
- shouldForwardProp: (prop) => prop !== "width",
734
+ shouldForwardProp: /* @__PURE__ */ __name((prop) => prop !== "width", "shouldForwardProp"),
753
735
  slot: "Root"
754
- })(({ width = "100%" }) => ({ width }));
755
- var EllipsisTableCellWithRef = ({
756
- ref,
757
- children,
758
- href,
759
- link = false,
760
- to,
761
- value,
762
- ...props
763
- }) => {
736
+ })(({ width = "100%" }) => ({
737
+ width
738
+ }));
739
+ var EllipsisTableCellWithRef = /* @__PURE__ */ __name(({ ref, children, href, link = false, to, value, ...props }) => {
764
740
  const data = useMemo3(() => {
765
741
  if (children) {
766
742
  return children;
767
743
  }
768
744
  if (href || link || to) {
769
- return /* @__PURE__ */ jsx15(LinkEx2, { title: value, ...asLinkHrefOrToProps({ to, href }), target: href ? "_blank" : void 0, children: value });
745
+ return /* @__PURE__ */ React15.createElement(LinkEx2, {
746
+ title: value,
747
+ ...asLinkHrefOrToProps({
748
+ to,
749
+ href
750
+ }),
751
+ target: href ? "_blank" : void 0
752
+ }, value);
770
753
  }
771
754
  return value;
772
- }, [children, href, link, to, value]);
773
- return /* @__PURE__ */ jsx15(EllipsisTableCellRoot, { ...props, children: /* @__PURE__ */ jsx15(
774
- EllipsizeBox,
775
- {
776
- ref,
777
- sx: { cursor: link || to || href ? "pointer" : "inherit" },
778
- children: data
755
+ }, [
756
+ children,
757
+ href,
758
+ link,
759
+ to,
760
+ value
761
+ ]);
762
+ return /* @__PURE__ */ React15.createElement(EllipsisTableCellRoot, props, /* @__PURE__ */ React15.createElement(EllipsizeBox, {
763
+ ref,
764
+ sx: {
765
+ cursor: link || to || href ? "pointer" : "inherit"
779
766
  }
780
- ) });
781
- };
767
+ }, data));
768
+ }, "EllipsisTableCellWithRef");
782
769
  EllipsisTableCellWithRef.displayName = "EllipsisTableCell";
783
770
  var EllipsisTableCell = EllipsisTableCellWithRef;
784
771
 
785
772
  // src/components/TableCell/AddressTableCell.tsx
786
- import { jsx as jsx16 } from "react/jsx-runtime";
787
- var AddressTableCell = ({
788
- ref,
789
- value,
790
- archive,
791
- exploreDomain,
792
- link,
793
- ...props
794
- }) => {
773
+ var AddressTableCell = /* @__PURE__ */ __name(({ ref, value, archive, exploreDomain, link, ...props }) => {
795
774
  const href = exploreDomain && archive ? `${exploreDomain}/archive/${archive}/address/${value}` : void 0;
796
775
  const to = exploreDomain === void 0 && archive ? `/archive/${archive}/address/${value}` : void 0;
797
- return /* @__PURE__ */ jsx16(EllipsisTableCell, { value, href, to, ref, link, ...props });
798
- };
776
+ return /* @__PURE__ */ React16.createElement(EllipsisTableCell, {
777
+ value,
778
+ href,
779
+ to,
780
+ ref,
781
+ link,
782
+ ...props
783
+ });
784
+ }, "AddressTableCell");
799
785
  AddressTableCell.displayName = "AddressTableCell";
800
786
 
801
787
  // src/components/TableCell/HashTableCell.tsx
802
- import { jsx as jsx17 } from "react/jsx-runtime";
803
- var HashTableCell = ({
804
- ref,
805
- value,
806
- dataType,
807
- ...props
808
- }) => {
809
- return /* @__PURE__ */ jsx17(
810
- EllipsisTableCell,
811
- {
812
- value,
813
- ...props
814
- }
815
- );
816
- };
788
+ import React17 from "react";
789
+ var HashTableCell = /* @__PURE__ */ __name(({ ref, value, dataType, ...props }) => {
790
+ return /* @__PURE__ */ React17.createElement(EllipsisTableCell, {
791
+ value,
792
+ ...props
793
+ });
794
+ }, "HashTableCell");
817
795
 
818
796
  // src/components/ThemeTokenAvatar/ThemeTokenAvatar.tsx
819
797
  import { Avatar as Avatar2, useTheme as useTheme2 } from "@mui/material";
820
- import { jsx as jsx18 } from "react/jsx-runtime";
821
- var ThemeTokenAvatar = ({ ...props }) => {
798
+ import React18 from "react";
799
+ var ThemeTokenAvatar = /* @__PURE__ */ __name(({ ...props }) => {
822
800
  const theme = useTheme2();
823
- return /* @__PURE__ */ jsx18(Avatar2, { sx: { background: theme.vars.palette.common.white }, ...props });
824
- };
801
+ return /* @__PURE__ */ React18.createElement(Avatar2, {
802
+ sx: {
803
+ background: theme.vars.palette.common.white
804
+ },
805
+ ...props
806
+ });
807
+ }, "ThemeTokenAvatar");
825
808
 
826
809
  // src/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.tsx
827
810
  import { AvatarGroup } from "@mui/material";
828
- import { jsx as jsx19 } from "react/jsx-runtime";
829
- var ThemeTokenAvatarGroup = ({ images, ...props }) => {
830
- return /* @__PURE__ */ jsx19(AvatarGroup, { ...props, children: images?.map((image, index) => /* @__PURE__ */ jsx19(ThemeTokenAvatar, { src: image }, index)) });
831
- };
811
+ import React19 from "react";
812
+ var ThemeTokenAvatarGroup = /* @__PURE__ */ __name(({ images, ...props }) => {
813
+ return /* @__PURE__ */ React19.createElement(AvatarGroup, props, images?.map((image, index) => /* @__PURE__ */ React19.createElement(ThemeTokenAvatar, {
814
+ key: index,
815
+ src: image
816
+ })));
817
+ }, "ThemeTokenAvatarGroup");
832
818
 
833
819
  // src/components/TokenBar/TokenBar.tsx
834
820
  import { Paper, Typography as Typography7 } from "@mui/material";
835
821
  import { FlexRow } from "@xylabs/react-flexbox";
836
- import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
837
- var TokenBar = ({
838
- text1,
839
- text1Props,
840
- text1Suffix,
841
- text2,
842
- text2Props,
843
- text2Suffix,
844
- ...props
845
- }) => {
846
- return /* @__PURE__ */ jsx20(Paper, { elevation: 0, className: "TokenBar-root", ...props, children: /* @__PURE__ */ jsxs8(FlexRow, { justifyContent: "space-between", children: [
847
- /* @__PURE__ */ jsxs8(Typography7, { variant: "body1", fontWeight: 300, margin: 1, ...text1Props, children: [
848
- text1,
849
- text1Suffix
850
- ] }),
851
- /* @__PURE__ */ jsxs8(Typography7, { variant: "body1", fontWeight: 300, textTransform: "uppercase", color: "gray", margin: 1, ...text2Props, children: [
852
- text2,
853
- text2Suffix
854
- ] })
855
- ] }) });
856
- };
822
+ import React20 from "react";
823
+ var TokenBar = /* @__PURE__ */ __name(({ text1, text1Props, text1Suffix, text2, text2Props, text2Suffix, ...props }) => {
824
+ return /* @__PURE__ */ React20.createElement(Paper, {
825
+ elevation: 0,
826
+ className: "TokenBar-root",
827
+ ...props
828
+ }, /* @__PURE__ */ React20.createElement(FlexRow, {
829
+ justifyContent: "space-between"
830
+ }, /* @__PURE__ */ React20.createElement(Typography7, {
831
+ variant: "body1",
832
+ fontWeight: 300,
833
+ margin: 1,
834
+ ...text1Props
835
+ }, text1, text1Suffix), /* @__PURE__ */ React20.createElement(Typography7, {
836
+ variant: "body1",
837
+ fontWeight: 300,
838
+ textTransform: "uppercase",
839
+ color: "gray",
840
+ margin: 1,
841
+ ...text2Props
842
+ }, text2, text2Suffix)));
843
+ }, "TokenBar");
857
844
 
858
845
  // src/components/TokenData/img/index.ts
859
846
  import { default as default2 } from "./ada-JCPSRXND.png";
@@ -1006,7 +993,7 @@ var TokenData = [
1006
993
  ];
1007
994
 
1008
995
  // src/components/TokenData/useGetTokenData.tsx
1009
- var getTokenData = (symbols) => {
996
+ var getTokenData = /* @__PURE__ */ __name((symbols) => {
1010
997
  return symbols?.map((symbol) => {
1011
998
  const additionalTokenData = TokenData.find((x) => x.tokenSymbol.toLowerCase() === symbol?.toLowerCase());
1012
999
  const checkedTokenData = additionalTokenData ?? {
@@ -1019,62 +1006,54 @@ var getTokenData = (symbols) => {
1019
1006
  };
1020
1007
  return checkedTokenData;
1021
1008
  });
1022
- };
1009
+ }, "getTokenData");
1023
1010
 
1024
1011
  // src/components/TokenSummary/TokenSummary.tsx
1025
1012
  import { CardHeader, Typography as Typography8 } from "@mui/material";
1026
- import { Fragment as Fragment3, jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
1027
- var TokenSummary = ({
1028
- icon,
1029
- symbol,
1030
- symbolElement,
1031
- children,
1032
- ...props
1033
- }) => {
1034
- return /* @__PURE__ */ jsxs9(Fragment3, { children: [
1035
- /* @__PURE__ */ jsx21(
1036
- CardHeader,
1037
- {
1038
- avatar: /* @__PURE__ */ jsx21(ThemeTokenAvatar, { src: icon, alt: symbol }),
1039
- title: /* @__PURE__ */ jsx21(Typography8, { variant: "h6", fontWeight: 300, textTransform: "uppercase", children: symbolElement ?? symbol }),
1040
- ...props
1041
- }
1042
- ),
1043
- children
1044
- ] });
1045
- };
1013
+ import React21 from "react";
1014
+ var TokenSummary = /* @__PURE__ */ __name(({ icon, symbol, symbolElement, children, ...props }) => {
1015
+ return /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement(CardHeader, {
1016
+ avatar: /* @__PURE__ */ React21.createElement(ThemeTokenAvatar, {
1017
+ src: icon,
1018
+ alt: symbol
1019
+ }),
1020
+ title: /* @__PURE__ */ React21.createElement(Typography8, {
1021
+ variant: "h6",
1022
+ fontWeight: 300,
1023
+ textTransform: "uppercase"
1024
+ }, symbolElement ?? symbol),
1025
+ ...props
1026
+ }), children);
1027
+ }, "TokenSummary");
1046
1028
 
1047
1029
  // src/components/TypographyEx.tsx
1048
1030
  import { Typography as Typography9 } from "@mui/material";
1049
- import { jsx as jsx22 } from "react/jsx-runtime";
1050
- var TypographyEx = ({ gradient, ...props }) => {
1031
+ import React22 from "react";
1032
+ var TypographyEx = /* @__PURE__ */ __name(({ gradient, ...props }) => {
1051
1033
  const styles = useGradientStyles();
1052
- return /* @__PURE__ */ jsx22(Typography9, { style: gradient === "text" ? styles.heading : void 0, ...props });
1053
- };
1034
+ return /* @__PURE__ */ React22.createElement(Typography9, {
1035
+ style: gradient === "text" ? styles.heading : void 0,
1036
+ ...props
1037
+ });
1038
+ }, "TypographyEx");
1054
1039
 
1055
1040
  // src/contexts/diviner/Context.ts
1056
1041
  import { createContextEx } from "@xylabs/react-shared";
1057
- var ResolvedDivinerContext = () => createContextEx();
1042
+ var ResolvedDivinerContext = /* @__PURE__ */ __name(() => createContextEx(), "ResolvedDivinerContext");
1058
1043
 
1059
1044
  // src/contexts/diviner/Provider.tsx
1060
1045
  import { useResetState } from "@xylabs/react-hooks";
1061
- import { useMemo as useMemo4 } from "react";
1062
- import { jsx as jsx23 } from "react/jsx-runtime";
1063
- var ResolvedDivinerProvider = ({
1064
- diviner: divinerProp,
1065
- required = false,
1066
- children,
1067
- context: Context
1068
- }) => {
1046
+ import React23, { useMemo as useMemo4 } from "react";
1047
+ var ResolvedDivinerProvider = /* @__PURE__ */ __name(({ diviner: divinerProp, required = false, children, context: Context }) => {
1069
1048
  const [diviner, setDiviner] = useResetState(divinerProp);
1070
1049
  const value = useMemo4(() => {
1071
- const resolveDiviner = () => {
1050
+ const resolveDiviner = /* @__PURE__ */ __name(() => {
1072
1051
  if (divinerProp) {
1073
1052
  return diviner === divinerProp ? diviner : void 0;
1074
1053
  } else {
1075
1054
  return diviner;
1076
1055
  }
1077
- };
1056
+ }, "resolveDiviner");
1078
1057
  return {
1079
1058
  diviner: resolveDiviner(),
1080
1059
  provided: true,
@@ -1084,23 +1063,18 @@ var ResolvedDivinerProvider = ({
1084
1063
  setDiviner,
1085
1064
  divinerProp
1086
1065
  ]);
1087
- return /* @__PURE__ */ jsx23(
1088
- Context,
1089
- {
1090
- value,
1091
- children: diviner ? children : required ? null : children
1092
- }
1093
- );
1094
- };
1066
+ return /* @__PURE__ */ React23.createElement(Context, {
1067
+ value
1068
+ }, diviner ? children : required ? null : children);
1069
+ }, "ResolvedDivinerProvider");
1095
1070
 
1096
1071
  // src/contexts/ListMode/Context.ts
1097
1072
  import { createContextEx as createContextEx2 } from "@xylabs/react-shared";
1098
1073
  var ListModeContext = createContextEx2();
1099
1074
 
1100
1075
  // src/contexts/ListMode/Provider.tsx
1101
- import { useMemo as useMemo5, useState as useState4 } from "react";
1102
- import { jsx as jsx24 } from "react/jsx-runtime";
1103
- var ListModeProvider = ({ children, defaultListMode }) => {
1076
+ import React24, { useMemo as useMemo5, useState as useState4 } from "react";
1077
+ var ListModeProvider = /* @__PURE__ */ __name(({ children, defaultListMode }) => {
1104
1078
  const [listMode, setListMode] = useState4(defaultListMode ?? "default");
1105
1079
  const value = useMemo5(() => ({
1106
1080
  listMode,
@@ -1110,29 +1084,25 @@ var ListModeProvider = ({ children, defaultListMode }) => {
1110
1084
  listMode,
1111
1085
  setListMode
1112
1086
  ]);
1113
- return /* @__PURE__ */ jsx24(
1114
- ListModeContext,
1115
- {
1116
- value,
1117
- children
1118
- }
1119
- );
1120
- };
1087
+ return /* @__PURE__ */ React24.createElement(ListModeContext, {
1088
+ value
1089
+ }, children);
1090
+ }, "ListModeProvider");
1121
1091
 
1122
1092
  // src/contexts/ListMode/use.ts
1123
1093
  import { useContextEx } from "@xylabs/react-shared";
1124
- var useListMode = (required = false) => {
1094
+ var useListMode = /* @__PURE__ */ __name((required = false) => {
1125
1095
  return useContextEx(ListModeContext, "ListMode", required);
1126
- };
1096
+ }, "useListMode");
1127
1097
 
1128
1098
  // src/lib/assertDefinedEx.ts
1129
- var assertDefinedEx = (expr, message) => {
1099
+ var assertDefinedEx = /* @__PURE__ */ __name((expr, message) => {
1130
1100
  if (expr !== null && expr !== void 0) return expr;
1131
1101
  throw new Error(message);
1132
- };
1102
+ }, "assertDefinedEx");
1133
1103
 
1134
1104
  // src/lib/getActualPaddingX.ts
1135
- var parseMeausureString = (measure, absolute) => {
1105
+ var parseMeausureString = /* @__PURE__ */ __name((measure, absolute) => {
1136
1106
  if (measure !== void 0 && measure !== null && measure.length > 0) {
1137
1107
  if (measure.endsWith("px")) {
1138
1108
  return Number.parseFloat(measure.slice(0, Math.max(0, measure.length - 2)));
@@ -1148,8 +1118,8 @@ var parseMeausureString = (measure, absolute) => {
1148
1118
  }
1149
1119
  throw new Error(`Error Parsing Measure [${measure}]`);
1150
1120
  }
1151
- };
1152
- var parsePadding = (padding) => {
1121
+ }, "parseMeausureString");
1122
+ var parsePadding = /* @__PURE__ */ __name((padding) => {
1153
1123
  const parts = padding.split(" ");
1154
1124
  switch (parts.length) {
1155
1125
  case 4: {
@@ -1184,62 +1154,55 @@ var parsePadding = (padding) => {
1184
1154
  };
1185
1155
  }
1186
1156
  }
1187
- };
1188
- var getActualPaddingX = (element) => {
1157
+ }, "parsePadding");
1158
+ var getActualPaddingX = /* @__PURE__ */ __name((element) => {
1189
1159
  const padding = parsePadding(globalThis.getComputedStyle(element, null).getPropertyValue("padding"));
1190
1160
  const paddingLeft = parseMeausureString(globalThis.getComputedStyle(element, null).getPropertyValue("padding-left") ?? padding?.left, element.clientWidth) ?? 0;
1191
1161
  const paddingRight = parseMeausureString(globalThis.getComputedStyle(element, null).getPropertyValue("padding-right") ?? padding?.right, element.clientWidth) ?? 0;
1192
1162
  return paddingLeft + paddingRight;
1193
- };
1163
+ }, "getActualPaddingX");
1194
1164
 
1195
1165
  // src/lib/networkComponents.tsx
1196
- import {
1197
- BubbleChartRounded as BubbleChartRoundedIcon,
1198
- HubRounded as HubRoundedIcon,
1199
- InsertLinkRounded as InsertLinkRoundedIcon,
1200
- Inventory2Rounded as Inventory2RoundedIcon,
1201
- TimerRounded as TimerRoundedIcon,
1202
- VisibilityRounded as VisibilityRoundedIcon
1203
- } from "@mui/icons-material";
1204
- import { jsx as jsx25 } from "react/jsx-runtime";
1166
+ import { BubbleChartRounded as BubbleChartRoundedIcon, HubRounded as HubRoundedIcon, InsertLinkRounded as InsertLinkRoundedIcon, Inventory2Rounded as Inventory2RoundedIcon, TimerRounded as TimerRoundedIcon, VisibilityRounded as VisibilityRoundedIcon } from "@mui/icons-material";
1167
+ import React25 from "react";
1205
1168
  var networkComponents = [
1206
1169
  {
1207
- icon: (props) => /* @__PURE__ */ jsx25(HubRoundedIcon, { ...props }),
1170
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(HubRoundedIcon, props), "icon"),
1208
1171
  name: "Node",
1209
1172
  slug: "node"
1210
1173
  },
1211
1174
  {
1212
- icon: (props) => /* @__PURE__ */ jsx25(TimerRoundedIcon, { ...props }),
1175
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(TimerRoundedIcon, props), "icon"),
1213
1176
  name: "Sentinel",
1214
1177
  slug: "sentinel"
1215
1178
  },
1216
1179
  {
1217
- icon: (props) => /* @__PURE__ */ jsx25(InsertLinkRoundedIcon, { ...props }),
1180
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(InsertLinkRoundedIcon, props), "icon"),
1218
1181
  name: "Bridge",
1219
1182
  slug: "bridge"
1220
1183
  },
1221
1184
  {
1222
- icon: (props) => /* @__PURE__ */ jsx25(Inventory2RoundedIcon, { ...props }),
1185
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(Inventory2RoundedIcon, props), "icon"),
1223
1186
  name: "Archivist",
1224
1187
  slug: "archivist"
1225
1188
  },
1226
1189
  {
1227
- icon: (props) => /* @__PURE__ */ jsx25(BubbleChartRoundedIcon, { ...props }),
1190
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(BubbleChartRoundedIcon, props), "icon"),
1228
1191
  name: "Diviner",
1229
1192
  slug: "diviner"
1230
1193
  },
1231
1194
  {
1232
- icon: (props) => /* @__PURE__ */ jsx25(VisibilityRoundedIcon, { ...props }),
1195
+ icon: /* @__PURE__ */ __name((props) => /* @__PURE__ */ React25.createElement(VisibilityRoundedIcon, props), "icon"),
1233
1196
  name: "Witness",
1234
1197
  slug: "witness"
1235
1198
  }
1236
1199
  ];
1237
- var findNetworkComponentIndex = (slug) => {
1200
+ var findNetworkComponentIndex = /* @__PURE__ */ __name((slug) => {
1238
1201
  return networkComponents.findIndex((info) => info.slug === slug);
1239
- };
1240
- var findNetworkComponent = (slug) => {
1202
+ }, "findNetworkComponentIndex");
1203
+ var findNetworkComponent = /* @__PURE__ */ __name((slug) => {
1241
1204
  return networkComponents.find((info) => info.slug === slug);
1242
- };
1205
+ }, "findNetworkComponent");
1243
1206
  export {
1244
1207
  AddressTableCell,
1245
1208
  Ampersand,