toolbox-x 1.0.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 (190) hide show
  1. package/LICENSE +201 -0
  2. package/dist/Color-B3mgF9Dh.d.cts +486 -0
  3. package/dist/Color-D38Xrw65.d.mts +486 -0
  4. package/dist/Stylog-Df7eq3-j.d.cts +519 -0
  5. package/dist/Stylog-jvlLcMQq.d.mts +519 -0
  6. package/dist/array-DvW0zIu6.d.mts +130 -0
  7. package/dist/array-rUnEVisO.d.cts +130 -0
  8. package/dist/basics-D_eSv0cu.cjs +132 -0
  9. package/dist/basics-Dp_aEK81.mjs +115 -0
  10. package/dist/basics-WEYWlnRO.d.cts +95 -0
  11. package/dist/basics-uBSfkBEI.d.mts +95 -0
  12. package/dist/case-BWIt8Ash.mjs +449 -0
  13. package/dist/case-C-S-b5YP.d.cts +327 -0
  14. package/dist/case-CS8Ii3A7.cjs +526 -0
  15. package/dist/case-CybASFPD.d.mts +327 -0
  16. package/dist/change-case.cjs +32 -0
  17. package/dist/change-case.d.cts +18 -0
  18. package/dist/change-case.d.mts +18 -0
  19. package/dist/change-case.mjs +19 -0
  20. package/dist/colors.cjs +574 -0
  21. package/dist/colors.d.cts +355 -0
  22. package/dist/colors.d.mts +355 -0
  23. package/dist/colors.mjs +547 -0
  24. package/dist/constants-2gAw23_7.mjs +144 -0
  25. package/dist/constants-B34K0QPi.d.cts +21 -0
  26. package/dist/constants-BIBDKY1u.cjs +924 -0
  27. package/dist/constants-BWT-810U.cjs +158 -0
  28. package/dist/constants-BwbHnXlM.mjs +662 -0
  29. package/dist/constants-BxN9l5el.cjs +74 -0
  30. package/dist/constants-CLS_bgKD.d.mts +847 -0
  31. package/dist/constants-D73iFu8g.mjs +171 -0
  32. package/dist/constants-DAfRxaa8.mjs +62 -0
  33. package/dist/constants-DQYeCjlx.cjs +207 -0
  34. package/dist/constants-Deeie-iH.d.mts +21 -0
  35. package/dist/constants-DpTG9RP6.d.mts +29 -0
  36. package/dist/constants-DqwnkJ_d.cjs +740 -0
  37. package/dist/constants-DvRUY_FY.cjs +150 -0
  38. package/dist/constants-VcRtQu0K.d.cts +29 -0
  39. package/dist/constants-X5hm1UtB.mjs +912 -0
  40. package/dist/constants-eNd-iYsV.mjs +134 -0
  41. package/dist/constants-qm8FafmD.d.cts +847 -0
  42. package/dist/constants.cjs +415 -0
  43. package/dist/constants.d.cts +184 -0
  44. package/dist/constants.d.mts +184 -0
  45. package/dist/constants.mjs +378 -0
  46. package/dist/convert-BOCgUv2D.cjs +252 -0
  47. package/dist/convert-Bn4jFomQ.mjs +169 -0
  48. package/dist/convert-BrzlG-m_.cjs +475 -0
  49. package/dist/convert-DhaUoPVU.mjs +368 -0
  50. package/dist/converter-1P90_RcP.d.mts +402 -0
  51. package/dist/converter-CmkcAppi.d.cts +402 -0
  52. package/dist/converter.cjs +780 -0
  53. package/dist/converter.d.cts +29 -0
  54. package/dist/converter.d.mts +29 -0
  55. package/dist/converter.mjs +771 -0
  56. package/dist/countries-CIpmtEzV.cjs +1469 -0
  57. package/dist/countries-Cy0xiqS3.mjs +1463 -0
  58. package/dist/css-colors-Bx947Ng3.d.cts +179 -0
  59. package/dist/css-colors-CXCDqQbG.cjs +186 -0
  60. package/dist/css-colors-CXTp1vvy.d.mts +179 -0
  61. package/dist/css-colors-DfUW3nTR.mjs +180 -0
  62. package/dist/date.cjs +332 -0
  63. package/dist/date.d.cts +213 -0
  64. package/dist/date.d.mts +213 -0
  65. package/dist/date.mjs +298 -0
  66. package/dist/dom.cjs +461 -0
  67. package/dist/dom.d.cts +228 -0
  68. package/dist/dom.d.mts +228 -0
  69. package/dist/dom.mjs +429 -0
  70. package/dist/form-BMFVGUrN.d.mts +118 -0
  71. package/dist/form-DRFbryvK.d.cts +118 -0
  72. package/dist/guards-3kaUX66g.mjs +157 -0
  73. package/dist/guards-C8gkvIHb.cjs +240 -0
  74. package/dist/guards-DdyU4h4o.mjs +110 -0
  75. package/dist/guards-Efhp1mNy.cjs +151 -0
  76. package/dist/guards.cjs +172 -0
  77. package/dist/guards.d.cts +399 -0
  78. package/dist/guards.d.mts +399 -0
  79. package/dist/guards.mjs +75 -0
  80. package/dist/hash-B6JPEyAz.d.mts +131 -0
  81. package/dist/hash-NTpeKYB_.d.cts +131 -0
  82. package/dist/hash.cjs +2126 -0
  83. package/dist/hash.d.cts +1239 -0
  84. package/dist/hash.d.mts +1239 -0
  85. package/dist/hash.mjs +2095 -0
  86. package/dist/http-status-BAZdtr7-.d.mts +65 -0
  87. package/dist/http-status-U_3MtoGb.d.cts +65 -0
  88. package/dist/http-status.cjs +173 -0
  89. package/dist/http-status.d.cts +142 -0
  90. package/dist/http-status.d.mts +142 -0
  91. package/dist/http-status.mjs +171 -0
  92. package/dist/index.cjs +2551 -0
  93. package/dist/index.d.cts +1493 -0
  94. package/dist/index.d.mts +1493 -0
  95. package/dist/index.mjs +2357 -0
  96. package/dist/object-B0TV3eHx.d.mts +8052 -0
  97. package/dist/object-Blq0Amdv.d.cts +8052 -0
  98. package/dist/objectify-CDs0Fbr1.mjs +417 -0
  99. package/dist/objectify-DIJ-OBmo.cjs +524 -0
  100. package/dist/paginator.cjs +245 -0
  101. package/dist/paginator.d.cts +144 -0
  102. package/dist/paginator.d.mts +144 -0
  103. package/dist/paginator.mjs +243 -0
  104. package/dist/parse-2ubxXZRp.cjs +211 -0
  105. package/dist/parse-N7g942uy.mjs +164 -0
  106. package/dist/pluralizer-BjMIc6uT.d.mts +42 -0
  107. package/dist/pluralizer-Cb6ZmrDl.d.cts +42 -0
  108. package/dist/pluralizer.cjs +678 -0
  109. package/dist/pluralizer.d.cts +152 -0
  110. package/dist/pluralizer.d.mts +152 -0
  111. package/dist/pluralizer.mjs +676 -0
  112. package/dist/primitives-B26uZolQ.cjs +228 -0
  113. package/dist/primitives-KsFUp3kQ.mjs +144 -0
  114. package/dist/specials-D48_IZbd.d.mts +108 -0
  115. package/dist/specials-DzLr1ZgU.cjs +477 -0
  116. package/dist/specials-LVONlKbQ.d.cts +108 -0
  117. package/dist/specials-uhDuRg8H.mjs +292 -0
  118. package/dist/string-CBAbxaG1.d.mts +258 -0
  119. package/dist/string-CsNsm_65.d.cts +258 -0
  120. package/dist/stylog.cjs +621 -0
  121. package/dist/stylog.d.cts +49 -0
  122. package/dist/stylog.d.mts +49 -0
  123. package/dist/stylog.mjs +614 -0
  124. package/dist/timezone-B2OYK6Fh.mjs +5589 -0
  125. package/dist/timezone-Beh9IGpw.cjs +5625 -0
  126. package/dist/types/array.cjs +16 -0
  127. package/dist/types/array.d.cts +18 -0
  128. package/dist/types/array.d.mts +18 -0
  129. package/dist/types/array.mjs +17 -0
  130. package/dist/types/colors.cjs +16 -0
  131. package/dist/types/colors.d.cts +18 -0
  132. package/dist/types/colors.d.mts +18 -0
  133. package/dist/types/colors.mjs +17 -0
  134. package/dist/types/converter.cjs +16 -0
  135. package/dist/types/converter.d.cts +18 -0
  136. package/dist/types/converter.d.mts +18 -0
  137. package/dist/types/converter.mjs +17 -0
  138. package/dist/types/form.cjs +16 -0
  139. package/dist/types/form.d.cts +18 -0
  140. package/dist/types/form.d.mts +18 -0
  141. package/dist/types/form.mjs +17 -0
  142. package/dist/types/hash.cjs +16 -0
  143. package/dist/types/hash.d.cts +18 -0
  144. package/dist/types/hash.d.mts +18 -0
  145. package/dist/types/hash.mjs +17 -0
  146. package/dist/types/http-status.cjs +16 -0
  147. package/dist/types/http-status.d.cts +18 -0
  148. package/dist/types/http-status.d.mts +18 -0
  149. package/dist/types/http-status.mjs +17 -0
  150. package/dist/types/index.cjs +16 -0
  151. package/dist/types/index.d.cts +18 -0
  152. package/dist/types/index.d.mts +18 -0
  153. package/dist/types/index.mjs +17 -0
  154. package/dist/types/number.cjs +16 -0
  155. package/dist/types/number.d.cts +18 -0
  156. package/dist/types/number.d.mts +18 -0
  157. package/dist/types/number.mjs +17 -0
  158. package/dist/types/object.cjs +16 -0
  159. package/dist/types/object.d.cts +18 -0
  160. package/dist/types/object.d.mts +18 -0
  161. package/dist/types/object.mjs +17 -0
  162. package/dist/types/pluralizer.cjs +16 -0
  163. package/dist/types/pluralizer.d.cts +18 -0
  164. package/dist/types/pluralizer.d.mts +18 -0
  165. package/dist/types/pluralizer.mjs +17 -0
  166. package/dist/types/string.cjs +16 -0
  167. package/dist/types/string.d.cts +18 -0
  168. package/dist/types/string.d.mts +18 -0
  169. package/dist/types/string.mjs +17 -0
  170. package/dist/types/stylog.cjs +16 -0
  171. package/dist/types/stylog.d.cts +18 -0
  172. package/dist/types/stylog.d.mts +18 -0
  173. package/dist/types/stylog.mjs +17 -0
  174. package/dist/types/utils.cjs +16 -0
  175. package/dist/types/utils.d.cts +18 -0
  176. package/dist/types/utils.d.mts +18 -0
  177. package/dist/types/utils.mjs +17 -0
  178. package/dist/types/verbalizer.cjs +16 -0
  179. package/dist/types/verbalizer.d.cts +30 -0
  180. package/dist/types/verbalizer.d.mts +30 -0
  181. package/dist/types/verbalizer.mjs +17 -0
  182. package/dist/utilities-CLUmdQeV.cjs +140 -0
  183. package/dist/utilities-m5yFKqLd.mjs +105 -0
  184. package/dist/utils-ClW9LA6f.mjs +449 -0
  185. package/dist/utils-DLFRgXUC.cjs +568 -0
  186. package/dist/verbalizer.cjs +998 -0
  187. package/dist/verbalizer.d.cts +148 -0
  188. package/dist/verbalizer.d.mts +148 -0
  189. package/dist/verbalizer.mjs +996 -0
  190. package/package.json +249 -0
@@ -0,0 +1,740 @@
1
+ /**
2
+ * Copyright 2026 - present Nazmul Hassan
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ //#region src/number/constants.ts
19
+ const ONES = /* @__PURE__ */ Object.freeze([
20
+ "",
21
+ "one",
22
+ "two",
23
+ "three",
24
+ "four",
25
+ "five",
26
+ "six",
27
+ "seven",
28
+ "eight",
29
+ "nine"
30
+ ]);
31
+ const TEENS = /* @__PURE__ */ Object.freeze([
32
+ "ten",
33
+ "eleven",
34
+ "twelve",
35
+ "thirteen",
36
+ "fourteen",
37
+ "fifteen",
38
+ "sixteen",
39
+ "seventeen",
40
+ "eighteen",
41
+ "nineteen"
42
+ ]);
43
+ const TENS = /* @__PURE__ */ Object.freeze([
44
+ "",
45
+ "ten",
46
+ "twenty",
47
+ "thirty",
48
+ "forty",
49
+ "fifty",
50
+ "sixty",
51
+ "seventy",
52
+ "eighty",
53
+ "ninety"
54
+ ]);
55
+ const THOUSANDS = /* @__PURE__ */ Object.freeze([
56
+ "",
57
+ "thousand",
58
+ "million",
59
+ "billion",
60
+ "trillion",
61
+ "quadrillion",
62
+ "quintillion"
63
+ ]);
64
+ /** Ordinal numbers (0-12) in words against the corresponding cardinal variant */
65
+ const ORDINAL_UNDER_TEEN = /* @__PURE__ */ Object.freeze({
66
+ zero: "zeroth",
67
+ one: "first",
68
+ two: "second",
69
+ three: "third",
70
+ four: "fourth",
71
+ five: "fifth",
72
+ six: "sixth",
73
+ seven: "seventh",
74
+ eight: "eighth",
75
+ nine: "ninth",
76
+ ten: "tenth",
77
+ eleven: "eleventh",
78
+ twelve: "twelfth"
79
+ });
80
+ /** Ordinals that don't cleanly map by suffix alone */
81
+ const ORDINAL_TO_CARDINAL = /* @__PURE__ */ Object.freeze({
82
+ first: "one",
83
+ second: "two",
84
+ third: "three",
85
+ fourth: "four",
86
+ fifth: "five",
87
+ sixth: "six",
88
+ seventh: "seven",
89
+ eighth: "eight",
90
+ ninth: "nine",
91
+ tenth: "ten",
92
+ eleventh: "eleven",
93
+ twelfth: "twelve",
94
+ thirteenth: "thirteen",
95
+ fourteenth: "fourteen",
96
+ fifteenth: "fifteen",
97
+ sixteenth: "sixteen",
98
+ seventeenth: "seventeen",
99
+ eighteenth: "eighteen",
100
+ nineteenth: "nineteen",
101
+ twentieth: "twenty",
102
+ thirtieth: "thirty",
103
+ fortieth: "forty",
104
+ fiftieth: "fifty",
105
+ sixtieth: "sixty",
106
+ seventieth: "seventy",
107
+ eightieth: "eighty",
108
+ ninetieth: "ninety"
109
+ });
110
+ /** List of ISO 4217 currency codes */
111
+ const CURRENCY_CODES = /* @__PURE__ */ Object.freeze([
112
+ "AED",
113
+ "AFN",
114
+ "ALL",
115
+ "AMD",
116
+ "ANG",
117
+ "AOA",
118
+ "ARS",
119
+ "AUD",
120
+ "AWG",
121
+ "AZN",
122
+ "BAM",
123
+ "BBD",
124
+ "BDT",
125
+ "BGN",
126
+ "BHD",
127
+ "BIF",
128
+ "BMD",
129
+ "BND",
130
+ "BOB",
131
+ "BRL",
132
+ "BSD",
133
+ "BTN",
134
+ "BWP",
135
+ "BYN",
136
+ "BZD",
137
+ "CAD",
138
+ "CDF",
139
+ "CHF",
140
+ "CLP",
141
+ "CNY",
142
+ "COP",
143
+ "CRC",
144
+ "CUP",
145
+ "CVE",
146
+ "CZK",
147
+ "DJF",
148
+ "DKK",
149
+ "DOP",
150
+ "DZD",
151
+ "EGP",
152
+ "ERN",
153
+ "ETB",
154
+ "EUR",
155
+ "FJD",
156
+ "FKP",
157
+ "FOK",
158
+ "GBP",
159
+ "GEL",
160
+ "GGP",
161
+ "GHS",
162
+ "GIP",
163
+ "GMD",
164
+ "GNF",
165
+ "GTQ",
166
+ "GYD",
167
+ "HKD",
168
+ "HNL",
169
+ "HRK",
170
+ "HTG",
171
+ "HUF",
172
+ "IDR",
173
+ "ILS",
174
+ "IMP",
175
+ "INR",
176
+ "IQD",
177
+ "IRR",
178
+ "ISK",
179
+ "JEP",
180
+ "JMD",
181
+ "JOD",
182
+ "JPY",
183
+ "KES",
184
+ "KGS",
185
+ "KHR",
186
+ "KID",
187
+ "KMF",
188
+ "KRW",
189
+ "KWD",
190
+ "KYD",
191
+ "KZT",
192
+ "LAK",
193
+ "LBP",
194
+ "LKR",
195
+ "LRD",
196
+ "LSL",
197
+ "LYD",
198
+ "MAD",
199
+ "MDL",
200
+ "MGA",
201
+ "MKD",
202
+ "MMK",
203
+ "MNT",
204
+ "MOP",
205
+ "MRU",
206
+ "MUR",
207
+ "MVR",
208
+ "MWK",
209
+ "MXN",
210
+ "MYR",
211
+ "MZN",
212
+ "NAD",
213
+ "NGN",
214
+ "NIO",
215
+ "NOK",
216
+ "NPR",
217
+ "NZD",
218
+ "OMR",
219
+ "PAB",
220
+ "PEN",
221
+ "PGK",
222
+ "PHP",
223
+ "PKR",
224
+ "PLN",
225
+ "PYG",
226
+ "QAR",
227
+ "RON",
228
+ "RSD",
229
+ "RUB",
230
+ "RWF",
231
+ "SAR",
232
+ "SBD",
233
+ "SCR",
234
+ "SDG",
235
+ "SEK",
236
+ "SGD",
237
+ "SHP",
238
+ "SLE",
239
+ "SOS",
240
+ "SRD",
241
+ "SSP",
242
+ "STN",
243
+ "SYP",
244
+ "SZL",
245
+ "THB",
246
+ "TJS",
247
+ "TMT",
248
+ "TND",
249
+ "TOP",
250
+ "TRY",
251
+ "TTD",
252
+ "TVD",
253
+ "TWD",
254
+ "TZS",
255
+ "UAH",
256
+ "UGX",
257
+ "USD",
258
+ "UYU",
259
+ "UZS",
260
+ "VES",
261
+ "VND",
262
+ "VUV",
263
+ "WST",
264
+ "YER",
265
+ "ZAR",
266
+ "ZMW",
267
+ "ZWL"
268
+ ]);
269
+ /** List of all supported BCP 47 locales */
270
+ const LOCALE_CODES = /* @__PURE__ */ Object.freeze([
271
+ "af-ZA",
272
+ "am-ET",
273
+ "ar-AE",
274
+ "ar-BH",
275
+ "ar-DZ",
276
+ "ar-EG",
277
+ "ar-IQ",
278
+ "ar-JO",
279
+ "ar-KW",
280
+ "ar-LB",
281
+ "ar-LY",
282
+ "ar-MA",
283
+ "ar-OM",
284
+ "ar-QA",
285
+ "ar-SA",
286
+ "ar-SD",
287
+ "ar-SY",
288
+ "ar-TN",
289
+ "ar-YE",
290
+ "az-AZ",
291
+ "be-BY",
292
+ "bg-BG",
293
+ "bn-BD",
294
+ "bn-IN",
295
+ "bs-BA",
296
+ "ca-ES",
297
+ "cs-CZ",
298
+ "cy-GB",
299
+ "da-DK",
300
+ "de-AT",
301
+ "de-CH",
302
+ "de-DE",
303
+ "el-GR",
304
+ "en-AU",
305
+ "en-CA",
306
+ "en-GB",
307
+ "en-IE",
308
+ "en-IN",
309
+ "en-NZ",
310
+ "en-PH",
311
+ "en-SG",
312
+ "en-US",
313
+ "en-ZA",
314
+ "es-AR",
315
+ "es-BO",
316
+ "es-CL",
317
+ "es-CO",
318
+ "es-CR",
319
+ "es-DO",
320
+ "es-EC",
321
+ "es-ES",
322
+ "es-GT",
323
+ "es-HN",
324
+ "es-MX",
325
+ "es-NI",
326
+ "es-PA",
327
+ "es-PE",
328
+ "es-PR",
329
+ "es-PY",
330
+ "es-SV",
331
+ "es-US",
332
+ "es-UY",
333
+ "es-VE",
334
+ "et-EE",
335
+ "eu-ES",
336
+ "fa-IR",
337
+ "fi-FI",
338
+ "fil-PH",
339
+ "fr-BE",
340
+ "fr-CA",
341
+ "fr-CH",
342
+ "fr-FR",
343
+ "ga-IE",
344
+ "gl-ES",
345
+ "gu-IN",
346
+ "he-IL",
347
+ "hi-IN",
348
+ "hr-HR",
349
+ "hu-HU",
350
+ "hy-AM",
351
+ "id-ID",
352
+ "is-IS",
353
+ "it-CH",
354
+ "it-IT",
355
+ "ja-JP",
356
+ "ka-GE",
357
+ "kk-KZ",
358
+ "km-KH",
359
+ "kn-IN",
360
+ "ko-KR",
361
+ "ky-KG",
362
+ "lt-LT",
363
+ "lv-LV",
364
+ "mk-MK",
365
+ "ml-IN",
366
+ "mn-MN",
367
+ "mr-IN",
368
+ "ms-MY",
369
+ "mt-MT",
370
+ "nb-NO",
371
+ "ne-NP",
372
+ "nl-BE",
373
+ "nl-NL",
374
+ "pl-PL",
375
+ "pt-BR",
376
+ "pt-PT",
377
+ "ro-RO",
378
+ "ru-RU",
379
+ "sk-SK",
380
+ "sl-SI",
381
+ "sq-AL",
382
+ "sr-Latn",
383
+ "sv-SE",
384
+ "sw-KE",
385
+ "ta-IN",
386
+ "te-IN",
387
+ "th-TH",
388
+ "tr-TR",
389
+ "uk-UA",
390
+ "ur-PK",
391
+ "uz-UZ",
392
+ "vi-VN",
393
+ "zh-CN",
394
+ "zh-HK",
395
+ "zh-TW"
396
+ ]);
397
+ /** Mapping of CurrencyCodes to `LocaleCodes` */
398
+ const CURRENCY_LOCALES = /* @__PURE__ */ Object.freeze({
399
+ AED: "ar-AE",
400
+ AFN: "fa-IR",
401
+ ALL: "sq-AL",
402
+ AMD: "hy-AM",
403
+ ANG: "nl-NL",
404
+ AOA: "pt-AO",
405
+ ARS: "es-AR",
406
+ AUD: "en-AU",
407
+ AWG: "nl-AW",
408
+ AZN: "az-AZ",
409
+ BAM: "bs-BA",
410
+ BBD: "en-BB",
411
+ BDT: "bn-BD",
412
+ BGN: "bg-BG",
413
+ BHD: "ar-BH",
414
+ BIF: "fr-BI",
415
+ BMD: "en-BM",
416
+ BND: "ms-BN",
417
+ BOB: "es-BO",
418
+ BRL: "pt-BR",
419
+ BSD: "en-BS",
420
+ BTN: "dz-BT",
421
+ BWP: "en-BW",
422
+ BYN: "be-BY",
423
+ BZD: "es-BZ",
424
+ CAD: "fr-CA",
425
+ CDF: "fr-CD",
426
+ CHF: "fr-CH",
427
+ CLP: "es-CL",
428
+ CNY: "zh-CN",
429
+ COP: "es-CO",
430
+ CRC: "es-CR",
431
+ CUP: "es-CU",
432
+ CVE: "pt-CV",
433
+ CZK: "cs-CZ",
434
+ DJF: "fr-DJ",
435
+ DKK: "da-DK",
436
+ DOP: "es-DO",
437
+ DZD: "ar-DZ",
438
+ EGP: "ar-EG",
439
+ ERN: "ti-ER",
440
+ ETB: "am-ET",
441
+ EUR: "de-DE",
442
+ FJD: "en-FJ",
443
+ FKP: "en-FK",
444
+ FOK: "fo-FO",
445
+ GBP: "en-GB",
446
+ GEL: "ka-GE",
447
+ GGP: "en-GG",
448
+ GHS: "ak-GH",
449
+ GIP: "en-GI",
450
+ GMD: "en-GM",
451
+ GNF: "fr-GN",
452
+ GTQ: "es-GT",
453
+ GYD: "en-GY",
454
+ HKD: "zh-HK",
455
+ HNL: "es-HN",
456
+ HRK: "hr-HR",
457
+ HTG: "ht-HT",
458
+ HUF: "hu-HU",
459
+ IDR: "id-ID",
460
+ ILS: "he-IL",
461
+ IMP: "en-IM",
462
+ INR: "hi-IN",
463
+ IQD: "ar-IQ",
464
+ IRR: "fa-IR",
465
+ ISK: "is-IS",
466
+ JEP: "en-JE",
467
+ JMD: "en-JM",
468
+ JOD: "ar-JO",
469
+ JPY: "ja-JP",
470
+ KES: "sw-KE",
471
+ KGS: "ky-KG",
472
+ KHR: "km-KH",
473
+ KID: "en-KI",
474
+ KMF: "fr-KM",
475
+ KRW: "ko-KR",
476
+ KWD: "ar-KW",
477
+ KYD: "en-KY",
478
+ KZT: "kk-KZ",
479
+ LAK: "lo-LA",
480
+ LBP: "ar-LB",
481
+ LKR: "si-LK",
482
+ LRD: "en-LR",
483
+ LSL: "st-LS",
484
+ LYD: "ar-LY",
485
+ MAD: "ar-MA",
486
+ MDL: "ro-RO",
487
+ MGA: "mg-MG",
488
+ MKD: "mk-MK",
489
+ MMK: "my-MM",
490
+ MNT: "mn-MN",
491
+ MOP: "pt-MO",
492
+ MRU: "ar-MA",
493
+ MUR: "en-MU",
494
+ MVR: "dv-MV",
495
+ MWK: "ny-MW",
496
+ MXN: "es-MX",
497
+ MYR: "ms-MY",
498
+ MZN: "pt-MZ",
499
+ NAD: "en-NA",
500
+ NGN: "en-NG",
501
+ NIO: "es-NI",
502
+ NOK: "no-NO",
503
+ NPR: "ne-NP",
504
+ NZD: "en-NZ",
505
+ OMR: "ar-OM",
506
+ PAB: "es-PA",
507
+ PEN: "es-PE",
508
+ PGK: "en-PG",
509
+ PHP: "fil-PH",
510
+ PKR: "ur-PK",
511
+ PLN: "pl-PL",
512
+ PYG: "es-PY",
513
+ QAR: "ar-QA",
514
+ RON: "ro-RO",
515
+ RSD: "sr-RS",
516
+ RUB: "ru-RU",
517
+ RWF: "rw-RW",
518
+ SAR: "ar-SA",
519
+ SBD: "en-SB",
520
+ SCR: "en-SC",
521
+ SDG: "ar-SD",
522
+ SEK: "sv-SE",
523
+ SGD: "en-SG",
524
+ SHP: "en-SH",
525
+ SLE: "en-SL",
526
+ SOS: "so-SO",
527
+ SRD: "nl-SR",
528
+ SSP: "en-SS",
529
+ STN: "st-ST",
530
+ SYP: "ar-SY",
531
+ SZL: "en-SZ",
532
+ THB: "th-TH",
533
+ TJS: "tg-TJ",
534
+ TMT: "tk-TM",
535
+ TND: "ar-TN",
536
+ TOP: "to-TO",
537
+ TRY: "tr-TR",
538
+ TTD: "en-TT",
539
+ TVD: "en-TV",
540
+ TWD: "zh-TW",
541
+ TZS: "sw-TZ",
542
+ UAH: "uk-UA",
543
+ UGX: "sw-UG",
544
+ USD: "en-US",
545
+ UYU: "es-UY",
546
+ UZS: "uz-UZ",
547
+ VES: "ve-VE",
548
+ VND: "vi-VN",
549
+ VUV: "en-VU",
550
+ WST: "en-WS",
551
+ YER: "ar-YE",
552
+ ZAR: "en-ZA",
553
+ ZMW: "en-ZM",
554
+ ZWL: "en-ZW"
555
+ });
556
+ /** * Fiat currencies supported by Frankfurter API */
557
+ const FRANKFURTER_CURRENCIES = /* @__PURE__ */ Object.freeze([
558
+ "AUD",
559
+ "BGN",
560
+ "BRL",
561
+ "CAD",
562
+ "CHF",
563
+ "CNY",
564
+ "CZK",
565
+ "DKK",
566
+ "EUR",
567
+ "GBP",
568
+ "HKD",
569
+ "HUF",
570
+ "IDR",
571
+ "ILS",
572
+ "INR",
573
+ "ISK",
574
+ "JPY",
575
+ "KRW",
576
+ "MXN",
577
+ "MYR",
578
+ "NOK",
579
+ "NZD",
580
+ "PHP",
581
+ "PLN",
582
+ "RON",
583
+ "SEK",
584
+ "SGD",
585
+ "THB",
586
+ "TRY",
587
+ "USD",
588
+ "ZAR"
589
+ ]);
590
+ /** * Unit names and their full readable labels. */
591
+ const UNITS = /* @__PURE__ */ Object.freeze({
592
+ m: "Meter",
593
+ km: "Kilometer",
594
+ mi: "Mile",
595
+ ft: "Foot",
596
+ kg: "Kilogram",
597
+ lbs: "Pound",
598
+ g: "Gram",
599
+ oz: "Ounce",
600
+ C: "Celsius",
601
+ F: "Fahrenheit",
602
+ K: "Kelvin",
603
+ l: "Liter",
604
+ gal: "Gallon",
605
+ sqm: "Square Meter",
606
+ sqft: "Square Foot",
607
+ kmph: "Kilometer per Hour",
608
+ mph: "Miles per Hour",
609
+ h: "Hour",
610
+ min: "Minute",
611
+ sec: "Second",
612
+ d: "Day",
613
+ kb: "Kilobyte",
614
+ mb: "Megabyte",
615
+ gb: "Gigabyte",
616
+ j: "Joule",
617
+ cal: "Calorie",
618
+ atm: "Atmosphere",
619
+ pa: "Pascal",
620
+ hz: "Hertz",
621
+ khz: "Kilohertz"
622
+ });
623
+ /** * Scientific SI Unit prefix multipliers. */
624
+ const PREFIX_MULTIPLIERS = /* @__PURE__ */ Object.freeze({
625
+ y: 1e-24,
626
+ z: 1e-21,
627
+ a: 1e-18,
628
+ f: 1e-15,
629
+ p: 1e-12,
630
+ n: 1e-9,
631
+ μ: 1e-6,
632
+ u: 1e-6,
633
+ m: .001,
634
+ c: .01,
635
+ d: .1,
636
+ da: 10,
637
+ h: 100,
638
+ k: 1e3,
639
+ M: 1e6,
640
+ G: 1e9,
641
+ T: 0xe8d4a51000,
642
+ P: 0x38d7ea4c68000,
643
+ E: 0xde0b6b3a7640000,
644
+ Z: 1e21,
645
+ Y: 1e24,
646
+ "": 1
647
+ });
648
+ /** * Bangla digits from `০-৯` mapped against `0-9` */
649
+ const BN_DIGITS = /* @__PURE__ */ Object.freeze({
650
+ "০": 0,
651
+ "১": 1,
652
+ "২": 2,
653
+ "৩": 3,
654
+ "৪": 4,
655
+ "৫": 5,
656
+ "৬": 6,
657
+ "৭": 7,
658
+ "৮": 8,
659
+ "৯": 9
660
+ });
661
+
662
+ //#endregion
663
+ Object.defineProperty(exports, 'BN_DIGITS', {
664
+ enumerable: true,
665
+ get: function () {
666
+ return BN_DIGITS;
667
+ }
668
+ });
669
+ Object.defineProperty(exports, 'CURRENCY_CODES', {
670
+ enumerable: true,
671
+ get: function () {
672
+ return CURRENCY_CODES;
673
+ }
674
+ });
675
+ Object.defineProperty(exports, 'CURRENCY_LOCALES', {
676
+ enumerable: true,
677
+ get: function () {
678
+ return CURRENCY_LOCALES;
679
+ }
680
+ });
681
+ Object.defineProperty(exports, 'FRANKFURTER_CURRENCIES', {
682
+ enumerable: true,
683
+ get: function () {
684
+ return FRANKFURTER_CURRENCIES;
685
+ }
686
+ });
687
+ Object.defineProperty(exports, 'LOCALE_CODES', {
688
+ enumerable: true,
689
+ get: function () {
690
+ return LOCALE_CODES;
691
+ }
692
+ });
693
+ Object.defineProperty(exports, 'ONES', {
694
+ enumerable: true,
695
+ get: function () {
696
+ return ONES;
697
+ }
698
+ });
699
+ Object.defineProperty(exports, 'ORDINAL_TO_CARDINAL', {
700
+ enumerable: true,
701
+ get: function () {
702
+ return ORDINAL_TO_CARDINAL;
703
+ }
704
+ });
705
+ Object.defineProperty(exports, 'ORDINAL_UNDER_TEEN', {
706
+ enumerable: true,
707
+ get: function () {
708
+ return ORDINAL_UNDER_TEEN;
709
+ }
710
+ });
711
+ Object.defineProperty(exports, 'PREFIX_MULTIPLIERS', {
712
+ enumerable: true,
713
+ get: function () {
714
+ return PREFIX_MULTIPLIERS;
715
+ }
716
+ });
717
+ Object.defineProperty(exports, 'TEENS', {
718
+ enumerable: true,
719
+ get: function () {
720
+ return TEENS;
721
+ }
722
+ });
723
+ Object.defineProperty(exports, 'TENS', {
724
+ enumerable: true,
725
+ get: function () {
726
+ return TENS;
727
+ }
728
+ });
729
+ Object.defineProperty(exports, 'THOUSANDS', {
730
+ enumerable: true,
731
+ get: function () {
732
+ return THOUSANDS;
733
+ }
734
+ });
735
+ Object.defineProperty(exports, 'UNITS', {
736
+ enumerable: true,
737
+ get: function () {
738
+ return UNITS;
739
+ }
740
+ });