@dpuse/dpuse-shared 1.0.180 → 1.0.181
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -103
- package/dist/dpuse-shared.es.js +477 -93
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/encoding/index.d.ts +474 -88
- package/package.json +2 -1
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -661,6 +661,13 @@ var he = T([
|
|
|
661
661
|
es: "Árabe"
|
|
662
662
|
}
|
|
663
663
|
},
|
|
664
|
+
armenian: {
|
|
665
|
+
id: "armenian",
|
|
666
|
+
label: {
|
|
667
|
+
en: "Armenian",
|
|
668
|
+
es: "Armenio"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
664
671
|
baltic: {
|
|
665
672
|
id: "baltic",
|
|
666
673
|
label: {
|
|
@@ -703,6 +710,13 @@ var he = T([
|
|
|
703
710
|
es: "Cirílico"
|
|
704
711
|
}
|
|
705
712
|
},
|
|
713
|
+
georgian: {
|
|
714
|
+
id: "georgian",
|
|
715
|
+
label: {
|
|
716
|
+
en: "Georgian",
|
|
717
|
+
es: "Georgiano"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
706
720
|
greek: {
|
|
707
721
|
id: "greek",
|
|
708
722
|
label: {
|
|
@@ -731,6 +745,13 @@ var he = T([
|
|
|
731
745
|
es: "Coreano"
|
|
732
746
|
}
|
|
733
747
|
},
|
|
748
|
+
lao: {
|
|
749
|
+
id: "lao",
|
|
750
|
+
label: {
|
|
751
|
+
en: "Lao",
|
|
752
|
+
es: "Lao"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
734
755
|
nordic: {
|
|
735
756
|
id: "nordic",
|
|
736
757
|
label: {
|
|
@@ -788,452 +809,815 @@ var he = T([
|
|
|
788
809
|
}
|
|
789
810
|
}
|
|
790
811
|
}, we = {
|
|
812
|
+
"armscii-8": {
|
|
813
|
+
id: "armscii-8",
|
|
814
|
+
groupId: "armenian",
|
|
815
|
+
isDetectable: !1,
|
|
816
|
+
textDecoderId: null,
|
|
817
|
+
iconvLiteDecoderId: "armscii8"
|
|
818
|
+
},
|
|
791
819
|
ascii: {
|
|
792
820
|
id: "ascii",
|
|
793
821
|
groupId: null,
|
|
794
|
-
|
|
822
|
+
isDetectable: !0,
|
|
823
|
+
textDecoderId: "windows-1252",
|
|
824
|
+
iconvLiteDecoderId: "ascii"
|
|
795
825
|
},
|
|
796
826
|
big5: {
|
|
797
827
|
id: "big5",
|
|
798
828
|
groupId: "chineseTraditional",
|
|
799
|
-
|
|
829
|
+
isDetectable: !0,
|
|
830
|
+
textDecoderId: "big5",
|
|
831
|
+
iconvLiteDecoderId: "big5hkscs"
|
|
832
|
+
},
|
|
833
|
+
"cesu-8": {
|
|
834
|
+
id: "cesu-8",
|
|
835
|
+
groupId: "unicode",
|
|
836
|
+
isDetectable: !1,
|
|
837
|
+
textDecoderId: null,
|
|
838
|
+
iconvLiteDecoderId: "cesu8"
|
|
800
839
|
},
|
|
801
840
|
cp273: {
|
|
802
841
|
id: "cp273",
|
|
803
842
|
groupId: "western",
|
|
804
|
-
|
|
843
|
+
isDetectable: !0,
|
|
844
|
+
textDecoderId: null,
|
|
845
|
+
iconvLiteDecoderId: null
|
|
805
846
|
},
|
|
806
847
|
cp424: {
|
|
807
848
|
id: "cp424",
|
|
808
849
|
groupId: "hebrew",
|
|
809
|
-
|
|
850
|
+
isDetectable: !0,
|
|
851
|
+
textDecoderId: null,
|
|
852
|
+
iconvLiteDecoderId: null
|
|
810
853
|
},
|
|
811
854
|
cp437: {
|
|
812
855
|
id: "cp437",
|
|
813
856
|
groupId: "western",
|
|
814
|
-
|
|
857
|
+
isDetectable: !0,
|
|
858
|
+
textDecoderId: null,
|
|
859
|
+
iconvLiteDecoderId: "cp437"
|
|
815
860
|
},
|
|
816
861
|
cp500: {
|
|
817
862
|
id: "cp500",
|
|
818
863
|
groupId: "western",
|
|
819
|
-
|
|
864
|
+
isDetectable: !0,
|
|
865
|
+
textDecoderId: null,
|
|
866
|
+
iconvLiteDecoderId: null
|
|
820
867
|
},
|
|
821
868
|
cp720: {
|
|
822
869
|
id: "cp720",
|
|
823
870
|
groupId: "arabic",
|
|
824
|
-
|
|
871
|
+
isDetectable: !0,
|
|
872
|
+
textDecoderId: null,
|
|
873
|
+
iconvLiteDecoderId: "cp720"
|
|
825
874
|
},
|
|
826
875
|
cp737: {
|
|
827
876
|
id: "cp737",
|
|
828
877
|
groupId: "greek",
|
|
829
|
-
|
|
878
|
+
isDetectable: !0,
|
|
879
|
+
textDecoderId: null,
|
|
880
|
+
iconvLiteDecoderId: "cp737"
|
|
830
881
|
},
|
|
831
882
|
cp775: {
|
|
832
883
|
id: "cp775",
|
|
833
884
|
groupId: "baltic",
|
|
834
|
-
|
|
885
|
+
isDetectable: !0,
|
|
886
|
+
textDecoderId: null,
|
|
887
|
+
iconvLiteDecoderId: "cp775"
|
|
888
|
+
},
|
|
889
|
+
cp808: {
|
|
890
|
+
id: "cp808",
|
|
891
|
+
groupId: "cyrillic",
|
|
892
|
+
isDetectable: !1,
|
|
893
|
+
textDecoderId: null,
|
|
894
|
+
iconvLiteDecoderId: "cp808"
|
|
835
895
|
},
|
|
836
896
|
cp850: {
|
|
837
897
|
id: "cp850",
|
|
838
898
|
groupId: "western",
|
|
839
|
-
|
|
899
|
+
isDetectable: !0,
|
|
900
|
+
textDecoderId: null,
|
|
901
|
+
iconvLiteDecoderId: "cp850"
|
|
840
902
|
},
|
|
841
903
|
cp852: {
|
|
842
904
|
id: "cp852",
|
|
843
905
|
groupId: "centralEuropean",
|
|
844
|
-
|
|
906
|
+
isDetectable: !0,
|
|
907
|
+
textDecoderId: null,
|
|
908
|
+
iconvLiteDecoderId: "cp852"
|
|
845
909
|
},
|
|
846
910
|
cp856: {
|
|
847
911
|
id: "cp856",
|
|
848
912
|
groupId: "hebrew",
|
|
849
|
-
|
|
913
|
+
isDetectable: !0,
|
|
914
|
+
textDecoderId: null,
|
|
915
|
+
iconvLiteDecoderId: "cp856"
|
|
850
916
|
},
|
|
851
917
|
cp857: {
|
|
852
918
|
id: "cp857",
|
|
853
919
|
groupId: "turkish",
|
|
854
|
-
|
|
920
|
+
isDetectable: !0,
|
|
921
|
+
textDecoderId: null,
|
|
922
|
+
iconvLiteDecoderId: "cp857"
|
|
855
923
|
},
|
|
856
924
|
cp858: {
|
|
857
925
|
id: "cp858",
|
|
858
926
|
groupId: "western",
|
|
859
|
-
|
|
927
|
+
isDetectable: !0,
|
|
928
|
+
textDecoderId: null,
|
|
929
|
+
iconvLiteDecoderId: "cp858"
|
|
860
930
|
},
|
|
861
931
|
cp860: {
|
|
862
932
|
id: "cp860",
|
|
863
933
|
groupId: "western",
|
|
864
|
-
|
|
934
|
+
isDetectable: !0,
|
|
935
|
+
textDecoderId: null,
|
|
936
|
+
iconvLiteDecoderId: "cp860"
|
|
865
937
|
},
|
|
866
938
|
cp861: {
|
|
867
939
|
id: "cp861",
|
|
868
940
|
groupId: "nordic",
|
|
869
|
-
|
|
941
|
+
isDetectable: !0,
|
|
942
|
+
textDecoderId: null,
|
|
943
|
+
iconvLiteDecoderId: "cp861"
|
|
870
944
|
},
|
|
871
945
|
cp862: {
|
|
872
946
|
id: "cp862",
|
|
873
947
|
groupId: "hebrew",
|
|
874
|
-
|
|
948
|
+
isDetectable: !0,
|
|
949
|
+
textDecoderId: null,
|
|
950
|
+
iconvLiteDecoderId: "cp862"
|
|
875
951
|
},
|
|
876
952
|
cp863: {
|
|
877
953
|
id: "cp863",
|
|
878
954
|
groupId: "western",
|
|
879
|
-
|
|
955
|
+
isDetectable: !0,
|
|
956
|
+
textDecoderId: null,
|
|
957
|
+
iconvLiteDecoderId: "cp863"
|
|
880
958
|
},
|
|
881
959
|
cp864: {
|
|
882
960
|
id: "cp864",
|
|
883
961
|
groupId: "arabic",
|
|
884
|
-
|
|
962
|
+
isDetectable: !0,
|
|
963
|
+
textDecoderId: null,
|
|
964
|
+
iconvLiteDecoderId: "cp864"
|
|
885
965
|
},
|
|
886
966
|
cp865: {
|
|
887
967
|
id: "cp865",
|
|
888
968
|
groupId: "nordic",
|
|
889
|
-
|
|
969
|
+
isDetectable: !0,
|
|
970
|
+
textDecoderId: null,
|
|
971
|
+
iconvLiteDecoderId: "cp865"
|
|
890
972
|
},
|
|
891
973
|
cp869: {
|
|
892
974
|
id: "cp869",
|
|
893
975
|
groupId: "greek",
|
|
894
|
-
|
|
976
|
+
isDetectable: !0,
|
|
977
|
+
textDecoderId: null,
|
|
978
|
+
iconvLiteDecoderId: "cp869"
|
|
895
979
|
},
|
|
896
980
|
cp874: {
|
|
897
981
|
id: "cp874",
|
|
898
982
|
groupId: "thai",
|
|
899
|
-
|
|
983
|
+
isDetectable: !0,
|
|
984
|
+
textDecoderId: "windows-874",
|
|
985
|
+
iconvLiteDecoderId: "windows874"
|
|
900
986
|
},
|
|
901
987
|
cp875: {
|
|
902
988
|
id: "cp875",
|
|
903
989
|
groupId: "greek",
|
|
904
|
-
|
|
990
|
+
isDetectable: !0,
|
|
991
|
+
textDecoderId: null,
|
|
992
|
+
iconvLiteDecoderId: null
|
|
993
|
+
},
|
|
994
|
+
cp922: {
|
|
995
|
+
id: "cp922",
|
|
996
|
+
groupId: "baltic",
|
|
997
|
+
isDetectable: !1,
|
|
998
|
+
textDecoderId: null,
|
|
999
|
+
iconvLiteDecoderId: "cp922"
|
|
905
1000
|
},
|
|
906
1001
|
cp932: {
|
|
907
1002
|
id: "cp932",
|
|
908
1003
|
groupId: "japanese",
|
|
909
|
-
|
|
1004
|
+
isDetectable: !0,
|
|
1005
|
+
textDecoderId: "shift_jis",
|
|
1006
|
+
iconvLiteDecoderId: "shiftjis"
|
|
1007
|
+
},
|
|
1008
|
+
cp936: {
|
|
1009
|
+
id: "cp936",
|
|
1010
|
+
groupId: "chineseSimplified",
|
|
1011
|
+
isDetectable: !1,
|
|
1012
|
+
textDecoderId: null,
|
|
1013
|
+
iconvLiteDecoderId: "cp936"
|
|
910
1014
|
},
|
|
911
1015
|
cp949: {
|
|
912
1016
|
id: "cp949",
|
|
913
1017
|
groupId: "korean",
|
|
914
|
-
|
|
1018
|
+
isDetectable: !0,
|
|
1019
|
+
textDecoderId: "euc-kr",
|
|
1020
|
+
iconvLiteDecoderId: "cp949"
|
|
1021
|
+
},
|
|
1022
|
+
cp950: {
|
|
1023
|
+
id: "cp950",
|
|
1024
|
+
groupId: "chineseTraditional",
|
|
1025
|
+
isDetectable: !1,
|
|
1026
|
+
textDecoderId: null,
|
|
1027
|
+
iconvLiteDecoderId: "cp950"
|
|
915
1028
|
},
|
|
916
1029
|
cp1006: {
|
|
917
1030
|
id: "cp1006",
|
|
918
1031
|
groupId: "arabic",
|
|
919
|
-
|
|
1032
|
+
isDetectable: !0,
|
|
1033
|
+
textDecoderId: null,
|
|
1034
|
+
iconvLiteDecoderId: null
|
|
920
1035
|
},
|
|
921
1036
|
cp1026: {
|
|
922
1037
|
id: "cp1026",
|
|
923
1038
|
groupId: "turkish",
|
|
924
|
-
|
|
1039
|
+
isDetectable: !0,
|
|
1040
|
+
textDecoderId: null,
|
|
1041
|
+
iconvLiteDecoderId: null
|
|
1042
|
+
},
|
|
1043
|
+
cp1046: {
|
|
1044
|
+
id: "cp1046",
|
|
1045
|
+
groupId: "arabic",
|
|
1046
|
+
isDetectable: !1,
|
|
1047
|
+
textDecoderId: null,
|
|
1048
|
+
iconvLiteDecoderId: "cp1046"
|
|
1049
|
+
},
|
|
1050
|
+
cp1124: {
|
|
1051
|
+
id: "cp1124",
|
|
1052
|
+
groupId: "cyrillic",
|
|
1053
|
+
isDetectable: !1,
|
|
1054
|
+
textDecoderId: null,
|
|
1055
|
+
iconvLiteDecoderId: "cp1124"
|
|
925
1056
|
},
|
|
926
1057
|
cp1125: {
|
|
927
1058
|
id: "cp1125",
|
|
928
1059
|
groupId: "cyrillic",
|
|
929
|
-
|
|
1060
|
+
isDetectable: !0,
|
|
1061
|
+
textDecoderId: null,
|
|
1062
|
+
iconvLiteDecoderId: "cp1125"
|
|
1063
|
+
},
|
|
1064
|
+
cp1129: {
|
|
1065
|
+
id: "cp1129",
|
|
1066
|
+
groupId: "vietnamese",
|
|
1067
|
+
isDetectable: !1,
|
|
1068
|
+
textDecoderId: null,
|
|
1069
|
+
iconvLiteDecoderId: "cp1129"
|
|
1070
|
+
},
|
|
1071
|
+
cp1133: {
|
|
1072
|
+
id: "cp1133",
|
|
1073
|
+
groupId: "lao",
|
|
1074
|
+
isDetectable: !1,
|
|
1075
|
+
textDecoderId: null,
|
|
1076
|
+
iconvLiteDecoderId: "cp1133"
|
|
930
1077
|
},
|
|
931
1078
|
cp1140: {
|
|
932
1079
|
id: "cp1140",
|
|
933
1080
|
groupId: "western",
|
|
934
|
-
|
|
1081
|
+
isDetectable: !0,
|
|
1082
|
+
textDecoderId: null,
|
|
1083
|
+
iconvLiteDecoderId: null
|
|
1084
|
+
},
|
|
1085
|
+
cp1161: {
|
|
1086
|
+
id: "cp1161",
|
|
1087
|
+
groupId: "thai",
|
|
1088
|
+
isDetectable: !1,
|
|
1089
|
+
textDecoderId: null,
|
|
1090
|
+
iconvLiteDecoderId: "cp1161"
|
|
1091
|
+
},
|
|
1092
|
+
cp1162: {
|
|
1093
|
+
id: "cp1162",
|
|
1094
|
+
groupId: "thai",
|
|
1095
|
+
isDetectable: !1,
|
|
1096
|
+
textDecoderId: null,
|
|
1097
|
+
iconvLiteDecoderId: "cp1162"
|
|
1098
|
+
},
|
|
1099
|
+
cp1163: {
|
|
1100
|
+
id: "cp1163",
|
|
1101
|
+
groupId: "vietnamese",
|
|
1102
|
+
isDetectable: !1,
|
|
1103
|
+
textDecoderId: null,
|
|
1104
|
+
iconvLiteDecoderId: "cp1163"
|
|
935
1105
|
},
|
|
936
1106
|
cp1258: {
|
|
937
1107
|
id: "cp1258",
|
|
938
1108
|
groupId: "vietnamese",
|
|
939
|
-
|
|
1109
|
+
isDetectable: !0,
|
|
1110
|
+
textDecoderId: "windows-1258",
|
|
1111
|
+
iconvLiteDecoderId: "windows1258"
|
|
940
1112
|
},
|
|
941
1113
|
"euc-jp": {
|
|
942
1114
|
id: "euc-jp",
|
|
943
1115
|
groupId: "japanese",
|
|
944
|
-
|
|
1116
|
+
isDetectable: !0,
|
|
1117
|
+
textDecoderId: "euc-jp",
|
|
1118
|
+
iconvLiteDecoderId: "eucjp"
|
|
945
1119
|
},
|
|
946
1120
|
"euc-kr": {
|
|
947
1121
|
id: "euc-kr",
|
|
948
1122
|
groupId: "korean",
|
|
949
|
-
|
|
1123
|
+
isDetectable: !0,
|
|
1124
|
+
textDecoderId: "euc-kr",
|
|
1125
|
+
iconvLiteDecoderId: "cp949"
|
|
950
1126
|
},
|
|
951
1127
|
gb18030: {
|
|
952
1128
|
id: "gb18030",
|
|
953
1129
|
groupId: "chineseSimplified",
|
|
954
|
-
|
|
1130
|
+
isDetectable: !0,
|
|
1131
|
+
textDecoderId: "gb18030",
|
|
1132
|
+
iconvLiteDecoderId: "gb18030"
|
|
1133
|
+
},
|
|
1134
|
+
gbk: {
|
|
1135
|
+
id: "gbk",
|
|
1136
|
+
groupId: "chineseSimplified",
|
|
1137
|
+
isDetectable: !1,
|
|
1138
|
+
textDecoderId: "gbk",
|
|
1139
|
+
iconvLiteDecoderId: "gbk"
|
|
1140
|
+
},
|
|
1141
|
+
"georgian-academy": {
|
|
1142
|
+
id: "georgian-academy",
|
|
1143
|
+
groupId: "georgian",
|
|
1144
|
+
isDetectable: !1,
|
|
1145
|
+
textDecoderId: null,
|
|
1146
|
+
iconvLiteDecoderId: "georgianacademy"
|
|
1147
|
+
},
|
|
1148
|
+
"georgian-ps": {
|
|
1149
|
+
id: "georgian-ps",
|
|
1150
|
+
groupId: "georgian",
|
|
1151
|
+
isDetectable: !1,
|
|
1152
|
+
textDecoderId: null,
|
|
1153
|
+
iconvLiteDecoderId: "georgianps"
|
|
955
1154
|
},
|
|
956
1155
|
"hp-roman8": {
|
|
957
1156
|
id: "hp-roman8",
|
|
958
1157
|
groupId: "western",
|
|
959
|
-
|
|
1158
|
+
isDetectable: !0,
|
|
1159
|
+
textDecoderId: null,
|
|
1160
|
+
iconvLiteDecoderId: "hproman8"
|
|
960
1161
|
},
|
|
961
1162
|
"hz-gb-2312": {
|
|
962
1163
|
id: "hz-gb-2312",
|
|
963
1164
|
groupId: "chineseSimplified",
|
|
964
|
-
|
|
1165
|
+
isDetectable: !0,
|
|
1166
|
+
textDecoderId: null,
|
|
1167
|
+
iconvLiteDecoderId: null
|
|
965
1168
|
},
|
|
966
1169
|
ibm855: {
|
|
967
1170
|
id: "ibm855",
|
|
968
1171
|
groupId: "cyrillic",
|
|
969
|
-
|
|
1172
|
+
isDetectable: !0,
|
|
1173
|
+
textDecoderId: null,
|
|
1174
|
+
iconvLiteDecoderId: "cp855"
|
|
970
1175
|
},
|
|
971
1176
|
ibm866: {
|
|
972
1177
|
id: "ibm866",
|
|
973
1178
|
groupId: "cyrillic",
|
|
974
|
-
|
|
1179
|
+
isDetectable: !0,
|
|
1180
|
+
textDecoderId: "ibm866",
|
|
1181
|
+
iconvLiteDecoderId: "cp866"
|
|
975
1182
|
},
|
|
976
1183
|
"iso-2022-jp": {
|
|
977
1184
|
id: "iso-2022-jp",
|
|
978
1185
|
groupId: "japanese",
|
|
979
|
-
|
|
1186
|
+
isDetectable: !0,
|
|
1187
|
+
textDecoderId: "iso-2022-jp",
|
|
1188
|
+
iconvLiteDecoderId: null
|
|
980
1189
|
},
|
|
981
1190
|
"iso-2022-kr": {
|
|
982
1191
|
id: "iso-2022-kr",
|
|
983
1192
|
groupId: "korean",
|
|
984
|
-
|
|
1193
|
+
isDetectable: !0,
|
|
1194
|
+
textDecoderId: null,
|
|
1195
|
+
iconvLiteDecoderId: null
|
|
985
1196
|
},
|
|
986
1197
|
"iso-8859-1": {
|
|
987
1198
|
id: "iso-8859-1",
|
|
988
1199
|
groupId: "western",
|
|
989
|
-
|
|
1200
|
+
isDetectable: !0,
|
|
1201
|
+
textDecoderId: "windows-1252",
|
|
1202
|
+
iconvLiteDecoderId: "iso88591"
|
|
990
1203
|
},
|
|
991
1204
|
"iso-8859-2": {
|
|
992
1205
|
id: "iso-8859-2",
|
|
993
1206
|
groupId: "centralEuropean",
|
|
994
|
-
|
|
1207
|
+
isDetectable: !0,
|
|
1208
|
+
textDecoderId: "iso-8859-2",
|
|
1209
|
+
iconvLiteDecoderId: "iso88592"
|
|
995
1210
|
},
|
|
996
1211
|
"iso-8859-5": {
|
|
997
1212
|
id: "iso-8859-5",
|
|
998
1213
|
groupId: "cyrillic",
|
|
999
|
-
|
|
1214
|
+
isDetectable: !0,
|
|
1215
|
+
textDecoderId: "iso-8859-5",
|
|
1216
|
+
iconvLiteDecoderId: "iso88595"
|
|
1000
1217
|
},
|
|
1001
1218
|
"iso-8859-6": {
|
|
1002
1219
|
id: "iso-8859-6",
|
|
1003
1220
|
groupId: "arabic",
|
|
1004
|
-
|
|
1221
|
+
isDetectable: !0,
|
|
1222
|
+
textDecoderId: "iso-8859-6",
|
|
1223
|
+
iconvLiteDecoderId: "iso88596"
|
|
1005
1224
|
},
|
|
1006
1225
|
"iso-8859-7": {
|
|
1007
1226
|
id: "iso-8859-7",
|
|
1008
1227
|
groupId: "greek",
|
|
1009
|
-
|
|
1228
|
+
isDetectable: !0,
|
|
1229
|
+
textDecoderId: "iso-8859-7",
|
|
1230
|
+
iconvLiteDecoderId: "iso88597"
|
|
1010
1231
|
},
|
|
1011
1232
|
"iso-8859-8": {
|
|
1012
1233
|
id: "iso-8859-8",
|
|
1013
1234
|
groupId: "hebrew",
|
|
1014
|
-
|
|
1235
|
+
isDetectable: !0,
|
|
1236
|
+
textDecoderId: "iso-8859-8-i",
|
|
1237
|
+
iconvLiteDecoderId: "iso88598"
|
|
1015
1238
|
},
|
|
1016
1239
|
"iso-8859-9": {
|
|
1017
1240
|
id: "iso-8859-9",
|
|
1018
1241
|
groupId: "turkish",
|
|
1019
|
-
|
|
1242
|
+
isDetectable: !0,
|
|
1243
|
+
textDecoderId: "windows-1254",
|
|
1244
|
+
iconvLiteDecoderId: "iso88599"
|
|
1245
|
+
},
|
|
1246
|
+
"iso-8859-11": {
|
|
1247
|
+
id: "iso-8859-11",
|
|
1248
|
+
groupId: "thai",
|
|
1249
|
+
isDetectable: !1,
|
|
1250
|
+
textDecoderId: "windows-874",
|
|
1251
|
+
iconvLiteDecoderId: "iso885911"
|
|
1020
1252
|
},
|
|
1021
1253
|
"iso-8859-13": {
|
|
1022
1254
|
id: "iso-8859-13",
|
|
1023
1255
|
groupId: "baltic",
|
|
1024
|
-
|
|
1256
|
+
isDetectable: !0,
|
|
1257
|
+
textDecoderId: "iso-8859-13",
|
|
1258
|
+
iconvLiteDecoderId: "iso885913"
|
|
1259
|
+
},
|
|
1260
|
+
"iso646-cn": {
|
|
1261
|
+
id: "iso646-cn",
|
|
1262
|
+
groupId: "chineseSimplified",
|
|
1263
|
+
isDetectable: !1,
|
|
1264
|
+
textDecoderId: null,
|
|
1265
|
+
iconvLiteDecoderId: "iso646cn"
|
|
1266
|
+
},
|
|
1267
|
+
"iso646-jp": {
|
|
1268
|
+
id: "iso646-jp",
|
|
1269
|
+
groupId: "japanese",
|
|
1270
|
+
isDetectable: !1,
|
|
1271
|
+
textDecoderId: null,
|
|
1272
|
+
iconvLiteDecoderId: "iso646jp"
|
|
1025
1273
|
},
|
|
1026
1274
|
iso2022_jp_2004: {
|
|
1027
1275
|
id: "iso2022_jp_2004",
|
|
1028
1276
|
groupId: "japanese",
|
|
1029
|
-
|
|
1277
|
+
isDetectable: !0,
|
|
1278
|
+
textDecoderId: null,
|
|
1279
|
+
iconvLiteDecoderId: null
|
|
1030
1280
|
},
|
|
1031
1281
|
iso2022_jp_ext: {
|
|
1032
1282
|
id: "iso2022_jp_ext",
|
|
1033
1283
|
groupId: "japanese",
|
|
1034
|
-
|
|
1284
|
+
isDetectable: !0,
|
|
1285
|
+
textDecoderId: null,
|
|
1286
|
+
iconvLiteDecoderId: null
|
|
1035
1287
|
},
|
|
1036
1288
|
"iso8859-3": {
|
|
1037
1289
|
id: "iso8859-3",
|
|
1038
1290
|
groupId: "southernEuropean",
|
|
1039
|
-
|
|
1291
|
+
isDetectable: !0,
|
|
1292
|
+
textDecoderId: "iso-8859-3",
|
|
1293
|
+
iconvLiteDecoderId: "iso88593"
|
|
1040
1294
|
},
|
|
1041
1295
|
"iso8859-4": {
|
|
1042
1296
|
id: "iso8859-4",
|
|
1043
1297
|
groupId: "baltic",
|
|
1044
|
-
|
|
1298
|
+
isDetectable: !0,
|
|
1299
|
+
textDecoderId: "iso-8859-4",
|
|
1300
|
+
iconvLiteDecoderId: "iso88594"
|
|
1045
1301
|
},
|
|
1046
1302
|
"iso8859-10": {
|
|
1047
1303
|
id: "iso8859-10",
|
|
1048
1304
|
groupId: "nordic",
|
|
1049
|
-
|
|
1305
|
+
isDetectable: !0,
|
|
1306
|
+
textDecoderId: "iso-8859-10",
|
|
1307
|
+
iconvLiteDecoderId: "iso885910"
|
|
1050
1308
|
},
|
|
1051
1309
|
"iso8859-14": {
|
|
1052
1310
|
id: "iso8859-14",
|
|
1053
1311
|
groupId: "celtic",
|
|
1054
|
-
|
|
1312
|
+
isDetectable: !0,
|
|
1313
|
+
textDecoderId: "iso-8859-14",
|
|
1314
|
+
iconvLiteDecoderId: "iso885914"
|
|
1055
1315
|
},
|
|
1056
1316
|
"iso8859-15": {
|
|
1057
1317
|
id: "iso8859-15",
|
|
1058
1318
|
groupId: "western",
|
|
1059
|
-
|
|
1319
|
+
isDetectable: !0,
|
|
1320
|
+
textDecoderId: "iso-8859-15",
|
|
1321
|
+
iconvLiteDecoderId: "iso885915"
|
|
1060
1322
|
},
|
|
1061
1323
|
"iso8859-16": {
|
|
1062
1324
|
id: "iso8859-16",
|
|
1063
1325
|
groupId: "southEasternEuropean",
|
|
1064
|
-
|
|
1326
|
+
isDetectable: !0,
|
|
1327
|
+
textDecoderId: "iso-8859-16",
|
|
1328
|
+
iconvLiteDecoderId: "iso885916"
|
|
1065
1329
|
},
|
|
1066
1330
|
johab: {
|
|
1067
1331
|
id: "johab",
|
|
1068
1332
|
groupId: "korean",
|
|
1069
|
-
|
|
1333
|
+
isDetectable: !0,
|
|
1334
|
+
textDecoderId: null,
|
|
1335
|
+
iconvLiteDecoderId: null
|
|
1070
1336
|
},
|
|
1071
1337
|
"koi8-r": {
|
|
1072
1338
|
id: "koi8-r",
|
|
1073
1339
|
groupId: "cyrillic",
|
|
1074
|
-
|
|
1340
|
+
isDetectable: !0,
|
|
1341
|
+
textDecoderId: "koi8-r",
|
|
1342
|
+
iconvLiteDecoderId: "koi8r"
|
|
1343
|
+
},
|
|
1344
|
+
"koi8-ru": {
|
|
1345
|
+
id: "koi8-ru",
|
|
1346
|
+
groupId: "cyrillic",
|
|
1347
|
+
isDetectable: !1,
|
|
1348
|
+
textDecoderId: "koi8-u",
|
|
1349
|
+
iconvLiteDecoderId: "koi8ru"
|
|
1075
1350
|
},
|
|
1076
1351
|
"koi8-t": {
|
|
1077
1352
|
id: "koi8-t",
|
|
1078
1353
|
groupId: "cyrillic",
|
|
1079
|
-
|
|
1354
|
+
isDetectable: !0,
|
|
1355
|
+
textDecoderId: null,
|
|
1356
|
+
iconvLiteDecoderId: "koi8t"
|
|
1080
1357
|
},
|
|
1081
1358
|
"koi8-u": {
|
|
1082
1359
|
id: "koi8-u",
|
|
1083
1360
|
groupId: "cyrillic",
|
|
1084
|
-
|
|
1361
|
+
isDetectable: !0,
|
|
1362
|
+
textDecoderId: "koi8-u",
|
|
1363
|
+
iconvLiteDecoderId: "koi8u"
|
|
1085
1364
|
},
|
|
1086
1365
|
kz1048: {
|
|
1087
1366
|
id: "kz1048",
|
|
1088
1367
|
groupId: "cyrillic",
|
|
1089
|
-
|
|
1368
|
+
isDetectable: !0,
|
|
1369
|
+
textDecoderId: null,
|
|
1370
|
+
iconvLiteDecoderId: "rk1048"
|
|
1371
|
+
},
|
|
1372
|
+
maccroatian: {
|
|
1373
|
+
id: "maccroatian",
|
|
1374
|
+
groupId: "centralEuropean",
|
|
1375
|
+
isDetectable: !1,
|
|
1376
|
+
textDecoderId: null,
|
|
1377
|
+
iconvLiteDecoderId: "maccroatian"
|
|
1090
1378
|
},
|
|
1091
1379
|
maccyrillic: {
|
|
1092
1380
|
id: "maccyrillic",
|
|
1093
1381
|
groupId: "cyrillic",
|
|
1094
|
-
|
|
1382
|
+
isDetectable: !0,
|
|
1383
|
+
textDecoderId: "x-mac-cyrillic",
|
|
1384
|
+
iconvLiteDecoderId: "maccyrillic"
|
|
1095
1385
|
},
|
|
1096
1386
|
macgreek: {
|
|
1097
1387
|
id: "macgreek",
|
|
1098
1388
|
groupId: "greek",
|
|
1099
|
-
|
|
1389
|
+
isDetectable: !0,
|
|
1390
|
+
textDecoderId: null,
|
|
1391
|
+
iconvLiteDecoderId: "macgreek"
|
|
1100
1392
|
},
|
|
1101
1393
|
maciceland: {
|
|
1102
1394
|
id: "maciceland",
|
|
1103
1395
|
groupId: "nordic",
|
|
1104
|
-
|
|
1396
|
+
isDetectable: !0,
|
|
1397
|
+
textDecoderId: null,
|
|
1398
|
+
iconvLiteDecoderId: "maciceland"
|
|
1105
1399
|
},
|
|
1106
1400
|
maclatin2: {
|
|
1107
1401
|
id: "maclatin2",
|
|
1108
1402
|
groupId: "centralEuropean",
|
|
1109
|
-
|
|
1403
|
+
isDetectable: !0,
|
|
1404
|
+
textDecoderId: null,
|
|
1405
|
+
iconvLiteDecoderId: "maccenteuro"
|
|
1110
1406
|
},
|
|
1111
1407
|
macroman: {
|
|
1112
1408
|
id: "macroman",
|
|
1113
1409
|
groupId: "western",
|
|
1114
|
-
|
|
1410
|
+
isDetectable: !0,
|
|
1411
|
+
textDecoderId: "macintosh",
|
|
1412
|
+
iconvLiteDecoderId: "macroman"
|
|
1413
|
+
},
|
|
1414
|
+
macromania: {
|
|
1415
|
+
id: "macromania",
|
|
1416
|
+
groupId: "southEasternEuropean",
|
|
1417
|
+
isDetectable: !1,
|
|
1418
|
+
textDecoderId: null,
|
|
1419
|
+
iconvLiteDecoderId: "macromania"
|
|
1420
|
+
},
|
|
1421
|
+
macthai: {
|
|
1422
|
+
id: "macthai",
|
|
1423
|
+
groupId: "thai",
|
|
1424
|
+
isDetectable: !1,
|
|
1425
|
+
textDecoderId: null,
|
|
1426
|
+
iconvLiteDecoderId: "macthai"
|
|
1115
1427
|
},
|
|
1116
1428
|
macturkish: {
|
|
1117
1429
|
id: "macturkish",
|
|
1118
1430
|
groupId: "turkish",
|
|
1119
|
-
|
|
1431
|
+
isDetectable: !0,
|
|
1432
|
+
textDecoderId: null,
|
|
1433
|
+
iconvLiteDecoderId: "macturkish"
|
|
1434
|
+
},
|
|
1435
|
+
macukraine: {
|
|
1436
|
+
id: "macukraine",
|
|
1437
|
+
groupId: "cyrillic",
|
|
1438
|
+
isDetectable: !1,
|
|
1439
|
+
textDecoderId: null,
|
|
1440
|
+
iconvLiteDecoderId: "macukraine"
|
|
1441
|
+
},
|
|
1442
|
+
mik: {
|
|
1443
|
+
id: "mik",
|
|
1444
|
+
groupId: "cyrillic",
|
|
1445
|
+
isDetectable: !1,
|
|
1446
|
+
textDecoderId: null,
|
|
1447
|
+
iconvLiteDecoderId: "mik"
|
|
1120
1448
|
},
|
|
1121
1449
|
ptcp154: {
|
|
1122
1450
|
id: "ptcp154",
|
|
1123
1451
|
groupId: "cyrillic",
|
|
1124
|
-
|
|
1452
|
+
isDetectable: !0,
|
|
1453
|
+
textDecoderId: null,
|
|
1454
|
+
iconvLiteDecoderId: "pt154"
|
|
1125
1455
|
},
|
|
1126
1456
|
shift_jis: {
|
|
1127
1457
|
id: "shift_jis",
|
|
1128
1458
|
groupId: "japanese",
|
|
1129
|
-
|
|
1459
|
+
isDetectable: !0,
|
|
1460
|
+
textDecoderId: "shift_jis",
|
|
1461
|
+
iconvLiteDecoderId: "shiftjis"
|
|
1462
|
+
},
|
|
1463
|
+
tcvn: {
|
|
1464
|
+
id: "tcvn",
|
|
1465
|
+
groupId: "vietnamese",
|
|
1466
|
+
isDetectable: !1,
|
|
1467
|
+
textDecoderId: null,
|
|
1468
|
+
iconvLiteDecoderId: "tcvn"
|
|
1130
1469
|
},
|
|
1131
1470
|
"tis-620": {
|
|
1132
1471
|
id: "tis-620",
|
|
1133
1472
|
groupId: "thai",
|
|
1134
|
-
|
|
1473
|
+
isDetectable: !0,
|
|
1474
|
+
textDecoderId: "windows-874",
|
|
1475
|
+
iconvLiteDecoderId: "tis620"
|
|
1135
1476
|
},
|
|
1136
1477
|
"utf-7": {
|
|
1137
1478
|
id: "utf-7",
|
|
1138
1479
|
groupId: "unicode",
|
|
1139
|
-
|
|
1480
|
+
isDetectable: !0,
|
|
1481
|
+
textDecoderId: null,
|
|
1482
|
+
iconvLiteDecoderId: "utf7"
|
|
1140
1483
|
},
|
|
1141
1484
|
"utf-8": {
|
|
1142
1485
|
id: "utf-8",
|
|
1143
1486
|
groupId: "unicode",
|
|
1144
|
-
|
|
1487
|
+
isDetectable: !0,
|
|
1488
|
+
textDecoderId: "utf-8",
|
|
1489
|
+
iconvLiteDecoderId: "utf-8"
|
|
1145
1490
|
},
|
|
1146
1491
|
"utf-8-sig": {
|
|
1147
1492
|
id: "utf-8-sig",
|
|
1148
1493
|
groupId: "unicode",
|
|
1149
|
-
|
|
1494
|
+
isDetectable: !0,
|
|
1495
|
+
textDecoderId: "utf-8",
|
|
1496
|
+
iconvLiteDecoderId: "utf-8"
|
|
1150
1497
|
},
|
|
1151
1498
|
"utf-16": {
|
|
1152
1499
|
id: "utf-16",
|
|
1153
1500
|
groupId: "unicode",
|
|
1154
|
-
|
|
1501
|
+
isDetectable: !0,
|
|
1502
|
+
textDecoderId: null,
|
|
1503
|
+
iconvLiteDecoderId: "utf16"
|
|
1155
1504
|
},
|
|
1156
1505
|
"utf-16-be": {
|
|
1157
1506
|
id: "utf-16-be",
|
|
1158
1507
|
groupId: "unicode",
|
|
1159
|
-
|
|
1508
|
+
isDetectable: !0,
|
|
1509
|
+
textDecoderId: "utf-16be",
|
|
1510
|
+
iconvLiteDecoderId: "utf16be"
|
|
1160
1511
|
},
|
|
1161
1512
|
"utf-16-le": {
|
|
1162
1513
|
id: "utf-16-le",
|
|
1163
1514
|
groupId: "unicode",
|
|
1164
|
-
|
|
1515
|
+
isDetectable: !0,
|
|
1516
|
+
textDecoderId: "utf-16le",
|
|
1517
|
+
iconvLiteDecoderId: "utf16le"
|
|
1165
1518
|
},
|
|
1166
1519
|
"utf-32": {
|
|
1167
1520
|
id: "utf-32",
|
|
1168
1521
|
groupId: "unicode",
|
|
1169
|
-
|
|
1522
|
+
isDetectable: !0,
|
|
1523
|
+
textDecoderId: null,
|
|
1524
|
+
iconvLiteDecoderId: "utf32"
|
|
1170
1525
|
},
|
|
1171
1526
|
"utf-32-be": {
|
|
1172
1527
|
id: "utf-32-be",
|
|
1173
1528
|
groupId: "unicode",
|
|
1174
|
-
|
|
1529
|
+
isDetectable: !0,
|
|
1530
|
+
textDecoderId: null,
|
|
1531
|
+
iconvLiteDecoderId: "utf32be"
|
|
1175
1532
|
},
|
|
1176
1533
|
"utf-32-le": {
|
|
1177
1534
|
id: "utf-32-le",
|
|
1178
1535
|
groupId: "unicode",
|
|
1179
|
-
|
|
1536
|
+
isDetectable: !0,
|
|
1537
|
+
textDecoderId: null,
|
|
1538
|
+
iconvLiteDecoderId: "utf32le"
|
|
1539
|
+
},
|
|
1540
|
+
viscii: {
|
|
1541
|
+
id: "viscii",
|
|
1542
|
+
groupId: "vietnamese",
|
|
1543
|
+
isDetectable: !1,
|
|
1544
|
+
textDecoderId: null,
|
|
1545
|
+
iconvLiteDecoderId: "viscii"
|
|
1180
1546
|
},
|
|
1181
1547
|
"windows-1250": {
|
|
1182
1548
|
id: "windows-1250",
|
|
1183
1549
|
groupId: "centralEuropean",
|
|
1184
|
-
|
|
1550
|
+
isDetectable: !0,
|
|
1551
|
+
textDecoderId: "windows-1250",
|
|
1552
|
+
iconvLiteDecoderId: "windows1250"
|
|
1185
1553
|
},
|
|
1186
1554
|
"windows-1251": {
|
|
1187
1555
|
id: "windows-1251",
|
|
1188
1556
|
groupId: "cyrillic",
|
|
1189
|
-
|
|
1557
|
+
isDetectable: !0,
|
|
1558
|
+
textDecoderId: "windows-1251",
|
|
1559
|
+
iconvLiteDecoderId: "windows1251"
|
|
1190
1560
|
},
|
|
1191
1561
|
"windows-1252": {
|
|
1192
1562
|
id: "windows-1252",
|
|
1193
1563
|
groupId: "western",
|
|
1194
|
-
|
|
1564
|
+
isDetectable: !0,
|
|
1565
|
+
textDecoderId: "windows-1252",
|
|
1566
|
+
iconvLiteDecoderId: "windows1252"
|
|
1195
1567
|
},
|
|
1196
1568
|
"windows-1253": {
|
|
1197
1569
|
id: "windows-1253",
|
|
1198
1570
|
groupId: "greek",
|
|
1199
|
-
|
|
1571
|
+
isDetectable: !0,
|
|
1572
|
+
textDecoderId: "windows-1253",
|
|
1573
|
+
iconvLiteDecoderId: "windows1253"
|
|
1200
1574
|
},
|
|
1201
1575
|
"windows-1254": {
|
|
1202
1576
|
id: "windows-1254",
|
|
1203
1577
|
groupId: "turkish",
|
|
1204
|
-
|
|
1578
|
+
isDetectable: !0,
|
|
1579
|
+
textDecoderId: "windows-1254",
|
|
1580
|
+
iconvLiteDecoderId: "windows1254"
|
|
1205
1581
|
},
|
|
1206
1582
|
"windows-1255": {
|
|
1207
1583
|
id: "windows-1255",
|
|
1208
1584
|
groupId: "hebrew",
|
|
1209
|
-
|
|
1585
|
+
isDetectable: !0,
|
|
1586
|
+
textDecoderId: "windows-1255",
|
|
1587
|
+
iconvLiteDecoderId: "windows1255"
|
|
1210
1588
|
},
|
|
1211
1589
|
"windows-1256": {
|
|
1212
1590
|
id: "windows-1256",
|
|
1213
1591
|
groupId: "arabic",
|
|
1214
|
-
|
|
1592
|
+
isDetectable: !0,
|
|
1593
|
+
textDecoderId: "windows-1256",
|
|
1594
|
+
iconvLiteDecoderId: "windows1256"
|
|
1215
1595
|
},
|
|
1216
1596
|
"windows-1257": {
|
|
1217
1597
|
id: "windows-1257",
|
|
1218
1598
|
groupId: "baltic",
|
|
1219
|
-
|
|
1599
|
+
isDetectable: !0,
|
|
1600
|
+
textDecoderId: "windows-1257",
|
|
1601
|
+
iconvLiteDecoderId: "windows1257"
|
|
1220
1602
|
}
|
|
1221
1603
|
}, O = Ce, k = we;
|
|
1222
1604
|
function Te(e) {
|
|
1223
1605
|
return Object.hasOwn(k, e);
|
|
1224
1606
|
}
|
|
1225
1607
|
function A(e) {
|
|
1226
|
-
return Te(e) ? k[e].
|
|
1608
|
+
return Te(e) ? k[e].textDecoderId ?? e : e;
|
|
1227
1609
|
}
|
|
1228
1610
|
function Ee(e = "en") {
|
|
1229
|
-
return Array.from(Object.values(k), ({
|
|
1230
|
-
let
|
|
1611
|
+
return Array.from(Object.values(k), ({ groupId: t, iconvLiteDecoderId: n, id: r, isDetectable: i, textDecoderId: a }) => {
|
|
1612
|
+
let o = t == null ? "" : De(t, e);
|
|
1231
1613
|
return {
|
|
1232
1614
|
id: r,
|
|
1233
|
-
groupLabel:
|
|
1234
|
-
label:
|
|
1235
|
-
|
|
1236
|
-
|
|
1615
|
+
groupLabel: o,
|
|
1616
|
+
label: o ? `${o} (${r})` : r,
|
|
1617
|
+
isDetectable: i,
|
|
1618
|
+
isDecodable: a != null,
|
|
1619
|
+
textDecoderId: a,
|
|
1620
|
+
iconvLiteDecoderId: n
|
|
1237
1621
|
};
|
|
1238
1622
|
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.id.localeCompare(n.id, e, { numeric: !0 }));
|
|
1239
1623
|
}
|