@nxgt/material 2.3.1 → 2.4.1

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 (63) hide show
  1. package/README.md +19 -1
  2. package/dist/{_Uint8Array-BDK6FjpM.js → _Uint8Array-DEXn42kj.js} +1 -1
  3. package/dist/{blockDiagram-BEXU5L5S-C8q-lXgt.js → blockDiagram-BEXU5L5S-CD5PW_mQ.js} +2 -2
  4. package/dist/{chunk-3FUC2YCW-BGpNbruY.js → chunk-3FUC2YCW-CNBUvTSg.js} +2 -2
  5. package/dist/{chunk-7M6MHVWA-_-i4Sb1c.js → chunk-7M6MHVWA-DEh1Crrc.js} +1 -1
  6. package/dist/{chunk-GNY47TPC-BJperC1X.js → chunk-GNY47TPC-vOPvRE_8.js} +4 -4
  7. package/dist/{chunk-NETBCI7D-D0kbMnm0.js → chunk-NETBCI7D-CQV8lo68.js} +1 -1
  8. package/dist/{chunk-Z7XXMR3K-CJmPL4k9.js → chunk-Z7XXMR3K-DcqSgI9Q.js} +1 -1
  9. package/dist/{classDiagram-v2-NBCMYWYE-DRoCWiaP.js → classDiagram-v2-NBCMYWYE-tU42Be-2.js} +2 -2
  10. package/dist/{client-only.utils-qMX_CMiw.js → client-only.utils-DhcBUmau.js} +2 -2
  11. package/dist/{components-CRrswCsD.js → components-NLbPtyeB.js} +20564 -20586
  12. package/dist/components.js +5 -5
  13. package/dist/{dagre-6A5THRUB-B11jdkPL.js → dagre-6A5THRUB-CXwkkHFr.js} +8 -8
  14. package/dist/{diagram-22UHCM2B-CAVrn_uY.js → diagram-22UHCM2B-BswK7SlD.js} +2 -2
  15. package/dist/{diagram-3UASUU5V-uO9-gtWR.js → diagram-3UASUU5V-5p5ra9Yi.js} +1 -1
  16. package/dist/dnd.js +1 -1
  17. package/dist/{elk-276RUBZZ-BALenDhN.js → elk-276RUBZZ-CuGpDp18.js} +3 -3
  18. package/dist/{erDiagram-OPXOYQCR-FtFHGu-P.js → erDiagram-OPXOYQCR-vpNBbFgR.js} +2 -2
  19. package/dist/{field-blur-DkydMwaN.js → field-blur-EUOqpHbF.js} +1 -1
  20. package/dist/{flowDiagram-KWPJA3E3-DZwUgKQu.js → flowDiagram-KWPJA3E3-PC80XOp8.js} +3 -3
  21. package/dist/{ganttDiagram-FUAMR5RP-CmMpH0CG.js → ganttDiagram-FUAMR5RP-DC1sfzgs.js} +1 -1
  22. package/dist/{graphlib-DovxbouT.js → graphlib-DvOFXJbI.js} +5 -5
  23. package/dist/hooks.js +2 -2
  24. package/dist/{i18n-provider-BUQY82bS.js → i18n-provider-XTTU9ArK.js} +1 -1
  25. package/dist/i18n.js +6 -6
  26. package/dist/{isArrayLikeObject-D0u9Q9Yg.js → isArrayLikeObject-CCJDO2RL.js} +2 -2
  27. package/dist/{journeyDiagram-ZHPQQLJL-DVxTOFQu.js → journeyDiagram-ZHPQQLJL-C6djNSgq.js} +1 -1
  28. package/dist/lib/components/ui/media/file-list/index.d.ts +1 -1
  29. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +0 -1
  30. package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -1
  31. package/dist/lib/next/index.d.ts +9 -0
  32. package/dist/lib/next/pdfkit-font-globs.d.ts +15 -0
  33. package/dist/lib/next/with-nxgt-print.d.ts +73 -0
  34. package/dist/{lib-B_cBmfz5.js → lib-DIj5dvbb.js} +3 -3
  35. package/dist/lib.js +2 -2
  36. package/dist/main.js +12 -12
  37. package/dist/map.js +2 -2
  38. package/dist/{merge-DQLOWMVN.js → merge-Dm-kHFxo.js} +3 -3
  39. package/dist/{mermaid.core-CQ6lUhgC.js → mermaid.core-CEDjsxgL.js} +21 -21
  40. package/dist/{mindmap-definition-NLK3R4M7-DyB5NgHM.js → mindmap-definition-NLK3R4M7-BYtcw4Io.js} +2 -2
  41. package/dist/next.js +35 -0
  42. package/dist/{pieDiagram-5QR66LMP-DCdDWF2H.js → pieDiagram-5QR66LMP-8ETWucra.js} +1 -1
  43. package/dist/print.js +2 -2
  44. package/dist/{quadrantDiagram-O4NWA36T-BMfcGUfy.js → quadrantDiagram-O4NWA36T-X05JG-jZ.js} +1 -1
  45. package/dist/{requirementDiagram-PLB6GJNP-Bg-uQlZj.js → requirementDiagram-PLB6GJNP-BwWSE7Fn.js} +2 -2
  46. package/dist/{sankeyDiagram-IPEJSGJF-E-o_7bq2.js → sankeyDiagram-IPEJSGJF-B6YxyZMn.js} +1 -1
  47. package/dist/{sortable-provider-NE74zkmo.js → sortable-provider-DuRzFvwe.js} +1 -1
  48. package/dist/{stateDiagram-v2-GCMORJYK-BDB4K1Fw.js → stateDiagram-v2-GCMORJYK-CAqcgA-x.js} +2 -2
  49. package/dist/{stored-language-BVYsloiW.js → stored-language-BP90Ydtg.js} +1 -1
  50. package/dist/{swimlanes-2SLR337P-C406S8ui.js → swimlanes-2SLR337P-DRQ2gho_.js} +3 -3
  51. package/dist/{swimlanesDiagram-TC7HE7FX-BstKZ--K.js → swimlanesDiagram-TC7HE7FX-DaXG362E.js} +3 -3
  52. package/dist/{timeline-definition-EJHVYXUP-BmhxT0qo.js → timeline-definition-EJHVYXUP-BtvpCePa.js} +1 -1
  53. package/dist/{translate-material-CRxs5aS3.js → translate-material-Ctzt0Y2N.js} +2 -2
  54. package/dist/{translator-BfyVF7Ej.js → translator-Cfug7hC5.js} +1 -1
  55. package/dist/{use-heading-spy-BiLosksJ.js → use-heading-spy-DtVo2HBk.js} +2 -2
  56. package/dist/{use-material-translation-D3HwtYDm.js → use-material-translation-CJswHOmK.js} +2 -2
  57. package/dist/{usecaseDiagram-POWQR4AR-cHGV1E_T.js → usecaseDiagram-POWQR4AR-DsYqBvQ-.js} +2 -2
  58. package/dist/{xychartDiagram-PMCCYNJV-ixeD_kO0.js → xychartDiagram-PMCCYNJV-CEf5bvG1.js} +1 -1
  59. package/docs/guides/printing.md +104 -0
  60. package/docs/roadmap.md +6 -0
  61. package/docs/troubleshooting.md +127 -0
  62. package/package.json +7 -2
  63. package/dist/lib/components/ui/media/file-list/format-file-size.d.ts +0 -1
package/README.md CHANGED
@@ -127,6 +127,7 @@ into a tarball. A missing sheet renders nothing, with no error and no fallback.
127
127
  | `@nxgt/material/print` | PDF documents over `@react-pdf/renderer`: the `PrintDocument` page shell, the print blocks, and `PrintDataTable`, `PrintKeyValue` and `PrintMetric` from column definitions and plain rows; documents as plain data (`pdfDocument` and its builders); `downloadPdf`, `openPdf`, `usePdfFile` and `pdfResponse` to get the file in one call — **its own entry, and not in the barrel above** ([printing guide](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md)) |
128
128
  | `@nxgt/material/map` | Leaflet maps, markers, a location field — **its own entry, not in the barrel, and browser-only** ([maps guide](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/maps.md)) |
129
129
  | `@nxgt/material/vite` | build-time helpers for consumers: `pdfkitStandardFonts()` ([printing guide](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md)) |
130
+ | `@nxgt/material/next` | `withNxgtPrint(nextConfig)`: the `next.config.ts` a Next.js route handler that imports `/print` needs, `output: 'standalone'` included. Node only, no dependency on `next` ([printing guide](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#nextjs-serverexternalpackages-and-output-standalone)) |
130
131
  | `@nxgt/material/hooks` | `useTheme`, `useIsClient`, `useIsMobile`, `useLocalizedDate`, … ([helpers](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/helpers.md#nxgtmaterialhooks)) |
131
132
  | `@nxgt/material/dnd` | `@dnd-kit` primitives ([helpers](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/helpers.md#nxgtmaterialdnd)) |
132
133
  | `@nxgt/material/i18n` | `I18nProvider`, `mergeResources`, `createTranslator` ([i18n guide](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/i18n.md)) |
@@ -218,6 +219,21 @@ watermark. Its `language` is a prop, because the PDF renders outside your
218
219
  current, and a document can also be plain data built with `pdfDocument`
219
220
  (experimental). More: [Printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#rendering-the-document).
220
221
 
222
+ In Next.js, a route handler that calls `pdfResponse` needs its
223
+ `next.config.ts` wrapped:
224
+
225
+ ```ts
226
+ // next.config.ts
227
+ import { withNxgtPrint } from '@nxgt/material/next';
228
+
229
+ export default withNxgtPrint({ output: 'standalone' });
230
+ ```
231
+
232
+ It adds `'@nxgt/material'` to `serverExternalPackages` and, when
233
+ `@react-pdf/renderer` is installed, pdfkit's `.cjs` fonts to
234
+ `outputFileTracingIncludes`, merged with what your config already has. More:
235
+ [Next.js](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#nextjs-serverexternalpackages-and-output-standalone).
236
+
221
237
  ## Guides
222
238
 
223
239
  Each area a consumer starts from has its own page under `docs/guides/`.
@@ -228,7 +244,7 @@ Each area a consumer starts from has its own page under `docs/guides/`.
228
244
  | [i18n](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/i18n.md) | adding your strings next to the package's, switching language, translated Zod messages, SSR without a text mismatch |
229
245
  | [App shell](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/app-shell.md) | laying out an app with `ActivityLayout`, its `items`, the active entry and breadcrumbs (needs a data router) |
230
246
  | [Theming](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/theming.md) | changing colours, radius or fonts, dark mode, using the compiled CSS without Tailwind |
231
- | [Printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md) | producing PDFs with `@nxgt/material/print` and getting the file in one call (download, new tab, preview, server `Response`) — its own entry since 2.0.0, with optional peers and a bundling trap on SSR servers |
247
+ | [Printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md) | producing PDFs with `@nxgt/material/print` and getting the file in one call (download, new tab, preview, server `Response`) — its own entry since 2.0.0, with optional peers, a bundling trap on SSR servers, and the `next.config.ts` a Next.js route handler (and `output: 'standalone'`) needs |
232
248
  | [Maps](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/maps.md) | using `@nxgt/material/map` — browser-only, optional leaflet peers, `map.css` |
233
249
  | [SSR](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/ssr.md) | rendering on a server: what the barrels guarantee, and `import()` + `clientOnly` for browser-only code |
234
250
  | [Helpers](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/helpers.md) | the non-component subpaths: `/lib`, `/hooks`, `/i18n`, `/models`, `/types`, `/dnd` |
@@ -495,6 +511,8 @@ The ones that cost the most time. Every error message, with its fix, is in
495
511
  | `ERESOLVE` / `Conflicting peer dependency: @react-pdf/renderer` after upgrading | `bun add @react-pdf/renderer@^4.9` ([troubleshooting](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/troubleshooting.md#conflicting-peer-dependency-react-pdfrenderer)) |
496
512
  | `renderToBuffer is a Node specific API` on a server, or PDFs fail on an edge runtime | render on Node 18+ or Bun, with react-pdf's Node build ([troubleshooting](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/troubleshooting.md#rendertobuffer-is-a-node-specific-api)) |
497
513
  | `Cannot find module '#standard-fonts/Helvetica'` on a built server | leave the library external, or `pdfkitStandardFonts()` ([printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#bundling-print-into-an-ssr-server)) |
514
+ | `(0 , t.createContext) is not a function` in `next build`, for a route handler that imports `/print` | `export default withNxgtPrint(config)` from `@nxgt/material/next`, or `serverExternalPackages: ['@nxgt/material']` by hand ([troubleshooting](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/troubleshooting.md#typeerror-0--tcreatecontext-is-not-a-function-in-a-nextjs-route-handler)) |
515
+ | Next.js `output: 'standalone'`: the PDF route answers `500`, `Cannot find module '…/pdfkit/js/standard-fonts/Helvetica.cjs'` | `withNxgtPrint(config)` from `@nxgt/material/next`, or pdfkit's `.cjs` fonts in `outputFileTracingIncludes` by hand ([printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#nextjs-serverexternalpackages-and-output-standalone)) |
498
516
 
499
517
  ## Documentation
500
518
 
@@ -1,4 +1,4 @@
1
- import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-BfyVF7Ej.js";
1
+ import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-Cfug7hC5.js";
2
2
  //#region ../../node_modules/lodash-es/_isIndex.js
3
3
  var l = 9007199254740991, u = /^(?:0|[1-9]\d*)$/;
4
4
  function d(e, t) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./graphlib-DovxbouT.js";
1
+ import { t as e } from "./graphlib-DvOFXJbI.js";
2
2
  import { n as t, t as n } from "./src-CJ8DNrI1.js";
3
3
  import { A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, L as f, M as p, N as m, O as h, P as g, R as _, T as v, U as ee, V as y, W as b, b as x, j as S, k as C, l as w, v as T, w as E, z as D } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
4
4
  import { n as O } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -12,7 +12,7 @@ import "./chunk-7PRAP22T-DIiYRAce.js";
12
12
  import { i as se, n as ce, o as le, r as ue, s as de } from "./chunk-J5ZVWO5B-DmRRmhon.js";
13
13
  import "./chunk-7INBJB4K-Dg64CbhT.js";
14
14
  import { i as fe, r as pe } from "./chunk-5DYCD2WN-Bqi3iL5i.js";
15
- import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-CJmPL4k9.js";
15
+ import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-DcqSgI9Q.js";
16
16
  //#region ../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
17
17
  function ve(e) {
18
18
  return Array.isArray(e);
@@ -1,11 +1,11 @@
1
- import { t as e } from "./graphlib-DovxbouT.js";
1
+ import { t as e } from "./graphlib-DvOFXJbI.js";
2
2
  import { n as t } from "./src-CJ8DNrI1.js";
3
3
  import { g as n } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
4
4
  import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
5
  import { b as i, x as a } from "./chunk-O7XYJQB3-C87zK8E5.js";
6
6
  import { o } from "./chunk-7INBJB4K-Dg64CbhT.js";
7
7
  import { i as s, n as c, r as l, t as u } from "./chunk-5DYCD2WN-Bqi3iL5i.js";
8
- import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-CJmPL4k9.js";
8
+ import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-DcqSgI9Q.js";
9
9
  import { r as v, t as y } from "./chunk-UA2S7LBM-B0LGFGu3.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3FUC2YCW.mjs
11
11
  function b(e, { edgePathsClass: t = "edges edgePaths" } = {}) {
@@ -9,7 +9,7 @@ import { a as b } from "./chunk-7INBJB4K-Dg64CbhT.js";
9
9
  import { t as x } from "./chunk-GWA4HPMP-CmsxMX3A.js";
10
10
  import { t as S } from "./chunk-XXDRQBXY-Bq4sFnO2.js";
11
11
  import { t as C } from "./chunk-WEXAMYUT-C-QP0DFq.js";
12
- import { r as w, t as T } from "./chunk-GNY47TPC-BJperC1X.js";
12
+ import { r as w, t as T } from "./chunk-GNY47TPC-vOPvRE_8.js";
13
13
  import { n as E, t as D } from "./chunk-LNGE3PJU-DJjGTS7O.js";
14
14
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-7M6MHVWA.mjs
15
15
  var ie = "flowchart-", ae = class {
@@ -5,7 +5,7 @@ import { b as r, s as i } from "./chunk-O7XYJQB3-C87zK8E5.js";
5
5
  import { t as a } from "./chunk-DUW6YSOI-9R-v-IIp.js";
6
6
  import { o } from "./chunk-7INBJB4K-Dg64CbhT.js";
7
7
  import { r as s } from "./chunk-5DYCD2WN-Bqi3iL5i.js";
8
- import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-CJmPL4k9.js";
8
+ import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-DcqSgI9Q.js";
9
9
  import { r as f } from "./chunk-UA2S7LBM-B0LGFGu3.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-GNY47TPC.mjs
11
11
  var p = {
@@ -30,7 +30,7 @@ var p = {
30
30
  ], h = /* @__PURE__ */ Object.create(null), g = /* @__PURE__ */ n((e) => {
31
31
  for (let t of e) h[t.name] = t;
32
32
  }, "registerLayoutLoaders"), _ = /* @__PURE__ */ n(() => {
33
- let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-BALenDhN.js"), "loader");
33
+ let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-CuGpDp18.js"), "loader");
34
34
  return [{
35
35
  name: "elk",
36
36
  loader: e,
@@ -45,11 +45,11 @@ var p = {
45
45
  g([
46
46
  {
47
47
  name: "dagre",
48
- loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-B11jdkPL.js"), "loader")
48
+ loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-CXwkkHFr.js"), "loader")
49
49
  },
50
50
  {
51
51
  name: "swimlane",
52
- loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-C406S8ui.js"), "loader")
52
+ loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-DRQ2gho_.js"), "loader")
53
53
  },
54
54
  {
55
55
  name: "cose-bilkent",
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
2
- import { o as t } from "./chunk-Z7XXMR3K-CJmPL4k9.js";
2
+ import { o as t } from "./chunk-Z7XXMR3K-DcqSgI9Q.js";
3
3
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NETBCI7D.mjs
4
4
  var n = 5, r = 1e-5, i = 2, a = .6, o = 1e-6;
5
5
  function s(e) {
@@ -1,4 +1,4 @@
1
- import { st as e } from "./components-CRrswCsD.js";
1
+ import { st as e } from "./components-NLbPtyeB.js";
2
2
  import { n as t, t as n } from "./src-CJ8DNrI1.js";
3
3
  import { _ as r, a as i, i as a, n as o, o as s, p as c, r as l, t as u, u as d, v as f } from "./step-Dt43c9X4.js";
4
4
  import { K as p, g as m, q as h, u as g } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
@@ -9,12 +9,12 @@ import "./chunk-7PRAP22T-DIiYRAce.js";
9
9
  import { i as v, n as y, o as b, r as x } from "./chunk-J5ZVWO5B-DmRRmhon.js";
10
10
  import "./chunk-7INBJB4K-Dg64CbhT.js";
11
11
  import "./chunk-5DYCD2WN-Bqi3iL5i.js";
12
- import "./chunk-Z7XXMR3K-CJmPL4k9.js";
12
+ import "./chunk-Z7XXMR3K-DcqSgI9Q.js";
13
13
  import { t as S } from "./chunk-GWA4HPMP-CmsxMX3A.js";
14
14
  import { t as C } from "./chunk-XXDRQBXY-Bq4sFnO2.js";
15
15
  import { t as w } from "./chunk-WEXAMYUT-C-QP0DFq.js";
16
16
  import "./chunk-UA2S7LBM-B0LGFGu3.js";
17
- import { r as T, t as E } from "./chunk-GNY47TPC-BJperC1X.js";
17
+ import { r as T, t as E } from "./chunk-GNY47TPC-vOPvRE_8.js";
18
18
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-NBCMYWYE.mjs
19
19
  var D = (function() {
20
20
  var e = /* @__PURE__ */ i(function(e, t, n, r) {
@@ -1,5 +1,5 @@
1
- import { C as e, S as t, h as n, l as r, m as i, p as a, u as o, v as s, w as c, x as l } from "./translator-BfyVF7Ej.js";
2
- import { a as u, c as d, d as f, i as p, n as m, r as h, t as g, u as _ } from "./_Uint8Array-BDK6FjpM.js";
1
+ import { C as e, S as t, h as n, l as r, m as i, p as a, u as o, v as s, w as c, x as l } from "./translator-Cfug7hC5.js";
2
+ import { a as u, c as d, d as f, i as p, n as m, r as h, t as g, u as _ } from "./_Uint8Array-DEXn42kj.js";
3
3
  import { L as v } from "./number.utils-BiBN2hWJ.js";
4
4
  import { Suspense as y, createContext as b, createElement as x, useContext as ee, useEffect as te, useMemo as S, useReducer as ne, useState as re, useSyncExternalStore as ie } from "react";
5
5
  //#region ../../node_modules/lodash-es/_WeakMap.js