twitter_cldr_js 2.2.4 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/History.txt +5 -0
- data/README.md +51 -5
- data/Rakefile +1 -1
- data/lib/assets/javascripts/twitter_cldr/af.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ar.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/be.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/bg.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/bn.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ca.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/cs.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/cy.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/da.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/de-CH.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/de.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/el.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/en-150.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en-AU.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en-CA.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en-GB.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/en-IE.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en-SG.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en-ZA.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/en.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/es-419.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/es-CO.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/es-MX.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/es-US.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/es.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/eu.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/fa.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/fi.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/fil.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/fr-BE.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/fr-CA.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/fr-CH.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/fr.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ga.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/gl.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/he.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/hi.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/hr.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/hu.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/id.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/is.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/it-CH.js +2183 -0
- data/lib/assets/javascripts/twitter_cldr/it.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ja.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ko.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/lv.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/msa.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/nl.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/no.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/pl.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/pt.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ro.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/ru.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/sk.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/sq.js +215 -58
- data/lib/assets/javascripts/twitter_cldr/sr.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/sv.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ta.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/th.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/tr.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/uk.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/ur.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/vi.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/zh-cn.js +214 -57
- data/lib/assets/javascripts/twitter_cldr/zh-tw.js +214 -57
- data/lib/twitter_cldr/js/compiler.rb +13 -10
- data/lib/twitter_cldr/js/mustache/bundle.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/calendars/datetime.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/calendars/timespan.coffee +2 -3
- data/lib/twitter_cldr/js/mustache/numbers/numbers.coffee +27 -15
- data/lib/twitter_cldr/js/mustache/parsers/number_parser.coffee +1 -1
- data/lib/twitter_cldr/js/mustache/shared/calendar.coffee +10 -1
- data/lib/twitter_cldr/js/mustache/shared/languages.coffee +15 -0
- data/lib/twitter_cldr/js/mustache/shared/lists.coffee +3 -5
- data/lib/twitter_cldr/js/mustache/shared/phone_codes.coffee +2 -6
- data/lib/twitter_cldr/js/mustache/shared/postal_codes.coffee +22 -0
- data/lib/twitter_cldr/js/mustache/shared/territories_containment.coffee +48 -0
- data/lib/twitter_cldr/js/renderers/base.rb +4 -0
- data/lib/twitter_cldr/js/renderers/bundle.rb +4 -0
- data/lib/twitter_cldr/js/renderers/calendars/additional_date_format_selector_renderer.rb +1 -1
- data/lib/twitter_cldr/js/renderers/calendars/datetime_renderer.rb +19 -9
- data/lib/twitter_cldr/js/renderers/calendars/timespan_renderer.rb +16 -10
- data/lib/twitter_cldr/js/renderers/numbers/numbers_renderer.rb +24 -13
- data/lib/twitter_cldr/js/renderers/parsers/number_parser.rb +1 -3
- data/lib/twitter_cldr/js/renderers/plurals/rules/plural_rules_renderer.rb +35 -4
- data/lib/twitter_cldr/js/renderers/shared/bidi_renderer.rb +1 -1
- data/lib/twitter_cldr/js/renderers/shared/calendar_renderer.rb +2 -2
- data/lib/twitter_cldr/js/renderers/shared/currencies_renderer.rb +1 -1
- data/lib/twitter_cldr/js/renderers/shared/languages_renderer.rb +27 -0
- data/lib/twitter_cldr/js/renderers/shared/list_renderer.rb +2 -2
- data/lib/twitter_cldr/js/renderers/shared/phone_codes_renderer.rb +1 -1
- data/lib/twitter_cldr/js/renderers/shared/postal_codes_renderer.rb +23 -0
- data/lib/twitter_cldr/js/renderers/shared/territories_containment_renderer.rb +20 -0
- data/lib/twitter_cldr/js/renderers.rb +6 -3
- data/lib/twitter_cldr/js/version.rb +1 -1
- data/spec/js/calendars/datetime.spec.js +16 -8
- data/spec/js/calendars/timespan.spec.js +2 -2
- data/spec/js/numbers/abbreviated/abbreviated_number.spec.js +9 -15
- data/spec/js/numbers/abbreviated/long_decimal.ko.spec.js +20 -0
- data/spec/js/numbers/abbreviated/short_decimal.ko.spec.js +20 -0
- data/spec/js/numbers/abbreviated/short_decimal.ru.spec.js +16 -0
- data/spec/js/numbers/currency.spec.js +12 -4
- data/spec/js/parsers/number_parser.spec.js +5 -1
- data/spec/js/shared/languages.spec.js +41 -0
- data/spec/js/shared/lists.spec.js +20 -0
- data/spec/js/shared/phone_codes.spec.js +1 -1
- data/spec/js/shared/postal_codes.spec.js +46 -0
- data/spec/js/shared/territories_containment.spec.js +89 -0
- data/twitter_cldr_js.gemspec +2 -3
- metadata +38 -25
@@ -3,7 +3,7 @@
|
|
3
3
|
// Copyright 2012 Twitter, Inc
|
4
4
|
// http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
|
6
|
-
// TwitterCLDR (JavaScript) v2.
|
6
|
+
// TwitterCLDR (JavaScript) v2.3.0
|
7
7
|
// Authors: Cameron Dutro [@camertron]
|
8
8
|
Kirill Lashuk [@KL_7]
|
9
9
|
portions by Sven Fuchs [@svenfuchs]
|
@@ -18,12 +18,15 @@
|
|
18
18
|
(function() {
|
19
19
|
var TwitterCldr, key, obj, root,
|
20
20
|
__hasProp = {}.hasOwnProperty,
|
21
|
-
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }
|
21
|
+
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
22
|
+
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
|
22
23
|
|
23
24
|
TwitterCldr = {};
|
24
25
|
|
25
26
|
TwitterCldr.is_rtl = false;
|
26
27
|
|
28
|
+
TwitterCldr.locale = "zh";
|
29
|
+
|
27
30
|
TwitterCldr.Utilities = (function() {
|
28
31
|
function Utilities() {}
|
29
32
|
|
@@ -171,7 +174,7 @@
|
|
171
174
|
function TimespanFormatter() {
|
172
175
|
this.approximate_multiplier = 0.75;
|
173
176
|
this.default_type = "default";
|
174
|
-
this.
|
177
|
+
this.patterns = {"ago":{"second":{"default":{"other":"{0}秒钟前"}},"minute":{"default":{"other":"{0}分钟前"}},"hour":{"default":{"other":"{0}小时前"}},"day":{"default":{"other":"{0}天前"}},"week":{"default":{"other":"{0}周前"}},"month":{"default":{"other":"{0}个月前"}},"year":{"default":{"other":"{0}年前"}}},"until":{"second":{"default":{"other":"{0}秒钟后"}},"minute":{"default":{"other":"{0}分钟后"}},"hour":{"default":{"other":"{0}小时后"}},"day":{"default":{"other":"{0}天后"}},"week":{"default":{"other":"{0}周后"}},"month":{"default":{"other":"{0}个月后"}},"year":{"default":{"other":"{0}年后"}}},"none":{"second":{"default":{"other":"{0}秒钟"},"short":{"other":"{0}秒"},"abbreviated":{"other":"{0}秒"}},"minute":{"default":{"other":"{0}分钟"},"short":{"other":"{0}分"},"abbreviated":{"other":"{0}分"}},"hour":{"default":{"other":"{0}小时"},"short":{"other":"{0}小时"},"abbreviated":{"other":"{0}时"}},"day":{"default":{"other":"{0}天"},"short":{"other":"{0}天"},"abbreviated":{"other":"{0}天"}},"week":{"default":{"other":"{0}周"},"short":{"other":"{0}周"}},"month":{"default":{"other":"{0}个月"},"short":{"other":"{0}个月"}},"year":{"default":{"other":"{0}年"},"short":{"other":"{0}年"}}}};
|
175
178
|
this.time_in_seconds = {
|
176
179
|
"second": 1,
|
177
180
|
"minute": 60,
|
@@ -184,7 +187,7 @@
|
|
184
187
|
}
|
185
188
|
|
186
189
|
TimespanFormatter.prototype.format = function(seconds, fmt_options) {
|
187
|
-
var key, number, obj, options
|
190
|
+
var key, number, obj, options;
|
188
191
|
if (fmt_options == null) {
|
189
192
|
fmt_options = {};
|
190
193
|
}
|
@@ -201,17 +204,7 @@
|
|
201
204
|
options["number"] = this.calculate_time(Math.abs(seconds), options["unit"]);
|
202
205
|
number = this.calculate_time(Math.abs(seconds), options["unit"]);
|
203
206
|
options["rule"] = TwitterCldr.PluralRules.rule_for(number);
|
204
|
-
|
205
|
-
var _i, _len, _ref, _results;
|
206
|
-
_ref = this.tokens[options["direction"]][options["unit"]][options["type"]][options["rule"]];
|
207
|
-
_results = [];
|
208
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
209
|
-
token = _ref[_i];
|
210
|
-
_results.push(token.value);
|
211
|
-
}
|
212
|
-
return _results;
|
213
|
-
}).call(this);
|
214
|
-
return strings.join("").replace(/\{[0-9]\}/, number.toString());
|
207
|
+
return this.patterns[options["direction"]][options["unit"]][options["type"]][options["rule"]].replace(/\{[0-9]\}/, number.toString());
|
215
208
|
};
|
216
209
|
|
217
210
|
TimespanFormatter.prototype.calculate_unit = function(seconds, unit_options) {
|
@@ -255,7 +248,7 @@
|
|
255
248
|
|
256
249
|
TwitterCldr.DateTimeFormatter = (function() {
|
257
250
|
function DateTimeFormatter() {
|
258
|
-
this.tokens = {"date_time":{"default":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"full":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"EEEE","type":"pattern"},{"value":"zzzz","type":"pattern"},{"value":"","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"long":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"z","type":"pattern"},{"value":"","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"medium":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"short":[{"value":"yy","type":"pattern"},{"value":"-","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"-","type":"plaintext"},{"value":"d","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"EHms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Ed":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"Ehm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Ehms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Gy":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"GyMMM":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"GyMMMEd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"GyMMMd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"H":[{"value":"H","type":"pattern"},{"value":"时","type":"plaintext"}],"Hm":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Hms":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"M":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"MEd":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"MMM":[{"value":"LLL","type":"pattern"}],"MMMEd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"MMMMdd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"dd","type":"pattern"},{"value":"日","type":"plaintext"}],"MMMd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"MMdd":[{"value":"MM","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"dd","type":"pattern"}],"Md":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"d":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"h":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":"时","type":"plaintext"}],"hm":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"hms":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"ms":[{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"y":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"yM":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"}],"yMEd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"yMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMEd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"yMMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"yMd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"yQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}],"yQQQQ":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"QQQQ","type":"pattern"}]}},"time":{"default":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"full":[{"value":"zzzz","type":"pattern"},{"value":"","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"long":[{"value":"z","type":"pattern"},{"value":"","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"medium":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"short":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"EHms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Ed":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"Ehm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Ehms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Gy":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"GyMMM":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"GyMMMEd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"GyMMMd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"H":[{"value":"H","type":"pattern"},{"value":"时","type":"plaintext"}],"Hm":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Hms":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"M":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"MEd":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"MMM":[{"value":"LLL","type":"pattern"}],"MMMEd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"MMMMdd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"dd","type":"pattern"},{"value":"日","type":"plaintext"}],"MMMd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"MMdd":[{"value":"MM","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"dd","type":"pattern"}],"Md":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"d":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"h":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":"时","type":"plaintext"}],"hm":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"hms":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"ms":[{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"y":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"yM":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"}],"yMEd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"yMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMEd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"yMMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"yMd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"yQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}],"yQQQQ":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"QQQQ","type":"pattern"}]}},"date":{"default":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"full":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"EEEE","type":"pattern"}],"long":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"medium":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"short":[{"value":"yy","type":"pattern"},{"value":"-","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"-","type":"plaintext"},{"value":"d","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"EHms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Ed":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"Ehm":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Ehms":[{"value":"E","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"}],"Gy":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"GyMMM":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"GyMMMEd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"GyMMMd":[{"value":"G","type":"pattern"},{"value":"","type":"plaintext"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"H":[{"value":"H","type":"pattern"},{"value":"时","type":"plaintext"}],"Hm":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Hms":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"M":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"MEd":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"MMM":[{"value":"LLL","type":"pattern"}],"MMMEd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"MMMMdd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"dd","type":"pattern"},{"value":"日","type":"plaintext"}],"MMMd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"MMdd":[{"value":"MM","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"dd","type":"pattern"}],"Md":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"d":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"h":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":"时","type":"plaintext"}],"hm":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"hms":[{"value":"a","type":"pattern"},{"value":"","type":"plaintext"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"ms":[{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"y":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"yM":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"}],"yMEd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"","type":"plaintext"},{"value":"E","type":"pattern"}],"yMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMEd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"yMMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"yMd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"yQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}],"yQQQQ":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"QQQQ","type":"pattern"}]}}};
|
251
|
+
this.tokens = {"date_time":{"default":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"full":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"EEEE","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"zzzz","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"long":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":" ","type":"plaintext"},{"value":"z","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"medium":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"short":[{"value":"yy","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":" ","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"pattern"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"EHms":[{"value":"E","type":"pattern"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Ed":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"Ehm":[{"value":"E","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Ehms":[{"value":"E","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Gy":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"GyMMM":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"GyMMMEd":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"GyMMMd":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"H":[{"value":"H","type":"pattern"},{"value":"时","type":"plaintext"}],"Hm":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Hms":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"M":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"MEd":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"E","type":"pattern"}],"MMM":[{"value":"LLL","type":"pattern"}],"MMMEd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"MMMMdd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"dd","type":"pattern"},{"value":"日","type":"plaintext"}],"MMMd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"MMdd":[{"value":"MM","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"dd","type":"pattern"}],"Md":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"d":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"h":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":"时","type":"plaintext"}],"hm":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"hms":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"ms":[{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"y":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"yM":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"}],"yMEd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"E","type":"pattern"}],"yMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMEd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"yMMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"yMd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"yQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}],"yQQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}]}},"time":{"default":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"full":[{"value":"zzzz","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"long":[{"value":"z","type":"pattern"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"medium":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"short":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"EHms":[{"value":"E","type":"plaintext"},{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Ed":[{"value":"d日E","type":"plaintext"}],"Ehm":[{"value":"E","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Ehms":[{"value":"E","type":"plaintext"},{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"Gy":[{"value":"Gy年","type":"plaintext"}],"GyMMM":[{"value":"Gy年M月","type":"plaintext"}],"GyMMMEd":[{"value":"Gy年M月d日E","type":"plaintext"}],"GyMMMd":[{"value":"Gy年M月d日","type":"plaintext"}],"H":[{"value":"H","type":"pattern"},{"value":"时","type":"plaintext"}],"Hm":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"Hms":[{"value":"HH","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"M":[{"value":"M月","type":"plaintext"}],"MEd":[{"value":"M/dE","type":"plaintext"}],"MMM":[{"value":"LLL","type":"plaintext"}],"MMMEd":[{"value":"M月d日E","type":"plaintext"}],"MMMMdd":[{"value":"M月dd日","type":"plaintext"}],"MMMd":[{"value":"M月d日","type":"plaintext"}],"MMdd":[{"value":"MM/dd","type":"plaintext"}],"Md":[{"value":"M/d","type":"plaintext"}],"d":[{"value":"d日","type":"plaintext"}],"h":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":"时","type":"plaintext"}],"hm":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"}],"hms":[{"value":"a","type":"pattern"},{"value":"h","type":"pattern"},{"value":":","type":"plaintext"},{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"ms":[{"value":"mm","type":"pattern"},{"value":":","type":"plaintext"},{"value":"ss","type":"pattern"}],"y":[{"value":"y年","type":"plaintext"}],"yM":[{"value":"y/M","type":"plaintext"}],"yMEd":[{"value":"y/M/dE","type":"plaintext"}],"yMM":[{"value":"y年M月","type":"plaintext"}],"yMMM":[{"value":"y年M月","type":"plaintext"}],"yMMMEd":[{"value":"y年M月d日E","type":"plaintext"}],"yMMMM":[{"value":"y年M月","type":"plaintext"}],"yMMMd":[{"value":"y年M月d日","type":"plaintext"}],"yMd":[{"value":"y/M/d","type":"plaintext"}],"yQQQ":[{"value":"y年第Q季度","type":"plaintext"}],"yQQQQ":[{"value":"y年第Q季度","type":"plaintext"}]}},"date":{"default":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"full":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"EEEE","type":"pattern"}],"long":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"medium":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"short":[{"value":"yy","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"additional":{"EHm":[{"value":"E","type":"pattern"},{"value":"HH:mm","type":"plaintext"}],"EHms":[{"value":"E","type":"pattern"},{"value":"HH:mm:ss","type":"plaintext"}],"Ed":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"Ehm":[{"value":"E","type":"pattern"},{"value":"ah:mm","type":"plaintext"}],"Ehms":[{"value":"E","type":"pattern"},{"value":"ah:mm:ss","type":"plaintext"}],"Gy":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"GyMMM":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"GyMMMEd":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"GyMMMd":[{"value":"G","type":"pattern"},{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"H":[{"value":"H时","type":"plaintext"}],"Hm":[{"value":"HH:mm","type":"plaintext"}],"Hms":[{"value":"HH:mm:ss","type":"plaintext"}],"M":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"MEd":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"E","type":"pattern"}],"MMM":[{"value":"LLL","type":"pattern"}],"MMMEd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"MMMMdd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"dd","type":"pattern"},{"value":"日","type":"plaintext"}],"MMMd":[{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"MMdd":[{"value":"MM","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"dd","type":"pattern"}],"Md":[{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"d":[{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"h":[{"value":"ah时","type":"plaintext"}],"hm":[{"value":"ah:mm","type":"plaintext"}],"hms":[{"value":"ah:mm:ss","type":"plaintext"}],"ms":[{"value":"mm:ss","type":"plaintext"}],"y":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"}],"yM":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"}],"yMEd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"E","type":"pattern"}],"yMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMEd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"},{"value":"E","type":"pattern"}],"yMMMM":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"}],"yMMMd":[{"value":"y","type":"pattern"},{"value":"年","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"月","type":"plaintext"},{"value":"d","type":"pattern"},{"value":"日","type":"plaintext"}],"yMd":[{"value":"y","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"M","type":"pattern"},{"value":"/","type":"plaintext"},{"value":"d","type":"pattern"}],"yQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}],"yQQQQ":[{"value":"y","type":"pattern"},{"value":"年第","type":"plaintext"},{"value":"Q","type":"pattern"},{"value":"季度","type":"plaintext"}]}}};
|
259
252
|
this.weekday_keys = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
|
260
253
|
this.methods = {
|
261
254
|
'G': 'era',
|
@@ -571,7 +564,7 @@
|
|
571
564
|
DateTimeFormatter.prototype.timezone = function(time, pattern, length) {
|
572
565
|
var hours, minutes, offset, offsetString, sign;
|
573
566
|
offset = time.getTimezoneOffset();
|
574
|
-
hours = ("00" + (Math.abs(offset) / 60).toString()).slice(-2);
|
567
|
+
hours = ("00" + (Math.floor(Math.abs(offset) / 60)).toString()).slice(-2);
|
575
568
|
minutes = ("00" + (Math.abs(offset) % 60).toString()).slice(-2);
|
576
569
|
sign = offset > 0 ? "-" : "+";
|
577
570
|
offsetString = sign + hours + ":" + minutes;
|
@@ -734,9 +727,9 @@
|
|
734
727
|
|
735
728
|
TwitterCldr.NumberFormatter = (function() {
|
736
729
|
function NumberFormatter() {
|
737
|
-
this.all_tokens = {"
|
730
|
+
this.all_tokens = {"default":{"positive":["","#,##0.###"],"negative":["-","#,##0.###"]},"decimal":{"positive":["","#,##0.###"],"negative":["-","#,##0.###"]},"long_decimal":{"positive":{"1000":["","0","千"],"10000":["","0","万"],"100000":["","00","万"],"1000000":["","000","万"],"10000000":["","0000","万"],"100000000":["","0","亿"],"1000000000":["","00","亿"],"10000000000":["","000","亿"],"100000000000":["","0000","亿"],"1000000000000":["","0","兆"],"10000000000000":["","00","兆"],"100000000000000":["","000","兆"]},"negative":{"1000":["-","0","千"],"10000":["-","0","万"],"100000":["-","00","万"],"1000000":["-","000","万"],"10000000":["-","0000","万"],"100000000":["-","0","亿"],"1000000000":["-","00","亿"],"10000000000":["-","000","亿"],"100000000000":["-","0000","亿"],"1000000000000":["-","0","兆"],"10000000000000":["-","00","兆"],"100000000000000":["-","000","兆"]}},"short_decimal":{"positive":{"1000":["","0","千"],"10000":["","0","万"],"100000":["","00","万"],"1000000":["","000","万"],"10000000":["","0000","万"],"100000000":["","0","亿"],"1000000000":["","00","亿"],"10000000000":["","000","亿"],"100000000000":["","0000","亿"],"1000000000000":["","0","兆"],"10000000000000":["","00","兆"],"100000000000000":["","000","兆"]},"negative":{"1000":["-","0","千"],"10000":["-","0","万"],"100000":["-","00","万"],"1000000":["-","000","万"],"10000000":["-","0000","万"],"100000000":["-","0","亿"],"1000000000":["-","00","亿"],"10000000000":["-","000","亿"],"100000000000":["-","0000","亿"],"1000000000000":["-","0","兆"],"10000000000000":["-","00","兆"],"100000000000000":["-","000","兆"]}},"currency":{"positive":["¤","#,##0.00"],"negative":["(¤","#,##0.00",")"]},"percent":{"positive":["","#,##0","%"],"negative":["-","#,##0","%"]}};
|
738
731
|
this.tokens = [];
|
739
|
-
this.symbols = {"alias":"","decimal":".","exponential":"E","group":",","infinity":"∞","list":";","minus_sign":"-","nan":"NaN","per_mille":"‰","percent_sign":"%","plus_sign":"+"};
|
732
|
+
this.symbols = {"alias":"","decimal":".","exponential":"E","group":",","infinity":"∞","list":";","minus_sign":"-","nan":"NaN","per_mille":"‰","percent_sign":"%","plus_sign":"+","superscripting_exponent":"×"};
|
740
733
|
this.default_symbols = {
|
741
734
|
'group': ',',
|
742
735
|
'decimal': '.',
|
@@ -746,7 +739,7 @@
|
|
746
739
|
}
|
747
740
|
|
748
741
|
NumberFormatter.prototype.format = function(number, options) {
|
749
|
-
var fraction, fraction_format, integer_format, intg, key, opts, prefix, result, sign, suffix, val, _ref, _ref1;
|
742
|
+
var fraction, fraction_format, integer_format, intg, key, opts, prefix, result, sign, suffix, tokens, val, _ref, _ref1;
|
750
743
|
if (options == null) {
|
751
744
|
options = {};
|
752
745
|
}
|
@@ -755,18 +748,23 @@
|
|
755
748
|
val = options[key];
|
756
749
|
opts[key] = options[key] != null ? options[key] : opts[key];
|
757
750
|
}
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
result
|
751
|
+
tokens = this.get_tokens(number, opts);
|
752
|
+
if (tokens != null) {
|
753
|
+
_ref = this.partition_tokens(tokens), prefix = _ref[0], suffix = _ref[1], integer_format = _ref[2], fraction_format = _ref[3];
|
754
|
+
number = this.truncate_number(number, integer_format);
|
755
|
+
_ref1 = this.parse_number(number, opts), intg = _ref1[0], fraction = _ref1[1];
|
756
|
+
result = integer_format.apply(parseFloat(intg), opts);
|
757
|
+
if (fraction) {
|
758
|
+
result += fraction_format.apply(fraction, opts);
|
759
|
+
}
|
760
|
+
sign = number < 0 && prefix !== "-" ? this.symbols.minus_sign || this.default_symbols.minus_sign : "";
|
761
|
+
return "" + prefix + result + suffix;
|
762
|
+
} else {
|
763
|
+
return number.toString();
|
764
764
|
}
|
765
|
-
sign = number < 0 && prefix !== "-" ? this.symbols.minus_sign || this.default_symbols.minus_sign : "";
|
766
|
-
return "" + prefix + result + suffix;
|
767
765
|
};
|
768
766
|
|
769
|
-
NumberFormatter.prototype.
|
767
|
+
NumberFormatter.prototype.truncate_number = function(number, integer_format) {
|
770
768
|
return number;
|
771
769
|
};
|
772
770
|
|
@@ -896,8 +894,9 @@
|
|
896
894
|
if (options == null) {
|
897
895
|
options = {};
|
898
896
|
}
|
897
|
+
this.currencies_data = {"ADP":{"digits":0,"rounding":0},"AFN":{"digits":0,"rounding":0},"ALL":{"digits":0,"rounding":0},"AMD":{"digits":0,"rounding":0},"BHD":{"digits":3,"rounding":0},"BIF":{"digits":0,"rounding":0},"BYR":{"digits":0,"rounding":0},"CAD":{"digits":2,"rounding":0},"CHF":{"digits":2,"rounding":0},"CLF":{"digits":0,"rounding":0},"CLP":{"digits":0,"rounding":0},"COP":{"digits":0,"rounding":0},"CRC":{"digits":0,"rounding":0},"DEFAULT":{"digits":2,"rounding":0},"DJF":{"digits":0,"rounding":0},"ESP":{"digits":0,"rounding":0},"GNF":{"digits":0,"rounding":0},"GYD":{"digits":0,"rounding":0},"HUF":{"digits":0,"rounding":0},"IDR":{"digits":0,"rounding":0},"IQD":{"digits":0,"rounding":0},"IRR":{"digits":0,"rounding":0},"ISK":{"digits":0,"rounding":0},"ITL":{"digits":0,"rounding":0},"JOD":{"digits":3,"rounding":0},"JPY":{"digits":0,"rounding":0},"KMF":{"digits":0,"rounding":0},"KPW":{"digits":0,"rounding":0},"KRW":{"digits":0,"rounding":0},"KWD":{"digits":3,"rounding":0},"LAK":{"digits":0,"rounding":0},"LBP":{"digits":0,"rounding":0},"LUF":{"digits":0,"rounding":0},"LYD":{"digits":3,"rounding":0},"MGA":{"digits":0,"rounding":0},"MGF":{"digits":0,"rounding":0},"MMK":{"digits":0,"rounding":0},"MNT":{"digits":0,"rounding":0},"MRO":{"digits":0,"rounding":0},"MUR":{"digits":0,"rounding":0},"OMR":{"digits":3,"rounding":0},"PKR":{"digits":0,"rounding":0},"PYG":{"digits":0,"rounding":0},"RSD":{"digits":0,"rounding":0},"RWF":{"digits":0,"rounding":0},"SLL":{"digits":0,"rounding":0},"SOS":{"digits":0,"rounding":0},"STD":{"digits":0,"rounding":0},"SYP":{"digits":0,"rounding":0},"TMM":{"digits":0,"rounding":0},"TND":{"digits":3,"rounding":0},"TRL":{"digits":0,"rounding":0},"TWD":{"digits":2,"rounding":0},"TZS":{"digits":0,"rounding":0},"UGX":{"digits":0,"rounding":0},"UZS":{"digits":0,"rounding":0},"VND":{"digits":0,"rounding":0},"VUV":{"digits":0,"rounding":0},"XAF":{"digits":0,"rounding":0},"XOF":{"digits":0,"rounding":0},"XPF":{"digits":0,"rounding":0},"YER":{"digits":0,"rounding":0},"ZMK":{"digits":0,"rounding":0},"ZWD":{"digits":0,"rounding":0}};
|
899
898
|
this.default_currency_symbol = "$";
|
900
|
-
this.default_precision =
|
899
|
+
this.default_precision = this.currencies_data.DEFAULT.digits;
|
901
900
|
CurrencyFormatter.__super__.constructor.apply(this, arguments);
|
902
901
|
}
|
903
902
|
|
@@ -917,6 +916,7 @@
|
|
917
916
|
symbol: options.currency
|
918
917
|
};
|
919
918
|
}
|
919
|
+
options.precision || (options.precision = this.defaults_for_currency(options.currency).digits);
|
920
920
|
} else {
|
921
921
|
currency = {
|
922
922
|
symbol: this.default_currency_symbol
|
@@ -948,6 +948,10 @@
|
|
948
948
|
}
|
949
949
|
};
|
950
950
|
|
951
|
+
CurrencyFormatter.prototype.defaults_for_currency = function(currency) {
|
952
|
+
return this.currencies_data[currency] || this.currencies_data.DEFAULT;
|
953
|
+
};
|
954
|
+
|
951
955
|
return CurrencyFormatter;
|
952
956
|
|
953
957
|
})(TwitterCldr.NumberFormatter);
|
@@ -1001,12 +1005,11 @@
|
|
1001
1005
|
return tokens;
|
1002
1006
|
};
|
1003
1007
|
|
1004
|
-
AbbreviatedNumberFormatter.prototype.
|
1005
|
-
var factor
|
1006
|
-
if (
|
1007
|
-
|
1008
|
-
|
1009
|
-
return number / factor;
|
1008
|
+
AbbreviatedNumberFormatter.prototype.truncate_number = function(number, integer_format) {
|
1009
|
+
var factor;
|
1010
|
+
if (this.NUMBER_MIN <= number && number < this.NUMBER_MAX) {
|
1011
|
+
factor = Math.max(0, Math.floor(number).toString().length - integer_format.format.length);
|
1012
|
+
return number / Math.pow(10, factor);
|
1010
1013
|
} else {
|
1011
1014
|
return number;
|
1012
1015
|
}
|
@@ -1232,7 +1235,7 @@
|
|
1232
1235
|
TwitterCldr.Currencies = (function() {
|
1233
1236
|
function Currencies() {}
|
1234
1237
|
|
1235
|
-
Currencies.currencies = {"ADP":{"currency":"ADP","name":"Andorran peseta","cldr_symbol":"ADP","symbol":"ADP","code_points":[65,68,80]},"AED":{"currency":"AED","name":"UAE dirham","cldr_symbol":"AED","symbol":"AED","code_points":[65,69,68]},"AFA":{"currency":"AFA","name":"Afghan afghani (1927-2002)","cldr_symbol":"AFA","symbol":"AFA","code_points":[65,70,65]},"AFN":{"currency":"AFN","name":"Afghan Afghani","cldr_symbol":"AFN","symbol":"؋","code_points":[1547]},"ALK":{"currency":"ALK","name":"Albanian lek (1946-1965)","cldr_symbol":"ALK","symbol":"ALK","code_points":[65,76,75]},"ALL":{"currency":"ALL","name":"Albanian lek","cldr_symbol":"ALL","symbol":"LEK","code_points":[76,69,75]},"AMD":{"currency":"AMD","name":"Armenian dram","cldr_symbol":"AMD","symbol":"AMD","code_points":[65,77,68]},"ANG":{"currency":"ANG","name":"Netherlands Antillean guilder","cldr_symbol":"ANG","symbol":"ƒ","code_points":[402]},"AOA":{"currency":"AOA","name":"Angolan kwanza","cldr_symbol":"AOA","symbol":"AOA","code_points":[65,79,65]},"AOK":{"currency":"AOK","name":"Angolan kwanza (1977-1991)","cldr_symbol":"AOK","symbol":"AOK","code_points":[65,79,75]},"AON":{"currency":"AON","name":"Angolan new kwanza (1990-2000)","cldr_symbol":"AON","symbol":"AON","code_points":[65,79,78]},"AOR":{"currency":"AOR","name":"Angolan readjusted kwanza (1995-1999)","cldr_symbol":"AOR","symbol":"AOR","code_points":[65,79,82]},"ARA":{"currency":"ARA","name":"Argentine austral","cldr_symbol":"ARA","symbol":"ARA","code_points":[65,82,65]},"ARL":{"currency":"ARL","name":"Argentine peso ley (1970-1983)","cldr_symbol":"ARL","symbol":"ARL","code_points":[65,82,76]},"ARM":{"currency":"ARM","name":"Argentine peso (1881-1970)","cldr_symbol":"ARM","symbol":"ARM","code_points":[65,82,77]},"ARP":{"currency":"ARP","name":"Argentine peso (1983-1985)","cldr_symbol":"ARP","symbol":"ARP","code_points":[65,82,80]},"ARS":{"currency":"ARS","name":"Argentine peso","cldr_symbol":"ARS","symbol":"$","code_points":[36]},"ATS":{"currency":"ATS","name":"Austrian schilling","cldr_symbol":"ATS","symbol":"ATS","code_points":[65,84,83]},"AUD":{"currency":"AUD","name":"Australian dollar","cldr_symbol":"A$","symbol":"$","code_points":[36]},"AWG":{"currency":"AWG","name":"Aruban florin","cldr_symbol":"AWG","symbol":"ƒ","code_points":[402],"alt_name":"Florins"},"AZM":{"currency":"AZM","name":"Azerbaijani manat (1993-2006)","cldr_symbol":"AZM","symbol":"AZM","code_points":[65,90,77]},"AZN":{"currency":"AZN","name":"Azerbaijani manat","cldr_symbol":"AZN","symbol":"ман","code_points":[1084,1072,1085]},"BAD":{"currency":"BAD","name":"Bosnia-Herzegovina dinar (1992-1994)","cldr_symbol":"BAD","symbol":"BAD","code_points":[66,65,68]},"BAM":{"currency":"BAM","name":"Bosnia-Herzegovina convertible mark","cldr_symbol":"BAM","symbol":"KM","code_points":[75,77]},"BAN":{"currency":"BAN","name":"Bosnia-Herzegovina new dinar (1994-1997)","cldr_symbol":"BAN","symbol":"BAN","code_points":[66,65,78]},"BBD":{"currency":"BBD","name":"Barbadian dollar","cldr_symbol":"BBD","symbol":"$","code_points":[36]},"BDT":{"currency":"BDT","name":"Bangladeshi taka","cldr_symbol":"BDT","symbol":"BDT","code_points":[66,68,84]},"BEC":{"currency":"BEC","name":"Belgian franc (convertible)","cldr_symbol":"BEC","symbol":"BEC","code_points":[66,69,67]},"BEF":{"currency":"BEF","name":"Belgian franc","cldr_symbol":"BEF","symbol":"BEF","code_points":[66,69,70]},"BEL":{"currency":"BEL","name":"Belgian franc (financial)","cldr_symbol":"BEL","symbol":"BEL","code_points":[66,69,76]},"BGL":{"currency":"BGL","name":"Bulgarian hard lev","cldr_symbol":"BGL","symbol":"BGL","code_points":[66,71,76]},"BGM":{"currency":"BGM","name":"Bulgarian socialist lev","cldr_symbol":"BGM","symbol":"BGM","code_points":[66,71,77]},"BGN":{"currency":"BGN","name":"Bulgarian lev","cldr_symbol":"BGN","symbol":"лв","code_points":[1083,1074]},"BGO":{"currency":"BGO","name":"Bulgarian lev (1879-1952)","cldr_symbol":"BGO","symbol":"BGO","code_points":[66,71,79]},"BHD":{"currency":"BHD","name":"Bahraini dinar","cldr_symbol":"BHD","symbol":"BHD","code_points":[66,72,68]},"BIF":{"currency":"BIF","name":"Burundian franc","cldr_symbol":"BIF","symbol":"BIF","code_points":[66,73,70]},"BMD":{"currency":"BMD","name":"Bermudan dollar","cldr_symbol":"BMD","symbol":"$","code_points":[36]},"BND":{"currency":"BND","name":"Brunei dollar","cldr_symbol":"BND","symbol":"$","code_points":[36]},"BOB":{"currency":"BOB","name":"Bolivian boliviano","cldr_symbol":"BOB","symbol":"$b","code_points":[36,98]},"BOL":{"currency":"BOL","name":"Bolivian boliviano (1863-1963)","cldr_symbol":"BOL","symbol":"BOL","code_points":[66,79,76]},"BOP":{"currency":"BOP","name":"Bolivian peso","cldr_symbol":"BOP","symbol":"BOP","code_points":[66,79,80]},"BOV":{"currency":"BOV","name":"Bolivian mvdol","cldr_symbol":"BOV","symbol":"BOV","code_points":[66,79,86]},"BRB":{"currency":"BRB","name":"Brazilian new cruzeiro (1967-1986)","cldr_symbol":"BRB","symbol":"BRB","code_points":[66,82,66]},"BRC":{"currency":"BRC","name":"Brazilian cruzado (1986-1989)","cldr_symbol":"BRC","symbol":"BRC","code_points":[66,82,67]},"BRE":{"currency":"BRE","name":"Brazilian cruzeiro (1990-1993)","cldr_symbol":"BRE","symbol":"BRE","code_points":[66,82,69]},"BRL":{"currency":"BRL","name":"Brazilian real","cldr_symbol":"R$","symbol":"R$","code_points":[82,36]},"BRN":{"currency":"BRN","name":"Brazilian new cruzado (1989-1990)","cldr_symbol":"BRN","symbol":"BRN","code_points":[66,82,78]},"BRR":{"currency":"BRR","name":"Brazilian cruzeiro (1993-1994)","cldr_symbol":"BRR","symbol":"BRR","code_points":[66,82,82]},"BRZ":{"currency":"BRZ","name":"Brazilian cruzeiro (1942-1967)","cldr_symbol":"BRZ","symbol":"BRZ","code_points":[66,82,90]},"BSD":{"currency":"BSD","name":"Bahamian dollar","cldr_symbol":"BSD","symbol":"$","code_points":[36]},"BTN":{"currency":"BTN","name":"Bhutanese ngultrum","cldr_symbol":"BTN","symbol":"BTN","code_points":[66,84,78]},"BUK":{"currency":"BUK","name":"Burmese kyat","cldr_symbol":"BUK","symbol":"BUK","code_points":[66,85,75]},"BWP":{"currency":"BWP","name":"Botswanan pula","cldr_symbol":"BWP","symbol":"P","code_points":[80]},"BYB":{"currency":"BYB","name":"Belarusian new ruble (1994-1999)","cldr_symbol":"BYB","symbol":"BYB","code_points":[66,89,66]},"BYR":{"currency":"BYR","name":"Belarusian ruble","cldr_symbol":"BYR","symbol":"p.","code_points":[112,46]},"BZD":{"currency":"BZD","name":"Belize dollar","cldr_symbol":"BZD","symbol":"BZ$","code_points":[66,90,36]},"CAD":{"currency":"CAD","name":"Canadian dollar","cldr_symbol":"CA$","symbol":"$","code_points":[36]},"CDF":{"currency":"CDF","name":"Congolese franc","cldr_symbol":"CDF","symbol":"CDF","code_points":[67,68,70]},"CHE":{"currency":"CHE","name":"WIR euro","cldr_symbol":"CHE","symbol":"CHE","code_points":[67,72,69]},"CHF":{"currency":"CHF","name":"Swiss franc","cldr_symbol":"CHF","symbol":"CHF","code_points":[67,72,70]},"CHW":{"currency":"CHW","name":"WIR franc","cldr_symbol":"CHW","symbol":"CHW","code_points":[67,72,87]},"CLE":{"currency":"CLE","name":"Chilean escudo","cldr_symbol":"CLE","symbol":"CLE","code_points":[67,76,69]},"CLF":{"currency":"CLF","name":"Chilean unit of account (UF)","cldr_symbol":"CLF","symbol":"CLF","code_points":[67,76,70]},"CLP":{"currency":"CLP","name":"Chilean peso","cldr_symbol":"CLP","symbol":"$","code_points":[36]},"CNX":{"currency":"CNX","name":"Chinese People’s Bank dollar","cldr_symbol":"CNX","symbol":"CNX","code_points":[67,78,88]},"CNY":{"currency":"CNY","name":"Chinese yuan","cldr_symbol":"CN¥","symbol":"¥","code_points":[165]},"COP":{"currency":"COP","name":"Colombian peso","cldr_symbol":"COP","symbol":"$","code_points":[36]},"COU":{"currency":"COU","name":"Colombian real value unit","cldr_symbol":"COU","symbol":"COU","code_points":[67,79,85]},"CRC":{"currency":"CRC","name":"Costa Rican colón","cldr_symbol":"CRC","symbol":"₡","code_points":[8353]},"CSD":{"currency":"CSD","name":"Serbian dinar (2002-2006)","cldr_symbol":"CSD","symbol":"CSD","code_points":[67,83,68]},"CSK":{"currency":"CSK","name":"Czechoslovak hard koruna","cldr_symbol":"CSK","symbol":"CSK","code_points":[67,83,75]},"CUC":{"currency":"CUC","name":"Cuban convertible peso","cldr_symbol":"CUC","symbol":"CUC","code_points":[67,85,67]},"CUP":{"currency":"CUP","name":"Cuban peso","cldr_symbol":"CUP","symbol":"₱","code_points":[8369]},"CVE":{"currency":"CVE","name":"Cape Verdean escudo","cldr_symbol":"CVE","symbol":"CVE","code_points":[67,86,69]},"CYP":{"currency":"CYP","name":"Cypriot pound","cldr_symbol":"CYP","symbol":"CYP","code_points":[67,89,80]},"CZK":{"currency":"CZK","name":"Czech Republic koruna","cldr_symbol":"CZK","symbol":"Kč","code_points":[75,269]},"DDM":{"currency":"DDM","name":"East German mark","cldr_symbol":"DDM","symbol":"DDM","code_points":[68,68,77]},"DEM":{"currency":"DEM","name":"German mark","cldr_symbol":"DEM","symbol":"DEM","code_points":[68,69,77]},"DJF":{"currency":"DJF","name":"Djiboutian franc","cldr_symbol":"DJF","symbol":"DJF","code_points":[68,74,70]},"DKK":{"currency":"DKK","name":"Danish krone","cldr_symbol":"DKK","symbol":"kr","code_points":[107,114]},"DOP":{"currency":"DOP","name":"Dominican peso","cldr_symbol":"DOP","symbol":"RD$","code_points":[82,68,36]},"DZD":{"currency":"DZD","name":"Algerian dinar","cldr_symbol":"DZD","symbol":"DZD","code_points":[68,90,68]},"ECS":{"currency":"ECS","name":"Ecuadorian sucre","cldr_symbol":"ECS","symbol":"ECS","code_points":[69,67,83]},"ECV":{"currency":"ECV","name":"Ecuadorian unit of constant value","cldr_symbol":"ECV","symbol":"ECV","code_points":[69,67,86]},"EEK":{"currency":"EEK","name":"Estonian kroon","cldr_symbol":"EEK","symbol":"kr","code_points":[107,114]},"EGP":{"currency":"EGP","name":"Egyptian pound","cldr_symbol":"EGP","symbol":"£","code_points":[163]},"ERN":{"currency":"ERN","name":"Eritrean nakfa","cldr_symbol":"ERN","symbol":"ERN","code_points":[69,82,78]},"ESA":{"currency":"ESA","name":"Spanish peseta (A account)","cldr_symbol":"ESA","symbol":"ESA","code_points":[69,83,65]},"ESB":{"currency":"ESB","name":"Spanish peseta (convertible account)","cldr_symbol":"ESB","symbol":"ESB","code_points":[69,83,66]},"ESP":{"currency":"ESP","name":"Spanish peseta","cldr_symbol":"ESP","symbol":"ESP","code_points":[69,83,80]},"ETB":{"currency":"ETB","name":"Ethiopian birr","cldr_symbol":"ETB","symbol":"ETB","code_points":[69,84,66]},"EUR":{"currency":"EUR","name":"euro","cldr_symbol":"€","symbol":"€","code_points":[8364]},"FIM":{"currency":"FIM","name":"Finnish markka","cldr_symbol":"FIM","symbol":"FIM","code_points":[70,73,77]},"FJD":{"currency":"FJD","name":"Fijian dollar","cldr_symbol":"FJD","symbol":"FJD","code_points":[70,74,68]},"FKP":{"currency":"FKP","name":"Falkland Islands pound","cldr_symbol":"FKP","symbol":"£","code_points":[163]},"FRF":{"currency":"FRF","name":"French franc","cldr_symbol":"FRF","symbol":"FRF","code_points":[70,82,70]},"GBP":{"currency":"GBP","name":"British pound sterling","cldr_symbol":"£","symbol":"£","code_points":[163]},"GEK":{"currency":"GEK","name":"Georgian kupon larit","cldr_symbol":"GEK","symbol":"GEK","code_points":[71,69,75]},"GEL":{"currency":"GEL","name":"Georgian lari","cldr_symbol":"GEL","symbol":"GEL","code_points":[71,69,76]},"GHC":{"currency":"GHC","name":"Ghanaian cedi (1979-2007)","cldr_symbol":"GHC","symbol":"GHC","code_points":[71,72,67]},"GHS":{"currency":"GHS","name":"Ghanaian cedi","cldr_symbol":"GHS","symbol":"¢","code_points":[162]},"GIP":{"currency":"GIP","name":"Gibraltar pound","cldr_symbol":"GIP","symbol":"£","code_points":[163]},"GMD":{"currency":"GMD","name":"Gambian dalasi","cldr_symbol":"GMD","symbol":"GMD","code_points":[71,77,68]},"GNF":{"currency":"GNF","name":"Guinean franc","cldr_symbol":"GNF","symbol":"GNF","code_points":[71,78,70]},"GNS":{"currency":"GNS","name":"Guinean syli","cldr_symbol":"GNS","symbol":"GNS","code_points":[71,78,83]},"GQE":{"currency":"GQE","name":"Equatorial Guinean ekwele","cldr_symbol":"GQE","symbol":"GQE","code_points":[71,81,69]},"GRD":{"currency":"GRD","name":"Greek drachma","cldr_symbol":"GRD","symbol":"GRD","code_points":[71,82,68]},"GTQ":{"currency":"GTQ","name":"Guatemalan quetzal","cldr_symbol":"GTQ","symbol":"Q","code_points":[81]},"GWE":{"currency":"GWE","name":"Portuguese Guinea escudo","cldr_symbol":"GWE","symbol":"GWE","code_points":[71,87,69]},"GWP":{"currency":"GWP","name":"Guinea-Bissau peso","cldr_symbol":"GWP","symbol":"GWP","code_points":[71,87,80]},"GYD":{"currency":"GYD","name":"Guyanaese dollar","cldr_symbol":"GYD","symbol":"GYD","code_points":[71,89,68]},"HKD":{"currency":"HKD","name":"Hong Kong dollar","cldr_symbol":"HK$","symbol":"$","code_points":[36]},"HNL":{"currency":"HNL","name":"Honduran lempira","cldr_symbol":"HNL","symbol":"L","code_points":[76]},"HRD":{"currency":"HRD","name":"Croatian dinar","cldr_symbol":"HRD","symbol":"HRD","code_points":[72,82,68]},"HRK":{"currency":"HRK","name":"Croatian kuna","cldr_symbol":"HRK","symbol":"kn","code_points":[107,110]},"HTG":{"currency":"HTG","name":"Haitian gourde","cldr_symbol":"HTG","symbol":"HTG","code_points":[72,84,71]},"HUF":{"currency":"HUF","name":"Hungarian forint","cldr_symbol":"HUF","symbol":"Ft","code_points":[70,116]},"IDR":{"currency":"IDR","name":"Indonesian rupiah","cldr_symbol":"IDR","symbol":"Rp","code_points":[82,112]},"IEP":{"currency":"IEP","name":"Irish pound","cldr_symbol":"IEP","symbol":"IEP","code_points":[73,69,80]},"ILP":{"currency":"ILP","name":"Israeli pound","cldr_symbol":"ILP","symbol":"ILP","code_points":[73,76,80]},"ILR":{"currency":"ILR","name":"Israeli sheqel (1980-1985)","cldr_symbol":"ILR","symbol":"ILR","code_points":[73,76,82]},"ILS":{"currency":"ILS","name":"Israeli new sheqel","cldr_symbol":"₪","symbol":"₪","code_points":[8362]},"INR":{"currency":"INR","name":"Indian rupee","cldr_symbol":"₹","symbol":"₨","code_points":[8360]},"IQD":{"currency":"IQD","name":"Iraqi dinar","cldr_symbol":"IQD","symbol":"IQD","code_points":[73,81,68]},"IRR":{"currency":"IRR","name":"Iranian rial","cldr_symbol":"IRR","symbol":"﷼","code_points":[65020]},"ISJ":{"currency":"ISJ","name":"Icelandic króna (1918-1981)","cldr_symbol":"ISJ","symbol":"ISJ","code_points":[73,83,74]},"ISK":{"currency":"ISK","name":"Icelandic króna","cldr_symbol":"ISK","symbol":"kr","code_points":[107,114]},"ITL":{"currency":"ITL","name":"Italian lira","cldr_symbol":"ITL","symbol":"ITL","code_points":[73,84,76]},"JMD":{"currency":"JMD","name":"Jamaican dollar","cldr_symbol":"JMD","symbol":"JMD","code_points":[74,77,68]},"JOD":{"currency":"JOD","name":"Jordanian dinar","cldr_symbol":"JOD","symbol":"JOD","code_points":[74,79,68]},"JPY":{"currency":"JPY","name":"Japanese yen","cldr_symbol":"¥","symbol":"¥","code_points":[165]},"KES":{"currency":"KES","name":"Kenyan shilling","cldr_symbol":"KES","symbol":"KES","code_points":[75,69,83]},"KGS":{"currency":"KGS","name":"Kyrgystani som","cldr_symbol":"KGS","symbol":"лв","code_points":[1083,1074]},"KHR":{"currency":"KHR","name":"Cambodian riel","cldr_symbol":"KHR","symbol":"KHR","code_points":[75,72,82]},"KMF":{"currency":"KMF","name":"Comorian franc","cldr_symbol":"KMF","symbol":"KMF","code_points":[75,77,70]},"KPW":{"currency":"KPW","name":"North Korean won","cldr_symbol":"KPW","symbol":"₩","code_points":[8361]},"KRH":{"currency":"KRH","name":"South Korean hwan (1953-1962)","cldr_symbol":"KRH","symbol":"KRH","code_points":[75,82,72]},"KRO":{"currency":"KRO","name":"South Korean won (1945-1953)","cldr_symbol":"KRO","symbol":"KRO","code_points":[75,82,79]},"KRW":{"currency":"KRW","name":"South Korean won","cldr_symbol":"₩","symbol":"₩","code_points":[8361]},"KWD":{"currency":"KWD","name":"Kuwaiti dinar","cldr_symbol":"KWD","symbol":"KWD","code_points":[75,87,68]},"KYD":{"currency":"KYD","name":"Cayman Islands dollar","cldr_symbol":"KYD","symbol":"$","code_points":[36]},"KZT":{"currency":"KZT","name":"Kazakhstani tenge","cldr_symbol":"KZT","symbol":"лв","code_points":[1083,1074]},"LAK":{"currency":"LAK","name":"Laotian kip","cldr_symbol":"LAK","symbol":"₭","code_points":[8365]},"LBP":{"currency":"LBP","name":"Lebanese pound","cldr_symbol":"LBP","symbol":"£","code_points":[163]},"LKR":{"currency":"LKR","name":"Sri Lankan rupee","cldr_symbol":"LKR","symbol":"₨","code_points":[8360]},"LRD":{"currency":"LRD","name":"Liberian dollar","cldr_symbol":"LRD","symbol":"$","code_points":[36]},"LSL":{"currency":"LSL","name":"Lesotho loti","cldr_symbol":"LSL","symbol":"LSL","code_points":[76,83,76]},"LTL":{"currency":"LTL","name":"Lithuanian litas","cldr_symbol":"LTL","symbol":"Lt","code_points":[76,116]},"LTT":{"currency":"LTT","name":"Lithuanian talonas","cldr_symbol":"LTT","symbol":"LTT","code_points":[76,84,84]},"LUC":{"currency":"LUC","name":"Luxembourgian convertible franc","cldr_symbol":"LUC","symbol":"LUC","code_points":[76,85,67]},"LUF":{"currency":"LUF","name":"Luxembourgian franc","cldr_symbol":"LUF","symbol":"LUF","code_points":[76,85,70]},"LUL":{"currency":"LUL","name":"Luxembourg financial franc","cldr_symbol":"LUL","symbol":"LUL","code_points":[76,85,76]},"LVL":{"currency":"LVL","name":"Latvian lats","cldr_symbol":"LVL","symbol":"Ls","code_points":[76,115]},"LVR":{"currency":"LVR","name":"Latvian ruble","cldr_symbol":"LVR","symbol":"LVR","code_points":[76,86,82]},"LYD":{"currency":"LYD","name":"Libyan dinar","cldr_symbol":"LYD","symbol":"LYD","code_points":[76,89,68]},"MAD":{"currency":"MAD","name":"Moroccan dirham","cldr_symbol":"MAD","symbol":"MAD","code_points":[77,65,68]},"MAF":{"currency":"MAF","name":"Moroccan franc","cldr_symbol":"MAF","symbol":"MAF","code_points":[77,65,70]},"MCF":{"currency":"MCF","name":"Monegasque franc","cldr_symbol":"MCF","symbol":"MCF","code_points":[77,67,70]},"MDC":{"currency":"MDC","name":"Moldovan cupon","cldr_symbol":"MDC","symbol":"MDC","code_points":[77,68,67]},"MDL":{"currency":"MDL","name":"Moldovan leu","cldr_symbol":"MDL","symbol":"MDL","code_points":[77,68,76]},"MGA":{"currency":"MGA","name":"Malagasy Ariary","cldr_symbol":"MGA","symbol":"MGA","code_points":[77,71,65]},"MGF":{"currency":"MGF","name":"Malagasy franc","cldr_symbol":"MGF","symbol":"MGF","code_points":[77,71,70]},"MKD":{"currency":"MKD","name":"Macedonian denar","cldr_symbol":"MKD","symbol":"MKD","code_points":[77,75,68]},"MKN":{"currency":"MKN","name":"Macedonian denar (1992-1993)","cldr_symbol":"MKN","symbol":"MKN","code_points":[77,75,78]},"MLF":{"currency":"MLF","name":"Malian franc","cldr_symbol":"MLF","symbol":"MLF","code_points":[77,76,70]},"MMK":{"currency":"MMK","name":"Myanma kyat","cldr_symbol":"MMK","symbol":"MMK","code_points":[77,77,75]},"MNT":{"currency":"MNT","name":"Mongolian tugrik","cldr_symbol":"MNT","symbol":"₮","code_points":[8366]},"MOP":{"currency":"MOP","name":"Macanese pataca","cldr_symbol":"MOP","symbol":"MOP","code_points":[77,79,80]},"MRO":{"currency":"MRO","name":"Mauritanian ouguiya","cldr_symbol":"MRO","symbol":"MRO","code_points":[77,82,79]},"MTL":{"currency":"MTL","name":"Maltese lira","cldr_symbol":"MTL","symbol":"MTL","code_points":[77,84,76]},"MTP":{"currency":"MTP","name":"Maltese pound","cldr_symbol":"MTP","symbol":"MTP","code_points":[77,84,80]},"MUR":{"currency":"MUR","name":"Mauritian rupee","cldr_symbol":"MUR","symbol":"₨","code_points":[8360]},"MVP":{"currency":"MVP","name":"Maldivian rupee","cldr_symbol":"MVP","symbol":"MVP","code_points":[77,86,80]},"MVR":{"currency":"MVR","name":"Maldivian rufiyaa","cldr_symbol":"MVR","symbol":"MVR","code_points":[77,86,82]},"MWK":{"currency":"MWK","name":"Malawian Kwacha","cldr_symbol":"MWK","symbol":"MWK","code_points":[77,87,75]},"MXN":{"currency":"MXN","name":"Mexican peso","cldr_symbol":"MX$","symbol":"$","code_points":[36]},"MXP":{"currency":"MXP","name":"Mexican silver peso (1861-1992)","cldr_symbol":"MXP","symbol":"MXP","code_points":[77,88,80]},"MXV":{"currency":"MXV","name":"Mexican investment unit","cldr_symbol":"MXV","symbol":"MXV","code_points":[77,88,86]},"MYR":{"currency":"MYR","name":"Malaysian ringgit","cldr_symbol":"MYR","symbol":"RM","code_points":[82,77]},"MZE":{"currency":"MZE","name":"Mozambican escudo","cldr_symbol":"MZE","symbol":"MZE","code_points":[77,90,69]},"MZM":{"currency":"MZM","name":"Mozambican metical (1980-2006)","cldr_symbol":"MZM","symbol":"MZM","code_points":[77,90,77]},"MZN":{"currency":"MZN","name":"Mozambican metical","cldr_symbol":"MZN","symbol":"MT","code_points":[77,84]},"NAD":{"currency":"NAD","name":"Namibian dollar","cldr_symbol":"NAD","symbol":"$","code_points":[36]},"NGN":{"currency":"NGN","name":"Nigerian naira","cldr_symbol":"NGN","symbol":"₦","code_points":[8358]},"NIC":{"currency":"NIC","name":"Nicaraguan córdoba (1988-1991)","cldr_symbol":"NIC","symbol":"NIC","code_points":[78,73,67]},"NIO":{"currency":"NIO","name":"Nicaraguan córdoba","cldr_symbol":"NIO","symbol":"C$","code_points":[67,36]},"NLG":{"currency":"NLG","name":"Dutch guilder","cldr_symbol":"NLG","symbol":"NLG","code_points":[78,76,71]},"NOK":{"currency":"NOK","name":"Norwegian krone","cldr_symbol":"NOK","symbol":"kr","code_points":[107,114]},"NPR":{"currency":"NPR","name":"Nepalese rupee","cldr_symbol":"NPR","symbol":"₨","code_points":[8360]},"NZD":{"currency":"NZD","name":"New Zealand dollar","cldr_symbol":"NZ$","symbol":"$","code_points":[36]},"OMR":{"currency":"OMR","name":"Omani rial","cldr_symbol":"OMR","symbol":"﷼","code_points":[65020]},"PAB":{"currency":"PAB","name":"Panamanian balboa","cldr_symbol":"PAB","symbol":"B/.","code_points":[66,47,46]},"PEI":{"currency":"PEI","name":"Peruvian inti","cldr_symbol":"PEI","symbol":"PEI","code_points":[80,69,73]},"PEN":{"currency":"PEN","name":"Peruvian nuevo sol","cldr_symbol":"PEN","symbol":"S/.","code_points":[83,47,46]},"PES":{"currency":"PES","name":"Peruvian sol (1863-1965)","cldr_symbol":"PES","symbol":"PES","code_points":[80,69,83]},"PGK":{"currency":"PGK","name":"Papua New Guinean kina","cldr_symbol":"PGK","symbol":"PGK","code_points":[80,71,75]},"PHP":{"currency":"PHP","name":"Philippine peso","cldr_symbol":"PHP","symbol":"Php","code_points":[80,104,112]},"PKR":{"currency":"PKR","name":"Pakistani rupee","cldr_symbol":"PKR","symbol":"₨","code_points":[8360]},"PLN":{"currency":"PLN","name":"Polish zloty","cldr_symbol":"PLN","symbol":"zł","code_points":[122,322]},"PLZ":{"currency":"PLZ","name":"Polish zloty (PLZ)","cldr_symbol":"PLZ","symbol":"PLZ","code_points":[80,76,90]},"PTE":{"currency":"PTE","name":"Portuguese escudo","cldr_symbol":"PTE","symbol":"PTE","code_points":[80,84,69]},"PYG":{"currency":"PYG","name":"Paraguayan guarani","cldr_symbol":"PYG","symbol":"Gs","code_points":[71,115]},"QAR":{"currency":"QAR","name":"Qatari rial","cldr_symbol":"QAR","symbol":"﷼","code_points":[65020]},"RHD":{"currency":"RHD","name":"Rhodesian dollar","cldr_symbol":"RHD","symbol":"RHD","code_points":[82,72,68]},"ROL":{"currency":"ROL","name":"Romanian leu (1952-2006)","cldr_symbol":"ROL","symbol":"ROL","code_points":[82,79,76]},"RON":{"currency":"RON","name":"Romanian leu","cldr_symbol":"RON","symbol":"lei","code_points":[108,101,105]},"RSD":{"currency":"RSD","name":"Serbian dinar","cldr_symbol":"RSD","symbol":"Дин.","code_points":[1044,1080,1085,46]},"RUB":{"currency":"RUB","name":"Russian ruble","cldr_symbol":"RUB","symbol":"руб","code_points":[1088,1091,1073]},"RUR":{"currency":"RUR","name":"Russian ruble (1991-1998)","cldr_symbol":"RUR","symbol":"RUR","code_points":[82,85,82]},"RWF":{"currency":"RWF","name":"Rwandan franc","cldr_symbol":"RWF","symbol":"RWF","code_points":[82,87,70]},"SAR":{"currency":"SAR","name":"Saudi riyal","cldr_symbol":"SAR","symbol":"﷼","code_points":[65020]},"SBD":{"currency":"SBD","name":"Solomon Islands dollar","cldr_symbol":"SBD","symbol":"$","code_points":[36]},"SCR":{"currency":"SCR","name":"Seychellois rupee","cldr_symbol":"SCR","symbol":"₨","code_points":[8360]},"SDD":{"currency":"SDD","name":"Sudanese dinar (1992-2007)","cldr_symbol":"SDD","symbol":"SDD","code_points":[83,68,68]},"SDG":{"currency":"SDG","name":"Sudanese pound","cldr_symbol":"SDG","symbol":"SDG","code_points":[83,68,71]},"SDP":{"currency":"SDP","name":"Sudanese pound (1957-1998)","cldr_symbol":"SDP","symbol":"SDP","code_points":[83,68,80]},"SEK":{"currency":"SEK","name":"Swedish krona","cldr_symbol":"SEK","symbol":"kr","code_points":[107,114]},"SGD":{"currency":"SGD","name":"Singapore dollar","cldr_symbol":"SGD","symbol":"$","code_points":[36]},"SHP":{"currency":"SHP","name":"Saint Helena pound","cldr_symbol":"SHP","symbol":"£","code_points":[163]},"SIT":{"currency":"SIT","name":"Slovenian tolar","cldr_symbol":"SIT","symbol":"SIT","code_points":[83,73,84]},"SKK":{"currency":"SKK","name":"Slovak koruna","cldr_symbol":"SKK","symbol":"SKK","code_points":[83,75,75]},"SLL":{"currency":"SLL","name":"Sierra Leonean leone","cldr_symbol":"SLL","symbol":"SLL","code_points":[83,76,76]},"SOS":{"currency":"SOS","name":"Somali shilling","cldr_symbol":"SOS","symbol":"S","code_points":[83]},"SRD":{"currency":"SRD","name":"Surinamese dollar","cldr_symbol":"SRD","symbol":"$","code_points":[36]},"SRG":{"currency":"SRG","name":"Surinamese guilder","cldr_symbol":"SRG","symbol":"SRG","code_points":[83,82,71]},"SSP":{"currency":"SSP","name":"South Sudanese pound","cldr_symbol":"SSP","symbol":"SSP","code_points":[83,83,80]},"STD":{"currency":"STD","name":"São Tomé and Príncipe dobra","cldr_symbol":"STD","symbol":"STD","code_points":[83,84,68]},"SUR":{"currency":"SUR","name":"Soviet rouble","cldr_symbol":"SUR","symbol":"SUR","code_points":[83,85,82]},"SVC":{"currency":"SVC","name":"Salvadoran colón","cldr_symbol":"SVC","symbol":"SVC","code_points":[83,86,67]},"SYP":{"currency":"SYP","name":"Syrian pound","cldr_symbol":"SYP","symbol":"£","code_points":[163]},"SZL":{"currency":"SZL","name":"Swazi lilangeni","cldr_symbol":"SZL","symbol":"SZL","code_points":[83,90,76]},"THB":{"currency":"THB","name":"Thai baht","cldr_symbol":"฿","symbol":"฿","code_points":[3647]},"TJR":{"currency":"TJR","name":"Tajikistani ruble","cldr_symbol":"TJR","symbol":"TJR","code_points":[84,74,82]},"TJS":{"currency":"TJS","name":"Tajikistani somoni","cldr_symbol":"TJS","symbol":"TJS","code_points":[84,74,83]},"TMM":{"currency":"TMM","name":"Turkmenistani manat (1993-2009)","cldr_symbol":"TMM","symbol":"TMM","code_points":[84,77,77]},"TMT":{"currency":"TMT","name":"Turkmenistani manat","cldr_symbol":"TMT","symbol":"TMT","code_points":[84,77,84]},"TND":{"currency":"TND","name":"Tunisian dinar","cldr_symbol":"TND","symbol":"TND","code_points":[84,78,68]},"TOP":{"currency":"TOP","name":"Tongan paʻanga","cldr_symbol":"TOP","symbol":"TOP","code_points":[84,79,80]},"TPE":{"currency":"TPE","name":"Timorese escudo","cldr_symbol":"TPE","symbol":"TPE","code_points":[84,80,69]},"TRL":{"currency":"TRL","name":"Turkish lira (1922-2005)","cldr_symbol":"TRL","symbol":"TRL","code_points":[84,82,76]},"TRY":{"currency":"TRY","name":"Turkish lira","cldr_symbol":"TRY","symbol":"TL","code_points":[84,76]},"TTD":{"currency":"TTD","name":"Trinidad and Tobago dollar","cldr_symbol":"TTD","symbol":"$","code_points":[36]},"TWD":{"currency":"TWD","name":"New Taiwan dollar","cldr_symbol":"NT$","symbol":"NT$","code_points":[78,84,36]},"TZS":{"currency":"TZS","name":"Tanzanian shilling","cldr_symbol":"TZS","symbol":"TZS","code_points":[84,90,83]},"UAH":{"currency":"UAH","name":"Ukrainian hryvnia","cldr_symbol":"UAH","symbol":"₴","code_points":[8372]},"UAK":{"currency":"UAK","name":"Ukrainian karbovanets","cldr_symbol":"UAK","symbol":"UAK","code_points":[85,65,75]},"UGS":{"currency":"UGS","name":"Ugandan shilling (1966-1987)","cldr_symbol":"UGS","symbol":"UGS","code_points":[85,71,83]},"UGX":{"currency":"UGX","name":"Ugandan shilling","cldr_symbol":"UGX","symbol":"UGX","code_points":[85,71,88]},"USD":{"currency":"USD","name":"US dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"USN":{"currency":"USN","name":"US dollar (next day)","cldr_symbol":"USN","symbol":"USN","code_points":[85,83,78]},"USS":{"currency":"USS","name":"US dollar (same day)","cldr_symbol":"USS","symbol":"USS","code_points":[85,83,83]},"UYI":{"currency":"UYI","name":"Uruguayan peso (indexed units)","cldr_symbol":"UYI","symbol":"UYI","code_points":[85,89,73]},"UYP":{"currency":"UYP","name":"Uruguayan peso (1975-1993)","cldr_symbol":"UYP","symbol":"UYP","code_points":[85,89,80]},"UYU":{"currency":"UYU","name":"Uruguayan peso","cldr_symbol":"UYU","symbol":"$U","code_points":[36,85]},"UZS":{"currency":"UZS","name":"Uzbekistan som","cldr_symbol":"UZS","symbol":"лв","code_points":[1083,1074]},"VEB":{"currency":"VEB","name":"Venezuelan bolívar (1871-2008)","cldr_symbol":"VEB","symbol":"VEB","code_points":[86,69,66]},"VEF":{"currency":"VEF","name":"Venezuelan bolívar","cldr_symbol":"VEF","symbol":"Bs","code_points":[66,115]},"VND":{"currency":"VND","name":"Vietnamese dong","cldr_symbol":"₫","symbol":"₫","code_points":[8363]},"VNN":{"currency":"VNN","name":"Vietnamese dong (1978-1985)","cldr_symbol":"VNN","symbol":"VNN","code_points":[86,78,78]},"VUV":{"currency":"VUV","name":"Vanuatu vatu","cldr_symbol":"VUV","symbol":"VUV","code_points":[86,85,86]},"WST":{"currency":"WST","name":"Samoan tala","cldr_symbol":"WST","symbol":"WST","code_points":[87,83,84]},"XAF":{"currency":"XAF","name":"CFA franc BEAC","cldr_symbol":"FCFA","symbol":"FCFA","code_points":[70,67,70,65]},"XAG":{"currency":"XAG","name":"troy ounce of silver","cldr_symbol":"XAG","symbol":"XAG","code_points":[88,65,71]},"XAU":{"currency":"XAU","name":"troy ounce of gold","cldr_symbol":"XAU","symbol":"XAU","code_points":[88,65,85]},"XBA":{"currency":"XBA","name":"European composite unit","cldr_symbol":"XBA","symbol":"XBA","code_points":[88,66,65]},"XBB":{"currency":"XBB","name":"European monetary unit","cldr_symbol":"XBB","symbol":"XBB","code_points":[88,66,66]},"XBC":{"currency":"XBC","name":"European unit of account (XBC)","cldr_symbol":"XBC","symbol":"XBC","code_points":[88,66,67]},"XBD":{"currency":"XBD","name":"European unit of account (XBD)","cldr_symbol":"XBD","symbol":"XBD","code_points":[88,66,68]},"XCD":{"currency":"XCD","name":"East Caribbean dollar","cldr_symbol":"EC$","symbol":"$","code_points":[36]},"XDR":{"currency":"XDR","name":"special drawing rights","cldr_symbol":"XDR","symbol":"XDR","code_points":[88,68,82]},"XEU":{"currency":"XEU","name":"European currency unit","cldr_symbol":"XEU","symbol":"XEU","code_points":[88,69,85]},"XFO":{"currency":"XFO","name":"French gold franc","cldr_symbol":"XFO","symbol":"XFO","code_points":[88,70,79]},"XFU":{"currency":"XFU","name":"French UIC-franc","cldr_symbol":"XFU","symbol":"XFU","code_points":[88,70,85]},"XOF":{"currency":"XOF","name":"CFA franc BCEAO","cldr_symbol":"CFA","symbol":"CFA","code_points":[67,70,65]},"XPD":{"currency":"XPD","name":"troy ounce of palladium","cldr_symbol":"XPD","symbol":"XPD","code_points":[88,80,68]},"XPF":{"currency":"XPF","name":"CFP franc","cldr_symbol":"CFPF","symbol":"CFPF","code_points":[67,70,80,70]},"XPT":{"currency":"XPT","name":"troy ounce of platinum","cldr_symbol":"XPT","symbol":"XPT","code_points":[88,80,84]},"XRE":{"currency":"XRE","name":"RINET Funds unit","cldr_symbol":"XRE","symbol":"XRE","code_points":[88,82,69]},"XSU":{"currency":"XSU","name":"Sucre","cldr_symbol":"XSU","symbol":"XSU","code_points":[88,83,85]},"XTS":{"currency":"XTS","name":"Testing Currency unit","cldr_symbol":"XTS","symbol":"XTS","code_points":[88,84,83]},"XUA":{"currency":"XUA","name":"ADB unit of account","cldr_symbol":"XUA","symbol":"XUA","code_points":[88,85,65]},"XXX":{"currency":"XXX","name":"(unknown unit of currency)","cldr_symbol":"XXX","symbol":"XXX","code_points":[88,88,88]},"YDD":{"currency":"YDD","name":"Yemeni dinar","cldr_symbol":"YDD","symbol":"YDD","code_points":[89,68,68]},"YER":{"currency":"YER","name":"Yemeni rial","cldr_symbol":"YER","symbol":"﷼","code_points":[65020]},"YUD":{"currency":"YUD","name":"Yugoslavian hard dinar (1966-1990)","cldr_symbol":"YUD","symbol":"YUD","code_points":[89,85,68]},"YUM":{"currency":"YUM","name":"Yugoslavian new dinar (1994-2002)","cldr_symbol":"YUM","symbol":"YUM","code_points":[89,85,77]},"YUN":{"currency":"YUN","name":"Yugoslavian convertible dinar (1990-1992)","cldr_symbol":"YUN","symbol":"YUN","code_points":[89,85,78]},"YUR":{"currency":"YUR","name":"Yugoslavian reformed dinar (1992-1993)","cldr_symbol":"YUR","symbol":"YUR","code_points":[89,85,82]},"ZAL":{"currency":"ZAL","name":"South African rand (financial)","cldr_symbol":"ZAL","symbol":"ZAL","code_points":[90,65,76]},"ZAR":{"currency":"ZAR","name":"South African rand","cldr_symbol":"ZAR","symbol":"R","code_points":[82]},"ZMK":{"currency":"ZMK","name":"Zambian kwacha (1968-2012)","cldr_symbol":"ZMK","symbol":"ZMK","code_points":[90,77,75]},"ZMW":{"currency":"ZMW","name":"Zambian kwacha","cldr_symbol":"ZMW","symbol":"ZMW","code_points":[90,77,87]},"ZRN":{"currency":"ZRN","name":"Zairean new zaire (1993-1998)","cldr_symbol":"ZRN","symbol":"ZRN","code_points":[90,82,78]},"ZRZ":{"currency":"ZRZ","name":"Zairean zaire (1971-1993)","cldr_symbol":"ZRZ","symbol":"ZRZ","code_points":[90,82,90]},"ZWD":{"currency":"ZWD","name":"Zimbabwean dollar (1980-2008)","cldr_symbol":"ZWD","symbol":"Z$","code_points":[90,36]},"ZWL":{"currency":"ZWL","name":"Zimbabwean dollar (2009)","cldr_symbol":"ZWL","symbol":"ZWL","code_points":[90,87,76]},"ZWR":{"currency":"ZWR","name":"Zimbabwean dollar (2008)","cldr_symbol":"ZWR","symbol":"ZWR","code_points":[90,87,82]}};
|
1238
|
+
Currencies.currencies = {"ADP":{"currency":"ADP","name":"Andorran peseta","cldr_symbol":"ADP","symbol":"ADP","code_points":[65,68,80]},"AED":{"currency":"AED","name":"UAE dirham","cldr_symbol":"AED","symbol":"AED","code_points":[65,69,68]},"AFA":{"currency":"AFA","name":"Afghan afghani (1927–2002)","cldr_symbol":"AFA","symbol":"AFA","code_points":[65,70,65]},"AFN":{"currency":"AFN","name":"Afghan Afghani","cldr_symbol":"AFN","symbol":"؋","code_points":[1547]},"ALK":{"currency":"ALK","name":"Albanian lek (1946–1965)","cldr_symbol":"ALK","symbol":"ALK","code_points":[65,76,75]},"ALL":{"currency":"ALL","name":"Albanian lek","cldr_symbol":"ALL","symbol":"LEK","code_points":[76,69,75]},"AMD":{"currency":"AMD","name":"Armenian dram","cldr_symbol":"AMD","symbol":"AMD","code_points":[65,77,68]},"ANG":{"currency":"ANG","name":"Netherlands Antillean guilder","cldr_symbol":"ANG","symbol":"ƒ","code_points":[402]},"AOA":{"currency":"AOA","name":"Angolan kwanza","cldr_symbol":"AOA","symbol":"AOA","code_points":[65,79,65]},"AOK":{"currency":"AOK","name":"Angolan kwanza (1977–1991)","cldr_symbol":"AOK","symbol":"AOK","code_points":[65,79,75]},"AON":{"currency":"AON","name":"Angolan new kwanza (1990–2000)","cldr_symbol":"AON","symbol":"AON","code_points":[65,79,78]},"AOR":{"currency":"AOR","name":"Angolan readjusted kwanza (1995–1999)","cldr_symbol":"AOR","symbol":"AOR","code_points":[65,79,82]},"ARA":{"currency":"ARA","name":"Argentine austral","cldr_symbol":"ARA","symbol":"ARA","code_points":[65,82,65]},"ARL":{"currency":"ARL","name":"Argentine peso ley (1970–1983)","cldr_symbol":"ARL","symbol":"ARL","code_points":[65,82,76]},"ARM":{"currency":"ARM","name":"Argentine peso (1881–1970)","cldr_symbol":"ARM","symbol":"ARM","code_points":[65,82,77]},"ARP":{"currency":"ARP","name":"Argentine peso (1983–1985)","cldr_symbol":"ARP","symbol":"ARP","code_points":[65,82,80]},"ARS":{"currency":"ARS","name":"Argentine peso","cldr_symbol":"$","symbol":"$","code_points":[36]},"ATS":{"currency":"ATS","name":"Austrian schilling","cldr_symbol":"ATS","symbol":"ATS","code_points":[65,84,83]},"AUD":{"currency":"AUD","name":"Australian dollar","cldr_symbol":"A$","symbol":"$","code_points":[36]},"AWG":{"currency":"AWG","name":"Aruban florin","cldr_symbol":"AWG","symbol":"ƒ","code_points":[402],"alt_name":"Florins"},"AZM":{"currency":"AZM","name":"Azerbaijani manat (1993–2006)","cldr_symbol":"AZM","symbol":"AZM","code_points":[65,90,77]},"AZN":{"currency":"AZN","name":"Azerbaijani manat","cldr_symbol":"AZN","symbol":"ман","code_points":[1084,1072,1085]},"BAD":{"currency":"BAD","name":"Bosnia-Herzegovina dinar (1992–1994)","cldr_symbol":"BAD","symbol":"BAD","code_points":[66,65,68]},"BAM":{"currency":"BAM","name":"Bosnia-Herzegovina convertible mark","cldr_symbol":"BAM","symbol":"KM","code_points":[75,77]},"BAN":{"currency":"BAN","name":"Bosnia-Herzegovina new dinar (1994–1997)","cldr_symbol":"BAN","symbol":"BAN","code_points":[66,65,78]},"BBD":{"currency":"BBD","name":"Barbadian dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"BDT":{"currency":"BDT","name":"Bangladeshi taka","cldr_symbol":"৳","symbol":"৳","code_points":[2547]},"BEC":{"currency":"BEC","name":"Belgian franc (convertible)","cldr_symbol":"BEC","symbol":"BEC","code_points":[66,69,67]},"BEF":{"currency":"BEF","name":"Belgian franc","cldr_symbol":"BEF","symbol":"BEF","code_points":[66,69,70]},"BEL":{"currency":"BEL","name":"Belgian franc (financial)","cldr_symbol":"BEL","symbol":"BEL","code_points":[66,69,76]},"BGL":{"currency":"BGL","name":"Bulgarian hard lev","cldr_symbol":"BGL","symbol":"BGL","code_points":[66,71,76]},"BGM":{"currency":"BGM","name":"Bulgarian socialist lev","cldr_symbol":"BGM","symbol":"BGM","code_points":[66,71,77]},"BGN":{"currency":"BGN","name":"Bulgarian lev","cldr_symbol":"BGN","symbol":"лв","code_points":[1083,1074]},"BGO":{"currency":"BGO","name":"Bulgarian lev (1879–1952)","cldr_symbol":"BGO","symbol":"BGO","code_points":[66,71,79]},"BHD":{"currency":"BHD","name":"Bahraini dinar","cldr_symbol":"BHD","symbol":"BHD","code_points":[66,72,68]},"BIF":{"currency":"BIF","name":"Burundian franc","cldr_symbol":"BIF","symbol":"BIF","code_points":[66,73,70]},"BMD":{"currency":"BMD","name":"Bermudan dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"BND":{"currency":"BND","name":"Brunei dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"BOB":{"currency":"BOB","name":"Bolivian boliviano","cldr_symbol":"BOB","symbol":"$b","code_points":[36,98]},"BOL":{"currency":"BOL","name":"Bolivian boliviano (1863–1963)","cldr_symbol":"BOL","symbol":"BOL","code_points":[66,79,76]},"BOP":{"currency":"BOP","name":"Bolivian peso","cldr_symbol":"BOP","symbol":"BOP","code_points":[66,79,80]},"BOV":{"currency":"BOV","name":"Bolivian mvdol","cldr_symbol":"BOV","symbol":"BOV","code_points":[66,79,86]},"BRB":{"currency":"BRB","name":"Brazilian new cruzeiro (1967–1986)","cldr_symbol":"BRB","symbol":"BRB","code_points":[66,82,66]},"BRC":{"currency":"BRC","name":"Brazilian cruzado (1986–1989)","cldr_symbol":"BRC","symbol":"BRC","code_points":[66,82,67]},"BRE":{"currency":"BRE","name":"Brazilian cruzeiro (1990–1993)","cldr_symbol":"BRE","symbol":"BRE","code_points":[66,82,69]},"BRL":{"currency":"BRL","name":"Brazilian real","cldr_symbol":"R$","symbol":"R$","code_points":[82,36]},"BRN":{"currency":"BRN","name":"Brazilian new cruzado (1989–1990)","cldr_symbol":"BRN","symbol":"BRN","code_points":[66,82,78]},"BRR":{"currency":"BRR","name":"Brazilian cruzeiro (1993–1994)","cldr_symbol":"BRR","symbol":"BRR","code_points":[66,82,82]},"BRZ":{"currency":"BRZ","name":"Brazilian cruzeiro (1942–1967)","cldr_symbol":"BRZ","symbol":"BRZ","code_points":[66,82,90]},"BSD":{"currency":"BSD","name":"Bahamian dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"BTN":{"currency":"BTN","name":"Bhutanese ngultrum","cldr_symbol":"BTN","symbol":"BTN","code_points":[66,84,78]},"BUK":{"currency":"BUK","name":"Burmese kyat","cldr_symbol":"BUK","symbol":"BUK","code_points":[66,85,75]},"BWP":{"currency":"BWP","name":"Botswanan pula","cldr_symbol":"BWP","symbol":"P","code_points":[80]},"BYB":{"currency":"BYB","name":"Belarusian new ruble (1994–1999)","cldr_symbol":"BYB","symbol":"BYB","code_points":[66,89,66]},"BYR":{"currency":"BYR","name":"Belarusian ruble","cldr_symbol":"р.","symbol":"p.","code_points":[112,46]},"BZD":{"currency":"BZD","name":"Belize dollar","cldr_symbol":"$","symbol":"BZ$","code_points":[66,90,36]},"CAD":{"currency":"CAD","name":"Canadian dollar","cldr_symbol":"CA$","symbol":"$","code_points":[36]},"CDF":{"currency":"CDF","name":"Congolese franc","cldr_symbol":"CDF","symbol":"CDF","code_points":[67,68,70]},"CHE":{"currency":"CHE","name":"WIR euro","cldr_symbol":"CHE","symbol":"CHE","code_points":[67,72,69]},"CHF":{"currency":"CHF","name":"Swiss franc","cldr_symbol":"CHF","symbol":"CHF","code_points":[67,72,70]},"CHW":{"currency":"CHW","name":"WIR franc","cldr_symbol":"CHW","symbol":"CHW","code_points":[67,72,87]},"CLE":{"currency":"CLE","name":"Chilean escudo","cldr_symbol":"CLE","symbol":"CLE","code_points":[67,76,69]},"CLF":{"currency":"CLF","name":"Chilean unit of account (UF)","cldr_symbol":"CLF","symbol":"CLF","code_points":[67,76,70]},"CLP":{"currency":"CLP","name":"Chilean peso","cldr_symbol":"$","symbol":"$","code_points":[36]},"CNX":{"currency":"CNX","name":"Chinese People’s Bank dollar","cldr_symbol":"CNX","symbol":"CNX","code_points":[67,78,88]},"CNY":{"currency":"CNY","name":"Chinese yuan","cldr_symbol":"CN¥","symbol":"¥","code_points":[165]},"COP":{"currency":"COP","name":"Colombian peso","cldr_symbol":"$","symbol":"$","code_points":[36]},"COU":{"currency":"COU","name":"Colombian real value unit","cldr_symbol":"COU","symbol":"COU","code_points":[67,79,85]},"CRC":{"currency":"CRC","name":"Costa Rican colón","cldr_symbol":"₡","symbol":"₡","code_points":[8353]},"CSD":{"currency":"CSD","name":"Serbian dinar (2002–2006)","cldr_symbol":"CSD","symbol":"CSD","code_points":[67,83,68]},"CSK":{"currency":"CSK","name":"Czechoslovak hard koruna","cldr_symbol":"CSK","symbol":"CSK","code_points":[67,83,75]},"CUC":{"currency":"CUC","name":"Cuban convertible peso","cldr_symbol":"CUC","symbol":"CUC","code_points":[67,85,67]},"CUP":{"currency":"CUP","name":"Cuban peso","cldr_symbol":"$","symbol":"₱","code_points":[8369]},"CVE":{"currency":"CVE","name":"Cape Verdean escudo","cldr_symbol":"CVE","symbol":"CVE","code_points":[67,86,69]},"CYP":{"currency":"CYP","name":"Cypriot pound","cldr_symbol":"CYP","symbol":"CYP","code_points":[67,89,80]},"CZK":{"currency":"CZK","name":"Czech Republic koruna","cldr_symbol":"CZK","symbol":"Kč","code_points":[75,269]},"DDM":{"currency":"DDM","name":"East German mark","cldr_symbol":"DDM","symbol":"DDM","code_points":[68,68,77]},"DEM":{"currency":"DEM","name":"German mark","cldr_symbol":"DEM","symbol":"DEM","code_points":[68,69,77]},"DJF":{"currency":"DJF","name":"Djiboutian franc","cldr_symbol":"DJF","symbol":"DJF","code_points":[68,74,70]},"DKK":{"currency":"DKK","name":"Danish krone","cldr_symbol":"DKK","symbol":"kr","code_points":[107,114]},"DOP":{"currency":"DOP","name":"Dominican peso","cldr_symbol":"$","symbol":"RD$","code_points":[82,68,36]},"DZD":{"currency":"DZD","name":"Algerian dinar","cldr_symbol":"DZD","symbol":"DZD","code_points":[68,90,68]},"ECS":{"currency":"ECS","name":"Ecuadorian sucre","cldr_symbol":"ECS","symbol":"ECS","code_points":[69,67,83]},"ECV":{"currency":"ECV","name":"Ecuadorian unit of constant value","cldr_symbol":"ECV","symbol":"ECV","code_points":[69,67,86]},"EEK":{"currency":"EEK","name":"Estonian kroon","cldr_symbol":"EEK","symbol":"kr","code_points":[107,114]},"EGP":{"currency":"EGP","name":"Egyptian pound","cldr_symbol":"EGP","symbol":"£","code_points":[163]},"ERN":{"currency":"ERN","name":"Eritrean nakfa","cldr_symbol":"ERN","symbol":"ERN","code_points":[69,82,78]},"ESA":{"currency":"ESA","name":"Spanish peseta (A account)","cldr_symbol":"ESA","symbol":"ESA","code_points":[69,83,65]},"ESB":{"currency":"ESB","name":"Spanish peseta (convertible account)","cldr_symbol":"ESB","symbol":"ESB","code_points":[69,83,66]},"ESP":{"currency":"ESP","name":"Spanish peseta","cldr_symbol":"₧","symbol":"₧","code_points":[8359]},"ETB":{"currency":"ETB","name":"Ethiopian birr","cldr_symbol":"ETB","symbol":"ETB","code_points":[69,84,66]},"EUR":{"currency":"EUR","name":"euro","cldr_symbol":"€","symbol":"€","code_points":[8364]},"FIM":{"currency":"FIM","name":"Finnish markka","cldr_symbol":"FIM","symbol":"FIM","code_points":[70,73,77]},"FJD":{"currency":"FJD","name":"Fijian dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"FKP":{"currency":"FKP","name":"Falkland Islands pound","cldr_symbol":"FKP","symbol":"£","code_points":[163]},"FRF":{"currency":"FRF","name":"French franc","cldr_symbol":"FRF","symbol":"FRF","code_points":[70,82,70]},"GBP":{"currency":"GBP","name":"British pound sterling","cldr_symbol":"£","symbol":"£","code_points":[163]},"GEK":{"currency":"GEK","name":"Georgian kupon larit","cldr_symbol":"GEK","symbol":"GEK","code_points":[71,69,75]},"GEL":{"currency":"GEL","name":"Georgian lari","cldr_symbol":"GEL","symbol":"GEL","code_points":[71,69,76]},"GHC":{"currency":"GHC","name":"Ghanaian cedi (1979–2007)","cldr_symbol":"GHC","symbol":"GHC","code_points":[71,72,67]},"GHS":{"currency":"GHS","name":"Ghanaian cedi","cldr_symbol":"₵","symbol":"¢","code_points":[162]},"GIP":{"currency":"GIP","name":"Gibraltar pound","cldr_symbol":"£","symbol":"£","code_points":[163]},"GMD":{"currency":"GMD","name":"Gambian dalasi","cldr_symbol":"GMD","symbol":"GMD","code_points":[71,77,68]},"GNF":{"currency":"GNF","name":"Guinean franc","cldr_symbol":"GNF","symbol":"GNF","code_points":[71,78,70]},"GNS":{"currency":"GNS","name":"Guinean syli","cldr_symbol":"GNS","symbol":"GNS","code_points":[71,78,83]},"GQE":{"currency":"GQE","name":"Equatorial Guinean ekwele","cldr_symbol":"GQE","symbol":"GQE","code_points":[71,81,69]},"GRD":{"currency":"GRD","name":"Greek drachma","cldr_symbol":"GRD","symbol":"GRD","code_points":[71,82,68]},"GTQ":{"currency":"GTQ","name":"Guatemalan quetzal","cldr_symbol":"GTQ","symbol":"Q","code_points":[81]},"GWE":{"currency":"GWE","name":"Portuguese Guinea escudo","cldr_symbol":"GWE","symbol":"GWE","code_points":[71,87,69]},"GWP":{"currency":"GWP","name":"Guinea-Bissau peso","cldr_symbol":"GWP","symbol":"GWP","code_points":[71,87,80]},"GYD":{"currency":"GYD","name":"Guyanaese dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"HKD":{"currency":"HKD","name":"Hong Kong dollar","cldr_symbol":"HK$","symbol":"$","code_points":[36]},"HNL":{"currency":"HNL","name":"Honduran lempira","cldr_symbol":"HNL","symbol":"L","code_points":[76]},"HRD":{"currency":"HRD","name":"Croatian dinar","cldr_symbol":"HRD","symbol":"HRD","code_points":[72,82,68]},"HRK":{"currency":"HRK","name":"Croatian kuna","cldr_symbol":"HRK","symbol":"kn","code_points":[107,110]},"HTG":{"currency":"HTG","name":"Haitian gourde","cldr_symbol":"HTG","symbol":"HTG","code_points":[72,84,71]},"HUF":{"currency":"HUF","name":"Hungarian forint","cldr_symbol":"HUF","symbol":"Ft","code_points":[70,116]},"IDR":{"currency":"IDR","name":"Indonesian rupiah","cldr_symbol":"IDR","symbol":"Rp","code_points":[82,112]},"IEP":{"currency":"IEP","name":"Irish pound","cldr_symbol":"IEP","symbol":"IEP","code_points":[73,69,80]},"ILP":{"currency":"ILP","name":"Israeli pound","cldr_symbol":"ILP","symbol":"ILP","code_points":[73,76,80]},"ILR":{"currency":"ILR","name":"Israeli sheqel (1980–1985)","cldr_symbol":"ILR","symbol":"ILR","code_points":[73,76,82]},"ILS":{"currency":"ILS","name":"Israeli new sheqel","cldr_symbol":"₪","symbol":"₪","code_points":[8362]},"INR":{"currency":"INR","name":"Indian rupee","cldr_symbol":"₹","symbol":"₨","code_points":[8360]},"IQD":{"currency":"IQD","name":"Iraqi dinar","cldr_symbol":"IQD","symbol":"IQD","code_points":[73,81,68]},"IRR":{"currency":"IRR","name":"Iranian rial","cldr_symbol":"IRR","symbol":"﷼","code_points":[65020]},"ISJ":{"currency":"ISJ","name":"Icelandic króna (1918–1981)","cldr_symbol":"ISJ","symbol":"ISJ","code_points":[73,83,74]},"ISK":{"currency":"ISK","name":"Icelandic króna","cldr_symbol":"ISK","symbol":"kr","code_points":[107,114]},"ITL":{"currency":"ITL","name":"Italian lira","cldr_symbol":"ITL","symbol":"ITL","code_points":[73,84,76]},"JMD":{"currency":"JMD","name":"Jamaican dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"JOD":{"currency":"JOD","name":"Jordanian dinar","cldr_symbol":"JOD","symbol":"JOD","code_points":[74,79,68]},"JPY":{"currency":"JPY","name":"Japanese yen","cldr_symbol":"¥","symbol":"¥","code_points":[165]},"KES":{"currency":"KES","name":"Kenyan shilling","cldr_symbol":"KES","symbol":"KES","code_points":[75,69,83]},"KGS":{"currency":"KGS","name":"Kyrgystani som","cldr_symbol":"KGS","symbol":"лв","code_points":[1083,1074]},"KHR":{"currency":"KHR","name":"Cambodian riel","cldr_symbol":"៛","symbol":"៛","code_points":[6107]},"KMF":{"currency":"KMF","name":"Comorian franc","cldr_symbol":"KMF","symbol":"KMF","code_points":[75,77,70]},"KPW":{"currency":"KPW","name":"North Korean won","cldr_symbol":"KPW","symbol":"₩","code_points":[8361]},"KRH":{"currency":"KRH","name":"South Korean hwan (1953–1962)","cldr_symbol":"KRH","symbol":"KRH","code_points":[75,82,72]},"KRO":{"currency":"KRO","name":"South Korean won (1945–1953)","cldr_symbol":"KRO","symbol":"KRO","code_points":[75,82,79]},"KRW":{"currency":"KRW","name":"South Korean won","cldr_symbol":"₩","symbol":"₩","code_points":[8361]},"KWD":{"currency":"KWD","name":"Kuwaiti dinar","cldr_symbol":"KWD","symbol":"KWD","code_points":[75,87,68]},"KYD":{"currency":"KYD","name":"Cayman Islands dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"KZT":{"currency":"KZT","name":"Kazakhstani tenge","cldr_symbol":"₸","symbol":"лв","code_points":[1083,1074]},"LAK":{"currency":"LAK","name":"Laotian kip","cldr_symbol":"₭","symbol":"₭","code_points":[8365]},"LBP":{"currency":"LBP","name":"Lebanese pound","cldr_symbol":"LBP","symbol":"£","code_points":[163]},"LKR":{"currency":"LKR","name":"Sri Lankan rupee","cldr_symbol":"LKR","symbol":"₨","code_points":[8360]},"LRD":{"currency":"LRD","name":"Liberian dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"LSL":{"currency":"LSL","name":"Lesotho loti","cldr_symbol":"LSL","symbol":"LSL","code_points":[76,83,76]},"LTL":{"currency":"LTL","name":"Lithuanian litas","cldr_symbol":"LTL","symbol":"Lt","code_points":[76,116]},"LTT":{"currency":"LTT","name":"Lithuanian talonas","cldr_symbol":"LTT","symbol":"LTT","code_points":[76,84,84]},"LUC":{"currency":"LUC","name":"Luxembourgian convertible franc","cldr_symbol":"LUC","symbol":"LUC","code_points":[76,85,67]},"LUF":{"currency":"LUF","name":"Luxembourgian franc","cldr_symbol":"LUF","symbol":"LUF","code_points":[76,85,70]},"LUL":{"currency":"LUL","name":"Luxembourg financial franc","cldr_symbol":"LUL","symbol":"LUL","code_points":[76,85,76]},"LVL":{"currency":"LVL","name":"Latvian lats","cldr_symbol":"LVL","symbol":"Ls","code_points":[76,115]},"LVR":{"currency":"LVR","name":"Latvian ruble","cldr_symbol":"LVR","symbol":"LVR","code_points":[76,86,82]},"LYD":{"currency":"LYD","name":"Libyan dinar","cldr_symbol":"LYD","symbol":"LYD","code_points":[76,89,68]},"MAD":{"currency":"MAD","name":"Moroccan dirham","cldr_symbol":"MAD","symbol":"MAD","code_points":[77,65,68]},"MAF":{"currency":"MAF","name":"Moroccan franc","cldr_symbol":"MAF","symbol":"MAF","code_points":[77,65,70]},"MCF":{"currency":"MCF","name":"Monegasque franc","cldr_symbol":"MCF","symbol":"MCF","code_points":[77,67,70]},"MDC":{"currency":"MDC","name":"Moldovan cupon","cldr_symbol":"MDC","symbol":"MDC","code_points":[77,68,67]},"MDL":{"currency":"MDL","name":"Moldovan leu","cldr_symbol":"MDL","symbol":"MDL","code_points":[77,68,76]},"MGA":{"currency":"MGA","name":"Malagasy Ariary","cldr_symbol":"MGA","symbol":"MGA","code_points":[77,71,65]},"MGF":{"currency":"MGF","name":"Malagasy franc","cldr_symbol":"MGF","symbol":"MGF","code_points":[77,71,70]},"MKD":{"currency":"MKD","name":"Macedonian denar","cldr_symbol":"MKD","symbol":"MKD","code_points":[77,75,68]},"MKN":{"currency":"MKN","name":"Macedonian denar (1992–1993)","cldr_symbol":"MKN","symbol":"MKN","code_points":[77,75,78]},"MLF":{"currency":"MLF","name":"Malian franc","cldr_symbol":"MLF","symbol":"MLF","code_points":[77,76,70]},"MMK":{"currency":"MMK","name":"Myanmar kyat","cldr_symbol":"MMK","symbol":"MMK","code_points":[77,77,75]},"MNT":{"currency":"MNT","name":"Mongolian tugrik","cldr_symbol":"₮","symbol":"₮","code_points":[8366]},"MOP":{"currency":"MOP","name":"Macanese pataca","cldr_symbol":"MOP","symbol":"MOP","code_points":[77,79,80]},"MRO":{"currency":"MRO","name":"Mauritanian ouguiya","cldr_symbol":"MRO","symbol":"MRO","code_points":[77,82,79]},"MTL":{"currency":"MTL","name":"Maltese lira","cldr_symbol":"MTL","symbol":"MTL","code_points":[77,84,76]},"MTP":{"currency":"MTP","name":"Maltese pound","cldr_symbol":"MTP","symbol":"MTP","code_points":[77,84,80]},"MUR":{"currency":"MUR","name":"Mauritian rupee","cldr_symbol":"MUR","symbol":"₨","code_points":[8360]},"MVP":{"currency":"MVP","name":"Maldivian rupee","cldr_symbol":"MVP","symbol":"MVP","code_points":[77,86,80]},"MVR":{"currency":"MVR","name":"Maldivian rufiyaa","cldr_symbol":"MVR","symbol":"MVR","code_points":[77,86,82]},"MWK":{"currency":"MWK","name":"Malawian Kwacha","cldr_symbol":"MWK","symbol":"MWK","code_points":[77,87,75]},"MXN":{"currency":"MXN","name":"Mexican peso","cldr_symbol":"MX$","symbol":"$","code_points":[36]},"MXP":{"currency":"MXP","name":"Mexican silver peso (1861–1992)","cldr_symbol":"MXP","symbol":"MXP","code_points":[77,88,80]},"MXV":{"currency":"MXV","name":"Mexican investment unit","cldr_symbol":"MXV","symbol":"MXV","code_points":[77,88,86]},"MYR":{"currency":"MYR","name":"Malaysian ringgit","cldr_symbol":"MYR","symbol":"RM","code_points":[82,77]},"MZE":{"currency":"MZE","name":"Mozambican escudo","cldr_symbol":"MZE","symbol":"MZE","code_points":[77,90,69]},"MZM":{"currency":"MZM","name":"Mozambican metical (1980–2006)","cldr_symbol":"MZM","symbol":"MZM","code_points":[77,90,77]},"MZN":{"currency":"MZN","name":"Mozambican metical","cldr_symbol":"MZN","symbol":"MT","code_points":[77,84]},"NAD":{"currency":"NAD","name":"Namibian dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"NGN":{"currency":"NGN","name":"Nigerian naira","cldr_symbol":"₦","symbol":"₦","code_points":[8358]},"NIC":{"currency":"NIC","name":"Nicaraguan córdoba (1988–1991)","cldr_symbol":"NIC","symbol":"NIC","code_points":[78,73,67]},"NIO":{"currency":"NIO","name":"Nicaraguan córdoba","cldr_symbol":"NIO","symbol":"C$","code_points":[67,36]},"NLG":{"currency":"NLG","name":"Dutch guilder","cldr_symbol":"NLG","symbol":"NLG","code_points":[78,76,71]},"NOK":{"currency":"NOK","name":"Norwegian krone","cldr_symbol":"NOK","symbol":"kr","code_points":[107,114]},"NPR":{"currency":"NPR","name":"Nepalese rupee","cldr_symbol":"NPR","symbol":"₨","code_points":[8360]},"NZD":{"currency":"NZD","name":"New Zealand dollar","cldr_symbol":"NZ$","symbol":"$","code_points":[36]},"OMR":{"currency":"OMR","name":"Omani rial","cldr_symbol":"OMR","symbol":"﷼","code_points":[65020]},"PAB":{"currency":"PAB","name":"Panamanian balboa","cldr_symbol":"PAB","symbol":"B/.","code_points":[66,47,46]},"PEI":{"currency":"PEI","name":"Peruvian inti","cldr_symbol":"PEI","symbol":"PEI","code_points":[80,69,73]},"PEN":{"currency":"PEN","name":"Peruvian nuevo sol","cldr_symbol":"PEN","symbol":"S/.","code_points":[83,47,46]},"PES":{"currency":"PES","name":"Peruvian sol (1863–1965)","cldr_symbol":"PES","symbol":"PES","code_points":[80,69,83]},"PGK":{"currency":"PGK","name":"Papua New Guinean kina","cldr_symbol":"PGK","symbol":"PGK","code_points":[80,71,75]},"PHP":{"currency":"PHP","name":"Philippine peso","cldr_symbol":"₱","symbol":"Php","code_points":[80,104,112]},"PKR":{"currency":"PKR","name":"Pakistani rupee","cldr_symbol":"PKR","symbol":"₨","code_points":[8360]},"PLN":{"currency":"PLN","name":"Polish zloty","cldr_symbol":"PLN","symbol":"zł","code_points":[122,322]},"PLZ":{"currency":"PLZ","name":"Polish zloty (PLZ)","cldr_symbol":"PLZ","symbol":"PLZ","code_points":[80,76,90]},"PTE":{"currency":"PTE","name":"Portuguese escudo","cldr_symbol":"PTE","symbol":"PTE","code_points":[80,84,69]},"PYG":{"currency":"PYG","name":"Paraguayan guarani","cldr_symbol":"₲","symbol":"Gs","code_points":[71,115]},"QAR":{"currency":"QAR","name":"Qatari rial","cldr_symbol":"QAR","symbol":"﷼","code_points":[65020]},"RHD":{"currency":"RHD","name":"Rhodesian dollar","cldr_symbol":"RHD","symbol":"RHD","code_points":[82,72,68]},"ROL":{"currency":"ROL","name":"Romanian leu (1952–2006)","cldr_symbol":"ROL","symbol":"ROL","code_points":[82,79,76]},"RON":{"currency":"RON","name":"Romanian leu","cldr_symbol":"RON","symbol":"lei","code_points":[108,101,105]},"RSD":{"currency":"RSD","name":"Serbian dinar","cldr_symbol":"RSD","symbol":"Дин.","code_points":[1044,1080,1085,46]},"RUB":{"currency":"RUB","name":"Russian ruble","cldr_symbol":"RUB","symbol":"руб","code_points":[1088,1091,1073]},"RUR":{"currency":"RUR","name":"Russian ruble (1991–1998)","cldr_symbol":"р.","symbol":"р.","code_points":[1088,46]},"RWF":{"currency":"RWF","name":"Rwandan franc","cldr_symbol":"RWF","symbol":"RWF","code_points":[82,87,70]},"SAR":{"currency":"SAR","name":"Saudi riyal","cldr_symbol":"SAR","symbol":"﷼","code_points":[65020]},"SBD":{"currency":"SBD","name":"Solomon Islands dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"SCR":{"currency":"SCR","name":"Seychellois rupee","cldr_symbol":"SCR","symbol":"₨","code_points":[8360]},"SDD":{"currency":"SDD","name":"Sudanese dinar (1992–2007)","cldr_symbol":"SDD","symbol":"SDD","code_points":[83,68,68]},"SDG":{"currency":"SDG","name":"Sudanese pound","cldr_symbol":"SDG","symbol":"SDG","code_points":[83,68,71]},"SDP":{"currency":"SDP","name":"Sudanese pound (1957–1998)","cldr_symbol":"SDP","symbol":"SDP","code_points":[83,68,80]},"SEK":{"currency":"SEK","name":"Swedish krona","cldr_symbol":"SEK","symbol":"kr","code_points":[107,114]},"SGD":{"currency":"SGD","name":"Singapore dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"SHP":{"currency":"SHP","name":"Saint Helena pound","cldr_symbol":"SHP","symbol":"£","code_points":[163]},"SIT":{"currency":"SIT","name":"Slovenian tolar","cldr_symbol":"SIT","symbol":"SIT","code_points":[83,73,84]},"SKK":{"currency":"SKK","name":"Slovak koruna","cldr_symbol":"SKK","symbol":"SKK","code_points":[83,75,75]},"SLL":{"currency":"SLL","name":"Sierra Leonean leone","cldr_symbol":"SLL","symbol":"SLL","code_points":[83,76,76]},"SOS":{"currency":"SOS","name":"Somali shilling","cldr_symbol":"SOS","symbol":"S","code_points":[83]},"SRD":{"currency":"SRD","name":"Surinamese dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"SRG":{"currency":"SRG","name":"Surinamese guilder","cldr_symbol":"SRG","symbol":"SRG","code_points":[83,82,71]},"SSP":{"currency":"SSP","name":"South Sudanese pound","cldr_symbol":"£","symbol":"£","code_points":[163]},"STD":{"currency":"STD","name":"São Tomé and Príncipe dobra","cldr_symbol":"STD","symbol":"STD","code_points":[83,84,68]},"SUR":{"currency":"SUR","name":"Soviet rouble","cldr_symbol":"SUR","symbol":"SUR","code_points":[83,85,82]},"SVC":{"currency":"SVC","name":"Salvadoran colón","cldr_symbol":"SVC","symbol":"SVC","code_points":[83,86,67]},"SYP":{"currency":"SYP","name":"Syrian pound","cldr_symbol":"SYP","symbol":"£","code_points":[163]},"SZL":{"currency":"SZL","name":"Swazi lilangeni","cldr_symbol":"SZL","symbol":"SZL","code_points":[83,90,76]},"THB":{"currency":"THB","name":"Thai baht","cldr_symbol":"฿","symbol":"฿","code_points":[3647]},"TJR":{"currency":"TJR","name":"Tajikistani ruble","cldr_symbol":"TJR","symbol":"TJR","code_points":[84,74,82]},"TJS":{"currency":"TJS","name":"Tajikistani somoni","cldr_symbol":"TJS","symbol":"TJS","code_points":[84,74,83]},"TMM":{"currency":"TMM","name":"Turkmenistani manat (1993–2009)","cldr_symbol":"TMM","symbol":"TMM","code_points":[84,77,77]},"TMT":{"currency":"TMT","name":"Turkmenistani manat","cldr_symbol":"TMT","symbol":"TMT","code_points":[84,77,84]},"TND":{"currency":"TND","name":"Tunisian dinar","cldr_symbol":"TND","symbol":"TND","code_points":[84,78,68]},"TOP":{"currency":"TOP","name":"Tongan paʻanga","cldr_symbol":"TOP","symbol":"TOP","code_points":[84,79,80]},"TPE":{"currency":"TPE","name":"Timorese escudo","cldr_symbol":"TPE","symbol":"TPE","code_points":[84,80,69]},"TRL":{"currency":"TRL","name":"Turkish lira (1922–2005)","cldr_symbol":"TRL","symbol":"TRL","code_points":[84,82,76]},"TRY":{"currency":"TRY","name":"Turkish lira","cldr_symbol":"₺","symbol":"TL","code_points":[84,76]},"TTD":{"currency":"TTD","name":"Trinidad and Tobago dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"TWD":{"currency":"TWD","name":"New Taiwan dollar","cldr_symbol":"NT$","symbol":"NT$","code_points":[78,84,36]},"TZS":{"currency":"TZS","name":"Tanzanian shilling","cldr_symbol":"TZS","symbol":"TZS","code_points":[84,90,83]},"UAH":{"currency":"UAH","name":"Ukrainian hryvnia","cldr_symbol":"₴","symbol":"₴","code_points":[8372]},"UAK":{"currency":"UAK","name":"Ukrainian karbovanets","cldr_symbol":"UAK","symbol":"UAK","code_points":[85,65,75]},"UGS":{"currency":"UGS","name":"Ugandan shilling (1966–1987)","cldr_symbol":"UGS","symbol":"UGS","code_points":[85,71,83]},"UGX":{"currency":"UGX","name":"Ugandan shilling","cldr_symbol":"UGX","symbol":"UGX","code_points":[85,71,88]},"USD":{"currency":"USD","name":"US dollar","cldr_symbol":"$","symbol":"$","code_points":[36]},"USN":{"currency":"USN","name":"US dollar (next day)","cldr_symbol":"USN","symbol":"USN","code_points":[85,83,78]},"USS":{"currency":"USS","name":"US dollar (same day)","cldr_symbol":"USS","symbol":"USS","code_points":[85,83,83]},"UYI":{"currency":"UYI","name":"Uruguayan peso (indexed units)","cldr_symbol":"UYI","symbol":"UYI","code_points":[85,89,73]},"UYP":{"currency":"UYP","name":"Uruguayan peso (1975–1993)","cldr_symbol":"UYP","symbol":"UYP","code_points":[85,89,80]},"UYU":{"currency":"UYU","name":"Uruguayan peso","cldr_symbol":"$","symbol":"$U","code_points":[36,85]},"UZS":{"currency":"UZS","name":"Uzbekistan som","cldr_symbol":"UZS","symbol":"лв","code_points":[1083,1074]},"VEB":{"currency":"VEB","name":"Venezuelan bolívar (1871–2008)","cldr_symbol":"VEB","symbol":"VEB","code_points":[86,69,66]},"VEF":{"currency":"VEF","name":"Venezuelan bolívar","cldr_symbol":"VEF","symbol":"Bs","code_points":[66,115]},"VND":{"currency":"VND","name":"Vietnamese dong","cldr_symbol":"₫","symbol":"₫","code_points":[8363]},"VNN":{"currency":"VNN","name":"Vietnamese dong (1978–1985)","cldr_symbol":"VNN","symbol":"VNN","code_points":[86,78,78]},"VUV":{"currency":"VUV","name":"Vanuatu vatu","cldr_symbol":"VUV","symbol":"VUV","code_points":[86,85,86]},"WST":{"currency":"WST","name":"Samoan tala","cldr_symbol":"WST","symbol":"WST","code_points":[87,83,84]},"XAF":{"currency":"XAF","name":"CFA franc BEAC","cldr_symbol":"FCFA","symbol":"FCFA","code_points":[70,67,70,65]},"XAG":{"currency":"XAG","name":"troy ounce of silver","cldr_symbol":"XAG","symbol":"XAG","code_points":[88,65,71]},"XAU":{"currency":"XAU","name":"troy ounce of gold","cldr_symbol":"XAU","symbol":"XAU","code_points":[88,65,85]},"XBA":{"currency":"XBA","name":"European composite unit","cldr_symbol":"XBA","symbol":"XBA","code_points":[88,66,65]},"XBB":{"currency":"XBB","name":"European monetary unit","cldr_symbol":"XBB","symbol":"XBB","code_points":[88,66,66]},"XBC":{"currency":"XBC","name":"European unit of account (XBC)","cldr_symbol":"XBC","symbol":"XBC","code_points":[88,66,67]},"XBD":{"currency":"XBD","name":"European unit of account (XBD)","cldr_symbol":"XBD","symbol":"XBD","code_points":[88,66,68]},"XCD":{"currency":"XCD","name":"East Caribbean dollar","cldr_symbol":"EC$","symbol":"$","code_points":[36]},"XDR":{"currency":"XDR","name":"special drawing rights","cldr_symbol":"XDR","symbol":"XDR","code_points":[88,68,82]},"XEU":{"currency":"XEU","name":"European currency unit","cldr_symbol":"XEU","symbol":"XEU","code_points":[88,69,85]},"XFO":{"currency":"XFO","name":"French gold franc","cldr_symbol":"XFO","symbol":"XFO","code_points":[88,70,79]},"XFU":{"currency":"XFU","name":"French UIC-franc","cldr_symbol":"XFU","symbol":"XFU","code_points":[88,70,85]},"XOF":{"currency":"XOF","name":"CFA franc BCEAO","cldr_symbol":"CFA","symbol":"CFA","code_points":[67,70,65]},"XPD":{"currency":"XPD","name":"troy ounce of palladium","cldr_symbol":"XPD","symbol":"XPD","code_points":[88,80,68]},"XPF":{"currency":"XPF","name":"CFP franc","cldr_symbol":"CFPF","symbol":"CFPF","code_points":[67,70,80,70]},"XPT":{"currency":"XPT","name":"troy ounce of platinum","cldr_symbol":"XPT","symbol":"XPT","code_points":[88,80,84]},"XRE":{"currency":"XRE","name":"RINET Funds unit","cldr_symbol":"XRE","symbol":"XRE","code_points":[88,82,69]},"XSU":{"currency":"XSU","name":"Sucre","cldr_symbol":"XSU","symbol":"XSU","code_points":[88,83,85]},"XTS":{"currency":"XTS","name":"Testing Currency unit","cldr_symbol":"XTS","symbol":"XTS","code_points":[88,84,83]},"XUA":{"currency":"XUA","name":"ADB unit of account","cldr_symbol":"XUA","symbol":"XUA","code_points":[88,85,65]},"XXX":{"currency":"XXX","name":"(unknown unit of currency)","cldr_symbol":"XXX","symbol":"XXX","code_points":[88,88,88]},"YDD":{"currency":"YDD","name":"Yemeni dinar","cldr_symbol":"YDD","symbol":"YDD","code_points":[89,68,68]},"YER":{"currency":"YER","name":"Yemeni rial","cldr_symbol":"YER","symbol":"﷼","code_points":[65020]},"YUD":{"currency":"YUD","name":"Yugoslavian hard dinar (1966–1990)","cldr_symbol":"YUD","symbol":"YUD","code_points":[89,85,68]},"YUM":{"currency":"YUM","name":"Yugoslavian new dinar (1994–2002)","cldr_symbol":"YUM","symbol":"YUM","code_points":[89,85,77]},"YUN":{"currency":"YUN","name":"Yugoslavian convertible dinar (1990–1992)","cldr_symbol":"YUN","symbol":"YUN","code_points":[89,85,78]},"YUR":{"currency":"YUR","name":"Yugoslavian reformed dinar (1992–1993)","cldr_symbol":"YUR","symbol":"YUR","code_points":[89,85,82]},"ZAL":{"currency":"ZAL","name":"South African rand (financial)","cldr_symbol":"ZAL","symbol":"ZAL","code_points":[90,65,76]},"ZAR":{"currency":"ZAR","name":"South African rand","cldr_symbol":"ZAR","symbol":"R","code_points":[82]},"ZMK":{"currency":"ZMK","name":"Zambian kwacha (1968–2012)","cldr_symbol":"ZMK","symbol":"ZMK","code_points":[90,77,75]},"ZMW":{"currency":"ZMW","name":"Zambian kwacha","cldr_symbol":"ZMW","symbol":"ZMW","code_points":[90,77,87]},"ZRN":{"currency":"ZRN","name":"Zairean new zaire (1993–1998)","cldr_symbol":"ZRN","symbol":"ZRN","code_points":[90,82,78]},"ZRZ":{"currency":"ZRZ","name":"Zairean zaire (1971–1993)","cldr_symbol":"ZRZ","symbol":"ZRZ","code_points":[90,82,90]},"ZWD":{"currency":"ZWD","name":"Zimbabwean dollar (1980–2008)","cldr_symbol":"ZWD","symbol":"Z$","code_points":[90,36]},"ZWL":{"currency":"ZWL","name":"Zimbabwean dollar (2009)","cldr_symbol":"ZWL","symbol":"ZWL","code_points":[90,87,76]},"ZWR":{"currency":"ZWR","name":"Zimbabwean dollar (2008)","cldr_symbol":"ZWR","symbol":"ZWR","code_points":[90,87,82]}};
|
1236
1239
|
|
1237
1240
|
Currencies.currency_codes = function() {
|
1238
1241
|
var data, _;
|
@@ -1316,16 +1319,14 @@
|
|
1316
1319
|
return _results;
|
1317
1320
|
})();
|
1318
1321
|
if (elements.length > 1) {
|
1319
|
-
result = format.replace(/\{(\d+)\}/g,
|
1320
|
-
return RegExp.$1;
|
1321
|
-
});
|
1322
|
+
result = format.replace(/\{(\d+)\}/g, '$1');
|
1322
1323
|
if (TwitterCldr.is_rtl) {
|
1323
1324
|
result = TwitterCldr.Bidi.from_string(result, {
|
1324
1325
|
"direction": "RTL"
|
1325
1326
|
}).reorder_visually().toString();
|
1326
1327
|
}
|
1327
|
-
return result.replace(/(\d+)/g, function() {
|
1328
|
-
return elements[parseInt(
|
1328
|
+
return result.replace(/(\d+)/g, function(match) {
|
1329
|
+
return elements[parseInt(match)];
|
1329
1330
|
});
|
1330
1331
|
} else {
|
1331
1332
|
return elements[0] || "";
|
@@ -1753,9 +1754,13 @@
|
|
1753
1754
|
})();
|
1754
1755
|
|
1755
1756
|
TwitterCldr.Calendar = (function() {
|
1757
|
+
var REDIRECT_PREFIX;
|
1758
|
+
|
1756
1759
|
function Calendar() {}
|
1757
1760
|
|
1758
|
-
|
1761
|
+
REDIRECT_PREFIX = "calendars.gregorian.";
|
1762
|
+
|
1763
|
+
Calendar.calendar = {"additional_formats":{"EHm":"EHH:mm","EHms":"EHH:mm:ss","Ed":"d日E","Ehm":"Eah:mm","Ehms":"Eah:mm:ss","Gy":"Gy年","GyMMM":"Gy年M月","GyMMMEd":"Gy年M月d日E","GyMMMd":"Gy年M月d日","H":"H时","Hm":"HH:mm","Hms":"HH:mm:ss","M":"M月","MEd":"M/dE","MMM":"LLL","MMMEd":"M月d日E","MMMMdd":"M月dd日","MMMd":"M月d日","MMdd":"MM/dd","Md":"M/d","d":"d日","h":"ah时","hm":"ah:mm","hms":"ah:mm:ss","ms":"mm:ss","y":"y年","yM":"y/M","yMEd":"y/M/dE","yMM":"y年M月","yMMM":"y年M月","yMMMEd":"y年M月d日E","yMMMM":"y年M月","yMMMd":"y年M月d日","yMd":"y/M/d","yQQQ":"y年第Q季度","yQQQQ":"y年第Q季度"},"days":{"format":{"abbreviated":{"fri":"周五","mon":"周一","sat":"周六","sun":"周日","thu":"周四","tue":"周二","wed":"周三"},"narrow":{"fri":"五","mon":"一","sat":"六","sun":"日","thu":"四","tue":"二","wed":"三"},"short":{"fri":"周五","mon":"周一","sat":"周六","sun":"周日","thu":"周四","tue":"周二","wed":"周三"},"wide":{"fri":"星期五","mon":"星期一","sat":"星期六","sun":"星期日","thu":"星期四","tue":"星期二","wed":"星期三"}},"stand-alone":{"abbreviated":{"fri":"周五","mon":"周一","sat":"周六","sun":"周日","thu":"周四","tue":"周二","wed":"周三"},"narrow":{"fri":"五","mon":"一","sat":"六","sun":"日","thu":"四","tue":"二","wed":"三"},"short":{"fri":"周五","mon":"周一","sat":"周六","sun":"周日","thu":"周四","tue":"周二","wed":"周三"},"wide":{"fri":"星期五","mon":"星期一","sat":"星期六","sun":"星期日","thu":"星期四","tue":"星期二","wed":"星期三"}}},"eras":{"abbr":{"0":"公元前","1":"公元"},"name":{"0":"公元前","1":"公元"},"narrow":{"0":"公元前","1":"公元"}},"fields":{"day":"日","dayperiod":"上午/下午","era":"纪元","hour":"小时","minute":"分钟","month":"月","second":"秒钟","week":"周","weekday":"星期","year":"年","zone":"时区"},"formats":{"date":{"full":{"pattern":"y年M月d日EEEE"},"long":{"pattern":"y年M月d日"},"medium":{"pattern":"y年M月d日"},"short":{"pattern":"yy/M/d"}},"datetime":{"full":{"pattern":"{{date}} {{time}}"},"long":{"pattern":"{{date}} {{time}}"},"medium":{"pattern":"{{date}} {{time}}"},"short":{"pattern":"{{date}} {{time}}"}},"time":{"full":{"pattern":"zzzzah:mm:ss"},"long":{"pattern":"zah:mm:ss"},"medium":{"pattern":"ah:mm:ss"},"short":{"pattern":"ah:mm"}}},"months":{"format":{"abbreviated":{"1":"1月","10":"10月","11":"11月","12":"12月","2":"2月","3":"3月","4":"4月","5":"5月","6":"6月","7":"7月","8":"8月","9":"9月"},"narrow":{"1":1,"10":10,"11":11,"12":12,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9},"wide":{"1":"一月","10":"十月","11":"十一月","12":"十二月","2":"二月","3":"三月","4":"四月","5":"五月","6":"六月","7":"七月","8":"八月","9":"九月"}},"stand-alone":{"abbreviated":{"1":"1月","10":"10月","11":"11月","12":"12月","2":"2月","3":"3月","4":"4月","5":"5月","6":"6月","7":"7月","8":"8月","9":"9月"},"narrow":{"1":1,"10":10,"11":11,"12":12,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9},"wide":{"1":"一月","10":"十月","11":"十一月","12":"十二月","2":"二月","3":"三月","4":"四月","5":"五月","6":"六月","7":"七月","8":"八月","9":"九月"}}},"periods":{"format":{"abbreviated":"calendars.gregorian.dayPeriods.format.wide","narrow":{"afternoon":"下午","am":"上午","earlyMorning":"清晨","midDay":"中午","morning":"上午","night":"晚上","noon":"中午","pm":"下午","weeHours":"凌晨"},"wide":{"afternoon":"下午","am":"上午","earlyMorning":"清晨","midDay":"中午","morning":"上午","night":"晚上","noon":"中午","pm":"下午","variant":{"am":"a.m.","pm":"p.m."},"weeHours":"凌晨"}},"stand-alone":{}},"quarters":{"format":{"abbreviated":{"1":"1季度","2":"2季度","3":"3季度","4":"4季度"},"narrow":{"1":1,"2":2,"3":3,"4":4},"wide":{"1":"第一季度","2":"第二季度","3":"第三季度","4":"第四季度"}},"stand-alone":{"abbreviated":{"1":"1季度","2":"2季度","3":"3季度","4":"4季度"},"narrow":{"1":1,"2":2,"3":3,"4":4},"wide":{"1":"第一季度","2":"第二季度","3":"第三季度","4":"第四季度"}}}};
|
1759
1764
|
|
1760
1765
|
Calendar.months = function(options) {
|
1761
1766
|
var key, result, root, val;
|
@@ -1779,14 +1784,22 @@
|
|
1779
1784
|
};
|
1780
1785
|
|
1781
1786
|
Calendar.get_root = function(key, options) {
|
1782
|
-
var format, names_form, root, _ref;
|
1787
|
+
var data, format, names_form, root, _ref, _ref1, _ref2, _ref3;
|
1783
1788
|
if (options == null) {
|
1784
1789
|
options = {};
|
1785
1790
|
}
|
1786
1791
|
root = this.calendar[key];
|
1787
1792
|
names_form = options["names_form"] || "wide";
|
1788
1793
|
format = options.format || ((root != null ? (_ref = root["stand-alone"]) != null ? _ref[names_form] : void 0 : void 0) != null ? "stand-alone" : "format");
|
1789
|
-
|
1794
|
+
data = root[format][names_form];
|
1795
|
+
if (typeof data === "string" && data.indexOf(REDIRECT_PREFIX) === 0) {
|
1796
|
+
_ref1 = data.slice(REDIRECT_PREFIX.length).split("."), key = _ref1[0], format = _ref1[1], names_form = _ref1[2];
|
1797
|
+
return ((_ref2 = this.calendar[key]) != null ? (_ref3 = _ref2[format]) != null ? _ref3[names_form] : void 0 : void 0) || (function() {
|
1798
|
+
throw "invalid redirect " + data;
|
1799
|
+
})();
|
1800
|
+
} else {
|
1801
|
+
return data;
|
1802
|
+
}
|
1790
1803
|
};
|
1791
1804
|
|
1792
1805
|
return Calendar;
|
@@ -1796,7 +1809,7 @@
|
|
1796
1809
|
TwitterCldr.PhoneCodes = (function() {
|
1797
1810
|
function PhoneCodes() {}
|
1798
1811
|
|
1799
|
-
PhoneCodes.phone_codes = {"ac":"247","ad":"376","ae":"971","af":"93","ag":"1","ai":"1","al":"355","am":"374","
|
1812
|
+
PhoneCodes.phone_codes = {"ac":"247","ad":"376","ae":"971","af":"93","ag":"1","ai":"1","al":"355","am":"374","ao":"244","aq":"672","ar":"54","as":"1","at":"43","au":"61","aw":"297","ax":"358","az":"994","ba":"387","bb":"1","bd":"880","be":"32","bf":"226","bg":"359","bh":"973","bi":"257","bj":"229","bl":"590","bm":"1","bn":"673","bo":"591","bq":"599","br":"55","bs":"1","bt":"975","bw":"267","by":"375","bz":"501","ca":"1","cc":"61","cd":"243","cf":"236","cg":"242","ch":"41","ci":"225","ck":"682","cl":"56","cm":"237","cn":"86","co":"57","cr":"506","cu":"53","cv":"238","cw":"599","cx":"61","cy":"357","cz":"420","de":"49","dj":"253","dk":"45","dm":"1","do":"1","dz":"213","ec":"593","ee":"372","eg":"20","eh":"212","er":"291","es":"34","et":"251","fi":"358","fj":"679","fk":"500","fm":"691","fo":"298","fr":"33","ga":"241","gb":"44","gd":"1","ge":"995","gf":"594","gg":"44","gh":"233","gi":"350","gl":"299","gm":"220","gn":"224","gp":"590","gq":"240","gr":"30","gs":"500","gt":"502","gu":"1","gw":"245","gy":"592","hk":"852","hn":"504","hr":"385","ht":"509","hu":"36","id":"62","ie":"353","il":"972","im":"44","in":"91","io":"246","iq":"964","ir":"98","is":"354","it":"39","je":"44","jm":"1","jo":"962","jp":"81","ke":"254","kg":"996","kh":"855","ki":"686","km":"269","kn":"1","kp":"850","kr":"82","kw":"965","ky":"1","kz":"7","la":"856","lb":"961","lc":"1","li":"423","lk":"94","lr":"231","ls":"266","lt":"370","lu":"352","lv":"371","ly":"218","ma":"212","mc":"377","md":"373","me":"382","mf":"590","mg":"261","mh":"692","mk":"389","ml":"223","mm":"95","mn":"976","mo":"853","mp":"1","mq":"596","mr":"222","ms":"1","mt":"356","mu":"230","mv":"960","mw":"265","mx":"52","my":"60","mz":"258","na":"264","nc":"687","ne":"227","nf":"672","ng":"234","ni":"505","nl":"31","no":"47","np":"977","nr":"674","nu":"683","nz":"64","om":"968","pa":"507","pe":"51","pf":"689","pg":"675","ph":"63","pk":"92","pl":"48","pm":"508","pn":"870","pr":"1","ps":"972","pt":"351","pw":"680","py":"595","qa":"974","re":"262","ro":"40","rs":"381","ru":"7","rw":"250","sa":"966","sb":"677","sc":"248","sd":"249","se":"46","sg":"65","sh":"290","si":"386","sj":"47","sk":"421","sl":"232","sm":"378","sn":"221","so":"252","sr":"597","ss":"211","st":"239","sv":"503","sx":"1","sy":"963","sz":"268","tc":"1","td":"235","tf":"262","tg":"228","th":"66","tj":"992","tk":"690","tl":"670","tm":"993","tn":"216","to":"676","tr":"90","tt":"1","tv":"688","tw":"886","tz":"255","ua":"380","ug":"256","um":"1","us":"1","uy":"598","uz":"998","va":"39","vc":"1","ve":"58","vg":"1","vi":"1","vn":"84","vu":"678","wf":"681","ws":"685","xk":"377","ye":"967","yt":"262","za":"27","zm":"260","zw":"263"};
|
1800
1813
|
|
1801
1814
|
PhoneCodes.territories = function() {
|
1802
1815
|
var data, _;
|
@@ -1813,23 +1826,96 @@
|
|
1813
1826
|
};
|
1814
1827
|
|
1815
1828
|
PhoneCodes.code_for_territory = function(territory) {
|
1816
|
-
var
|
1817
|
-
result =
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
result = phone_code;
|
1823
|
-
break;
|
1824
|
-
}
|
1829
|
+
var result;
|
1830
|
+
result = this.phone_codes[territory];
|
1831
|
+
if (result != null) {
|
1832
|
+
return result;
|
1833
|
+
} else {
|
1834
|
+
return null;
|
1825
1835
|
}
|
1826
|
-
return result;
|
1827
1836
|
};
|
1828
1837
|
|
1829
1838
|
return PhoneCodes;
|
1830
1839
|
|
1831
1840
|
})();
|
1832
1841
|
|
1842
|
+
TwitterCldr.PostalCodes = (function() {
|
1843
|
+
var find_regex, postal_codes;
|
1844
|
+
|
1845
|
+
function PostalCodes() {}
|
1846
|
+
|
1847
|
+
postal_codes = {"ad":"AD\\d{3}","am":"(37)?\\d{4}","ar":"([A-HJ-NP-Z])?\\d{4}([A-Z]{3})?","as":"96799","at":"\\d{4}","au":"\\d{4}","ax":"22\\d{3}","az":"\\d{4}","ba":"\\d{5}","bb":"(BB\\d{5})?","bd":"\\d{4}","be":"\\d{4}","bg":"\\d{4}","bh":"((1[0-2]|[2-9])\\d{2})?","bm":"[A-Z]{2}[ ]?[A-Z0-9]{2}","bn":"[A-Z]{2}[ ]?\\d{4}","br":"\\d{5}[\\-]?\\d{3}","by":"\\d{6}","ca":"[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z][ ]?\\d[ABCEGHJ-NPRSTV-Z]\\d","cc":"6799","ch":"\\d{4}","ck":"\\d{4}","cl":"\\d{7}","cn":"\\d{6}","cr":"\\d{4,5}|\\d{3}-\\d{4}","cs":"\\d{5}","cv":"\\d{4}","cx":"6798","cy":"\\d{4}","cz":"\\d{3}[ ]?\\d{2}","de":"\\d{5}","dk":"\\d{4}","do":"\\d{5}","dz":"\\d{5}","ec":"([A-Z]\\d{4}[A-Z]|(?:[A-Z]{2})?\\d{6})?","ee":"\\d{5}","eg":"\\d{5}","es":"\\d{5}","et":"\\d{4}","fi":"\\d{5}","fk":"FIQQ 1ZZ","fm":"(9694[1-4])([ \\-]\\d{4})?","fo":"\\d{3}","fr":"\\d{2}[ ]?\\d{3}","gb":"GIR[ ]?0AA|((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}))|BFPO[ ]?\\d{1,4}","ge":"\\d{4}","gf":"9[78]3\\d{2}","gg":"GY\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}","gl":"39\\d{2}","gn":"\\d{3}","gp":"9[78][01]\\d{2}","gr":"\\d{3}[ ]?\\d{2}","gs":"SIQQ 1ZZ","gt":"\\d{5}","gu":"969[123]\\d([ \\-]\\d{4})?","gw":"\\d{4}","hm":"\\d{4}","hn":"(?:\\d{5})?","hr":"\\d{5}","ht":"\\d{4}","hu":"\\d{4}","id":"\\d{5}","il":"\\d{5}","im":"IM\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}","in":"\\d{6}","io":"BBND 1ZZ","iq":"\\d{5}","is":"\\d{3}","it":"\\d{5}","je":"JE\\d[\\dA-Z]?[ ]?\\d[ABD-HJLN-UW-Z]{2}","jo":"\\d{5}","jp":"\\d{3}-\\d{4}","ke":"\\d{5}","kg":"\\d{6}","kh":"\\d{5}","kr":"\\d{3}[\\-]\\d{3}","kw":"\\d{5}","kz":"\\d{6}","la":"\\d{5}","lb":"(\\d{4}([ ]?\\d{4})?)?","li":"(948[5-9])|(949[0-7])","lk":"\\d{5}","lr":"\\d{4}","ls":"\\d{3}","lt":"\\d{5}","lu":"\\d{4}","lv":"\\d{4}","ma":"\\d{5}","mc":"980\\d{2}","md":"\\d{4}","me":"8\\d{4}","mg":"\\d{3}","mh":"969[67]\\d([ \\-]\\d{4})?","mk":"\\d{4}","mn":"\\d{6}","mp":"9695[012]([ \\-]\\d{4})?","mq":"9[78]2\\d{2}","mt":"[A-Z]{3}[ ]?\\d{2,4}","mu":"(\\d{3}[A-Z]{2}\\d{3})?","mv":"\\d{5}","mx":"\\d{5}","my":"\\d{5}","nc":"988\\d{2}","ne":"\\d{4}","nf":"2899","ng":"(\\d{6})?","ni":"((\\d{4}-)?\\d{3}-\\d{3}(-\\d{1})?)?","nl":"\\d{4}[ ]?[A-Z]{2}","no":"\\d{4}","np":"\\d{5}","nz":"\\d{4}","om":"(PC )?\\d{3}","pf":"987\\d{2}","pg":"\\d{3}","ph":"\\d{4}","pk":"\\d{5}","pl":"\\d{2}-\\d{3}","pm":"9[78]5\\d{2}","pn":"PCRN 1ZZ","pr":"00[679]\\d{2}([ \\-]\\d{4})?","pt":"\\d{4}([\\-]\\d{3})?","pw":"96940","py":"\\d{4}","re":"9[78]4\\d{2}","ro":"\\d{6}","rs":"\\d{6}","ru":"\\d{6}","sa":"\\d{5}","se":"\\d{3}[ ]?\\d{2}","sg":"\\d{6}","sh":"(ASCN|STHL) 1ZZ","si":"\\d{4}","sj":"\\d{4}","sk":"\\d{3}[ ]?\\d{2}","sm":"4789\\d","sn":"\\d{5}","so":"\\d{5}","sz":"[HLMS]\\d{3}","tc":"TKCA 1ZZ","th":"\\d{5}","tj":"\\d{6}","tm":"\\d{6}","tn":"\\d{4}","tr":"\\d{5}","tw":"\\d{3}(\\d{2})?","ua":"\\d{5}","us":"\\d{5}([ \\-]\\d{4})?","uy":"\\d{5}","uz":"\\d{6}","va":"00120","ve":"\\d{4}","vi":"008(([0-4]\\d)|(5[01]))([ \\-]\\d{4})?","wf":"986\\d{2}","xk":"\\d{5}","yt":"976\\d{2}","yu":"\\d{5}","za":"\\d{4}","zm":"\\d{5}"};
|
1848
|
+
|
1849
|
+
find_regex = function(territory) {
|
1850
|
+
var regex_str;
|
1851
|
+
regex_str = postal_codes[territory];
|
1852
|
+
if (regex_str != null) {
|
1853
|
+
return regex_str;
|
1854
|
+
} else {
|
1855
|
+
return null;
|
1856
|
+
}
|
1857
|
+
};
|
1858
|
+
|
1859
|
+
PostalCodes.territories = function() {
|
1860
|
+
var data, _;
|
1861
|
+
return this.codes || (this.codes = (function() {
|
1862
|
+
var _results;
|
1863
|
+
_results = [];
|
1864
|
+
for (data in postal_codes) {
|
1865
|
+
_ = postal_codes[data];
|
1866
|
+
_results.push(data);
|
1867
|
+
}
|
1868
|
+
return _results;
|
1869
|
+
})());
|
1870
|
+
};
|
1871
|
+
|
1872
|
+
PostalCodes.regex_for_territory = function(territory) {
|
1873
|
+
var regex;
|
1874
|
+
regex = find_regex(territory);
|
1875
|
+
if (regex != null) {
|
1876
|
+
return new RegExp(regex);
|
1877
|
+
} else {
|
1878
|
+
return null;
|
1879
|
+
}
|
1880
|
+
};
|
1881
|
+
|
1882
|
+
PostalCodes.is_valid = function(territory, postal_code) {
|
1883
|
+
var regex;
|
1884
|
+
regex = this.regex_for_territory(territory);
|
1885
|
+
return regex.test(postal_code);
|
1886
|
+
};
|
1887
|
+
|
1888
|
+
return PostalCodes;
|
1889
|
+
|
1890
|
+
})();
|
1891
|
+
|
1892
|
+
TwitterCldr.Languages = (function() {
|
1893
|
+
var rtl_data;
|
1894
|
+
|
1895
|
+
function Languages() {}
|
1896
|
+
|
1897
|
+
Languages.all = {"aa":"阿法文","ab":"阿布哈西亚文","ace":"亚齐文","ach":"阿乔利文","ada":"阿当梅文","ady":"阿迪何文","ae":"阿维斯塔文","af":"南非荷兰文","afa":"其他亚非语系","afh":"阿弗里希利文","agq":"亚罕文","ain":"阿伊努文","ak":"阿肯文","akk":"阿卡德文","ale":"阿留申文","alg":"其他阿尔贡语系","alt":"南阿尔泰文","am":"阿姆哈拉文","an":"阿拉贡文","ang":"古英文","anp":"昂加文","apa":"阿帕切文","ar":"阿拉伯文","ar-001":"现代标准阿拉伯文","arc":"阿拉米文","arn":"阿劳坎文","arp":"阿拉帕霍文","art":"其他人工语系","arw":"阿拉瓦克文","as":"阿萨姆文","asa":"阿苏文","ast":"阿斯图里亚思特文","ath":"阿萨帕斯坎语系","aus":"澳大利亚语系","av":"阿瓦尔文","awa":"阿瓦乔文","ay":"艾马拉文","az":"阿塞拜疆文","ba":"巴什客尔文","bad":"班达文","bai":"巴米累克语系","bal":"俾路支文","ban":"巴里文","bas":"巴萨文","bat":"其他波罗的语系","bax":"巴姆穆文","bbj":"戈马拉文","be":"白俄罗斯文","bej":"别札文","bem":"别姆巴文","ber":"柏柏尔文","bez":"贝纳文","bfd":"巴非特文","bg":"保加利亚文","bh":"比哈尔文","bho":"博杰普尔文","bi":"比斯拉马文","bik":"毕库尔文","bin":"比尼文","bkm":"科姆文","bla":"司克司卡文","bm":"班巴拉文","bn":"孟加拉文","bnt":"班图文","bo":"藏文","br":"布里多尼文","bra":"布拉杰文","brx":"博多文","bs":"波斯尼亚文","bss":"阿库色文","btk":"巴塔克文","bua":"布里亚特文","bug":"布吉文","bum":"布鲁文","byn":"布林文","byv":"梅敦巴文","ca":"加泰罗尼亚文","cad":"卡多文","cai":"其他中美印第安语系","car":"巴勒比文","cau":"其他高加索语系","cay":"卡尤加文","cch":"阿灿文","ce":"车臣文","ceb":"宿务文","cel":"其他凯尔特语系","cgg":"奇加文","ch":"查莫罗文","chb":"契布卡文","chg":"查加文","chk":"楚吾克文","chm":"马里文","chn":"契努克文","cho":"乔克托文","chp":"佩瓦扬文","chr":"彻罗基文","chy":"夏延文","ckb":"索拉尼库尔德文","cmc":"查米克文","co":"科西嘉文","cop":"科普特文","cpe":"其他以英文为基础的克里奥尔混合语系","cpf":"其他以法文为基础的克里奥尔混合语系","cpp":"其他以葡萄牙文为基础的克里奥尔混合语系","cr":"克里族文","crh":"克里米亚土耳其文","crp":"其他克里奥尔混合语系","cs":"捷克文","csb":"卡舒文","cu":"宗教斯拉夫文","cus":"其他库施特语系","cv":"楚瓦什文","cy":"威尔士文","da":"丹麦文","dak":"达科他文","dar":"达尔格瓦文","dav":"台塔文","day":"达雅克文","de":"德文","de-AT":"奥地利德文","de-CH":"瑞士高地德文","del":"特拉华文","den":"司雷夫文","dgr":"多格里布文","din":"丁卡文","dje":"哲尔马文","doi":"多格拉文","dra":"其他德拉维语系","dsb":"下索布文","dua":"都阿拉文","dum":"中古荷兰文","dv":"迪维希文","dyo":"朱拉文","dyu":"迪尤拉文","dz":"不丹文","dzg":"达扎葛文","ebu":"恩布文","ee":"埃维文","efi":"埃菲克文","egy":"古埃及文","eka":"埃克丘克文","el":"希腊文","elx":"艾拉米特文","en":"英文","en-AU":"澳大利亚英文","en-CA":"加拿大英文","en-GB":"英式英文","en-US":"美式英文","enm":"中古英文","eo":"世界文","es":"西班牙文","es-419":"拉丁美洲西班牙文","es-ES":"欧洲西班牙文","es-MX":"墨西哥西班牙文","et":"爱沙尼亚文","eu":"巴斯克文","ewo":"旺杜文","fa":"波斯文","fan":"芳格文","fat":"芳蒂文","ff":"夫拉文","fi":"芬兰文","fil":"菲律宾文","fiu":"其他芬兰乌戈尔语系","fj":"斐济文","fo":"法罗文","fon":"丰文","fr":"法文","fr-CA":"加拿大法文","fr-CH":"瑞士法文","frm":"中古法文","fro":"古法文","frr":"北弗里西亚文","frs":"东弗里西亚文","fur":"弗留利文","fy":"西弗里西亚文","ga":"爱尔兰文","gaa":"加文","gay":"迦约文","gba":"葛巴亚文","gd":"苏格兰盖尔文","gem":"其他日尔曼语系","gez":"吉兹文","gil":"吉尔伯特斯文","gl":"加利西亚文","gmh":"中古高地德文","gn":"瓜拉尼文","goh":"古高地德文","gon":"岗德文","gor":"科洛涅达罗文","got":"哥特文","grb":"格列博文","grc":"古希腊文","gsw":"瑞士德文","gu":"古吉拉特文","guz":"古西文","gv":"马恩岛文","gwi":"吉维克琴文","ha":"豪萨文","hai":"海达文","haw":"夏威夷文","he":"希伯来文","hi":"印地文","hil":"希利盖农文","him":"赫马查利文","hit":"赫梯文","hmn":"赫蒙文","ho":"希里莫图文","hr":"克罗地亚文","hsb":"上索布文","ht":"海地文","hu":"匈牙利文","hup":"胡帕文","hy":"亚美尼亚文","hz":"赫雷罗文","ia":"国际文字","iba":"伊班文","ibb":"伊比比奥文","id":"印度尼西亚文","ie":"国际文字(E)","ig":"伊布文","ii":"四川彝文","ijo":"伊乔文","ik":"依奴皮维克文","ilo":"伊洛干诺文","inc":"其他印度语系","ine":"其他印欧语系","inh":"印古什文","io":"伊多文","ira":"伊朗文","iro":"伊洛魁语系","is":"冰岛文","it":"意大利文","iu":"因纽特文","ja":"日文","jbo":"逻辑文","jgo":"恩艮巴","jmc":"马切姆文","jpr":"犹太波斯文","jrb":"犹太阿拉伯文","jv":"爪哇文","ka":"格鲁吉亚文","kaa":"卡拉卡尔帕克文","kab":"卡比尔文","kac":"卡琴文","kaj":"卡捷文","kam":"卡姆巴文","kar":"喀伦文","kaw":"卡威文","kbd":"卡巴尔达文","kbl":"加涅姆布文","kcg":"卡塔布文","kde":"马孔德文","kea":"卡布佛得鲁文","kfo":"科罗文","kg":"刚果文","kha":"卡西文","khi":"其他科伊桑语系","kho":"和田文","khq":"西桑海文","ki":"吉库尤文","kj":"宽亚玛文","kk":"哈萨克文","kkj":"卡库文","kl":"格陵兰文","kln":"卡伦金文","km":"高棉文","kmb":"金邦杜文","kn":"卡纳达文","ko":"韩文","kok":"刚卡尼文","kos":"科斯拉伊文","kpe":"克佩列文","kr":"卡努里文","krc":"卡拉恰伊巴尔卡尔文","krl":"卡累利阿文","kro":"克鲁文","kru":"库鲁克文","ks":"克什米尔文","ksb":"香巴拉文","ksf":"巴菲亚文","ksh":"科隆文","ku":"库尔德文","kum":"库梅克文","kut":"库特内文","kv":"科米文","kw":"凯尔特文","ky":"吉尔吉斯文","la":"拉丁文","lad":"拉迪诺文","lag":"朗吉文","lah":"拉亨达文","lam":"兰巴文","lb":"卢森堡文","lez":"莱兹依昂文","lg":"卢干达文","li":"淋布尔吉文","lkt":"Lakota","ln":"林加拉文","lo":"老挝文","lol":"芒戈文","loz":"洛兹文","lt":"立陶宛文","lu":"鲁巴加丹加文","lua":"鲁巴鲁瓦文","lui":"路易塞诺文","lun":"隆达文","luo":"卢奥文","lus":"卢晒文","luy":"卢雅文","lv":"拉脱维亚文","mad":"马都拉文","maf":"马法文","mag":"马加伊文","mai":"迈蒂利文","mak":"望加锡文","man":"曼丁哥文","map":"澳斯特罗尼西亚语系","mas":"萨伊文","mde":"马坝文","mdf":"莫克沙文","mdr":"曼达尔文","men":"门迪文","mer":"梅鲁文","mfe":"毛里求斯克里奥尔文","mg":"马尔加什文","mga":"中古爱尔兰文","mgh":"马夸文","mgo":"梅塔","mh":"马绍尔文","mi":"毛利文","mic":"米克马克文","min":"米南卡保文","mis":"各种不同语系","mk":"马其顿文","mkh":"其他孟高棉语系","ml":"马拉雅拉姆文","mn":"蒙古文","mnc":"满文","mni":"曼尼普里文","mno":"马诺博语系","mo":"摩尔多瓦文","moh":"摩霍克文","mos":"莫西文","mr":"马拉地文","ms":"马来文","mt":"马耳他文","mua":"蒙当文","mul":"多种语系","mun":"蒙达语系","mus":"克里克文","mwl":"米兰德斯文","mwr":"马尔瓦利文","my":"缅甸文","mye":"姆耶内文","myn":"玛雅语系","myv":"俄日亚文","na":"瑙鲁文","nah":"纳瓦特尔文","nai":"其他北美印第安语系","nap":"拿波里文","naq":"纳马文","nb":"挪威博克马尔文","nd":"北恩德贝勒文","nds":"低地德文","ne":"尼泊尔文","new":"尼瓦尔文","ng":"恩东加文","nia":"尼亚斯文","nic":"其他尼日尔科尔多凡语系","niu":"纽埃文","nl":"荷兰文","nl-BE":"佛兰芒文","nmg":"夸西奥文","nn":"挪威尼诺斯克文","nnh":"恩甘澎文","no":"挪威文","nog":"诺盖文","non":"古诺尔斯文","nqo":"西非书面文字","nr":"南恩德贝勒文","nso":"北索托文","nub":"努比亚语系","nus":"努埃尔文","nv":"纳瓦霍文","nwc":"经典尼瓦尔文","ny":"尼扬扎文","nym":"尼亚姆韦齐文","nyn":"尼昂科勒文","nyo":"尼约罗文","nzi":"恩济马文","oc":"奥克西唐文","oj":"奥吉布瓦文","om":"奥洛莫文","or":"奥里亚文","os":"奥塞梯文","osa":"奥萨格文","ota":"奥托曼土耳其文","oto":"奥托米语系","pa":"旁遮普文","paa":"其他巴布亚文","pag":"邦阿西楠文","pal":"帕拉维文","pam":"邦板牙文","pap":"帕皮亚门托文","pau":"帕劳文","peo":"古老波斯文","phi":"其他菲律宾语系","phn":"腓尼基文","pi":"巴利文","pl":"波兰文","pon":"波纳佩文","pra":"普拉克里特诸语言","pro":"普罗文斯文","ps":"普什图文","pt":"葡萄牙文","pt-BR":"巴西葡萄牙文","pt-PT":"欧洲葡萄牙文","qu":"盖丘亚文","raj":"拉贾斯坦文","rap":"拉帕努伊文","rar":"拉罗汤加文","rm":"罗曼什文","rn":"基隆迪文","ro":"罗马尼亚文","roa":"其他拉丁语系","rof":"兰博文","rom":"吉普赛文","root":"根语言","ru":"俄文","rup":"阿罗马尼亚文","rw":"卢旺达文","rwk":"罗瓦文","sa":"梵文","sad":"散达维文","sah":"雅库特文","sai":"其他南美印第安文","sal":"萨利什文","sam":"萨玛利亚文","saq":"桑布鲁文","sas":"萨萨克文","sat":"桑塔利文","sba":"甘拜文","sbp":"桑古文","sc":"萨丁文","scn":"西西里文","sco":"苏格兰文","sd":"信德文","se":"北萨米文","see":"塞内卡文","seh":"塞纳文","sel":"塞尔库普文","sem":"其他闪族语系","ses":"东桑海文","sg":"桑戈文","sga":"古爱尔兰文","sgn":"手语","sh":"塞尔维亚-克罗地亚文","shi":"希尔哈文","shn":"掸文","shu":"乍得阿拉伯文","si":"僧伽罗文","sid":"悉达摩文","sio":"苏语诸语言","sit":"其他汉藏语系","sk":"斯洛伐克文","sl":"斯洛文尼亚文","sla":"其他斯拉夫语系","sm":"萨摩亚文","sma":"南萨米文","smi":"其他萨米文","smj":"律勒欧萨莫斯文","smn":"伊纳里萨米文","sms":"斯科特萨米文","sn":"绍纳文","snk":"索尼基文","so":"索马里文","sog":"古粟特文","son":"桑海文","sq":"阿尔巴尼亚文","sr":"塞尔维亚文","srn":"苏里南汤加文","srr":"谢列尔文","ss":"斯瓦特文","ssa":"非洲撒哈拉沙漠边缘地带语言","ssy":"萨霍文","st":"南索托文","su":"巽他文","suk":"苏库马文","sus":"苏苏文","sux":"苏马文","sv":"瑞典文","sw":"斯瓦希里文","swb":"科摩罗文","swc":"刚果斯瓦希里文","syc":"经典叙利亚文","syr":"叙利亚文","ta":"泰米尔文","tai":"傣语诸语言","te":"泰卢固文","tem":"滕内文","teo":"特索文","ter":"特列纳文","tet":"特塔姆文","tg":"塔吉克文","th":"泰文","ti":"提格里尼亚文","tig":"提格雷文","tiv":"蒂夫文","tk":"土库曼文","tkl":"托克劳文","tl":"塔加洛文","tlh":"克林贡文","tli":"特林吉特文","tmh":"塔马奇克文","tn":"塞茨瓦纳文","to":"汤加文","tog":"汤加文(尼亚萨地区)","tpi":"托克皮辛文","tr":"土耳其文","trv":"太鲁阁文","ts":"宗加文","tsi":"蒂姆西亚文","tt":"塔塔尔文","tum":"通布卡文","tup":"图皮语系","tut":"阿尔泰诸语言","tvl":"图瓦卢文","tw":"特威文","twq":"北桑海文","ty":"塔西提文","tyv":"图瓦文","tzm":"塔马齐格特文","udm":"乌德穆尔特文","ug":"维吾尔文","uga":"乌加里特文","uk":"乌克兰文","umb":"翁本杜文","und":"未知语言","ur":"乌尔都文","uz":"乌兹别克文","vai":"瓦伊文","ve":"文达文","vi":"越南文","vo":"沃拉普克文","vot":"沃提克文","vun":"温旧文","wa":"瓦隆文","wae":"瓦尔瑟文","wak":"瓦卡什诸语言","wal":"瓦拉莫文","war":"瓦赖文","was":"瓦绍文","wen":"索布诸语言","wo":"沃洛夫文","xal":"卡尔梅克文","xh":"科萨文","xog":"索加文","yao":"瑶族文","yap":"雅浦文","yav":"洋卞文","ybb":"耶姆巴文","yi":"依地文","yo":"约鲁巴文","ypk":"尤皮克诸语言","yue":"粤语","za":"壮文","zap":"萨波蒂克文","zbl":"布利斯符号","zen":"泽纳加文","zgh":"标准摩洛哥塔马塞特文","zh":"中文","zh-Hans":"简体中文","zh-Hant":"繁体中文","znd":"赞德文","zu":"祖鲁文","zun":"祖尼文","zxx":"无语言内容","zza":"扎扎文"};
|
1898
|
+
|
1899
|
+
rtl_data = {"af":false,"ar":true,"be":false,"bg":false,"bn":false,"ca":false,"cs":false,"cy":false,"da":false,"de":false,"de-CH":false,"el":false,"en":false,"en-150":false,"en-AU":false,"en-CA":false,"en-GB":false,"en-IE":false,"en-SG":false,"en-ZA":false,"es":false,"es-419":false,"es-CO":false,"es-MX":false,"es-US":false,"eu":false,"fa":true,"fi":false,"fil":false,"fr":false,"fr-BE":false,"fr-CA":false,"fr-CH":false,"ga":false,"gl":false,"he":true,"hi":false,"hr":false,"hu":false,"id":false,"is":false,"it":false,"it-CH":false,"ja":false,"ko":false,"lv":false,"ms":false,"nb":false,"nl":false,"pl":false,"pt":false,"ro":false,"ru":false,"sk":false,"sq":false,"sr":false,"sv":false,"ta":false,"th":false,"tr":false,"uk":false,"ur":true,"vi":false,"zh":false,"zh-Hant":false};
|
1900
|
+
|
1901
|
+
Languages.from_code = function(code) {
|
1902
|
+
return this.all[code] || null;
|
1903
|
+
};
|
1904
|
+
|
1905
|
+
Languages.is_rtl = function(locale) {
|
1906
|
+
var result;
|
1907
|
+
result = rtl_data[locale];
|
1908
|
+
if (result != null) {
|
1909
|
+
return result;
|
1910
|
+
} else {
|
1911
|
+
return null;
|
1912
|
+
}
|
1913
|
+
};
|
1914
|
+
|
1915
|
+
return Languages;
|
1916
|
+
|
1917
|
+
})();
|
1918
|
+
|
1833
1919
|
TwitterCldr.NumberParser = (function() {
|
1834
1920
|
function NumberParser() {
|
1835
1921
|
this.group_separator = ",";
|
@@ -1915,7 +2001,11 @@
|
|
1915
2001
|
if (callback) {
|
1916
2002
|
return callback(result);
|
1917
2003
|
} else {
|
1918
|
-
|
2004
|
+
if (result === null) {
|
2005
|
+
return default_value;
|
2006
|
+
} else {
|
2007
|
+
return result;
|
2008
|
+
}
|
1919
2009
|
}
|
1920
2010
|
};
|
1921
2011
|
|
@@ -2016,6 +2106,73 @@
|
|
2016
2106
|
|
2017
2107
|
})();
|
2018
2108
|
|
2109
|
+
TwitterCldr.TerritoriesContainment = (function() {
|
2110
|
+
function TerritoriesContainment() {}
|
2111
|
+
|
2112
|
+
TerritoriesContainment.territories_data = {"001":["002","009","019","142","150"],"002":["011","014","015","017","018"],"003":["013","021","029"],"005":["AR","BO","BR","CL","CO","EC","FK","GF","GY","PE","PY","SR","UY","VE"],"009":["053","054","057","061","QO"],"011":["BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["BI","DJ","ER","ET","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","TZ","UG","YT","ZM","ZW"],"015":["DZ","EA","EG","EH","IC","LY","MA","SD","SS","TN"],"017":["AO","CD","CF","CG","CM","GA","GQ","ST","TD","ZR"],"018":["BW","LS","NA","SZ","ZA"],"019":["003","005","013","021","029","419"],"021":["BM","CA","GL","PM","US"],"029":["AG","AI","AN","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["CN","HK","JP","KP","KR","MN","MO","TW"],"034":["AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["BN","BU","ID","KH","LA","MM","MY","PH","SG","TH","TL","TP","VN"],"039":["AD","AL","BA","CS","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK","YU"],"053":["AU","NF","NZ"],"054":["FJ","NC","PG","SB","VU"],"057":["FM","GU","KI","MH","MP","NR","PW"],"061":["AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],"142":["030","034","035","143","145"],"143":["KG","KZ","TJ","TM","UZ"],"145":["AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","NT","OM","PS","QA","SA","SY","TR","YD","YE"],"150":["039","151","154","155","EU","QU"],"151":["BG","BY","CZ","HU","MD","PL","RO","RU","SK","SU","UA"],"154":["AX","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","false","SE","SJ"],"155":["AT","BE","CH","DD","DE","FR","FX","LI","LU","MC","NL"],"419":["005","013","029"],"EU":["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],"QO":["AC","AQ","BV","CC","CP","CX","DG","GS","HM","IO","TA","TF","UM"]};
|
2113
|
+
|
2114
|
+
TerritoriesContainment.contains = function(parent_code, child_code) {
|
2115
|
+
var contains, immediate_child, immediate_children, _i, _len;
|
2116
|
+
this.validate_territory(parent_code);
|
2117
|
+
this.validate_territory(child_code);
|
2118
|
+
immediate_children = this.children(parent_code);
|
2119
|
+
contains = false;
|
2120
|
+
if (__indexOf.call(immediate_children, child_code) >= 0) {
|
2121
|
+
contains = true;
|
2122
|
+
} else {
|
2123
|
+
for (_i = 0, _len = immediate_children.length; _i < _len; _i++) {
|
2124
|
+
immediate_child = immediate_children[_i];
|
2125
|
+
if (this.contains(immediate_child, child_code)) {
|
2126
|
+
contains = true;
|
2127
|
+
break;
|
2128
|
+
}
|
2129
|
+
}
|
2130
|
+
}
|
2131
|
+
return contains;
|
2132
|
+
};
|
2133
|
+
|
2134
|
+
TerritoriesContainment.parents = function(territory_code) {
|
2135
|
+
this.validate_territory(territory_code);
|
2136
|
+
return this.parents_data[territory_code];
|
2137
|
+
};
|
2138
|
+
|
2139
|
+
TerritoriesContainment.children = function(territory_code) {
|
2140
|
+
this.validate_territory(territory_code);
|
2141
|
+
return this.territories_data[territory_code] || [];
|
2142
|
+
};
|
2143
|
+
|
2144
|
+
TerritoriesContainment.prepare_parents_data = function() {
|
2145
|
+
var child, children, data, territory, _i, _len, _ref;
|
2146
|
+
data = {};
|
2147
|
+
_ref = this.territories_data;
|
2148
|
+
for (territory in _ref) {
|
2149
|
+
children = _ref[territory];
|
2150
|
+
if (!(territory in data)) {
|
2151
|
+
data[territory] = [];
|
2152
|
+
}
|
2153
|
+
for (_i = 0, _len = children.length; _i < _len; _i++) {
|
2154
|
+
child = children[_i];
|
2155
|
+
if (!(child in data)) {
|
2156
|
+
data[child] = [];
|
2157
|
+
}
|
2158
|
+
data[child].push(territory);
|
2159
|
+
}
|
2160
|
+
}
|
2161
|
+
return data;
|
2162
|
+
};
|
2163
|
+
|
2164
|
+
TerritoriesContainment.parents_data = TerritoriesContainment.prepare_parents_data();
|
2165
|
+
|
2166
|
+
TerritoriesContainment.validate_territory = function(territory_code) {
|
2167
|
+
if (!(territory_code in this.parents_data)) {
|
2168
|
+
throw "unknown territory code";
|
2169
|
+
}
|
2170
|
+
};
|
2171
|
+
|
2172
|
+
return TerritoriesContainment;
|
2173
|
+
|
2174
|
+
})();
|
2175
|
+
|
2019
2176
|
root = typeof exports !== "undefined" && exports !== null ? exports : (this.TwitterCldr = {}, this.TwitterCldr);
|
2020
2177
|
|
2021
2178
|
for (key in TwitterCldr) {
|