@nxgt/material 1.12.3 → 1.16.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 (151) hide show
  1. package/README.md +5 -1
  2. package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
  8. package/dist/channel-1fT-W0NS.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
  11. package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
  14. package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
  15. package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
  17. package/dist/chunk-7PRAP22T-C8rsGRvH.js +67 -0
  18. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  19. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  20. package/dist/chunk-GNY47TPC-d-Bi8r0p.js +75 -0
  21. package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
  22. package/dist/chunk-GWA4HPMP-B4pgM-E1.js +61 -0
  23. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  24. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  25. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  26. package/dist/chunk-MBY4JIJT-Dg6AeftH.js +1847 -0
  27. package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
  28. package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
  30. package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
  31. package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
  42. package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
  43. package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
  44. package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
  45. package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
  46. package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
  47. package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
  48. package/dist/dist-1DdJvBEt.js +50 -0
  49. package/dist/{dist-DGsPFADz.js → dist-DppLdkXt.js} +2 -2
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
  52. package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
  59. package/dist/graphlib-DFaO_iIU.js +372 -0
  60. package/dist/{hooks-BjSuqEof.js → hooks-C5xy0u03.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DmVqVJXj.js → i18n-Cech9IAc.js} +328 -843
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.js +976 -0
  71. package/dist/katex-BMQ6LGsM.js +21962 -0
  72. package/dist/lib/components/index.d.ts +4 -0
  73. package/dist/lib/components/ui/action-card.d.ts +1 -1
  74. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
  75. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  76. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  77. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  78. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  79. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  80. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
  81. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  82. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  83. package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
  84. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  85. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  86. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  87. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
  88. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  92. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  94. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  95. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  96. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  97. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  98. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  99. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  100. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  101. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  102. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  103. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  104. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  105. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  106. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  107. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  108. package/dist/lib/i18n/resources/index.d.ts +26 -0
  109. package/dist/lib/i18n/translator.d.ts +1 -1
  110. package/dist/{lib-B1KXma-r.js → lib-Bbw5QPoj.js} +472 -471
  111. package/dist/lib.js +2 -2
  112. package/dist/{main-Cw-Yaqo9.js → main-BjDU9FDM.js} +58614 -29566
  113. package/dist/main.js +6 -6
  114. package/dist/material.css +1 -1
  115. package/dist/math-C5EhTgJw.js +10 -0
  116. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  117. package/dist/mermaid.core-BI1sunfX.js +1096 -0
  118. package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
  119. package/dist/ordinal-DuP05kVQ.js +65 -0
  120. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  121. package/dist/path-Cjou0lUh.js +85 -0
  122. package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
  123. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  124. package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
  125. package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
  126. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  127. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  128. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  129. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  130. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  131. package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
  132. package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
  133. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  134. package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
  135. package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
  136. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  137. package/dist/src-B4npqWNl.js +1775 -0
  138. package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
  139. package/dist/step-B6KjpKgN.js +706 -0
  140. package/dist/string-B-ZWXCs2.js +392 -0
  141. package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
  142. package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
  143. package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
  144. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  145. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  146. package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
  147. package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
  148. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  149. package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
  150. package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
  151. package/package.json +7 -1
@@ -0,0 +1,275 @@
1
+ import { n as e } from "./src-B4npqWNl.js";
2
+ import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { b as n, z as r } from "./chunk-O7XYJQB3-md6vjVm4.js";
4
+ //#region node_modules/@iconify/utils/lib/icon/defaults.js
5
+ var i = Object.freeze({
6
+ left: 0,
7
+ top: 0,
8
+ width: 16,
9
+ height: 16
10
+ }), a = Object.freeze({
11
+ rotate: 0,
12
+ vFlip: !1,
13
+ hFlip: !1
14
+ }), o = Object.freeze({
15
+ ...i,
16
+ ...a
17
+ }), s = Object.freeze({
18
+ ...o,
19
+ body: "",
20
+ hidden: !1
21
+ }), c = Object.freeze({
22
+ width: null,
23
+ height: null
24
+ }), l = Object.freeze({
25
+ ...c,
26
+ ...a
27
+ }), u = (e, t, n, r = "") => {
28
+ let i = e.split(":");
29
+ if (e.slice(0, 1) === "@") {
30
+ if (i.length < 2 || i.length > 3) return null;
31
+ r = i.shift().slice(1);
32
+ }
33
+ if (i.length > 3 || !i.length) return null;
34
+ if (i.length > 1) {
35
+ let e = i.pop(), n = i.pop(), a = {
36
+ provider: i.length > 0 ? i[0] : r,
37
+ prefix: n,
38
+ name: e
39
+ };
40
+ return t && !d(a) ? null : a;
41
+ }
42
+ let a = i[0], o = a.split("-");
43
+ if (o.length > 1) {
44
+ let e = {
45
+ provider: r,
46
+ prefix: o.shift(),
47
+ name: o.join("-")
48
+ };
49
+ return t && !d(e) ? null : e;
50
+ }
51
+ if (n && r === "") {
52
+ let e = {
53
+ provider: r,
54
+ prefix: "",
55
+ name: a
56
+ };
57
+ return t && !d(e, n) ? null : e;
58
+ }
59
+ return null;
60
+ }, d = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1;
61
+ //#endregion
62
+ //#region node_modules/@iconify/utils/lib/icon/transformations.js
63
+ function f(e, t) {
64
+ let n = {};
65
+ !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
66
+ let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
67
+ return r && (n.rotate = r), n;
68
+ }
69
+ //#endregion
70
+ //#region node_modules/@iconify/utils/lib/icon/merge.js
71
+ function p(e, t) {
72
+ let n = f(e, t);
73
+ for (let r in s) r in a ? r in e && !(r in n) && (n[r] = a[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
74
+ return n;
75
+ }
76
+ //#endregion
77
+ //#region node_modules/@iconify/utils/lib/icon-set/tree.js
78
+ function m(e, t) {
79
+ let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
80
+ function a(e) {
81
+ if (n[e]) return i[e] = [];
82
+ if (!(e in i)) {
83
+ i[e] = null;
84
+ let t = r[e] && r[e].parent, n = t && a(t);
85
+ n && (i[e] = [t].concat(n));
86
+ }
87
+ return i[e];
88
+ }
89
+ return (t || Object.keys(n).concat(Object.keys(r))).forEach(a), i;
90
+ }
91
+ //#endregion
92
+ //#region node_modules/@iconify/utils/lib/icon-set/get-icon.js
93
+ function h(e, t, n) {
94
+ let r = e.icons, i = e.aliases || Object.create(null), a = {};
95
+ function o(e) {
96
+ a = p(r[e] || i[e], a);
97
+ }
98
+ return o(t), n.forEach(o), p(e, a);
99
+ }
100
+ function g(e, t) {
101
+ if (e.icons[t]) return h(e, t, []);
102
+ let n = m(e, [t])[t];
103
+ return n ? h(e, t, n) : null;
104
+ }
105
+ //#endregion
106
+ //#region node_modules/@iconify/utils/lib/svg/size.js
107
+ var _ = /(-?[0-9.]*[0-9]+[0-9.]*)/g, v = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
108
+ function y(e, t, n) {
109
+ if (t === 1) return e;
110
+ if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
111
+ if (typeof e != "string") return e;
112
+ let r = e.split(_);
113
+ if (r === null || !r.length) return e;
114
+ let i = [], a = r.shift(), o = v.test(a);
115
+ for (;;) {
116
+ if (o) {
117
+ let e = parseFloat(a);
118
+ isNaN(e) ? i.push(a) : i.push(Math.ceil(e * t * n) / n);
119
+ } else i.push(a);
120
+ if (a = r.shift(), a === void 0) return i.join("");
121
+ o = !o;
122
+ }
123
+ }
124
+ //#endregion
125
+ //#region node_modules/@iconify/utils/lib/svg/defs.js
126
+ function b(e, t = "defs") {
127
+ let n = "", r = e.indexOf("<" + t);
128
+ for (; r >= 0;) {
129
+ let i = e.indexOf(">", r), a = e.indexOf("</" + t);
130
+ if (i === -1 || a === -1) break;
131
+ let o = e.indexOf(">", a);
132
+ if (o === -1) break;
133
+ n += e.slice(i + 1, a).trim(), e = e.slice(0, r).trim() + e.slice(o + 1);
134
+ }
135
+ return {
136
+ defs: n,
137
+ content: e
138
+ };
139
+ }
140
+ function x(e, t) {
141
+ return e ? "<defs>" + e + "</defs>" + t : t;
142
+ }
143
+ function S(e, t, n) {
144
+ let r = b(e);
145
+ return x(r.defs, t + r.content + n);
146
+ }
147
+ //#endregion
148
+ //#region node_modules/@iconify/utils/lib/svg/build.js
149
+ var C = (e) => e === "unset" || e === "undefined" || e === "none";
150
+ function w(e, t) {
151
+ let n = {
152
+ ...o,
153
+ ...e
154
+ }, r = {
155
+ ...l,
156
+ ...t
157
+ }, i = {
158
+ left: n.left,
159
+ top: n.top,
160
+ width: n.width,
161
+ height: n.height
162
+ }, a = n.body;
163
+ [n, r].forEach((e) => {
164
+ let t = [], n = e.hFlip, r = e.vFlip, o = e.rotate;
165
+ n ? r ? o += 2 : (t.push("translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"), t.push("scale(-1 1)"), i.top = i.left = 0) : r && (t.push("translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"), t.push("scale(1 -1)"), i.top = i.left = 0);
166
+ let s;
167
+ switch (o < 0 && (o -= Math.floor(o / 4) * 4), o %= 4, o) {
168
+ case 1:
169
+ s = i.height / 2 + i.top, t.unshift("rotate(90 " + s.toString() + " " + s.toString() + ")");
170
+ break;
171
+ case 2:
172
+ t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
173
+ break;
174
+ case 3: s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
175
+ }
176
+ o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = S(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
177
+ });
178
+ let s = r.width, c = r.height, u = i.width, d = i.height, f, p;
179
+ s === null ? (p = c === null ? "1em" : c === "auto" ? d : c, f = y(p, u / d)) : (f = s === "auto" ? u : s, p = c === null ? y(f, d / u) : c === "auto" ? d : c);
180
+ let m = {}, h = (e, t) => {
181
+ C(t) || (m[e] = t.toString());
182
+ };
183
+ h("width", f), h("height", p);
184
+ let g = [
185
+ i.left,
186
+ i.top,
187
+ u,
188
+ d
189
+ ];
190
+ return m.viewBox = g.join(" "), {
191
+ attributes: m,
192
+ viewBox: g,
193
+ body: a
194
+ };
195
+ }
196
+ //#endregion
197
+ //#region node_modules/@iconify/utils/lib/svg/id.js
198
+ var T = /\sid="(\S+)"/g, E = /* @__PURE__ */ new Map();
199
+ function D(e) {
200
+ e = e.replace(/[0-9]+$/, "") || "a";
201
+ let t = E.get(e) || 0;
202
+ return E.set(e, t + 1), t ? `${e}${t}` : e;
203
+ }
204
+ function O(e) {
205
+ let t = [], n;
206
+ for (; n = T.exec(e);) t.push(n[1]);
207
+ if (!t.length) return e;
208
+ let r = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
209
+ return t.forEach((t) => {
210
+ let n = D(t), i = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
211
+ e = e.replace(RegExp("([#;\"])(" + i + ")([\")]|\\.[a-z])", "g"), "$1" + n + r + "$3");
212
+ }), e = e.replace(new RegExp(r, "g"), ""), e;
213
+ }
214
+ //#endregion
215
+ //#region node_modules/@iconify/utils/lib/svg/html.js
216
+ function k(e, t) {
217
+ let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
218
+ for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
219
+ return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
220
+ }
221
+ //#endregion
222
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-742MDFTN.mjs
223
+ var A = {
224
+ body: "<g><rect width=\"80\" height=\"80\" style=\"fill: #087ebf; stroke-width: 0px;\"/><text transform=\"translate(21.16 64.67)\" style=\"fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;\"><tspan x=\"0\" y=\"0\">?</tspan></text></g>",
225
+ height: 80,
226
+ width: 80
227
+ }, j = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ t((t) => {
228
+ for (let n of t) {
229
+ if (!n.name) throw Error("Invalid icon loader. Must have a \"name\" property with non-empty string value.");
230
+ if (e.debug("Registering icon pack:", n.name), "loader" in n) M.set(n.name, n.loader);
231
+ else if ("icons" in n) j.set(n.name, n.icons);
232
+ else throw e.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
233
+ }
234
+ }, "registerIconPacks"), P = /* @__PURE__ */ t(async (t, n) => {
235
+ let r = u(t, !0, n !== void 0);
236
+ if (!r) throw Error(`Invalid icon name: ${t}`);
237
+ let i = r.prefix || n;
238
+ if (!i) throw Error(`Icon name must contain a prefix: ${t}`);
239
+ let a = j.get(i);
240
+ if (!a) {
241
+ let t = M.get(i);
242
+ if (!t) throw Error(`Icon set not found: ${r.prefix}`);
243
+ try {
244
+ a = {
245
+ ...await t(),
246
+ prefix: i
247
+ }, j.set(i, a);
248
+ } catch (t) {
249
+ throw e.error(t), Error(`Failed to load icon set: ${r.prefix}`);
250
+ }
251
+ }
252
+ let o = g(a, r.name);
253
+ if (!o) throw Error(`Icon not found: ${t}`);
254
+ return o;
255
+ }, "getRegisteredIconData"), F = /* @__PURE__ */ t(async (e) => {
256
+ try {
257
+ return await P(e), !0;
258
+ } catch {
259
+ return !1;
260
+ }
261
+ }, "isIconAvailable"), I = /* @__PURE__ */ t(async (t, i, a) => {
262
+ let o;
263
+ try {
264
+ o = await P(t, i?.fallbackPrefix);
265
+ } catch (t) {
266
+ e.error(t), o = A;
267
+ }
268
+ let s = w(o, i);
269
+ return r(k(O(s.body), {
270
+ ...s.attributes,
271
+ ...a
272
+ }), n());
273
+ }, "getIconSVG");
274
+ //#endregion
275
+ export { A as i, F as n, N as r, I as t };