react-country-kit-core 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { useState as _, useMemo as E, useCallback as r, useEffect as x } from "react";
2
- function q(o) {
3
- return [...o.toUpperCase()].map((e) => String.fromCodePoint(127462 + e.charCodeAt(0) - 65)).join("");
1
+ import { useState as _, useMemo as E, useCallback as m, useEffect as x } from "react";
2
+ function q(e) {
3
+ return [...e.toUpperCase()].map((o) => String.fromCodePoint(127462 + o.charCodeAt(0) - 65)).join("");
4
4
  }
5
5
  const H = [
6
6
  {
@@ -40815,1674 +40815,1921 @@ const H = [
40815
40815
  code: "AFN",
40816
40816
  name: "Afghan afghani",
40817
40817
  symbol: "؋",
40818
- countryCode: "AF"
40818
+ countryCode: "AF",
40819
+ precision: 0
40819
40820
  },
40820
40821
  {
40821
40822
  code: "EUR",
40822
40823
  name: "Euro",
40823
40824
  symbol: "€",
40824
- countryCode: "AX"
40825
+ countryCode: "AX",
40826
+ precision: 2
40825
40827
  },
40826
40828
  {
40827
40829
  code: "ALL",
40828
40830
  name: "Albanian lek",
40829
40831
  symbol: "Lek",
40830
- countryCode: "AL"
40832
+ countryCode: "AL",
40833
+ precision: 0
40831
40834
  },
40832
40835
  {
40833
40836
  code: "DZD",
40834
40837
  name: "Algerian dinar",
40835
40838
  symbol: "دج",
40836
- countryCode: "DZ"
40839
+ countryCode: "DZ",
40840
+ precision: 2
40837
40841
  },
40838
40842
  {
40839
40843
  code: "USD",
40840
40844
  name: "United States dollar",
40841
40845
  symbol: "$",
40842
- countryCode: "AS"
40846
+ countryCode: "AS",
40847
+ precision: 2
40843
40848
  },
40844
40849
  {
40845
40850
  code: "EUR",
40846
40851
  name: "Euro",
40847
40852
  symbol: "€",
40848
- countryCode: "AD"
40853
+ countryCode: "AD",
40854
+ precision: 2
40849
40855
  },
40850
40856
  {
40851
40857
  code: "AOA",
40852
40858
  name: "Angolan kwanza",
40853
40859
  symbol: "Kz",
40854
- countryCode: "AO"
40860
+ countryCode: "AO",
40861
+ precision: 2
40855
40862
  },
40856
40863
  {
40857
40864
  code: "XCD",
40858
40865
  name: "Eastern Caribbean dollar",
40859
40866
  symbol: "$",
40860
- countryCode: "AI"
40867
+ countryCode: "AI",
40868
+ precision: 2
40861
40869
  },
40862
40870
  {
40863
40871
  code: "AAD",
40864
40872
  name: "Antarctican dollar",
40865
40873
  symbol: "$",
40866
- countryCode: "AQ"
40874
+ countryCode: "AQ",
40875
+ precision: 2
40867
40876
  },
40868
40877
  {
40869
40878
  code: "XCD",
40870
40879
  name: "Eastern Caribbean dollar",
40871
40880
  symbol: "$",
40872
- countryCode: "AG"
40881
+ countryCode: "AG",
40882
+ precision: 2
40873
40883
  },
40874
40884
  {
40875
40885
  code: "ARS",
40876
40886
  name: "Argentine peso",
40877
40887
  symbol: "$",
40878
- countryCode: "AR"
40888
+ countryCode: "AR",
40889
+ precision: 2
40879
40890
  },
40880
40891
  {
40881
40892
  code: "AMD",
40882
40893
  name: "Armenian dram",
40883
40894
  symbol: "֏",
40884
- countryCode: "AM"
40895
+ countryCode: "AM",
40896
+ precision: 2
40885
40897
  },
40886
40898
  {
40887
40899
  code: "AWG",
40888
40900
  name: "Aruban florin",
40889
40901
  symbol: "ƒ",
40890
- countryCode: "AW"
40902
+ countryCode: "AW",
40903
+ precision: 2
40891
40904
  },
40892
40905
  {
40893
40906
  code: "AUD",
40894
40907
  name: "Australian dollar",
40895
40908
  symbol: "$",
40896
- countryCode: "AU"
40909
+ countryCode: "AU",
40910
+ precision: 2
40897
40911
  },
40898
40912
  {
40899
40913
  code: "EUR",
40900
40914
  name: "Euro",
40901
40915
  symbol: "€",
40902
- countryCode: "AT"
40916
+ countryCode: "AT",
40917
+ precision: 2
40903
40918
  },
40904
40919
  {
40905
40920
  code: "AZN",
40906
40921
  name: "Azerbaijani manat",
40907
40922
  symbol: "m",
40908
- countryCode: "AZ"
40923
+ countryCode: "AZ",
40924
+ precision: 2
40909
40925
  },
40910
40926
  {
40911
40927
  code: "BHD",
40912
40928
  name: "Bahraini dinar",
40913
40929
  symbol: ".د.ب",
40914
- countryCode: "BH"
40930
+ countryCode: "BH",
40931
+ precision: 3
40915
40932
  },
40916
40933
  {
40917
40934
  code: "BDT",
40918
40935
  name: "Bangladeshi taka",
40919
40936
  symbol: "৳",
40920
- countryCode: "BD"
40937
+ countryCode: "BD",
40938
+ precision: 2
40921
40939
  },
40922
40940
  {
40923
40941
  code: "BBD",
40924
40942
  name: "Barbadian dollar",
40925
40943
  symbol: "Bds$",
40926
- countryCode: "BB"
40944
+ countryCode: "BB",
40945
+ precision: 2
40927
40946
  },
40928
40947
  {
40929
40948
  code: "BYN",
40930
40949
  name: "Belarusian ruble",
40931
40950
  symbol: "Br",
40932
- countryCode: "BY"
40951
+ countryCode: "BY",
40952
+ precision: 2
40933
40953
  },
40934
40954
  {
40935
40955
  code: "EUR",
40936
40956
  name: "Euro",
40937
40957
  symbol: "€",
40938
- countryCode: "BE"
40958
+ countryCode: "BE",
40959
+ precision: 2
40939
40960
  },
40940
40961
  {
40941
40962
  code: "BZD",
40942
40963
  name: "Belize dollar",
40943
40964
  symbol: "$",
40944
- countryCode: "BZ"
40965
+ countryCode: "BZ",
40966
+ precision: 2
40945
40967
  },
40946
40968
  {
40947
40969
  code: "XOF",
40948
40970
  name: "West African CFA franc",
40949
40971
  symbol: "CFA",
40950
- countryCode: "BJ"
40972
+ countryCode: "BJ",
40973
+ precision: 0
40951
40974
  },
40952
40975
  {
40953
40976
  code: "BMD",
40954
40977
  name: "Bermudian dollar",
40955
40978
  symbol: "$",
40956
- countryCode: "BM"
40979
+ countryCode: "BM",
40980
+ precision: 2
40957
40981
  },
40958
40982
  {
40959
40983
  code: "BTN",
40960
40984
  name: "Bhutanese ngultrum",
40961
40985
  symbol: "Nu.",
40962
- countryCode: "BT"
40986
+ countryCode: "BT",
40987
+ precision: 2
40963
40988
  },
40964
40989
  {
40965
40990
  code: "BOB",
40966
40991
  name: "Bolivian boliviano",
40967
40992
  symbol: "Bs.",
40968
- countryCode: "BO"
40993
+ countryCode: "BO",
40994
+ precision: 2
40969
40995
  },
40970
40996
  {
40971
40997
  code: "USD",
40972
40998
  name: "United States dollar",
40973
40999
  symbol: "$",
40974
- countryCode: "BQ"
41000
+ countryCode: "BQ",
41001
+ precision: 2
40975
41002
  },
40976
41003
  {
40977
41004
  code: "BAM",
40978
41005
  name: "Bosnia and Herzegovina convertible mark",
40979
41006
  symbol: "KM",
40980
- countryCode: "BA"
41007
+ countryCode: "BA",
41008
+ precision: 2
40981
41009
  },
40982
41010
  {
40983
41011
  code: "BWP",
40984
41012
  name: "Botswana pula",
40985
41013
  symbol: "P",
40986
- countryCode: "BW"
41014
+ countryCode: "BW",
41015
+ precision: 2
40987
41016
  },
40988
41017
  {
40989
41018
  code: "NOK",
40990
41019
  name: "Norwegian krone",
40991
41020
  symbol: "ko",
40992
- countryCode: "BV"
41021
+ countryCode: "BV",
41022
+ precision: 2
40993
41023
  },
40994
41024
  {
40995
41025
  code: "BRL",
40996
41026
  name: "Brazilian real",
40997
41027
  symbol: "R$",
40998
- countryCode: "BR"
41028
+ countryCode: "BR",
41029
+ precision: 2
40999
41030
  },
41000
41031
  {
41001
41032
  code: "USD",
41002
41033
  name: "United States dollar",
41003
41034
  symbol: "$",
41004
- countryCode: "IO"
41035
+ countryCode: "IO",
41036
+ precision: 2
41005
41037
  },
41006
41038
  {
41007
41039
  code: "BND",
41008
41040
  name: "Brunei dollar",
41009
41041
  symbol: "B$",
41010
- countryCode: "BN"
41042
+ countryCode: "BN",
41043
+ precision: 2
41011
41044
  },
41012
41045
  {
41013
41046
  code: "BGN",
41014
41047
  name: "Bulgarian lev",
41015
41048
  symbol: "Лв.",
41016
- countryCode: "BG"
41049
+ countryCode: "BG",
41050
+ precision: 2
41017
41051
  },
41018
41052
  {
41019
41053
  code: "XOF",
41020
41054
  name: "West African CFA franc",
41021
41055
  symbol: "CFA",
41022
- countryCode: "BF"
41056
+ countryCode: "BF",
41057
+ precision: 0
41023
41058
  },
41024
41059
  {
41025
41060
  code: "BIF",
41026
41061
  name: "Burundian franc",
41027
41062
  symbol: "FBu",
41028
- countryCode: "BI"
41063
+ countryCode: "BI",
41064
+ precision: 0
41029
41065
  },
41030
41066
  {
41031
41067
  code: "KHR",
41032
41068
  name: "Cambodian riel",
41033
41069
  symbol: "KHR",
41034
- countryCode: "KH"
41070
+ countryCode: "KH",
41071
+ precision: 2
41035
41072
  },
41036
41073
  {
41037
41074
  code: "XAF",
41038
41075
  name: "Central African CFA franc",
41039
41076
  symbol: "FCFA",
41040
- countryCode: "CM"
41077
+ countryCode: "CM",
41078
+ precision: 0
41041
41079
  },
41042
41080
  {
41043
41081
  code: "CAD",
41044
41082
  name: "Canadian dollar",
41045
41083
  symbol: "$",
41046
- countryCode: "CA"
41084
+ countryCode: "CA",
41085
+ precision: 2
41047
41086
  },
41048
41087
  {
41049
41088
  code: "CVE",
41050
41089
  name: "Cape Verdean escudo",
41051
41090
  symbol: "$",
41052
- countryCode: "CV"
41091
+ countryCode: "CV",
41092
+ precision: 2
41053
41093
  },
41054
41094
  {
41055
41095
  code: "KYD",
41056
41096
  name: "Cayman Islands dollar",
41057
41097
  symbol: "$",
41058
- countryCode: "KY"
41098
+ countryCode: "KY",
41099
+ precision: 2
41059
41100
  },
41060
41101
  {
41061
41102
  code: "XAF",
41062
41103
  name: "Central African CFA franc",
41063
41104
  symbol: "FCFA",
41064
- countryCode: "CF"
41105
+ countryCode: "CF",
41106
+ precision: 0
41065
41107
  },
41066
41108
  {
41067
41109
  code: "XAF",
41068
41110
  name: "Central African CFA franc",
41069
41111
  symbol: "FCFA",
41070
- countryCode: "TD"
41112
+ countryCode: "TD",
41113
+ precision: 0
41071
41114
  },
41072
41115
  {
41073
41116
  code: "CLP",
41074
41117
  name: "Chilean peso",
41075
41118
  symbol: "$",
41076
- countryCode: "CL"
41119
+ countryCode: "CL",
41120
+ precision: 0
41077
41121
  },
41078
41122
  {
41079
41123
  code: "CNY",
41080
41124
  name: "Chinese yuan",
41081
41125
  symbol: "¥",
41082
- countryCode: "CN"
41126
+ countryCode: "CN",
41127
+ precision: 2
41083
41128
  },
41084
41129
  {
41085
41130
  code: "AUD",
41086
41131
  name: "Australian dollar",
41087
41132
  symbol: "$",
41088
- countryCode: "CX"
41133
+ countryCode: "CX",
41134
+ precision: 2
41089
41135
  },
41090
41136
  {
41091
41137
  code: "AUD",
41092
41138
  name: "Australian dollar",
41093
41139
  symbol: "$",
41094
- countryCode: "CC"
41140
+ countryCode: "CC",
41141
+ precision: 2
41095
41142
  },
41096
41143
  {
41097
41144
  code: "COP",
41098
41145
  name: "Colombian peso",
41099
41146
  symbol: "$",
41100
- countryCode: "CO"
41147
+ countryCode: "CO",
41148
+ precision: 0
41101
41149
  },
41102
41150
  {
41103
41151
  code: "KMF",
41104
41152
  name: "Comorian franc",
41105
41153
  symbol: "CF",
41106
- countryCode: "KM"
41154
+ countryCode: "KM",
41155
+ precision: 0
41107
41156
  },
41108
41157
  {
41109
41158
  code: "CDF",
41110
41159
  name: "Congolese Franc",
41111
41160
  symbol: "FC",
41112
- countryCode: "CG"
41161
+ countryCode: "CG",
41162
+ precision: 2
41113
41163
  },
41114
41164
  {
41115
41165
  code: "NZD",
41116
41166
  name: "New Zealand dollar",
41117
41167
  symbol: "$",
41118
- countryCode: "CK"
41168
+ countryCode: "CK",
41169
+ precision: 2
41119
41170
  },
41120
41171
  {
41121
41172
  code: "CRC",
41122
41173
  name: "Costa Rican colón",
41123
41174
  symbol: "₡",
41124
- countryCode: "CR"
41175
+ countryCode: "CR",
41176
+ precision: 2
41125
41177
  },
41126
41178
  {
41127
41179
  code: "EUR",
41128
41180
  name: "Euro",
41129
41181
  symbol: "€",
41130
- countryCode: "HR"
41182
+ countryCode: "HR",
41183
+ precision: 2
41131
41184
  },
41132
41185
  {
41133
41186
  code: "CUP",
41134
41187
  name: "Cuban peso",
41135
41188
  symbol: "$",
41136
- countryCode: "CU"
41189
+ countryCode: "CU",
41190
+ precision: 2
41137
41191
  },
41138
41192
  {
41139
41193
  code: "ANG",
41140
41194
  name: "Netherlands Antillean guilder",
41141
41195
  symbol: "ƒ",
41142
- countryCode: "CW"
41196
+ countryCode: "CW",
41197
+ precision: 2
41143
41198
  },
41144
41199
  {
41145
41200
  code: "EUR",
41146
41201
  name: "Euro",
41147
41202
  symbol: "€",
41148
- countryCode: "CY"
41203
+ countryCode: "CY",
41204
+ precision: 2
41149
41205
  },
41150
41206
  {
41151
41207
  code: "CZK",
41152
41208
  name: "Czech koruna",
41153
41209
  symbol: "Kč",
41154
- countryCode: "CZ"
41210
+ countryCode: "CZ",
41211
+ precision: 2
41155
41212
  },
41156
41213
  {
41157
41214
  code: "CDF",
41158
41215
  name: "Congolese Franc",
41159
41216
  symbol: "FC",
41160
- countryCode: "CD"
41217
+ countryCode: "CD",
41218
+ precision: 2
41161
41219
  },
41162
41220
  {
41163
41221
  code: "DKK",
41164
41222
  name: "Danish krone",
41165
41223
  symbol: "Kr.",
41166
- countryCode: "DK"
41224
+ countryCode: "DK",
41225
+ precision: 2
41167
41226
  },
41168
41227
  {
41169
41228
  code: "DJF",
41170
41229
  name: "Djiboutian franc",
41171
41230
  symbol: "Fdj",
41172
- countryCode: "DJ"
41231
+ countryCode: "DJ",
41232
+ precision: 0
41173
41233
  },
41174
41234
  {
41175
41235
  code: "XCD",
41176
41236
  name: "Eastern Caribbean dollar",
41177
41237
  symbol: "$",
41178
- countryCode: "DM"
41238
+ countryCode: "DM",
41239
+ precision: 2
41179
41240
  },
41180
41241
  {
41181
41242
  code: "DOP",
41182
41243
  name: "Dominican peso",
41183
41244
  symbol: "$",
41184
- countryCode: "DO"
41245
+ countryCode: "DO",
41246
+ precision: 2
41185
41247
  },
41186
41248
  {
41187
41249
  code: "USD",
41188
41250
  name: "United States dollar",
41189
41251
  symbol: "$",
41190
- countryCode: "EC"
41252
+ countryCode: "EC",
41253
+ precision: 2
41191
41254
  },
41192
41255
  {
41193
41256
  code: "EGP",
41194
41257
  name: "Egyptian pound",
41195
41258
  symbol: "ج.م",
41196
- countryCode: "EG"
41259
+ countryCode: "EG",
41260
+ precision: 2
41197
41261
  },
41198
41262
  {
41199
41263
  code: "USD",
41200
41264
  name: "United States dollar",
41201
41265
  symbol: "$",
41202
- countryCode: "SV"
41266
+ countryCode: "SV",
41267
+ precision: 2
41203
41268
  },
41204
41269
  {
41205
41270
  code: "XAF",
41206
41271
  name: "Central African CFA franc",
41207
41272
  symbol: "FCFA",
41208
- countryCode: "GQ"
41273
+ countryCode: "GQ",
41274
+ precision: 0
41209
41275
  },
41210
41276
  {
41211
41277
  code: "ERN",
41212
41278
  name: "Eritrean nakfa",
41213
41279
  symbol: "Nfk",
41214
- countryCode: "ER"
41280
+ countryCode: "ER",
41281
+ precision: 2
41215
41282
  },
41216
41283
  {
41217
41284
  code: "EUR",
41218
41285
  name: "Euro",
41219
41286
  symbol: "€",
41220
- countryCode: "EE"
41287
+ countryCode: "EE",
41288
+ precision: 2
41221
41289
  },
41222
41290
  {
41223
41291
  code: "SZL",
41224
41292
  name: "Lilangeni",
41225
41293
  symbol: "E",
41226
- countryCode: "SZ"
41294
+ countryCode: "SZ",
41295
+ precision: 2
41227
41296
  },
41228
41297
  {
41229
41298
  code: "ETB",
41230
41299
  name: "Ethiopian birr",
41231
41300
  symbol: "Nkf",
41232
- countryCode: "ET"
41301
+ countryCode: "ET",
41302
+ precision: 2
41233
41303
  },
41234
41304
  {
41235
41305
  code: "FKP",
41236
41306
  name: "Falkland Islands pound",
41237
41307
  symbol: "£",
41238
- countryCode: "FK"
41308
+ countryCode: "FK",
41309
+ precision: 2
41239
41310
  },
41240
41311
  {
41241
41312
  code: "DKK",
41242
41313
  name: "Danish krone",
41243
41314
  symbol: "Kr.",
41244
- countryCode: "FO"
41315
+ countryCode: "FO",
41316
+ precision: 2
41245
41317
  },
41246
41318
  {
41247
41319
  code: "FJD",
41248
41320
  name: "Fijian dollar",
41249
41321
  symbol: "FJ$",
41250
- countryCode: "FJ"
41322
+ countryCode: "FJ",
41323
+ precision: 2
41251
41324
  },
41252
41325
  {
41253
41326
  code: "EUR",
41254
41327
  name: "Euro",
41255
41328
  symbol: "€",
41256
- countryCode: "FI"
41329
+ countryCode: "FI",
41330
+ precision: 2
41257
41331
  },
41258
41332
  {
41259
41333
  code: "EUR",
41260
41334
  name: "Euro",
41261
41335
  symbol: "€",
41262
- countryCode: "FR"
41336
+ countryCode: "FR",
41337
+ precision: 2
41263
41338
  },
41264
41339
  {
41265
41340
  code: "EUR",
41266
41341
  name: "Euro",
41267
41342
  symbol: "€",
41268
- countryCode: "GF"
41343
+ countryCode: "GF",
41344
+ precision: 2
41269
41345
  },
41270
41346
  {
41271
41347
  code: "XPF",
41272
41348
  name: "CFP franc",
41273
41349
  symbol: "₣",
41274
- countryCode: "PF"
41350
+ countryCode: "PF",
41351
+ precision: 0
41275
41352
  },
41276
41353
  {
41277
41354
  code: "EUR",
41278
41355
  name: "Euro",
41279
41356
  symbol: "€",
41280
- countryCode: "TF"
41357
+ countryCode: "TF",
41358
+ precision: 2
41281
41359
  },
41282
41360
  {
41283
41361
  code: "XAF",
41284
41362
  name: "Central African CFA franc",
41285
41363
  symbol: "FCFA",
41286
- countryCode: "GA"
41364
+ countryCode: "GA",
41365
+ precision: 0
41287
41366
  },
41288
41367
  {
41289
41368
  code: "GEL",
41290
41369
  name: "Georgian lari",
41291
41370
  symbol: "ლ",
41292
- countryCode: "GE"
41371
+ countryCode: "GE",
41372
+ precision: 2
41293
41373
  },
41294
41374
  {
41295
41375
  code: "EUR",
41296
41376
  name: "Euro",
41297
41377
  symbol: "€",
41298
- countryCode: "DE"
41378
+ countryCode: "DE",
41379
+ precision: 2
41299
41380
  },
41300
41381
  {
41301
41382
  code: "GHS",
41302
41383
  name: "Ghanaian cedi",
41303
41384
  symbol: "GH₵",
41304
- countryCode: "GH"
41385
+ countryCode: "GH",
41386
+ precision: 2
41305
41387
  },
41306
41388
  {
41307
41389
  code: "GIP",
41308
41390
  name: "Gibraltar pound",
41309
41391
  symbol: "£",
41310
- countryCode: "GI"
41392
+ countryCode: "GI",
41393
+ precision: 2
41311
41394
  },
41312
41395
  {
41313
41396
  code: "EUR",
41314
41397
  name: "Euro",
41315
41398
  symbol: "€",
41316
- countryCode: "GR"
41399
+ countryCode: "GR",
41400
+ precision: 2
41317
41401
  },
41318
41402
  {
41319
41403
  code: "DKK",
41320
41404
  name: "Danish krone",
41321
41405
  symbol: "Kr.",
41322
- countryCode: "GL"
41406
+ countryCode: "GL",
41407
+ precision: 2
41323
41408
  },
41324
41409
  {
41325
41410
  code: "XCD",
41326
41411
  name: "Eastern Caribbean dollar",
41327
41412
  symbol: "$",
41328
- countryCode: "GD"
41413
+ countryCode: "GD",
41414
+ precision: 2
41329
41415
  },
41330
41416
  {
41331
41417
  code: "EUR",
41332
41418
  name: "Euro",
41333
41419
  symbol: "€",
41334
- countryCode: "GP"
41420
+ countryCode: "GP",
41421
+ precision: 2
41335
41422
  },
41336
41423
  {
41337
41424
  code: "USD",
41338
41425
  name: "United States dollar",
41339
41426
  symbol: "$",
41340
- countryCode: "GU"
41427
+ countryCode: "GU",
41428
+ precision: 2
41341
41429
  },
41342
41430
  {
41343
41431
  code: "GTQ",
41344
41432
  name: "Guatemalan quetzal",
41345
41433
  symbol: "Q",
41346
- countryCode: "GT"
41434
+ countryCode: "GT",
41435
+ precision: 2
41347
41436
  },
41348
41437
  {
41349
41438
  code: "GBP",
41350
41439
  name: "British pound",
41351
41440
  symbol: "£",
41352
- countryCode: "GG"
41441
+ countryCode: "GG",
41442
+ precision: 2
41353
41443
  },
41354
41444
  {
41355
41445
  code: "GNF",
41356
41446
  name: "Guinean franc",
41357
41447
  symbol: "FG",
41358
- countryCode: "GN"
41448
+ countryCode: "GN",
41449
+ precision: 0
41359
41450
  },
41360
41451
  {
41361
41452
  code: "XOF",
41362
41453
  name: "West African CFA franc",
41363
41454
  symbol: "CFA",
41364
- countryCode: "GW"
41455
+ countryCode: "GW",
41456
+ precision: 0
41365
41457
  },
41366
41458
  {
41367
41459
  code: "GYD",
41368
41460
  name: "Guyanese dollar",
41369
41461
  symbol: "$",
41370
- countryCode: "GY"
41462
+ countryCode: "GY",
41463
+ precision: 2
41371
41464
  },
41372
41465
  {
41373
41466
  code: "HTG",
41374
41467
  name: "Haitian gourde",
41375
41468
  symbol: "G",
41376
- countryCode: "HT"
41469
+ countryCode: "HT",
41470
+ precision: 2
41377
41471
  },
41378
41472
  {
41379
41473
  code: "AUD",
41380
41474
  name: "Australian dollar",
41381
41475
  symbol: "$",
41382
- countryCode: "HM"
41476
+ countryCode: "HM",
41477
+ precision: 2
41383
41478
  },
41384
41479
  {
41385
41480
  code: "HNL",
41386
41481
  name: "Honduran lempira",
41387
41482
  symbol: "L",
41388
- countryCode: "HN"
41483
+ countryCode: "HN",
41484
+ precision: 2
41389
41485
  },
41390
41486
  {
41391
41487
  code: "HKD",
41392
41488
  name: "Hong Kong dollar",
41393
41489
  symbol: "$",
41394
- countryCode: "HK"
41490
+ countryCode: "HK",
41491
+ precision: 2
41395
41492
  },
41396
41493
  {
41397
41494
  code: "HUF",
41398
41495
  name: "Hungarian forint",
41399
41496
  symbol: "Ft",
41400
- countryCode: "HU"
41497
+ countryCode: "HU",
41498
+ precision: 0
41401
41499
  },
41402
41500
  {
41403
41501
  code: "ISK",
41404
41502
  name: "Icelandic króna",
41405
41503
  symbol: "ko",
41406
- countryCode: "IS"
41504
+ countryCode: "IS",
41505
+ precision: 0
41407
41506
  },
41408
41507
  {
41409
41508
  code: "INR",
41410
41509
  name: "Indian rupee",
41411
41510
  symbol: "₹",
41412
- countryCode: "IN"
41511
+ countryCode: "IN",
41512
+ precision: 2
41413
41513
  },
41414
41514
  {
41415
41515
  code: "IDR",
41416
41516
  name: "Indonesian rupiah",
41417
41517
  symbol: "Rp",
41418
- countryCode: "ID"
41518
+ countryCode: "ID",
41519
+ precision: 0
41419
41520
  },
41420
41521
  {
41421
41522
  code: "IRR",
41422
41523
  name: "Iranian rial",
41423
41524
  symbol: "﷼",
41424
- countryCode: "IR"
41525
+ countryCode: "IR",
41526
+ precision: 0
41425
41527
  },
41426
41528
  {
41427
41529
  code: "IQD",
41428
41530
  name: "Iraqi dinar",
41429
41531
  symbol: "د.ع",
41430
- countryCode: "IQ"
41532
+ countryCode: "IQ",
41533
+ precision: 0
41431
41534
  },
41432
41535
  {
41433
41536
  code: "EUR",
41434
41537
  name: "Euro",
41435
41538
  symbol: "€",
41436
- countryCode: "IE"
41539
+ countryCode: "IE",
41540
+ precision: 2
41437
41541
  },
41438
41542
  {
41439
41543
  code: "ILS",
41440
41544
  name: "Israeli new shekel",
41441
41545
  symbol: "₪",
41442
- countryCode: "IL"
41546
+ countryCode: "IL",
41547
+ precision: 2
41443
41548
  },
41444
41549
  {
41445
41550
  code: "EUR",
41446
41551
  name: "Euro",
41447
41552
  symbol: "€",
41448
- countryCode: "IT"
41553
+ countryCode: "IT",
41554
+ precision: 2
41449
41555
  },
41450
41556
  {
41451
41557
  code: "XOF",
41452
41558
  name: "West African CFA franc",
41453
41559
  symbol: "CFA",
41454
- countryCode: "CI"
41560
+ countryCode: "CI",
41561
+ precision: 0
41455
41562
  },
41456
41563
  {
41457
41564
  code: "JMD",
41458
41565
  name: "Jamaican dollar",
41459
41566
  symbol: "J$",
41460
- countryCode: "JM"
41567
+ countryCode: "JM",
41568
+ precision: 2
41461
41569
  },
41462
41570
  {
41463
41571
  code: "JPY",
41464
41572
  name: "Japanese yen",
41465
41573
  symbol: "¥",
41466
- countryCode: "JP"
41574
+ countryCode: "JP",
41575
+ precision: 0
41467
41576
  },
41468
41577
  {
41469
41578
  code: "GBP",
41470
41579
  name: "British pound",
41471
41580
  symbol: "£",
41472
- countryCode: "JE"
41581
+ countryCode: "JE",
41582
+ precision: 2
41473
41583
  },
41474
41584
  {
41475
41585
  code: "JOD",
41476
41586
  name: "Jordanian dinar",
41477
41587
  symbol: "ا.د",
41478
- countryCode: "JO"
41588
+ countryCode: "JO",
41589
+ precision: 3
41479
41590
  },
41480
41591
  {
41481
41592
  code: "KZT",
41482
41593
  name: "Kazakhstani tenge",
41483
41594
  symbol: "лв",
41484
- countryCode: "KZ"
41595
+ countryCode: "KZ",
41596
+ precision: 2
41485
41597
  },
41486
41598
  {
41487
41599
  code: "KES",
41488
41600
  name: "Kenyan shilling",
41489
41601
  symbol: "KSh",
41490
- countryCode: "KE"
41602
+ countryCode: "KE",
41603
+ precision: 2
41491
41604
  },
41492
41605
  {
41493
41606
  code: "AUD",
41494
41607
  name: "Australian dollar",
41495
41608
  symbol: "$",
41496
- countryCode: "KI"
41609
+ countryCode: "KI",
41610
+ precision: 2
41497
41611
  },
41498
41612
  {
41499
41613
  code: "EUR",
41500
41614
  name: "Euro",
41501
41615
  symbol: "€",
41502
- countryCode: "XK"
41616
+ countryCode: "XK",
41617
+ precision: 2
41503
41618
  },
41504
41619
  {
41505
41620
  code: "KWD",
41506
41621
  name: "Kuwaiti dinar",
41507
41622
  symbol: "ك.د",
41508
- countryCode: "KW"
41623
+ countryCode: "KW",
41624
+ precision: 3
41509
41625
  },
41510
41626
  {
41511
41627
  code: "KGS",
41512
41628
  name: "Kyrgyzstani som",
41513
41629
  symbol: "лв",
41514
- countryCode: "KG"
41630
+ countryCode: "KG",
41631
+ precision: 2
41515
41632
  },
41516
41633
  {
41517
41634
  code: "LAK",
41518
41635
  name: "Lao kip",
41519
41636
  symbol: "₭",
41520
- countryCode: "LA"
41637
+ countryCode: "LA",
41638
+ precision: 0
41521
41639
  },
41522
41640
  {
41523
41641
  code: "EUR",
41524
41642
  name: "Euro",
41525
41643
  symbol: "€",
41526
- countryCode: "LV"
41644
+ countryCode: "LV",
41645
+ precision: 2
41527
41646
  },
41528
41647
  {
41529
41648
  code: "LBP",
41530
41649
  name: "Lebanese pound",
41531
41650
  symbol: "£",
41532
- countryCode: "LB"
41651
+ countryCode: "LB",
41652
+ precision: 0
41533
41653
  },
41534
41654
  {
41535
41655
  code: "LSL",
41536
41656
  name: "Lesotho loti",
41537
41657
  symbol: "L",
41538
- countryCode: "LS"
41658
+ countryCode: "LS",
41659
+ precision: 2
41539
41660
  },
41540
41661
  {
41541
41662
  code: "LRD",
41542
41663
  name: "Liberian dollar",
41543
41664
  symbol: "$",
41544
- countryCode: "LR"
41665
+ countryCode: "LR",
41666
+ precision: 2
41545
41667
  },
41546
41668
  {
41547
41669
  code: "LYD",
41548
41670
  name: "Libyan dinar",
41549
41671
  symbol: "د.ل",
41550
- countryCode: "LY"
41672
+ countryCode: "LY",
41673
+ precision: 3
41551
41674
  },
41552
41675
  {
41553
41676
  code: "CHF",
41554
41677
  name: "Swiss franc",
41555
41678
  symbol: "CHf",
41556
- countryCode: "LI"
41679
+ countryCode: "LI",
41680
+ precision: 2
41557
41681
  },
41558
41682
  {
41559
41683
  code: "EUR",
41560
41684
  name: "Euro",
41561
41685
  symbol: "€",
41562
- countryCode: "LT"
41686
+ countryCode: "LT",
41687
+ precision: 2
41563
41688
  },
41564
41689
  {
41565
41690
  code: "EUR",
41566
41691
  name: "Euro",
41567
41692
  symbol: "€",
41568
- countryCode: "LU"
41693
+ countryCode: "LU",
41694
+ precision: 2
41569
41695
  },
41570
41696
  {
41571
41697
  code: "MOP",
41572
41698
  name: "Macanese pataca",
41573
41699
  symbol: "$",
41574
- countryCode: "MO"
41700
+ countryCode: "MO",
41701
+ precision: 2
41575
41702
  },
41576
41703
  {
41577
41704
  code: "MGA",
41578
41705
  name: "Malagasy ariary",
41579
41706
  symbol: "Ar",
41580
- countryCode: "MG"
41707
+ countryCode: "MG",
41708
+ precision: 0
41581
41709
  },
41582
41710
  {
41583
41711
  code: "MWK",
41584
41712
  name: "Malawian kwacha",
41585
41713
  symbol: "MK",
41586
- countryCode: "MW"
41714
+ countryCode: "MW",
41715
+ precision: 2
41587
41716
  },
41588
41717
  {
41589
41718
  code: "MYR",
41590
41719
  name: "Malaysian ringgit",
41591
41720
  symbol: "RM",
41592
- countryCode: "MY"
41721
+ countryCode: "MY",
41722
+ precision: 2
41593
41723
  },
41594
41724
  {
41595
41725
  code: "MVR",
41596
41726
  name: "Maldivian rufiyaa",
41597
41727
  symbol: "Rf",
41598
- countryCode: "MV"
41728
+ countryCode: "MV",
41729
+ precision: 2
41599
41730
  },
41600
41731
  {
41601
41732
  code: "XOF",
41602
41733
  name: "West African CFA franc",
41603
41734
  symbol: "CFA",
41604
- countryCode: "ML"
41735
+ countryCode: "ML",
41736
+ precision: 0
41605
41737
  },
41606
41738
  {
41607
41739
  code: "EUR",
41608
41740
  name: "Euro",
41609
41741
  symbol: "€",
41610
- countryCode: "MT"
41742
+ countryCode: "MT",
41743
+ precision: 2
41611
41744
  },
41612
41745
  {
41613
41746
  code: "GBP",
41614
41747
  name: "British pound",
41615
41748
  symbol: "£",
41616
- countryCode: "IM"
41749
+ countryCode: "IM",
41750
+ precision: 2
41617
41751
  },
41618
41752
  {
41619
41753
  code: "USD",
41620
41754
  name: "United States dollar",
41621
41755
  symbol: "$",
41622
- countryCode: "MH"
41756
+ countryCode: "MH",
41757
+ precision: 2
41623
41758
  },
41624
41759
  {
41625
41760
  code: "EUR",
41626
41761
  name: "Euro",
41627
41762
  symbol: "€",
41628
- countryCode: "MQ"
41763
+ countryCode: "MQ",
41764
+ precision: 2
41629
41765
  },
41630
41766
  {
41631
41767
  code: "MRU",
41632
41768
  name: "Mauritanian ouguiya",
41633
41769
  symbol: "UM",
41634
- countryCode: "MR"
41770
+ countryCode: "MR",
41771
+ precision: 2
41635
41772
  },
41636
41773
  {
41637
41774
  code: "MUR",
41638
41775
  name: "Mauritian rupee",
41639
41776
  symbol: "₨",
41640
- countryCode: "MU"
41777
+ countryCode: "MU",
41778
+ precision: 2
41641
41779
  },
41642
41780
  {
41643
41781
  code: "EUR",
41644
41782
  name: "Euro",
41645
41783
  symbol: "€",
41646
- countryCode: "YT"
41784
+ countryCode: "YT",
41785
+ precision: 2
41647
41786
  },
41648
41787
  {
41649
41788
  code: "MXN",
41650
41789
  name: "Mexican peso",
41651
41790
  symbol: "$",
41652
- countryCode: "MX"
41791
+ countryCode: "MX",
41792
+ precision: 2
41653
41793
  },
41654
41794
  {
41655
41795
  code: "USD",
41656
41796
  name: "United States dollar",
41657
41797
  symbol: "$",
41658
- countryCode: "FM"
41798
+ countryCode: "FM",
41799
+ precision: 2
41659
41800
  },
41660
41801
  {
41661
41802
  code: "MDL",
41662
41803
  name: "Moldovan leu",
41663
41804
  symbol: "L",
41664
- countryCode: "MD"
41805
+ countryCode: "MD",
41806
+ precision: 2
41665
41807
  },
41666
41808
  {
41667
41809
  code: "EUR",
41668
41810
  name: "Euro",
41669
41811
  symbol: "€",
41670
- countryCode: "MC"
41812
+ countryCode: "MC",
41813
+ precision: 2
41671
41814
  },
41672
41815
  {
41673
41816
  code: "MNT",
41674
41817
  name: "Mongolian tögrög",
41675
41818
  symbol: "₮",
41676
- countryCode: "MN"
41819
+ countryCode: "MN",
41820
+ precision: 2
41677
41821
  },
41678
41822
  {
41679
41823
  code: "EUR",
41680
41824
  name: "Euro",
41681
41825
  symbol: "€",
41682
- countryCode: "ME"
41826
+ countryCode: "ME",
41827
+ precision: 2
41683
41828
  },
41684
41829
  {
41685
41830
  code: "XCD",
41686
41831
  name: "Eastern Caribbean dollar",
41687
41832
  symbol: "$",
41688
- countryCode: "MS"
41833
+ countryCode: "MS",
41834
+ precision: 2
41689
41835
  },
41690
41836
  {
41691
41837
  code: "MAD",
41692
41838
  name: "Moroccan dirham",
41693
41839
  symbol: "DH",
41694
- countryCode: "MA"
41840
+ countryCode: "MA",
41841
+ precision: 2
41695
41842
  },
41696
41843
  {
41697
41844
  code: "MZN",
41698
41845
  name: "Mozambican metical",
41699
41846
  symbol: "MT",
41700
- countryCode: "MZ"
41847
+ countryCode: "MZ",
41848
+ precision: 2
41701
41849
  },
41702
41850
  {
41703
41851
  code: "MMK",
41704
41852
  name: "Burmese kyat",
41705
41853
  symbol: "K",
41706
- countryCode: "MM"
41854
+ countryCode: "MM",
41855
+ precision: 0
41707
41856
  },
41708
41857
  {
41709
41858
  code: "NAD",
41710
41859
  name: "Namibian dollar",
41711
41860
  symbol: "$",
41712
- countryCode: "NA"
41861
+ countryCode: "NA",
41862
+ precision: 2
41713
41863
  },
41714
41864
  {
41715
41865
  code: "AUD",
41716
41866
  name: "Australian dollar",
41717
41867
  symbol: "$",
41718
- countryCode: "NR"
41868
+ countryCode: "NR",
41869
+ precision: 2
41719
41870
  },
41720
41871
  {
41721
41872
  code: "NPR",
41722
41873
  name: "Nepalese rupee",
41723
41874
  symbol: "₨",
41724
- countryCode: "NP"
41875
+ countryCode: "NP",
41876
+ precision: 2
41725
41877
  },
41726
41878
  {
41727
41879
  code: "EUR",
41728
41880
  name: "Euro",
41729
41881
  symbol: "€",
41730
- countryCode: "NL"
41882
+ countryCode: "NL",
41883
+ precision: 2
41731
41884
  },
41732
41885
  {
41733
41886
  code: "XPF",
41734
41887
  name: "CFP franc",
41735
41888
  symbol: "₣",
41736
- countryCode: "NC"
41889
+ countryCode: "NC",
41890
+ precision: 0
41737
41891
  },
41738
41892
  {
41739
41893
  code: "NZD",
41740
41894
  name: "New Zealand dollar",
41741
41895
  symbol: "$",
41742
- countryCode: "NZ"
41896
+ countryCode: "NZ",
41897
+ precision: 2
41743
41898
  },
41744
41899
  {
41745
41900
  code: "NIO",
41746
41901
  name: "Nicaraguan córdoba",
41747
41902
  symbol: "C$",
41748
- countryCode: "NI"
41903
+ countryCode: "NI",
41904
+ precision: 2
41749
41905
  },
41750
41906
  {
41751
41907
  code: "XOF",
41752
41908
  name: "West African CFA franc",
41753
41909
  symbol: "CFA",
41754
- countryCode: "NE"
41910
+ countryCode: "NE",
41911
+ precision: 0
41755
41912
  },
41756
41913
  {
41757
41914
  code: "NGN",
41758
41915
  name: "Nigerian naira",
41759
41916
  symbol: "₦",
41760
- countryCode: "NG"
41917
+ countryCode: "NG",
41918
+ precision: 2
41761
41919
  },
41762
41920
  {
41763
41921
  code: "NZD",
41764
41922
  name: "New Zealand dollar",
41765
41923
  symbol: "$",
41766
- countryCode: "NU"
41924
+ countryCode: "NU",
41925
+ precision: 2
41767
41926
  },
41768
41927
  {
41769
41928
  code: "AUD",
41770
41929
  name: "Australian dollar",
41771
41930
  symbol: "$",
41772
- countryCode: "NF"
41931
+ countryCode: "NF",
41932
+ precision: 2
41773
41933
  },
41774
41934
  {
41775
41935
  code: "KPW",
41776
41936
  name: "North Korean Won",
41777
41937
  symbol: "₩",
41778
- countryCode: "KP"
41938
+ countryCode: "KP",
41939
+ precision: 0
41779
41940
  },
41780
41941
  {
41781
41942
  code: "MKD",
41782
41943
  name: "Denar",
41783
41944
  symbol: "ден",
41784
- countryCode: "MK"
41945
+ countryCode: "MK",
41946
+ precision: 2
41785
41947
  },
41786
41948
  {
41787
41949
  code: "USD",
41788
41950
  name: "United States dollar",
41789
41951
  symbol: "$",
41790
- countryCode: "MP"
41952
+ countryCode: "MP",
41953
+ precision: 2
41791
41954
  },
41792
41955
  {
41793
41956
  code: "NOK",
41794
41957
  name: "Norwegian krone",
41795
41958
  symbol: "ko",
41796
- countryCode: "NO"
41959
+ countryCode: "NO",
41960
+ precision: 2
41797
41961
  },
41798
41962
  {
41799
41963
  code: "OMR",
41800
41964
  name: "Omani rial",
41801
41965
  symbol: ".ع.ر",
41802
- countryCode: "OM"
41966
+ countryCode: "OM",
41967
+ precision: 3
41803
41968
  },
41804
41969
  {
41805
41970
  code: "PKR",
41806
41971
  name: "Pakistani rupee",
41807
41972
  symbol: "₨",
41808
- countryCode: "PK"
41973
+ countryCode: "PK",
41974
+ precision: 0
41809
41975
  },
41810
41976
  {
41811
41977
  code: "USD",
41812
41978
  name: "United States dollar",
41813
41979
  symbol: "$",
41814
- countryCode: "PW"
41980
+ countryCode: "PW",
41981
+ precision: 2
41815
41982
  },
41816
41983
  {
41817
41984
  code: "ILS",
41818
41985
  name: "Israeli new shekel",
41819
41986
  symbol: "₪",
41820
- countryCode: "PS"
41987
+ countryCode: "PS",
41988
+ precision: 2
41821
41989
  },
41822
41990
  {
41823
41991
  code: "PAB",
41824
41992
  name: "Panamanian balboa",
41825
41993
  symbol: "B/.",
41826
- countryCode: "PA"
41994
+ countryCode: "PA",
41995
+ precision: 2
41827
41996
  },
41828
41997
  {
41829
41998
  code: "PGK",
41830
41999
  name: "Papua New Guinean kina",
41831
42000
  symbol: "K",
41832
- countryCode: "PG"
42001
+ countryCode: "PG",
42002
+ precision: 2
41833
42003
  },
41834
42004
  {
41835
42005
  code: "PYG",
41836
42006
  name: "Paraguayan guarani",
41837
42007
  symbol: "₲",
41838
- countryCode: "PY"
42008
+ countryCode: "PY",
42009
+ precision: 0
41839
42010
  },
41840
42011
  {
41841
42012
  code: "PEN",
41842
42013
  name: "Peruvian sol",
41843
42014
  symbol: "S/.",
41844
- countryCode: "PE"
42015
+ countryCode: "PE",
42016
+ precision: 2
41845
42017
  },
41846
42018
  {
41847
42019
  code: "PHP",
41848
42020
  name: "Philippine peso",
41849
42021
  symbol: "₱",
41850
- countryCode: "PH"
42022
+ countryCode: "PH",
42023
+ precision: 2
41851
42024
  },
41852
42025
  {
41853
42026
  code: "NZD",
41854
42027
  name: "New Zealand dollar",
41855
42028
  symbol: "$",
41856
- countryCode: "PN"
42029
+ countryCode: "PN",
42030
+ precision: 2
41857
42031
  },
41858
42032
  {
41859
42033
  code: "PLN",
41860
42034
  name: "Polish złoty",
41861
42035
  symbol: "zł",
41862
- countryCode: "PL"
42036
+ countryCode: "PL",
42037
+ precision: 2
41863
42038
  },
41864
42039
  {
41865
42040
  code: "EUR",
41866
42041
  name: "Euro",
41867
42042
  symbol: "€",
41868
- countryCode: "PT"
42043
+ countryCode: "PT",
42044
+ precision: 2
41869
42045
  },
41870
42046
  {
41871
42047
  code: "USD",
41872
42048
  name: "United States dollar",
41873
42049
  symbol: "$",
41874
- countryCode: "PR"
42050
+ countryCode: "PR",
42051
+ precision: 2
41875
42052
  },
41876
42053
  {
41877
42054
  code: "QAR",
41878
42055
  name: "Qatari riyal",
41879
42056
  symbol: "ق.ر",
41880
- countryCode: "QA"
42057
+ countryCode: "QA",
42058
+ precision: 2
41881
42059
  },
41882
42060
  {
41883
42061
  code: "EUR",
41884
42062
  name: "Euro",
41885
42063
  symbol: "€",
41886
- countryCode: "RE"
42064
+ countryCode: "RE",
42065
+ precision: 2
41887
42066
  },
41888
42067
  {
41889
42068
  code: "RON",
41890
42069
  name: "Romanian leu",
41891
42070
  symbol: "lei",
41892
- countryCode: "RO"
42071
+ countryCode: "RO",
42072
+ precision: 2
41893
42073
  },
41894
42074
  {
41895
42075
  code: "RUB",
41896
42076
  name: "Russian ruble",
41897
42077
  symbol: "₽",
41898
- countryCode: "RU"
42078
+ countryCode: "RU",
42079
+ precision: 2
41899
42080
  },
41900
42081
  {
41901
42082
  code: "RWF",
41902
42083
  name: "Rwandan franc",
41903
42084
  symbol: "FRw",
41904
- countryCode: "RW"
42085
+ countryCode: "RW",
42086
+ precision: 0
41905
42087
  },
41906
42088
  {
41907
42089
  code: "SHP",
41908
42090
  name: "Saint Helena pound",
41909
42091
  symbol: "£",
41910
- countryCode: "SH"
42092
+ countryCode: "SH",
42093
+ precision: 2
41911
42094
  },
41912
42095
  {
41913
42096
  code: "XCD",
41914
42097
  name: "Eastern Caribbean dollar",
41915
42098
  symbol: "$",
41916
- countryCode: "KN"
42099
+ countryCode: "KN",
42100
+ precision: 2
41917
42101
  },
41918
42102
  {
41919
42103
  code: "XCD",
41920
42104
  name: "Eastern Caribbean dollar",
41921
42105
  symbol: "$",
41922
- countryCode: "LC"
42106
+ countryCode: "LC",
42107
+ precision: 2
41923
42108
  },
41924
42109
  {
41925
42110
  code: "EUR",
41926
42111
  name: "Euro",
41927
42112
  symbol: "€",
41928
- countryCode: "PM"
42113
+ countryCode: "PM",
42114
+ precision: 2
41929
42115
  },
41930
42116
  {
41931
42117
  code: "XCD",
41932
42118
  name: "Eastern Caribbean dollar",
41933
42119
  symbol: "$",
41934
- countryCode: "VC"
42120
+ countryCode: "VC",
42121
+ precision: 2
41935
42122
  },
41936
42123
  {
41937
42124
  code: "EUR",
41938
42125
  name: "Euro",
41939
42126
  symbol: "€",
41940
- countryCode: "BL"
42127
+ countryCode: "BL",
42128
+ precision: 2
41941
42129
  },
41942
42130
  {
41943
42131
  code: "EUR",
41944
42132
  name: "Euro",
41945
42133
  symbol: "€",
41946
- countryCode: "MF"
42134
+ countryCode: "MF",
42135
+ precision: 2
41947
42136
  },
41948
42137
  {
41949
42138
  code: "WST",
41950
42139
  name: "Samoan tālā",
41951
42140
  symbol: "SAT",
41952
- countryCode: "WS"
42141
+ countryCode: "WS",
42142
+ precision: 2
41953
42143
  },
41954
42144
  {
41955
42145
  code: "EUR",
41956
42146
  name: "Euro",
41957
42147
  symbol: "€",
41958
- countryCode: "SM"
42148
+ countryCode: "SM",
42149
+ precision: 2
41959
42150
  },
41960
42151
  {
41961
42152
  code: "STN",
41962
42153
  name: "Dobra",
41963
42154
  symbol: "Db",
41964
- countryCode: "ST"
42155
+ countryCode: "ST",
42156
+ precision: 2
41965
42157
  },
41966
42158
  {
41967
42159
  code: "SAR",
41968
42160
  name: "Saudi riyal",
41969
42161
  symbol: "﷼",
41970
- countryCode: "SA"
42162
+ countryCode: "SA",
42163
+ precision: 2
41971
42164
  },
41972
42165
  {
41973
42166
  code: "XOF",
41974
42167
  name: "West African CFA franc",
41975
42168
  symbol: "CFA",
41976
- countryCode: "SN"
42169
+ countryCode: "SN",
42170
+ precision: 0
41977
42171
  },
41978
42172
  {
41979
42173
  code: "RSD",
41980
42174
  name: "Serbian dinar",
41981
42175
  symbol: "din",
41982
- countryCode: "RS"
42176
+ countryCode: "RS",
42177
+ precision: 2
41983
42178
  },
41984
42179
  {
41985
42180
  code: "SCR",
41986
42181
  name: "Seychellois rupee",
41987
42182
  symbol: "SRe",
41988
- countryCode: "SC"
42183
+ countryCode: "SC",
42184
+ precision: 2
41989
42185
  },
41990
42186
  {
41991
42187
  code: "SLL",
41992
42188
  name: "Sierra Leonean leone",
41993
42189
  symbol: "Le",
41994
- countryCode: "SL"
42190
+ countryCode: "SL",
42191
+ precision: 0
41995
42192
  },
41996
42193
  {
41997
42194
  code: "SGD",
41998
42195
  name: "Singapore dollar",
41999
42196
  symbol: "$",
42000
- countryCode: "SG"
42197
+ countryCode: "SG",
42198
+ precision: 2
42001
42199
  },
42002
42200
  {
42003
42201
  code: "ANG",
42004
42202
  name: "Netherlands Antillean guilder",
42005
42203
  symbol: "ƒ",
42006
- countryCode: "SX"
42204
+ countryCode: "SX",
42205
+ precision: 2
42007
42206
  },
42008
42207
  {
42009
42208
  code: "EUR",
42010
42209
  name: "Euro",
42011
42210
  symbol: "€",
42012
- countryCode: "SK"
42211
+ countryCode: "SK",
42212
+ precision: 2
42013
42213
  },
42014
42214
  {
42015
42215
  code: "EUR",
42016
42216
  name: "Euro",
42017
42217
  symbol: "€",
42018
- countryCode: "SI"
42218
+ countryCode: "SI",
42219
+ precision: 2
42019
42220
  },
42020
42221
  {
42021
42222
  code: "SBD",
42022
42223
  name: "Solomon Islands dollar",
42023
42224
  symbol: "Si$",
42024
- countryCode: "SB"
42225
+ countryCode: "SB",
42226
+ precision: 2
42025
42227
  },
42026
42228
  {
42027
42229
  code: "SOS",
42028
42230
  name: "Somali shilling",
42029
42231
  symbol: "Sh.so.",
42030
- countryCode: "SO"
42232
+ countryCode: "SO",
42233
+ precision: 0
42031
42234
  },
42032
42235
  {
42033
42236
  code: "ZAR",
42034
42237
  name: "South African rand",
42035
42238
  symbol: "R",
42036
- countryCode: "ZA"
42239
+ countryCode: "ZA",
42240
+ precision: 2
42037
42241
  },
42038
42242
  {
42039
42243
  code: "GBP",
42040
42244
  name: "British pound",
42041
42245
  symbol: "£",
42042
- countryCode: "GS"
42246
+ countryCode: "GS",
42247
+ precision: 2
42043
42248
  },
42044
42249
  {
42045
42250
  code: "KRW",
42046
42251
  name: "Won",
42047
42252
  symbol: "₩",
42048
- countryCode: "KR"
42253
+ countryCode: "KR",
42254
+ precision: 0
42049
42255
  },
42050
42256
  {
42051
42257
  code: "SSP",
42052
42258
  name: "South Sudanese pound",
42053
42259
  symbol: "£",
42054
- countryCode: "SS"
42260
+ countryCode: "SS",
42261
+ precision: 2
42055
42262
  },
42056
42263
  {
42057
42264
  code: "EUR",
42058
42265
  name: "Euro",
42059
42266
  symbol: "€",
42060
- countryCode: "ES"
42267
+ countryCode: "ES",
42268
+ precision: 2
42061
42269
  },
42062
42270
  {
42063
42271
  code: "LKR",
42064
42272
  name: "Sri Lankan rupee",
42065
42273
  symbol: "Rs",
42066
- countryCode: "LK"
42274
+ countryCode: "LK",
42275
+ precision: 2
42067
42276
  },
42068
42277
  {
42069
42278
  code: "SDG",
42070
42279
  name: "Sudanese pound",
42071
42280
  symbol: ".س.ج",
42072
- countryCode: "SD"
42281
+ countryCode: "SD",
42282
+ precision: 2
42073
42283
  },
42074
42284
  {
42075
42285
  code: "SRD",
42076
42286
  name: "Surinamese dollar",
42077
42287
  symbol: "$",
42078
- countryCode: "SR"
42288
+ countryCode: "SR",
42289
+ precision: 2
42079
42290
  },
42080
42291
  {
42081
42292
  code: "NOK",
42082
42293
  name: "Norwegian krone",
42083
42294
  symbol: "ko",
42084
- countryCode: "SJ"
42295
+ countryCode: "SJ",
42296
+ precision: 2
42085
42297
  },
42086
42298
  {
42087
42299
  code: "SEK",
42088
42300
  name: "Swedish krona",
42089
42301
  symbol: "ko",
42090
- countryCode: "SE"
42302
+ countryCode: "SE",
42303
+ precision: 2
42091
42304
  },
42092
42305
  {
42093
42306
  code: "CHF",
42094
42307
  name: "Swiss franc",
42095
42308
  symbol: "CHf",
42096
- countryCode: "CH"
42309
+ countryCode: "CH",
42310
+ precision: 2
42097
42311
  },
42098
42312
  {
42099
42313
  code: "SYP",
42100
42314
  name: "Syrian pound",
42101
42315
  symbol: "LS",
42102
- countryCode: "SY"
42316
+ countryCode: "SY",
42317
+ precision: 0
42103
42318
  },
42104
42319
  {
42105
42320
  code: "TWD",
42106
42321
  name: "New Taiwan dollar",
42107
42322
  symbol: "$",
42108
- countryCode: "TW"
42323
+ countryCode: "TW",
42324
+ precision: 2
42109
42325
  },
42110
42326
  {
42111
42327
  code: "TJS",
42112
42328
  name: "Tajikistani somoni",
42113
42329
  symbol: "SM",
42114
- countryCode: "TJ"
42330
+ countryCode: "TJ",
42331
+ precision: 2
42115
42332
  },
42116
42333
  {
42117
42334
  code: "TZS",
42118
42335
  name: "Tanzanian shilling",
42119
42336
  symbol: "TSh",
42120
- countryCode: "TZ"
42337
+ countryCode: "TZ",
42338
+ precision: 2
42121
42339
  },
42122
42340
  {
42123
42341
  code: "THB",
42124
42342
  name: "Thai baht",
42125
42343
  symbol: "฿",
42126
- countryCode: "TH"
42344
+ countryCode: "TH",
42345
+ precision: 2
42127
42346
  },
42128
42347
  {
42129
42348
  code: "BSD",
42130
42349
  name: "Bahamian dollar",
42131
42350
  symbol: "B$",
42132
- countryCode: "BS"
42351
+ countryCode: "BS",
42352
+ precision: 2
42133
42353
  },
42134
42354
  {
42135
42355
  code: "GMD",
42136
42356
  name: "Gambian dalasi",
42137
42357
  symbol: "D",
42138
- countryCode: "GM"
42358
+ countryCode: "GM",
42359
+ precision: 2
42139
42360
  },
42140
42361
  {
42141
42362
  code: "USD",
42142
42363
  name: "United States dollar",
42143
42364
  symbol: "$",
42144
- countryCode: "TL"
42365
+ countryCode: "TL",
42366
+ precision: 2
42145
42367
  },
42146
42368
  {
42147
42369
  code: "XOF",
42148
42370
  name: "West African CFA franc",
42149
42371
  symbol: "CFA",
42150
- countryCode: "TG"
42372
+ countryCode: "TG",
42373
+ precision: 0
42151
42374
  },
42152
42375
  {
42153
42376
  code: "NZD",
42154
42377
  name: "New Zealand dollar",
42155
42378
  symbol: "$",
42156
- countryCode: "TK"
42379
+ countryCode: "TK",
42380
+ precision: 2
42157
42381
  },
42158
42382
  {
42159
42383
  code: "TOP",
42160
42384
  name: "Tongan paʻanga",
42161
42385
  symbol: "$",
42162
- countryCode: "TO"
42386
+ countryCode: "TO",
42387
+ precision: 2
42163
42388
  },
42164
42389
  {
42165
42390
  code: "TTD",
42166
42391
  name: "Trinidad and Tobago dollar",
42167
42392
  symbol: "$",
42168
- countryCode: "TT"
42393
+ countryCode: "TT",
42394
+ precision: 2
42169
42395
  },
42170
42396
  {
42171
42397
  code: "TND",
42172
42398
  name: "Tunisian dinar",
42173
42399
  symbol: "ت.د",
42174
- countryCode: "TN"
42400
+ countryCode: "TN",
42401
+ precision: 3
42175
42402
  },
42176
42403
  {
42177
42404
  code: "TRY",
42178
42405
  name: "Turkish lira",
42179
42406
  symbol: "₺",
42180
- countryCode: "TR"
42407
+ countryCode: "TR",
42408
+ precision: 2
42181
42409
  },
42182
42410
  {
42183
42411
  code: "TMT",
42184
42412
  name: "Turkmenistan manat",
42185
42413
  symbol: "T",
42186
- countryCode: "TM"
42414
+ countryCode: "TM",
42415
+ precision: 2
42187
42416
  },
42188
42417
  {
42189
42418
  code: "USD",
42190
42419
  name: "United States dollar",
42191
42420
  symbol: "$",
42192
- countryCode: "TC"
42421
+ countryCode: "TC",
42422
+ precision: 2
42193
42423
  },
42194
42424
  {
42195
42425
  code: "AUD",
42196
42426
  name: "Australian dollar",
42197
42427
  symbol: "$",
42198
- countryCode: "TV"
42428
+ countryCode: "TV",
42429
+ precision: 2
42199
42430
  },
42200
42431
  {
42201
42432
  code: "UGX",
42202
42433
  name: "Ugandan shilling",
42203
42434
  symbol: "USh",
42204
- countryCode: "UG"
42435
+ countryCode: "UG",
42436
+ precision: 0
42205
42437
  },
42206
42438
  {
42207
42439
  code: "UAH",
42208
42440
  name: "Ukrainian hryvnia",
42209
42441
  symbol: "₴",
42210
- countryCode: "UA"
42442
+ countryCode: "UA",
42443
+ precision: 2
42211
42444
  },
42212
42445
  {
42213
42446
  code: "AED",
42214
42447
  name: "United Arab Emirates dirham",
42215
42448
  symbol: "إ.د",
42216
- countryCode: "AE"
42449
+ countryCode: "AE",
42450
+ precision: 2
42217
42451
  },
42218
42452
  {
42219
42453
  code: "GBP",
42220
42454
  name: "British pound",
42221
42455
  symbol: "£",
42222
- countryCode: "GB"
42456
+ countryCode: "GB",
42457
+ precision: 2
42223
42458
  },
42224
42459
  {
42225
42460
  code: "USD",
42226
42461
  name: "United States dollar",
42227
42462
  symbol: "$",
42228
- countryCode: "US"
42463
+ countryCode: "US",
42464
+ precision: 2
42229
42465
  },
42230
42466
  {
42231
42467
  code: "USD",
42232
42468
  name: "United States dollar",
42233
42469
  symbol: "$",
42234
- countryCode: "UM"
42470
+ countryCode: "UM",
42471
+ precision: 2
42235
42472
  },
42236
42473
  {
42237
42474
  code: "UYU",
42238
42475
  name: "Uruguayan peso",
42239
42476
  symbol: "$",
42240
- countryCode: "UY"
42477
+ countryCode: "UY",
42478
+ precision: 2
42241
42479
  },
42242
42480
  {
42243
42481
  code: "UZS",
42244
42482
  name: "Uzbekistani soʻm",
42245
42483
  symbol: "лв",
42246
- countryCode: "UZ"
42484
+ countryCode: "UZ",
42485
+ precision: 2
42247
42486
  },
42248
42487
  {
42249
42488
  code: "VUV",
42250
42489
  name: "Vanuatu vatu",
42251
42490
  symbol: "VT",
42252
- countryCode: "VU"
42491
+ countryCode: "VU",
42492
+ precision: 0
42253
42493
  },
42254
42494
  {
42255
42495
  code: "EUR",
42256
42496
  name: "Euro",
42257
42497
  symbol: "€",
42258
- countryCode: "VA"
42498
+ countryCode: "VA",
42499
+ precision: 2
42259
42500
  },
42260
42501
  {
42261
42502
  code: "VES",
42262
42503
  name: "Bolívar",
42263
42504
  symbol: "Bs",
42264
- countryCode: "VE"
42505
+ countryCode: "VE",
42506
+ precision: 2
42265
42507
  },
42266
42508
  {
42267
42509
  code: "VND",
42268
42510
  name: "Vietnamese đồng",
42269
42511
  symbol: "₫",
42270
- countryCode: "VN"
42512
+ countryCode: "VN",
42513
+ precision: 0
42271
42514
  },
42272
42515
  {
42273
42516
  code: "USD",
42274
42517
  name: "United States dollar",
42275
42518
  symbol: "$",
42276
- countryCode: "VG"
42519
+ countryCode: "VG",
42520
+ precision: 2
42277
42521
  },
42278
42522
  {
42279
42523
  code: "USD",
42280
42524
  name: "United States dollar",
42281
42525
  symbol: "$",
42282
- countryCode: "VI"
42526
+ countryCode: "VI",
42527
+ precision: 2
42283
42528
  },
42284
42529
  {
42285
42530
  code: "XPF",
42286
42531
  name: "CFP franc",
42287
42532
  symbol: "₣",
42288
- countryCode: "WF"
42533
+ countryCode: "WF",
42534
+ precision: 0
42289
42535
  },
42290
42536
  {
42291
42537
  code: "MAD",
42292
42538
  name: "Moroccan dirham",
42293
42539
  symbol: "DH",
42294
- countryCode: "EH"
42540
+ countryCode: "EH",
42541
+ precision: 2
42295
42542
  },
42296
42543
  {
42297
42544
  code: "YER",
42298
42545
  name: "Yemeni rial",
42299
42546
  symbol: "﷼",
42300
- countryCode: "YE"
42547
+ countryCode: "YE",
42548
+ precision: 0
42301
42549
  },
42302
42550
  {
42303
42551
  code: "ZMW",
42304
42552
  name: "Zambian kwacha",
42305
42553
  symbol: "ZK",
42306
- countryCode: "ZM"
42554
+ countryCode: "ZM",
42555
+ precision: 2
42307
42556
  },
42308
42557
  {
42309
42558
  code: "ZWL",
42310
42559
  name: "Zimbabwe Dollar",
42311
42560
  symbol: "$",
42312
- countryCode: "ZW"
42561
+ countryCode: "ZW",
42562
+ precision: 2
42313
42563
  }
42314
42564
  ], S = H;
42315
42565
  function K() {
42316
42566
  return S;
42317
42567
  }
42318
- function I(o) {
42319
- return S.find((e) => e.iso2.toLowerCase() === o.toLowerCase());
42568
+ function I(e) {
42569
+ return S.find((o) => o.iso2.toLowerCase() === e.toLowerCase());
42320
42570
  }
42321
- function $(o) {
42322
- return S.find((e) => e.iso3.toLowerCase() === o.toLowerCase());
42571
+ function $(e) {
42572
+ return S.find((o) => o.iso3.toLowerCase() === e.toLowerCase());
42323
42573
  }
42324
- function ee(o) {
42574
+ function ee(e) {
42325
42575
  return S.find(
42326
- (e) => e.name.toLowerCase().includes(o.toLowerCase())
42576
+ (o) => o.name.toLowerCase().includes(e.toLowerCase())
42327
42577
  );
42328
42578
  }
42329
- function F(o) {
42330
- if (!o.trim()) return S;
42331
- const e = o.toLowerCase().trim();
42579
+ function F(e) {
42580
+ if (!e.trim()) return S;
42581
+ const o = e.toLowerCase().trim();
42332
42582
  return S.filter(
42333
- (a) => a.name.toLowerCase().includes(e) || a.iso2.toLowerCase().includes(e) || a.iso3.toLowerCase().includes(e) || a.phone_code.includes(e)
42583
+ (a) => a.name.toLowerCase().includes(o) || a.iso2.toLowerCase().includes(o) || a.iso3.toLowerCase().includes(o) || a.phone_code.includes(o)
42334
42584
  );
42335
42585
  }
42336
- function w(o) {
42337
- return j.filter((e) => e.countryCode.toLowerCase() === o.toLowerCase());
42586
+ function w(e) {
42587
+ return j.filter((o) => o.countryCode.toLowerCase() === e.toLowerCase());
42338
42588
  }
42339
- function U(o) {
42340
- return v.filter((e) => e.countryCode.toLowerCase() === o.toLowerCase());
42589
+ function U(e) {
42590
+ return v.filter((o) => o.countryCode.toLowerCase() === e.toLowerCase());
42341
42591
  }
42342
- function oe(o) {
42343
- return R.find((e) => e.countryCode.toLowerCase() === o.toLowerCase());
42592
+ function oe(e) {
42593
+ return R.find((o) => o.countryCode.toLowerCase() === e.toLowerCase());
42344
42594
  }
42345
- function V(o) {
42346
- return O.find((e) => e.iso2.toLowerCase() === o.toLowerCase());
42595
+ function V(e) {
42596
+ return O.find((o) => o.iso2.toLowerCase() === e.toLowerCase());
42347
42597
  }
42348
- function G(o) {
42349
- const e = V(o);
42350
- if (!e || !e.possibleLengths)
42598
+ function G(e) {
42599
+ const o = V(e);
42600
+ if (!o || !o.possibleLengths)
42351
42601
  return { min: void 0, max: void 0 };
42352
- const a = e.possibleLengths, i = a.match(/\[(\d+)-(\d+)\]/);
42602
+ const a = o.possibleLengths, i = a.match(/\[(\d+)-(\d+)\]/);
42353
42603
  if (i)
42354
42604
  return { min: parseInt(i[1], 10), max: parseInt(i[2], 10) };
42355
42605
  if (a.includes(",")) {
42356
- const m = a.split(",").map((t) => parseInt(t.trim(), 10)).filter((t) => !isNaN(t));
42357
- return { min: Math.min(...m), max: Math.max(...m) };
42606
+ const t = a.split(",").map((r) => parseInt(r.trim(), 10)).filter((r) => !isNaN(r));
42607
+ return { min: Math.min(...t), max: Math.max(...t) };
42358
42608
  }
42359
42609
  const n = parseInt(a, 10);
42360
42610
  return isNaN(n) ? { min: void 0, max: void 0 } : { min: n, max: n };
42361
42611
  }
42362
- function ae(o) {
42363
- const e = I(o);
42364
- return (e == null ? void 0 : e.tax_id_label) || "Tax ID";
42612
+ function ae(e) {
42613
+ return I(e)?.tax_id_label || "Tax ID";
42365
42614
  }
42366
- function ne(o) {
42367
- const e = I(o);
42368
- return (e == null ? void 0 : e.tax_id_placeholder) || "Enter tax ID";
42615
+ function ne(e) {
42616
+ return I(e)?.tax_id_placeholder || "Enter tax ID";
42369
42617
  }
42370
- function ie(o) {
42371
- const e = I(o);
42372
- return (e == null ? void 0 : e.postal_code_label) || "Postal Code";
42618
+ function ie(e) {
42619
+ return I(e)?.postal_code_label || "Postal Code";
42373
42620
  }
42374
- function N(o, e, a, i) {
42375
- const [n, m] = _(!1), [t, c] = _(""), [d, f] = _(a ?? null), C = E(
42376
- () => e(o, t),
42377
- [o, t, e]
42378
- ), A = r(() => m(!0), []), p = r(() => {
42379
- m(!1), c("");
42380
- }, []), T = r(() => m((g) => !g), []), l = r(
42621
+ function N(e, o, a, i) {
42622
+ const [n, t] = _(!1), [r, u] = _(""), [d, f] = _(a ?? null), C = E(
42623
+ () => o(e, r),
42624
+ [e, r, o]
42625
+ ), A = m(() => t(!0), []), p = m(() => {
42626
+ t(!1), u("");
42627
+ }, []), T = m(() => t((g) => !g), []), l = m(
42381
42628
  (g) => {
42382
- f(g), i == null || i(g), p();
42629
+ f(g), i?.(g), p();
42383
42630
  },
42384
42631
  [i, p]
42385
- ), h = r(() => {
42632
+ ), h = m(() => {
42386
42633
  f(null);
42387
42634
  }, []);
42388
42635
  return E(
42389
42636
  () => ({
42390
42637
  isOpen: n,
42391
- searchQuery: t,
42638
+ searchQuery: r,
42392
42639
  filteredItems: C,
42393
42640
  selectedItem: d,
42394
42641
  open: A,
42395
42642
  close: p,
42396
42643
  toggle: T,
42397
- setSearchQuery: c,
42644
+ setSearchQuery: u,
42398
42645
  selectItem: l,
42399
42646
  clearSelection: h
42400
42647
  }),
42401
42648
  [
42402
42649
  n,
42403
- t,
42650
+ r,
42404
42651
  C,
42405
42652
  d,
42406
42653
  A,
42407
42654
  p,
42408
42655
  T,
42409
- c,
42656
+ u,
42410
42657
  l,
42411
42658
  h
42412
42659
  ]
42413
42660
  );
42414
42661
  }
42415
- function te(o, e) {
42416
- const a = r(
42662
+ function te(e, o) {
42663
+ const a = m(
42417
42664
  (i, n) => F(n),
42418
42665
  []
42419
42666
  );
42420
- return N(K(), a, o, e);
42667
+ return N(K(), a, e, o);
42421
42668
  }
42422
42669
  function D() {
42423
- const o = /* @__PURE__ */ new Set(), e = [];
42670
+ const e = /* @__PURE__ */ new Set(), o = [];
42424
42671
  for (const a of R)
42425
- o.has(a.code) || (o.add(a.code), e.push(a));
42426
- return e.sort((a, i) => a.code.localeCompare(i.code));
42672
+ e.has(a.code) || (e.add(a.code), o.push(a));
42673
+ return o.sort((a, i) => a.code.localeCompare(i.code));
42427
42674
  }
42428
- function re(o) {
42675
+ function re(e) {
42429
42676
  return D().find(
42430
- (e) => e.code.toLowerCase() === o.toLowerCase()
42677
+ (o) => o.code.toLowerCase() === e.toLowerCase()
42431
42678
  );
42432
42679
  }
42433
- function Z(o, e) {
42680
+ function Z(e, o) {
42434
42681
  let a = D();
42435
- if (e && (a = R.filter((n) => n.countryCode.toLowerCase() === e.toLowerCase())), !o.trim()) return a;
42436
- const i = o.toLowerCase().trim();
42682
+ if (o && (a = R.filter((n) => n.countryCode.toLowerCase() === o.toLowerCase())), !e.trim()) return a;
42683
+ const i = e.toLowerCase().trim();
42437
42684
  return a.filter(
42438
42685
  (n) => n.code.toLowerCase().includes(i) || n.name.toLowerCase().includes(i) || n.symbol.toLowerCase().includes(i)
42439
42686
  );
42440
42687
  }
42441
- function me(o, e) {
42442
- const a = r(
42688
+ function me(e, o) {
42689
+ const a = m(
42443
42690
  (i, n) => Z(n),
42444
42691
  []
42445
42692
  );
42446
- return N(D(), a, o, e);
42693
+ return N(D(), a, e, o);
42447
42694
  }
42448
- function se(o, e, a) {
42449
- const i = E(() => w(o), [o]), n = r(
42450
- (m, t) => {
42451
- if (!t.trim()) return m;
42452
- const c = t.toLowerCase().trim();
42453
- return m.filter(
42454
- (d) => d.name.toLowerCase().includes(c) || d.iso2.toLowerCase().includes(c)
42695
+ function se(e, o, a) {
42696
+ const i = E(() => w(e), [e]), n = m(
42697
+ (t, r) => {
42698
+ if (!r.trim()) return t;
42699
+ const u = r.toLowerCase().trim();
42700
+ return t.filter(
42701
+ (d) => d.name.toLowerCase().includes(u) || d.iso2.toLowerCase().includes(u)
42455
42702
  );
42456
42703
  },
42457
42704
  []
42458
42705
  );
42459
- return N(i, n, e, a);
42706
+ return N(i, n, o, a);
42460
42707
  }
42461
42708
  function W() {
42462
42709
  return L;
42463
42710
  }
42464
- function ue(o) {
42465
- return L.find((e) => e.code.toLowerCase() === o.toLowerCase());
42711
+ function ce(e) {
42712
+ return L.find((o) => o.code.toLowerCase() === e.toLowerCase());
42466
42713
  }
42467
- function J(o) {
42468
- if (!o.trim()) return L;
42469
- const e = o.toLowerCase().trim();
42714
+ function J(e) {
42715
+ if (!e.trim()) return L;
42716
+ const o = e.toLowerCase().trim();
42470
42717
  return L.filter(
42471
- (a) => a.english_name.toLowerCase().includes(e) || a.native_name.toLowerCase().includes(e) || a.code.toLowerCase().includes(e)
42718
+ (a) => a.english_name.toLowerCase().includes(o) || a.native_name.toLowerCase().includes(o) || a.code.toLowerCase().includes(o)
42472
42719
  );
42473
42720
  }
42474
- function ce(o, e) {
42475
- const a = r(
42721
+ function ue(e, o) {
42722
+ const a = m(
42476
42723
  (i, n) => J(n),
42477
42724
  []
42478
42725
  );
42479
- return N(W(), a, o, e);
42726
+ return N(W(), a, e, o);
42480
42727
  }
42481
42728
  function k() {
42482
- const o = /* @__PURE__ */ new Set(), e = [];
42729
+ const e = /* @__PURE__ */ new Set(), o = [];
42483
42730
  for (const a of v)
42484
- o.has(a.name) || (o.add(a.name), e.push(a));
42485
- return e.sort((a, i) => a.offset - i.offset);
42731
+ e.has(a.name) || (e.add(a.name), o.push(a));
42732
+ return o.sort((a, i) => a.offset - i.offset);
42486
42733
  }
42487
42734
  const Y = {
42488
42735
  "US/Eastern": "America/New_York",
@@ -42530,75 +42777,74 @@ const Y = {
42530
42777
  "Europe/Belfast": "Europe/London",
42531
42778
  "Europe/Tiraspol": "Europe/Chisinau"
42532
42779
  };
42533
- function de(o) {
42534
- var m;
42535
- if (!o) return;
42536
- const e = o.toLowerCase(), a = k(), i = a.find(
42537
- (t) => t.name.toLowerCase() === e
42780
+ function de(e) {
42781
+ if (!e) return;
42782
+ const o = e.toLowerCase(), a = k(), i = a.find(
42783
+ (t) => t.name.toLowerCase() === o
42538
42784
  );
42539
42785
  if (i) return i;
42540
- const n = (m = Object.entries(Y).find(
42541
- ([t]) => t.toLowerCase() === e
42542
- )) == null ? void 0 : m[1];
42786
+ const n = Object.entries(Y).find(
42787
+ ([t]) => t.toLowerCase() === o
42788
+ )?.[1];
42543
42789
  if (n)
42544
42790
  return a.find(
42545
42791
  (t) => t.name.toLowerCase() === n.toLowerCase()
42546
42792
  );
42547
42793
  }
42548
- function Q(o, e) {
42549
- const a = e ? U(e) : k();
42550
- if (!o.trim()) return a;
42551
- const i = o.toLowerCase().trim();
42794
+ function Q(e, o) {
42795
+ const a = o ? U(o) : k();
42796
+ if (!e.trim()) return a;
42797
+ const i = e.toLowerCase().trim();
42552
42798
  return a.filter(
42553
42799
  (n) => n.name.toLowerCase().includes(i) || n.tzName.toLowerCase().includes(i) || n.abbreviation.toLowerCase().includes(i) || n.offset_name.toLowerCase().includes(i)
42554
42800
  );
42555
42801
  }
42556
- function Ce(o, e, a) {
42802
+ function Ce(e, o, a) {
42557
42803
  const i = E(
42558
42804
  () => a ? U(a) : k(),
42559
42805
  [a]
42560
- ), n = r(
42561
- (m, t) => Q(t, a),
42806
+ ), n = m(
42807
+ (t, r) => Q(r, a),
42562
42808
  [a]
42563
42809
  );
42564
- return N(i, n, o, e);
42810
+ return N(i, n, e, o);
42565
42811
  }
42566
- function le(o, e, a) {
42567
- const i = (o == null ? void 0 : o.country) ?? (a ? I(a) ?? null : null), [n, m] = _(i), [t, c] = _((o == null ? void 0 : o.number) ?? ""), [d, f] = _(!1), [C, A] = _("");
42812
+ function le(e, o, a) {
42813
+ const i = e?.country ?? (a ? I(a) ?? null : null), [n, t] = _(i), [r, u] = _(e?.number ?? ""), [d, f] = _(!1), [C, A] = _("");
42568
42814
  x(() => {
42569
- o ? (m(o.country), c(o.number)) : (m(i), c(""));
42570
- }, [o, i]);
42815
+ e ? (t(e.country), u(e.number)) : (t(i), u(""));
42816
+ }, [e, i]);
42571
42817
  const p = K(), T = E(() => {
42572
42818
  if (!C.trim()) return p;
42573
42819
  const s = C.toLowerCase().trim().replace("+", "");
42574
42820
  return p.filter(
42575
- (u) => u.name.toLowerCase().includes(s) || u.phone_code.includes(s) || u.iso2.toLowerCase().includes(s)
42821
+ (c) => c.name.toLowerCase().includes(s) || c.phone_code.includes(s) || c.iso2.toLowerCase().includes(s)
42576
42822
  );
42577
- }, [p, C]), l = r(
42578
- (s, u) => ({
42823
+ }, [p, C]), l = m(
42824
+ (s, c) => ({
42579
42825
  country: s,
42580
42826
  dialCode: `+${s.phone_code}`,
42581
- number: u,
42582
- full: `+${s.phone_code}${u}`
42827
+ number: c,
42828
+ full: `+${s.phone_code}${c}`
42583
42829
  }),
42584
42830
  []
42585
- ), h = r(
42831
+ ), h = m(
42586
42832
  (s) => {
42587
- m(s), f(!1), A(""), e == null || e(l(s, t));
42833
+ t(s), f(!1), A(""), o?.(l(s, r));
42588
42834
  },
42589
- [t, e, l]
42590
- ), g = r(
42835
+ [r, o, l]
42836
+ ), g = m(
42591
42837
  (s) => {
42592
- let u = s.replace(/\D/g, "");
42838
+ let c = s.replace(/\D/g, "");
42593
42839
  const { max: b } = n ? G(n.iso2) : { max: void 0 };
42594
- b && u.length > b && (u = u.slice(0, b)), c(u), n && (e == null || e(l(n, u)));
42840
+ b && c.length > b && (c = c.slice(0, b)), u(c), n && o?.(l(n, c));
42595
42841
  },
42596
- [n, e, l]
42597
- ), M = r(() => f((s) => !s), []), B = r(() => {
42842
+ [n, o, l]
42843
+ ), M = m(() => f((s) => !s), []), B = m(() => {
42598
42844
  f(!1), A("");
42599
42845
  }, []), P = E(
42600
- () => n ? l(n, t) : null,
42601
- [n, t, l]
42846
+ () => n ? l(n, r) : null,
42847
+ [n, r, l]
42602
42848
  ), { min: y, max: z } = E(
42603
42849
  () => n ? G(n.iso2) : { min: void 0, max: void 0 },
42604
42850
  [n]
@@ -42606,7 +42852,7 @@ function le(o, e, a) {
42606
42852
  return E(
42607
42853
  () => ({
42608
42854
  country: n,
42609
- number: t,
42855
+ number: r,
42610
42856
  value: P,
42611
42857
  isOpen: d,
42612
42858
  searchQuery: C,
@@ -42621,7 +42867,7 @@ function le(o, e, a) {
42621
42867
  }),
42622
42868
  [
42623
42869
  n,
42624
- t,
42870
+ r,
42625
42871
  P,
42626
42872
  d,
42627
42873
  C,
@@ -42636,44 +42882,44 @@ function le(o, e, a) {
42636
42882
  ]
42637
42883
  );
42638
42884
  }
42639
- function ye(o, e, a, i, n, m) {
42640
- const [t, c] = _(!1), [d, f] = _(""), [C, A] = _(i ?? []), p = E(
42641
- () => e(o, d),
42642
- [o, d, e]
42643
- ), T = r(() => c(!0), []), l = r(() => {
42644
- c(!1), f("");
42645
- }, []), h = r(() => c((y) => !y), []), g = r(
42885
+ function ye(e, o, a, i, n, t) {
42886
+ const [r, u] = _(!1), [d, f] = _(""), [C, A] = _(i ?? []), p = E(
42887
+ () => o(e, d),
42888
+ [e, d, o]
42889
+ ), T = m(() => u(!0), []), l = m(() => {
42890
+ u(!1), f("");
42891
+ }, []), h = m(() => u((y) => !y), []), g = m(
42646
42892
  (y) => C.some((z) => a(z) === a(y)),
42647
42893
  [C, a]
42648
- ), M = r(
42894
+ ), M = m(
42649
42895
  (y) => {
42650
42896
  A((z) => {
42651
42897
  const s = z.some((b) => a(b) === a(y));
42652
- let u;
42898
+ let c;
42653
42899
  if (s)
42654
- u = z.filter((b) => a(b) !== a(y));
42900
+ c = z.filter((b) => a(b) !== a(y));
42655
42901
  else {
42656
- if (m !== void 0 && z.length >= m) return z;
42657
- u = [...z, y];
42902
+ if (t !== void 0 && z.length >= t) return z;
42903
+ c = [...z, y];
42658
42904
  }
42659
- return n == null || n(u), u;
42905
+ return n?.(c), c;
42660
42906
  });
42661
42907
  },
42662
- [a, m, n]
42663
- ), B = r(
42908
+ [a, t, n]
42909
+ ), B = m(
42664
42910
  (y) => {
42665
42911
  A((z) => {
42666
- const s = z.filter((u) => a(u) !== a(y));
42667
- return n == null || n(s), s;
42912
+ const s = z.filter((c) => a(c) !== a(y));
42913
+ return n?.(s), s;
42668
42914
  });
42669
42915
  },
42670
42916
  [a, n]
42671
- ), P = r(() => {
42672
- A([]), n == null || n([]);
42917
+ ), P = m(() => {
42918
+ A([]), n?.([]);
42673
42919
  }, [n]);
42674
42920
  return E(
42675
42921
  () => ({
42676
- isOpen: t,
42922
+ isOpen: r,
42677
42923
  searchQuery: d,
42678
42924
  filteredItems: p,
42679
42925
  selectedItems: C,
@@ -42687,7 +42933,7 @@ function ye(o, e, a, i, n, m) {
42687
42933
  clearAll: P
42688
42934
  }),
42689
42935
  [
42690
- t,
42936
+ r,
42691
42937
  d,
42692
42938
  p,
42693
42939
  C,
@@ -42718,7 +42964,7 @@ export {
42718
42964
  re as getCurrencyByCode,
42719
42965
  oe as getCurrencyByCountry,
42720
42966
  w as getDivisionsByCountry,
42721
- ue as getLanguageByCode,
42967
+ ce as getLanguageByCode,
42722
42968
  V as getPhoneFormatByCountry,
42723
42969
  G as getPhoneLengths,
42724
42970
  ie as getPostalLabelByCountry,
@@ -42735,7 +42981,7 @@ export {
42735
42981
  te as useCountryPicker,
42736
42982
  me as useCurrencyPicker,
42737
42983
  se as useDivisionPicker,
42738
- ce as useLanguagePicker,
42984
+ ue as useLanguagePicker,
42739
42985
  ye as useMultiSelect,
42740
42986
  le as usePhoneInput,
42741
42987
  Ce as useTimezonePicker