@transferwise/components 0.0.0-experimental-58e9ef8 → 0.0.0-experimental-791acf3

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 (40) hide show
  1. package/build/common/preventScroll/PreventScroll.js +1 -8
  2. package/build/common/preventScroll/PreventScroll.js.map +1 -1
  3. package/build/common/preventScroll/PreventScroll.mjs +1 -8
  4. package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
  5. package/build/inputs/SelectInput.js +40 -12
  6. package/build/inputs/SelectInput.js.map +1 -1
  7. package/build/inputs/SelectInput.mjs +40 -12
  8. package/build/inputs/SelectInput.mjs.map +1 -1
  9. package/build/inputs/_BottomSheet.js +1 -29
  10. package/build/inputs/_BottomSheet.js.map +1 -1
  11. package/build/inputs/_BottomSheet.mjs +2 -30
  12. package/build/inputs/_BottomSheet.mjs.map +1 -1
  13. package/build/main.css +9 -13
  14. package/build/slidingPanel/SlidingPanel.js +20 -23
  15. package/build/slidingPanel/SlidingPanel.js.map +1 -1
  16. package/build/slidingPanel/SlidingPanel.mjs +21 -24
  17. package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
  18. package/build/styles/dimmer/Dimmer.css +0 -1
  19. package/build/styles/inputs/SelectInput.css +9 -12
  20. package/build/styles/main.css +9 -13
  21. package/build/types/common/preventScroll/PreventScroll.d.ts +1 -1
  22. package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -1
  23. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  24. package/build/types/inputs/_BottomSheet.d.ts.map +1 -1
  25. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  26. package/package.json +3 -3
  27. package/src/common/bottomSheet/__snapshots__/BottomSheet.test.tsx.snap +0 -6
  28. package/src/common/preventScroll/PreventScroll.tsx +1 -11
  29. package/src/dimmer/Dimmer.css +0 -1
  30. package/src/dimmer/Dimmer.less +0 -1
  31. package/src/inputs/SelectInput.css +9 -12
  32. package/src/inputs/SelectInput.story.tsx +4735 -21
  33. package/src/inputs/SelectInput.tsx +45 -15
  34. package/src/inputs/_BottomSheet.less +6 -12
  35. package/src/inputs/_BottomSheet.tsx +5 -19
  36. package/src/main.css +9 -13
  37. package/src/slidingPanel/SlidingPanel.tsx +24 -29
  38. package/src/common/bottomSheet/BottomSheet.test.story.tsx +0 -94
  39. package/src/inputs/SelectInput.test.story.tsx +0 -83
  40. package/src/moneyInput/MoneyInput.test.story.tsx +0 -101
@@ -636,48 +636,4762 @@ function countryWithCurrencyOption(country: CountryWithCurrency) {
636
636
  } satisfies SelectInputItem<CountryWithCurrency>;
637
637
  }
638
638
 
639
- export const WithCustomSearchResultSorting: Story<CountryWithCurrency> = {
639
+ interface CountryValueWithKeywords {
640
+ title: string;
641
+ value: string;
642
+ keywords?: string[];
643
+ media?: {
644
+ value: string;
645
+ type: string;
646
+ };
647
+ }
648
+
649
+ export const WithCustomSearchResultSorting: Story<CountryValueWithKeywords> = {
640
650
  args: {
641
- items: countriesWithCurrency.map(countryWithCurrencyOption),
642
- compareValues: 'code',
643
- renderValue: (country) => (
644
- <SelectInputOptionContent
645
- title={country.name}
646
- icon={<Flag code={country.code} intrinsicSize={24} />}
647
- />
648
- ),
649
- value: countriesWithCurrency[0],
651
+ items: [
652
+ {
653
+ type: 'group',
654
+ label: 'Popular countries',
655
+ options: [
656
+ {
657
+ type: 'option',
658
+ value: { title: 'Germany', value: 'DE' },
659
+ filterMatchers: [
660
+ 'Euro',
661
+ 'EUR',
662
+ 'sterling',
663
+ 'British pound',
664
+ 'GBP',
665
+ 'United States dollar',
666
+ 'USD',
667
+ 'deu',
668
+ 'Germany',
669
+ ],
670
+ },
671
+ {
672
+ type: 'option',
673
+ value: { title: 'India', value: 'IN' },
674
+ filterMatchers: [
675
+ 'Euro',
676
+ 'EUR',
677
+ 'sterling',
678
+ 'British pound',
679
+ 'GBP',
680
+ 'Indian rupee',
681
+ 'INR',
682
+ 'United States dollar',
683
+ 'USD',
684
+ 'ind',
685
+ 'India',
686
+ ],
687
+ },
688
+ {
689
+ type: 'option',
690
+ value: { title: 'Thailand', value: 'TH' },
691
+ filterMatchers: [
692
+ 'Euro',
693
+ 'EUR',
694
+ 'sterling',
695
+ 'British pound',
696
+ 'GBP',
697
+ 'Thai baht',
698
+ 'THB',
699
+ 'United States dollar',
700
+ 'USD',
701
+ 'tha',
702
+ 'Thailand',
703
+ ],
704
+ },
705
+ {
706
+ type: 'option',
707
+ value: { title: 'United States', value: 'US' },
708
+ filterMatchers: [
709
+ 'United States of America',
710
+ 'Euro',
711
+ 'EUR',
712
+ 'sterling',
713
+ 'British pound',
714
+ 'GBP',
715
+ 'United States dollar',
716
+ 'USD',
717
+ 'usa',
718
+ 'United States',
719
+ ],
720
+ },
721
+ ],
722
+ },
723
+ {
724
+ type: 'group',
725
+ label: 'All countries',
726
+ options: [
727
+ {
728
+ type: 'option',
729
+ value: { title: 'Åland Islands', value: 'AX' },
730
+ filterMatchers: [
731
+ 'Euro',
732
+ 'EUR',
733
+ 'sterling',
734
+ 'British pound',
735
+ 'GBP',
736
+ 'United States dollar',
737
+ 'USD',
738
+ 'ala',
739
+ 'Åland Islands',
740
+ ],
741
+ },
742
+ {
743
+ type: 'option',
744
+ value: { title: 'Albania', value: 'AL' },
745
+ filterMatchers: [
746
+ 'Albanian lek',
747
+ 'ALL',
748
+ 'Euro',
749
+ 'EUR',
750
+ 'sterling',
751
+ 'British pound',
752
+ 'GBP',
753
+ 'United States dollar',
754
+ 'USD',
755
+ 'alb',
756
+ 'Albania',
757
+ ],
758
+ },
759
+ {
760
+ type: 'option',
761
+ value: { title: 'Algeria', value: 'DZ' },
762
+ filterMatchers: [
763
+ 'Euro',
764
+ 'EUR',
765
+ 'sterling',
766
+ 'British pound',
767
+ 'GBP',
768
+ 'United States dollar',
769
+ 'USD',
770
+ 'dza',
771
+ 'Algeria',
772
+ ],
773
+ },
774
+ {
775
+ type: 'option',
776
+ value: { title: 'American Samoa', value: 'AS' },
777
+ filterMatchers: [
778
+ 'Euro',
779
+ 'EUR',
780
+ 'sterling',
781
+ 'British pound',
782
+ 'GBP',
783
+ 'United States dollar',
784
+ 'USD',
785
+ 'asm',
786
+ 'American Samoa',
787
+ ],
788
+ },
789
+ {
790
+ type: 'option',
791
+ value: { title: 'Andorra', value: 'AD' },
792
+ filterMatchers: [
793
+ 'Euro',
794
+ 'EUR',
795
+ 'sterling',
796
+ 'British pound',
797
+ 'GBP',
798
+ 'United States dollar',
799
+ 'USD',
800
+ 'and',
801
+ 'Andorra',
802
+ ],
803
+ },
804
+ {
805
+ type: 'option',
806
+ value: { title: 'Angola', value: 'AO' },
807
+ filterMatchers: [
808
+ 'Euro',
809
+ 'EUR',
810
+ 'sterling',
811
+ 'British pound',
812
+ 'GBP',
813
+ 'United States dollar',
814
+ 'USD',
815
+ 'ago',
816
+ 'Angola',
817
+ ],
818
+ },
819
+ {
820
+ type: 'option',
821
+ value: { title: 'Anguilla', value: 'AI' },
822
+ filterMatchers: [
823
+ 'Euro',
824
+ 'EUR',
825
+ 'sterling',
826
+ 'British pound',
827
+ 'GBP',
828
+ 'United States dollar',
829
+ 'USD',
830
+ 'aia',
831
+ 'Anguilla',
832
+ ],
833
+ },
834
+ {
835
+ type: 'option',
836
+ value: { title: 'Antarctica', value: 'AQ' },
837
+ filterMatchers: ['United States dollar', 'USD', 'ata', 'Antarctica'],
838
+ },
839
+ {
840
+ type: 'option',
841
+ value: { title: 'Antigua and Barbuda', value: 'AG' },
842
+ filterMatchers: [
843
+ 'Euro',
844
+ 'EUR',
845
+ 'sterling',
846
+ 'British pound',
847
+ 'GBP',
848
+ 'United States dollar',
849
+ 'USD',
850
+ 'atg',
851
+ 'Antigua and Barbuda',
852
+ ],
853
+ },
854
+ {
855
+ type: 'option',
856
+ value: { title: 'Argentina', value: 'AR' },
857
+ filterMatchers: [
858
+ 'Argentine peso',
859
+ 'ARS',
860
+ 'Euro',
861
+ 'EUR',
862
+ 'sterling',
863
+ 'British pound',
864
+ 'GBP',
865
+ 'United States dollar',
866
+ 'USD',
867
+ 'arg',
868
+ 'Argentina',
869
+ ],
870
+ },
871
+ {
872
+ type: 'option',
873
+ value: { title: 'Armenia', value: 'AM' },
874
+ filterMatchers: [
875
+ 'Euro',
876
+ 'EUR',
877
+ 'sterling',
878
+ 'British pound',
879
+ 'GBP',
880
+ 'United States dollar',
881
+ 'USD',
882
+ 'arm',
883
+ 'Armenia',
884
+ ],
885
+ },
886
+ {
887
+ type: 'option',
888
+ value: { title: 'Aruba', value: 'AW' },
889
+ filterMatchers: [
890
+ 'Euro',
891
+ 'EUR',
892
+ 'sterling',
893
+ 'British pound',
894
+ 'GBP',
895
+ 'United States dollar',
896
+ 'USD',
897
+ 'abw',
898
+ 'Aruba',
899
+ ],
900
+ },
901
+ {
902
+ type: 'option',
903
+ value: { title: 'Australia', value: 'AU' },
904
+ filterMatchers: [
905
+ 'Australian dollar',
906
+ 'AUD',
907
+ 'Euro',
908
+ 'EUR',
909
+ 'sterling',
910
+ 'British pound',
911
+ 'GBP',
912
+ 'United States dollar',
913
+ 'USD',
914
+ 'aus',
915
+ 'Australia',
916
+ ],
917
+ },
918
+ {
919
+ type: 'option',
920
+ value: { title: 'Austria', value: 'AT' },
921
+ filterMatchers: [
922
+ 'Euro',
923
+ 'EUR',
924
+ 'sterling',
925
+ 'British pound',
926
+ 'GBP',
927
+ 'United States dollar',
928
+ 'USD',
929
+ 'aut',
930
+ 'Austria',
931
+ ],
932
+ },
933
+ {
934
+ type: 'option',
935
+ value: { title: 'Azerbaijan', value: 'AZ' },
936
+ filterMatchers: [
937
+ 'Azerbaijani manat',
938
+ 'AZN',
939
+ 'Euro',
940
+ 'EUR',
941
+ 'sterling',
942
+ 'British pound',
943
+ 'GBP',
944
+ 'United States dollar',
945
+ 'USD',
946
+ 'aze',
947
+ 'Azerbaijan',
948
+ ],
949
+ },
950
+ {
951
+ type: 'option',
952
+ value: { title: 'Bahamas', value: 'BS' },
953
+ filterMatchers: [
954
+ 'Euro',
955
+ 'EUR',
956
+ 'sterling',
957
+ 'British pound',
958
+ 'GBP',
959
+ 'United States dollar',
960
+ 'USD',
961
+ 'bhs',
962
+ 'Bahamas',
963
+ ],
964
+ },
965
+ {
966
+ type: 'option',
967
+ value: { title: 'Bahrain', value: 'BH' },
968
+ filterMatchers: [
969
+ 'Bahraini dinar',
970
+ 'BHD',
971
+ 'Euro',
972
+ 'EUR',
973
+ 'sterling',
974
+ 'British pound',
975
+ 'GBP',
976
+ 'United States dollar',
977
+ 'USD',
978
+ 'bhr',
979
+ 'Bahrain',
980
+ ],
981
+ },
982
+ {
983
+ type: 'option',
984
+ value: { title: 'Bangladesh', value: 'BD' },
985
+ filterMatchers: [
986
+ 'Bangladeshi taka',
987
+ 'BDT',
988
+ 'Euro',
989
+ 'EUR',
990
+ 'sterling',
991
+ 'British pound',
992
+ 'GBP',
993
+ 'United States dollar',
994
+ 'USD',
995
+ 'bgd',
996
+ 'Bangladesh',
997
+ ],
998
+ },
999
+ {
1000
+ type: 'option',
1001
+ value: { title: 'Barbados', value: 'BB' },
1002
+ filterMatchers: [
1003
+ 'Euro',
1004
+ 'EUR',
1005
+ 'sterling',
1006
+ 'British pound',
1007
+ 'GBP',
1008
+ 'United States dollar',
1009
+ 'USD',
1010
+ 'brb',
1011
+ 'Barbados',
1012
+ ],
1013
+ },
1014
+ {
1015
+ type: 'option',
1016
+ value: { title: 'Belgium', value: 'BE' },
1017
+ filterMatchers: [
1018
+ 'Euro',
1019
+ 'EUR',
1020
+ 'sterling',
1021
+ 'British pound',
1022
+ 'GBP',
1023
+ 'United States dollar',
1024
+ 'USD',
1025
+ 'bel',
1026
+ 'Belgium',
1027
+ ],
1028
+ },
1029
+ {
1030
+ type: 'option',
1031
+ value: { title: 'Benin', value: 'BJ' },
1032
+ filterMatchers: [
1033
+ 'Euro',
1034
+ 'EUR',
1035
+ 'sterling',
1036
+ 'British pound',
1037
+ 'GBP',
1038
+ 'United States dollar',
1039
+ 'USD',
1040
+ 'ben',
1041
+ 'Benin',
1042
+ ],
1043
+ },
1044
+ {
1045
+ type: 'option',
1046
+ value: { title: 'Bermuda', value: 'BM' },
1047
+ filterMatchers: [
1048
+ 'Bermudian dollar',
1049
+ 'BMD',
1050
+ 'Euro',
1051
+ 'EUR',
1052
+ 'sterling',
1053
+ 'British pound',
1054
+ 'GBP',
1055
+ 'United States dollar',
1056
+ 'USD',
1057
+ 'bmu',
1058
+ 'Bermuda',
1059
+ ],
1060
+ },
1061
+ {
1062
+ type: 'option',
1063
+ value: { title: 'Bhutan', value: 'BT' },
1064
+ filterMatchers: [
1065
+ 'Euro',
1066
+ 'EUR',
1067
+ 'sterling',
1068
+ 'British pound',
1069
+ 'GBP',
1070
+ 'United States dollar',
1071
+ 'USD',
1072
+ 'btn',
1073
+ 'Bhutan',
1074
+ ],
1075
+ },
1076
+ {
1077
+ type: 'option',
1078
+ value: { title: 'Bolivia', value: 'BO' },
1079
+ filterMatchers: [
1080
+ 'Bolivian boliviano',
1081
+ 'BOB',
1082
+ 'Euro',
1083
+ 'EUR',
1084
+ 'sterling',
1085
+ 'British pound',
1086
+ 'GBP',
1087
+ 'United States dollar',
1088
+ 'USD',
1089
+ 'bol',
1090
+ 'Bolivia',
1091
+ ],
1092
+ },
1093
+ {
1094
+ type: 'option',
1095
+ value: { title: 'Bonaire, Sint Eustatius and Saba', value: 'BQ' },
1096
+ filterMatchers: [
1097
+ 'United States dollar',
1098
+ 'USD',
1099
+ 'bes',
1100
+ 'Bonaire, Sint Eustatius and Saba',
1101
+ ],
1102
+ },
1103
+ {
1104
+ type: 'option',
1105
+ value: { title: 'Bosnia and Herzegovina', value: 'BA' },
1106
+ filterMatchers: [
1107
+ 'Bosnia and Herzegovina convertible mark',
1108
+ 'BAM',
1109
+ 'Euro',
1110
+ 'EUR',
1111
+ 'sterling',
1112
+ 'British pound',
1113
+ 'GBP',
1114
+ 'United States dollar',
1115
+ 'USD',
1116
+ 'bih',
1117
+ 'Bosnia and Herzegovina',
1118
+ ],
1119
+ },
1120
+ {
1121
+ type: 'option',
1122
+ value: { title: 'Botswana', value: 'BW' },
1123
+ filterMatchers: [
1124
+ 'Botswana pula',
1125
+ 'BWP',
1126
+ 'Euro',
1127
+ 'EUR',
1128
+ 'sterling',
1129
+ 'British pound',
1130
+ 'GBP',
1131
+ 'United States dollar',
1132
+ 'USD',
1133
+ 'bwa',
1134
+ 'Botswana',
1135
+ ],
1136
+ },
1137
+ {
1138
+ type: 'option',
1139
+ value: { title: 'Bouvet Island', value: 'BV' },
1140
+ filterMatchers: ['Norwegian krone', 'NOK', 'bvt', 'Bouvet Island'],
1141
+ },
1142
+ {
1143
+ type: 'option',
1144
+ value: { title: 'Brazil', value: 'BR' },
1145
+ filterMatchers: [
1146
+ 'Brazilian real',
1147
+ 'BRL',
1148
+ 'United States dollar',
1149
+ 'USD',
1150
+ 'bra',
1151
+ 'Brazil',
1152
+ ],
1153
+ },
1154
+ {
1155
+ type: 'option',
1156
+ value: { title: 'British Indian Ocean Territory', value: 'IO' },
1157
+ filterMatchers: [
1158
+ 'United States dollar',
1159
+ 'USD',
1160
+ 'iot',
1161
+ 'British Indian Ocean Territory',
1162
+ ],
1163
+ },
1164
+ {
1165
+ type: 'option',
1166
+ value: { title: 'British Virgin Islands', value: 'VG' },
1167
+ filterMatchers: [
1168
+ 'Euro',
1169
+ 'EUR',
1170
+ 'sterling',
1171
+ 'British pound',
1172
+ 'GBP',
1173
+ 'United States dollar',
1174
+ 'USD',
1175
+ 'vgb',
1176
+ 'British Virgin Islands',
1177
+ ],
1178
+ },
1179
+ {
1180
+ type: 'option',
1181
+ value: { title: 'Brunei Darussalam', value: 'BN' },
1182
+ filterMatchers: [
1183
+ 'Euro',
1184
+ 'EUR',
1185
+ 'sterling',
1186
+ 'British pound',
1187
+ 'GBP',
1188
+ 'United States dollar',
1189
+ 'USD',
1190
+ 'brn',
1191
+ 'Brunei Darussalam',
1192
+ ],
1193
+ },
1194
+ {
1195
+ type: 'option',
1196
+ value: { title: 'Bulgaria', value: 'BG' },
1197
+ filterMatchers: [
1198
+ 'Euro',
1199
+ 'EUR',
1200
+ 'sterling',
1201
+ 'British pound',
1202
+ 'GBP',
1203
+ 'United States dollar',
1204
+ 'USD',
1205
+ 'bgr',
1206
+ 'Bulgaria',
1207
+ ],
1208
+ },
1209
+ {
1210
+ type: 'option',
1211
+ value: { title: 'Burkina Faso', value: 'BF' },
1212
+ filterMatchers: [
1213
+ 'Euro',
1214
+ 'EUR',
1215
+ 'sterling',
1216
+ 'British pound',
1217
+ 'GBP',
1218
+ 'United States dollar',
1219
+ 'USD',
1220
+ 'bfa',
1221
+ 'Burkina Faso',
1222
+ ],
1223
+ },
1224
+ {
1225
+ type: 'option',
1226
+ value: { title: 'Cambodia', value: 'KH' },
1227
+ filterMatchers: [
1228
+ 'Euro',
1229
+ 'EUR',
1230
+ 'sterling',
1231
+ 'British pound',
1232
+ 'GBP',
1233
+ 'Cambodian riel',
1234
+ 'KHR',
1235
+ 'United States dollar',
1236
+ 'USD',
1237
+ 'khm',
1238
+ 'Cambodia',
1239
+ ],
1240
+ },
1241
+ {
1242
+ type: 'option',
1243
+ value: { title: 'Canada', value: 'CA' },
1244
+ filterMatchers: [
1245
+ 'Canadian dollar',
1246
+ 'CAD',
1247
+ 'Euro',
1248
+ 'EUR',
1249
+ 'sterling',
1250
+ 'British pound',
1251
+ 'GBP',
1252
+ 'United States dollar',
1253
+ 'USD',
1254
+ 'can',
1255
+ 'Canada',
1256
+ ],
1257
+ },
1258
+ {
1259
+ type: 'option',
1260
+ value: { title: 'Cape Verde', value: 'CV' },
1261
+ filterMatchers: [
1262
+ 'Cape Verdean escudo',
1263
+ 'CVE',
1264
+ 'Euro',
1265
+ 'EUR',
1266
+ 'sterling',
1267
+ 'British pound',
1268
+ 'GBP',
1269
+ 'United States dollar',
1270
+ 'USD',
1271
+ 'cpv',
1272
+ 'Cape Verde',
1273
+ ],
1274
+ },
1275
+ {
1276
+ type: 'option',
1277
+ value: { title: 'Cayman Islands', value: 'KY' },
1278
+ filterMatchers: [
1279
+ 'Euro',
1280
+ 'EUR',
1281
+ 'sterling',
1282
+ 'British pound',
1283
+ 'GBP',
1284
+ 'United States dollar',
1285
+ 'USD',
1286
+ 'cym',
1287
+ 'Cayman Islands',
1288
+ ],
1289
+ },
1290
+ {
1291
+ type: 'option',
1292
+ value: { title: 'Chile', value: 'CL' },
1293
+ filterMatchers: [
1294
+ 'Chilean peso',
1295
+ 'CLP',
1296
+ 'Euro',
1297
+ 'EUR',
1298
+ 'sterling',
1299
+ 'British pound',
1300
+ 'GBP',
1301
+ 'United States dollar',
1302
+ 'USD',
1303
+ 'chl',
1304
+ 'Chile',
1305
+ ],
1306
+ },
1307
+ {
1308
+ type: 'option',
1309
+ value: { title: 'China', value: 'CN' },
1310
+ filterMatchers: [
1311
+ 'Chinese yuan',
1312
+ 'CNY',
1313
+ 'Euro',
1314
+ 'EUR',
1315
+ 'sterling',
1316
+ 'British pound',
1317
+ 'GBP',
1318
+ 'United States dollar',
1319
+ 'USD',
1320
+ 'chn',
1321
+ 'China',
1322
+ ],
1323
+ },
1324
+ {
1325
+ type: 'option',
1326
+ value: { title: 'Christmas Island', value: 'CX' },
1327
+ filterMatchers: [
1328
+ 'Australian dollar',
1329
+ 'AUD',
1330
+ 'Euro',
1331
+ 'EUR',
1332
+ 'sterling',
1333
+ 'British pound',
1334
+ 'GBP',
1335
+ 'United States dollar',
1336
+ 'USD',
1337
+ 'cxr',
1338
+ 'Christmas Island',
1339
+ ],
1340
+ },
1341
+ {
1342
+ type: 'option',
1343
+ value: { title: 'Cocos (Keeling) Islands', value: 'CC' },
1344
+ filterMatchers: [
1345
+ 'Australian dollar',
1346
+ 'AUD',
1347
+ 'Euro',
1348
+ 'EUR',
1349
+ 'sterling',
1350
+ 'British pound',
1351
+ 'GBP',
1352
+ 'United States dollar',
1353
+ 'USD',
1354
+ 'cck',
1355
+ 'Cocos (Keeling) Islands',
1356
+ ],
1357
+ },
1358
+ {
1359
+ type: 'option',
1360
+ value: { title: 'Colombia', value: 'CO' },
1361
+ filterMatchers: [
1362
+ 'Colombian peso',
1363
+ 'COP',
1364
+ 'United States dollar',
1365
+ 'USD',
1366
+ 'col',
1367
+ 'Colombia',
1368
+ ],
1369
+ },
1370
+ {
1371
+ type: 'option',
1372
+ value: { title: 'Cook Islands', value: 'CK' },
1373
+ filterMatchers: [
1374
+ 'Euro',
1375
+ 'EUR',
1376
+ 'sterling',
1377
+ 'British pound',
1378
+ 'GBP',
1379
+ 'New Zealand dollar',
1380
+ 'NZD',
1381
+ 'United States dollar',
1382
+ 'USD',
1383
+ 'cok',
1384
+ 'Cook Islands',
1385
+ ],
1386
+ },
1387
+ {
1388
+ type: 'option',
1389
+ value: { title: 'Costa Rica', value: 'CR' },
1390
+ filterMatchers: [
1391
+ 'Costa Rican colón',
1392
+ 'CRC',
1393
+ 'Euro',
1394
+ 'EUR',
1395
+ 'sterling',
1396
+ 'British pound',
1397
+ 'GBP',
1398
+ 'United States dollar',
1399
+ 'USD',
1400
+ 'cri',
1401
+ 'Costa Rica',
1402
+ ],
1403
+ },
1404
+ {
1405
+ type: 'option',
1406
+ value: { title: 'Croatia', value: 'HR' },
1407
+ filterMatchers: [
1408
+ 'Euro',
1409
+ 'EUR',
1410
+ 'sterling',
1411
+ 'British pound',
1412
+ 'GBP',
1413
+ 'United States dollar',
1414
+ 'USD',
1415
+ 'hrv',
1416
+ 'Croatia',
1417
+ ],
1418
+ },
1419
+ {
1420
+ type: 'option',
1421
+ value: { title: 'Cyprus', value: 'CY' },
1422
+ filterMatchers: [
1423
+ 'Euro',
1424
+ 'EUR',
1425
+ 'sterling',
1426
+ 'British pound',
1427
+ 'GBP',
1428
+ 'United States dollar',
1429
+ 'USD',
1430
+ 'cyp',
1431
+ 'Cyprus',
1432
+ ],
1433
+ },
1434
+ {
1435
+ type: 'option',
1436
+ value: { title: 'Czech Republic', value: 'CZ' },
1437
+ filterMatchers: [
1438
+ 'czechia',
1439
+ 'Czech koruna',
1440
+ 'CZK',
1441
+ 'Euro',
1442
+ 'EUR',
1443
+ 'sterling',
1444
+ 'British pound',
1445
+ 'GBP',
1446
+ 'United States dollar',
1447
+ 'USD',
1448
+ 'cze',
1449
+ 'Czech Republic',
1450
+ ],
1451
+ },
1452
+ {
1453
+ type: 'option',
1454
+ value: { title: 'Denmark', value: 'DK' },
1455
+ filterMatchers: [
1456
+ 'Danish krone',
1457
+ 'DKK',
1458
+ 'Euro',
1459
+ 'EUR',
1460
+ 'sterling',
1461
+ 'British pound',
1462
+ 'GBP',
1463
+ 'United States dollar',
1464
+ 'USD',
1465
+ 'dnk',
1466
+ 'Denmark',
1467
+ ],
1468
+ },
1469
+ {
1470
+ type: 'option',
1471
+ value: { title: 'Dominica', value: 'DM' },
1472
+ filterMatchers: [
1473
+ 'Euro',
1474
+ 'EUR',
1475
+ 'sterling',
1476
+ 'British pound',
1477
+ 'GBP',
1478
+ 'United States dollar',
1479
+ 'USD',
1480
+ 'dma',
1481
+ 'Dominica',
1482
+ ],
1483
+ },
1484
+ {
1485
+ type: 'option',
1486
+ value: { title: 'Dominican Republic', value: 'DO' },
1487
+ filterMatchers: [
1488
+ 'Dominican peso',
1489
+ 'DOP',
1490
+ 'Euro',
1491
+ 'EUR',
1492
+ 'sterling',
1493
+ 'British pound',
1494
+ 'GBP',
1495
+ 'United States dollar',
1496
+ 'USD',
1497
+ 'dom',
1498
+ 'Dominican Republic',
1499
+ ],
1500
+ },
1501
+ {
1502
+ type: 'option',
1503
+ value: { title: 'Ecuador', value: 'EC' },
1504
+ filterMatchers: [
1505
+ 'Euro',
1506
+ 'EUR',
1507
+ 'sterling',
1508
+ 'British pound',
1509
+ 'GBP',
1510
+ 'United States dollar',
1511
+ 'USD',
1512
+ 'ecu',
1513
+ 'Ecuador',
1514
+ ],
1515
+ },
1516
+ {
1517
+ type: 'option',
1518
+ value: { title: 'Egypt', value: 'EG' },
1519
+ filterMatchers: [
1520
+ 'Egyptian pound',
1521
+ 'EGP',
1522
+ 'Euro',
1523
+ 'EUR',
1524
+ 'sterling',
1525
+ 'British pound',
1526
+ 'GBP',
1527
+ 'United States dollar',
1528
+ 'USD',
1529
+ 'egy',
1530
+ 'Egypt',
1531
+ ],
1532
+ },
1533
+ {
1534
+ type: 'option',
1535
+ value: { title: 'El Salvador', value: 'SV' },
1536
+ filterMatchers: [
1537
+ 'Euro',
1538
+ 'EUR',
1539
+ 'sterling',
1540
+ 'British pound',
1541
+ 'GBP',
1542
+ 'United States dollar',
1543
+ 'USD',
1544
+ 'slv',
1545
+ 'El Salvador',
1546
+ ],
1547
+ },
1548
+ {
1549
+ type: 'option',
1550
+ value: { title: 'Estonia', value: 'EE' },
1551
+ filterMatchers: [
1552
+ 'Euro',
1553
+ 'EUR',
1554
+ 'sterling',
1555
+ 'British pound',
1556
+ 'GBP',
1557
+ 'United States dollar',
1558
+ 'USD',
1559
+ 'est',
1560
+ 'Estonia',
1561
+ ],
1562
+ },
1563
+ {
1564
+ type: 'option',
1565
+ value: { title: 'Ethiopia', value: 'ET' },
1566
+ filterMatchers: [
1567
+ 'Euro',
1568
+ 'EUR',
1569
+ 'sterling',
1570
+ 'British pound',
1571
+ 'GBP',
1572
+ 'United States dollar',
1573
+ 'USD',
1574
+ 'eth',
1575
+ 'Ethiopia',
1576
+ ],
1577
+ },
1578
+ {
1579
+ type: 'option',
1580
+ value: { title: 'Falkland Islands', value: 'FK' },
1581
+ filterMatchers: [
1582
+ 'Euro',
1583
+ 'EUR',
1584
+ 'sterling',
1585
+ 'British pound',
1586
+ 'GBP',
1587
+ 'United States dollar',
1588
+ 'USD',
1589
+ 'flk',
1590
+ 'Falkland Islands',
1591
+ ],
1592
+ },
1593
+ {
1594
+ type: 'option',
1595
+ value: { title: 'Faroe Islands', value: 'FO' },
1596
+ filterMatchers: [
1597
+ 'Danish krone',
1598
+ 'DKK',
1599
+ 'Euro',
1600
+ 'EUR',
1601
+ 'sterling',
1602
+ 'British pound',
1603
+ 'GBP',
1604
+ 'United States dollar',
1605
+ 'USD',
1606
+ 'fro',
1607
+ 'Faroe Islands',
1608
+ ],
1609
+ },
1610
+ {
1611
+ type: 'option',
1612
+ value: { title: 'Fiji', value: 'FJ' },
1613
+ filterMatchers: [
1614
+ 'Euro',
1615
+ 'EUR',
1616
+ 'sterling',
1617
+ 'British pound',
1618
+ 'GBP',
1619
+ 'United States dollar',
1620
+ 'USD',
1621
+ 'fji',
1622
+ 'Fiji',
1623
+ ],
1624
+ },
1625
+ {
1626
+ type: 'option',
1627
+ value: { title: 'Finland', value: 'FI' },
1628
+ filterMatchers: [
1629
+ 'Euro',
1630
+ 'EUR',
1631
+ 'sterling',
1632
+ 'British pound',
1633
+ 'GBP',
1634
+ 'United States dollar',
1635
+ 'USD',
1636
+ 'fin',
1637
+ 'Finland',
1638
+ ],
1639
+ },
1640
+ {
1641
+ type: 'option',
1642
+ value: { title: 'France', value: 'FR' },
1643
+ filterMatchers: [
1644
+ 'Euro',
1645
+ 'EUR',
1646
+ 'sterling',
1647
+ 'British pound',
1648
+ 'GBP',
1649
+ 'United States dollar',
1650
+ 'USD',
1651
+ 'fra',
1652
+ 'France',
1653
+ ],
1654
+ },
1655
+ {
1656
+ type: 'option',
1657
+ value: { title: 'French Guiana', value: 'GF' },
1658
+ filterMatchers: [
1659
+ 'Euro',
1660
+ 'EUR',
1661
+ 'sterling',
1662
+ 'British pound',
1663
+ 'GBP',
1664
+ 'United States dollar',
1665
+ 'USD',
1666
+ 'guf',
1667
+ 'French Guiana',
1668
+ ],
1669
+ },
1670
+ {
1671
+ type: 'option',
1672
+ value: { title: 'French Polynesia', value: 'PF' },
1673
+ filterMatchers: [
1674
+ 'Euro',
1675
+ 'EUR',
1676
+ 'sterling',
1677
+ 'British pound',
1678
+ 'GBP',
1679
+ 'United States dollar',
1680
+ 'USD',
1681
+ 'pyf',
1682
+ 'French Polynesia',
1683
+ ],
1684
+ },
1685
+ {
1686
+ type: 'option',
1687
+ value: { title: 'French Southern Territories', value: 'TF' },
1688
+ filterMatchers: ['Euro', 'EUR', 'atf', 'French Southern Territories'],
1689
+ },
1690
+ {
1691
+ type: 'option',
1692
+ value: { title: 'Gabon', value: 'GA' },
1693
+ filterMatchers: [
1694
+ 'Euro',
1695
+ 'EUR',
1696
+ 'sterling',
1697
+ 'British pound',
1698
+ 'GBP',
1699
+ 'United States dollar',
1700
+ 'USD',
1701
+ 'gab',
1702
+ 'Gabon',
1703
+ ],
1704
+ },
1705
+ {
1706
+ type: 'option',
1707
+ value: { title: 'Gambia', value: 'GM' },
1708
+ filterMatchers: [
1709
+ 'Euro',
1710
+ 'EUR',
1711
+ 'sterling',
1712
+ 'British pound',
1713
+ 'GBP',
1714
+ 'Gambian dalasi',
1715
+ 'GMD',
1716
+ 'United States dollar',
1717
+ 'USD',
1718
+ 'gmb',
1719
+ 'Gambia',
1720
+ ],
1721
+ },
1722
+ {
1723
+ type: 'option',
1724
+ value: { title: 'Georgia', value: 'GE' },
1725
+ filterMatchers: [
1726
+ 'Euro',
1727
+ 'EUR',
1728
+ 'sterling',
1729
+ 'British pound',
1730
+ 'GBP',
1731
+ 'Georgian lari',
1732
+ 'GEL',
1733
+ 'United States dollar',
1734
+ 'USD',
1735
+ 'geo',
1736
+ 'Georgia',
1737
+ ],
1738
+ },
1739
+ {
1740
+ type: 'option',
1741
+ value: { title: 'Germany', value: 'DE' },
1742
+ filterMatchers: [
1743
+ 'Euro',
1744
+ 'EUR',
1745
+ 'sterling',
1746
+ 'British pound',
1747
+ 'GBP',
1748
+ 'United States dollar',
1749
+ 'USD',
1750
+ 'deu',
1751
+ 'Germany',
1752
+ ],
1753
+ },
1754
+ {
1755
+ type: 'option',
1756
+ value: { title: 'Ghana', value: 'GH' },
1757
+ filterMatchers: [
1758
+ 'Euro',
1759
+ 'EUR',
1760
+ 'sterling',
1761
+ 'British pound',
1762
+ 'GBP',
1763
+ 'Ghanaian cedi',
1764
+ 'GHS',
1765
+ 'United States dollar',
1766
+ 'USD',
1767
+ 'gha',
1768
+ 'Ghana',
1769
+ ],
1770
+ },
1771
+ {
1772
+ type: 'option',
1773
+ value: { title: 'Gibraltar', value: 'GI' },
1774
+ filterMatchers: [
1775
+ 'Euro',
1776
+ 'EUR',
1777
+ 'sterling',
1778
+ 'British pound',
1779
+ 'GBP',
1780
+ 'United States dollar',
1781
+ 'USD',
1782
+ 'gib',
1783
+ 'Gibraltar',
1784
+ ],
1785
+ },
1786
+ {
1787
+ type: 'option',
1788
+ value: { title: 'Greece', value: 'GR' },
1789
+ filterMatchers: [
1790
+ 'Euro',
1791
+ 'EUR',
1792
+ 'sterling',
1793
+ 'British pound',
1794
+ 'GBP',
1795
+ 'United States dollar',
1796
+ 'USD',
1797
+ 'grc',
1798
+ 'Greece',
1799
+ ],
1800
+ },
1801
+ {
1802
+ type: 'option',
1803
+ value: { title: 'Greenland', value: 'GL' },
1804
+ filterMatchers: [
1805
+ 'Danish krone',
1806
+ 'DKK',
1807
+ 'Euro',
1808
+ 'EUR',
1809
+ 'sterling',
1810
+ 'British pound',
1811
+ 'GBP',
1812
+ 'United States dollar',
1813
+ 'USD',
1814
+ 'grl',
1815
+ 'Greenland',
1816
+ ],
1817
+ },
1818
+ {
1819
+ type: 'option',
1820
+ value: { title: 'Grenada', value: 'GD' },
1821
+ filterMatchers: [
1822
+ 'Euro',
1823
+ 'EUR',
1824
+ 'sterling',
1825
+ 'British pound',
1826
+ 'GBP',
1827
+ 'United States dollar',
1828
+ 'USD',
1829
+ 'grd',
1830
+ 'Grenada',
1831
+ ],
1832
+ },
1833
+ {
1834
+ type: 'option',
1835
+ value: { title: 'Guadeloupe', value: 'GP' },
1836
+ filterMatchers: [
1837
+ 'Euro',
1838
+ 'EUR',
1839
+ 'sterling',
1840
+ 'British pound',
1841
+ 'GBP',
1842
+ 'United States dollar',
1843
+ 'USD',
1844
+ 'glp',
1845
+ 'Guadeloupe',
1846
+ ],
1847
+ },
1848
+ {
1849
+ type: 'option',
1850
+ value: { title: 'Guam', value: 'GU' },
1851
+ filterMatchers: [
1852
+ 'Euro',
1853
+ 'EUR',
1854
+ 'sterling',
1855
+ 'British pound',
1856
+ 'GBP',
1857
+ 'United States dollar',
1858
+ 'USD',
1859
+ 'gum',
1860
+ 'Guam',
1861
+ ],
1862
+ },
1863
+ {
1864
+ type: 'option',
1865
+ value: { title: 'Guatemala', value: 'GT' },
1866
+ filterMatchers: [
1867
+ 'Euro',
1868
+ 'EUR',
1869
+ 'sterling',
1870
+ 'British pound',
1871
+ 'GBP',
1872
+ 'Guatemalan quetzal',
1873
+ 'GTQ',
1874
+ 'United States dollar',
1875
+ 'USD',
1876
+ 'gtm',
1877
+ 'Guatemala',
1878
+ ],
1879
+ },
1880
+ {
1881
+ type: 'option',
1882
+ value: { title: 'Guernsey', value: 'GG' },
1883
+ filterMatchers: [
1884
+ 'Euro',
1885
+ 'EUR',
1886
+ 'sterling',
1887
+ 'British pound',
1888
+ 'GBP',
1889
+ 'United States dollar',
1890
+ 'USD',
1891
+ 'ggy',
1892
+ 'Guernsey',
1893
+ ],
1894
+ },
1895
+ {
1896
+ type: 'option',
1897
+ value: { title: 'Guinea', value: 'GN' },
1898
+ filterMatchers: [
1899
+ 'Euro',
1900
+ 'EUR',
1901
+ 'sterling',
1902
+ 'British pound',
1903
+ 'GBP',
1904
+ 'Guinean franc',
1905
+ 'GNF',
1906
+ 'United States dollar',
1907
+ 'USD',
1908
+ 'gin',
1909
+ 'Guinea',
1910
+ ],
1911
+ },
1912
+ {
1913
+ type: 'option',
1914
+ value: { title: 'Guinea-Bissau', value: 'GW' },
1915
+ filterMatchers: [
1916
+ 'Euro',
1917
+ 'EUR',
1918
+ 'sterling',
1919
+ 'British pound',
1920
+ 'GBP',
1921
+ 'United States dollar',
1922
+ 'USD',
1923
+ 'gnb',
1924
+ 'Guinea-Bissau',
1925
+ ],
1926
+ },
1927
+ {
1928
+ type: 'option',
1929
+ value: { title: 'Guyana', value: 'GY' },
1930
+ filterMatchers: [
1931
+ 'Euro',
1932
+ 'EUR',
1933
+ 'sterling',
1934
+ 'British pound',
1935
+ 'GBP',
1936
+ 'United States dollar',
1937
+ 'USD',
1938
+ 'guy',
1939
+ 'Guyana',
1940
+ ],
1941
+ },
1942
+ {
1943
+ type: 'option',
1944
+ value: { title: 'Haiti', value: 'HT' },
1945
+ filterMatchers: [
1946
+ 'Euro',
1947
+ 'EUR',
1948
+ 'sterling',
1949
+ 'British pound',
1950
+ 'GBP',
1951
+ 'United States dollar',
1952
+ 'USD',
1953
+ 'hti',
1954
+ 'Haiti',
1955
+ ],
1956
+ },
1957
+ {
1958
+ type: 'option',
1959
+ value: { title: 'Heard Island and McDonald Islands', value: 'HM' },
1960
+ filterMatchers: [
1961
+ 'Australian dollar',
1962
+ 'AUD',
1963
+ 'Euro',
1964
+ 'EUR',
1965
+ 'sterling',
1966
+ 'British pound',
1967
+ 'GBP',
1968
+ 'United States dollar',
1969
+ 'USD',
1970
+ 'hmd',
1971
+ 'Heard Island and McDonald Islands',
1972
+ ],
1973
+ },
1974
+ {
1975
+ type: 'option',
1976
+ value: { title: 'Honduras', value: 'HN' },
1977
+ filterMatchers: [
1978
+ 'Euro',
1979
+ 'EUR',
1980
+ 'sterling',
1981
+ 'British pound',
1982
+ 'GBP',
1983
+ 'Honduran lempira',
1984
+ 'HNL',
1985
+ 'United States dollar',
1986
+ 'USD',
1987
+ 'hnd',
1988
+ 'Honduras',
1989
+ ],
1990
+ },
1991
+ {
1992
+ type: 'option',
1993
+ value: { title: 'Hong Kong', value: 'HK' },
1994
+ filterMatchers: [
1995
+ 'Euro',
1996
+ 'EUR',
1997
+ 'sterling',
1998
+ 'British pound',
1999
+ 'GBP',
2000
+ 'Hong Kong dollar',
2001
+ 'HKD',
2002
+ 'United States dollar',
2003
+ 'USD',
2004
+ 'hkg',
2005
+ 'Hong Kong',
2006
+ ],
2007
+ },
2008
+ {
2009
+ type: 'option',
2010
+ value: { title: 'Hungary', value: 'HU' },
2011
+ filterMatchers: [
2012
+ 'Euro',
2013
+ 'EUR',
2014
+ 'sterling',
2015
+ 'British pound',
2016
+ 'GBP',
2017
+ 'Hungarian forint',
2018
+ 'HUF',
2019
+ 'United States dollar',
2020
+ 'USD',
2021
+ 'hun',
2022
+ 'Hungary',
2023
+ ],
2024
+ },
2025
+ {
2026
+ type: 'option',
2027
+ value: { title: 'Iceland', value: 'IS' },
2028
+ filterMatchers: [
2029
+ 'Euro',
2030
+ 'EUR',
2031
+ 'sterling',
2032
+ 'British pound',
2033
+ 'GBP',
2034
+ 'Icelandic króna',
2035
+ 'ISK',
2036
+ 'United States dollar',
2037
+ 'USD',
2038
+ 'isl',
2039
+ 'Iceland',
2040
+ ],
2041
+ },
2042
+ {
2043
+ type: 'option',
2044
+ value: { title: 'India', value: 'IN' },
2045
+ filterMatchers: [
2046
+ 'Euro',
2047
+ 'EUR',
2048
+ 'sterling',
2049
+ 'British pound',
2050
+ 'GBP',
2051
+ 'Indian rupee',
2052
+ 'INR',
2053
+ 'United States dollar',
2054
+ 'USD',
2055
+ 'ind',
2056
+ 'India',
2057
+ ],
2058
+ },
2059
+ {
2060
+ type: 'option',
2061
+ value: { title: 'Indonesia', value: 'ID' },
2062
+ filterMatchers: [
2063
+ 'Euro',
2064
+ 'EUR',
2065
+ 'sterling',
2066
+ 'British pound',
2067
+ 'GBP',
2068
+ 'Indonesian rupiah',
2069
+ 'IDR',
2070
+ 'United States dollar',
2071
+ 'USD',
2072
+ 'idn',
2073
+ 'Indonesia',
2074
+ ],
2075
+ },
2076
+ {
2077
+ type: 'option',
2078
+ value: { title: 'Ireland', value: 'IE' },
2079
+ filterMatchers: [
2080
+ 'Euro',
2081
+ 'EUR',
2082
+ 'sterling',
2083
+ 'British pound',
2084
+ 'GBP',
2085
+ 'United States dollar',
2086
+ 'USD',
2087
+ 'irl',
2088
+ 'Ireland',
2089
+ ],
2090
+ },
2091
+ {
2092
+ type: 'option',
2093
+ value: { title: 'Isle of Man', value: 'IM' },
2094
+ filterMatchers: [
2095
+ 'Euro',
2096
+ 'EUR',
2097
+ 'sterling',
2098
+ 'British pound',
2099
+ 'GBP',
2100
+ 'United States dollar',
2101
+ 'USD',
2102
+ 'imn',
2103
+ 'Isle of Man',
2104
+ ],
2105
+ },
2106
+ {
2107
+ type: 'option',
2108
+ value: { title: 'Israel', value: 'IL' },
2109
+ filterMatchers: [
2110
+ 'Euro',
2111
+ 'EUR',
2112
+ 'sterling',
2113
+ 'British pound',
2114
+ 'GBP',
2115
+ 'United States dollar',
2116
+ 'USD',
2117
+ 'Israeli shekel',
2118
+ 'ILS',
2119
+ 'isr',
2120
+ 'Israel',
2121
+ ],
2122
+ },
2123
+ {
2124
+ type: 'option',
2125
+ value: { title: 'Italy', value: 'IT' },
2126
+ filterMatchers: [
2127
+ 'Euro',
2128
+ 'EUR',
2129
+ 'sterling',
2130
+ 'British pound',
2131
+ 'GBP',
2132
+ 'United States dollar',
2133
+ 'USD',
2134
+ 'ita',
2135
+ 'Italy',
2136
+ ],
2137
+ },
2138
+ {
2139
+ type: 'option',
2140
+ value: { title: 'Jamaica', value: 'JM' },
2141
+ filterMatchers: [
2142
+ 'Euro',
2143
+ 'EUR',
2144
+ 'sterling',
2145
+ 'British pound',
2146
+ 'GBP',
2147
+ 'United States dollar',
2148
+ 'USD',
2149
+ 'jam',
2150
+ 'Jamaica',
2151
+ ],
2152
+ },
2153
+ {
2154
+ type: 'option',
2155
+ value: { title: 'Japan', value: 'JP' },
2156
+ filterMatchers: [
2157
+ 'Euro',
2158
+ 'EUR',
2159
+ 'sterling',
2160
+ 'British pound',
2161
+ 'GBP',
2162
+ 'Japanese yen',
2163
+ 'JPY',
2164
+ 'United States dollar',
2165
+ 'USD',
2166
+ 'jpn',
2167
+ 'Japan',
2168
+ ],
2169
+ },
2170
+ {
2171
+ type: 'option',
2172
+ value: { title: 'Jersey', value: 'JE' },
2173
+ filterMatchers: [
2174
+ 'Euro',
2175
+ 'EUR',
2176
+ 'sterling',
2177
+ 'British pound',
2178
+ 'GBP',
2179
+ 'United States dollar',
2180
+ 'USD',
2181
+ 'jey',
2182
+ 'Jersey',
2183
+ ],
2184
+ },
2185
+ {
2186
+ type: 'option',
2187
+ value: { title: 'Kazakhstan', value: 'KZ' },
2188
+ filterMatchers: [
2189
+ 'Euro',
2190
+ 'EUR',
2191
+ 'sterling',
2192
+ 'British pound',
2193
+ 'GBP',
2194
+ 'United States dollar',
2195
+ 'USD',
2196
+ 'kaz',
2197
+ 'Kazakhstan',
2198
+ ],
2199
+ },
2200
+ {
2201
+ type: 'option',
2202
+ value: { title: 'Kenya', value: 'KE' },
2203
+ filterMatchers: [
2204
+ 'Euro',
2205
+ 'EUR',
2206
+ 'sterling',
2207
+ 'British pound',
2208
+ 'GBP',
2209
+ 'Kenyan shilling',
2210
+ 'KES',
2211
+ 'United States dollar',
2212
+ 'USD',
2213
+ 'ken',
2214
+ 'Kenya',
2215
+ ],
2216
+ },
2217
+ {
2218
+ type: 'option',
2219
+ value: { title: 'Kiribati', value: 'KI' },
2220
+ filterMatchers: [
2221
+ 'Australian dollar',
2222
+ 'AUD',
2223
+ 'Euro',
2224
+ 'EUR',
2225
+ 'sterling',
2226
+ 'British pound',
2227
+ 'GBP',
2228
+ 'United States dollar',
2229
+ 'USD',
2230
+ 'kir',
2231
+ 'Kiribati',
2232
+ ],
2233
+ },
2234
+ {
2235
+ type: 'option',
2236
+ value: { title: 'Kosovo, Republic of', value: 'XK' },
2237
+ filterMatchers: [
2238
+ 'Euro',
2239
+ 'EUR',
2240
+ 'sterling',
2241
+ 'British pound',
2242
+ 'GBP',
2243
+ 'United States dollar',
2244
+ 'USD',
2245
+ 'xkx',
2246
+ 'Kosovo, Republic of',
2247
+ ],
2248
+ },
2249
+ {
2250
+ type: 'option',
2251
+ value: { title: 'Kuwait', value: 'KW' },
2252
+ filterMatchers: [
2253
+ 'Euro',
2254
+ 'EUR',
2255
+ 'sterling',
2256
+ 'British pound',
2257
+ 'GBP',
2258
+ 'Kuwaiti dinar',
2259
+ 'KWD',
2260
+ 'United States dollar',
2261
+ 'USD',
2262
+ 'kwt',
2263
+ 'Kuwait',
2264
+ ],
2265
+ },
2266
+ {
2267
+ type: 'option',
2268
+ value: { title: 'Kyrgyzstan', value: 'KG' },
2269
+ filterMatchers: [
2270
+ 'Euro',
2271
+ 'EUR',
2272
+ 'sterling',
2273
+ 'British pound',
2274
+ 'GBP',
2275
+ 'Kyrgyzstani som',
2276
+ 'KGS',
2277
+ 'United States dollar',
2278
+ 'USD',
2279
+ 'kgz',
2280
+ 'Kyrgyzstan',
2281
+ ],
2282
+ },
2283
+ {
2284
+ type: 'option',
2285
+ value: { title: 'Laos', value: 'LA' },
2286
+ filterMatchers: [
2287
+ 'Euro',
2288
+ 'EUR',
2289
+ 'sterling',
2290
+ 'British pound',
2291
+ 'GBP',
2292
+ 'Lao kip',
2293
+ 'LAK',
2294
+ 'United States dollar',
2295
+ 'USD',
2296
+ 'lao',
2297
+ 'Laos',
2298
+ ],
2299
+ },
2300
+ {
2301
+ type: 'option',
2302
+ value: { title: 'Latvia', value: 'LV' },
2303
+ filterMatchers: [
2304
+ 'Euro',
2305
+ 'EUR',
2306
+ 'sterling',
2307
+ 'British pound',
2308
+ 'GBP',
2309
+ 'United States dollar',
2310
+ 'USD',
2311
+ 'lva',
2312
+ 'Latvia',
2313
+ ],
2314
+ },
2315
+ {
2316
+ type: 'option',
2317
+ value: { title: 'Lebanon', value: 'LB' },
2318
+ filterMatchers: [
2319
+ 'Euro',
2320
+ 'EUR',
2321
+ 'sterling',
2322
+ 'British pound',
2323
+ 'GBP',
2324
+ 'United States dollar',
2325
+ 'USD',
2326
+ 'lbn',
2327
+ 'Lebanon',
2328
+ ],
2329
+ },
2330
+ {
2331
+ type: 'option',
2332
+ value: { title: 'Lesotho', value: 'LS' },
2333
+ filterMatchers: [
2334
+ 'Euro',
2335
+ 'EUR',
2336
+ 'sterling',
2337
+ 'British pound',
2338
+ 'GBP',
2339
+ 'United States dollar',
2340
+ 'USD',
2341
+ 'lso',
2342
+ 'Lesotho',
2343
+ ],
2344
+ },
2345
+ {
2346
+ type: 'option',
2347
+ value: { title: 'Liberia', value: 'LR' },
2348
+ filterMatchers: [
2349
+ 'Euro',
2350
+ 'EUR',
2351
+ 'sterling',
2352
+ 'British pound',
2353
+ 'GBP',
2354
+ 'United States dollar',
2355
+ 'USD',
2356
+ 'lbr',
2357
+ 'Liberia',
2358
+ ],
2359
+ },
2360
+ {
2361
+ type: 'option',
2362
+ value: { title: 'Liechtenstein', value: 'LI' },
2363
+ filterMatchers: [
2364
+ 'Swiss franc',
2365
+ 'CHF',
2366
+ 'Euro',
2367
+ 'EUR',
2368
+ 'sterling',
2369
+ 'British pound',
2370
+ 'GBP',
2371
+ 'United States dollar',
2372
+ 'USD',
2373
+ 'lie',
2374
+ 'Liechtenstein',
2375
+ ],
2376
+ },
2377
+ {
2378
+ type: 'option',
2379
+ value: { title: 'Lithuania', value: 'LT' },
2380
+ filterMatchers: [
2381
+ 'Euro',
2382
+ 'EUR',
2383
+ 'sterling',
2384
+ 'British pound',
2385
+ 'GBP',
2386
+ 'United States dollar',
2387
+ 'USD',
2388
+ 'ltu',
2389
+ 'Lithuania',
2390
+ ],
2391
+ },
2392
+ {
2393
+ type: 'option',
2394
+ value: { title: 'Luxembourg', value: 'LU' },
2395
+ filterMatchers: [
2396
+ 'Euro',
2397
+ 'EUR',
2398
+ 'sterling',
2399
+ 'British pound',
2400
+ 'GBP',
2401
+ 'United States dollar',
2402
+ 'USD',
2403
+ 'lux',
2404
+ 'Luxembourg',
2405
+ ],
2406
+ },
2407
+ {
2408
+ type: 'option',
2409
+ value: { title: 'Macao', value: 'MO' },
2410
+ filterMatchers: [
2411
+ 'Euro',
2412
+ 'EUR',
2413
+ 'sterling',
2414
+ 'British pound',
2415
+ 'GBP',
2416
+ 'Macanese pataca',
2417
+ 'MOP',
2418
+ 'United States dollar',
2419
+ 'USD',
2420
+ 'mac',
2421
+ 'Macao',
2422
+ ],
2423
+ },
2424
+ {
2425
+ type: 'option',
2426
+ value: { title: 'Malawi', value: 'MW' },
2427
+ filterMatchers: [
2428
+ 'Euro',
2429
+ 'EUR',
2430
+ 'sterling',
2431
+ 'British pound',
2432
+ 'GBP',
2433
+ 'United States dollar',
2434
+ 'USD',
2435
+ 'mwi',
2436
+ 'Malawi',
2437
+ ],
2438
+ },
2439
+ {
2440
+ type: 'option',
2441
+ value: { title: 'Malaysia', value: 'MY' },
2442
+ filterMatchers: [
2443
+ 'Euro',
2444
+ 'EUR',
2445
+ 'sterling',
2446
+ 'British pound',
2447
+ 'GBP',
2448
+ 'Malaysian ringgit',
2449
+ 'MYR',
2450
+ 'United States dollar',
2451
+ 'USD',
2452
+ 'mys',
2453
+ 'Malaysia',
2454
+ ],
2455
+ },
2456
+ {
2457
+ type: 'option',
2458
+ value: { title: 'Maldives', value: 'MV' },
2459
+ filterMatchers: [
2460
+ 'Euro',
2461
+ 'EUR',
2462
+ 'sterling',
2463
+ 'British pound',
2464
+ 'GBP',
2465
+ 'United States dollar',
2466
+ 'USD',
2467
+ 'mdv',
2468
+ 'Maldives',
2469
+ ],
2470
+ },
2471
+ {
2472
+ type: 'option',
2473
+ value: { title: 'Mali', value: 'ML' },
2474
+ filterMatchers: [
2475
+ 'Euro',
2476
+ 'EUR',
2477
+ 'sterling',
2478
+ 'British pound',
2479
+ 'GBP',
2480
+ 'United States dollar',
2481
+ 'USD',
2482
+ 'mli',
2483
+ 'Mali',
2484
+ ],
2485
+ },
2486
+ {
2487
+ type: 'option',
2488
+ value: { title: 'Malta', value: 'MT' },
2489
+ filterMatchers: [
2490
+ 'Euro',
2491
+ 'EUR',
2492
+ 'sterling',
2493
+ 'British pound',
2494
+ 'GBP',
2495
+ 'United States dollar',
2496
+ 'USD',
2497
+ 'mlt',
2498
+ 'Malta',
2499
+ ],
2500
+ },
2501
+ {
2502
+ type: 'option',
2503
+ value: { title: 'Marshall Islands', value: 'MH' },
2504
+ filterMatchers: [
2505
+ 'Euro',
2506
+ 'EUR',
2507
+ 'sterling',
2508
+ 'British pound',
2509
+ 'GBP',
2510
+ 'United States dollar',
2511
+ 'USD',
2512
+ 'mhl',
2513
+ 'Marshall Islands',
2514
+ ],
2515
+ },
2516
+ {
2517
+ type: 'option',
2518
+ value: { title: 'Martinique', value: 'MQ' },
2519
+ filterMatchers: [
2520
+ 'Euro',
2521
+ 'EUR',
2522
+ 'sterling',
2523
+ 'British pound',
2524
+ 'GBP',
2525
+ 'United States dollar',
2526
+ 'USD',
2527
+ 'mtq',
2528
+ 'Martinique',
2529
+ ],
2530
+ },
2531
+ {
2532
+ type: 'option',
2533
+ value: { title: 'Mauritania', value: 'MR' },
2534
+ filterMatchers: [
2535
+ 'Euro',
2536
+ 'EUR',
2537
+ 'sterling',
2538
+ 'British pound',
2539
+ 'GBP',
2540
+ 'United States dollar',
2541
+ 'USD',
2542
+ 'mrt',
2543
+ 'Mauritania',
2544
+ ],
2545
+ },
2546
+ {
2547
+ type: 'option',
2548
+ value: { title: 'Mauritius', value: 'MU' },
2549
+ filterMatchers: [
2550
+ 'Euro',
2551
+ 'EUR',
2552
+ 'sterling',
2553
+ 'British pound',
2554
+ 'GBP',
2555
+ 'Mauritian rupee',
2556
+ 'MUR',
2557
+ 'United States dollar',
2558
+ 'USD',
2559
+ 'mus',
2560
+ 'Mauritius',
2561
+ ],
2562
+ },
2563
+ {
2564
+ type: 'option',
2565
+ value: { title: 'Mayotte', value: 'YT' },
2566
+ filterMatchers: [
2567
+ 'Euro',
2568
+ 'EUR',
2569
+ 'sterling',
2570
+ 'British pound',
2571
+ 'GBP',
2572
+ 'United States dollar',
2573
+ 'USD',
2574
+ 'myt',
2575
+ 'Mayotte',
2576
+ ],
2577
+ },
2578
+ {
2579
+ type: 'option',
2580
+ value: { title: 'Mexico', value: 'MX' },
2581
+ filterMatchers: [
2582
+ 'Euro',
2583
+ 'EUR',
2584
+ 'sterling',
2585
+ 'British pound',
2586
+ 'GBP',
2587
+ 'Mexican peso',
2588
+ 'MXN',
2589
+ 'United States dollar',
2590
+ 'USD',
2591
+ 'mex',
2592
+ 'Mexico',
2593
+ ],
2594
+ },
2595
+ {
2596
+ type: 'option',
2597
+ value: { title: 'Micronesia, Federated States of', value: 'FM' },
2598
+ filterMatchers: [
2599
+ 'Euro',
2600
+ 'EUR',
2601
+ 'sterling',
2602
+ 'British pound',
2603
+ 'GBP',
2604
+ 'United States dollar',
2605
+ 'USD',
2606
+ 'fsm',
2607
+ 'Micronesia, Federated States of',
2608
+ ],
2609
+ },
2610
+ {
2611
+ type: 'option',
2612
+ value: { title: 'Moldova', value: 'MD' },
2613
+ filterMatchers: [
2614
+ 'Euro',
2615
+ 'EUR',
2616
+ 'sterling',
2617
+ 'British pound',
2618
+ 'GBP',
2619
+ 'United States dollar',
2620
+ 'USD',
2621
+ 'mda',
2622
+ 'Moldova',
2623
+ ],
2624
+ },
2625
+ {
2626
+ type: 'option',
2627
+ value: { title: 'Monaco', value: 'MC' },
2628
+ filterMatchers: [
2629
+ 'Euro',
2630
+ 'EUR',
2631
+ 'sterling',
2632
+ 'British pound',
2633
+ 'GBP',
2634
+ 'United States dollar',
2635
+ 'USD',
2636
+ 'mco',
2637
+ 'Monaco',
2638
+ ],
2639
+ },
2640
+ {
2641
+ type: 'option',
2642
+ value: { title: 'Mongolia', value: 'MN' },
2643
+ filterMatchers: [
2644
+ 'Euro',
2645
+ 'EUR',
2646
+ 'sterling',
2647
+ 'British pound',
2648
+ 'GBP',
2649
+ 'Mongolian tugrik',
2650
+ 'MNT',
2651
+ 'United States dollar',
2652
+ 'USD',
2653
+ 'mng',
2654
+ 'Mongolia',
2655
+ ],
2656
+ },
2657
+ {
2658
+ type: 'option',
2659
+ value: { title: 'Montenegro', value: 'ME' },
2660
+ filterMatchers: [
2661
+ 'Euro',
2662
+ 'EUR',
2663
+ 'sterling',
2664
+ 'British pound',
2665
+ 'GBP',
2666
+ 'United States dollar',
2667
+ 'USD',
2668
+ 'mne',
2669
+ 'Montenegro',
2670
+ ],
2671
+ },
2672
+ {
2673
+ type: 'option',
2674
+ value: { title: 'Montserrat', value: 'MS' },
2675
+ filterMatchers: [
2676
+ 'Euro',
2677
+ 'EUR',
2678
+ 'sterling',
2679
+ 'British pound',
2680
+ 'GBP',
2681
+ 'United States dollar',
2682
+ 'USD',
2683
+ 'msr',
2684
+ 'Montserrat',
2685
+ ],
2686
+ },
2687
+ {
2688
+ type: 'option',
2689
+ value: { title: 'Morocco', value: 'MA' },
2690
+ filterMatchers: [
2691
+ 'Euro',
2692
+ 'EUR',
2693
+ 'sterling',
2694
+ 'British pound',
2695
+ 'GBP',
2696
+ 'Moroccan dirham',
2697
+ 'MAD',
2698
+ 'United States dollar',
2699
+ 'USD',
2700
+ 'mar',
2701
+ 'Morocco',
2702
+ ],
2703
+ },
2704
+ {
2705
+ type: 'option',
2706
+ value: { title: 'Mozambique', value: 'MZ' },
2707
+ filterMatchers: [
2708
+ 'Euro',
2709
+ 'EUR',
2710
+ 'sterling',
2711
+ 'British pound',
2712
+ 'GBP',
2713
+ 'United States dollar',
2714
+ 'USD',
2715
+ 'moz',
2716
+ 'Mozambique',
2717
+ ],
2718
+ },
2719
+ {
2720
+ type: 'option',
2721
+ value: { title: 'Namibia', value: 'NA' },
2722
+ filterMatchers: [
2723
+ 'Euro',
2724
+ 'EUR',
2725
+ 'sterling',
2726
+ 'British pound',
2727
+ 'GBP',
2728
+ 'Namibian dollar',
2729
+ 'NAD',
2730
+ 'United States dollar',
2731
+ 'USD',
2732
+ 'nam',
2733
+ 'Namibia',
2734
+ ],
2735
+ },
2736
+ {
2737
+ type: 'option',
2738
+ value: { title: 'Nauru', value: 'NR' },
2739
+ filterMatchers: [
2740
+ 'Australian dollar',
2741
+ 'AUD',
2742
+ 'Euro',
2743
+ 'EUR',
2744
+ 'sterling',
2745
+ 'British pound',
2746
+ 'GBP',
2747
+ 'United States dollar',
2748
+ 'USD',
2749
+ 'nru',
2750
+ 'Nauru',
2751
+ ],
2752
+ },
2753
+ {
2754
+ type: 'option',
2755
+ value: { title: 'Nepal', value: 'NP' },
2756
+ filterMatchers: [
2757
+ 'Euro',
2758
+ 'EUR',
2759
+ 'sterling',
2760
+ 'British pound',
2761
+ 'GBP',
2762
+ 'Nepalese rupee',
2763
+ 'NPR',
2764
+ 'United States dollar',
2765
+ 'USD',
2766
+ 'npl',
2767
+ 'Nepal',
2768
+ ],
2769
+ },
2770
+ {
2771
+ type: 'option',
2772
+ value: { title: 'Netherlands', value: 'NL' },
2773
+ filterMatchers: [
2774
+ 'Euro',
2775
+ 'EUR',
2776
+ 'sterling',
2777
+ 'British pound',
2778
+ 'GBP',
2779
+ 'United States dollar',
2780
+ 'USD',
2781
+ 'nld',
2782
+ 'Netherlands',
2783
+ ],
2784
+ },
2785
+ {
2786
+ type: 'option',
2787
+ value: { title: 'Netherlands Antilles', value: 'AN' },
2788
+ filterMatchers: [
2789
+ 'Euro',
2790
+ 'EUR',
2791
+ 'sterling',
2792
+ 'British pound',
2793
+ 'GBP',
2794
+ 'United States dollar',
2795
+ 'USD',
2796
+ 'ant',
2797
+ 'Netherlands Antilles',
2798
+ ],
2799
+ },
2800
+ {
2801
+ type: 'option',
2802
+ value: { title: 'New Caledonia', value: 'NC' },
2803
+ filterMatchers: [
2804
+ 'Euro',
2805
+ 'EUR',
2806
+ 'sterling',
2807
+ 'British pound',
2808
+ 'GBP',
2809
+ 'United States dollar',
2810
+ 'USD',
2811
+ 'ncl',
2812
+ 'New Caledonia',
2813
+ ],
2814
+ },
2815
+ {
2816
+ type: 'option',
2817
+ value: { title: 'New Zealand', value: 'NZ' },
2818
+ filterMatchers: [
2819
+ 'Euro',
2820
+ 'EUR',
2821
+ 'sterling',
2822
+ 'British pound',
2823
+ 'GBP',
2824
+ 'New Zealand dollar',
2825
+ 'NZD',
2826
+ 'United States dollar',
2827
+ 'USD',
2828
+ 'nzl',
2829
+ 'New Zealand',
2830
+ ],
2831
+ },
2832
+ {
2833
+ type: 'option',
2834
+ value: { title: 'Nicaragua', value: 'NI' },
2835
+ filterMatchers: [
2836
+ 'Euro',
2837
+ 'EUR',
2838
+ 'sterling',
2839
+ 'British pound',
2840
+ 'GBP',
2841
+ 'Nicaraguan córdoba',
2842
+ 'NIO',
2843
+ 'United States dollar',
2844
+ 'USD',
2845
+ 'nic',
2846
+ 'Nicaragua',
2847
+ ],
2848
+ },
2849
+ {
2850
+ type: 'option',
2851
+ value: { title: 'Niger', value: 'NE' },
2852
+ filterMatchers: [
2853
+ 'Euro',
2854
+ 'EUR',
2855
+ 'sterling',
2856
+ 'British pound',
2857
+ 'GBP',
2858
+ 'United States dollar',
2859
+ 'USD',
2860
+ 'ner',
2861
+ 'Niger',
2862
+ ],
2863
+ },
2864
+ {
2865
+ type: 'option',
2866
+ value: { title: 'Nigeria', value: 'NG' },
2867
+ filterMatchers: [
2868
+ 'Nigerian naira',
2869
+ 'NGN',
2870
+ 'United States dollar',
2871
+ 'USD',
2872
+ 'nga',
2873
+ 'Nigeria',
2874
+ ],
2875
+ },
2876
+ {
2877
+ type: 'option',
2878
+ value: { title: 'Niue', value: 'NU' },
2879
+ filterMatchers: [
2880
+ 'Euro',
2881
+ 'EUR',
2882
+ 'sterling',
2883
+ 'British pound',
2884
+ 'GBP',
2885
+ 'New Zealand dollar',
2886
+ 'NZD',
2887
+ 'United States dollar',
2888
+ 'USD',
2889
+ 'niu',
2890
+ 'Niue',
2891
+ ],
2892
+ },
2893
+ {
2894
+ type: 'option',
2895
+ value: { title: 'Norfolk Island', value: 'NF' },
2896
+ filterMatchers: [
2897
+ 'Australian dollar',
2898
+ 'AUD',
2899
+ 'Euro',
2900
+ 'EUR',
2901
+ 'sterling',
2902
+ 'British pound',
2903
+ 'GBP',
2904
+ 'United States dollar',
2905
+ 'USD',
2906
+ 'nfk',
2907
+ 'Norfolk Island',
2908
+ ],
2909
+ },
2910
+ {
2911
+ type: 'option',
2912
+ value: { title: 'Northern Mariana Islands', value: 'MP' },
2913
+ filterMatchers: [
2914
+ 'Euro',
2915
+ 'EUR',
2916
+ 'sterling',
2917
+ 'British pound',
2918
+ 'GBP',
2919
+ 'United States dollar',
2920
+ 'USD',
2921
+ 'mnp',
2922
+ 'Northern Mariana Islands',
2923
+ ],
2924
+ },
2925
+ {
2926
+ type: 'option',
2927
+ value: { title: 'North Macedonia', value: 'MK' },
2928
+ filterMatchers: [
2929
+ 'Euro',
2930
+ 'EUR',
2931
+ 'sterling',
2932
+ 'British pound',
2933
+ 'GBP',
2934
+ 'United States dollar',
2935
+ 'USD',
2936
+ 'mkd',
2937
+ 'North Macedonia',
2938
+ ],
2939
+ },
2940
+ {
2941
+ type: 'option',
2942
+ value: { title: 'Norway', value: 'NO' },
2943
+ filterMatchers: [
2944
+ 'Euro',
2945
+ 'EUR',
2946
+ 'sterling',
2947
+ 'British pound',
2948
+ 'GBP',
2949
+ 'Norwegian krone',
2950
+ 'NOK',
2951
+ 'United States dollar',
2952
+ 'USD',
2953
+ 'nor',
2954
+ 'Norway',
2955
+ ],
2956
+ },
2957
+ {
2958
+ type: 'option',
2959
+ value: { title: 'Oman', value: 'OM' },
2960
+ filterMatchers: [
2961
+ 'Euro',
2962
+ 'EUR',
2963
+ 'sterling',
2964
+ 'British pound',
2965
+ 'GBP',
2966
+ 'Omani rial',
2967
+ 'OMR',
2968
+ 'United States dollar',
2969
+ 'USD',
2970
+ 'omn',
2971
+ 'Oman',
2972
+ ],
2973
+ },
2974
+ {
2975
+ type: 'option',
2976
+ value: { title: 'Pakistan', value: 'PK' },
2977
+ filterMatchers: [
2978
+ 'Pakistani rupee',
2979
+ 'PKR',
2980
+ 'United States dollar',
2981
+ 'USD',
2982
+ 'pak',
2983
+ 'Pakistan',
2984
+ ],
2985
+ },
2986
+ {
2987
+ type: 'option',
2988
+ value: { title: 'Palau', value: 'PW' },
2989
+ filterMatchers: [
2990
+ 'Euro',
2991
+ 'EUR',
2992
+ 'sterling',
2993
+ 'British pound',
2994
+ 'GBP',
2995
+ 'United States dollar',
2996
+ 'USD',
2997
+ 'plw',
2998
+ 'Palau',
2999
+ ],
3000
+ },
3001
+ {
3002
+ type: 'option',
3003
+ value: { title: 'Palestine', value: 'PS' },
3004
+ filterMatchers: ['Israeli shekel', 'ILS', 'pse', 'Palestine'],
3005
+ },
3006
+ {
3007
+ type: 'option',
3008
+ value: { title: 'Panama', value: 'PA' },
3009
+ filterMatchers: [
3010
+ 'Euro',
3011
+ 'EUR',
3012
+ 'sterling',
3013
+ 'British pound',
3014
+ 'GBP',
3015
+ 'United States dollar',
3016
+ 'USD',
3017
+ 'pan',
3018
+ 'Panama',
3019
+ ],
3020
+ },
3021
+ {
3022
+ type: 'option',
3023
+ value: { title: 'Papua New Guinea', value: 'PG' },
3024
+ filterMatchers: [
3025
+ 'Euro',
3026
+ 'EUR',
3027
+ 'sterling',
3028
+ 'British pound',
3029
+ 'GBP',
3030
+ 'United States dollar',
3031
+ 'USD',
3032
+ 'png',
3033
+ 'Papua New Guinea',
3034
+ ],
3035
+ },
3036
+ {
3037
+ type: 'option',
3038
+ value: { title: 'Paraguay', value: 'PY' },
3039
+ filterMatchers: [
3040
+ 'Euro',
3041
+ 'EUR',
3042
+ 'sterling',
3043
+ 'British pound',
3044
+ 'GBP',
3045
+ 'Paraguay guaraní',
3046
+ 'PYG',
3047
+ 'United States dollar',
3048
+ 'USD',
3049
+ 'pry',
3050
+ 'Paraguay',
3051
+ ],
3052
+ },
3053
+ {
3054
+ type: 'option',
3055
+ value: { title: 'Peru', value: 'PE' },
3056
+ filterMatchers: [
3057
+ 'Euro',
3058
+ 'EUR',
3059
+ 'sterling',
3060
+ 'British pound',
3061
+ 'GBP',
3062
+ 'Peruvian sol',
3063
+ 'PEN',
3064
+ 'United States dollar',
3065
+ 'USD',
3066
+ 'per',
3067
+ 'Peru',
3068
+ ],
3069
+ },
3070
+ {
3071
+ type: 'option',
3072
+ value: { title: 'Philippines', value: 'PH' },
3073
+ filterMatchers: [
3074
+ 'philipines',
3075
+ 'Euro',
3076
+ 'EUR',
3077
+ 'sterling',
3078
+ 'British pound',
3079
+ 'GBP',
3080
+ 'Philippine peso',
3081
+ 'PHP',
3082
+ 'United States dollar',
3083
+ 'USD',
3084
+ 'phl',
3085
+ 'Philippines',
3086
+ ],
3087
+ },
3088
+ {
3089
+ type: 'option',
3090
+ value: { title: 'Pitcairn Islands', value: 'PN' },
3091
+ filterMatchers: ['New Zealand dollar', 'NZD', 'pcn', 'Pitcairn Islands'],
3092
+ },
3093
+ {
3094
+ type: 'option',
3095
+ value: { title: 'Poland', value: 'PL' },
3096
+ filterMatchers: [
3097
+ 'Euro',
3098
+ 'EUR',
3099
+ 'sterling',
3100
+ 'British pound',
3101
+ 'GBP',
3102
+ 'Polish złoty',
3103
+ 'PLN',
3104
+ 'United States dollar',
3105
+ 'USD',
3106
+ 'pol',
3107
+ 'Poland',
3108
+ ],
3109
+ },
3110
+ {
3111
+ type: 'option',
3112
+ value: { title: 'Portugal', value: 'PT' },
3113
+ filterMatchers: [
3114
+ 'Euro',
3115
+ 'EUR',
3116
+ 'sterling',
3117
+ 'British pound',
3118
+ 'GBP',
3119
+ 'United States dollar',
3120
+ 'USD',
3121
+ 'prt',
3122
+ 'Portugal',
3123
+ ],
3124
+ },
3125
+ {
3126
+ type: 'option',
3127
+ value: { title: 'Puerto Rico', value: 'PR' },
3128
+ filterMatchers: [
3129
+ 'Euro',
3130
+ 'EUR',
3131
+ 'sterling',
3132
+ 'British pound',
3133
+ 'GBP',
3134
+ 'United States dollar',
3135
+ 'USD',
3136
+ 'pri',
3137
+ 'Puerto Rico',
3138
+ ],
3139
+ },
3140
+ {
3141
+ type: 'option',
3142
+ value: { title: 'Qatar', value: 'QA' },
3143
+ filterMatchers: [
3144
+ 'Euro',
3145
+ 'EUR',
3146
+ 'sterling',
3147
+ 'British pound',
3148
+ 'GBP',
3149
+ 'Qatari riyal',
3150
+ 'QAR',
3151
+ 'United States dollar',
3152
+ 'USD',
3153
+ 'qat',
3154
+ 'Qatar',
3155
+ ],
3156
+ },
3157
+ {
3158
+ type: 'option',
3159
+ value: { title: 'Réunion', value: 'RE' },
3160
+ filterMatchers: [
3161
+ 'Euro',
3162
+ 'EUR',
3163
+ 'sterling',
3164
+ 'British pound',
3165
+ 'GBP',
3166
+ 'United States dollar',
3167
+ 'USD',
3168
+ 'reu',
3169
+ 'Réunion',
3170
+ ],
3171
+ },
3172
+ {
3173
+ type: 'option',
3174
+ value: { title: 'Romania', value: 'RO' },
3175
+ filterMatchers: [
3176
+ 'Euro',
3177
+ 'EUR',
3178
+ 'sterling',
3179
+ 'British pound',
3180
+ 'GBP',
3181
+ 'Romanian leu',
3182
+ 'RON',
3183
+ 'United States dollar',
3184
+ 'USD',
3185
+ 'rou',
3186
+ 'Romania',
3187
+ ],
3188
+ },
3189
+ {
3190
+ type: 'option',
3191
+ value: { title: 'Rwanda', value: 'RW' },
3192
+ filterMatchers: [
3193
+ 'Euro',
3194
+ 'EUR',
3195
+ 'sterling',
3196
+ 'British pound',
3197
+ 'GBP',
3198
+ 'Rwandan franc',
3199
+ 'RWF',
3200
+ 'United States dollar',
3201
+ 'USD',
3202
+ 'rwa',
3203
+ 'Rwanda',
3204
+ ],
3205
+ },
3206
+ {
3207
+ type: 'option',
3208
+ value: { title: 'Saint Barthélemy', value: 'BL' },
3209
+ filterMatchers: ['Euro', 'EUR', 'blm', 'Saint Barthélemy'],
3210
+ },
3211
+ {
3212
+ type: 'option',
3213
+ value: { title: 'Saint Helena', value: 'SH' },
3214
+ filterMatchers: [
3215
+ 'Euro',
3216
+ 'EUR',
3217
+ 'sterling',
3218
+ 'British pound',
3219
+ 'GBP',
3220
+ 'United States dollar',
3221
+ 'USD',
3222
+ 'shn',
3223
+ 'Saint Helena',
3224
+ ],
3225
+ },
3226
+ {
3227
+ type: 'option',
3228
+ value: { title: 'Saint Kitts and Nevis', value: 'KN' },
3229
+ filterMatchers: [
3230
+ 'Euro',
3231
+ 'EUR',
3232
+ 'sterling',
3233
+ 'British pound',
3234
+ 'GBP',
3235
+ 'United States dollar',
3236
+ 'USD',
3237
+ 'kna',
3238
+ 'Saint Kitts and Nevis',
3239
+ ],
3240
+ },
3241
+ {
3242
+ type: 'option',
3243
+ value: { title: 'Saint Lucia', value: 'LC' },
3244
+ filterMatchers: [
3245
+ 'Euro',
3246
+ 'EUR',
3247
+ 'sterling',
3248
+ 'British pound',
3249
+ 'GBP',
3250
+ 'United States dollar',
3251
+ 'USD',
3252
+ 'lca',
3253
+ 'Saint Lucia',
3254
+ ],
3255
+ },
3256
+ {
3257
+ type: 'option',
3258
+ value: { title: 'Saint Martin (French part)', value: 'MF' },
3259
+ filterMatchers: ['Euro', 'EUR', 'maf', 'Saint Martin (French part)'],
3260
+ },
3261
+ {
3262
+ type: 'option',
3263
+ value: { title: 'Saint Pierre and Miquelon', value: 'PM' },
3264
+ filterMatchers: [
3265
+ 'Euro',
3266
+ 'EUR',
3267
+ 'sterling',
3268
+ 'British pound',
3269
+ 'GBP',
3270
+ 'United States dollar',
3271
+ 'USD',
3272
+ 'spm',
3273
+ 'Saint Pierre and Miquelon',
3274
+ ],
3275
+ },
3276
+ {
3277
+ type: 'option',
3278
+ value: { title: 'Saint Vincent and the Grenadines', value: 'VC' },
3279
+ filterMatchers: [
3280
+ 'Euro',
3281
+ 'EUR',
3282
+ 'sterling',
3283
+ 'British pound',
3284
+ 'GBP',
3285
+ 'United States dollar',
3286
+ 'USD',
3287
+ 'vct',
3288
+ 'Saint Vincent and the Grenadines',
3289
+ ],
3290
+ },
3291
+ {
3292
+ type: 'option',
3293
+ value: { title: 'Samoa', value: 'WS' },
3294
+ filterMatchers: [
3295
+ 'Euro',
3296
+ 'EUR',
3297
+ 'sterling',
3298
+ 'British pound',
3299
+ 'GBP',
3300
+ 'United States dollar',
3301
+ 'USD',
3302
+ 'wsm',
3303
+ 'Samoa',
3304
+ ],
3305
+ },
3306
+ {
3307
+ type: 'option',
3308
+ value: { title: 'San Marino', value: 'SM' },
3309
+ filterMatchers: [
3310
+ 'Euro',
3311
+ 'EUR',
3312
+ 'sterling',
3313
+ 'British pound',
3314
+ 'GBP',
3315
+ 'United States dollar',
3316
+ 'USD',
3317
+ 'smr',
3318
+ 'San Marino',
3319
+ ],
3320
+ },
3321
+ {
3322
+ type: 'option',
3323
+ value: { title: 'Sao Tome and Principe', value: 'ST' },
3324
+ filterMatchers: [
3325
+ 'Euro',
3326
+ 'EUR',
3327
+ 'sterling',
3328
+ 'British pound',
3329
+ 'GBP',
3330
+ 'United States dollar',
3331
+ 'USD',
3332
+ 'stp',
3333
+ 'Sao Tome and Principe',
3334
+ ],
3335
+ },
3336
+ {
3337
+ type: 'option',
3338
+ value: { title: 'Saudi Arabia', value: 'SA' },
3339
+ filterMatchers: [
3340
+ 'Euro',
3341
+ 'EUR',
3342
+ 'sterling',
3343
+ 'British pound',
3344
+ 'GBP',
3345
+ 'Saudi riyal',
3346
+ 'SAR',
3347
+ 'United States dollar',
3348
+ 'USD',
3349
+ 'sau',
3350
+ 'Saudi Arabia',
3351
+ ],
3352
+ },
3353
+ {
3354
+ type: 'option',
3355
+ value: { title: 'Senegal', value: 'SN' },
3356
+ filterMatchers: [
3357
+ 'Euro',
3358
+ 'EUR',
3359
+ 'sterling',
3360
+ 'British pound',
3361
+ 'GBP',
3362
+ 'United States dollar',
3363
+ 'USD',
3364
+ 'sen',
3365
+ 'Senegal',
3366
+ ],
3367
+ },
3368
+ {
3369
+ type: 'option',
3370
+ value: { title: 'Serbia', value: 'RS' },
3371
+ filterMatchers: [
3372
+ 'Euro',
3373
+ 'EUR',
3374
+ 'sterling',
3375
+ 'British pound',
3376
+ 'GBP',
3377
+ 'Serbian dinar',
3378
+ 'RSD',
3379
+ 'United States dollar',
3380
+ 'USD',
3381
+ 'srb',
3382
+ 'Serbia',
3383
+ ],
3384
+ },
3385
+ {
3386
+ type: 'option',
3387
+ value: { title: 'Seychelles', value: 'SC' },
3388
+ filterMatchers: [
3389
+ 'Euro',
3390
+ 'EUR',
3391
+ 'sterling',
3392
+ 'British pound',
3393
+ 'GBP',
3394
+ 'Seychellois rupee',
3395
+ 'SCR',
3396
+ 'United States dollar',
3397
+ 'USD',
3398
+ 'syc',
3399
+ 'Seychelles',
3400
+ ],
3401
+ },
3402
+ {
3403
+ type: 'option',
3404
+ value: { title: 'Sierra Leone', value: 'SL' },
3405
+ filterMatchers: [
3406
+ 'Euro',
3407
+ 'EUR',
3408
+ 'sterling',
3409
+ 'British pound',
3410
+ 'GBP',
3411
+ 'United States dollar',
3412
+ 'USD',
3413
+ 'sle',
3414
+ 'Sierra Leone',
3415
+ ],
3416
+ },
3417
+ {
3418
+ type: 'option',
3419
+ value: { title: 'Singapore', value: 'SG' },
3420
+ filterMatchers: [
3421
+ 'Euro',
3422
+ 'EUR',
3423
+ 'sterling',
3424
+ 'British pound',
3425
+ 'GBP',
3426
+ 'Singapore dollar',
3427
+ 'SGD',
3428
+ 'United States dollar',
3429
+ 'USD',
3430
+ 'sgp',
3431
+ 'Singapore',
3432
+ ],
3433
+ },
3434
+ {
3435
+ type: 'option',
3436
+ value: { title: 'Slovakia', value: 'SK' },
3437
+ filterMatchers: [
3438
+ 'Euro',
3439
+ 'EUR',
3440
+ 'sterling',
3441
+ 'British pound',
3442
+ 'GBP',
3443
+ 'United States dollar',
3444
+ 'USD',
3445
+ 'svk',
3446
+ 'Slovakia',
3447
+ ],
3448
+ },
3449
+ {
3450
+ type: 'option',
3451
+ value: { title: 'Slovenia', value: 'SI' },
3452
+ filterMatchers: [
3453
+ 'Euro',
3454
+ 'EUR',
3455
+ 'sterling',
3456
+ 'British pound',
3457
+ 'GBP',
3458
+ 'United States dollar',
3459
+ 'USD',
3460
+ 'svn',
3461
+ 'Slovenia',
3462
+ ],
3463
+ },
3464
+ {
3465
+ type: 'option',
3466
+ value: { title: 'Solomon Islands', value: 'SB' },
3467
+ filterMatchers: [
3468
+ 'Euro',
3469
+ 'EUR',
3470
+ 'sterling',
3471
+ 'British pound',
3472
+ 'GBP',
3473
+ 'United States dollar',
3474
+ 'USD',
3475
+ 'slb',
3476
+ 'Solomon Islands',
3477
+ ],
3478
+ },
3479
+ {
3480
+ type: 'option',
3481
+ value: { title: 'South Africa', value: 'ZA' },
3482
+ filterMatchers: [
3483
+ 'Euro',
3484
+ 'EUR',
3485
+ 'sterling',
3486
+ 'British pound',
3487
+ 'GBP',
3488
+ 'United States dollar',
3489
+ 'USD',
3490
+ 'South African rand',
3491
+ 'ZAR',
3492
+ 'zaf',
3493
+ 'South Africa',
3494
+ ],
3495
+ },
3496
+ {
3497
+ type: 'option',
3498
+ value: { title: 'South Korea', value: 'KR' },
3499
+ filterMatchers: [
3500
+ 'Euro',
3501
+ 'EUR',
3502
+ 'sterling',
3503
+ 'British pound',
3504
+ 'GBP',
3505
+ 'South Korean won',
3506
+ 'KRW',
3507
+ 'United States dollar',
3508
+ 'USD',
3509
+ 'kor',
3510
+ 'South Korea',
3511
+ ],
3512
+ },
3513
+ {
3514
+ type: 'option',
3515
+ value: { title: 'Spain', value: 'ES' },
3516
+ filterMatchers: [
3517
+ 'Euro',
3518
+ 'EUR',
3519
+ 'sterling',
3520
+ 'British pound',
3521
+ 'GBP',
3522
+ 'United States dollar',
3523
+ 'USD',
3524
+ 'esp',
3525
+ 'Spain',
3526
+ ],
3527
+ },
3528
+ {
3529
+ type: 'option',
3530
+ value: { title: 'Sri Lanka', value: 'LK' },
3531
+ filterMatchers: [
3532
+ 'Euro',
3533
+ 'EUR',
3534
+ 'sterling',
3535
+ 'British pound',
3536
+ 'GBP',
3537
+ 'Sri Lankan rupee',
3538
+ 'LKR',
3539
+ 'United States dollar',
3540
+ 'USD',
3541
+ 'lka',
3542
+ 'Sri Lanka',
3543
+ ],
3544
+ },
3545
+ {
3546
+ type: 'option',
3547
+ value: { title: 'Suriname', value: 'SR' },
3548
+ filterMatchers: [
3549
+ 'Euro',
3550
+ 'EUR',
3551
+ 'sterling',
3552
+ 'British pound',
3553
+ 'GBP',
3554
+ 'Surinamese dollar',
3555
+ 'SRD',
3556
+ 'United States dollar',
3557
+ 'USD',
3558
+ 'sur',
3559
+ 'Suriname',
3560
+ ],
3561
+ },
3562
+ {
3563
+ type: 'option',
3564
+ value: { title: 'Svalbard and Jan Mayen', value: 'SJ' },
3565
+ filterMatchers: [
3566
+ 'Euro',
3567
+ 'EUR',
3568
+ 'sterling',
3569
+ 'British pound',
3570
+ 'GBP',
3571
+ 'Norwegian krone',
3572
+ 'NOK',
3573
+ 'United States dollar',
3574
+ 'USD',
3575
+ 'sjm',
3576
+ 'Svalbard and Jan Mayen',
3577
+ ],
3578
+ },
3579
+ {
3580
+ type: 'option',
3581
+ value: { title: 'Sweden', value: 'SE' },
3582
+ filterMatchers: [
3583
+ 'Euro',
3584
+ 'EUR',
3585
+ 'sterling',
3586
+ 'British pound',
3587
+ 'GBP',
3588
+ 'Swedish krona',
3589
+ 'SEK',
3590
+ 'United States dollar',
3591
+ 'USD',
3592
+ 'swe',
3593
+ 'Sweden',
3594
+ ],
3595
+ },
3596
+ {
3597
+ type: 'option',
3598
+ value: { title: 'Switzerland', value: 'CH' },
3599
+ filterMatchers: [
3600
+ 'Swiss franc',
3601
+ 'CHF',
3602
+ 'Euro',
3603
+ 'EUR',
3604
+ 'sterling',
3605
+ 'British pound',
3606
+ 'GBP',
3607
+ 'United States dollar',
3608
+ 'USD',
3609
+ 'che',
3610
+ 'Switzerland',
3611
+ ],
3612
+ },
3613
+ {
3614
+ type: 'option',
3615
+ value: { title: 'Taiwan', value: 'TW' },
3616
+ filterMatchers: [
3617
+ 'Euro',
3618
+ 'EUR',
3619
+ 'sterling',
3620
+ 'British pound',
3621
+ 'GBP',
3622
+ 'Taiwanese New Taiwan dollar',
3623
+ 'TWD',
3624
+ 'United States dollar',
3625
+ 'USD',
3626
+ 'twn',
3627
+ 'Taiwan',
3628
+ ],
3629
+ },
3630
+ {
3631
+ type: 'option',
3632
+ value: { title: 'Tajikistan', value: 'TJ' },
3633
+ filterMatchers: [
3634
+ 'Euro',
3635
+ 'EUR',
3636
+ 'sterling',
3637
+ 'British pound',
3638
+ 'GBP',
3639
+ 'United States dollar',
3640
+ 'USD',
3641
+ 'tjk',
3642
+ 'Tajikistan',
3643
+ ],
3644
+ },
3645
+ {
3646
+ type: 'option',
3647
+ value: { title: 'Tanzania', value: 'TZ' },
3648
+ filterMatchers: [
3649
+ 'Euro',
3650
+ 'EUR',
3651
+ 'sterling',
3652
+ 'British pound',
3653
+ 'GBP',
3654
+ 'Tanzanian shilling',
3655
+ 'TZS',
3656
+ 'United States dollar',
3657
+ 'USD',
3658
+ 'tza',
3659
+ 'Tanzania',
3660
+ ],
3661
+ },
3662
+ {
3663
+ type: 'option',
3664
+ value: { title: 'Thailand', value: 'TH' },
3665
+ filterMatchers: [
3666
+ 'Euro',
3667
+ 'EUR',
3668
+ 'sterling',
3669
+ 'British pound',
3670
+ 'GBP',
3671
+ 'Thai baht',
3672
+ 'THB',
3673
+ 'United States dollar',
3674
+ 'USD',
3675
+ 'tha',
3676
+ 'Thailand',
3677
+ ],
3678
+ },
3679
+ {
3680
+ type: 'option',
3681
+ value: { title: 'Timor-Leste', value: 'TL' },
3682
+ filterMatchers: [
3683
+ 'Euro',
3684
+ 'EUR',
3685
+ 'sterling',
3686
+ 'British pound',
3687
+ 'GBP',
3688
+ 'United States dollar',
3689
+ 'USD',
3690
+ 'tls',
3691
+ 'Timor-Leste',
3692
+ ],
3693
+ },
3694
+ {
3695
+ type: 'option',
3696
+ value: { title: 'Tokelau', value: 'TK' },
3697
+ filterMatchers: ['New Zealand dollar', 'NZD', 'tkl', 'Tokelau'],
3698
+ },
3699
+ {
3700
+ type: 'option',
3701
+ value: { title: 'Tonga', value: 'TO' },
3702
+ filterMatchers: [
3703
+ 'Euro',
3704
+ 'EUR',
3705
+ 'sterling',
3706
+ 'British pound',
3707
+ 'GBP',
3708
+ 'United States dollar',
3709
+ 'USD',
3710
+ 'ton',
3711
+ 'Tonga',
3712
+ ],
3713
+ },
3714
+ {
3715
+ type: 'option',
3716
+ value: { title: 'Trinidad and Tobago', value: 'TT' },
3717
+ filterMatchers: [
3718
+ 'Euro',
3719
+ 'EUR',
3720
+ 'sterling',
3721
+ 'British pound',
3722
+ 'GBP',
3723
+ 'United States dollar',
3724
+ 'USD',
3725
+ 'tto',
3726
+ 'Trinidad and Tobago',
3727
+ ],
3728
+ },
3729
+ {
3730
+ type: 'option',
3731
+ value: { title: 'Tunisia', value: 'TN' },
3732
+ filterMatchers: [
3733
+ 'Euro',
3734
+ 'EUR',
3735
+ 'sterling',
3736
+ 'British pound',
3737
+ 'GBP',
3738
+ 'Tunisian dinar',
3739
+ 'TND',
3740
+ 'United States dollar',
3741
+ 'USD',
3742
+ 'tun',
3743
+ 'Tunisia',
3744
+ ],
3745
+ },
3746
+ {
3747
+ type: 'option',
3748
+ value: { title: 'Turkey', value: 'TR' },
3749
+ filterMatchers: [
3750
+ 'turkiye',
3751
+ 'Euro',
3752
+ 'EUR',
3753
+ 'sterling',
3754
+ 'British pound',
3755
+ 'GBP',
3756
+ 'Turkish lira',
3757
+ 'TRY',
3758
+ 'United States dollar',
3759
+ 'USD',
3760
+ 'tur',
3761
+ 'Turkey',
3762
+ ],
3763
+ },
3764
+ {
3765
+ type: 'option',
3766
+ value: { title: 'Turks and Caicos Islands', value: 'TC' },
3767
+ filterMatchers: [
3768
+ 'Euro',
3769
+ 'EUR',
3770
+ 'sterling',
3771
+ 'British pound',
3772
+ 'GBP',
3773
+ 'United States dollar',
3774
+ 'USD',
3775
+ 'tca',
3776
+ 'Turks and Caicos Islands',
3777
+ ],
3778
+ },
3779
+ {
3780
+ type: 'option',
3781
+ value: { title: 'Tuvalu', value: 'TV' },
3782
+ filterMatchers: [
3783
+ 'Australian dollar',
3784
+ 'AUD',
3785
+ 'Euro',
3786
+ 'EUR',
3787
+ 'sterling',
3788
+ 'British pound',
3789
+ 'GBP',
3790
+ 'United States dollar',
3791
+ 'USD',
3792
+ 'tuv',
3793
+ 'Tuvalu',
3794
+ ],
3795
+ },
3796
+ {
3797
+ type: 'option',
3798
+ value: { title: 'Uganda', value: 'UG' },
3799
+ filterMatchers: [
3800
+ 'Euro',
3801
+ 'EUR',
3802
+ 'sterling',
3803
+ 'British pound',
3804
+ 'GBP',
3805
+ 'Ugandan shilling',
3806
+ 'UGX',
3807
+ 'United States dollar',
3808
+ 'USD',
3809
+ 'uga',
3810
+ 'Uganda',
3811
+ ],
3812
+ },
3813
+ {
3814
+ type: 'option',
3815
+ value: { title: 'Ukraine', value: 'UA' },
3816
+ filterMatchers: [
3817
+ 'Euro',
3818
+ 'EUR',
3819
+ 'sterling',
3820
+ 'British pound',
3821
+ 'GBP',
3822
+ 'Ukrainian hryvnia',
3823
+ 'UAH',
3824
+ 'United States dollar',
3825
+ 'USD',
3826
+ 'ukr',
3827
+ 'Ukraine',
3828
+ ],
3829
+ },
3830
+ {
3831
+ type: 'option',
3832
+ value: { title: 'United Arab Emirates', value: 'AE' },
3833
+ filterMatchers: [
3834
+ 'uae',
3835
+ 'Dubai',
3836
+ 'Euro',
3837
+ 'EUR',
3838
+ 'sterling',
3839
+ 'British pound',
3840
+ 'GBP',
3841
+ 'United States dollar',
3842
+ 'USD',
3843
+ 'United Arab Emirates dirham',
3844
+ 'AED',
3845
+ 'are',
3846
+ 'United Arab Emirates',
3847
+ ],
3848
+ },
3849
+ {
3850
+ type: 'option',
3851
+ value: { title: 'United Kingdom', value: 'GB' },
3852
+ filterMatchers: [
3853
+ 'uk',
3854
+ 'Britain',
3855
+ 'England',
3856
+ 'Scotland',
3857
+ 'Wales',
3858
+ 'Northern Ireland',
3859
+ 'Euro',
3860
+ 'EUR',
3861
+ 'sterling',
3862
+ 'British pound',
3863
+ 'GBP',
3864
+ 'United States dollar',
3865
+ 'USD',
3866
+ 'gbr',
3867
+ 'United Kingdom',
3868
+ ],
3869
+ },
3870
+ {
3871
+ type: 'option',
3872
+ value: { title: 'United States', value: 'US' },
3873
+ filterMatchers: [
3874
+ 'United States of America',
3875
+ 'Euro',
3876
+ 'EUR',
3877
+ 'sterling',
3878
+ 'British pound',
3879
+ 'GBP',
3880
+ 'United States dollar',
3881
+ 'USD',
3882
+ 'usa',
3883
+ 'United States',
3884
+ ],
3885
+ },
3886
+ {
3887
+ type: 'option',
3888
+ value: { title: 'United States Minor Outlying Islands', value: 'UM' },
3889
+ filterMatchers: [
3890
+ 'Euro',
3891
+ 'EUR',
3892
+ 'sterling',
3893
+ 'British pound',
3894
+ 'GBP',
3895
+ 'United States dollar',
3896
+ 'USD',
3897
+ 'umi',
3898
+ 'United States Minor Outlying Islands',
3899
+ ],
3900
+ },
3901
+ {
3902
+ type: 'option',
3903
+ value: { title: 'United States Virgin Islands', value: 'VI' },
3904
+ filterMatchers: [
3905
+ 'Euro',
3906
+ 'EUR',
3907
+ 'sterling',
3908
+ 'British pound',
3909
+ 'GBP',
3910
+ 'United States dollar',
3911
+ 'USD',
3912
+ 'vir',
3913
+ 'United States Virgin Islands',
3914
+ ],
3915
+ },
3916
+ {
3917
+ type: 'option',
3918
+ value: { title: 'Uruguay', value: 'UY' },
3919
+ filterMatchers: [
3920
+ 'Euro',
3921
+ 'EUR',
3922
+ 'sterling',
3923
+ 'British pound',
3924
+ 'GBP',
3925
+ 'United States dollar',
3926
+ 'USD',
3927
+ 'Uruguayan peso',
3928
+ 'UYU',
3929
+ 'ury',
3930
+ 'Uruguay',
3931
+ ],
3932
+ },
3933
+ {
3934
+ type: 'option',
3935
+ value: { title: 'Uzbekistan', value: 'UZ' },
3936
+ filterMatchers: [
3937
+ 'Euro',
3938
+ 'EUR',
3939
+ 'sterling',
3940
+ 'British pound',
3941
+ 'GBP',
3942
+ 'United States dollar',
3943
+ 'USD',
3944
+ 'uzb',
3945
+ 'Uzbekistan',
3946
+ ],
3947
+ },
3948
+ {
3949
+ type: 'option',
3950
+ value: { title: 'Vanuatu', value: 'VU' },
3951
+ filterMatchers: [
3952
+ 'Euro',
3953
+ 'EUR',
3954
+ 'sterling',
3955
+ 'British pound',
3956
+ 'GBP',
3957
+ 'United States dollar',
3958
+ 'USD',
3959
+ 'vut',
3960
+ 'Vanuatu',
3961
+ ],
3962
+ },
3963
+ {
3964
+ type: 'option',
3965
+ value: { title: 'Vatican City', value: 'VA' },
3966
+ filterMatchers: [
3967
+ 'Euro',
3968
+ 'EUR',
3969
+ 'sterling',
3970
+ 'British pound',
3971
+ 'GBP',
3972
+ 'United States dollar',
3973
+ 'USD',
3974
+ 'vat',
3975
+ 'Vatican City',
3976
+ ],
3977
+ },
3978
+ {
3979
+ type: 'option',
3980
+ value: { title: 'Vietnam', value: 'VN' },
3981
+ filterMatchers: [
3982
+ 'Euro',
3983
+ 'EUR',
3984
+ 'sterling',
3985
+ 'British pound',
3986
+ 'GBP',
3987
+ 'United States dollar',
3988
+ 'USD',
3989
+ 'Vietnamese dong',
3990
+ 'VND',
3991
+ 'vnm',
3992
+ 'Vietnam',
3993
+ ],
3994
+ },
3995
+ {
3996
+ type: 'option',
3997
+ value: { title: 'Wallis and Futuna', value: 'WF' },
3998
+ filterMatchers: [
3999
+ 'Euro',
4000
+ 'EUR',
4001
+ 'sterling',
4002
+ 'British pound',
4003
+ 'GBP',
4004
+ 'United States dollar',
4005
+ 'USD',
4006
+ 'wlf',
4007
+ 'Wallis and Futuna',
4008
+ ],
4009
+ },
4010
+ {
4011
+ type: 'option',
4012
+ value: { title: 'Western Sahara', value: 'EH' },
4013
+ filterMatchers: ['Moroccan dirham', 'MAD', 'esh', 'Western Sahara'],
4014
+ },
4015
+ {
4016
+ type: 'option',
4017
+ value: { title: 'Zambia', value: 'ZM' },
4018
+ filterMatchers: [
4019
+ 'Euro',
4020
+ 'EUR',
4021
+ 'sterling',
4022
+ 'British pound',
4023
+ 'GBP',
4024
+ 'United States dollar',
4025
+ 'USD',
4026
+ 'zmb',
4027
+ 'Zambia',
4028
+ ],
4029
+ },
4030
+ ],
4031
+ },
4032
+ ],
4033
+ compareValues: 'value',
4034
+ renderValue: (country) => (
4035
+ <SelectInputOptionContent
4036
+ title={country.title}
4037
+ icon={<Flag code={country.value} intrinsicSize={24} />}
4038
+ />
4039
+ ),
4040
+ value: {
4041
+ title: 'China',
4042
+ value: 'CN',
4043
+ },
4044
+ filterable: true,
4045
+ filterPlaceholder: 'Type a currency / country',
4046
+ sortFilteredOptions: (a, b, searchQuery) => {
4047
+ const normalizedQuery = searchQuery.toLowerCase();
4048
+ const nameA = a.value.title.toLowerCase();
4049
+ const nameB = b.value.title.toLowerCase();
4050
+
4051
+ // Prioritize countries where name contains the search query
4052
+ const aNameMatch = nameA.includes(normalizedQuery);
4053
+ const bNameMatch = nameB.includes(normalizedQuery);
4054
+
4055
+ if (aNameMatch && !bNameMatch) return -1;
4056
+ if (!aNameMatch && bNameMatch) return 1;
4057
+
4058
+ // Then sort alphabetically
4059
+ return nameA.localeCompare(nameB);
4060
+ },
4061
+ size: 'lg',
4062
+ } satisfies Story<{ title: string; value: string }>['args'],
4063
+ decorators: [
4064
+ (Story) => (
4065
+ <div>
4066
+ <p className="m-b-3 np-text-body-default" style={{ maxWidth: '600px' }}>
4067
+ This example demonstrates custom sorting with the <code>sortFilteredOptions</code> prop.
4068
+ <br />
4069
+ <br />
4070
+ Try searching for &quot;united&quot; - Without the custom sorter, it would just be the
4071
+ provided options order.
4072
+ <br />
4073
+ With a customer sorter function in this story, the countries with &quot;United&quot; in
4074
+ their name appear first, followed by countries that only match via keywords.
4075
+ </p>
4076
+ <Story />
4077
+ </div>
4078
+ ),
4079
+ ],
4080
+ };
4081
+
4082
+ /**
4083
+ * Test story with a large list of countries where almost all have "United States dollar"
4084
+ * in their metadata. This reproduces the bug where searching "united" would scroll to
4085
+ * the bottom of the list instead of staying at the top.
4086
+ */
4087
+ export const VirtualizedCountryListTest: Story<{ title: string; value: string }> = {
4088
+ args: {
4089
+ items: [
4090
+ // Popular countries group - all have USD in metadata
4091
+ {
4092
+ type: 'group',
4093
+ label: 'Popular countries',
4094
+ options: [
4095
+ {
4096
+ type: 'option',
4097
+ value: { title: 'United States', value: 'US' },
4098
+ filterMatchers: ['United States', 'USA', 'United States dollar', 'USD'],
4099
+ },
4100
+ {
4101
+ type: 'option',
4102
+ value: { title: 'United Kingdom', value: 'GB' },
4103
+ filterMatchers: [
4104
+ 'United Kingdom',
4105
+ 'UK',
4106
+ 'British pound',
4107
+ 'GBP',
4108
+ 'United States dollar',
4109
+ 'USD',
4110
+ ],
4111
+ },
4112
+ {
4113
+ type: 'option',
4114
+ value: { title: 'Germany', value: 'DE' },
4115
+ filterMatchers: [
4116
+ 'Germany',
4117
+ 'Deutschland',
4118
+ 'Euro',
4119
+ 'EUR',
4120
+ 'United States dollar',
4121
+ 'USD',
4122
+ ],
4123
+ },
4124
+ {
4125
+ type: 'option',
4126
+ value: { title: 'France', value: 'FR' },
4127
+ filterMatchers: ['France', 'Euro', 'EUR', 'United States dollar', 'USD'],
4128
+ },
4129
+ ],
4130
+ },
4131
+ // All countries group - massive list with USD in most
4132
+ {
4133
+ type: 'group',
4134
+ label: 'All countries',
4135
+ options: [
4136
+ {
4137
+ type: 'option',
4138
+ value: { title: 'Afghanistan', value: 'AF' },
4139
+ filterMatchers: ['Afghanistan', 'Afghan afghani', 'AFN', 'United States dollar', 'USD'],
4140
+ },
4141
+ {
4142
+ type: 'option',
4143
+ value: { title: 'Albania', value: 'AL' },
4144
+ filterMatchers: ['Albania', 'Albanian lek', 'ALL', 'United States dollar', 'USD'],
4145
+ },
4146
+ {
4147
+ type: 'option',
4148
+ value: { title: 'Algeria', value: 'DZ' },
4149
+ filterMatchers: ['Algeria', 'Algerian dinar', 'DZD', 'United States dollar', 'USD'],
4150
+ },
4151
+ {
4152
+ type: 'option',
4153
+ value: { title: 'Andorra', value: 'AD' },
4154
+ filterMatchers: ['Andorra', 'Euro', 'EUR', 'United States dollar', 'USD'],
4155
+ },
4156
+ {
4157
+ type: 'option',
4158
+ value: { title: 'Angola', value: 'AO' },
4159
+ filterMatchers: ['Angola', 'Angolan kwanza', 'AOA', 'United States dollar', 'USD'],
4160
+ },
4161
+ {
4162
+ type: 'option',
4163
+ value: { title: 'Argentina', value: 'AR' },
4164
+ filterMatchers: ['Argentina', 'Argentine peso', 'ARS', 'United States dollar', 'USD'],
4165
+ },
4166
+ {
4167
+ type: 'option',
4168
+ value: { title: 'Armenia', value: 'AM' },
4169
+ filterMatchers: ['Armenia', 'Armenian dram', 'AMD', 'United States dollar', 'USD'],
4170
+ },
4171
+ {
4172
+ type: 'option',
4173
+ value: { title: 'Australia', value: 'AU' },
4174
+ filterMatchers: [
4175
+ 'Australia',
4176
+ 'Australian dollar',
4177
+ 'AUD',
4178
+ 'United States dollar',
4179
+ 'USD',
4180
+ ],
4181
+ },
4182
+ {
4183
+ type: 'option',
4184
+ value: { title: 'Austria', value: 'AT' },
4185
+ filterMatchers: ['Austria', 'Euro', 'EUR', 'United States dollar', 'USD'],
4186
+ },
4187
+ {
4188
+ type: 'option',
4189
+ value: { title: 'Azerbaijan', value: 'AZ' },
4190
+ filterMatchers: [
4191
+ 'Azerbaijan',
4192
+ 'Azerbaijani manat',
4193
+ 'AZN',
4194
+ 'United States dollar',
4195
+ 'USD',
4196
+ ],
4197
+ },
4198
+ {
4199
+ type: 'option',
4200
+ value: { title: 'Bahamas', value: 'BS' },
4201
+ filterMatchers: ['Bahamas', 'Bahamian dollar', 'BSD', 'United States dollar', 'USD'],
4202
+ },
4203
+ {
4204
+ type: 'option',
4205
+ value: { title: 'Bahrain', value: 'BH' },
4206
+ filterMatchers: ['Bahrain', 'Bahraini dinar', 'BHD', 'United States dollar', 'USD'],
4207
+ },
4208
+ {
4209
+ type: 'option',
4210
+ value: { title: 'Bangladesh', value: 'BD' },
4211
+ filterMatchers: [
4212
+ 'Bangladesh',
4213
+ 'Bangladeshi taka',
4214
+ 'BDT',
4215
+ 'United States dollar',
4216
+ 'USD',
4217
+ ],
4218
+ },
4219
+ {
4220
+ type: 'option',
4221
+ value: { title: 'Barbados', value: 'BB' },
4222
+ filterMatchers: ['Barbados', 'Barbadian dollar', 'BBD', 'United States dollar', 'USD'],
4223
+ },
4224
+ {
4225
+ type: 'option',
4226
+ value: { title: 'Belarus', value: 'BY' },
4227
+ filterMatchers: ['Belarus', 'Belarusian ruble', 'BYN', 'United States dollar', 'USD'],
4228
+ },
4229
+ {
4230
+ type: 'option',
4231
+ value: { title: 'Belgium', value: 'BE' },
4232
+ filterMatchers: ['Belgium', 'Euro', 'EUR', 'United States dollar', 'USD'],
4233
+ },
4234
+ {
4235
+ type: 'option',
4236
+ value: { title: 'Belize', value: 'BZ' },
4237
+ filterMatchers: ['Belize', 'Belize dollar', 'BZD', 'United States dollar', 'USD'],
4238
+ },
4239
+ {
4240
+ type: 'option',
4241
+ value: { title: 'Benin', value: 'BJ' },
4242
+ filterMatchers: [
4243
+ 'Benin',
4244
+ 'West African CFA franc',
4245
+ 'XOF',
4246
+ 'United States dollar',
4247
+ 'USD',
4248
+ ],
4249
+ },
4250
+ {
4251
+ type: 'option',
4252
+ value: { title: 'Bhutan', value: 'BT' },
4253
+ filterMatchers: ['Bhutan', 'Bhutanese ngultrum', 'BTN', 'United States dollar', 'USD'],
4254
+ },
4255
+ {
4256
+ type: 'option',
4257
+ value: { title: 'Bolivia', value: 'BO' },
4258
+ filterMatchers: ['Bolivia', 'Bolivian boliviano', 'BOB', 'United States dollar', 'USD'],
4259
+ },
4260
+ {
4261
+ type: 'option',
4262
+ value: { title: 'Bosnia and Herzegovina', value: 'BA' },
4263
+ filterMatchers: [
4264
+ 'Bosnia',
4265
+ 'Herzegovina',
4266
+ 'Convertible mark',
4267
+ 'BAM',
4268
+ 'United States dollar',
4269
+ 'USD',
4270
+ ],
4271
+ },
4272
+ {
4273
+ type: 'option',
4274
+ value: { title: 'Botswana', value: 'BW' },
4275
+ filterMatchers: ['Botswana', 'Botswana pula', 'BWP', 'United States dollar', 'USD'],
4276
+ },
4277
+ {
4278
+ type: 'option',
4279
+ value: { title: 'Brazil', value: 'BR' },
4280
+ filterMatchers: ['Brazil', 'Brazilian real', 'BRL', 'United States dollar', 'USD'],
4281
+ },
4282
+ {
4283
+ type: 'option',
4284
+ value: { title: 'Brunei', value: 'BN' },
4285
+ filterMatchers: ['Brunei', 'Brunei dollar', 'BND', 'United States dollar', 'USD'],
4286
+ },
4287
+ {
4288
+ type: 'option',
4289
+ value: { title: 'Bulgaria', value: 'BG' },
4290
+ filterMatchers: ['Bulgaria', 'Bulgarian lev', 'BGN', 'United States dollar', 'USD'],
4291
+ },
4292
+ {
4293
+ type: 'option',
4294
+ value: { title: 'Burkina Faso', value: 'BF' },
4295
+ filterMatchers: [
4296
+ 'Burkina Faso',
4297
+ 'West African CFA franc',
4298
+ 'XOF',
4299
+ 'United States dollar',
4300
+ 'USD',
4301
+ ],
4302
+ },
4303
+ {
4304
+ type: 'option',
4305
+ value: { title: 'Burundi', value: 'BI' },
4306
+ filterMatchers: ['Burundi', 'Burundian franc', 'BIF', 'United States dollar', 'USD'],
4307
+ },
4308
+ {
4309
+ type: 'option',
4310
+ value: { title: 'Cambodia', value: 'KH' },
4311
+ filterMatchers: ['Cambodia', 'Cambodian riel', 'KHR', 'United States dollar', 'USD'],
4312
+ },
4313
+ {
4314
+ type: 'option',
4315
+ value: { title: 'Cameroon', value: 'CM' },
4316
+ filterMatchers: [
4317
+ 'Cameroon',
4318
+ 'Central African CFA franc',
4319
+ 'XAF',
4320
+ 'United States dollar',
4321
+ 'USD',
4322
+ ],
4323
+ },
4324
+ {
4325
+ type: 'option',
4326
+ value: { title: 'Canada', value: 'CA' },
4327
+ filterMatchers: ['Canada', 'Canadian dollar', 'CAD', 'United States dollar', 'USD'],
4328
+ },
4329
+ {
4330
+ type: 'option',
4331
+ value: { title: 'Cape Verde', value: 'CV' },
4332
+ filterMatchers: [
4333
+ 'Cape Verde',
4334
+ 'Cape Verdean escudo',
4335
+ 'CVE',
4336
+ 'United States dollar',
4337
+ 'USD',
4338
+ ],
4339
+ },
4340
+ {
4341
+ type: 'option',
4342
+ value: { title: 'Central African Republic', value: 'CF' },
4343
+ filterMatchers: [
4344
+ 'Central African Republic',
4345
+ 'Central African CFA franc',
4346
+ 'XAF',
4347
+ 'United States dollar',
4348
+ 'USD',
4349
+ ],
4350
+ },
4351
+ {
4352
+ type: 'option',
4353
+ value: { title: 'Chad', value: 'TD' },
4354
+ filterMatchers: [
4355
+ 'Chad',
4356
+ 'Central African CFA franc',
4357
+ 'XAF',
4358
+ 'United States dollar',
4359
+ 'USD',
4360
+ ],
4361
+ },
4362
+ {
4363
+ type: 'option',
4364
+ value: { title: 'Chile', value: 'CL' },
4365
+ filterMatchers: ['Chile', 'Chilean peso', 'CLP', 'United States dollar', 'USD'],
4366
+ },
4367
+ {
4368
+ type: 'option',
4369
+ value: { title: 'China', value: 'CN' },
4370
+ filterMatchers: ['China', 'Chinese yuan', 'CNY', 'United States dollar', 'USD'],
4371
+ },
4372
+ {
4373
+ type: 'option',
4374
+ value: { title: 'Colombia', value: 'CO' },
4375
+ filterMatchers: ['Colombia', 'Colombian peso', 'COP', 'United States dollar', 'USD'],
4376
+ },
4377
+ {
4378
+ type: 'option',
4379
+ value: { title: 'Comoros', value: 'KM' },
4380
+ filterMatchers: ['Comoros', 'Comorian franc', 'KMF', 'United States dollar', 'USD'],
4381
+ },
4382
+ {
4383
+ type: 'option',
4384
+ value: { title: 'Congo', value: 'CG' },
4385
+ filterMatchers: [
4386
+ 'Congo',
4387
+ 'Central African CFA franc',
4388
+ 'XAF',
4389
+ 'United States dollar',
4390
+ 'USD',
4391
+ ],
4392
+ },
4393
+ {
4394
+ type: 'option',
4395
+ value: { title: 'Costa Rica', value: 'CR' },
4396
+ filterMatchers: [
4397
+ 'Costa Rica',
4398
+ 'Costa Rican colón',
4399
+ 'CRC',
4400
+ 'United States dollar',
4401
+ 'USD',
4402
+ ],
4403
+ },
4404
+ {
4405
+ type: 'option',
4406
+ value: { title: 'Croatia', value: 'HR' },
4407
+ filterMatchers: ['Croatia', 'Euro', 'EUR', 'United States dollar', 'USD'],
4408
+ },
4409
+ {
4410
+ type: 'option',
4411
+ value: { title: 'Cuba', value: 'CU' },
4412
+ filterMatchers: ['Cuba', 'Cuban peso', 'CUP', 'United States dollar', 'USD'],
4413
+ },
4414
+ {
4415
+ type: 'option',
4416
+ value: { title: 'Cyprus', value: 'CY' },
4417
+ filterMatchers: ['Cyprus', 'Euro', 'EUR', 'United States dollar', 'USD'],
4418
+ },
4419
+ {
4420
+ type: 'option',
4421
+ value: { title: 'Czech Republic', value: 'CZ' },
4422
+ filterMatchers: [
4423
+ 'Czech Republic',
4424
+ 'Czech koruna',
4425
+ 'CZK',
4426
+ 'United States dollar',
4427
+ 'USD',
4428
+ ],
4429
+ },
4430
+ {
4431
+ type: 'option',
4432
+ value: { title: 'Denmark', value: 'DK' },
4433
+ filterMatchers: ['Denmark', 'Danish krone', 'DKK', 'United States dollar', 'USD'],
4434
+ },
4435
+ {
4436
+ type: 'option',
4437
+ value: { title: 'Djibouti', value: 'DJ' },
4438
+ filterMatchers: ['Djibouti', 'Djiboutian franc', 'DJF', 'United States dollar', 'USD'],
4439
+ },
4440
+ {
4441
+ type: 'option',
4442
+ value: { title: 'Dominica', value: 'DM' },
4443
+ filterMatchers: [
4444
+ 'Dominica',
4445
+ 'East Caribbean dollar',
4446
+ 'XCD',
4447
+ 'United States dollar',
4448
+ 'USD',
4449
+ ],
4450
+ },
4451
+ {
4452
+ type: 'option',
4453
+ value: { title: 'Dominican Republic', value: 'DO' },
4454
+ filterMatchers: [
4455
+ 'Dominican Republic',
4456
+ 'Dominican peso',
4457
+ 'DOP',
4458
+ 'United States dollar',
4459
+ 'USD',
4460
+ ],
4461
+ },
4462
+ {
4463
+ type: 'option',
4464
+ value: { title: 'Ecuador', value: 'EC' },
4465
+ filterMatchers: ['Ecuador', 'United States dollar', 'USD'],
4466
+ },
4467
+ {
4468
+ type: 'option',
4469
+ value: { title: 'Egypt', value: 'EG' },
4470
+ filterMatchers: ['Egypt', 'Egyptian pound', 'EGP', 'United States dollar', 'USD'],
4471
+ },
4472
+ {
4473
+ type: 'option',
4474
+ value: { title: 'El Salvador', value: 'SV' },
4475
+ filterMatchers: ['El Salvador', 'United States dollar', 'USD'],
4476
+ },
4477
+ {
4478
+ type: 'option',
4479
+ value: { title: 'Equatorial Guinea', value: 'GQ' },
4480
+ filterMatchers: [
4481
+ 'Equatorial Guinea',
4482
+ 'Central African CFA franc',
4483
+ 'XAF',
4484
+ 'United States dollar',
4485
+ 'USD',
4486
+ ],
4487
+ },
4488
+ {
4489
+ type: 'option',
4490
+ value: { title: 'Eritrea', value: 'ER' },
4491
+ filterMatchers: ['Eritrea', 'Eritrean nakfa', 'ERN', 'United States dollar', 'USD'],
4492
+ },
4493
+ {
4494
+ type: 'option',
4495
+ value: { title: 'Estonia', value: 'EE' },
4496
+ filterMatchers: ['Estonia', 'Euro', 'EUR', 'United States dollar', 'USD'],
4497
+ },
4498
+ {
4499
+ type: 'option',
4500
+ value: { title: 'Ethiopia', value: 'ET' },
4501
+ filterMatchers: ['Ethiopia', 'Ethiopian birr', 'ETB', 'United States dollar', 'USD'],
4502
+ },
4503
+ {
4504
+ type: 'option',
4505
+ value: { title: 'Fiji', value: 'FJ' },
4506
+ filterMatchers: ['Fiji', 'Fijian dollar', 'FJD', 'United States dollar', 'USD'],
4507
+ },
4508
+ {
4509
+ type: 'option',
4510
+ value: { title: 'Finland', value: 'FI' },
4511
+ filterMatchers: ['Finland', 'Euro', 'EUR', 'United States dollar', 'USD'],
4512
+ },
4513
+ {
4514
+ type: 'option',
4515
+ value: { title: 'Gabon', value: 'GA' },
4516
+ filterMatchers: [
4517
+ 'Gabon',
4518
+ 'Central African CFA franc',
4519
+ 'XAF',
4520
+ 'United States dollar',
4521
+ 'USD',
4522
+ ],
4523
+ },
4524
+ {
4525
+ type: 'option',
4526
+ value: { title: 'Gambia', value: 'GM' },
4527
+ filterMatchers: ['Gambia', 'Gambian dalasi', 'GMD', 'United States dollar', 'USD'],
4528
+ },
4529
+ {
4530
+ type: 'option',
4531
+ value: { title: 'Georgia', value: 'GE' },
4532
+ filterMatchers: ['Georgia', 'Georgian lari', 'GEL', 'United States dollar', 'USD'],
4533
+ },
4534
+ {
4535
+ type: 'option',
4536
+ value: { title: 'Ghana', value: 'GH' },
4537
+ filterMatchers: ['Ghana', 'Ghanaian cedi', 'GHS', 'United States dollar', 'USD'],
4538
+ },
4539
+ {
4540
+ type: 'option',
4541
+ value: { title: 'Greece', value: 'GR' },
4542
+ filterMatchers: ['Greece', 'Euro', 'EUR', 'United States dollar', 'USD'],
4543
+ },
4544
+ {
4545
+ type: 'option',
4546
+ value: { title: 'Grenada', value: 'GD' },
4547
+ filterMatchers: [
4548
+ 'Grenada',
4549
+ 'East Caribbean dollar',
4550
+ 'XCD',
4551
+ 'United States dollar',
4552
+ 'USD',
4553
+ ],
4554
+ },
4555
+ {
4556
+ type: 'option',
4557
+ value: { title: 'Guatemala', value: 'GT' },
4558
+ filterMatchers: [
4559
+ 'Guatemala',
4560
+ 'Guatemalan quetzal',
4561
+ 'GTQ',
4562
+ 'United States dollar',
4563
+ 'USD',
4564
+ ],
4565
+ },
4566
+ {
4567
+ type: 'option',
4568
+ value: { title: 'Guinea', value: 'GN' },
4569
+ filterMatchers: ['Guinea', 'Guinean franc', 'GNF', 'United States dollar', 'USD'],
4570
+ },
4571
+ {
4572
+ type: 'option',
4573
+ value: { title: 'Guinea-Bissau', value: 'GW' },
4574
+ filterMatchers: [
4575
+ 'Guinea-Bissau',
4576
+ 'West African CFA franc',
4577
+ 'XOF',
4578
+ 'United States dollar',
4579
+ 'USD',
4580
+ ],
4581
+ },
4582
+ {
4583
+ type: 'option',
4584
+ value: { title: 'Guyana', value: 'GY' },
4585
+ filterMatchers: ['Guyana', 'Guyanese dollar', 'GYD', 'United States dollar', 'USD'],
4586
+ },
4587
+ {
4588
+ type: 'option',
4589
+ value: { title: 'Haiti', value: 'HT' },
4590
+ filterMatchers: ['Haiti', 'Haitian gourde', 'HTG', 'United States dollar', 'USD'],
4591
+ },
4592
+ {
4593
+ type: 'option',
4594
+ value: { title: 'Honduras', value: 'HN' },
4595
+ filterMatchers: ['Honduras', 'Honduran lempira', 'HNL', 'United States dollar', 'USD'],
4596
+ },
4597
+ {
4598
+ type: 'option',
4599
+ value: { title: 'Hungary', value: 'HU' },
4600
+ filterMatchers: ['Hungary', 'Hungarian forint', 'HUF', 'United States dollar', 'USD'],
4601
+ },
4602
+ {
4603
+ type: 'option',
4604
+ value: { title: 'Iceland', value: 'IS' },
4605
+ filterMatchers: ['Iceland', 'Icelandic króna', 'ISK', 'United States dollar', 'USD'],
4606
+ },
4607
+ {
4608
+ type: 'option',
4609
+ value: { title: 'India', value: 'IN' },
4610
+ filterMatchers: ['India', 'Indian rupee', 'INR', 'United States dollar', 'USD'],
4611
+ },
4612
+ {
4613
+ type: 'option',
4614
+ value: { title: 'Indonesia', value: 'ID' },
4615
+ filterMatchers: [
4616
+ 'Indonesia',
4617
+ 'Indonesian rupiah',
4618
+ 'IDR',
4619
+ 'United States dollar',
4620
+ 'USD',
4621
+ ],
4622
+ },
4623
+ {
4624
+ type: 'option',
4625
+ value: { title: 'Iran', value: 'IR' },
4626
+ filterMatchers: ['Iran', 'Iranian rial', 'IRR', 'United States dollar', 'USD'],
4627
+ },
4628
+ {
4629
+ type: 'option',
4630
+ value: { title: 'Iraq', value: 'IQ' },
4631
+ filterMatchers: ['Iraq', 'Iraqi dinar', 'IQD', 'United States dollar', 'USD'],
4632
+ },
4633
+ {
4634
+ type: 'option',
4635
+ value: { title: 'Ireland', value: 'IE' },
4636
+ filterMatchers: ['Ireland', 'Euro', 'EUR', 'United States dollar', 'USD'],
4637
+ },
4638
+ {
4639
+ type: 'option',
4640
+ value: { title: 'Israel', value: 'IL' },
4641
+ filterMatchers: ['Israel', 'Israeli new shekel', 'ILS', 'United States dollar', 'USD'],
4642
+ },
4643
+ {
4644
+ type: 'option',
4645
+ value: { title: 'Italy', value: 'IT' },
4646
+ filterMatchers: ['Italy', 'Euro', 'EUR', 'United States dollar', 'USD'],
4647
+ },
4648
+ {
4649
+ type: 'option',
4650
+ value: { title: 'Jamaica', value: 'JM' },
4651
+ filterMatchers: ['Jamaica', 'Jamaican dollar', 'JMD', 'United States dollar', 'USD'],
4652
+ },
4653
+ {
4654
+ type: 'option',
4655
+ value: { title: 'Japan', value: 'JP' },
4656
+ filterMatchers: ['Japan', 'Japanese yen', 'JPY', 'United States dollar', 'USD'],
4657
+ },
4658
+ {
4659
+ type: 'option',
4660
+ value: { title: 'Jordan', value: 'JO' },
4661
+ filterMatchers: ['Jordan', 'Jordanian dinar', 'JOD', 'United States dollar', 'USD'],
4662
+ },
4663
+ // This one country does NOT have USD - to verify filtering works
4664
+ {
4665
+ type: 'option',
4666
+ value: { title: 'Kazakhstan', value: 'KZ' },
4667
+ filterMatchers: ['Kazakhstan', 'Kazakhstani tenge', 'KZT'],
4668
+ },
4669
+ {
4670
+ type: 'option',
4671
+ value: { title: 'Kenya', value: 'KE' },
4672
+ filterMatchers: ['Kenya', 'Kenyan shilling', 'KES', 'United States dollar', 'USD'],
4673
+ },
4674
+ {
4675
+ type: 'option',
4676
+ value: { title: 'Kiribati', value: 'KI' },
4677
+ filterMatchers: ['Kiribati', 'Australian dollar', 'AUD', 'United States dollar', 'USD'],
4678
+ },
4679
+ {
4680
+ type: 'option',
4681
+ value: { title: 'Kuwait', value: 'KW' },
4682
+ filterMatchers: ['Kuwait', 'Kuwaiti dinar', 'KWD', 'United States dollar', 'USD'],
4683
+ },
4684
+ {
4685
+ type: 'option',
4686
+ value: { title: 'Kyrgyzstan', value: 'KG' },
4687
+ filterMatchers: ['Kyrgyzstan', 'Kyrgyzstani som', 'KGS', 'United States dollar', 'USD'],
4688
+ },
4689
+ {
4690
+ type: 'option',
4691
+ value: { title: 'Laos', value: 'LA' },
4692
+ filterMatchers: ['Laos', 'Lao kip', 'LAK', 'United States dollar', 'USD'],
4693
+ },
4694
+ {
4695
+ type: 'option',
4696
+ value: { title: 'Latvia', value: 'LV' },
4697
+ filterMatchers: ['Latvia', 'Euro', 'EUR', 'United States dollar', 'USD'],
4698
+ },
4699
+ {
4700
+ type: 'option',
4701
+ value: { title: 'Lebanon', value: 'LB' },
4702
+ filterMatchers: ['Lebanon', 'Lebanese pound', 'LBP', 'United States dollar', 'USD'],
4703
+ },
4704
+ {
4705
+ type: 'option',
4706
+ value: { title: 'Lesotho', value: 'LS' },
4707
+ filterMatchers: ['Lesotho', 'Lesotho loti', 'LSL', 'United States dollar', 'USD'],
4708
+ },
4709
+ {
4710
+ type: 'option',
4711
+ value: { title: 'Liberia', value: 'LR' },
4712
+ filterMatchers: ['Liberia', 'Liberian dollar', 'LRD', 'United States dollar', 'USD'],
4713
+ },
4714
+ {
4715
+ type: 'option',
4716
+ value: { title: 'Libya', value: 'LY' },
4717
+ filterMatchers: ['Libya', 'Libyan dinar', 'LYD', 'United States dollar', 'USD'],
4718
+ },
4719
+ {
4720
+ type: 'option',
4721
+ value: { title: 'Liechtenstein', value: 'LI' },
4722
+ filterMatchers: ['Liechtenstein', 'Swiss franc', 'CHF', 'United States dollar', 'USD'],
4723
+ },
4724
+ {
4725
+ type: 'option',
4726
+ value: { title: 'Lithuania', value: 'LT' },
4727
+ filterMatchers: ['Lithuania', 'Euro', 'EUR', 'United States dollar', 'USD'],
4728
+ },
4729
+ {
4730
+ type: 'option',
4731
+ value: { title: 'Luxembourg', value: 'LU' },
4732
+ filterMatchers: ['Luxembourg', 'Euro', 'EUR', 'United States dollar', 'USD'],
4733
+ },
4734
+ {
4735
+ type: 'option',
4736
+ value: { title: 'Madagascar', value: 'MG' },
4737
+ filterMatchers: ['Madagascar', 'Malagasy ariary', 'MGA', 'United States dollar', 'USD'],
4738
+ },
4739
+ {
4740
+ type: 'option',
4741
+ value: { title: 'Malawi', value: 'MW' },
4742
+ filterMatchers: ['Malawi', 'Malawian kwacha', 'MWK', 'United States dollar', 'USD'],
4743
+ },
4744
+ {
4745
+ type: 'option',
4746
+ value: { title: 'Malaysia', value: 'MY' },
4747
+ filterMatchers: ['Malaysia', 'Malaysian ringgit', 'MYR', 'United States dollar', 'USD'],
4748
+ },
4749
+ {
4750
+ type: 'option',
4751
+ value: { title: 'Maldives', value: 'MV' },
4752
+ filterMatchers: ['Maldives', 'Maldivian rufiyaa', 'MVR', 'United States dollar', 'USD'],
4753
+ },
4754
+ {
4755
+ type: 'option',
4756
+ value: { title: 'Mali', value: 'ML' },
4757
+ filterMatchers: [
4758
+ 'Mali',
4759
+ 'West African CFA franc',
4760
+ 'XOF',
4761
+ 'United States dollar',
4762
+ 'USD',
4763
+ ],
4764
+ },
4765
+ {
4766
+ type: 'option',
4767
+ value: { title: 'Malta', value: 'MT' },
4768
+ filterMatchers: ['Malta', 'Euro', 'EUR', 'United States dollar', 'USD'],
4769
+ },
4770
+ {
4771
+ type: 'option',
4772
+ value: { title: 'Marshall Islands', value: 'MH' },
4773
+ filterMatchers: ['Marshall Islands', 'United States dollar', 'USD'],
4774
+ },
4775
+ {
4776
+ type: 'option',
4777
+ value: { title: 'Mauritania', value: 'MR' },
4778
+ filterMatchers: [
4779
+ 'Mauritania',
4780
+ 'Mauritanian ouguiya',
4781
+ 'MRU',
4782
+ 'United States dollar',
4783
+ 'USD',
4784
+ ],
4785
+ },
4786
+ {
4787
+ type: 'option',
4788
+ value: { title: 'Mauritius', value: 'MU' },
4789
+ filterMatchers: ['Mauritius', 'Mauritian rupee', 'MUR', 'United States dollar', 'USD'],
4790
+ },
4791
+ {
4792
+ type: 'option',
4793
+ value: { title: 'Mexico', value: 'MX' },
4794
+ filterMatchers: ['Mexico', 'Mexican peso', 'MXN', 'United States dollar', 'USD'],
4795
+ },
4796
+ {
4797
+ type: 'option',
4798
+ value: { title: 'Micronesia', value: 'FM' },
4799
+ filterMatchers: ['Micronesia', 'United States dollar', 'USD'],
4800
+ },
4801
+ {
4802
+ type: 'option',
4803
+ value: { title: 'Moldova', value: 'MD' },
4804
+ filterMatchers: ['Moldova', 'Moldovan leu', 'MDL', 'United States dollar', 'USD'],
4805
+ },
4806
+ {
4807
+ type: 'option',
4808
+ value: { title: 'Monaco', value: 'MC' },
4809
+ filterMatchers: ['Monaco', 'Euro', 'EUR', 'United States dollar', 'USD'],
4810
+ },
4811
+ {
4812
+ type: 'option',
4813
+ value: { title: 'Mongolia', value: 'MN' },
4814
+ filterMatchers: ['Mongolia', 'Mongolian tögrög', 'MNT', 'United States dollar', 'USD'],
4815
+ },
4816
+ {
4817
+ type: 'option',
4818
+ value: { title: 'Montenegro', value: 'ME' },
4819
+ filterMatchers: ['Montenegro', 'Euro', 'EUR', 'United States dollar', 'USD'],
4820
+ },
4821
+ {
4822
+ type: 'option',
4823
+ value: { title: 'Morocco', value: 'MA' },
4824
+ filterMatchers: ['Morocco', 'Moroccan dirham', 'MAD', 'United States dollar', 'USD'],
4825
+ },
4826
+ {
4827
+ type: 'option',
4828
+ value: { title: 'Mozambique', value: 'MZ' },
4829
+ filterMatchers: [
4830
+ 'Mozambique',
4831
+ 'Mozambican metical',
4832
+ 'MZN',
4833
+ 'United States dollar',
4834
+ 'USD',
4835
+ ],
4836
+ },
4837
+ {
4838
+ type: 'option',
4839
+ value: { title: 'Myanmar', value: 'MM' },
4840
+ filterMatchers: ['Myanmar', 'Burmese kyat', 'MMK', 'United States dollar', 'USD'],
4841
+ },
4842
+ {
4843
+ type: 'option',
4844
+ value: { title: 'Namibia', value: 'NA' },
4845
+ filterMatchers: ['Namibia', 'Namibian dollar', 'NAD', 'United States dollar', 'USD'],
4846
+ },
4847
+ {
4848
+ type: 'option',
4849
+ value: { title: 'Nauru', value: 'NR' },
4850
+ filterMatchers: ['Nauru', 'Australian dollar', 'AUD', 'United States dollar', 'USD'],
4851
+ },
4852
+ {
4853
+ type: 'option',
4854
+ value: { title: 'Nepal', value: 'NP' },
4855
+ filterMatchers: ['Nepal', 'Nepalese rupee', 'NPR', 'United States dollar', 'USD'],
4856
+ },
4857
+ {
4858
+ type: 'option',
4859
+ value: { title: 'Netherlands', value: 'NL' },
4860
+ filterMatchers: ['Netherlands', 'Euro', 'EUR', 'United States dollar', 'USD'],
4861
+ },
4862
+ {
4863
+ type: 'option',
4864
+ value: { title: 'New Zealand', value: 'NZ' },
4865
+ filterMatchers: [
4866
+ 'New Zealand',
4867
+ 'New Zealand dollar',
4868
+ 'NZD',
4869
+ 'United States dollar',
4870
+ 'USD',
4871
+ ],
4872
+ },
4873
+ {
4874
+ type: 'option',
4875
+ value: { title: 'Nicaragua', value: 'NI' },
4876
+ filterMatchers: [
4877
+ 'Nicaragua',
4878
+ 'Nicaraguan córdoba',
4879
+ 'NIO',
4880
+ 'United States dollar',
4881
+ 'USD',
4882
+ ],
4883
+ },
4884
+ {
4885
+ type: 'option',
4886
+ value: { title: 'Niger', value: 'NE' },
4887
+ filterMatchers: [
4888
+ 'Niger',
4889
+ 'West African CFA franc',
4890
+ 'XOF',
4891
+ 'United States dollar',
4892
+ 'USD',
4893
+ ],
4894
+ },
4895
+ {
4896
+ type: 'option',
4897
+ value: { title: 'Nigeria', value: 'NG' },
4898
+ filterMatchers: ['Nigeria', 'Nigerian naira', 'NGN', 'United States dollar', 'USD'],
4899
+ },
4900
+ {
4901
+ type: 'option',
4902
+ value: { title: 'North Macedonia', value: 'MK' },
4903
+ filterMatchers: [
4904
+ 'North Macedonia',
4905
+ 'Macedonian denar',
4906
+ 'MKD',
4907
+ 'United States dollar',
4908
+ 'USD',
4909
+ ],
4910
+ },
4911
+ {
4912
+ type: 'option',
4913
+ value: { title: 'Norway', value: 'NO' },
4914
+ filterMatchers: ['Norway', 'Norwegian krone', 'NOK', 'United States dollar', 'USD'],
4915
+ },
4916
+ {
4917
+ type: 'option',
4918
+ value: { title: 'Oman', value: 'OM' },
4919
+ filterMatchers: ['Oman', 'Omani rial', 'OMR', 'United States dollar', 'USD'],
4920
+ },
4921
+ {
4922
+ type: 'option',
4923
+ value: { title: 'Pakistan', value: 'PK' },
4924
+ filterMatchers: ['Pakistan', 'Pakistani rupee', 'PKR', 'United States dollar', 'USD'],
4925
+ },
4926
+ {
4927
+ type: 'option',
4928
+ value: { title: 'Palau', value: 'PW' },
4929
+ filterMatchers: ['Palau', 'United States dollar', 'USD'],
4930
+ },
4931
+ {
4932
+ type: 'option',
4933
+ value: { title: 'Panama', value: 'PA' },
4934
+ filterMatchers: ['Panama', 'Panamanian balboa', 'PAB', 'United States dollar', 'USD'],
4935
+ },
4936
+ {
4937
+ type: 'option',
4938
+ value: { title: 'Papua New Guinea', value: 'PG' },
4939
+ filterMatchers: [
4940
+ 'Papua New Guinea',
4941
+ 'Papua New Guinean kina',
4942
+ 'PGK',
4943
+ 'United States dollar',
4944
+ 'USD',
4945
+ ],
4946
+ },
4947
+ {
4948
+ type: 'option',
4949
+ value: { title: 'Paraguay', value: 'PY' },
4950
+ filterMatchers: [
4951
+ 'Paraguay',
4952
+ 'Paraguayan guaraní',
4953
+ 'PYG',
4954
+ 'United States dollar',
4955
+ 'USD',
4956
+ ],
4957
+ },
4958
+ {
4959
+ type: 'option',
4960
+ value: { title: 'Peru', value: 'PE' },
4961
+ filterMatchers: ['Peru', 'Peruvian sol', 'PEN', 'United States dollar', 'USD'],
4962
+ },
4963
+ {
4964
+ type: 'option',
4965
+ value: { title: 'Philippines', value: 'PH' },
4966
+ filterMatchers: [
4967
+ 'Philippines',
4968
+ 'Philippine peso',
4969
+ 'PHP',
4970
+ 'United States dollar',
4971
+ 'USD',
4972
+ ],
4973
+ },
4974
+ {
4975
+ type: 'option',
4976
+ value: { title: 'Poland', value: 'PL' },
4977
+ filterMatchers: ['Poland', 'Polish złoty', 'PLN', 'United States dollar', 'USD'],
4978
+ },
4979
+ {
4980
+ type: 'option',
4981
+ value: { title: 'Portugal', value: 'PT' },
4982
+ filterMatchers: ['Portugal', 'Euro', 'EUR', 'United States dollar', 'USD'],
4983
+ },
4984
+ {
4985
+ type: 'option',
4986
+ value: { title: 'Qatar', value: 'QA' },
4987
+ filterMatchers: ['Qatar', 'Qatari riyal', 'QAR', 'United States dollar', 'USD'],
4988
+ },
4989
+ {
4990
+ type: 'option',
4991
+ value: { title: 'Romania', value: 'RO' },
4992
+ filterMatchers: ['Romania', 'Romanian leu', 'RON', 'United States dollar', 'USD'],
4993
+ },
4994
+ {
4995
+ type: 'option',
4996
+ value: { title: 'Russia', value: 'RU' },
4997
+ filterMatchers: ['Russia', 'Russian ruble', 'RUB', 'United States dollar', 'USD'],
4998
+ },
4999
+ {
5000
+ type: 'option',
5001
+ value: { title: 'Rwanda', value: 'RW' },
5002
+ filterMatchers: ['Rwanda', 'Rwandan franc', 'RWF', 'United States dollar', 'USD'],
5003
+ },
5004
+ {
5005
+ type: 'option',
5006
+ value: { title: 'Saint Lucia', value: 'LC' },
5007
+ filterMatchers: [
5008
+ 'Saint Lucia',
5009
+ 'East Caribbean dollar',
5010
+ 'XCD',
5011
+ 'United States dollar',
5012
+ 'USD',
5013
+ ],
5014
+ },
5015
+ {
5016
+ type: 'option',
5017
+ value: { title: 'Samoa', value: 'WS' },
5018
+ filterMatchers: ['Samoa', 'Samoan tālā', 'WST', 'United States dollar', 'USD'],
5019
+ },
5020
+ {
5021
+ type: 'option',
5022
+ value: { title: 'San Marino', value: 'SM' },
5023
+ filterMatchers: ['San Marino', 'Euro', 'EUR', 'United States dollar', 'USD'],
5024
+ },
5025
+ {
5026
+ type: 'option',
5027
+ value: { title: 'Saudi Arabia', value: 'SA' },
5028
+ filterMatchers: ['Saudi Arabia', 'Saudi riyal', 'SAR', 'United States dollar', 'USD'],
5029
+ },
5030
+ {
5031
+ type: 'option',
5032
+ value: { title: 'Senegal', value: 'SN' },
5033
+ filterMatchers: [
5034
+ 'Senegal',
5035
+ 'West African CFA franc',
5036
+ 'XOF',
5037
+ 'United States dollar',
5038
+ 'USD',
5039
+ ],
5040
+ },
5041
+ {
5042
+ type: 'option',
5043
+ value: { title: 'Serbia', value: 'RS' },
5044
+ filterMatchers: ['Serbia', 'Serbian dinar', 'RSD', 'United States dollar', 'USD'],
5045
+ },
5046
+ {
5047
+ type: 'option',
5048
+ value: { title: 'Seychelles', value: 'SC' },
5049
+ filterMatchers: [
5050
+ 'Seychelles',
5051
+ 'Seychellois rupee',
5052
+ 'SCR',
5053
+ 'United States dollar',
5054
+ 'USD',
5055
+ ],
5056
+ },
5057
+ {
5058
+ type: 'option',
5059
+ value: { title: 'Sierra Leone', value: 'SL' },
5060
+ filterMatchers: [
5061
+ 'Sierra Leone',
5062
+ 'Sierra Leonean leone',
5063
+ 'SLL',
5064
+ 'United States dollar',
5065
+ 'USD',
5066
+ ],
5067
+ },
5068
+ {
5069
+ type: 'option',
5070
+ value: { title: 'Singapore', value: 'SG' },
5071
+ filterMatchers: ['Singapore', 'Singapore dollar', 'SGD', 'United States dollar', 'USD'],
5072
+ },
5073
+ {
5074
+ type: 'option',
5075
+ value: { title: 'Slovakia', value: 'SK' },
5076
+ filterMatchers: ['Slovakia', 'Euro', 'EUR', 'United States dollar', 'USD'],
5077
+ },
5078
+ {
5079
+ type: 'option',
5080
+ value: { title: 'Slovenia', value: 'SI' },
5081
+ filterMatchers: ['Slovenia', 'Euro', 'EUR', 'United States dollar', 'USD'],
5082
+ },
5083
+ {
5084
+ type: 'option',
5085
+ value: { title: 'Solomon Islands', value: 'SB' },
5086
+ filterMatchers: [
5087
+ 'Solomon Islands',
5088
+ 'Solomon Islands dollar',
5089
+ 'SBD',
5090
+ 'United States dollar',
5091
+ 'USD',
5092
+ ],
5093
+ },
5094
+ {
5095
+ type: 'option',
5096
+ value: { title: 'Somalia', value: 'SO' },
5097
+ filterMatchers: ['Somalia', 'Somali shilling', 'SOS', 'United States dollar', 'USD'],
5098
+ },
5099
+ {
5100
+ type: 'option',
5101
+ value: { title: 'South Africa', value: 'ZA' },
5102
+ filterMatchers: [
5103
+ 'South Africa',
5104
+ 'South African rand',
5105
+ 'ZAR',
5106
+ 'United States dollar',
5107
+ 'USD',
5108
+ ],
5109
+ },
5110
+ {
5111
+ type: 'option',
5112
+ value: { title: 'South Korea', value: 'KR' },
5113
+ filterMatchers: ['South Korea', 'Korean won', 'KRW', 'United States dollar', 'USD'],
5114
+ },
5115
+ {
5116
+ type: 'option',
5117
+ value: { title: 'South Sudan', value: 'SS' },
5118
+ filterMatchers: [
5119
+ 'South Sudan',
5120
+ 'South Sudanese pound',
5121
+ 'SSP',
5122
+ 'United States dollar',
5123
+ 'USD',
5124
+ ],
5125
+ },
5126
+ {
5127
+ type: 'option',
5128
+ value: { title: 'Spain', value: 'ES' },
5129
+ filterMatchers: ['Spain', 'Euro', 'EUR', 'United States dollar', 'USD'],
5130
+ },
5131
+ {
5132
+ type: 'option',
5133
+ value: { title: 'Sri Lanka', value: 'LK' },
5134
+ filterMatchers: ['Sri Lanka', 'Sri Lankan rupee', 'LKR', 'United States dollar', 'USD'],
5135
+ },
5136
+ {
5137
+ type: 'option',
5138
+ value: { title: 'Sudan', value: 'SD' },
5139
+ filterMatchers: ['Sudan', 'Sudanese pound', 'SDG', 'United States dollar', 'USD'],
5140
+ },
5141
+ {
5142
+ type: 'option',
5143
+ value: { title: 'Suriname', value: 'SR' },
5144
+ filterMatchers: ['Suriname', 'Surinamese dollar', 'SRD', 'United States dollar', 'USD'],
5145
+ },
5146
+ {
5147
+ type: 'option',
5148
+ value: { title: 'Sweden', value: 'SE' },
5149
+ filterMatchers: ['Sweden', 'Swedish krona', 'SEK', 'United States dollar', 'USD'],
5150
+ },
5151
+ {
5152
+ type: 'option',
5153
+ value: { title: 'Switzerland', value: 'CH' },
5154
+ filterMatchers: ['Switzerland', 'Swiss franc', 'CHF', 'United States dollar', 'USD'],
5155
+ },
5156
+ {
5157
+ type: 'option',
5158
+ value: { title: 'Syria', value: 'SY' },
5159
+ filterMatchers: ['Syria', 'Syrian pound', 'SYP', 'United States dollar', 'USD'],
5160
+ },
5161
+ {
5162
+ type: 'option',
5163
+ value: { title: 'Taiwan', value: 'TW' },
5164
+ filterMatchers: ['Taiwan', 'New Taiwan dollar', 'TWD', 'United States dollar', 'USD'],
5165
+ },
5166
+ {
5167
+ type: 'option',
5168
+ value: { title: 'Tajikistan', value: 'TJ' },
5169
+ filterMatchers: [
5170
+ 'Tajikistan',
5171
+ 'Tajikistani somoni',
5172
+ 'TJS',
5173
+ 'United States dollar',
5174
+ 'USD',
5175
+ ],
5176
+ },
5177
+ {
5178
+ type: 'option',
5179
+ value: { title: 'Tanzania', value: 'TZ' },
5180
+ filterMatchers: [
5181
+ 'Tanzania',
5182
+ 'Tanzanian shilling',
5183
+ 'TZS',
5184
+ 'United States dollar',
5185
+ 'USD',
5186
+ ],
5187
+ },
5188
+ {
5189
+ type: 'option',
5190
+ value: { title: 'Thailand', value: 'TH' },
5191
+ filterMatchers: ['Thailand', 'Thai baht', 'THB', 'United States dollar', 'USD'],
5192
+ },
5193
+ {
5194
+ type: 'option',
5195
+ value: { title: 'Timor-Leste', value: 'TL' },
5196
+ filterMatchers: ['Timor-Leste', 'United States dollar', 'USD'],
5197
+ },
5198
+ {
5199
+ type: 'option',
5200
+ value: { title: 'Togo', value: 'TG' },
5201
+ filterMatchers: [
5202
+ 'Togo',
5203
+ 'West African CFA franc',
5204
+ 'XOF',
5205
+ 'United States dollar',
5206
+ 'USD',
5207
+ ],
5208
+ },
5209
+ {
5210
+ type: 'option',
5211
+ value: { title: 'Tonga', value: 'TO' },
5212
+ filterMatchers: ['Tonga', 'Tongan paʻanga', 'TOP', 'United States dollar', 'USD'],
5213
+ },
5214
+ {
5215
+ type: 'option',
5216
+ value: { title: 'Trinidad and Tobago', value: 'TT' },
5217
+ filterMatchers: [
5218
+ 'Trinidad and Tobago',
5219
+ 'Trinidad and Tobago dollar',
5220
+ 'TTD',
5221
+ 'United States dollar',
5222
+ 'USD',
5223
+ ],
5224
+ },
5225
+ {
5226
+ type: 'option',
5227
+ value: { title: 'Tunisia', value: 'TN' },
5228
+ filterMatchers: ['Tunisia', 'Tunisian dinar', 'TND', 'United States dollar', 'USD'],
5229
+ },
5230
+ {
5231
+ type: 'option',
5232
+ value: { title: 'Turkey', value: 'TR' },
5233
+ filterMatchers: ['Turkey', 'Turkish lira', 'TRY', 'United States dollar', 'USD'],
5234
+ },
5235
+ {
5236
+ type: 'option',
5237
+ value: { title: 'Turkmenistan', value: 'TM' },
5238
+ filterMatchers: [
5239
+ 'Turkmenistan',
5240
+ 'Turkmenistan manat',
5241
+ 'TMT',
5242
+ 'United States dollar',
5243
+ 'USD',
5244
+ ],
5245
+ },
5246
+ {
5247
+ type: 'option',
5248
+ value: { title: 'Tuvalu', value: 'TV' },
5249
+ filterMatchers: ['Tuvalu', 'Australian dollar', 'AUD', 'United States dollar', 'USD'],
5250
+ },
5251
+ {
5252
+ type: 'option',
5253
+ value: { title: 'Uganda', value: 'UG' },
5254
+ filterMatchers: ['Uganda', 'Ugandan shilling', 'UGX', 'United States dollar', 'USD'],
5255
+ },
5256
+ {
5257
+ type: 'option',
5258
+ value: { title: 'Ukraine', value: 'UA' },
5259
+ filterMatchers: ['Ukraine', 'Ukrainian hryvnia', 'UAH', 'United States dollar', 'USD'],
5260
+ },
5261
+ {
5262
+ type: 'option',
5263
+ value: { title: 'United Arab Emirates', value: 'AE' },
5264
+ filterMatchers: [
5265
+ 'United Arab Emirates',
5266
+ 'UAE',
5267
+ 'UAE dirham',
5268
+ 'AED',
5269
+ 'United States dollar',
5270
+ 'USD',
5271
+ ],
5272
+ },
5273
+ {
5274
+ type: 'option',
5275
+ value: { title: 'Uruguay', value: 'UY' },
5276
+ filterMatchers: ['Uruguay', 'Uruguayan peso', 'UYU', 'United States dollar', 'USD'],
5277
+ },
5278
+ {
5279
+ type: 'option',
5280
+ value: { title: 'Uzbekistan', value: 'UZ' },
5281
+ filterMatchers: [
5282
+ 'Uzbekistan',
5283
+ 'Uzbekistani soʻm',
5284
+ 'UZS',
5285
+ 'United States dollar',
5286
+ 'USD',
5287
+ ],
5288
+ },
5289
+ {
5290
+ type: 'option',
5291
+ value: { title: 'Vanuatu', value: 'VU' },
5292
+ filterMatchers: ['Vanuatu', 'Vanuatu vatu', 'VUV', 'United States dollar', 'USD'],
5293
+ },
5294
+ {
5295
+ type: 'option',
5296
+ value: { title: 'Vatican City', value: 'VA' },
5297
+ filterMatchers: ['Vatican City', 'Euro', 'EUR', 'United States dollar', 'USD'],
5298
+ },
5299
+ {
5300
+ type: 'option',
5301
+ value: { title: 'Venezuela', value: 'VE' },
5302
+ filterMatchers: [
5303
+ 'Venezuela',
5304
+ 'Venezuelan bolívar',
5305
+ 'VES',
5306
+ 'United States dollar',
5307
+ 'USD',
5308
+ ],
5309
+ },
5310
+ {
5311
+ type: 'option',
5312
+ value: { title: 'Vietnam', value: 'VN' },
5313
+ filterMatchers: ['Vietnam', 'Vietnamese đồng', 'VND', 'United States dollar', 'USD'],
5314
+ },
5315
+ {
5316
+ type: 'option',
5317
+ value: { title: 'Yemen', value: 'YE' },
5318
+ filterMatchers: ['Yemen', 'Yemeni rial', 'YER', 'United States dollar', 'USD'],
5319
+ },
5320
+ {
5321
+ type: 'option',
5322
+ value: { title: 'Zambia', value: 'ZM' },
5323
+ filterMatchers: ['Zambia', 'Zambian kwacha', 'ZMW', 'United States dollar', 'USD'],
5324
+ },
5325
+ {
5326
+ type: 'option',
5327
+ value: { title: 'Zimbabwe', value: 'ZW' },
5328
+ filterMatchers: ['Zimbabwe', 'Zimbabwean dollar', 'ZWL', 'United States dollar', 'USD'],
5329
+ },
5330
+ ],
5331
+ },
5332
+ ],
5333
+ placeholder: 'Select a country',
650
5334
  filterable: true,
651
- filterPlaceholder: 'Type a currency / country',
5335
+ filterPlaceholder: 'Search countries...',
652
5336
  sortFilteredOptions: (a, b, searchQuery) => {
653
5337
  const normalizedQuery = searchQuery.toLowerCase();
654
- const nameA = a.value.name.toLowerCase();
655
- const nameB = b.value.name.toLowerCase();
5338
+ const nameA = a.value.title.toLowerCase();
5339
+ const nameB = b.value.title.toLowerCase();
656
5340
 
657
- // Prioritize countries where name contains the search query
5341
+ // Prioritize exact matches
5342
+ const aExactMatch = nameA === normalizedQuery;
5343
+ const bExactMatch = nameB === normalizedQuery;
5344
+
5345
+ if (aExactMatch && !bExactMatch) return -1;
5346
+ if (!aExactMatch && bExactMatch) return 1;
5347
+
5348
+ // Then prioritize countries where name starts with the search query
5349
+ const aStartsWith = nameA.startsWith(normalizedQuery);
5350
+ const bStartsWith = nameB.startsWith(normalizedQuery);
5351
+
5352
+ if (aStartsWith && !bStartsWith) return -1;
5353
+ if (!aStartsWith && bStartsWith) return 1;
5354
+
5355
+ // Then prioritize countries where name contains the search query
658
5356
  const aNameMatch = nameA.includes(normalizedQuery);
659
5357
  const bNameMatch = nameB.includes(normalizedQuery);
660
5358
 
661
5359
  if (aNameMatch && !bNameMatch) return -1;
662
5360
  if (!aNameMatch && bNameMatch) return 1;
663
5361
 
664
- // Then sort alphabetically
5362
+ // Finally sort alphabetically
665
5363
  return nameA.localeCompare(nameB);
666
5364
  },
667
5365
  size: 'lg',
668
- } satisfies Story<CountryWithCurrency>['args'],
5366
+ renderValue: (value) => value.title,
5367
+ compareValues: (a, b) => a?.value === b?.value,
5368
+ } satisfies Story<{ title: string; value: string }>['args'],
669
5369
  decorators: [
670
5370
  (Story) => (
671
5371
  <div>
672
5372
  <p className="m-b-3 np-text-body-default" style={{ maxWidth: '600px' }}>
673
- This example demonstrates custom sorting with the <code>sortFilteredOptions</code> prop.
5373
+ <strong>Virtualized Country List Test</strong>
674
5374
  <br />
675
5375
  <br />
676
- Try searching for &quot;united&quot; - Without the custom sorter, it would just be the
677
- provided options order.
5376
+ This story tests the virtualization bug fix with a large list of countries (~150+). Almost
5377
+ all countries have &quot;United States dollar&quot; in their metadata.
678
5378
  <br />
679
- With a customer sorter function in this story, the countries with &quot;United&quot; in
680
- their name appear first, followed by countries that only match via keywords.
5379
+ <br />
5380
+ <strong>Test steps:</strong>
5381
+ <ol className="m-l-3">
5382
+ <li>Open the dropdown</li>
5383
+ <li>Search for &quot;united&quot;</li>
5384
+ <li>
5385
+ <strong>Expected:</strong> List should stay at the top showing United States, United
5386
+ Kingdom, United Arab Emirates first
5387
+ </li>
5388
+ <li>
5389
+ <strong>Bug (if present):</strong> List would scroll to the bottom automatically
5390
+ </li>
5391
+ </ol>
5392
+ <br />
5393
+ Note: Kazakhstan is the only country without USD in metadata - searching for it should
5394
+ show it&apos;s properly filtered out when searching &quot;united&quot;.
681
5395
  </p>
682
5396
  <Story />
683
5397
  </div>