');
doc.close();
}
if (!doc) throw Error('base not supported');
var baseTag = doc.createElement('base');
baseTag.href = base;
doc.getElementsByTagName('head')[0].appendChild(baseTag);
var anchor = doc.createElement('a');
anchor.href = url;
return anchor.href;
} finally {
if (iframe)
iframe.parentNode.removeChild(iframe);
}
}());
}
// An inner object implementing URLUtils (either a native URL
// object or an HTMLAnchorElement instance) is used to perform the
// URL algorithms.
var instance = URLUtils(url || '');
var self = this;
var query_object = new URLSearchParams(
instance.search ? instance.search.substring(1) : null);
query_object._url_object = self;
Object.defineProperties(self, {
href: {
get: function () { return instance.href; },
set: function (v) { instance.href = v; tidy_instance(); update_steps(); },
enumerable: true, configurable: true
},
origin: {
get: function () {
if (this.protocol.toLowerCase() === "data:") {
return null
}
if ('origin' in instance) return instance.origin;
return this.protocol + '//' + this.host;
},
enumerable: true, configurable: true
},
protocol: {
get: function () { return instance.protocol; },
set: function (v) { instance.protocol = v; },
enumerable: true, configurable: true
},
username: {
get: function () { return instance.username; },
set: function (v) { instance.username = v; },
enumerable: true, configurable: true
},
password: {
get: function () { return instance.password; },
set: function (v) { instance.password = v; },
enumerable: true, configurable: true
},
host: {
get: function () {
// IE returns default port in |host|
var re = {'http:': /:80$/, 'https:': /:443$/, 'ftp:': /:21$/}[instance.protocol];
return re ? instance.host.replace(re, '') : instance.host;
},
set: function (v) { instance.host = v; },
enumerable: true, configurable: true
},
hostname: {
get: function () { return instance.hostname; },
set: function (v) { instance.hostname = v; },
enumerable: true, configurable: true
},
port: {
get: function () { return instance.port; },
set: function (v) { instance.port = v; },
enumerable: true, configurable: true
},
pathname: {
get: function () {
// IE does not include leading '/' in |pathname|
if (instance.pathname.charAt(0) !== '/') return '/' + instance.pathname;
return instance.pathname;
},
set: function (v) { instance.pathname = v; },
enumerable: true, configurable: true
},
search: {
get: function () { return instance.search; },
set: function (v) {
if (instance.search === v) return;
instance.search = v; tidy_instance(); update_steps();
},
enumerable: true, configurable: true
},
searchParams: {
get: function () { return query_object; },
enumerable: true, configurable: true
},
hash: {
get: function () { return instance.hash; },
set: function (v) { instance.hash = v; tidy_instance(); },
enumerable: true, configurable: true
},
toString: {
value: function() { return instance.toString(); },
enumerable: false, configurable: true
},
valueOf: {
value: function() { return instance.valueOf(); },
enumerable: false, configurable: true
}
});
function tidy_instance() {
var href = instance.href.replace(/#$|\?$|\?(?=#)/g, '');
if (instance.href !== href)
instance.href = href;
}
function update_steps() {
query_object._setList(instance.search ? urlencoded_parse(instance.search.substring(1)) : []);
query_object._update_steps();
}
return self;
}
if (origURL) {
for (var i in origURL) {
if (Object.prototype.hasOwnProperty.call(origURL, i) && typeof origURL[i] === 'function')
URL[i] = origURL[i];
}
}
global.URL = URL;
global.URLSearchParams = URLSearchParams;
})();
// Patch native URLSearchParams constructor to handle sequences/records
// if necessary.
(function() {
if (new global.URLSearchParams([['a', 1]]).get('a') === '1' &&
new global.URLSearchParams({a: 1}).get('a') === '1')
return;
var orig = global.URLSearchParams;
global.URLSearchParams = function(init) {
if (init && typeof init === 'object' && isSequence(init)) {
var o = new orig();
Array.from(init).forEach(function (e) {
if (!isSequence(e)) throw TypeError();
var nv = Array.from(e);
if (nv.length !== 2) throw TypeError();
o.append(nv[0], nv[1]);
});
return o;
} else if (init && typeof init === 'object') {
o = new orig();
Object.keys(init).forEach(function(key) {
o.set(key, init[key]);
});
return o;
} else {
return new orig(init);
}
};
})();
}(self));
}
if (!((function(){try{var e,t
return"WeakMap"in self&&0===self.WeakMap.length&&(e={},"test"===(t=new self.WeakMap([[e,"test"]])).get(e))&&!1===t.delete(0)&&"toStringTag"in self.Symbol&&void 0!==t[self.Symbol.toStringTag]}catch(e){return!1}})()
)) {
// WeakMap
/* globals Symbol, OrdinaryCreateFromConstructor, IsCallable, GetIterator, IteratorStep, IteratorValue, IteratorClose, Get, Call, CreateMethodProperty, ThrowCompletion, Type, SameValue */
(function (global) {
// Deleted map items mess with iterator pointers, so rather than removing them mark them as deleted. Can't use undefined or null since those both valid keys so use a private symbol.
var undefMarker = Symbol('undef');
// 23.3.1.1 WeakMap ( [ iterable ] )
var WeakMap = function WeakMap(/* iterable */) {
// 1. If NewTarget is undefined, throw a TypeError exception.
if (!(this instanceof WeakMap)) {
throw new TypeError('Constructor WeakMap requires "new"');
}
// 2. Let map be ? OrdinaryCreateFromConstructor(NewTarget, "%WeakMapPrototype%", « [[WeakMapData]] »).
var map = OrdinaryCreateFromConstructor(this, WeakMap.prototype, {
_keys: [],
_values: [],
_es6WeakMap: true
});
// 3. Set map.[[WeakMapData]] to a new empty List.
// This step was done as part of step two.
// 4. If iterable is not present, let iterable be undefined.
var iterable = arguments.length > 0 ? arguments[0] : undefined;
// 5. If iterable is either undefined or null, return map.
if (iterable === null || iterable === undefined) {
return map;
}
// 6. Let adder be ? Get(map, "set").
var adder = Get(map, "set");
// 7. If IsCallable(adder) is false, throw a TypeError exception.
if (!IsCallable(adder)) {
throw new TypeError("WeakMap.prototype.set is not a function");
}
// 8. Let iteratorRecord be ? GetIterator(iterable).
try {
var iteratorRecord = GetIterator(iterable);
// 9. Repeat,
while (true) {
// a. Let next be ? IteratorStep(iteratorRecord).
var next = IteratorStep(iteratorRecord);
// b. If next is false, return map.
if (next === false) {
return map;
}
// c. Let nextItem be ? IteratorValue(next).
var nextItem = IteratorValue(next);
// d. If Type(nextItem) is not Object, then
if (Type(nextItem) !== 'object') {
// i. Let error be Completion{[[Type]]: throw, [[Value]]: a newly created TypeError object, [[Target]]: empty}.
var error = ThrowCompletion(new TypeError('Iterator value ' + nextItem + ' is not an entry object'));
// ii. Return ? IteratorClose(iteratorRecord, error).
return IteratorClose(iteratorRecord, error);
}
try {
// The try catch accounts for steps: f, h, and j.
// e. Let k be Get(nextItem, "0").
var k = Get(nextItem, "0");
// f. If k is an abrupt completion, return ? IteratorClose(iteratorRecord, k).
// g. Let v be Get(nextItem, "1").
var v = Get(nextItem, "1");
// h. If v is an abrupt completion, return ? IteratorClose(iteratorRecord, v).
// i. Let status be Call(adder, map, « k.[[Value]], v.[[Value]] »).
Call(adder, map, [k, v]);
} catch (e) {
// j. If status is an abrupt completion, return ? IteratorClose(iteratorRecord, status).
return IteratorClose(iteratorRecord, ThrowCompletion(e));
}
}
} catch (e) {
// For user agents which do not have iteration methods on argument objects or arrays, we can special case those.
if (Array.isArray(iterable) ||
Object.prototype.toString.call(iterable) === '[object Arguments]') {
var index;
var length = iterable.length;
for (index = 0; index < length; index++) {
k = iterable[index][0];
v = iterable[index][1];
Call(adder, map, [k, v]);
}
}
}
return map;
};
// 23.3.2.1 WeakMap.prototype
// The initial value of WeakMap.prototype is the intrinsic object %WeakMapPrototype%.
// This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
Object.defineProperty(WeakMap, 'prototype', {
configurable: false,
enumerable: false,
writable: false,
value: {}
});
// 23.3.3.1 WeakMap.prototype.constructor
CreateMethodProperty(WeakMap.prototype, 'constructor', WeakMap);
// 23.3.3.2 WeakMap.prototype.delete ( key )
CreateMethodProperty(WeakMap.prototype, 'delete', function (key) {
// 1. Let M be the this value.
var M = this;
// 2. If Type(M) is not Object, throw a TypeError exception.
if (Type(M) !== 'object') {
throw new TypeError('Method WeakMap.prototype.clear called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 3. If M does not have a [[WeakMapData]] internal slot, throw a TypeError exception.
if (M._es6WeakMap !== true) {
throw new TypeError('Method WeakMap.prototype.clear called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 4. Let entries be the List that is M.[[WeakMapData]].
var entries = M._keys;
// 5. If Type(key) is not Object, return false.
if (Type(key) !== 'object') {
return false;
}
// 6. For each Record {[[Key]], [[Value]]} p that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
// a. If p.[[Key]] is not empty and SameValue(p.[[Key]], key) is true, then
if (M._keys[i] !== undefMarker && SameValue(M._keys[i], key)) {
// i. Set p.[[Key]] to empty.
this._keys[i] = undefMarker;
// ii. Set p.[[Value]] to empty.
this._values[i] = undefMarker;
this._size = --this._size;
// iii. Return true.
return true;
}
}
// 7. Return false.
return false;
});
// 23.3.3.3 WeakMap.prototype.get ( key )
CreateMethodProperty(WeakMap.prototype, 'get', function get(key) {
// 1. Let M be the this value.
var M = this;
// 2. If Type(M) is not Object, throw a TypeError exception.
if (Type(M) !== 'object') {
throw new TypeError('Method WeakMap.prototype.get called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 3. If M does not have a [[WeakMapData]] internal slot, throw a TypeError exception.
if (M._es6WeakMap !== true) {
throw new TypeError('Method WeakMap.prototype.get called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 4. Let entries be the List that is M.[[WeakMapData]].
var entries = M._keys;
// 5. If Type(key) is not Object, return undefined.
if (Type(key) !== 'object') {
return undefined;
}
// 6. For each Record {[[Key]], [[Value]]} p that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
// a. If p.[[Key]] is not empty and SameValue(p.[[Key]], key) is true, return p.[[Value]].
if (M._keys[i] !== undefMarker && SameValue(M._keys[i], key)) {
return M._values[i];
}
}
// 7. Return undefined.
return undefined;
});
// 23.3.3.4 WeakMap.prototype.has ( key )
CreateMethodProperty(WeakMap.prototype, 'has', function has(key) {
// 1. Let M be the this value.
var M = this;
// 2. If Type(M) is not Object, throw a TypeError exception.
if (typeof M !== 'object') {
throw new TypeError('Method WeakMap.prototype.has called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 3. If M does not have a [[WeakMapData]] internal slot, throw a TypeError exception.
if (M._es6WeakMap !== true) {
throw new TypeError('Method WeakMap.prototype.has called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 4. Let entries be the List that is M.[[WeakMapData]].
var entries = M._keys;
// 5. If Type(key) is not Object, return false.
if (Type(key) !== 'object') {
return false;
}
// 6. For each Record {[[Key]], [[Value]]} p that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
// a. If p.[[Key]] is not empty and SameValue(p.[[Key]], key) is true, return true.
if (M._keys[i] !== undefMarker && SameValue(M._keys[i], key)) {
return true;
}
}
// 7. Return false.
return false;
});
// 23.3.3.5 WeakMap.prototype.set ( key, value )
CreateMethodProperty(WeakMap.prototype, 'set', function set(key, value) {
// 1. Let M be the this value.
var M = this;
// 2. If Type(M) is not Object, throw a TypeError exception.
if (Type(M) !== 'object') {
throw new TypeError('Method WeakMap.prototype.set called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 3. If M does not have a [[WeakMapData]] internal slot, throw a TypeError exception.
if (M._es6WeakMap !== true) {
throw new TypeError('Method WeakMap.prototype.set called on incompatible receiver ' + Object.prototype.toString.call(M));
}
// 4. Let entries be the List that is M.[[WeakMapData]].
var entries = M._keys;
// 5. If Type(key) is not Object, throw a TypeError exception.
if (Type(key) !== 'object') {
throw new TypeError("Invalid value used as weak map key");
}
// 6. For each Record {[[Key]], [[Value]]} p that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
// a. If p.[[Key]] is not empty and SameValue(p.[[Key]], key) is true, then
if (M._keys[i] !== undefMarker && SameValue(M._keys[i], key)) {
// i. Set p.[[Value]] to value.
M._values[i] = value;
// ii. Return M.
return M;
}
}
// 7. Let p be the Record {[[Key]]: key, [[Value]]: value}.
var p = {
'[[Key]]': key,
'[[Value]]': value
};
// 8. Append p as the last element of entries.
M._keys.push(p['[[Key]]']);
M._values.push(p['[[Value]]']);
// 9. Return M.
return M;
});
// 23.3.3.6 WeakMap.prototype [ @@toStringTag ]
// The initial value of the @@toStringTag property is the String value "WeakMap".
// This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
Object.defineProperty(WeakMap.prototype, Symbol.toStringTag, {
configurable: true,
enumerable: false,
writable: false,
value: 'WeakMap'
});
// Safari 8 implements WeakMap.name but as a non-writable property, which means it would throw an error if we try and write to it here.
if (!('name' in WeakMap)) {
// 19.2.4.2 name
Object.defineProperty(WeakMap, 'name', {
configurable: true,
enumerable: false,
writable: false,
value: 'WeakMap'
});
}
// Export the object
CreateMethodProperty(global, 'WeakMap', WeakMap);
}(self));
}
if (!("Intl"in self&&"Locale"in self.Intl
)) {
// Intl.Locale
(function() {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __markAsModule = function(target) {
return __defProp(target, "__esModule", {value: true});
};
var __commonJS = function(cb, mod) {
return function __require() {
return mod || (0, cb[Object.keys(cb)[0]])((mod = {exports: {}}).exports, mod), mod.exports;
};
};
var __reExport = function(target, module, desc) {
if (module && typeof module === "object" || typeof module === "function")
for (var keys = __getOwnPropNames(module), i = 0, n = keys.length, key; i < n; i++) {
key = keys[i];
if (!__hasOwnProp.call(target, key) && key !== "default")
__defProp(target, key, {get: function(k) {
return module[k];
}.bind(null, key), enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable});
}
return target;
};
var __toModule = function(module) {
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? {get: function() {
return module.default;
}, enumerable: true} : {value: module, enumerable: true})), module);
};
// node_modules/tslib/tslib.js
var require_tslib = __commonJS({
"node_modules/tslib/tslib.js": function(exports, module) {
var __extends2;
var __assign5;
var __rest;
var __decorate;
var __param;
var __metadata;
var __awaiter;
var __generator;
var __exportStar;
var __values;
var __read;
var __spread;
var __spreadArrays;
var __spreadArray2;
var __await;
var __asyncGenerator;
var __asyncDelegator;
var __asyncValues;
var __makeTemplateObject;
var __importStar;
var __importDefault;
var __classPrivateFieldGet;
var __classPrivateFieldSet;
var __createBinding;
(function(factory) {
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
if (typeof define === "function" && define.amd) {
define("tslib", ["exports"], function(exports2) {
factory(createExporter(root, createExporter(exports2)));
});
} else if (typeof module === "object" && typeof module.exports === "object") {
factory(createExporter(root, createExporter(module.exports)));
} else {
factory(createExporter(root));
}
function createExporter(exports2, previous) {
if (exports2 !== root) {
if (typeof Object.create === "function") {
Object.defineProperty(exports2, "__esModule", {value: true});
} else {
exports2.__esModule = true;
}
}
return function(id, v) {
return exports2[id] = previous ? previous(id, v) : v;
};
}
})(function(exporter) {
var extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function(d, b) {
d.__proto__ = b;
} || function(d, b) {
for (var p in b)
if (Object.prototype.hasOwnProperty.call(b, p))
d[p] = b[p];
};
__extends2 = function(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
__assign5 = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
__rest = function(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
__decorate = function(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if (d = decorators[i])
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
__param = function(paramIndex, decorator) {
return function(target, key) {
decorator(target, key, paramIndex);
};
};
__metadata = function(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
return Reflect.metadata(metadataKey, metadataValue);
};
__awaiter = function(thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function(resolve) {
resolve(value);
});
}
return new (P || (P = Promise))(function(resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
__generator = function(thisArg, body) {
var _ = {label: 0, sent: function() {
if (t[0] & 1)
throw t[1];
return t[1];
}, trys: [], ops: []}, f, y, t, g;
return g = {next: verb(0), "throw": verb(1), "return": verb(2)}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
return this;
}), g;
function verb(n) {
return function(v) {
return step([n, v]);
};
}
function step(op) {
if (f)
throw new TypeError("Generator is already executing.");
while (_)
try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
return t;
if (y = 0, t)
op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return {value: op[1], done: false};
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2])
_.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
} catch (e) {
op = [6, e];
y = 0;
} finally {
f = t = 0;
}
if (op[0] & 5)
throw op[1];
return {value: op[0] ? op[1] : void 0, done: true};
}
};
__exportStar = function(m, o) {
for (var p in m)
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
__createBinding(o, m, p);
};
__createBinding = Object.create ? function(o, m, k, k2) {
if (k2 === void 0)
k2 = k;
Object.defineProperty(o, k2, {enumerable: true, get: function() {
return m[k];
}});
} : function(o, m, k, k2) {
if (k2 === void 0)
k2 = k;
o[k2] = m[k];
};
__values = function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m)
return m.call(o);
if (o && typeof o.length === "number")
return {
next: function() {
if (o && i >= o.length)
o = void 0;
return {value: o && o[i++], done: !o};
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
__read = function(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m)
return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
ar.push(r.value);
} catch (error) {
e = {error: error};
} finally {
try {
if (r && !r.done && (m = i["return"]))
m.call(i);
} finally {
if (e)
throw e.error;
}
}
return ar;
};
__spread = function() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
};
__spreadArrays = function() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
__spreadArray2 = function(to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
};
__await = function(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
};
__asyncGenerator = function(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
return this;
}, i;
function verb(n) {
if (g[n])
i[n] = function(v) {
return new Promise(function(a, b) {
q.push([n, v, a, b]) > 1 || resume(n, v);
});
};
}
function resume(n, v) {
try {
step(g[n](v));
} catch (e) {
settle(q[0][3], e);
}
}
function step(r) {
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
}
function fulfill(value) {
resume("next", value);
}
function reject(value) {
resume("throw", value);
}
function settle(f, v) {
if (f(v), q.shift(), q.length)
resume(q[0][0], q[0][1]);
}
};
__asyncDelegator = function(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function(e) {
throw e;
}), verb("return"), i[Symbol.iterator] = function() {
return this;
}, i;
function verb(n, f) {
i[n] = o[n] ? function(v) {
return (p = !p) ? {value: __await(o[n](v)), done: n === "return"} : f ? f(v) : v;
} : f;
}
};
__asyncValues = function(o) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
return this;
}, i);
function verb(n) {
i[n] = o[n] && function(v) {
return new Promise(function(resolve, reject) {
v = o[n](v), settle(resolve, reject, v.done, v.value);
});
};
}
function settle(resolve, reject, d, v) {
Promise.resolve(v).then(function(v2) {
resolve({value: v2, done: d});
}, reject);
}
};
__makeTemplateObject = function(cooked, raw) {
if (Object.defineProperty) {
Object.defineProperty(cooked, "raw", {value: raw});
} else {
cooked.raw = raw;
}
return cooked;
};
var __setModuleDefault = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {enumerable: true, value: v});
} : function(o, v) {
o["default"] = v;
};
__importStar = function(mod) {
if (mod && mod.__esModule)
return mod;
var result = {};
if (mod != null) {
for (var k in mod)
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
__createBinding(result, mod, k);
}
__setModuleDefault(result, mod);
return result;
};
__importDefault = function(mod) {
return mod && mod.__esModule ? mod : {"default": mod};
};
__classPrivateFieldGet = function(receiver, state, kind, f) {
if (kind === "a" && !f)
throw new TypeError("Private accessor was defined without a getter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
};
__classPrivateFieldSet = function(receiver, state, value, kind, f) {
if (kind === "m")
throw new TypeError("Private method is not writable");
if (kind === "a" && !f)
throw new TypeError("Private accessor was defined without a setter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
throw new TypeError("Cannot write private member to an object whose class did not declare it");
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
};
exporter("__extends", __extends2);
exporter("__assign", __assign5);
exporter("__rest", __rest);
exporter("__decorate", __decorate);
exporter("__param", __param);
exporter("__metadata", __metadata);
exporter("__awaiter", __awaiter);
exporter("__generator", __generator);
exporter("__exportStar", __exportStar);
exporter("__createBinding", __createBinding);
exporter("__values", __values);
exporter("__read", __read);
exporter("__spread", __spread);
exporter("__spreadArrays", __spreadArrays);
exporter("__spreadArray", __spreadArray2);
exporter("__await", __await);
exporter("__asyncGenerator", __asyncGenerator);
exporter("__asyncDelegator", __asyncDelegator);
exporter("__asyncValues", __asyncValues);
exporter("__makeTemplateObject", __makeTemplateObject);
exporter("__importStar", __importStar);
exporter("__importDefault", __importDefault);
exporter("__classPrivateFieldGet", __classPrivateFieldGet);
exporter("__classPrivateFieldSet", __classPrivateFieldSet);
});
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/parser.js
var require_parser = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/parser.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
exports.parseUnicodeLocaleId = exports.parseUnicodeLanguageId = exports.isUnicodeVariantSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.isUnicodeLanguageSubtag = exports.SEPARATOR = void 0;
var tslib_1 = require_tslib();
var ALPHANUM_1_8 = /^[a-z0-9]{1,8}$/i;
var ALPHANUM_2_8 = /^[a-z0-9]{2,8}$/i;
var ALPHANUM_3_8 = /^[a-z0-9]{3,8}$/i;
var KEY_REGEX = /^[a-z0-9][a-z]$/i;
var TYPE_REGEX = /^[a-z0-9]{3,8}$/i;
var ALPHA_4 = /^[a-z]{4}$/i;
var OTHER_EXTENSION_TYPE = /^[0-9a-svwyz]$/i;
var UNICODE_REGION_SUBTAG_REGEX = /^([a-z]{2}|[0-9]{3})$/i;
var UNICODE_VARIANT_SUBTAG_REGEX = /^([a-z0-9]{5,8}|[0-9][a-z0-9]{3})$/i;
var UNICODE_LANGUAGE_SUBTAG_REGEX = /^([a-z]{2,3}|[a-z]{5,8})$/i;
var TKEY_REGEX = /^[a-z][0-9]$/i;
exports.SEPARATOR = "-";
function isUnicodeLanguageSubtag2(lang) {
return UNICODE_LANGUAGE_SUBTAG_REGEX.test(lang);
}
exports.isUnicodeLanguageSubtag = isUnicodeLanguageSubtag2;
function isStructurallyValidLanguageTag2(tag) {
try {
parseUnicodeLanguageId2(tag.split(exports.SEPARATOR));
} catch (e) {
return false;
}
return true;
}
exports.isStructurallyValidLanguageTag = isStructurallyValidLanguageTag2;
function isUnicodeRegionSubtag2(region) {
return UNICODE_REGION_SUBTAG_REGEX.test(region);
}
exports.isUnicodeRegionSubtag = isUnicodeRegionSubtag2;
function isUnicodeScriptSubtag2(script) {
return ALPHA_4.test(script);
}
exports.isUnicodeScriptSubtag = isUnicodeScriptSubtag2;
function isUnicodeVariantSubtag(variant) {
return UNICODE_VARIANT_SUBTAG_REGEX.test(variant);
}
exports.isUnicodeVariantSubtag = isUnicodeVariantSubtag;
function parseUnicodeLanguageId2(chunks) {
if (typeof chunks === "string") {
chunks = chunks.split(exports.SEPARATOR);
}
var lang = chunks.shift();
if (!lang) {
throw new RangeError("Missing unicode_language_subtag");
}
if (lang === "root") {
return {lang: "root", variants: []};
}
if (!isUnicodeLanguageSubtag2(lang)) {
throw new RangeError("Malformed unicode_language_subtag");
}
var script;
if (chunks.length && isUnicodeScriptSubtag2(chunks[0])) {
script = chunks.shift();
}
var region;
if (chunks.length && isUnicodeRegionSubtag2(chunks[0])) {
region = chunks.shift();
}
var variants = {};
while (chunks.length && isUnicodeVariantSubtag(chunks[0])) {
var variant = chunks.shift();
if (variant in variants) {
throw new RangeError('Duplicate variant "' + variant + '"');
}
variants[variant] = 1;
}
return {
lang: lang,
script: script,
region: region,
variants: Object.keys(variants)
};
}
exports.parseUnicodeLanguageId = parseUnicodeLanguageId2;
function parseUnicodeExtension(chunks) {
var keywords = [];
var keyword;
while (chunks.length && (keyword = parseKeyword(chunks))) {
keywords.push(keyword);
}
if (keywords.length) {
return {
type: "u",
keywords: keywords,
attributes: []
};
}
var attributes = [];
while (chunks.length && ALPHANUM_3_8.test(chunks[0])) {
attributes.push(chunks.shift());
}
while (chunks.length && (keyword = parseKeyword(chunks))) {
keywords.push(keyword);
}
if (keywords.length || attributes.length) {
return {
type: "u",
attributes: attributes,
keywords: keywords
};
}
throw new RangeError("Malformed unicode_extension");
}
function parseKeyword(chunks) {
var key;
if (!KEY_REGEX.test(chunks[0])) {
return;
}
key = chunks.shift();
var type = [];
while (chunks.length && TYPE_REGEX.test(chunks[0])) {
type.push(chunks.shift());
}
var value = "";
if (type.length) {
value = type.join(exports.SEPARATOR);
}
return [key, value];
}
function parseTransformedExtension(chunks) {
var lang;
try {
lang = parseUnicodeLanguageId2(chunks);
} catch (e) {
}
var fields = [];
while (chunks.length && TKEY_REGEX.test(chunks[0])) {
var key = chunks.shift();
var value = [];
while (chunks.length && ALPHANUM_3_8.test(chunks[0])) {
value.push(chunks.shift());
}
if (!value.length) {
throw new RangeError('Missing tvalue for tkey "' + key + '"');
}
fields.push([key, value.join(exports.SEPARATOR)]);
}
if (fields.length) {
return {
type: "t",
fields: fields,
lang: lang
};
}
throw new RangeError("Malformed transformed_extension");
}
function parsePuExtension(chunks) {
var exts = [];
while (chunks.length && ALPHANUM_1_8.test(chunks[0])) {
exts.push(chunks.shift());
}
if (exts.length) {
return {
type: "x",
value: exts.join(exports.SEPARATOR)
};
}
throw new RangeError("Malformed private_use_extension");
}
function parseOtherExtensionValue(chunks) {
var exts = [];
while (chunks.length && ALPHANUM_2_8.test(chunks[0])) {
exts.push(chunks.shift());
}
if (exts.length) {
return exts.join(exports.SEPARATOR);
}
return "";
}
function parseExtensions(chunks) {
if (!chunks.length) {
return {extensions: []};
}
var extensions = [];
var unicodeExtension;
var transformedExtension;
var puExtension;
var otherExtensionMap = {};
do {
var type = chunks.shift();
switch (type) {
case "u":
case "U":
if (unicodeExtension) {
throw new RangeError("There can only be 1 -u- extension");
}
unicodeExtension = parseUnicodeExtension(chunks);
extensions.push(unicodeExtension);
break;
case "t":
case "T":
if (transformedExtension) {
throw new RangeError("There can only be 1 -t- extension");
}
transformedExtension = parseTransformedExtension(chunks);
extensions.push(transformedExtension);
break;
case "x":
case "X":
if (puExtension) {
throw new RangeError("There can only be 1 -x- extension");
}
puExtension = parsePuExtension(chunks);
extensions.push(puExtension);
break;
default:
if (!OTHER_EXTENSION_TYPE.test(type)) {
throw new RangeError("Malformed extension type");
}
if (type in otherExtensionMap) {
throw new RangeError("There can only be 1 -" + type + "- extension");
}
var extension = {
type: type,
value: parseOtherExtensionValue(chunks)
};
otherExtensionMap[extension.type] = extension;
extensions.push(extension);
break;
}
} while (chunks.length);
return {extensions: extensions};
}
function parseUnicodeLocaleId2(locale) {
var chunks = locale.split(exports.SEPARATOR);
var lang = parseUnicodeLanguageId2(chunks);
return tslib_1.__assign({lang: lang}, parseExtensions(chunks));
}
exports.parseUnicodeLocaleId = parseUnicodeLocaleId2;
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/emitter.js
var require_emitter = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/emitter.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
exports.emitUnicodeLocaleId = exports.emitUnicodeLanguageId = void 0;
var tslib_1 = require_tslib();
function emitUnicodeLanguageId2(lang) {
if (!lang) {
return "";
}
return tslib_1.__spreadArray([lang.lang, lang.script, lang.region], lang.variants || []).filter(Boolean).join("-");
}
exports.emitUnicodeLanguageId = emitUnicodeLanguageId2;
function emitUnicodeLocaleId2(_a) {
var lang = _a.lang, extensions = _a.extensions;
var chunks = [emitUnicodeLanguageId2(lang)];
for (var _i = 0, extensions_1 = extensions; _i < extensions_1.length; _i++) {
var ext = extensions_1[_i];
chunks.push(ext.type);
switch (ext.type) {
case "u":
chunks.push.apply(chunks, tslib_1.__spreadArray(tslib_1.__spreadArray([], ext.attributes), ext.keywords.reduce(function(all, kv) {
return all.concat(kv);
}, [])));
break;
case "t":
chunks.push.apply(chunks, tslib_1.__spreadArray([emitUnicodeLanguageId2(ext.lang)], ext.fields.reduce(function(all, kv) {
return all.concat(kv);
}, [])));
break;
default:
chunks.push(ext.value);
break;
}
}
return chunks.filter(Boolean).join("-");
}
exports.emitUnicodeLocaleId = emitUnicodeLocaleId2;
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/data/aliases.js
var require_aliases = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/data/aliases.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
exports.variantAlias = exports.scriptAlias = exports.territoryAlias = exports.languageAlias = void 0;
exports.languageAlias = {
"aa-saaho": "ssy",
"aam": "aas",
"aar": "aa",
"abk": "ab",
"adp": "dz",
"afr": "af",
"agp": "apf",
"ais": "ami",
"aju": "jrb",
"aka": "ak",
"alb": "sq",
"als": "sq",
"amh": "am",
"ara": "ar",
"arb": "ar",
"arg": "an",
"arm": "hy",
"art-lojban": "jbo",
"asd": "snz",
"asm": "as",
"aue": "ktz",
"ava": "av",
"ave": "ae",
"aym": "ay",
"ayr": "ay",
"ayx": "nun",
"aze": "az",
"azj": "az",
"bak": "ba",
"bam": "bm",
"baq": "eu",
"baz": "nvo",
"bcc": "bal",
"bcl": "bik",
"bel": "be",
"ben": "bn",
"bgm": "bcg",
"bh": "bho",
"bhk": "fbl",
"bih": "bho",
"bis": "bi",
"bjd": "drl",
"bjq": "bzc",
"bkb": "ebk",
"bod": "bo",
"bos": "bs",
"bre": "br",
"btb": "beb",
"bul": "bg",
"bur": "my",
"bxk": "luy",
"bxr": "bua",
"cat": "ca",
"ccq": "rki",
"cel-gaulish": "xtg",
"ces": "cs",
"cha": "ch",
"che": "ce",
"chi": "zh",
"chu": "cu",
"chv": "cv",
"cjr": "mom",
"cka": "cmr",
"cld": "syr",
"cmk": "xch",
"cmn": "zh",
"cnr": "sr-ME",
"cor": "kw",
"cos": "co",
"coy": "pij",
"cqu": "quh",
"cre": "cr",
"cwd": "cr",
"cym": "cy",
"cze": "cs",
"daf": "dnj",
"dan": "da",
"dap": "njz",
"deu": "de",
"dgo": "doi",
"dhd": "mwr",
"dik": "din",
"diq": "zza",
"dit": "dif",
"div": "dv",
"djl": "dze",
"dkl": "aqd",
"drh": "mn",
"drr": "kzk",
"drw": "fa-AF",
"dud": "uth",
"duj": "dwu",
"dut": "nl",
"dwl": "dbt",
"dzo": "dz",
"ekk": "et",
"ell": "el",
"elp": "amq",
"emk": "man",
"en-GB-oed": "en-GB-oxendict",
"eng": "en",
"epo": "eo",
"esk": "ik",
"est": "et",
"eus": "eu",
"ewe": "ee",
"fao": "fo",
"fas": "fa",
"fat": "ak",
"fij": "fj",
"fin": "fi",
"fra": "fr",
"fre": "fr",
"fry": "fy",
"fuc": "ff",
"ful": "ff",
"gav": "dev",
"gaz": "om",
"gbc": "wny",
"gbo": "grb",
"geo": "ka",
"ger": "de",
"gfx": "vaj",
"ggn": "gvr",
"ggo": "esg",
"ggr": "gtu",
"gio": "aou",
"gla": "gd",
"gle": "ga",
"glg": "gl",
"gli": "kzk",
"glv": "gv",
"gno": "gon",
"gre": "el",
"grn": "gn",
"gti": "nyc",
"gug": "gn",
"guj": "gu",
"guv": "duz",
"gya": "gba",
"hat": "ht",
"hau": "ha",
"hbs": "sr-Latn",
"hdn": "hai",
"hea": "hmn",
"heb": "he",
"her": "hz",
"him": "srx",
"hin": "hi",
"hmo": "ho",
"hrr": "jal",
"hrv": "hr",
"hun": "hu",
"hy-arevmda": "hyw",
"hye": "hy",
"i-ami": "ami",
"i-bnn": "bnn",
"i-default": "en-x-i-default",
"i-enochian": "und-x-i-enochian",
"i-hak": "hak",
"i-klingon": "tlh",
"i-lux": "lb",
"i-mingo": "see-x-i-mingo",
"i-navajo": "nv",
"i-pwn": "pwn",
"i-tao": "tao",
"i-tay": "tay",
"i-tsu": "tsu",
"ibi": "opa",
"ibo": "ig",
"ice": "is",
"ido": "io",
"iii": "ii",
"ike": "iu",
"iku": "iu",
"ile": "ie",
"ill": "ilm",
"ilw": "gal",
"in": "id",
"ina": "ia",
"ind": "id",
"ipk": "ik",
"isl": "is",
"ita": "it",
"iw": "he",
"izi": "eza",
"jar": "jgk",
"jav": "jv",
"jeg": "oyb",
"ji": "yi",
"jpn": "ja",
"jw": "jv",
"kal": "kl",
"kan": "kn",
"kas": "ks",
"kat": "ka",
"kau": "kr",
"kaz": "kk",
"kdv": "zkd",
"kgc": "tdf",
"kgd": "ncq",
"kgh": "kml",
"khk": "mn",
"khm": "km",
"kik": "ki",
"kin": "rw",
"kir": "ky",
"kmr": "ku",
"knc": "kr",
"kng": "kg",
"knn": "kok",
"koj": "kwv",
"kom": "kv",
"kon": "kg",
"kor": "ko",
"kpp": "jkm",
"kpv": "kv",
"krm": "bmf",
"ktr": "dtp",
"kua": "kj",
"kur": "ku",
"kvs": "gdj",
"kwq": "yam",
"kxe": "tvd",
"kxl": "kru",
"kzh": "dgl",
"kzj": "dtp",
"kzt": "dtp",
"lao": "lo",
"lat": "la",
"lav": "lv",
"lbk": "bnc",
"leg": "enl",
"lii": "raq",
"lim": "li",
"lin": "ln",
"lit": "lt",
"llo": "ngt",
"lmm": "rmx",
"ltz": "lb",
"lub": "lu",
"lug": "lg",
"lvs": "lv",
"mac": "mk",
"mah": "mh",
"mal": "ml",
"mao": "mi",
"mar": "mr",
"may": "ms",
"meg": "cir",
"mgx": "jbk",
"mhr": "chm",
"mkd": "mk",
"mlg": "mg",
"mlt": "mt",
"mnk": "man",
"mnt": "wnn",
"mo": "ro",
"mof": "xnt",
"mol": "ro",
"mon": "mn",
"mri": "mi",
"msa": "ms",
"mst": "mry",
"mup": "raj",
"mwd": "dmw",
"mwj": "vaj",
"mya": "my",
"myd": "aog",
"myt": "mry",
"nad": "xny",
"nau": "na",
"nav": "nv",
"nbf": "nru",
"nbl": "nr",
"nbx": "ekc",
"ncp": "kdz",
"nde": "nd",
"ndo": "ng",
"nep": "ne",
"nld": "nl",
"nln": "azd",
"nlr": "nrk",
"nno": "nn",
"nns": "nbr",
"nnx": "ngv",
"no-bok": "nb",
"no-bokmal": "nb",
"no-nyn": "nn",
"no-nynorsk": "nn",
"nob": "nb",
"noo": "dtd",
"nor": "no",
"npi": "ne",
"nts": "pij",
"nxu": "bpp",
"nya": "ny",
"oci": "oc",
"ojg": "oj",
"oji": "oj",
"ori": "or",
"orm": "om",
"ory": "or",
"oss": "os",
"oun": "vaj",
"pan": "pa",
"pbu": "ps",
"pcr": "adx",
"per": "fa",
"pes": "fa",
"pli": "pi",
"plt": "mg",
"pmc": "huw",
"pmu": "phr",
"pnb": "lah",
"pol": "pl",
"por": "pt",
"ppa": "bfy",
"ppr": "lcq",
"prs": "fa-AF",
"pry": "prt",
"pus": "ps",
"puz": "pub",
"que": "qu",
"quz": "qu",
"rmr": "emx",
"rmy": "rom",
"roh": "rm",
"ron": "ro",
"rum": "ro",
"run": "rn",
"rus": "ru",
"sag": "sg",
"san": "sa",
"sap": "aqt",
"sca": "hle",
"scc": "sr",
"scr": "hr",
"sgl": "isk",
"sgn-BE-FR": "sfb",
"sgn-BE-NL": "vgt",
"sgn-BR": "bzs",
"sgn-CH-DE": "sgg",
"sgn-CO": "csn",
"sgn-DE": "gsg",
"sgn-DK": "dsl",
"sgn-ES": "ssp",
"sgn-FR": "fsl",
"sgn-GB": "bfi",
"sgn-GR": "gss",
"sgn-IE": "isg",
"sgn-IT": "ise",
"sgn-JP": "jsl",
"sgn-MX": "mfs",
"sgn-NI": "ncs",
"sgn-NL": "dse",
"sgn-NO": "nsi",
"sgn-PT": "psr",
"sgn-SE": "swl",
"sgn-US": "ase",
"sgn-ZA": "sfs",
"sh": "sr-Latn",
"sin": "si",
"skk": "oyb",
"slk": "sk",
"slo": "sk",
"slv": "sl",
"sme": "se",
"smo": "sm",
"sna": "sn",
"snd": "sd",
"som": "so",
"sot": "st",
"spa": "es",
"spy": "kln",
"sqi": "sq",
"src": "sc",
"srd": "sc",
"srp": "sr",
"ssw": "ss",
"sul": "sgd",
"sum": "ulw",
"sun": "su",
"swa": "sw",
"swc": "sw-CD",
"swe": "sv",
"swh": "sw",
"tah": "ty",
"tam": "ta",
"tat": "tt",
"tdu": "dtp",
"tel": "te",
"tgg": "bjp",
"tgk": "tg",
"tgl": "fil",
"tha": "th",
"thc": "tpo",
"thw": "ola",
"thx": "oyb",
"tib": "bo",
"tid": "itd",
"tie": "ras",
"tir": "ti",
"tkk": "twm",
"tl": "fil",
"tlw": "weo",
"tmp": "tyj",
"tne": "kak",
"tnf": "fa-AF",
"ton": "to",
"tsf": "taj",
"tsn": "tn",
"tso": "ts",
"ttq": "tmh",
"tuk": "tk",
"tur": "tr",
"tw": "ak",
"twi": "ak",
"uig": "ug",
"ukr": "uk",
"umu": "del",
"und-aaland": "und-AX",
"und-arevela": "und",
"und-arevmda": "und",
"und-bokmal": "und",
"und-hakka": "und",
"und-hepburn-heploc": "und-alalc97",
"und-lojban": "und",
"und-nynorsk": "und",
"und-saaho": "und",
"und-xiang": "und",
"unp": "wro",
"uok": "ema",
"urd": "ur",
"uzb": "uz",
"uzn": "uz",
"ven": "ve",
"vie": "vi",
"vol": "vo",
"wel": "cy",
"wgw": "wgb",
"wit": "nol",
"wiw": "nwo",
"wln": "wa",
"wol": "wo",
"xba": "cax",
"xho": "xh",
"xia": "acn",
"xkh": "waw",
"xpe": "kpe",
"xrq": "dmw",
"xsj": "suj",
"xsl": "den",
"ybd": "rki",
"ydd": "yi",
"yen": "ynq",
"yid": "yi",
"yiy": "yrm",
"yma": "lrr",
"ymt": "mtm",
"yor": "yo",
"yos": "zom",
"yuu": "yug",
"zai": "zap",
"zh-cmn": "zh",
"zh-cmn-Hans": "zh-Hans",
"zh-cmn-Hant": "zh-Hant",
"zh-gan": "gan",
"zh-guoyu": "zh",
"zh-hakka": "hak",
"zh-min": "nan-x-zh-min",
"zh-min-nan": "nan",
"zh-wuu": "wuu",
"zh-xiang": "hsn",
"zh-yue": "yue",
"zha": "za",
"zho": "zh",
"zir": "scv",
"zsm": "ms",
"zul": "zu",
"zyb": "za"
};
exports.territoryAlias = {
"100": "BG",
"104": "MM",
"108": "BI",
"112": "BY",
"116": "KH",
"120": "CM",
"124": "CA",
"132": "CV",
"136": "KY",
"140": "CF",
"144": "LK",
"148": "TD",
"152": "CL",
"156": "CN",
"158": "TW",
"162": "CX",
"166": "CC",
"170": "CO",
"172": "RU AM AZ BY GE KG KZ MD TJ TM UA UZ",
"174": "KM",
"175": "YT",
"178": "CG",
"180": "CD",
"184": "CK",
"188": "CR",
"191": "HR",
"192": "CU",
"196": "CY",
"200": "CZ SK",
"203": "CZ",
"204": "BJ",
"208": "DK",
"212": "DM",
"214": "DO",
"218": "EC",
"222": "SV",
"226": "GQ",
"230": "ET",
"231": "ET",
"232": "ER",
"233": "EE",
"234": "FO",
"238": "FK",
"239": "GS",
"242": "FJ",
"246": "FI",
"248": "AX",
"249": "FR",
"250": "FR",
"254": "GF",
"258": "PF",
"260": "TF",
"262": "DJ",
"266": "GA",
"268": "GE",
"270": "GM",
"275": "PS",
"276": "DE",
"278": "DE",
"280": "DE",
"288": "GH",
"292": "GI",
"296": "KI",
"300": "GR",
"304": "GL",
"308": "GD",
"312": "GP",
"316": "GU",
"320": "GT",
"324": "GN",
"328": "GY",
"332": "HT",
"334": "HM",
"336": "VA",
"340": "HN",
"344": "HK",
"348": "HU",
"352": "IS",
"356": "IN",
"360": "ID",
"364": "IR",
"368": "IQ",
"372": "IE",
"376": "IL",
"380": "IT",
"384": "CI",
"388": "JM",
"392": "JP",
"398": "KZ",
"400": "JO",
"404": "KE",
"408": "KP",
"410": "KR",
"414": "KW",
"417": "KG",
"418": "LA",
"422": "LB",
"426": "LS",
"428": "LV",
"430": "LR",
"434": "LY",
"438": "LI",
"440": "LT",
"442": "LU",
"446": "MO",
"450": "MG",
"454": "MW",
"458": "MY",
"462": "MV",
"466": "ML",
"470": "MT",
"474": "MQ",
"478": "MR",
"480": "MU",
"484": "MX",
"492": "MC",
"496": "MN",
"498": "MD",
"499": "ME",
"500": "MS",
"504": "MA",
"508": "MZ",
"512": "OM",
"516": "NA",
"520": "NR",
"524": "NP",
"528": "NL",
"530": "CW SX BQ",
"531": "CW",
"532": "CW SX BQ",
"533": "AW",
"534": "SX",
"535": "BQ",
"536": "SA IQ",
"540": "NC",
"548": "VU",
"554": "NZ",
"558": "NI",
"562": "NE",
"566": "NG",
"570": "NU",
"574": "NF",
"578": "NO",
"580": "MP",
"581": "UM",
"582": "FM MH MP PW",
"583": "FM",
"584": "MH",
"585": "PW",
"586": "PK",
"591": "PA",
"598": "PG",
"600": "PY",
"604": "PE",
"608": "PH",
"612": "PN",
"616": "PL",
"620": "PT",
"624": "GW",
"626": "TL",
"630": "PR",
"634": "QA",
"638": "RE",
"642": "RO",
"643": "RU",
"646": "RW",
"652": "BL",
"654": "SH",
"659": "KN",
"660": "AI",
"662": "LC",
"663": "MF",
"666": "PM",
"670": "VC",
"674": "SM",
"678": "ST",
"682": "SA",
"686": "SN",
"688": "RS",
"690": "SC",
"694": "SL",
"702": "SG",
"703": "SK",
"704": "VN",
"705": "SI",
"706": "SO",
"710": "ZA",
"716": "ZW",
"720": "YE",
"724": "ES",
"728": "SS",
"729": "SD",
"732": "EH",
"736": "SD",
"740": "SR",
"744": "SJ",
"748": "SZ",
"752": "SE",
"756": "CH",
"760": "SY",
"762": "TJ",
"764": "TH",
"768": "TG",
"772": "TK",
"776": "TO",
"780": "TT",
"784": "AE",
"788": "TN",
"792": "TR",
"795": "TM",
"796": "TC",
"798": "TV",
"800": "UG",
"804": "UA",
"807": "MK",
"810": "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",
"818": "EG",
"826": "GB",
"830": "JE GG",
"831": "GG",
"832": "JE",
"833": "IM",
"834": "TZ",
"840": "US",
"850": "VI",
"854": "BF",
"858": "UY",
"860": "UZ",
"862": "VE",
"876": "WF",
"882": "WS",
"886": "YE",
"887": "YE",
"890": "RS ME SI HR MK BA",
"891": "RS ME",
"894": "ZM",
"958": "AA",
"959": "QM",
"960": "QN",
"962": "QP",
"963": "QQ",
"964": "QR",
"965": "QS",
"966": "QT",
"967": "EU",
"968": "QV",
"969": "QW",
"970": "QX",
"971": "QY",
"972": "QZ",
"973": "XA",
"974": "XB",
"975": "XC",
"976": "XD",
"977": "XE",
"978": "XF",
"979": "XG",
"980": "XH",
"981": "XI",
"982": "XJ",
"983": "XK",
"984": "XL",
"985": "XM",
"986": "XN",
"987": "XO",
"988": "XP",
"989": "XQ",
"990": "XR",
"991": "XS",
"992": "XT",
"993": "XU",
"994": "XV",
"995": "XW",
"996": "XX",
"997": "XY",
"998": "XZ",
"999": "ZZ",
"004": "AF",
"008": "AL",
"010": "AQ",
"012": "DZ",
"016": "AS",
"020": "AD",
"024": "AO",
"028": "AG",
"031": "AZ",
"032": "AR",
"036": "AU",
"040": "AT",
"044": "BS",
"048": "BH",
"050": "BD",
"051": "AM",
"052": "BB",
"056": "BE",
"060": "BM",
"062": "034 143",
"064": "BT",
"068": "BO",
"070": "BA",
"072": "BW",
"074": "BV",
"076": "BR",
"084": "BZ",
"086": "IO",
"090": "SB",
"092": "VG",
"096": "BN",
"AAA": "AA",
"ABW": "AW",
"AFG": "AF",
"AGO": "AO",
"AIA": "AI",
"ALA": "AX",
"ALB": "AL",
"AN": "CW SX BQ",
"AND": "AD",
"ANT": "CW SX BQ",
"ARE": "AE",
"ARG": "AR",
"ARM": "AM",
"ASC": "AC",
"ASM": "AS",
"ATA": "AQ",
"ATF": "TF",
"ATG": "AG",
"AUS": "AU",
"AUT": "AT",
"AZE": "AZ",
"BDI": "BI",
"BEL": "BE",
"BEN": "BJ",
"BES": "BQ",
"BFA": "BF",
"BGD": "BD",
"BGR": "BG",
"BHR": "BH",
"BHS": "BS",
"BIH": "BA",
"BLM": "BL",
"BLR": "BY",
"BLZ": "BZ",
"BMU": "BM",
"BOL": "BO",
"BRA": "BR",
"BRB": "BB",
"BRN": "BN",
"BTN": "BT",
"BU": "MM",
"BUR": "MM",
"BVT": "BV",
"BWA": "BW",
"CAF": "CF",
"CAN": "CA",
"CCK": "CC",
"CHE": "CH",
"CHL": "CL",
"CHN": "CN",
"CIV": "CI",
"CMR": "CM",
"COD": "CD",
"COG": "CG",
"COK": "CK",
"COL": "CO",
"COM": "KM",
"CPT": "CP",
"CPV": "CV",
"CRI": "CR",
"CS": "RS ME",
"CT": "KI",
"CUB": "CU",
"CUW": "CW",
"CXR": "CX",
"CYM": "KY",
"CYP": "CY",
"CZE": "CZ",
"DD": "DE",
"DDR": "DE",
"DEU": "DE",
"DGA": "DG",
"DJI": "DJ",
"DMA": "DM",
"DNK": "DK",
"DOM": "DO",
"DY": "BJ",
"DZA": "DZ",
"ECU": "EC",
"EGY": "EG",
"ERI": "ER",
"ESH": "EH",
"ESP": "ES",
"EST": "EE",
"ETH": "ET",
"FIN": "FI",
"FJI": "FJ",
"FLK": "FK",
"FQ": "AQ TF",
"FRA": "FR",
"FRO": "FO",
"FSM": "FM",
"FX": "FR",
"FXX": "FR",
"GAB": "GA",
"GBR": "GB",
"GEO": "GE",
"GGY": "GG",
"GHA": "GH",
"GIB": "GI",
"GIN": "GN",
"GLP": "GP",
"GMB": "GM",
"GNB": "GW",
"GNQ": "GQ",
"GRC": "GR",
"GRD": "GD",
"GRL": "GL",
"GTM": "GT",
"GUF": "GF",
"GUM": "GU",
"GUY": "GY",
"HKG": "HK",
"HMD": "HM",
"HND": "HN",
"HRV": "HR",
"HTI": "HT",
"HUN": "HU",
"HV": "BF",
"IDN": "ID",
"IMN": "IM",
"IND": "IN",
"IOT": "IO",
"IRL": "IE",
"IRN": "IR",
"IRQ": "IQ",
"ISL": "IS",
"ISR": "IL",
"ITA": "IT",
"JAM": "JM",
"JEY": "JE",
"JOR": "JO",
"JPN": "JP",
"JT": "UM",
"KAZ": "KZ",
"KEN": "KE",
"KGZ": "KG",
"KHM": "KH",
"KIR": "KI",
"KNA": "KN",
"KOR": "KR",
"KWT": "KW",
"LAO": "LA",
"LBN": "LB",
"LBR": "LR",
"LBY": "LY",
"LCA": "LC",
"LIE": "LI",
"LKA": "LK",
"LSO": "LS",
"LTU": "LT",
"LUX": "LU",
"LVA": "LV",
"MAC": "MO",
"MAF": "MF",
"MAR": "MA",
"MCO": "MC",
"MDA": "MD",
"MDG": "MG",
"MDV": "MV",
"MEX": "MX",
"MHL": "MH",
"MI": "UM",
"MKD": "MK",
"MLI": "ML",
"MLT": "MT",
"MMR": "MM",
"MNE": "ME",
"MNG": "MN",
"MNP": "MP",
"MOZ": "MZ",
"MRT": "MR",
"MSR": "MS",
"MTQ": "MQ",
"MUS": "MU",
"MWI": "MW",
"MYS": "MY",
"MYT": "YT",
"NAM": "NA",
"NCL": "NC",
"NER": "NE",
"NFK": "NF",
"NGA": "NG",
"NH": "VU",
"NIC": "NI",
"NIU": "NU",
"NLD": "NL",
"NOR": "NO",
"NPL": "NP",
"NQ": "AQ",
"NRU": "NR",
"NT": "SA IQ",
"NTZ": "SA IQ",
"NZL": "NZ",
"OMN": "OM",
"PAK": "PK",
"PAN": "PA",
"PC": "FM MH MP PW",
"PCN": "PN",
"PER": "PE",
"PHL": "PH",
"PLW": "PW",
"PNG": "PG",
"POL": "PL",
"PRI": "PR",
"PRK": "KP",
"PRT": "PT",
"PRY": "PY",
"PSE": "PS",
"PU": "UM",
"PYF": "PF",
"PZ": "PA",
"QAT": "QA",
"QMM": "QM",
"QNN": "QN",
"QPP": "QP",
"QQQ": "QQ",
"QRR": "QR",
"QSS": "QS",
"QTT": "QT",
"QU": "EU",
"QUU": "EU",
"QVV": "QV",
"QWW": "QW",
"QXX": "QX",
"QYY": "QY",
"QZZ": "QZ",
"REU": "RE",
"RH": "ZW",
"ROU": "RO",
"RUS": "RU",
"RWA": "RW",
"SAU": "SA",
"SCG": "RS ME",
"SDN": "SD",
"SEN": "SN",
"SGP": "SG",
"SGS": "GS",
"SHN": "SH",
"SJM": "SJ",
"SLB": "SB",
"SLE": "SL",
"SLV": "SV",
"SMR": "SM",
"SOM": "SO",
"SPM": "PM",
"SRB": "RS",
"SSD": "SS",
"STP": "ST",
"SU": "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",
"SUN": "RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",
"SUR": "SR",
"SVK": "SK",
"SVN": "SI",
"SWE": "SE",
"SWZ": "SZ",
"SXM": "SX",
"SYC": "SC",
"SYR": "SY",
"TAA": "TA",
"TCA": "TC",
"TCD": "TD",
"TGO": "TG",
"THA": "TH",
"TJK": "TJ",
"TKL": "TK",
"TKM": "TM",
"TLS": "TL",
"TMP": "TL",
"TON": "TO",
"TP": "TL",
"TTO": "TT",
"TUN": "TN",
"TUR": "TR",
"TUV": "TV",
"TWN": "TW",
"TZA": "TZ",
"UGA": "UG",
"UK": "GB",
"UKR": "UA",
"UMI": "UM",
"URY": "UY",
"USA": "US",
"UZB": "UZ",
"VAT": "VA",
"VCT": "VC",
"VD": "VN",
"VEN": "VE",
"VGB": "VG",
"VIR": "VI",
"VNM": "VN",
"VUT": "VU",
"WK": "UM",
"WLF": "WF",
"WSM": "WS",
"XAA": "XA",
"XBB": "XB",
"XCC": "XC",
"XDD": "XD",
"XEE": "XE",
"XFF": "XF",
"XGG": "XG",
"XHH": "XH",
"XII": "XI",
"XJJ": "XJ",
"XKK": "XK",
"XLL": "XL",
"XMM": "XM",
"XNN": "XN",
"XOO": "XO",
"XPP": "XP",
"XQQ": "XQ",
"XRR": "XR",
"XSS": "XS",
"XTT": "XT",
"XUU": "XU",
"XVV": "XV",
"XWW": "XW",
"XXX": "XX",
"XYY": "XY",
"XZZ": "XZ",
"YD": "YE",
"YEM": "YE",
"YMD": "YE",
"YU": "RS ME",
"YUG": "RS ME",
"ZAF": "ZA",
"ZAR": "CD",
"ZMB": "ZM",
"ZR": "CD",
"ZWE": "ZW",
"ZZZ": "ZZ"
};
exports.scriptAlias = {
"Qaai": "Zinh"
};
exports.variantAlias = {
"heploc": "alalc97",
"polytoni": "polyton"
};
}
});
// node_modules/cldr-core/supplemental/likelySubtags.json
var require_likelySubtags = __commonJS({
"node_modules/cldr-core/supplemental/likelySubtags.json": function(exports, module) {
module.exports = {
supplemental: {
version: {
_unicodeVersion: "13.0.0",
_cldrVersion: "39"
},
likelySubtags: {
aa: "aa-Latn-ET",
aai: "aai-Latn-ZZ",
aak: "aak-Latn-ZZ",
aau: "aau-Latn-ZZ",
ab: "ab-Cyrl-GE",
abi: "abi-Latn-ZZ",
abq: "abq-Cyrl-ZZ",
abr: "abr-Latn-GH",
abt: "abt-Latn-ZZ",
aby: "aby-Latn-ZZ",
acd: "acd-Latn-ZZ",
ace: "ace-Latn-ID",
ach: "ach-Latn-UG",
ada: "ada-Latn-GH",
ade: "ade-Latn-ZZ",
adj: "adj-Latn-ZZ",
adp: "adp-Tibt-BT",
ady: "ady-Cyrl-RU",
adz: "adz-Latn-ZZ",
ae: "ae-Avst-IR",
aeb: "aeb-Arab-TN",
aey: "aey-Latn-ZZ",
af: "af-Latn-ZA",
agc: "agc-Latn-ZZ",
agd: "agd-Latn-ZZ",
agg: "agg-Latn-ZZ",
agm: "agm-Latn-ZZ",
ago: "ago-Latn-ZZ",
agq: "agq-Latn-CM",
aha: "aha-Latn-ZZ",
ahl: "ahl-Latn-ZZ",
aho: "aho-Ahom-IN",
ajg: "ajg-Latn-ZZ",
ak: "ak-Latn-GH",
akk: "akk-Xsux-IQ",
ala: "ala-Latn-ZZ",
ali: "ali-Latn-ZZ",
aln: "aln-Latn-XK",
alt: "alt-Cyrl-RU",
am: "am-Ethi-ET",
amm: "amm-Latn-ZZ",
amn: "amn-Latn-ZZ",
amo: "amo-Latn-NG",
amp: "amp-Latn-ZZ",
an: "an-Latn-ES",
anc: "anc-Latn-ZZ",
ank: "ank-Latn-ZZ",
ann: "ann-Latn-ZZ",
any: "any-Latn-ZZ",
aoj: "aoj-Latn-ZZ",
aom: "aom-Latn-ZZ",
aoz: "aoz-Latn-ID",
apc: "apc-Arab-ZZ",
apd: "apd-Arab-TG",
ape: "ape-Latn-ZZ",
apr: "apr-Latn-ZZ",
aps: "aps-Latn-ZZ",
apz: "apz-Latn-ZZ",
ar: "ar-Arab-EG",
arc: "arc-Armi-IR",
"arc-Nbat": "arc-Nbat-JO",
"arc-Palm": "arc-Palm-SY",
arh: "arh-Latn-ZZ",
arn: "arn-Latn-CL",
aro: "aro-Latn-BO",
arq: "arq-Arab-DZ",
ars: "ars-Arab-SA",
ary: "ary-Arab-MA",
arz: "arz-Arab-EG",
as: "as-Beng-IN",
asa: "asa-Latn-TZ",
ase: "ase-Sgnw-US",
asg: "asg-Latn-ZZ",
aso: "aso-Latn-ZZ",
ast: "ast-Latn-ES",
ata: "ata-Latn-ZZ",
atg: "atg-Latn-ZZ",
atj: "atj-Latn-CA",
auy: "auy-Latn-ZZ",
av: "av-Cyrl-RU",
avl: "avl-Arab-ZZ",
avn: "avn-Latn-ZZ",
avt: "avt-Latn-ZZ",
avu: "avu-Latn-ZZ",
awa: "awa-Deva-IN",
awb: "awb-Latn-ZZ",
awo: "awo-Latn-ZZ",
awx: "awx-Latn-ZZ",
ay: "ay-Latn-BO",
ayb: "ayb-Latn-ZZ",
az: "az-Latn-AZ",
"az-Arab": "az-Arab-IR",
"az-IQ": "az-Arab-IQ",
"az-IR": "az-Arab-IR",
"az-RU": "az-Cyrl-RU",
ba: "ba-Cyrl-RU",
bal: "bal-Arab-PK",
ban: "ban-Latn-ID",
bap: "bap-Deva-NP",
bar: "bar-Latn-AT",
bas: "bas-Latn-CM",
bav: "bav-Latn-ZZ",
bax: "bax-Bamu-CM",
bba: "bba-Latn-ZZ",
bbb: "bbb-Latn-ZZ",
bbc: "bbc-Latn-ID",
bbd: "bbd-Latn-ZZ",
bbj: "bbj-Latn-CM",
bbp: "bbp-Latn-ZZ",
bbr: "bbr-Latn-ZZ",
bcf: "bcf-Latn-ZZ",
bch: "bch-Latn-ZZ",
bci: "bci-Latn-CI",
bcm: "bcm-Latn-ZZ",
bcn: "bcn-Latn-ZZ",
bco: "bco-Latn-ZZ",
bcq: "bcq-Ethi-ZZ",
bcu: "bcu-Latn-ZZ",
bdd: "bdd-Latn-ZZ",
be: "be-Cyrl-BY",
bef: "bef-Latn-ZZ",
beh: "beh-Latn-ZZ",
bej: "bej-Arab-SD",
bem: "bem-Latn-ZM",
bet: "bet-Latn-ZZ",
bew: "bew-Latn-ID",
bex: "bex-Latn-ZZ",
bez: "bez-Latn-TZ",
bfd: "bfd-Latn-CM",
bfq: "bfq-Taml-IN",
bft: "bft-Arab-PK",
bfy: "bfy-Deva-IN",
bg: "bg-Cyrl-BG",
bgc: "bgc-Deva-IN",
bgn: "bgn-Arab-PK",
bgx: "bgx-Grek-TR",
bhb: "bhb-Deva-IN",
bhg: "bhg-Latn-ZZ",
bhi: "bhi-Deva-IN",
bhl: "bhl-Latn-ZZ",
bho: "bho-Deva-IN",
bhy: "bhy-Latn-ZZ",
bi: "bi-Latn-VU",
bib: "bib-Latn-ZZ",
big: "big-Latn-ZZ",
bik: "bik-Latn-PH",
bim: "bim-Latn-ZZ",
bin: "bin-Latn-NG",
bio: "bio-Latn-ZZ",
biq: "biq-Latn-ZZ",
bjh: "bjh-Latn-ZZ",
bji: "bji-Ethi-ZZ",
bjj: "bjj-Deva-IN",
bjn: "bjn-Latn-ID",
bjo: "bjo-Latn-ZZ",
bjr: "bjr-Latn-ZZ",
bjt: "bjt-Latn-SN",
bjz: "bjz-Latn-ZZ",
bkc: "bkc-Latn-ZZ",
bkm: "bkm-Latn-CM",
bkq: "bkq-Latn-ZZ",
bku: "bku-Latn-PH",
bkv: "bkv-Latn-ZZ",
blt: "blt-Tavt-VN",
bm: "bm-Latn-ML",
bmh: "bmh-Latn-ZZ",
bmk: "bmk-Latn-ZZ",
bmq: "bmq-Latn-ML",
bmu: "bmu-Latn-ZZ",
bn: "bn-Beng-BD",
bng: "bng-Latn-ZZ",
bnm: "bnm-Latn-ZZ",
bnp: "bnp-Latn-ZZ",
bo: "bo-Tibt-CN",
boj: "boj-Latn-ZZ",
bom: "bom-Latn-ZZ",
bon: "bon-Latn-ZZ",
bpy: "bpy-Beng-IN",
bqc: "bqc-Latn-ZZ",
bqi: "bqi-Arab-IR",
bqp: "bqp-Latn-ZZ",
bqv: "bqv-Latn-CI",
br: "br-Latn-FR",
bra: "bra-Deva-IN",
brh: "brh-Arab-PK",
brx: "brx-Deva-IN",
brz: "brz-Latn-ZZ",
bs: "bs-Latn-BA",
bsj: "bsj-Latn-ZZ",
bsq: "bsq-Bass-LR",
bss: "bss-Latn-CM",
bst: "bst-Ethi-ZZ",
bto: "bto-Latn-PH",
btt: "btt-Latn-ZZ",
btv: "btv-Deva-PK",
bua: "bua-Cyrl-RU",
buc: "buc-Latn-YT",
bud: "bud-Latn-ZZ",
bug: "bug-Latn-ID",
buk: "buk-Latn-ZZ",
bum: "bum-Latn-CM",
buo: "buo-Latn-ZZ",
bus: "bus-Latn-ZZ",
buu: "buu-Latn-ZZ",
bvb: "bvb-Latn-GQ",
bwd: "bwd-Latn-ZZ",
bwr: "bwr-Latn-ZZ",
bxh: "bxh-Latn-ZZ",
bye: "bye-Latn-ZZ",
byn: "byn-Ethi-ER",
byr: "byr-Latn-ZZ",
bys: "bys-Latn-ZZ",
byv: "byv-Latn-CM",
byx: "byx-Latn-ZZ",
bza: "bza-Latn-ZZ",
bze: "bze-Latn-ML",
bzf: "bzf-Latn-ZZ",
bzh: "bzh-Latn-ZZ",
bzw: "bzw-Latn-ZZ",
ca: "ca-Latn-ES",
cad: "cad-Latn-US",
can: "can-Latn-ZZ",
cbj: "cbj-Latn-ZZ",
cch: "cch-Latn-NG",
ccp: "ccp-Cakm-BD",
ce: "ce-Cyrl-RU",
ceb: "ceb-Latn-PH",
cfa: "cfa-Latn-ZZ",
cgg: "cgg-Latn-UG",
ch: "ch-Latn-GU",
chk: "chk-Latn-FM",
chm: "chm-Cyrl-RU",
cho: "cho-Latn-US",
chp: "chp-Latn-CA",
chr: "chr-Cher-US",
cic: "cic-Latn-US",
cja: "cja-Arab-KH",
cjm: "cjm-Cham-VN",
cjv: "cjv-Latn-ZZ",
ckb: "ckb-Arab-IQ",
ckl: "ckl-Latn-ZZ",
cko: "cko-Latn-ZZ",
cky: "cky-Latn-ZZ",
cla: "cla-Latn-ZZ",
cme: "cme-Latn-ZZ",
cmg: "cmg-Soyo-MN",
co: "co-Latn-FR",
cop: "cop-Copt-EG",
cps: "cps-Latn-PH",
cr: "cr-Cans-CA",
crh: "crh-Cyrl-UA",
crj: "crj-Cans-CA",
crk: "crk-Cans-CA",
crl: "crl-Cans-CA",
crm: "crm-Cans-CA",
crs: "crs-Latn-SC",
cs: "cs-Latn-CZ",
csb: "csb-Latn-PL",
csw: "csw-Cans-CA",
ctd: "ctd-Pauc-MM",
cu: "cu-Cyrl-RU",
"cu-Glag": "cu-Glag-BG",
cv: "cv-Cyrl-RU",
cy: "cy-Latn-GB",
da: "da-Latn-DK",
dad: "dad-Latn-ZZ",
daf: "daf-Latn-CI",
dag: "dag-Latn-ZZ",
dah: "dah-Latn-ZZ",
dak: "dak-Latn-US",
dar: "dar-Cyrl-RU",
dav: "dav-Latn-KE",
dbd: "dbd-Latn-ZZ",
dbq: "dbq-Latn-ZZ",
dcc: "dcc-Arab-IN",
ddn: "ddn-Latn-ZZ",
de: "de-Latn-DE",
ded: "ded-Latn-ZZ",
den: "den-Latn-CA",
dga: "dga-Latn-ZZ",
dgh: "dgh-Latn-ZZ",
dgi: "dgi-Latn-ZZ",
dgl: "dgl-Arab-ZZ",
dgr: "dgr-Latn-CA",
dgz: "dgz-Latn-ZZ",
dia: "dia-Latn-ZZ",
dje: "dje-Latn-NE",
dmf: "dmf-Medf-NG",
dnj: "dnj-Latn-CI",
dob: "dob-Latn-ZZ",
doi: "doi-Deva-IN",
dop: "dop-Latn-ZZ",
dow: "dow-Latn-ZZ",
drh: "drh-Mong-CN",
dri: "dri-Latn-ZZ",
drs: "drs-Ethi-ZZ",
dsb: "dsb-Latn-DE",
dtm: "dtm-Latn-ML",
dtp: "dtp-Latn-MY",
dts: "dts-Latn-ZZ",
dty: "dty-Deva-NP",
dua: "dua-Latn-CM",
duc: "duc-Latn-ZZ",
dud: "dud-Latn-ZZ",
dug: "dug-Latn-ZZ",
dv: "dv-Thaa-MV",
dva: "dva-Latn-ZZ",
dww: "dww-Latn-ZZ",
dyo: "dyo-Latn-SN",
dyu: "dyu-Latn-BF",
dz: "dz-Tibt-BT",
dzg: "dzg-Latn-ZZ",
ebu: "ebu-Latn-KE",
ee: "ee-Latn-GH",
efi: "efi-Latn-NG",
egl: "egl-Latn-IT",
egy: "egy-Egyp-EG",
eka: "eka-Latn-ZZ",
eky: "eky-Kali-MM",
el: "el-Grek-GR",
ema: "ema-Latn-ZZ",
emi: "emi-Latn-ZZ",
en: "en-Latn-US",
"en-Shaw": "en-Shaw-GB",
enn: "enn-Latn-ZZ",
enq: "enq-Latn-ZZ",
eo: "eo-Latn-001",
eri: "eri-Latn-ZZ",
es: "es-Latn-ES",
esg: "esg-Gonm-IN",
esu: "esu-Latn-US",
et: "et-Latn-EE",
etr: "etr-Latn-ZZ",
ett: "ett-Ital-IT",
etu: "etu-Latn-ZZ",
etx: "etx-Latn-ZZ",
eu: "eu-Latn-ES",
ewo: "ewo-Latn-CM",
ext: "ext-Latn-ES",
eza: "eza-Latn-ZZ",
fa: "fa-Arab-IR",
faa: "faa-Latn-ZZ",
fab: "fab-Latn-ZZ",
fag: "fag-Latn-ZZ",
fai: "fai-Latn-ZZ",
fan: "fan-Latn-GQ",
ff: "ff-Latn-SN",
"ff-Adlm": "ff-Adlm-GN",
ffi: "ffi-Latn-ZZ",
ffm: "ffm-Latn-ML",
fi: "fi-Latn-FI",
fia: "fia-Arab-SD",
fil: "fil-Latn-PH",
fit: "fit-Latn-SE",
fj: "fj-Latn-FJ",
flr: "flr-Latn-ZZ",
fmp: "fmp-Latn-ZZ",
fo: "fo-Latn-FO",
fod: "fod-Latn-ZZ",
fon: "fon-Latn-BJ",
for: "for-Latn-ZZ",
fpe: "fpe-Latn-ZZ",
fqs: "fqs-Latn-ZZ",
fr: "fr-Latn-FR",
frc: "frc-Latn-US",
frp: "frp-Latn-FR",
frr: "frr-Latn-DE",
frs: "frs-Latn-DE",
fub: "fub-Arab-CM",
fud: "fud-Latn-WF",
fue: "fue-Latn-ZZ",
fuf: "fuf-Latn-GN",
fuh: "fuh-Latn-ZZ",
fuq: "fuq-Latn-NE",
fur: "fur-Latn-IT",
fuv: "fuv-Latn-NG",
fuy: "fuy-Latn-ZZ",
fvr: "fvr-Latn-SD",
fy: "fy-Latn-NL",
ga: "ga-Latn-IE",
gaa: "gaa-Latn-GH",
gaf: "gaf-Latn-ZZ",
gag: "gag-Latn-MD",
gah: "gah-Latn-ZZ",
gaj: "gaj-Latn-ZZ",
gam: "gam-Latn-ZZ",
gan: "gan-Hans-CN",
gaw: "gaw-Latn-ZZ",
gay: "gay-Latn-ID",
gba: "gba-Latn-ZZ",
gbf: "gbf-Latn-ZZ",
gbm: "gbm-Deva-IN",
gby: "gby-Latn-ZZ",
gbz: "gbz-Arab-IR",
gcr: "gcr-Latn-GF",
gd: "gd-Latn-GB",
gde: "gde-Latn-ZZ",
gdn: "gdn-Latn-ZZ",
gdr: "gdr-Latn-ZZ",
geb: "geb-Latn-ZZ",
gej: "gej-Latn-ZZ",
gel: "gel-Latn-ZZ",
gez: "gez-Ethi-ET",
gfk: "gfk-Latn-ZZ",
ggn: "ggn-Deva-NP",
ghs: "ghs-Latn-ZZ",
gil: "gil-Latn-KI",
gim: "gim-Latn-ZZ",
gjk: "gjk-Arab-PK",
gjn: "gjn-Latn-ZZ",
gju: "gju-Arab-PK",
gkn: "gkn-Latn-ZZ",
gkp: "gkp-Latn-ZZ",
gl: "gl-Latn-ES",
glk: "glk-Arab-IR",
gmm: "gmm-Latn-ZZ",
gmv: "gmv-Ethi-ZZ",
gn: "gn-Latn-PY",
gnd: "gnd-Latn-ZZ",
gng: "gng-Latn-ZZ",
god: "god-Latn-ZZ",
gof: "gof-Ethi-ZZ",
goi: "goi-Latn-ZZ",
gom: "gom-Deva-IN",
gon: "gon-Telu-IN",
gor: "gor-Latn-ID",
gos: "gos-Latn-NL",
got: "got-Goth-UA",
grb: "grb-Latn-ZZ",
grc: "grc-Cprt-CY",
"grc-Linb": "grc-Linb-GR",
grt: "grt-Beng-IN",
grw: "grw-Latn-ZZ",
gsw: "gsw-Latn-CH",
gu: "gu-Gujr-IN",
gub: "gub-Latn-BR",
guc: "guc-Latn-CO",
gud: "gud-Latn-ZZ",
gur: "gur-Latn-GH",
guw: "guw-Latn-ZZ",
gux: "gux-Latn-ZZ",
guz: "guz-Latn-KE",
gv: "gv-Latn-IM",
gvf: "gvf-Latn-ZZ",
gvr: "gvr-Deva-NP",
gvs: "gvs-Latn-ZZ",
gwc: "gwc-Arab-ZZ",
gwi: "gwi-Latn-CA",
gwt: "gwt-Arab-ZZ",
gyi: "gyi-Latn-ZZ",
ha: "ha-Latn-NG",
"ha-CM": "ha-Arab-CM",
"ha-SD": "ha-Arab-SD",
hag: "hag-Latn-ZZ",
hak: "hak-Hans-CN",
ham: "ham-Latn-ZZ",
haw: "haw-Latn-US",
haz: "haz-Arab-AF",
hbb: "hbb-Latn-ZZ",
hdy: "hdy-Ethi-ZZ",
he: "he-Hebr-IL",
hhy: "hhy-Latn-ZZ",
hi: "hi-Deva-IN",
hia: "hia-Latn-ZZ",
hif: "hif-Latn-FJ",
hig: "hig-Latn-ZZ",
hih: "hih-Latn-ZZ",
hil: "hil-Latn-PH",
hla: "hla-Latn-ZZ",
hlu: "hlu-Hluw-TR",
hmd: "hmd-Plrd-CN",
hmt: "hmt-Latn-ZZ",
hnd: "hnd-Arab-PK",
hne: "hne-Deva-IN",
hnj: "hnj-Hmng-LA",
hnn: "hnn-Latn-PH",
hno: "hno-Arab-PK",
ho: "ho-Latn-PG",
hoc: "hoc-Deva-IN",
hoj: "hoj-Deva-IN",
hot: "hot-Latn-ZZ",
hr: "hr-Latn-HR",
hsb: "hsb-Latn-DE",
hsn: "hsn-Hans-CN",
ht: "ht-Latn-HT",
hu: "hu-Latn-HU",
hui: "hui-Latn-ZZ",
hy: "hy-Armn-AM",
hz: "hz-Latn-NA",
ia: "ia-Latn-001",
ian: "ian-Latn-ZZ",
iar: "iar-Latn-ZZ",
iba: "iba-Latn-MY",
ibb: "ibb-Latn-NG",
iby: "iby-Latn-ZZ",
ica: "ica-Latn-ZZ",
ich: "ich-Latn-ZZ",
id: "id-Latn-ID",
idd: "idd-Latn-ZZ",
idi: "idi-Latn-ZZ",
idu: "idu-Latn-ZZ",
ife: "ife-Latn-TG",
ig: "ig-Latn-NG",
igb: "igb-Latn-ZZ",
ige: "ige-Latn-ZZ",
ii: "ii-Yiii-CN",
ijj: "ijj-Latn-ZZ",
ik: "ik-Latn-US",
ikk: "ikk-Latn-ZZ",
ikt: "ikt-Latn-CA",
ikw: "ikw-Latn-ZZ",
ikx: "ikx-Latn-ZZ",
ilo: "ilo-Latn-PH",
imo: "imo-Latn-ZZ",
in: "in-Latn-ID",
inh: "inh-Cyrl-RU",
io: "io-Latn-001",
iou: "iou-Latn-ZZ",
iri: "iri-Latn-ZZ",
is: "is-Latn-IS",
it: "it-Latn-IT",
iu: "iu-Cans-CA",
iw: "iw-Hebr-IL",
iwm: "iwm-Latn-ZZ",
iws: "iws-Latn-ZZ",
izh: "izh-Latn-RU",
izi: "izi-Latn-ZZ",
ja: "ja-Jpan-JP",
jab: "jab-Latn-ZZ",
jam: "jam-Latn-JM",
jar: "jar-Latn-ZZ",
jbo: "jbo-Latn-001",
jbu: "jbu-Latn-ZZ",
jen: "jen-Latn-ZZ",
jgk: "jgk-Latn-ZZ",
jgo: "jgo-Latn-CM",
ji: "ji-Hebr-UA",
jib: "jib-Latn-ZZ",
jmc: "jmc-Latn-TZ",
jml: "jml-Deva-NP",
jra: "jra-Latn-ZZ",
jut: "jut-Latn-DK",
jv: "jv-Latn-ID",
jw: "jw-Latn-ID",
ka: "ka-Geor-GE",
kaa: "kaa-Cyrl-UZ",
kab: "kab-Latn-DZ",
kac: "kac-Latn-MM",
kad: "kad-Latn-ZZ",
kai: "kai-Latn-ZZ",
kaj: "kaj-Latn-NG",
kam: "kam-Latn-KE",
kao: "kao-Latn-ML",
kbd: "kbd-Cyrl-RU",
kbm: "kbm-Latn-ZZ",
kbp: "kbp-Latn-ZZ",
kbq: "kbq-Latn-ZZ",
kbx: "kbx-Latn-ZZ",
kby: "kby-Arab-NE",
kcg: "kcg-Latn-NG",
kck: "kck-Latn-ZW",
kcl: "kcl-Latn-ZZ",
kct: "kct-Latn-ZZ",
kde: "kde-Latn-TZ",
kdh: "kdh-Arab-TG",
kdl: "kdl-Latn-ZZ",
kdt: "kdt-Thai-TH",
kea: "kea-Latn-CV",
ken: "ken-Latn-CM",
kez: "kez-Latn-ZZ",
kfo: "kfo-Latn-CI",
kfr: "kfr-Deva-IN",
kfy: "kfy-Deva-IN",
kg: "kg-Latn-CD",
kge: "kge-Latn-ID",
kgf: "kgf-Latn-ZZ",
kgp: "kgp-Latn-BR",
kha: "kha-Latn-IN",
khb: "khb-Talu-CN",
khn: "khn-Deva-IN",
khq: "khq-Latn-ML",
khs: "khs-Latn-ZZ",
kht: "kht-Mymr-IN",
khw: "khw-Arab-PK",
khz: "khz-Latn-ZZ",
ki: "ki-Latn-KE",
kij: "kij-Latn-ZZ",
kiu: "kiu-Latn-TR",
kiw: "kiw-Latn-ZZ",
kj: "kj-Latn-NA",
kjd: "kjd-Latn-ZZ",
kjg: "kjg-Laoo-LA",
kjs: "kjs-Latn-ZZ",
kjy: "kjy-Latn-ZZ",
kk: "kk-Cyrl-KZ",
"kk-AF": "kk-Arab-AF",
"kk-Arab": "kk-Arab-CN",
"kk-CN": "kk-Arab-CN",
"kk-IR": "kk-Arab-IR",
"kk-MN": "kk-Arab-MN",
kkc: "kkc-Latn-ZZ",
kkj: "kkj-Latn-CM",
kl: "kl-Latn-GL",
kln: "kln-Latn-KE",
klq: "klq-Latn-ZZ",
klt: "klt-Latn-ZZ",
klx: "klx-Latn-ZZ",
km: "km-Khmr-KH",
kmb: "kmb-Latn-AO",
kmh: "kmh-Latn-ZZ",
kmo: "kmo-Latn-ZZ",
kms: "kms-Latn-ZZ",
kmu: "kmu-Latn-ZZ",
kmw: "kmw-Latn-ZZ",
kn: "kn-Knda-IN",
knf: "knf-Latn-GW",
knp: "knp-Latn-ZZ",
ko: "ko-Kore-KR",
koi: "koi-Cyrl-RU",
kok: "kok-Deva-IN",
kol: "kol-Latn-ZZ",
kos: "kos-Latn-FM",
koz: "koz-Latn-ZZ",
kpe: "kpe-Latn-LR",
kpf: "kpf-Latn-ZZ",
kpo: "kpo-Latn-ZZ",
kpr: "kpr-Latn-ZZ",
kpx: "kpx-Latn-ZZ",
kqb: "kqb-Latn-ZZ",
kqf: "kqf-Latn-ZZ",
kqs: "kqs-Latn-ZZ",
kqy: "kqy-Ethi-ZZ",
kr: "kr-Latn-ZZ",
krc: "krc-Cyrl-RU",
kri: "kri-Latn-SL",
krj: "krj-Latn-PH",
krl: "krl-Latn-RU",
krs: "krs-Latn-ZZ",
kru: "kru-Deva-IN",
ks: "ks-Arab-IN",
ksb: "ksb-Latn-TZ",
ksd: "ksd-Latn-ZZ",
ksf: "ksf-Latn-CM",
ksh: "ksh-Latn-DE",
ksj: "ksj-Latn-ZZ",
ksr: "ksr-Latn-ZZ",
ktb: "ktb-Ethi-ZZ",
ktm: "ktm-Latn-ZZ",
kto: "kto-Latn-ZZ",
ktr: "ktr-Latn-MY",
ku: "ku-Latn-TR",
"ku-Arab": "ku-Arab-IQ",
"ku-LB": "ku-Arab-LB",
"ku-Yezi": "ku-Yezi-GE",
kub: "kub-Latn-ZZ",
kud: "kud-Latn-ZZ",
kue: "kue-Latn-ZZ",
kuj: "kuj-Latn-ZZ",
kum: "kum-Cyrl-RU",
kun: "kun-Latn-ZZ",
kup: "kup-Latn-ZZ",
kus: "kus-Latn-ZZ",
kv: "kv-Cyrl-RU",
kvg: "kvg-Latn-ZZ",
kvr: "kvr-Latn-ID",
kvx: "kvx-Arab-PK",
kw: "kw-Latn-GB",
kwj: "kwj-Latn-ZZ",
kwo: "kwo-Latn-ZZ",
kwq: "kwq-Latn-ZZ",
kxa: "kxa-Latn-ZZ",
kxc: "kxc-Ethi-ZZ",
kxe: "kxe-Latn-ZZ",
kxl: "kxl-Deva-IN",
kxm: "kxm-Thai-TH",
kxp: "kxp-Arab-PK",
kxw: "kxw-Latn-ZZ",
kxz: "kxz-Latn-ZZ",
ky: "ky-Cyrl-KG",
"ky-Arab": "ky-Arab-CN",
"ky-CN": "ky-Arab-CN",
"ky-Latn": "ky-Latn-TR",
"ky-TR": "ky-Latn-TR",
kye: "kye-Latn-ZZ",
kyx: "kyx-Latn-ZZ",
kzh: "kzh-Arab-ZZ",
kzj: "kzj-Latn-MY",
kzr: "kzr-Latn-ZZ",
kzt: "kzt-Latn-MY",
la: "la-Latn-VA",
lab: "lab-Lina-GR",
lad: "lad-Hebr-IL",
lag: "lag-Latn-TZ",
lah: "lah-Arab-PK",
laj: "laj-Latn-UG",
las: "las-Latn-ZZ",
lb: "lb-Latn-LU",
lbe: "lbe-Cyrl-RU",
lbu: "lbu-Latn-ZZ",
lbw: "lbw-Latn-ID",
lcm: "lcm-Latn-ZZ",
lcp: "lcp-Thai-CN",
ldb: "ldb-Latn-ZZ",
led: "led-Latn-ZZ",
lee: "lee-Latn-ZZ",
lem: "lem-Latn-ZZ",
lep: "lep-Lepc-IN",
leq: "leq-Latn-ZZ",
leu: "leu-Latn-ZZ",
lez: "lez-Cyrl-RU",
lg: "lg-Latn-UG",
lgg: "lgg-Latn-ZZ",
li: "li-Latn-NL",
lia: "lia-Latn-ZZ",
lid: "lid-Latn-ZZ",
lif: "lif-Deva-NP",
"lif-Limb": "lif-Limb-IN",
lig: "lig-Latn-ZZ",
lih: "lih-Latn-ZZ",
lij: "lij-Latn-IT",
lis: "lis-Lisu-CN",
ljp: "ljp-Latn-ID",
lki: "lki-Arab-IR",
lkt: "lkt-Latn-US",
lle: "lle-Latn-ZZ",
lln: "lln-Latn-ZZ",
lmn: "lmn-Telu-IN",
lmo: "lmo-Latn-IT",
lmp: "lmp-Latn-ZZ",
ln: "ln-Latn-CD",
lns: "lns-Latn-ZZ",
lnu: "lnu-Latn-ZZ",
lo: "lo-Laoo-LA",
loj: "loj-Latn-ZZ",
lok: "lok-Latn-ZZ",
lol: "lol-Latn-CD",
lor: "lor-Latn-ZZ",
los: "los-Latn-ZZ",
loz: "loz-Latn-ZM",
lrc: "lrc-Arab-IR",
lt: "lt-Latn-LT",
ltg: "ltg-Latn-LV",
lu: "lu-Latn-CD",
lua: "lua-Latn-CD",
luo: "luo-Latn-KE",
luy: "luy-Latn-KE",
luz: "luz-Arab-IR",
lv: "lv-Latn-LV",
lwl: "lwl-Thai-TH",
lzh: "lzh-Hans-CN",
lzz: "lzz-Latn-TR",
mad: "mad-Latn-ID",
maf: "maf-Latn-CM",
mag: "mag-Deva-IN",
mai: "mai-Deva-IN",
mak: "mak-Latn-ID",
man: "man-Latn-GM",
"man-GN": "man-Nkoo-GN",
"man-Nkoo": "man-Nkoo-GN",
mas: "mas-Latn-KE",
maw: "maw-Latn-ZZ",
maz: "maz-Latn-MX",
mbh: "mbh-Latn-ZZ",
mbo: "mbo-Latn-ZZ",
mbq: "mbq-Latn-ZZ",
mbu: "mbu-Latn-ZZ",
mbw: "mbw-Latn-ZZ",
mci: "mci-Latn-ZZ",
mcp: "mcp-Latn-ZZ",
mcq: "mcq-Latn-ZZ",
mcr: "mcr-Latn-ZZ",
mcu: "mcu-Latn-ZZ",
mda: "mda-Latn-ZZ",
mde: "mde-Arab-ZZ",
mdf: "mdf-Cyrl-RU",
mdh: "mdh-Latn-PH",
mdj: "mdj-Latn-ZZ",
mdr: "mdr-Latn-ID",
mdx: "mdx-Ethi-ZZ",
med: "med-Latn-ZZ",
mee: "mee-Latn-ZZ",
mek: "mek-Latn-ZZ",
men: "men-Latn-SL",
mer: "mer-Latn-KE",
met: "met-Latn-ZZ",
meu: "meu-Latn-ZZ",
mfa: "mfa-Arab-TH",
mfe: "mfe-Latn-MU",
mfn: "mfn-Latn-ZZ",
mfo: "mfo-Latn-ZZ",
mfq: "mfq-Latn-ZZ",
mg: "mg-Latn-MG",
mgh: "mgh-Latn-MZ",
mgl: "mgl-Latn-ZZ",
mgo: "mgo-Latn-CM",
mgp: "mgp-Deva-NP",
mgy: "mgy-Latn-TZ",
mh: "mh-Latn-MH",
mhi: "mhi-Latn-ZZ",
mhl: "mhl-Latn-ZZ",
mi: "mi-Latn-NZ",
mif: "mif-Latn-ZZ",
min: "min-Latn-ID",
miw: "miw-Latn-ZZ",
mk: "mk-Cyrl-MK",
mki: "mki-Arab-ZZ",
mkl: "mkl-Latn-ZZ",
mkp: "mkp-Latn-ZZ",
mkw: "mkw-Latn-ZZ",
ml: "ml-Mlym-IN",
mle: "mle-Latn-ZZ",
mlp: "mlp-Latn-ZZ",
mls: "mls-Latn-SD",
mmo: "mmo-Latn-ZZ",
mmu: "mmu-Latn-ZZ",
mmx: "mmx-Latn-ZZ",
mn: "mn-Cyrl-MN",
"mn-CN": "mn-Mong-CN",
"mn-Mong": "mn-Mong-CN",
mna: "mna-Latn-ZZ",
mnf: "mnf-Latn-ZZ",
mni: "mni-Beng-IN",
mnw: "mnw-Mymr-MM",
mo: "mo-Latn-RO",
moa: "moa-Latn-ZZ",
moe: "moe-Latn-CA",
moh: "moh-Latn-CA",
mos: "mos-Latn-BF",
mox: "mox-Latn-ZZ",
mpp: "mpp-Latn-ZZ",
mps: "mps-Latn-ZZ",
mpt: "mpt-Latn-ZZ",
mpx: "mpx-Latn-ZZ",
mql: "mql-Latn-ZZ",
mr: "mr-Deva-IN",
mrd: "mrd-Deva-NP",
mrj: "mrj-Cyrl-RU",
mro: "mro-Mroo-BD",
ms: "ms-Latn-MY",
"ms-CC": "ms-Arab-CC",
mt: "mt-Latn-MT",
mtc: "mtc-Latn-ZZ",
mtf: "mtf-Latn-ZZ",
mti: "mti-Latn-ZZ",
mtr: "mtr-Deva-IN",
mua: "mua-Latn-CM",
mur: "mur-Latn-ZZ",
mus: "mus-Latn-US",
mva: "mva-Latn-ZZ",
mvn: "mvn-Latn-ZZ",
mvy: "mvy-Arab-PK",
mwk: "mwk-Latn-ML",
mwr: "mwr-Deva-IN",
mwv: "mwv-Latn-ID",
mww: "mww-Hmnp-US",
mxc: "mxc-Latn-ZW",
mxm: "mxm-Latn-ZZ",
my: "my-Mymr-MM",
myk: "myk-Latn-ZZ",
mym: "mym-Ethi-ZZ",
myv: "myv-Cyrl-RU",
myw: "myw-Latn-ZZ",
myx: "myx-Latn-UG",
myz: "myz-Mand-IR",
mzk: "mzk-Latn-ZZ",
mzm: "mzm-Latn-ZZ",
mzn: "mzn-Arab-IR",
mzp: "mzp-Latn-ZZ",
mzw: "mzw-Latn-ZZ",
mzz: "mzz-Latn-ZZ",
na: "na-Latn-NR",
nac: "nac-Latn-ZZ",
naf: "naf-Latn-ZZ",
nak: "nak-Latn-ZZ",
nan: "nan-Hans-CN",
nap: "nap-Latn-IT",
naq: "naq-Latn-NA",
nas: "nas-Latn-ZZ",
nb: "nb-Latn-NO",
nca: "nca-Latn-ZZ",
nce: "nce-Latn-ZZ",
ncf: "ncf-Latn-ZZ",
nch: "nch-Latn-MX",
nco: "nco-Latn-ZZ",
ncu: "ncu-Latn-ZZ",
nd: "nd-Latn-ZW",
ndc: "ndc-Latn-MZ",
nds: "nds-Latn-DE",
ne: "ne-Deva-NP",
neb: "neb-Latn-ZZ",
new: "new-Deva-NP",
nex: "nex-Latn-ZZ",
nfr: "nfr-Latn-ZZ",
ng: "ng-Latn-NA",
nga: "nga-Latn-ZZ",
ngb: "ngb-Latn-ZZ",
ngl: "ngl-Latn-MZ",
nhb: "nhb-Latn-ZZ",
nhe: "nhe-Latn-MX",
nhw: "nhw-Latn-MX",
nif: "nif-Latn-ZZ",
nii: "nii-Latn-ZZ",
nij: "nij-Latn-ID",
nin: "nin-Latn-ZZ",
niu: "niu-Latn-NU",
niy: "niy-Latn-ZZ",
niz: "niz-Latn-ZZ",
njo: "njo-Latn-IN",
nkg: "nkg-Latn-ZZ",
nko: "nko-Latn-ZZ",
nl: "nl-Latn-NL",
nmg: "nmg-Latn-CM",
nmz: "nmz-Latn-ZZ",
nn: "nn-Latn-NO",
nnf: "nnf-Latn-ZZ",
nnh: "nnh-Latn-CM",
nnk: "nnk-Latn-ZZ",
nnm: "nnm-Latn-ZZ",
nnp: "nnp-Wcho-IN",
no: "no-Latn-NO",
nod: "nod-Lana-TH",
noe: "noe-Deva-IN",
non: "non-Runr-SE",
nop: "nop-Latn-ZZ",
nou: "nou-Latn-ZZ",
nqo: "nqo-Nkoo-GN",
nr: "nr-Latn-ZA",
nrb: "nrb-Latn-ZZ",
nsk: "nsk-Cans-CA",
nsn: "nsn-Latn-ZZ",
nso: "nso-Latn-ZA",
nss: "nss-Latn-ZZ",
ntm: "ntm-Latn-ZZ",
ntr: "ntr-Latn-ZZ",
nui: "nui-Latn-ZZ",
nup: "nup-Latn-ZZ",
nus: "nus-Latn-SS",
nuv: "nuv-Latn-ZZ",
nux: "nux-Latn-ZZ",
nv: "nv-Latn-US",
nwb: "nwb-Latn-ZZ",
nxq: "nxq-Latn-CN",
nxr: "nxr-Latn-ZZ",
ny: "ny-Latn-MW",
nym: "nym-Latn-TZ",
nyn: "nyn-Latn-UG",
nzi: "nzi-Latn-GH",
oc: "oc-Latn-FR",
ogc: "ogc-Latn-ZZ",
okr: "okr-Latn-ZZ",
okv: "okv-Latn-ZZ",
om: "om-Latn-ET",
ong: "ong-Latn-ZZ",
onn: "onn-Latn-ZZ",
ons: "ons-Latn-ZZ",
opm: "opm-Latn-ZZ",
or: "or-Orya-IN",
oro: "oro-Latn-ZZ",
oru: "oru-Arab-ZZ",
os: "os-Cyrl-GE",
osa: "osa-Osge-US",
ota: "ota-Arab-ZZ",
otk: "otk-Orkh-MN",
ozm: "ozm-Latn-ZZ",
pa: "pa-Guru-IN",
"pa-Arab": "pa-Arab-PK",
"pa-PK": "pa-Arab-PK",
pag: "pag-Latn-PH",
pal: "pal-Phli-IR",
"pal-Phlp": "pal-Phlp-CN",
pam: "pam-Latn-PH",
pap: "pap-Latn-AW",
pau: "pau-Latn-PW",
pbi: "pbi-Latn-ZZ",
pcd: "pcd-Latn-FR",
pcm: "pcm-Latn-NG",
pdc: "pdc-Latn-US",
pdt: "pdt-Latn-CA",
ped: "ped-Latn-ZZ",
peo: "peo-Xpeo-IR",
pex: "pex-Latn-ZZ",
pfl: "pfl-Latn-DE",
phl: "phl-Arab-ZZ",
phn: "phn-Phnx-LB",
pil: "pil-Latn-ZZ",
pip: "pip-Latn-ZZ",
pka: "pka-Brah-IN",
pko: "pko-Latn-KE",
pl: "pl-Latn-PL",
pla: "pla-Latn-ZZ",
pms: "pms-Latn-IT",
png: "png-Latn-ZZ",
pnn: "pnn-Latn-ZZ",
pnt: "pnt-Grek-GR",
pon: "pon-Latn-FM",
ppa: "ppa-Deva-IN",
ppo: "ppo-Latn-ZZ",
pra: "pra-Khar-PK",
prd: "prd-Arab-IR",
prg: "prg-Latn-001",
ps: "ps-Arab-AF",
pss: "pss-Latn-ZZ",
pt: "pt-Latn-BR",
ptp: "ptp-Latn-ZZ",
puu: "puu-Latn-GA",
pwa: "pwa-Latn-ZZ",
qu: "qu-Latn-PE",
quc: "quc-Latn-GT",
qug: "qug-Latn-EC",
rai: "rai-Latn-ZZ",
raj: "raj-Deva-IN",
rao: "rao-Latn-ZZ",
rcf: "rcf-Latn-RE",
rej: "rej-Latn-ID",
rel: "rel-Latn-ZZ",
res: "res-Latn-ZZ",
rgn: "rgn-Latn-IT",
rhg: "rhg-Arab-MM",
ria: "ria-Latn-IN",
rif: "rif-Tfng-MA",
"rif-NL": "rif-Latn-NL",
rjs: "rjs-Deva-NP",
rkt: "rkt-Beng-BD",
rm: "rm-Latn-CH",
rmf: "rmf-Latn-FI",
rmo: "rmo-Latn-CH",
rmt: "rmt-Arab-IR",
rmu: "rmu-Latn-SE",
rn: "rn-Latn-BI",
rna: "rna-Latn-ZZ",
rng: "rng-Latn-MZ",
ro: "ro-Latn-RO",
rob: "rob-Latn-ID",
rof: "rof-Latn-TZ",
roo: "roo-Latn-ZZ",
rro: "rro-Latn-ZZ",
rtm: "rtm-Latn-FJ",
ru: "ru-Cyrl-RU",
rue: "rue-Cyrl-UA",
rug: "rug-Latn-SB",
rw: "rw-Latn-RW",
rwk: "rwk-Latn-TZ",
rwo: "rwo-Latn-ZZ",
ryu: "ryu-Kana-JP",
sa: "sa-Deva-IN",
saf: "saf-Latn-GH",
sah: "sah-Cyrl-RU",
saq: "saq-Latn-KE",
sas: "sas-Latn-ID",
sat: "sat-Olck-IN",
sav: "sav-Latn-SN",
saz: "saz-Saur-IN",
sba: "sba-Latn-ZZ",
sbe: "sbe-Latn-ZZ",
sbp: "sbp-Latn-TZ",
sc: "sc-Latn-IT",
sck: "sck-Deva-IN",
scl: "scl-Arab-ZZ",
scn: "scn-Latn-IT",
sco: "sco-Latn-GB",
scs: "scs-Latn-CA",
sd: "sd-Arab-PK",
"sd-Deva": "sd-Deva-IN",
"sd-Khoj": "sd-Khoj-IN",
"sd-Sind": "sd-Sind-IN",
sdc: "sdc-Latn-IT",
sdh: "sdh-Arab-IR",
se: "se-Latn-NO",
sef: "sef-Latn-CI",
seh: "seh-Latn-MZ",
sei: "sei-Latn-MX",
ses: "ses-Latn-ML",
sg: "sg-Latn-CF",
sga: "sga-Ogam-IE",
sgs: "sgs-Latn-LT",
sgw: "sgw-Ethi-ZZ",
sgz: "sgz-Latn-ZZ",
shi: "shi-Tfng-MA",
shk: "shk-Latn-ZZ",
shn: "shn-Mymr-MM",
shu: "shu-Arab-ZZ",
si: "si-Sinh-LK",
sid: "sid-Latn-ET",
sig: "sig-Latn-ZZ",
sil: "sil-Latn-ZZ",
sim: "sim-Latn-ZZ",
sjr: "sjr-Latn-ZZ",
sk: "sk-Latn-SK",
skc: "skc-Latn-ZZ",
skr: "skr-Arab-PK",
sks: "sks-Latn-ZZ",
sl: "sl-Latn-SI",
sld: "sld-Latn-ZZ",
sli: "sli-Latn-PL",
sll: "sll-Latn-ZZ",
sly: "sly-Latn-ID",
sm: "sm-Latn-WS",
sma: "sma-Latn-SE",
smj: "smj-Latn-SE",
smn: "smn-Latn-FI",
smp: "smp-Samr-IL",
smq: "smq-Latn-ZZ",
sms: "sms-Latn-FI",
sn: "sn-Latn-ZW",
snc: "snc-Latn-ZZ",
snk: "snk-Latn-ML",
snp: "snp-Latn-ZZ",
snx: "snx-Latn-ZZ",
sny: "sny-Latn-ZZ",
so: "so-Latn-SO",
sog: "sog-Sogd-UZ",
sok: "sok-Latn-ZZ",
soq: "soq-Latn-ZZ",
sou: "sou-Thai-TH",
soy: "soy-Latn-ZZ",
spd: "spd-Latn-ZZ",
spl: "spl-Latn-ZZ",
sps: "sps-Latn-ZZ",
sq: "sq-Latn-AL",
sr: "sr-Cyrl-RS",
"sr-ME": "sr-Latn-ME",
"sr-RO": "sr-Latn-RO",
"sr-RU": "sr-Latn-RU",
"sr-TR": "sr-Latn-TR",
srb: "srb-Sora-IN",
srn: "srn-Latn-SR",
srr: "srr-Latn-SN",
srx: "srx-Deva-IN",
ss: "ss-Latn-ZA",
ssd: "ssd-Latn-ZZ",
ssg: "ssg-Latn-ZZ",
ssy: "ssy-Latn-ER",
st: "st-Latn-ZA",
stk: "stk-Latn-ZZ",
stq: "stq-Latn-DE",
su: "su-Latn-ID",
sua: "sua-Latn-ZZ",
sue: "sue-Latn-ZZ",
suk: "suk-Latn-TZ",
sur: "sur-Latn-ZZ",
sus: "sus-Latn-GN",
sv: "sv-Latn-SE",
sw: "sw-Latn-TZ",
swb: "swb-Arab-YT",
swc: "swc-Latn-CD",
swg: "swg-Latn-DE",
swp: "swp-Latn-ZZ",
swv: "swv-Deva-IN",
sxn: "sxn-Latn-ID",
sxw: "sxw-Latn-ZZ",
syl: "syl-Beng-BD",
syr: "syr-Syrc-IQ",
szl: "szl-Latn-PL",
ta: "ta-Taml-IN",
taj: "taj-Deva-NP",
tal: "tal-Latn-ZZ",
tan: "tan-Latn-ZZ",
taq: "taq-Latn-ZZ",
tbc: "tbc-Latn-ZZ",
tbd: "tbd-Latn-ZZ",
tbf: "tbf-Latn-ZZ",
tbg: "tbg-Latn-ZZ",
tbo: "tbo-Latn-ZZ",
tbw: "tbw-Latn-PH",
tbz: "tbz-Latn-ZZ",
tci: "tci-Latn-ZZ",
tcy: "tcy-Knda-IN",
tdd: "tdd-Tale-CN",
tdg: "tdg-Deva-NP",
tdh: "tdh-Deva-NP",
tdu: "tdu-Latn-MY",
te: "te-Telu-IN",
ted: "ted-Latn-ZZ",
tem: "tem-Latn-SL",
teo: "teo-Latn-UG",
tet: "tet-Latn-TL",
tfi: "tfi-Latn-ZZ",
tg: "tg-Cyrl-TJ",
"tg-Arab": "tg-Arab-PK",
"tg-PK": "tg-Arab-PK",
tgc: "tgc-Latn-ZZ",
tgo: "tgo-Latn-ZZ",
tgu: "tgu-Latn-ZZ",
th: "th-Thai-TH",
thl: "thl-Deva-NP",
thq: "thq-Deva-NP",
thr: "thr-Deva-NP",
ti: "ti-Ethi-ET",
tif: "tif-Latn-ZZ",
tig: "tig-Ethi-ER",
tik: "tik-Latn-ZZ",
tim: "tim-Latn-ZZ",
tio: "tio-Latn-ZZ",
tiv: "tiv-Latn-NG",
tk: "tk-Latn-TM",
tkl: "tkl-Latn-TK",
tkr: "tkr-Latn-AZ",
tkt: "tkt-Deva-NP",
tl: "tl-Latn-PH",
tlf: "tlf-Latn-ZZ",
tlx: "tlx-Latn-ZZ",
tly: "tly-Latn-AZ",
tmh: "tmh-Latn-NE",
tmy: "tmy-Latn-ZZ",
tn: "tn-Latn-ZA",
tnh: "tnh-Latn-ZZ",
to: "to-Latn-TO",
tof: "tof-Latn-ZZ",
tog: "tog-Latn-MW",
toq: "toq-Latn-ZZ",
tpi: "tpi-Latn-PG",
tpm: "tpm-Latn-ZZ",
tpz: "tpz-Latn-ZZ",
tqo: "tqo-Latn-ZZ",
tr: "tr-Latn-TR",
tru: "tru-Latn-TR",
trv: "trv-Latn-TW",
trw: "trw-Arab-PK",
ts: "ts-Latn-ZA",
tsd: "tsd-Grek-GR",
tsf: "tsf-Deva-NP",
tsg: "tsg-Latn-PH",
tsj: "tsj-Tibt-BT",
tsw: "tsw-Latn-ZZ",
tt: "tt-Cyrl-RU",
ttd: "ttd-Latn-ZZ",
tte: "tte-Latn-ZZ",
ttj: "ttj-Latn-UG",
ttr: "ttr-Latn-ZZ",
tts: "tts-Thai-TH",
ttt: "ttt-Latn-AZ",
tuh: "tuh-Latn-ZZ",
tul: "tul-Latn-ZZ",
tum: "tum-Latn-MW",
tuq: "tuq-Latn-ZZ",
tvd: "tvd-Latn-ZZ",
tvl: "tvl-Latn-TV",
tvu: "tvu-Latn-ZZ",
twh: "twh-Latn-ZZ",
twq: "twq-Latn-NE",
txg: "txg-Tang-CN",
ty: "ty-Latn-PF",
tya: "tya-Latn-ZZ",
tyv: "tyv-Cyrl-RU",
tzm: "tzm-Latn-MA",
ubu: "ubu-Latn-ZZ",
udi: "udi-Aghb-RU",
udm: "udm-Cyrl-RU",
ug: "ug-Arab-CN",
"ug-Cyrl": "ug-Cyrl-KZ",
"ug-KZ": "ug-Cyrl-KZ",
"ug-MN": "ug-Cyrl-MN",
uga: "uga-Ugar-SY",
uk: "uk-Cyrl-UA",
uli: "uli-Latn-FM",
umb: "umb-Latn-AO",
und: "en-Latn-US",
"und-002": "en-Latn-NG",
"und-003": "en-Latn-US",
"und-005": "pt-Latn-BR",
"und-009": "en-Latn-AU",
"und-011": "en-Latn-NG",
"und-013": "es-Latn-MX",
"und-014": "sw-Latn-TZ",
"und-015": "ar-Arab-EG",
"und-017": "sw-Latn-CD",
"und-018": "en-Latn-ZA",
"und-019": "en-Latn-US",
"und-021": "en-Latn-US",
"und-029": "es-Latn-CU",
"und-030": "zh-Hans-CN",
"und-034": "hi-Deva-IN",
"und-035": "id-Latn-ID",
"und-039": "it-Latn-IT",
"und-053": "en-Latn-AU",
"und-054": "en-Latn-PG",
"und-057": "en-Latn-GU",
"und-061": "sm-Latn-WS",
"und-142": "zh-Hans-CN",
"und-143": "uz-Latn-UZ",
"und-145": "ar-Arab-SA",
"und-150": "ru-Cyrl-RU",
"und-151": "ru-Cyrl-RU",
"und-154": "en-Latn-GB",
"und-155": "de-Latn-DE",
"und-202": "en-Latn-NG",
"und-419": "es-Latn-419",
"und-AD": "ca-Latn-AD",
"und-Adlm": "ff-Adlm-GN",
"und-AE": "ar-Arab-AE",
"und-AF": "fa-Arab-AF",
"und-Aghb": "udi-Aghb-RU",
"und-Ahom": "aho-Ahom-IN",
"und-AL": "sq-Latn-AL",
"und-AM": "hy-Armn-AM",
"und-AO": "pt-Latn-AO",
"und-AQ": "und-Latn-AQ",
"und-AR": "es-Latn-AR",
"und-Arab": "ar-Arab-EG",
"und-Arab-CC": "ms-Arab-CC",
"und-Arab-CN": "ug-Arab-CN",
"und-Arab-GB": "ks-Arab-GB",
"und-Arab-ID": "ms-Arab-ID",
"und-Arab-IN": "ur-Arab-IN",
"und-Arab-KH": "cja-Arab-KH",
"und-Arab-MM": "rhg-Arab-MM",
"und-Arab-MN": "kk-Arab-MN",
"und-Arab-MU": "ur-Arab-MU",
"und-Arab-NG": "ha-Arab-NG",
"und-Arab-PK": "ur-Arab-PK",
"und-Arab-TG": "apd-Arab-TG",
"und-Arab-TH": "mfa-Arab-TH",
"und-Arab-TJ": "fa-Arab-TJ",
"und-Arab-TR": "az-Arab-TR",
"und-Arab-YT": "swb-Arab-YT",
"und-Armi": "arc-Armi-IR",
"und-Armn": "hy-Armn-AM",
"und-AS": "sm-Latn-AS",
"und-AT": "de-Latn-AT",
"und-Avst": "ae-Avst-IR",
"und-AW": "nl-Latn-AW",
"und-AX": "sv-Latn-AX",
"und-AZ": "az-Latn-AZ",
"und-BA": "bs-Latn-BA",
"und-Bali": "ban-Bali-ID",
"und-Bamu": "bax-Bamu-CM",
"und-Bass": "bsq-Bass-LR",
"und-Batk": "bbc-Batk-ID",
"und-BD": "bn-Beng-BD",
"und-BE": "nl-Latn-BE",
"und-Beng": "bn-Beng-BD",
"und-BF": "fr-Latn-BF",
"und-BG": "bg-Cyrl-BG",
"und-BH": "ar-Arab-BH",
"und-Bhks": "sa-Bhks-IN",
"und-BI": "rn-Latn-BI",
"und-BJ": "fr-Latn-BJ",
"und-BL": "fr-Latn-BL",
"und-BN": "ms-Latn-BN",
"und-BO": "es-Latn-BO",
"und-Bopo": "zh-Bopo-TW",
"und-BQ": "pap-Latn-BQ",
"und-BR": "pt-Latn-BR",
"und-Brah": "pka-Brah-IN",
"und-Brai": "fr-Brai-FR",
"und-BT": "dz-Tibt-BT",
"und-Bugi": "bug-Bugi-ID",
"und-Buhd": "bku-Buhd-PH",
"und-BV": "und-Latn-BV",
"und-BY": "be-Cyrl-BY",
"und-Cakm": "ccp-Cakm-BD",
"und-Cans": "cr-Cans-CA",
"und-Cari": "xcr-Cari-TR",
"und-CD": "sw-Latn-CD",
"und-CF": "fr-Latn-CF",
"und-CG": "fr-Latn-CG",
"und-CH": "de-Latn-CH",
"und-Cham": "cjm-Cham-VN",
"und-Cher": "chr-Cher-US",
"und-Chrs": "xco-Chrs-UZ",
"und-CI": "fr-Latn-CI",
"und-CL": "es-Latn-CL",
"und-CM": "fr-Latn-CM",
"und-CN": "zh-Hans-CN",
"und-CO": "es-Latn-CO",
"und-Copt": "cop-Copt-EG",
"und-CP": "und-Latn-CP",
"und-Cprt": "grc-Cprt-CY",
"und-CR": "es-Latn-CR",
"und-CU": "es-Latn-CU",
"und-CV": "pt-Latn-CV",
"und-CW": "pap-Latn-CW",
"und-CY": "el-Grek-CY",
"und-Cyrl": "ru-Cyrl-RU",
"und-Cyrl-AL": "mk-Cyrl-AL",
"und-Cyrl-BA": "sr-Cyrl-BA",
"und-Cyrl-GE": "os-Cyrl-GE",
"und-Cyrl-GR": "mk-Cyrl-GR",
"und-Cyrl-MD": "uk-Cyrl-MD",
"und-Cyrl-RO": "bg-Cyrl-RO",
"und-Cyrl-SK": "uk-Cyrl-SK",
"und-Cyrl-TR": "kbd-Cyrl-TR",
"und-Cyrl-XK": "sr-Cyrl-XK",
"und-CZ": "cs-Latn-CZ",
"und-DE": "de-Latn-DE",
"und-Deva": "hi-Deva-IN",
"und-Deva-BT": "ne-Deva-BT",
"und-Deva-FJ": "hif-Deva-FJ",
"und-Deva-MU": "bho-Deva-MU",
"und-Deva-PK": "btv-Deva-PK",
"und-Diak": "dv-Diak-MV",
"und-DJ": "aa-Latn-DJ",
"und-DK": "da-Latn-DK",
"und-DO": "es-Latn-DO",
"und-Dogr": "doi-Dogr-IN",
"und-Dupl": "fr-Dupl-FR",
"und-DZ": "ar-Arab-DZ",
"und-EA": "es-Latn-EA",
"und-EC": "es-Latn-EC",
"und-EE": "et-Latn-EE",
"und-EG": "ar-Arab-EG",
"und-Egyp": "egy-Egyp-EG",
"und-EH": "ar-Arab-EH",
"und-Elba": "sq-Elba-AL",
"und-Elym": "arc-Elym-IR",
"und-ER": "ti-Ethi-ER",
"und-ES": "es-Latn-ES",
"und-ET": "am-Ethi-ET",
"und-Ethi": "am-Ethi-ET",
"und-EU": "en-Latn-IE",
"und-EZ": "de-Latn-EZ",
"und-FI": "fi-Latn-FI",
"und-FO": "fo-Latn-FO",
"und-FR": "fr-Latn-FR",
"und-GA": "fr-Latn-GA",
"und-GE": "ka-Geor-GE",
"und-Geor": "ka-Geor-GE",
"und-GF": "fr-Latn-GF",
"und-GH": "ak-Latn-GH",
"und-GL": "kl-Latn-GL",
"und-Glag": "cu-Glag-BG",
"und-GN": "fr-Latn-GN",
"und-Gong": "wsg-Gong-IN",
"und-Gonm": "esg-Gonm-IN",
"und-Goth": "got-Goth-UA",
"und-GP": "fr-Latn-GP",
"und-GQ": "es-Latn-GQ",
"und-GR": "el-Grek-GR",
"und-Gran": "sa-Gran-IN",
"und-Grek": "el-Grek-GR",
"und-Grek-TR": "bgx-Grek-TR",
"und-GS": "und-Latn-GS",
"und-GT": "es-Latn-GT",
"und-Gujr": "gu-Gujr-IN",
"und-Guru": "pa-Guru-IN",
"und-GW": "pt-Latn-GW",
"und-Hanb": "zh-Hanb-TW",
"und-Hang": "ko-Hang-KR",
"und-Hani": "zh-Hani-CN",
"und-Hano": "hnn-Hano-PH",
"und-Hans": "zh-Hans-CN",
"und-Hant": "zh-Hant-TW",
"und-Hebr": "he-Hebr-IL",
"und-Hebr-CA": "yi-Hebr-CA",
"und-Hebr-GB": "yi-Hebr-GB",
"und-Hebr-SE": "yi-Hebr-SE",
"und-Hebr-UA": "yi-Hebr-UA",
"und-Hebr-US": "yi-Hebr-US",
"und-Hira": "ja-Hira-JP",
"und-HK": "zh-Hant-HK",
"und-Hluw": "hlu-Hluw-TR",
"und-HM": "und-Latn-HM",
"und-Hmng": "hnj-Hmng-LA",
"und-Hmnp": "mww-Hmnp-US",
"und-HN": "es-Latn-HN",
"und-HR": "hr-Latn-HR",
"und-HT": "ht-Latn-HT",
"und-HU": "hu-Latn-HU",
"und-Hung": "hu-Hung-HU",
"und-IC": "es-Latn-IC",
"und-ID": "id-Latn-ID",
"und-IL": "he-Hebr-IL",
"und-IN": "hi-Deva-IN",
"und-IQ": "ar-Arab-IQ",
"und-IR": "fa-Arab-IR",
"und-IS": "is-Latn-IS",
"und-IT": "it-Latn-IT",
"und-Ital": "ett-Ital-IT",
"und-Jamo": "ko-Jamo-KR",
"und-Java": "jv-Java-ID",
"und-JO": "ar-Arab-JO",
"und-JP": "ja-Jpan-JP",
"und-Jpan": "ja-Jpan-JP",
"und-Kali": "eky-Kali-MM",
"und-Kana": "ja-Kana-JP",
"und-KE": "sw-Latn-KE",
"und-KG": "ky-Cyrl-KG",
"und-KH": "km-Khmr-KH",
"und-Khar": "pra-Khar-PK",
"und-Khmr": "km-Khmr-KH",
"und-Khoj": "sd-Khoj-IN",
"und-Kits": "zkt-Kits-CN",
"und-KM": "ar-Arab-KM",
"und-Knda": "kn-Knda-IN",
"und-Kore": "ko-Kore-KR",
"und-KP": "ko-Kore-KP",
"und-KR": "ko-Kore-KR",
"und-Kthi": "bho-Kthi-IN",
"und-KW": "ar-Arab-KW",
"und-KZ": "ru-Cyrl-KZ",
"und-LA": "lo-Laoo-LA",
"und-Lana": "nod-Lana-TH",
"und-Laoo": "lo-Laoo-LA",
"und-Latn-AF": "tk-Latn-AF",
"und-Latn-AM": "ku-Latn-AM",
"und-Latn-CN": "za-Latn-CN",
"und-Latn-CY": "tr-Latn-CY",
"und-Latn-DZ": "fr-Latn-DZ",
"und-Latn-ET": "en-Latn-ET",
"und-Latn-GE": "ku-Latn-GE",
"und-Latn-IR": "tk-Latn-IR",
"und-Latn-KM": "fr-Latn-KM",
"und-Latn-MA": "fr-Latn-MA",
"und-Latn-MK": "sq-Latn-MK",
"und-Latn-MM": "kac-Latn-MM",
"und-Latn-MO": "pt-Latn-MO",
"und-Latn-MR": "fr-Latn-MR",
"und-Latn-RU": "krl-Latn-RU",
"und-Latn-SY": "fr-Latn-SY",
"und-Latn-TN": "fr-Latn-TN",
"und-Latn-TW": "trv-Latn-TW",
"und-Latn-UA": "pl-Latn-UA",
"und-LB": "ar-Arab-LB",
"und-Lepc": "lep-Lepc-IN",
"und-LI": "de-Latn-LI",
"und-Limb": "lif-Limb-IN",
"und-Lina": "lab-Lina-GR",
"und-Linb": "grc-Linb-GR",
"und-Lisu": "lis-Lisu-CN",
"und-LK": "si-Sinh-LK",
"und-LS": "st-Latn-LS",
"und-LT": "lt-Latn-LT",
"und-LU": "fr-Latn-LU",
"und-LV": "lv-Latn-LV",
"und-LY": "ar-Arab-LY",
"und-Lyci": "xlc-Lyci-TR",
"und-Lydi": "xld-Lydi-TR",
"und-MA": "ar-Arab-MA",
"und-Mahj": "hi-Mahj-IN",
"und-Maka": "mak-Maka-ID",
"und-Mand": "myz-Mand-IR",
"und-Mani": "xmn-Mani-CN",
"und-Marc": "bo-Marc-CN",
"und-MC": "fr-Latn-MC",
"und-MD": "ro-Latn-MD",
"und-ME": "sr-Latn-ME",
"und-Medf": "dmf-Medf-NG",
"und-Mend": "men-Mend-SL",
"und-Merc": "xmr-Merc-SD",
"und-Mero": "xmr-Mero-SD",
"und-MF": "fr-Latn-MF",
"und-MG": "mg-Latn-MG",
"und-MK": "mk-Cyrl-MK",
"und-ML": "bm-Latn-ML",
"und-Mlym": "ml-Mlym-IN",
"und-MM": "my-Mymr-MM",
"und-MN": "mn-Cyrl-MN",
"und-MO": "zh-Hant-MO",
"und-Modi": "mr-Modi-IN",
"und-Mong": "mn-Mong-CN",
"und-MQ": "fr-Latn-MQ",
"und-MR": "ar-Arab-MR",
"und-Mroo": "mro-Mroo-BD",
"und-MT": "mt-Latn-MT",
"und-Mtei": "mni-Mtei-IN",
"und-MU": "mfe-Latn-MU",
"und-Mult": "skr-Mult-PK",
"und-MV": "dv-Thaa-MV",
"und-MX": "es-Latn-MX",
"und-MY": "ms-Latn-MY",
"und-Mymr": "my-Mymr-MM",
"und-Mymr-IN": "kht-Mymr-IN",
"und-Mymr-TH": "mnw-Mymr-TH",
"und-MZ": "pt-Latn-MZ",
"und-NA": "af-Latn-NA",
"und-Nand": "sa-Nand-IN",
"und-Narb": "xna-Narb-SA",
"und-Nbat": "arc-Nbat-JO",
"und-NC": "fr-Latn-NC",
"und-NE": "ha-Latn-NE",
"und-Newa": "new-Newa-NP",
"und-NI": "es-Latn-NI",
"und-Nkoo": "man-Nkoo-GN",
"und-NL": "nl-Latn-NL",
"und-NO": "nb-Latn-NO",
"und-NP": "ne-Deva-NP",
"und-Nshu": "zhx-Nshu-CN",
"und-Ogam": "sga-Ogam-IE",
"und-Olck": "sat-Olck-IN",
"und-OM": "ar-Arab-OM",
"und-Orkh": "otk-Orkh-MN",
"und-Orya": "or-Orya-IN",
"und-Osge": "osa-Osge-US",
"und-Osma": "so-Osma-SO",
"und-PA": "es-Latn-PA",
"und-Palm": "arc-Palm-SY",
"und-Pauc": "ctd-Pauc-MM",
"und-PE": "es-Latn-PE",
"und-Perm": "kv-Perm-RU",
"und-PF": "fr-Latn-PF",
"und-PG": "tpi-Latn-PG",
"und-PH": "fil-Latn-PH",
"und-Phag": "lzh-Phag-CN",
"und-Phli": "pal-Phli-IR",
"und-Phlp": "pal-Phlp-CN",
"und-Phnx": "phn-Phnx-LB",
"und-PK": "ur-Arab-PK",
"und-PL": "pl-Latn-PL",
"und-Plrd": "hmd-Plrd-CN",
"und-PM": "fr-Latn-PM",
"und-PR": "es-Latn-PR",
"und-Prti": "xpr-Prti-IR",
"und-PS": "ar-Arab-PS",
"und-PT": "pt-Latn-PT",
"und-PW": "pau-Latn-PW",
"und-PY": "gn-Latn-PY",
"und-QA": "ar-Arab-QA",
"und-QO": "en-Latn-DG",
"und-RE": "fr-Latn-RE",
"und-Rjng": "rej-Rjng-ID",
"und-RO": "ro-Latn-RO",
"und-Rohg": "rhg-Rohg-MM",
"und-RS": "sr-Cyrl-RS",
"und-RU": "ru-Cyrl-RU",
"und-Runr": "non-Runr-SE",
"und-RW": "rw-Latn-RW",
"und-SA": "ar-Arab-SA",
"und-Samr": "smp-Samr-IL",
"und-Sarb": "xsa-Sarb-YE",
"und-Saur": "saz-Saur-IN",
"und-SC": "fr-Latn-SC",
"und-SD": "ar-Arab-SD",
"und-SE": "sv-Latn-SE",
"und-Sgnw": "ase-Sgnw-US",
"und-Shaw": "en-Shaw-GB",
"und-Shrd": "sa-Shrd-IN",
"und-SI": "sl-Latn-SI",
"und-Sidd": "sa-Sidd-IN",
"und-Sind": "sd-Sind-IN",
"und-Sinh": "si-Sinh-LK",
"und-SJ": "nb-Latn-SJ",
"und-SK": "sk-Latn-SK",
"und-SM": "it-Latn-SM",
"und-SN": "fr-Latn-SN",
"und-SO": "so-Latn-SO",
"und-Sogd": "sog-Sogd-UZ",
"und-Sogo": "sog-Sogo-UZ",
"und-Sora": "srb-Sora-IN",
"und-Soyo": "cmg-Soyo-MN",
"und-SR": "nl-Latn-SR",
"und-ST": "pt-Latn-ST",
"und-Sund": "su-Sund-ID",
"und-SV": "es-Latn-SV",
"und-SY": "ar-Arab-SY",
"und-Sylo": "syl-Sylo-BD",
"und-Syrc": "syr-Syrc-IQ",
"und-Tagb": "tbw-Tagb-PH",
"und-Takr": "doi-Takr-IN",
"und-Tale": "tdd-Tale-CN",
"und-Talu": "khb-Talu-CN",
"und-Taml": "ta-Taml-IN",
"und-Tang": "txg-Tang-CN",
"und-Tavt": "blt-Tavt-VN",
"und-TD": "fr-Latn-TD",
"und-Telu": "te-Telu-IN",
"und-TF": "fr-Latn-TF",
"und-Tfng": "zgh-Tfng-MA",
"und-TG": "fr-Latn-TG",
"und-Tglg": "fil-Tglg-PH",
"und-TH": "th-Thai-TH",
"und-Thaa": "dv-Thaa-MV",
"und-Thai": "th-Thai-TH",
"und-Thai-CN": "lcp-Thai-CN",
"und-Thai-KH": "kdt-Thai-KH",
"und-Thai-LA": "kdt-Thai-LA",
"und-Tibt": "bo-Tibt-CN",
"und-Tirh": "mai-Tirh-IN",
"und-TJ": "tg-Cyrl-TJ",
"und-TK": "tkl-Latn-TK",
"und-TL": "pt-Latn-TL",
"und-TM": "tk-Latn-TM",
"und-TN": "ar-Arab-TN",
"und-TO": "to-Latn-TO",
"und-TR": "tr-Latn-TR",
"und-TV": "tvl-Latn-TV",
"und-TW": "zh-Hant-TW",
"und-TZ": "sw-Latn-TZ",
"und-UA": "uk-Cyrl-UA",
"und-UG": "sw-Latn-UG",
"und-Ugar": "uga-Ugar-SY",
"und-UY": "es-Latn-UY",
"und-UZ": "uz-Latn-UZ",
"und-VA": "it-Latn-VA",
"und-Vaii": "vai-Vaii-LR",
"und-VE": "es-Latn-VE",
"und-VN": "vi-Latn-VN",
"und-VU": "bi-Latn-VU",
"und-Wara": "hoc-Wara-IN",
"und-Wcho": "nnp-Wcho-IN",
"und-WF": "fr-Latn-WF",
"und-WS": "sm-Latn-WS",
"und-XK": "sq-Latn-XK",
"und-Xpeo": "peo-Xpeo-IR",
"und-Xsux": "akk-Xsux-IQ",
"und-YE": "ar-Arab-YE",
"und-Yezi": "ku-Yezi-GE",
"und-Yiii": "ii-Yiii-CN",
"und-YT": "fr-Latn-YT",
"und-Zanb": "cmg-Zanb-MN",
"und-ZW": "sn-Latn-ZW",
unr: "unr-Beng-IN",
"unr-Deva": "unr-Deva-NP",
"unr-NP": "unr-Deva-NP",
unx: "unx-Beng-IN",
uok: "uok-Latn-ZZ",
ur: "ur-Arab-PK",
uri: "uri-Latn-ZZ",
urt: "urt-Latn-ZZ",
urw: "urw-Latn-ZZ",
usa: "usa-Latn-ZZ",
uth: "uth-Latn-ZZ",
utr: "utr-Latn-ZZ",
uvh: "uvh-Latn-ZZ",
uvl: "uvl-Latn-ZZ",
uz: "uz-Latn-UZ",
"uz-AF": "uz-Arab-AF",
"uz-Arab": "uz-Arab-AF",
"uz-CN": "uz-Cyrl-CN",
vag: "vag-Latn-ZZ",
vai: "vai-Vaii-LR",
van: "van-Latn-ZZ",
ve: "ve-Latn-ZA",
vec: "vec-Latn-IT",
vep: "vep-Latn-RU",
vi: "vi-Latn-VN",
vic: "vic-Latn-SX",
viv: "viv-Latn-ZZ",
vls: "vls-Latn-BE",
vmf: "vmf-Latn-DE",
vmw: "vmw-Latn-MZ",
vo: "vo-Latn-001",
vot: "vot-Latn-RU",
vro: "vro-Latn-EE",
vun: "vun-Latn-TZ",
vut: "vut-Latn-ZZ",
wa: "wa-Latn-BE",
wae: "wae-Latn-CH",
waj: "waj-Latn-ZZ",
wal: "wal-Ethi-ET",
wan: "wan-Latn-ZZ",
war: "war-Latn-PH",
wbp: "wbp-Latn-AU",
wbq: "wbq-Telu-IN",
wbr: "wbr-Deva-IN",
wci: "wci-Latn-ZZ",
wer: "wer-Latn-ZZ",
wgi: "wgi-Latn-ZZ",
whg: "whg-Latn-ZZ",
wib: "wib-Latn-ZZ",
wiu: "wiu-Latn-ZZ",
wiv: "wiv-Latn-ZZ",
wja: "wja-Latn-ZZ",
wji: "wji-Latn-ZZ",
wls: "wls-Latn-WF",
wmo: "wmo-Latn-ZZ",
wnc: "wnc-Latn-ZZ",
wni: "wni-Arab-KM",
wnu: "wnu-Latn-ZZ",
wo: "wo-Latn-SN",
wob: "wob-Latn-ZZ",
wos: "wos-Latn-ZZ",
wrs: "wrs-Latn-ZZ",
wsg: "wsg-Gong-IN",
wsk: "wsk-Latn-ZZ",
wtm: "wtm-Deva-IN",
wuu: "wuu-Hans-CN",
wuv: "wuv-Latn-ZZ",
wwa: "wwa-Latn-ZZ",
xav: "xav-Latn-BR",
xbi: "xbi-Latn-ZZ",
xco: "xco-Chrs-UZ",
xcr: "xcr-Cari-TR",
xes: "xes-Latn-ZZ",
xh: "xh-Latn-ZA",
xla: "xla-Latn-ZZ",
xlc: "xlc-Lyci-TR",
xld: "xld-Lydi-TR",
xmf: "xmf-Geor-GE",
xmn: "xmn-Mani-CN",
xmr: "xmr-Merc-SD",
xna: "xna-Narb-SA",
xnr: "xnr-Deva-IN",
xog: "xog-Latn-UG",
xon: "xon-Latn-ZZ",
xpr: "xpr-Prti-IR",
xrb: "xrb-Latn-ZZ",
xsa: "xsa-Sarb-YE",
xsi: "xsi-Latn-ZZ",
xsm: "xsm-Latn-ZZ",
xsr: "xsr-Deva-NP",
xwe: "xwe-Latn-ZZ",
yam: "yam-Latn-ZZ",
yao: "yao-Latn-MZ",
yap: "yap-Latn-FM",
yas: "yas-Latn-ZZ",
yat: "yat-Latn-ZZ",
yav: "yav-Latn-CM",
yay: "yay-Latn-ZZ",
yaz: "yaz-Latn-ZZ",
yba: "yba-Latn-ZZ",
ybb: "ybb-Latn-CM",
yby: "yby-Latn-ZZ",
yer: "yer-Latn-ZZ",
ygr: "ygr-Latn-ZZ",
ygw: "ygw-Latn-ZZ",
yi: "yi-Hebr-001",
yko: "yko-Latn-ZZ",
yle: "yle-Latn-ZZ",
ylg: "ylg-Latn-ZZ",
yll: "yll-Latn-ZZ",
yml: "yml-Latn-ZZ",
yo: "yo-Latn-NG",
yon: "yon-Latn-ZZ",
yrb: "yrb-Latn-ZZ",
yre: "yre-Latn-ZZ",
yrl: "yrl-Latn-BR",
yss: "yss-Latn-ZZ",
yua: "yua-Latn-MX",
yue: "yue-Hant-HK",
"yue-CN": "yue-Hans-CN",
"yue-Hans": "yue-Hans-CN",
yuj: "yuj-Latn-ZZ",
yut: "yut-Latn-ZZ",
yuw: "yuw-Latn-ZZ",
za: "za-Latn-CN",
zag: "zag-Latn-SD",
zdj: "zdj-Arab-KM",
zea: "zea-Latn-NL",
zgh: "zgh-Tfng-MA",
zh: "zh-Hans-CN",
"zh-AU": "zh-Hant-AU",
"zh-BN": "zh-Hant-BN",
"zh-Bopo": "zh-Bopo-TW",
"zh-GB": "zh-Hant-GB",
"zh-GF": "zh-Hant-GF",
"zh-Hanb": "zh-Hanb-TW",
"zh-Hant": "zh-Hant-TW",
"zh-HK": "zh-Hant-HK",
"zh-ID": "zh-Hant-ID",
"zh-MO": "zh-Hant-MO",
"zh-PA": "zh-Hant-PA",
"zh-PF": "zh-Hant-PF",
"zh-PH": "zh-Hant-PH",
"zh-SR": "zh-Hant-SR",
"zh-TH": "zh-Hant-TH",
"zh-TW": "zh-Hant-TW",
"zh-US": "zh-Hant-US",
"zh-VN": "zh-Hant-VN",
zhx: "zhx-Nshu-CN",
zia: "zia-Latn-ZZ",
zkt: "zkt-Kits-CN",
zlm: "zlm-Latn-TG",
zmi: "zmi-Latn-MY",
zne: "zne-Latn-ZZ",
zu: "zu-Latn-ZA",
zza: "zza-Latn-TR"
}
}
};
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/canonicalizer.js
var require_canonicalizer = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/canonicalizer.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
exports.canonicalizeUnicodeLocaleId = exports.canonicalizeUnicodeLanguageId = void 0;
var tslib_1 = require_tslib();
var aliases_1 = require_aliases();
var parser_1 = require_parser();
var likelySubtags2 = tslib_1.__importStar(require_likelySubtags());
var emitter_1 = require_emitter();
function canonicalizeAttrs(strs) {
return Object.keys(strs.reduce(function(all, str) {
all[str.toLowerCase()] = 1;
return all;
}, {})).sort();
}
function canonicalizeKVs(arr) {
var all = {};
var result = [];
for (var _i = 0, arr_1 = arr; _i < arr_1.length; _i++) {
var kv = arr_1[_i];
if (kv[0] in all) {
continue;
}
all[kv[0]] = 1;
if (!kv[1] || kv[1] === "true") {
result.push([kv[0].toLowerCase()]);
} else {
result.push([kv[0].toLowerCase(), kv[1].toLowerCase()]);
}
}
return result.sort(compareKV);
}
function compareKV(t1, t2) {
return t1[0] < t2[0] ? -1 : t1[0] > t2[0] ? 1 : 0;
}
function compareExtension(e1, e2) {
return e1.type < e2.type ? -1 : e1.type > e2.type ? 1 : 0;
}
function mergeVariants(v1, v2) {
var result = tslib_1.__spreadArray([], v1);
for (var _i = 0, v2_1 = v2; _i < v2_1.length; _i++) {
var v = v2_1[_i];
if (v1.indexOf(v) < 0) {
result.push(v);
}
}
return result;
}
function canonicalizeUnicodeLanguageId(unicodeLanguageId) {
var finalLangAst = unicodeLanguageId;
if (unicodeLanguageId.variants.length) {
var replacedLang_1 = "";
for (var _i = 0, _a = unicodeLanguageId.variants; _i < _a.length; _i++) {
var variant = _a[_i];
if (replacedLang_1 = aliases_1.languageAlias[emitter_1.emitUnicodeLanguageId({
lang: unicodeLanguageId.lang,
variants: [variant]
})]) {
var replacedLangAst = parser_1.parseUnicodeLanguageId(replacedLang_1.split(parser_1.SEPARATOR));
finalLangAst = {
lang: replacedLangAst.lang,
script: finalLangAst.script || replacedLangAst.script,
region: finalLangAst.region || replacedLangAst.region,
variants: mergeVariants(finalLangAst.variants, replacedLangAst.variants)
};
break;
}
}
}
if (finalLangAst.script && finalLangAst.region) {
var replacedLang_2 = aliases_1.languageAlias[emitter_1.emitUnicodeLanguageId({
lang: finalLangAst.lang,
script: finalLangAst.script,
region: finalLangAst.region,
variants: []
})];
if (replacedLang_2) {
var replacedLangAst = parser_1.parseUnicodeLanguageId(replacedLang_2.split(parser_1.SEPARATOR));
finalLangAst = {
lang: replacedLangAst.lang,
script: replacedLangAst.script,
region: replacedLangAst.region,
variants: finalLangAst.variants
};
}
}
if (finalLangAst.region) {
var replacedLang_3 = aliases_1.languageAlias[emitter_1.emitUnicodeLanguageId({
lang: finalLangAst.lang,
region: finalLangAst.region,
variants: []
})];
if (replacedLang_3) {
var replacedLangAst = parser_1.parseUnicodeLanguageId(replacedLang_3.split(parser_1.SEPARATOR));
finalLangAst = {
lang: replacedLangAst.lang,
script: finalLangAst.script || replacedLangAst.script,
region: replacedLangAst.region,
variants: finalLangAst.variants
};
}
}
var replacedLang = aliases_1.languageAlias[emitter_1.emitUnicodeLanguageId({
lang: finalLangAst.lang,
variants: []
})];
if (replacedLang) {
var replacedLangAst = parser_1.parseUnicodeLanguageId(replacedLang.split(parser_1.SEPARATOR));
finalLangAst = {
lang: replacedLangAst.lang,
script: finalLangAst.script || replacedLangAst.script,
region: finalLangAst.region || replacedLangAst.region,
variants: finalLangAst.variants
};
}
if (finalLangAst.region) {
var region = finalLangAst.region.toUpperCase();
var regionAlias = aliases_1.territoryAlias[region];
var replacedRegion = void 0;
if (regionAlias) {
var regions = regionAlias.split(" ");
replacedRegion = regions[0];
var likelySubtag = likelySubtags2.supplemental.likelySubtags[emitter_1.emitUnicodeLanguageId({
lang: finalLangAst.lang,
script: finalLangAst.script,
variants: []
})];
if (likelySubtag) {
var likelyRegion = parser_1.parseUnicodeLanguageId(likelySubtag.split(parser_1.SEPARATOR)).region;
if (likelyRegion && regions.indexOf(likelyRegion) > -1) {
replacedRegion = likelyRegion;
}
}
}
if (replacedRegion) {
finalLangAst.region = replacedRegion;
}
finalLangAst.region = finalLangAst.region.toUpperCase();
}
if (finalLangAst.script) {
finalLangAst.script = finalLangAst.script[0].toUpperCase() + finalLangAst.script.slice(1).toLowerCase();
if (aliases_1.scriptAlias[finalLangAst.script]) {
finalLangAst.script = aliases_1.scriptAlias[finalLangAst.script];
}
}
if (finalLangAst.variants.length) {
for (var i = 0; i < finalLangAst.variants.length; i++) {
var variant = finalLangAst.variants[i].toLowerCase();
if (aliases_1.variantAlias[variant]) {
var alias = aliases_1.variantAlias[variant];
if (parser_1.isUnicodeVariantSubtag(alias)) {
finalLangAst.variants[i] = alias;
} else if (parser_1.isUnicodeLanguageSubtag(alias)) {
finalLangAst.lang = alias;
}
}
}
finalLangAst.variants.sort();
}
return finalLangAst;
}
exports.canonicalizeUnicodeLanguageId = canonicalizeUnicodeLanguageId;
function canonicalizeUnicodeLocaleId(locale) {
locale.lang = canonicalizeUnicodeLanguageId(locale.lang);
if (locale.extensions) {
for (var _i = 0, _a = locale.extensions; _i < _a.length; _i++) {
var extension = _a[_i];
switch (extension.type) {
case "u":
extension.keywords = canonicalizeKVs(extension.keywords);
if (extension.attributes) {
extension.attributes = canonicalizeAttrs(extension.attributes);
}
break;
case "t":
if (extension.lang) {
extension.lang = canonicalizeUnicodeLanguageId(extension.lang);
}
extension.fields = canonicalizeKVs(extension.fields);
break;
default:
extension.value = extension.value.toLowerCase();
break;
}
}
locale.extensions.sort(compareExtension);
}
return locale;
}
exports.canonicalizeUnicodeLocaleId = canonicalizeUnicodeLocaleId;
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/types.js
var require_types = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/src/types.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/index.js
var require_intl_getcanonicallocales = __commonJS({
"bazel-out/darwin-fastbuild/bin/packages/intl-getcanonicallocales/index.js": function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {value: true});
exports.isUnicodeLanguageSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.parseUnicodeLanguageId = exports.parseUnicodeLocaleId = exports.getCanonicalLocales = void 0;
var tslib_1 = require_tslib();
var parser_1 = require_parser();
var emitter_1 = require_emitter();
var canonicalizer_1 = require_canonicalizer();
function CanonicalizeLocaleList2(locales) {
if (locales === void 0) {
return [];
}
var seen = [];
if (typeof locales === "string") {
locales = [locales];
}
for (var _i = 0, locales_1 = locales; _i < locales_1.length; _i++) {
var locale = locales_1[_i];
var canonicalizedTag = emitter_1.emitUnicodeLocaleId(canonicalizer_1.canonicalizeUnicodeLocaleId(parser_1.parseUnicodeLocaleId(locale)));
if (seen.indexOf(canonicalizedTag) < 0) {
seen.push(canonicalizedTag);
}
}
return seen;
}
function getCanonicalLocales(locales) {
return CanonicalizeLocaleList2(locales);
}
exports.getCanonicalLocales = getCanonicalLocales;
var parser_2 = require_parser();
Object.defineProperty(exports, "parseUnicodeLocaleId", {enumerable: true, get: function() {
return parser_2.parseUnicodeLocaleId;
}});
Object.defineProperty(exports, "parseUnicodeLanguageId", {enumerable: true, get: function() {
return parser_2.parseUnicodeLanguageId;
}});
Object.defineProperty(exports, "isStructurallyValidLanguageTag", {enumerable: true, get: function() {
return parser_2.isStructurallyValidLanguageTag;
}});
Object.defineProperty(exports, "isUnicodeRegionSubtag", {enumerable: true, get: function() {
return parser_2.isUnicodeRegionSubtag;
}});
Object.defineProperty(exports, "isUnicodeScriptSubtag", {enumerable: true, get: function() {
return parser_2.isUnicodeScriptSubtag;
}});
Object.defineProperty(exports, "isUnicodeLanguageSubtag", {enumerable: true, get: function() {
return parser_2.isUnicodeLanguageSubtag;
}});
tslib_1.__exportStar(require_types(), exports);
tslib_1.__exportStar(require_emitter(), exports);
}
});
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
var import_tslib5 = __toModule(require_tslib());
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/DateTimeFormat/BestFitFormatMatcher.js
var import_tslib2 = __toModule(require_tslib());
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/utils.js
function invariant(condition, message, Err) {
if (Err === void 0) {
Err = Error;
}
if (!condition) {
throw new Err(message);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/DateTimeFormat/skeleton.js
var import_tslib = __toModule(require_tslib());
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/types/date-time.js
var RangePatternType;
(function(RangePatternType2) {
RangePatternType2["startRange"] = "startRange";
RangePatternType2["shared"] = "shared";
RangePatternType2["endRange"] = "endRange";
})(RangePatternType || (RangePatternType = {}));
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/262.js
function ToString(o) {
if (typeof o === "symbol") {
throw TypeError("Cannot convert a Symbol value to a string");
}
return String(o);
}
function ToObject(arg) {
if (arg == null) {
throw new TypeError("undefined/null cannot be converted to object");
}
return Object(arg);
}
function SameValue(x, y) {
if (Object.is) {
return Object.is(x, y);
}
if (x === y) {
return x !== 0 || 1 / x === 1 / y;
}
return x !== x && y !== y;
}
var MINUTES_PER_HOUR = 60;
var SECONDS_PER_MINUTE = 60;
var MS_PER_SECOND = 1e3;
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CoerceOptionsToObject.js
function CoerceOptionsToObject(options) {
if (typeof options === "undefined") {
return Object.create(null);
}
return ToObject(options);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/DateTimeFormat/BasicFormatMatcher.js
var import_tslib3 = __toModule(require_tslib());
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/GetOption.js
function GetOption(opts, prop, type, values, fallback) {
if (typeof opts !== "object") {
throw new TypeError("Options must be an object");
}
var value = opts[prop];
if (value !== void 0) {
if (type !== "boolean" && type !== "string") {
throw new TypeError("invalid type");
}
if (type === "boolean") {
value = Boolean(value);
}
if (type === "string") {
value = ToString(value);
}
if (values !== void 0 && !values.filter(function(val) {
return val == value;
}).length) {
throw new RangeError(value + " is not within " + values.join(", "));
}
return value;
}
return fallback;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
var SANCTIONED_UNITS = [
"angle-degree",
"area-acre",
"area-hectare",
"concentr-percent",
"digital-bit",
"digital-byte",
"digital-gigabit",
"digital-gigabyte",
"digital-kilobit",
"digital-kilobyte",
"digital-megabit",
"digital-megabyte",
"digital-petabyte",
"digital-terabit",
"digital-terabyte",
"duration-day",
"duration-hour",
"duration-millisecond",
"duration-minute",
"duration-month",
"duration-second",
"duration-week",
"duration-year",
"length-centimeter",
"length-foot",
"length-inch",
"length-kilometer",
"length-meter",
"length-mile-scandinavian",
"length-mile",
"length-millimeter",
"length-yard",
"mass-gram",
"mass-kilogram",
"mass-ounce",
"mass-pound",
"mass-stone",
"temperature-celsius",
"temperature-fahrenheit",
"volume-fluid-ounce",
"volume-gallon",
"volume-liter",
"volume-milliliter"
];
function removeUnitNamespace(unit) {
return unit.slice(unit.indexOf("-") + 1);
}
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/regex.generated.js
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/format_to_parts.js
var CARET_S_UNICODE_REGEX = new RegExp("^" + S_UNICODE_REGEX.source);
var S_DOLLAR_UNICODE_REGEX = new RegExp(S_UNICODE_REGEX.source + "$");
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/data.js
var import_tslib4 = __toModule(require_tslib());
var MissingLocaleDataError = function(_super) {
(0, import_tslib4.__extends)(MissingLocaleDataError2, _super);
function MissingLocaleDataError2() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.type = "MISSING_LOCALE_DATA";
return _this;
}
return MissingLocaleDataError2;
}(Error);
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
var import_intl_getcanonicallocales = __toModule(require_intl_getcanonicallocales());
var likelySubtagsData = __toModule(require_likelySubtags());
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/get_internal_slots.js
var internalSlotMap = new WeakMap();
function getInternalSlots(x) {
var internalSlots = internalSlotMap.get(x);
if (!internalSlots) {
internalSlots = Object.create(null);
internalSlotMap.set(x, internalSlots);
}
return internalSlots;
}
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
var likelySubtags = likelySubtagsData.supplemental.likelySubtags;
var RELEVANT_EXTENSION_KEYS = ["ca", "co", "hc", "kf", "kn", "nu"];
var UNICODE_TYPE_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
function applyOptionsToTag(tag, options) {
invariant(typeof tag === "string", "language tag must be a string");
invariant((0, import_intl_getcanonicallocales.isStructurallyValidLanguageTag)(tag), "malformed language tag", RangeError);
var language = GetOption(options, "language", "string", void 0, void 0);
if (language !== void 0) {
invariant((0, import_intl_getcanonicallocales.isUnicodeLanguageSubtag)(language), "Malformed unicode_language_subtag", RangeError);
}
var script = GetOption(options, "script", "string", void 0, void 0);
if (script !== void 0) {
invariant((0, import_intl_getcanonicallocales.isUnicodeScriptSubtag)(script), "Malformed unicode_script_subtag", RangeError);
}
var region = GetOption(options, "region", "string", void 0, void 0);
if (region !== void 0) {
invariant((0, import_intl_getcanonicallocales.isUnicodeRegionSubtag)(region), "Malformed unicode_region_subtag", RangeError);
}
var languageId = (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(tag);
if (language !== void 0) {
languageId.lang = language;
}
if (script !== void 0) {
languageId.script = script;
}
if (region !== void 0) {
languageId.region = region;
}
return Intl.getCanonicalLocales((0, import_intl_getcanonicallocales.emitUnicodeLocaleId)((0, import_tslib5.__assign)((0, import_tslib5.__assign)({}, (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag)), {lang: languageId})))[0];
}
function applyUnicodeExtensionToTag(tag, options, relevantExtensionKeys) {
var unicodeExtension;
var keywords = [];
var ast = (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag);
for (var _i = 0, _a = ast.extensions; _i < _a.length; _i++) {
var ext = _a[_i];
if (ext.type === "u") {
unicodeExtension = ext;
if (Array.isArray(ext.keywords))
keywords = ext.keywords;
}
}
var result = Object.create(null);
for (var _b = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _b < relevantExtensionKeys_1.length; _b++) {
var key = relevantExtensionKeys_1[_b];
var value = void 0, entry = void 0;
for (var _c = 0, keywords_1 = keywords; _c < keywords_1.length; _c++) {
var keyword = keywords_1[_c];
if (keyword[0] === key) {
entry = keyword;
value = entry[1];
}
}
invariant(key in options, key + " must be in options");
var optionsValue = options[key];
if (optionsValue !== void 0) {
invariant(typeof optionsValue === "string", "Value for " + key + " must be a string");
value = optionsValue;
if (entry) {
entry[1] = value;
} else {
keywords.push([key, value]);
}
}
result[key] = value;
}
if (!unicodeExtension) {
if (keywords.length) {
ast.extensions.push({
type: "u",
keywords: keywords,
attributes: []
});
}
} else {
unicodeExtension.keywords = keywords;
}
result.locale = Intl.getCanonicalLocales((0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(ast))[0];
return result;
}
function mergeUnicodeLanguageId(lang, script, region, variants, replacement) {
if (variants === void 0) {
variants = [];
}
if (!replacement) {
return {
lang: lang || "und",
script: script,
region: region,
variants: variants
};
}
return {
lang: !lang || lang === "und" ? replacement.lang : lang,
script: script || replacement.script,
region: region || replacement.region,
variants: (0, import_tslib5.__spreadArray)((0, import_tslib5.__spreadArray)([], variants), replacement.variants)
};
}
function addLikelySubtags(tag) {
var ast = (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag);
var unicodeLangId = ast.lang;
var lang = unicodeLangId.lang, script = unicodeLangId.script, region = unicodeLangId.region, variants = unicodeLangId.variants;
if (script && region) {
var match_1 = likelySubtags[(0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, script: script, region: region, variants: []})];
if (match_1) {
var parts_1 = (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(match_1);
ast.lang = mergeUnicodeLanguageId(void 0, void 0, void 0, variants, parts_1);
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(ast);
}
}
if (script) {
var match_2 = likelySubtags[(0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, script: script, variants: []})];
if (match_2) {
var parts_2 = (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(match_2);
ast.lang = mergeUnicodeLanguageId(void 0, void 0, region, variants, parts_2);
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(ast);
}
}
if (region) {
var match_3 = likelySubtags[(0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, region: region, variants: []})];
if (match_3) {
var parts_3 = (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(match_3);
ast.lang = mergeUnicodeLanguageId(void 0, script, void 0, variants, parts_3);
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(ast);
}
}
var match = likelySubtags[lang] || likelySubtags[(0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: "und", script: script, variants: []})];
if (!match) {
throw new Error("No match for addLikelySubtags");
}
var parts = (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(match);
ast.lang = mergeUnicodeLanguageId(void 0, script, region, variants, parts);
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)(ast);
}
function removeLikelySubtags(tag) {
var maxLocale = addLikelySubtags(tag);
if (!maxLocale) {
return tag;
}
maxLocale = (0, import_intl_getcanonicallocales.emitUnicodeLanguageId)((0, import_tslib5.__assign)((0, import_tslib5.__assign)({}, (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(maxLocale)), {variants: []}));
var ast = (0, import_intl_getcanonicallocales.parseUnicodeLocaleId)(tag);
var _a = ast.lang, lang = _a.lang, script = _a.script, region = _a.region, variants = _a.variants;
var trial = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, variants: []}));
if (trial === maxLocale) {
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)((0, import_tslib5.__assign)((0, import_tslib5.__assign)({}, ast), {lang: mergeUnicodeLanguageId(lang, void 0, void 0, variants)}));
}
if (region) {
var trial_1 = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, region: region, variants: []}));
if (trial_1 === maxLocale) {
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)((0, import_tslib5.__assign)((0, import_tslib5.__assign)({}, ast), {lang: mergeUnicodeLanguageId(lang, void 0, region, variants)}));
}
}
if (script) {
var trial_2 = addLikelySubtags((0, import_intl_getcanonicallocales.emitUnicodeLanguageId)({lang: lang, script: script, variants: []}));
if (trial_2 === maxLocale) {
return (0, import_intl_getcanonicallocales.emitUnicodeLocaleId)((0, import_tslib5.__assign)((0, import_tslib5.__assign)({}, ast), {lang: mergeUnicodeLanguageId(lang, script, void 0, variants)}));
}
}
return tag;
}
var Locale = function() {
function Locale2(tag, opts) {
var newTarget = this && this instanceof Locale2 ? this.constructor : void 0;
if (!newTarget) {
throw new TypeError("Intl.Locale must be called with 'new'");
}
var relevantExtensionKeys = Locale2.relevantExtensionKeys;
var internalSlotsList = [
"initializedLocale",
"locale",
"calendar",
"collation",
"hourCycle",
"numberingSystem"
];
if (relevantExtensionKeys.indexOf("kf") > -1) {
internalSlotsList.push("caseFirst");
}
if (relevantExtensionKeys.indexOf("kn") > -1) {
internalSlotsList.push("numeric");
}
if (tag === void 0) {
throw new TypeError("First argument to Intl.Locale constructor can't be empty or missing");
}
if (typeof tag !== "string" && typeof tag !== "object") {
throw new TypeError("tag must be a string or object");
}
var internalSlots;
if (typeof tag === "object" && (internalSlots = getInternalSlots(tag)) && internalSlots.initializedLocale) {
tag = internalSlots.locale;
} else {
tag = tag.toString();
}
internalSlots = getInternalSlots(this);
var options = CoerceOptionsToObject(opts);
tag = applyOptionsToTag(tag, options);
var opt = Object.create(null);
var calendar = GetOption(options, "calendar", "string", void 0, void 0);
if (calendar !== void 0) {
if (!UNICODE_TYPE_REGEX.test(calendar)) {
throw new RangeError("invalid calendar");
}
}
opt.ca = calendar;
var collation = GetOption(options, "collation", "string", void 0, void 0);
if (collation !== void 0) {
if (!UNICODE_TYPE_REGEX.test(collation)) {
throw new RangeError("invalid collation");
}
}
opt.co = collation;
var hc = GetOption(options, "hourCycle", "string", ["h11", "h12", "h23", "h24"], void 0);
opt.hc = hc;
var kf = GetOption(options, "caseFirst", "string", ["upper", "lower", "false"], void 0);
opt.kf = kf;
var _kn = GetOption(options, "numeric", "boolean", void 0, void 0);
var kn;
if (_kn !== void 0) {
kn = String(_kn);
}
opt.kn = kn;
var numberingSystem = GetOption(options, "numberingSystem", "string", void 0, void 0);
if (numberingSystem !== void 0) {
if (!UNICODE_TYPE_REGEX.test(numberingSystem)) {
throw new RangeError("Invalid numberingSystem");
}
}
opt.nu = numberingSystem;
var r = applyUnicodeExtensionToTag(tag, opt, relevantExtensionKeys);
internalSlots.locale = r.locale;
internalSlots.calendar = r.ca;
internalSlots.collation = r.co;
internalSlots.hourCycle = r.hc;
if (relevantExtensionKeys.indexOf("kf") > -1) {
internalSlots.caseFirst = r.kf;
}
if (relevantExtensionKeys.indexOf("kn") > -1) {
internalSlots.numeric = SameValue(r.kn, "true");
}
internalSlots.numberingSystem = r.nu;
}
Locale2.prototype.maximize = function() {
var locale = getInternalSlots(this).locale;
try {
var maximizedLocale = addLikelySubtags(locale);
return new Locale2(maximizedLocale);
} catch (e) {
return new Locale2(locale);
}
};
Locale2.prototype.minimize = function() {
var locale = getInternalSlots(this).locale;
try {
var minimizedLocale = removeLikelySubtags(locale);
return new Locale2(minimizedLocale);
} catch (e) {
return new Locale2(locale);
}
};
Locale2.prototype.toString = function() {
return getInternalSlots(this).locale;
};
Object.defineProperty(Locale2.prototype, "baseName", {
get: function() {
var locale = getInternalSlots(this).locale;
return (0, import_intl_getcanonicallocales.emitUnicodeLanguageId)((0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(locale));
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "calendar", {
get: function() {
return getInternalSlots(this).calendar;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "collation", {
get: function() {
return getInternalSlots(this).collation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "hourCycle", {
get: function() {
return getInternalSlots(this).hourCycle;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "caseFirst", {
get: function() {
return getInternalSlots(this).caseFirst;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "numeric", {
get: function() {
return getInternalSlots(this).numeric;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "numberingSystem", {
get: function() {
return getInternalSlots(this).numberingSystem;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "language", {
get: function() {
var locale = getInternalSlots(this).locale;
return (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(locale).lang;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "script", {
get: function() {
var locale = getInternalSlots(this).locale;
return (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(locale).script;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Locale2.prototype, "region", {
get: function() {
var locale = getInternalSlots(this).locale;
return (0, import_intl_getcanonicallocales.parseUnicodeLanguageId)(locale).region;
},
enumerable: false,
configurable: true
});
Locale2.relevantExtensionKeys = RELEVANT_EXTENSION_KEYS;
return Locale2;
}();
try {
if (typeof Symbol !== "undefined") {
Object.defineProperty(Locale.prototype, Symbol.toStringTag, {
value: "Intl.Locale",
writable: false,
enumerable: false,
configurable: true
});
}
Object.defineProperty(Locale.prototype.constructor, "length", {
value: 1,
writable: false,
enumerable: false,
configurable: true
});
} catch (e) {
}
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/should-polyfill.js
function hasIntlGetCanonicalLocalesBug() {
try {
return new Intl.Locale("und-x-private").toString() === "x-private";
} catch (e) {
return true;
}
}
function shouldPolyfill() {
return typeof Intl === "undefined" || !("Locale" in Intl) || hasIntlGetCanonicalLocalesBug();
}
// bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/polyfill.js
if (shouldPolyfill()) {
Object.defineProperty(Intl, "Locale", {
value: Locale,
writable: true,
enumerable: false,
configurable: true
});
}
})();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
}
if (!("Intl"in self&&"PluralRules"in self.Intl
)) {
// Intl.PluralRules
(function() {
// node_modules/tslib/tslib.es6.js
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function(d2, b2) {
d2.__proto__ = b2;
} || function(d2, b2) {
for (var p in b2)
if (Object.prototype.hasOwnProperty.call(b2, p))
d2[p] = b2[p];
};
return extendStatics(d, b);
};
function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
function __spreadArray(to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/utils.js
function getMagnitude(x) {
return Math.floor(Math.log(x) * Math.LOG10E);
}
function repeat(s, times) {
if (typeof s.repeat === "function") {
return s.repeat(times);
}
var arr = new Array(times);
for (var i = 0; i < arr.length; i++) {
arr[i] = s;
}
return arr.join("");
}
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
function invariant(condition, message, Err) {
if (Err === void 0) {
Err = Error;
}
if (!condition) {
throw new Err(message);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/types/date-time.js
var RangePatternType;
(function(RangePatternType2) {
RangePatternType2["startRange"] = "startRange";
RangePatternType2["shared"] = "shared";
RangePatternType2["endRange"] = "endRange";
})(RangePatternType || (RangePatternType = {}));
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CanonicalizeLocaleList.js
function CanonicalizeLocaleList(locales) {
return Intl.getCanonicalLocales(locales);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/262.js
function ToString(o) {
if (typeof o === "symbol") {
throw TypeError("Cannot convert a Symbol value to a string");
}
return String(o);
}
function ToNumber(val) {
if (val === void 0) {
return NaN;
}
if (val === null) {
return 0;
}
if (typeof val === "boolean") {
return val ? 1 : 0;
}
if (typeof val === "number") {
return val;
}
if (typeof val === "symbol" || typeof val === "bigint") {
throw new TypeError("Cannot convert symbol/bigint to number");
}
return Number(val);
}
function ToObject(arg) {
if (arg == null) {
throw new TypeError("undefined/null cannot be converted to object");
}
return Object(arg);
}
function SameValue(x, y) {
if (Object.is) {
return Object.is(x, y);
}
if (x === y) {
return x !== 0 || 1 / x === 1 / y;
}
return x !== x && y !== y;
}
function Type(x) {
if (x === null) {
return "Null";
}
if (typeof x === "undefined") {
return "Undefined";
}
if (typeof x === "function" || typeof x === "object") {
return "Object";
}
if (typeof x === "number") {
return "Number";
}
if (typeof x === "boolean") {
return "Boolean";
}
if (typeof x === "string") {
return "String";
}
if (typeof x === "symbol") {
return "Symbol";
}
if (typeof x === "bigint") {
return "BigInt";
}
}
var MINUTES_PER_HOUR = 60;
var SECONDS_PER_MINUTE = 60;
var MS_PER_SECOND = 1e3;
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CoerceOptionsToObject.js
function CoerceOptionsToObject(options) {
if (typeof options === "undefined") {
return Object.create(null);
}
return ToObject(options);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/GetOption.js
function GetOption(opts, prop, type, values, fallback) {
if (typeof opts !== "object") {
throw new TypeError("Options must be an object");
}
var value = opts[prop];
if (value !== void 0) {
if (type !== "boolean" && type !== "string") {
throw new TypeError("invalid type");
}
if (type === "boolean") {
value = Boolean(value);
}
if (type === "string") {
value = ToString(value);
}
if (values !== void 0 && !values.filter(function(val) {
return val == value;
}).length) {
throw new RangeError(value + " is not within " + values.join(", "));
}
return value;
}
return fallback;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/BestAvailableLocale.js
function BestAvailableLocale(availableLocales, locale) {
var candidate = locale;
while (true) {
if (availableLocales.has(candidate)) {
return candidate;
}
var pos = candidate.lastIndexOf("-");
if (!~pos) {
return void 0;
}
if (pos >= 2 && candidate[pos - 2] === "-") {
pos -= 2;
}
candidate = candidate.slice(0, pos);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/LookupMatcher.js
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
var result = {locale: ""};
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var locale = requestedLocales_1[_i];
var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
var availableLocale = BestAvailableLocale(availableLocales, noExtensionLocale);
if (availableLocale) {
result.locale = availableLocale;
if (locale !== noExtensionLocale) {
result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);
}
return result;
}
}
result.locale = getDefaultLocale();
return result;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/BestFitMatcher.js
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
var minimizedAvailableLocaleMap = {};
var minimizedAvailableLocales = new Set();
availableLocales.forEach(function(locale2) {
var minimizedLocale = new Intl.Locale(locale2).minimize().toString();
minimizedAvailableLocaleMap[minimizedLocale] = locale2;
minimizedAvailableLocales.add(minimizedLocale);
});
var foundLocale;
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var l = requestedLocales_1[_i];
if (foundLocale) {
break;
}
var noExtensionLocale = l.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
if (availableLocales.has(noExtensionLocale)) {
foundLocale = noExtensionLocale;
break;
}
if (minimizedAvailableLocales.has(noExtensionLocale)) {
foundLocale = minimizedAvailableLocaleMap[noExtensionLocale];
break;
}
var locale = new Intl.Locale(noExtensionLocale);
var maximizedRequestedLocale = locale.maximize().toString();
var minimizedRequestedLocale = locale.minimize().toString();
if (minimizedAvailableLocales.has(minimizedRequestedLocale)) {
foundLocale = minimizedAvailableLocaleMap[minimizedRequestedLocale];
break;
}
foundLocale = BestAvailableLocale(minimizedAvailableLocales, maximizedRequestedLocale);
}
return {
locale: foundLocale || getDefaultLocale()
};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/UnicodeExtensionValue.js
function UnicodeExtensionValue(extension, key) {
invariant(key.length === 2, "key must have 2 elements");
var size = extension.length;
var searchValue = "-" + key + "-";
var pos = extension.indexOf(searchValue);
if (pos !== -1) {
var start = pos + 4;
var end = start;
var k = start;
var done = false;
while (!done) {
var e = extension.indexOf("-", k);
var len = void 0;
if (e === -1) {
len = size - k;
} else {
len = e - k;
}
if (len === 2) {
done = true;
} else if (e === -1) {
end = size;
done = true;
} else {
end = e;
k = e + 1;
}
}
return extension.slice(start, end);
}
searchValue = "-" + key;
pos = extension.indexOf(searchValue);
if (pos !== -1 && pos + 3 === size) {
return "";
}
return void 0;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/ResolveLocale.js
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
var matcher = options.localeMatcher;
var r;
if (matcher === "lookup") {
r = LookupMatcher(availableLocales, requestedLocales, getDefaultLocale);
} else {
r = BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale);
}
var foundLocale = r.locale;
var result = {locale: "", dataLocale: foundLocale};
var supportedExtension = "-u";
for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {
var key = relevantExtensionKeys_1[_i];
invariant(foundLocale in localeData, "Missing locale data for " + foundLocale);
var foundLocaleData = localeData[foundLocale];
invariant(typeof foundLocaleData === "object" && foundLocaleData !== null, "locale data " + key + " must be an object");
var keyLocaleData = foundLocaleData[key];
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
var value = keyLocaleData[0];
invariant(typeof value === "string" || value === null, "value must be string or null but got " + typeof value + " in key " + key);
var supportedExtensionAddition = "";
if (r.extension) {
var requestedValue = UnicodeExtensionValue(r.extension, key);
if (requestedValue !== void 0) {
if (requestedValue !== "") {
if (~keyLocaleData.indexOf(requestedValue)) {
value = requestedValue;
supportedExtensionAddition = "-" + key + "-" + value;
}
} else if (~requestedValue.indexOf("true")) {
value = "true";
supportedExtensionAddition = "-" + key;
}
}
}
if (key in options) {
var optionsValue = options[key];
invariant(typeof optionsValue === "string" || typeof optionsValue === "undefined" || optionsValue === null, "optionsValue must be String, Undefined or Null");
if (~keyLocaleData.indexOf(optionsValue)) {
if (optionsValue !== value) {
value = optionsValue;
supportedExtensionAddition = "";
}
}
}
result[key] = value;
supportedExtension += supportedExtensionAddition;
}
if (supportedExtension.length > 2) {
var privateIndex = foundLocale.indexOf("-x-");
if (privateIndex === -1) {
foundLocale = foundLocale + supportedExtension;
} else {
var preExtension = foundLocale.slice(0, privateIndex);
var postExtension = foundLocale.slice(privateIndex, foundLocale.length);
foundLocale = preExtension + supportedExtension + postExtension;
}
foundLocale = Intl.getCanonicalLocales(foundLocale)[0];
}
result.locale = foundLocale;
return result;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/DefaultNumberOption.js
function DefaultNumberOption(val, min, max, fallback) {
if (val !== void 0) {
val = Number(val);
if (isNaN(val) || val < min || val > max) {
throw new RangeError(val + " is outside of range [" + min + ", " + max + "]");
}
return Math.floor(val);
}
return fallback;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/GetNumberOption.js
function GetNumberOption(options, property, minimum, maximum, fallback) {
var val = options[property];
return DefaultNumberOption(val, minimum, maximum, fallback);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
var SANCTIONED_UNITS = [
"angle-degree",
"area-acre",
"area-hectare",
"concentr-percent",
"digital-bit",
"digital-byte",
"digital-gigabit",
"digital-gigabyte",
"digital-kilobit",
"digital-kilobyte",
"digital-megabit",
"digital-megabyte",
"digital-petabyte",
"digital-terabit",
"digital-terabyte",
"duration-day",
"duration-hour",
"duration-millisecond",
"duration-minute",
"duration-month",
"duration-second",
"duration-week",
"duration-year",
"length-centimeter",
"length-foot",
"length-inch",
"length-kilometer",
"length-meter",
"length-mile-scandinavian",
"length-mile",
"length-millimeter",
"length-yard",
"mass-gram",
"mass-kilogram",
"mass-ounce",
"mass-pound",
"mass-stone",
"temperature-celsius",
"temperature-fahrenheit",
"volume-fluid-ounce",
"volume-gallon",
"volume-liter",
"volume-milliliter"
];
function removeUnitNamespace(unit) {
return unit.slice(unit.indexOf("-") + 1);
}
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
function ToRawPrecision(x, minPrecision, maxPrecision) {
var p = maxPrecision;
var m;
var e;
var xFinal;
if (x === 0) {
m = repeat("0", p);
e = 0;
xFinal = 0;
} else {
var xToString = x.toString();
var xToStringExponentIndex = xToString.indexOf("e");
var _a = xToString.split("e"), xToStringMantissa = _a[0], xToStringExponent = _a[1];
var xToStringMantissaWithoutDecimalPoint = xToStringMantissa.replace(".", "");
if (xToStringExponentIndex >= 0 && xToStringMantissaWithoutDecimalPoint.length <= p) {
e = +xToStringExponent;
m = xToStringMantissaWithoutDecimalPoint + repeat("0", p - xToStringMantissaWithoutDecimalPoint.length);
xFinal = x;
} else {
e = getMagnitude(x);
var decimalPlaceOffset = e - p + 1;
var n = Math.round(adjustDecimalPlace(x, decimalPlaceOffset));
if (adjustDecimalPlace(n, p - 1) >= 10) {
e = e + 1;
n = Math.floor(n / 10);
}
m = n.toString();
xFinal = adjustDecimalPlace(n, p - 1 - e);
}
}
var int;
if (e >= p - 1) {
m = m + repeat("0", e - p + 1);
int = e + 1;
} else if (e >= 0) {
m = m.slice(0, e + 1) + "." + m.slice(e + 1);
int = e + 1;
} else {
m = "0." + repeat("0", -e - 1) + m;
int = 1;
}
if (m.indexOf(".") >= 0 && maxPrecision > minPrecision) {
var cut = maxPrecision - minPrecision;
while (cut > 0 && m[m.length - 1] === "0") {
m = m.slice(0, -1);
cut--;
}
if (m[m.length - 1] === ".") {
m = m.slice(0, -1);
}
}
return {formattedString: m, roundedNumber: xFinal, integerDigitsCount: int};
function adjustDecimalPlace(x2, magnitude) {
return magnitude < 0 ? x2 * Math.pow(10, -magnitude) : x2 / Math.pow(10, magnitude);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
function ToRawFixed(x, minFraction, maxFraction) {
var f = maxFraction;
var n = Math.round(x * Math.pow(10, f));
var xFinal = n / Math.pow(10, f);
var m;
if (n < 1e21) {
m = n.toString();
} else {
m = n.toString();
var _a = m.split("e"), mantissa = _a[0], exponent = _a[1];
m = mantissa.replace(".", "");
m = m + repeat("0", Math.max(+exponent - m.length + 1, 0));
}
var int;
if (f !== 0) {
var k = m.length;
if (k <= f) {
var z = repeat("0", f + 1 - k);
m = z + m;
k = f + 1;
}
var a = m.slice(0, k - f);
var b = m.slice(k - f);
m = a + "." + b;
int = a.length;
} else {
int = m.length;
}
var cut = maxFraction - minFraction;
while (cut > 0 && m[m.length - 1] === "0") {
m = m.slice(0, -1);
cut--;
}
if (m[m.length - 1] === ".") {
m = m.slice(0, -1);
}
return {formattedString: m, roundedNumber: xFinal, integerDigitsCount: int};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
function FormatNumericToString(intlObject, x) {
var isNegative = x < 0 || SameValue(x, -0);
if (isNegative) {
x = -x;
}
var result;
var rourndingType = intlObject.roundingType;
switch (rourndingType) {
case "significantDigits":
result = ToRawPrecision(x, intlObject.minimumSignificantDigits, intlObject.maximumSignificantDigits);
break;
case "fractionDigits":
result = ToRawFixed(x, intlObject.minimumFractionDigits, intlObject.maximumFractionDigits);
break;
default:
result = ToRawPrecision(x, 1, 2);
if (result.integerDigitsCount > 1) {
result = ToRawFixed(x, 0, 0);
}
break;
}
x = result.roundedNumber;
var string = result.formattedString;
var int = result.integerDigitsCount;
var minInteger = intlObject.minimumIntegerDigits;
if (int < minInteger) {
var forwardZeros = repeat("0", minInteger - int);
string = forwardZeros + string;
}
if (isNegative) {
x = -x;
}
return {roundedNumber: x, formattedString: string};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/regex.generated.js
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/format_to_parts.js
var CARET_S_UNICODE_REGEX = new RegExp("^" + S_UNICODE_REGEX.source);
var S_DOLLAR_UNICODE_REGEX = new RegExp(S_UNICODE_REGEX.source + "$");
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
var mnfd = opts.minimumFractionDigits;
var mxfd = opts.maximumFractionDigits;
var mnsd = opts.minimumSignificantDigits;
var mxsd = opts.maximumSignificantDigits;
internalSlots.minimumIntegerDigits = mnid;
if (mnsd !== void 0 || mxsd !== void 0) {
internalSlots.roundingType = "significantDigits";
mnsd = DefaultNumberOption(mnsd, 1, 21, 1);
mxsd = DefaultNumberOption(mxsd, mnsd, 21, 21);
internalSlots.minimumSignificantDigits = mnsd;
internalSlots.maximumSignificantDigits = mxsd;
} else if (mnfd !== void 0 || mxfd !== void 0) {
internalSlots.roundingType = "fractionDigits";
mnfd = DefaultNumberOption(mnfd, 0, 20, mnfdDefault);
var mxfdActualDefault = Math.max(mnfd, mxfdDefault);
mxfd = DefaultNumberOption(mxfd, mnfd, 20, mxfdActualDefault);
internalSlots.minimumFractionDigits = mnfd;
internalSlots.maximumFractionDigits = mxfd;
} else if (notation === "compact") {
internalSlots.roundingType = "compactRounding";
} else {
internalSlots.roundingType = "fractionDigits";
internalSlots.minimumFractionDigits = mnfdDefault;
internalSlots.maximumFractionDigits = mxfdDefault;
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/PluralRules/GetOperands.js
function GetOperands(s) {
invariant(typeof s === "string", "GetOperands should have been called with a string");
var n = ToNumber(s);
invariant(isFinite(n), "n should be finite");
var dp = s.indexOf(".");
var iv;
var f;
var v;
var fv = "";
if (dp === -1) {
iv = n;
f = 0;
v = 0;
} else {
iv = s.slice(0, dp);
fv = s.slice(dp, s.length);
f = ToNumber(fv);
v = fv.length;
}
var i = Math.abs(ToNumber(iv));
var w;
var t;
if (f !== 0) {
var ft = fv.replace(/0+$/, "");
w = ft.length;
t = ToNumber(ft);
} else {
w = 0;
t = 0;
}
return {
Number: n,
IntegerDigits: i,
NumberOfFractionDigits: v,
NumberOfFractionDigitsWithoutTrailing: w,
FractionDigits: f,
FractionDigitsWithoutTrailing: t
};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/PluralRules/InitializePluralRules.js
function InitializePluralRules(pl, locales, options, _a) {
var availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale, getInternalSlots2 = _a.getInternalSlots;
var requestedLocales = CanonicalizeLocaleList(locales);
var opt = Object.create(null);
var opts = CoerceOptionsToObject(options);
var internalSlots = getInternalSlots2(pl);
internalSlots.initializedPluralRules = true;
var matcher = GetOption(opts, "localeMatcher", "string", ["best fit", "lookup"], "best fit");
opt.localeMatcher = matcher;
internalSlots.type = GetOption(opts, "type", "string", ["cardinal", "ordinal"], "cardinal");
SetNumberFormatDigitOptions(internalSlots, opts, 0, 3, "standard");
var r = ResolveLocale(availableLocales, requestedLocales, opt, relevantExtensionKeys, localeData, getDefaultLocale);
internalSlots.locale = r.locale;
return pl;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/PluralRules/ResolvePlural.js
function ResolvePlural(pl, n, _a) {
var getInternalSlots2 = _a.getInternalSlots, PluralRuleSelect2 = _a.PluralRuleSelect;
var internalSlots = getInternalSlots2(pl);
invariant(Type(internalSlots) === "Object", "pl has to be an object");
invariant("initializedPluralRules" in internalSlots, "pluralrules must be initialized");
invariant(Type(n) === "Number", "n must be a number");
if (!isFinite(n)) {
return "other";
}
var locale = internalSlots.locale, type = internalSlots.type;
var res = FormatNumericToString(internalSlots, n);
var s = res.formattedString;
var operands = GetOperands(s);
return PluralRuleSelect2(locale, type, n, operands);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/LookupSupportedLocales.js
function LookupSupportedLocales(availableLocales, requestedLocales) {
var subset = [];
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var locale = requestedLocales_1[_i];
var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
var availableLocale = BestAvailableLocale(availableLocales, noExtensionLocale);
if (availableLocale) {
subset.push(availableLocale);
}
}
return subset;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/SupportedLocales.js
function SupportedLocales(availableLocales, requestedLocales, options) {
var matcher = "best fit";
if (options !== void 0) {
options = ToObject(options);
matcher = GetOption(options, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
}
if (matcher === "best fit") {
return LookupSupportedLocales(availableLocales, requestedLocales);
}
return LookupSupportedLocales(availableLocales, requestedLocales);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/data.js
var MissingLocaleDataError = function(_super) {
__extends(MissingLocaleDataError2, _super);
function MissingLocaleDataError2() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.type = "MISSING_LOCALE_DATA";
return _this;
}
return MissingLocaleDataError2;
}(Error);
// bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/get_internal_slots.js
var internalSlotMap = new WeakMap();
function getInternalSlots(x) {
var internalSlots = internalSlotMap.get(x);
if (!internalSlots) {
internalSlots = Object.create(null);
internalSlotMap.set(x, internalSlots);
}
return internalSlots;
}
// bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/index.js
function validateInstance(instance, method) {
if (!(instance instanceof PluralRules)) {
throw new TypeError("Method Intl.PluralRules.prototype." + method + " called on incompatible receiver " + String(instance));
}
}
function PluralRuleSelect(locale, type, _n, _a) {
var IntegerDigits = _a.IntegerDigits, NumberOfFractionDigits = _a.NumberOfFractionDigits, FractionDigits = _a.FractionDigits;
return PluralRules.localeData[locale].fn(NumberOfFractionDigits ? IntegerDigits + "." + FractionDigits : IntegerDigits, type === "ordinal");
}
var PluralRules = function() {
function PluralRules2(locales, options) {
var newTarget = this && this instanceof PluralRules2 ? this.constructor : void 0;
if (!newTarget) {
throw new TypeError("Intl.PluralRules must be called with 'new'");
}
return InitializePluralRules(this, locales, options, {
availableLocales: PluralRules2.availableLocales,
relevantExtensionKeys: PluralRules2.relevantExtensionKeys,
localeData: PluralRules2.localeData,
getDefaultLocale: PluralRules2.getDefaultLocale,
getInternalSlots: getInternalSlots
});
}
PluralRules2.prototype.resolvedOptions = function() {
validateInstance(this, "resolvedOptions");
var opts = Object.create(null);
var internalSlots = getInternalSlots(this);
opts.locale = internalSlots.locale;
opts.type = internalSlots.type;
[
"minimumIntegerDigits",
"minimumFractionDigits",
"maximumFractionDigits",
"minimumSignificantDigits",
"maximumSignificantDigits"
].forEach(function(field) {
var val = internalSlots[field];
if (val !== void 0) {
opts[field] = val;
}
});
opts.pluralCategories = __spreadArray([], PluralRules2.localeData[opts.locale].categories[opts.type]);
return opts;
};
PluralRules2.prototype.select = function(val) {
var pr = this;
validateInstance(pr, "select");
var n = ToNumber(val);
return ResolvePlural(pr, n, {getInternalSlots: getInternalSlots, PluralRuleSelect: PluralRuleSelect});
};
PluralRules2.prototype.toString = function() {
return "[object Intl.PluralRules]";
};
PluralRules2.supportedLocalesOf = function(locales, options) {
return SupportedLocales(PluralRules2.availableLocales, CanonicalizeLocaleList(locales), options);
};
PluralRules2.__addLocaleData = function() {
var data = [];
for (var _i = 0; _i < arguments.length; _i++) {
data[_i] = arguments[_i];
}
for (var _a = 0, data_1 = data; _a < data_1.length; _a++) {
var _b = data_1[_a], d = _b.data, locale = _b.locale;
PluralRules2.localeData[locale] = d;
PluralRules2.availableLocales.add(locale);
if (!PluralRules2.__defaultLocale) {
PluralRules2.__defaultLocale = locale;
}
}
};
PluralRules2.getDefaultLocale = function() {
return PluralRules2.__defaultLocale;
};
PluralRules2.localeData = {};
PluralRules2.availableLocales = new Set();
PluralRules2.__defaultLocale = "";
PluralRules2.relevantExtensionKeys = [];
PluralRules2.polyfilled = true;
return PluralRules2;
}();
try {
if (typeof Symbol !== "undefined") {
Object.defineProperty(PluralRules.prototype, Symbol.toStringTag, {
value: "Intl.PluralRules",
writable: false,
enumerable: false,
configurable: true
});
}
try {
Object.defineProperty(PluralRules, "length", {
value: 0,
writable: false,
enumerable: false,
configurable: true
});
} catch (error) {
}
Object.defineProperty(PluralRules.prototype.constructor, "length", {
value: 0,
writable: false,
enumerable: false,
configurable: true
});
Object.defineProperty(PluralRules.supportedLocalesOf, "length", {
value: 1,
writable: false,
enumerable: false,
configurable: true
});
} catch (ex) {
}
// bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/should-polyfill.js
function shouldPolyfill() {
return typeof Intl === "undefined" || !("PluralRules" in Intl) || new Intl.PluralRules("en", {minimumFractionDigits: 2}).select(1) === "one";
}
// bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/polyfill.js
if (shouldPolyfill()) {
Object.defineProperty(Intl, "PluralRules", {
value: PluralRules,
writable: true,
enumerable: false,
configurable: true
});
}
})();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
}
if (!("Intl"in self&&"NumberFormat"in self.Intl&&function(){try{new Intl.NumberFormat(void 0,{style:"unit",unit:"byte"})}catch(t){return!1}return!0}()
)) {
// Intl.NumberFormat
(function() {
var __defProp = Object.defineProperty;
var __export = function(target, all) {
for (var name in all)
__defProp(target, name, {get: all[name], enumerable: true});
};
// node_modules/tslib/tslib.es6.js
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || {__proto__: []} instanceof Array && function(d2, b2) {
d2.__proto__ = b2;
} || function(d2, b2) {
for (var p in b2)
if (Object.prototype.hasOwnProperty.call(b2, p))
d2[p] = b2[p];
};
return extendStatics(d, b);
};
function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/utils.js
function getMagnitude(x) {
return Math.floor(Math.log(x) * Math.LOG10E);
}
function repeat(s, times) {
if (typeof s.repeat === "function") {
return s.repeat(times);
}
var arr = new Array(times);
for (var i = 0; i < arr.length; i++) {
arr[i] = s;
}
return arr.join("");
}
function defineProperty(target, name, _a) {
var value = _a.value;
Object.defineProperty(target, name, {
configurable: true,
enumerable: false,
writable: true,
value: value
});
}
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
function invariant(condition, message, Err) {
if (Err === void 0) {
Err = Error;
}
if (!condition) {
throw new Err(message);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/types/date-time.js
var RangePatternType;
(function(RangePatternType2) {
RangePatternType2["startRange"] = "startRange";
RangePatternType2["shared"] = "shared";
RangePatternType2["endRange"] = "endRange";
})(RangePatternType || (RangePatternType = {}));
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CanonicalizeLocaleList.js
function CanonicalizeLocaleList(locales) {
return Intl.getCanonicalLocales(locales);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/262.js
function ToString(o) {
if (typeof o === "symbol") {
throw TypeError("Cannot convert a Symbol value to a string");
}
return String(o);
}
function ToNumber(val) {
if (val === void 0) {
return NaN;
}
if (val === null) {
return 0;
}
if (typeof val === "boolean") {
return val ? 1 : 0;
}
if (typeof val === "number") {
return val;
}
if (typeof val === "symbol" || typeof val === "bigint") {
throw new TypeError("Cannot convert symbol/bigint to number");
}
return Number(val);
}
function ToObject(arg) {
if (arg == null) {
throw new TypeError("undefined/null cannot be converted to object");
}
return Object(arg);
}
function SameValue(x, y) {
if (Object.is) {
return Object.is(x, y);
}
if (x === y) {
return x !== 0 || 1 / x === 1 / y;
}
return x !== x && y !== y;
}
function ArrayCreate(len) {
return new Array(len);
}
function HasOwnProperty(o, prop) {
return Object.prototype.hasOwnProperty.call(o, prop);
}
var MINUTES_PER_HOUR = 60;
var SECONDS_PER_MINUTE = 60;
var MS_PER_SECOND = 1e3;
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
function IsCallable(fn) {
return typeof fn === "function";
}
function OrdinaryHasInstance(C, O, internalSlots) {
if (!IsCallable(C)) {
return false;
}
if (internalSlots === null || internalSlots === void 0 ? void 0 : internalSlots.boundTargetFunction) {
var BC = internalSlots === null || internalSlots === void 0 ? void 0 : internalSlots.boundTargetFunction;
return O instanceof BC;
}
if (typeof O !== "object") {
return false;
}
var P = C.prototype;
if (typeof P !== "object") {
throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");
}
return Object.prototype.isPrototypeOf.call(P, O);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CoerceOptionsToObject.js
function CoerceOptionsToObject(options) {
if (typeof options === "undefined") {
return Object.create(null);
}
return ToObject(options);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/GetOption.js
function GetOption(opts, prop, type, values, fallback) {
if (typeof opts !== "object") {
throw new TypeError("Options must be an object");
}
var value = opts[prop];
if (value !== void 0) {
if (type !== "boolean" && type !== "string") {
throw new TypeError("invalid type");
}
if (type === "boolean") {
value = Boolean(value);
}
if (type === "string") {
value = ToString(value);
}
if (values !== void 0 && !values.filter(function(val) {
return val == value;
}).length) {
throw new RangeError(value + " is not within " + values.join(", "));
}
return value;
}
return fallback;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/BestAvailableLocale.js
function BestAvailableLocale(availableLocales, locale) {
var candidate = locale;
while (true) {
if (availableLocales.has(candidate)) {
return candidate;
}
var pos = candidate.lastIndexOf("-");
if (!~pos) {
return void 0;
}
if (pos >= 2 && candidate[pos - 2] === "-") {
pos -= 2;
}
candidate = candidate.slice(0, pos);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/LookupMatcher.js
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
var result = {locale: ""};
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var locale = requestedLocales_1[_i];
var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
var availableLocale = BestAvailableLocale(availableLocales, noExtensionLocale);
if (availableLocale) {
result.locale = availableLocale;
if (locale !== noExtensionLocale) {
result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);
}
return result;
}
}
result.locale = getDefaultLocale();
return result;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/BestFitMatcher.js
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
var minimizedAvailableLocaleMap = {};
var minimizedAvailableLocales = new Set();
availableLocales.forEach(function(locale2) {
var minimizedLocale = new Intl.Locale(locale2).minimize().toString();
minimizedAvailableLocaleMap[minimizedLocale] = locale2;
minimizedAvailableLocales.add(minimizedLocale);
});
var foundLocale;
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var l = requestedLocales_1[_i];
if (foundLocale) {
break;
}
var noExtensionLocale = l.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
if (availableLocales.has(noExtensionLocale)) {
foundLocale = noExtensionLocale;
break;
}
if (minimizedAvailableLocales.has(noExtensionLocale)) {
foundLocale = minimizedAvailableLocaleMap[noExtensionLocale];
break;
}
var locale = new Intl.Locale(noExtensionLocale);
var maximizedRequestedLocale = locale.maximize().toString();
var minimizedRequestedLocale = locale.minimize().toString();
if (minimizedAvailableLocales.has(minimizedRequestedLocale)) {
foundLocale = minimizedAvailableLocaleMap[minimizedRequestedLocale];
break;
}
foundLocale = BestAvailableLocale(minimizedAvailableLocales, maximizedRequestedLocale);
}
return {
locale: foundLocale || getDefaultLocale()
};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/UnicodeExtensionValue.js
function UnicodeExtensionValue(extension, key) {
invariant(key.length === 2, "key must have 2 elements");
var size = extension.length;
var searchValue = "-" + key + "-";
var pos = extension.indexOf(searchValue);
if (pos !== -1) {
var start = pos + 4;
var end = start;
var k = start;
var done = false;
while (!done) {
var e = extension.indexOf("-", k);
var len = void 0;
if (e === -1) {
len = size - k;
} else {
len = e - k;
}
if (len === 2) {
done = true;
} else if (e === -1) {
end = size;
done = true;
} else {
end = e;
k = e + 1;
}
}
return extension.slice(start, end);
}
searchValue = "-" + key;
pos = extension.indexOf(searchValue);
if (pos !== -1 && pos + 3 === size) {
return "";
}
return void 0;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/ResolveLocale.js
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
var matcher = options.localeMatcher;
var r;
if (matcher === "lookup") {
r = LookupMatcher(availableLocales, requestedLocales, getDefaultLocale);
} else {
r = BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale);
}
var foundLocale = r.locale;
var result = {locale: "", dataLocale: foundLocale};
var supportedExtension = "-u";
for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {
var key = relevantExtensionKeys_1[_i];
invariant(foundLocale in localeData, "Missing locale data for " + foundLocale);
var foundLocaleData = localeData[foundLocale];
invariant(typeof foundLocaleData === "object" && foundLocaleData !== null, "locale data " + key + " must be an object");
var keyLocaleData = foundLocaleData[key];
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
var value = keyLocaleData[0];
invariant(typeof value === "string" || value === null, "value must be string or null but got " + typeof value + " in key " + key);
var supportedExtensionAddition = "";
if (r.extension) {
var requestedValue = UnicodeExtensionValue(r.extension, key);
if (requestedValue !== void 0) {
if (requestedValue !== "") {
if (~keyLocaleData.indexOf(requestedValue)) {
value = requestedValue;
supportedExtensionAddition = "-" + key + "-" + value;
}
} else if (~requestedValue.indexOf("true")) {
value = "true";
supportedExtensionAddition = "-" + key;
}
}
}
if (key in options) {
var optionsValue = options[key];
invariant(typeof optionsValue === "string" || typeof optionsValue === "undefined" || optionsValue === null, "optionsValue must be String, Undefined or Null");
if (~keyLocaleData.indexOf(optionsValue)) {
if (optionsValue !== value) {
value = optionsValue;
supportedExtensionAddition = "";
}
}
}
result[key] = value;
supportedExtension += supportedExtensionAddition;
}
if (supportedExtension.length > 2) {
var privateIndex = foundLocale.indexOf("-x-");
if (privateIndex === -1) {
foundLocale = foundLocale + supportedExtension;
} else {
var preExtension = foundLocale.slice(0, privateIndex);
var postExtension = foundLocale.slice(privateIndex, foundLocale.length);
foundLocale = preExtension + supportedExtension + postExtension;
}
foundLocale = Intl.getCanonicalLocales(foundLocale)[0];
}
result.locale = foundLocale;
return result;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/DefaultNumberOption.js
function DefaultNumberOption(val, min, max, fallback) {
if (val !== void 0) {
val = Number(val);
if (isNaN(val) || val < min || val > max) {
throw new RangeError(val + " is outside of range [" + min + ", " + max + "]");
}
return Math.floor(val);
}
return fallback;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/GetNumberOption.js
function GetNumberOption(options, property, minimum, maximum, fallback) {
var val = options[property];
return DefaultNumberOption(val, minimum, maximum, fallback);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsWellFormedCurrencyCode.js
function toUpperCase(str) {
return str.replace(/([a-z])/g, function(_, c) {
return c.toUpperCase();
});
}
var NOT_A_Z_REGEX = /[^A-Z]/;
function IsWellFormedCurrencyCode(currency) {
currency = toUpperCase(currency);
if (currency.length !== 3) {
return false;
}
if (NOT_A_Z_REGEX.test(currency)) {
return false;
}
return true;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
var SANCTIONED_UNITS = [
"angle-degree",
"area-acre",
"area-hectare",
"concentr-percent",
"digital-bit",
"digital-byte",
"digital-gigabit",
"digital-gigabyte",
"digital-kilobit",
"digital-kilobyte",
"digital-megabit",
"digital-megabyte",
"digital-petabyte",
"digital-terabit",
"digital-terabyte",
"duration-day",
"duration-hour",
"duration-millisecond",
"duration-minute",
"duration-month",
"duration-second",
"duration-week",
"duration-year",
"length-centimeter",
"length-foot",
"length-inch",
"length-kilometer",
"length-meter",
"length-mile-scandinavian",
"length-mile",
"length-millimeter",
"length-yard",
"mass-gram",
"mass-kilogram",
"mass-ounce",
"mass-pound",
"mass-stone",
"temperature-celsius",
"temperature-fahrenheit",
"volume-fluid-ounce",
"volume-gallon",
"volume-liter",
"volume-milliliter"
];
function removeUnitNamespace(unit) {
return unit.slice(unit.indexOf("-") + 1);
}
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
function IsSanctionedSimpleUnitIdentifier(unitIdentifier) {
return SIMPLE_UNITS.indexOf(unitIdentifier) > -1;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsWellFormedUnitIdentifier.js
function toLowerCase(str) {
return str.replace(/([A-Z])/g, function(_, c) {
return c.toLowerCase();
});
}
function IsWellFormedUnitIdentifier(unit) {
unit = toLowerCase(unit);
if (IsSanctionedSimpleUnitIdentifier(unit)) {
return true;
}
var units = unit.split("-per-");
if (units.length !== 2) {
return false;
}
var numerator = units[0], denominator = units[1];
if (!IsSanctionedSimpleUnitIdentifier(numerator) || !IsSanctionedSimpleUnitIdentifier(denominator)) {
return false;
}
return true;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ComputeExponentForMagnitude.js
function ComputeExponentForMagnitude(numberFormat, magnitude, _a) {
var getInternalSlots2 = _a.getInternalSlots;
var internalSlots = getInternalSlots2(numberFormat);
var notation = internalSlots.notation, dataLocaleData = internalSlots.dataLocaleData, numberingSystem = internalSlots.numberingSystem;
switch (notation) {
case "standard":
return 0;
case "scientific":
return magnitude;
case "engineering":
return Math.floor(magnitude / 3) * 3;
default: {
var compactDisplay = internalSlots.compactDisplay, style = internalSlots.style, currencyDisplay = internalSlots.currencyDisplay;
var thresholdMap = void 0;
if (style === "currency" && currencyDisplay !== "name") {
var currency = dataLocaleData.numbers.currency[numberingSystem] || dataLocaleData.numbers.currency[dataLocaleData.numbers.nu[0]];
thresholdMap = currency.short;
} else {
var decimal = dataLocaleData.numbers.decimal[numberingSystem] || dataLocaleData.numbers.decimal[dataLocaleData.numbers.nu[0]];
thresholdMap = compactDisplay === "long" ? decimal.long : decimal.short;
}
if (!thresholdMap) {
return 0;
}
var num = String(Math.pow(10, magnitude));
var thresholds = Object.keys(thresholdMap);
if (num < thresholds[0]) {
return 0;
}
if (num > thresholds[thresholds.length - 1]) {
return thresholds[thresholds.length - 1].length - 1;
}
var i = thresholds.indexOf(num);
if (i === -1) {
return 0;
}
var magnitudeKey = thresholds[i];
var compactPattern = thresholdMap[magnitudeKey].other;
if (compactPattern === "0") {
return 0;
}
return magnitudeKey.length - thresholdMap[magnitudeKey].other.match(/0+/)[0].length;
}
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
function ToRawPrecision(x, minPrecision, maxPrecision) {
var p = maxPrecision;
var m;
var e;
var xFinal;
if (x === 0) {
m = repeat("0", p);
e = 0;
xFinal = 0;
} else {
var xToString = x.toString();
var xToStringExponentIndex = xToString.indexOf("e");
var _a = xToString.split("e"), xToStringMantissa = _a[0], xToStringExponent = _a[1];
var xToStringMantissaWithoutDecimalPoint = xToStringMantissa.replace(".", "");
if (xToStringExponentIndex >= 0 && xToStringMantissaWithoutDecimalPoint.length <= p) {
e = +xToStringExponent;
m = xToStringMantissaWithoutDecimalPoint + repeat("0", p - xToStringMantissaWithoutDecimalPoint.length);
xFinal = x;
} else {
e = getMagnitude(x);
var decimalPlaceOffset = e - p + 1;
var n = Math.round(adjustDecimalPlace(x, decimalPlaceOffset));
if (adjustDecimalPlace(n, p - 1) >= 10) {
e = e + 1;
n = Math.floor(n / 10);
}
m = n.toString();
xFinal = adjustDecimalPlace(n, p - 1 - e);
}
}
var int;
if (e >= p - 1) {
m = m + repeat("0", e - p + 1);
int = e + 1;
} else if (e >= 0) {
m = m.slice(0, e + 1) + "." + m.slice(e + 1);
int = e + 1;
} else {
m = "0." + repeat("0", -e - 1) + m;
int = 1;
}
if (m.indexOf(".") >= 0 && maxPrecision > minPrecision) {
var cut = maxPrecision - minPrecision;
while (cut > 0 && m[m.length - 1] === "0") {
m = m.slice(0, -1);
cut--;
}
if (m[m.length - 1] === ".") {
m = m.slice(0, -1);
}
}
return {formattedString: m, roundedNumber: xFinal, integerDigitsCount: int};
function adjustDecimalPlace(x2, magnitude) {
return magnitude < 0 ? x2 * Math.pow(10, -magnitude) : x2 / Math.pow(10, magnitude);
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
function ToRawFixed(x, minFraction, maxFraction) {
var f = maxFraction;
var n = Math.round(x * Math.pow(10, f));
var xFinal = n / Math.pow(10, f);
var m;
if (n < 1e21) {
m = n.toString();
} else {
m = n.toString();
var _a = m.split("e"), mantissa = _a[0], exponent = _a[1];
m = mantissa.replace(".", "");
m = m + repeat("0", Math.max(+exponent - m.length + 1, 0));
}
var int;
if (f !== 0) {
var k = m.length;
if (k <= f) {
var z = repeat("0", f + 1 - k);
m = z + m;
k = f + 1;
}
var a = m.slice(0, k - f);
var b = m.slice(k - f);
m = a + "." + b;
int = a.length;
} else {
int = m.length;
}
var cut = maxFraction - minFraction;
while (cut > 0 && m[m.length - 1] === "0") {
m = m.slice(0, -1);
cut--;
}
if (m[m.length - 1] === ".") {
m = m.slice(0, -1);
}
return {formattedString: m, roundedNumber: xFinal, integerDigitsCount: int};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
function FormatNumericToString(intlObject, x) {
var isNegative = x < 0 || SameValue(x, -0);
if (isNegative) {
x = -x;
}
var result;
var rourndingType = intlObject.roundingType;
switch (rourndingType) {
case "significantDigits":
result = ToRawPrecision(x, intlObject.minimumSignificantDigits, intlObject.maximumSignificantDigits);
break;
case "fractionDigits":
result = ToRawFixed(x, intlObject.minimumFractionDigits, intlObject.maximumFractionDigits);
break;
default:
result = ToRawPrecision(x, 1, 2);
if (result.integerDigitsCount > 1) {
result = ToRawFixed(x, 0, 0);
}
break;
}
x = result.roundedNumber;
var string = result.formattedString;
var int = result.integerDigitsCount;
var minInteger = intlObject.minimumIntegerDigits;
if (int < minInteger) {
var forwardZeros = repeat("0", minInteger - int);
string = forwardZeros + string;
}
if (isNegative) {
x = -x;
}
return {roundedNumber: x, formattedString: string};
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/ComputeExponent.js
function ComputeExponent(numberFormat, x, _a) {
var getInternalSlots2 = _a.getInternalSlots;
if (x === 0) {
return [0, 0];
}
if (x < 0) {
x = -x;
}
var magnitude = getMagnitude(x);
var exponent = ComputeExponentForMagnitude(numberFormat, magnitude, {
getInternalSlots: getInternalSlots2
});
x = exponent < 0 ? x * Math.pow(10, -exponent) : x / Math.pow(10, exponent);
var formatNumberResult = FormatNumericToString(getInternalSlots2(numberFormat), x);
if (formatNumberResult.roundedNumber === 0) {
return [exponent, magnitude];
}
var newMagnitude = getMagnitude(formatNumberResult.roundedNumber);
if (newMagnitude === magnitude - exponent) {
return [exponent, magnitude];
}
return [
ComputeExponentForMagnitude(numberFormat, magnitude + 1, {
getInternalSlots: getInternalSlots2
}),
magnitude + 1
];
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/CurrencyDigits.js
function CurrencyDigits(c, _a) {
var currencyDigitsData = _a.currencyDigitsData;
return HasOwnProperty(currencyDigitsData, c) ? currencyDigitsData[c] : 2;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/digit-mapping.json
var digit_mapping_exports = {};
__export(digit_mapping_exports, {
adlm: function() {
return adlm;
},
ahom: function() {
return ahom;
},
arab: function() {
return arab;
},
arabext: function() {
return arabext;
},
bali: function() {
return bali;
},
beng: function() {
return beng;
},
bhks: function() {
return bhks;
},
brah: function() {
return brah;
},
cakm: function() {
return cakm;
},
cham: function() {
return cham;
},
default: function() {
return digit_mapping_default;
},
deva: function() {
return deva;
},
diak: function() {
return diak;
},
fullwide: function() {
return fullwide;
},
gong: function() {
return gong;
},
gonm: function() {
return gonm;
},
gujr: function() {
return gujr;
},
guru: function() {
return guru;
},
hanidec: function() {
return hanidec;
},
hmng: function() {
return hmng;
},
hmnp: function() {
return hmnp;
},
java: function() {
return java;
},
kali: function() {
return kali;
},
khmr: function() {
return khmr;
},
knda: function() {
return knda;
},
lana: function() {
return lana;
},
lanatham: function() {
return lanatham;
},
laoo: function() {
return laoo;
},
lepc: function() {
return lepc;
},
limb: function() {
return limb;
},
mathbold: function() {
return mathbold;
},
mathdbl: function() {
return mathdbl;
},
mathmono: function() {
return mathmono;
},
mathsanb: function() {
return mathsanb;
},
mathsans: function() {
return mathsans;
},
mlym: function() {
return mlym;
},
modi: function() {
return modi;
},
mong: function() {
return mong;
},
mroo: function() {
return mroo;
},
mtei: function() {
return mtei;
},
mymr: function() {
return mymr;
},
mymrshan: function() {
return mymrshan;
},
mymrtlng: function() {
return mymrtlng;
},
newa: function() {
return newa;
},
nkoo: function() {
return nkoo;
},
olck: function() {
return olck;
},
orya: function() {
return orya;
},
osma: function() {
return osma;
},
rohg: function() {
return rohg;
},
saur: function() {
return saur;
},
segment: function() {
return segment;
},
shrd: function() {
return shrd;
},
sind: function() {
return sind;
},
sinh: function() {
return sinh;
},
sora: function() {
return sora;
},
sund: function() {
return sund;
},
takr: function() {
return takr;
},
talu: function() {
return talu;
},
tamldec: function() {
return tamldec;
},
telu: function() {
return telu;
},
thai: function() {
return thai;
},
tibt: function() {
return tibt;
},
tirh: function() {
return tirh;
},
vaii: function() {
return vaii;
},
wara: function() {
return wara;
},
wcho: function() {
return wcho;
}
});
var adlm = ["\uD83A\uDD50", "\uD83A\uDD51", "\uD83A\uDD52", "\uD83A\uDD53", "\uD83A\uDD54", "\uD83A\uDD55", "\uD83A\uDD56", "\uD83A\uDD57", "\uD83A\uDD58", "\uD83A\uDD59"];
var ahom = ["\uD805\uDF30", "\uD805\uDF31", "\uD805\uDF32", "\uD805\uDF33", "\uD805\uDF34", "\uD805\uDF35", "\uD805\uDF36", "\uD805\uDF37", "\uD805\uDF38", "\uD805\uDF39"];
var arab = ["\u0660", "\u0661", "\u0662", "\u0663", "\u0664", "\u0665", "\u0666", "\u0667", "\u0668", "\u0669"];
var arabext = ["\u06F0", "\u06F1", "\u06F2", "\u06F3", "\u06F4", "\u06F5", "\u06F6", "\u06F7", "\u06F8", "\u06F9"];
var bali = ["\u1B50", "\u1B51", "\u1B52", "\u1B53", "\u1B54", "\u1B55", "\u1B56", "\u1B57", "\u1B58", "\u1B59"];
var beng = ["\u09E6", "\u09E7", "\u09E8", "\u09E9", "\u09EA", "\u09EB", "\u09EC", "\u09ED", "\u09EE", "\u09EF"];
var bhks = ["\uD807\uDC50", "\uD807\uDC51", "\uD807\uDC52", "\uD807\uDC53", "\uD807\uDC54", "\uD807\uDC55", "\uD807\uDC56", "\uD807\uDC57", "\uD807\uDC58", "\uD807\uDC59"];
var brah = ["\uD804\uDC66", "\uD804\uDC67", "\uD804\uDC68", "\uD804\uDC69", "\uD804\uDC6A", "\uD804\uDC6B", "\uD804\uDC6C", "\uD804\uDC6D", "\uD804\uDC6E", "\uD804\uDC6F"];
var cakm = ["\uD804\uDD36", "\uD804\uDD37", "\uD804\uDD38", "\uD804\uDD39", "\uD804\uDD3A", "\uD804\uDD3B", "\uD804\uDD3C", "\uD804\uDD3D", "\uD804\uDD3E", "\uD804\uDD3F"];
var cham = ["\uAA50", "\uAA51", "\uAA52", "\uAA53", "\uAA54", "\uAA55", "\uAA56", "\uAA57", "\uAA58", "\uAA59"];
var deva = ["\u0966", "\u0967", "\u0968", "\u0969", "\u096A", "\u096B", "\u096C", "\u096D", "\u096E", "\u096F"];
var diak = ["\uD806\uDD50", "\uD806\uDD51", "\uD806\uDD52", "\uD806\uDD53", "\uD806\uDD54", "\uD806\uDD55", "\uD806\uDD56", "\uD806\uDD57", "\uD806\uDD58", "\uD806\uDD59"];
var fullwide = ["\uFF10", "\uFF11", "\uFF12", "\uFF13", "\uFF14", "\uFF15", "\uFF16", "\uFF17", "\uFF18", "\uFF19"];
var gong = ["\uD807\uDDA0", "\uD807\uDDA1", "\uD807\uDDA2", "\uD807\uDDA3", "\uD807\uDDA4", "\uD807\uDDA5", "\uD807\uDDA6", "\uD807\uDDA7", "\uD807\uDDA8", "\uD807\uDDA9"];
var gonm = ["\uD807\uDD50", "\uD807\uDD51", "\uD807\uDD52", "\uD807\uDD53", "\uD807\uDD54", "\uD807\uDD55", "\uD807\uDD56", "\uD807\uDD57", "\uD807\uDD58", "\uD807\uDD59"];
var gujr = ["\u0AE6", "\u0AE7", "\u0AE8", "\u0AE9", "\u0AEA", "\u0AEB", "\u0AEC", "\u0AED", "\u0AEE", "\u0AEF"];
var guru = ["\u0A66", "\u0A67", "\u0A68", "\u0A69", "\u0A6A", "\u0A6B", "\u0A6C", "\u0A6D", "\u0A6E", "\u0A6F"];
var hanidec = ["\u3007", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D"];
var hmng = ["\uD81A\uDF50", "\uD81A\uDF51", "\uD81A\uDF52", "\uD81A\uDF53", "\uD81A\uDF54", "\uD81A\uDF55", "\uD81A\uDF56", "\uD81A\uDF57", "\uD81A\uDF58", "\uD81A\uDF59"];
var hmnp = ["\uD838\uDD40", "\uD838\uDD41", "\uD838\uDD42", "\uD838\uDD43", "\uD838\uDD44", "\uD838\uDD45", "\uD838\uDD46", "\uD838\uDD47", "\uD838\uDD48", "\uD838\uDD49"];
var java = ["\uA9D0", "\uA9D1", "\uA9D2", "\uA9D3", "\uA9D4", "\uA9D5", "\uA9D6", "\uA9D7", "\uA9D8", "\uA9D9"];
var kali = ["\uA900", "\uA901", "\uA902", "\uA903", "\uA904", "\uA905", "\uA906", "\uA907", "\uA908", "\uA909"];
var khmr = ["\u17E0", "\u17E1", "\u17E2", "\u17E3", "\u17E4", "\u17E5", "\u17E6", "\u17E7", "\u17E8", "\u17E9"];
var knda = ["\u0CE6", "\u0CE7", "\u0CE8", "\u0CE9", "\u0CEA", "\u0CEB", "\u0CEC", "\u0CED", "\u0CEE", "\u0CEF"];
var lana = ["\u1A80", "\u1A81", "\u1A82", "\u1A83", "\u1A84", "\u1A85", "\u1A86", "\u1A87", "\u1A88", "\u1A89"];
var lanatham = ["\u1A90", "\u1A91", "\u1A92", "\u1A93", "\u1A94", "\u1A95", "\u1A96", "\u1A97", "\u1A98", "\u1A99"];
var laoo = ["\u0ED0", "\u0ED1", "\u0ED2", "\u0ED3", "\u0ED4", "\u0ED5", "\u0ED6", "\u0ED7", "\u0ED8", "\u0ED9"];
var lepc = ["\u1A90", "\u1A91", "\u1A92", "\u1A93", "\u1A94", "\u1A95", "\u1A96", "\u1A97", "\u1A98", "\u1A99"];
var limb = ["\u1946", "\u1947", "\u1948", "\u1949", "\u194A", "\u194B", "\u194C", "\u194D", "\u194E", "\u194F"];
var mathbold = ["\uD835\uDFCE", "\uD835\uDFCF", "\uD835\uDFD0", "\uD835\uDFD1", "\uD835\uDFD2", "\uD835\uDFD3", "\uD835\uDFD4", "\uD835\uDFD5", "\uD835\uDFD6", "\uD835\uDFD7"];
var mathdbl = ["\uD835\uDFD8", "\uD835\uDFD9", "\uD835\uDFDA", "\uD835\uDFDB", "\uD835\uDFDC", "\uD835\uDFDD", "\uD835\uDFDE", "\uD835\uDFDF", "\uD835\uDFE0", "\uD835\uDFE1"];
var mathmono = ["\uD835\uDFF6", "\uD835\uDFF7", "\uD835\uDFF8", "\uD835\uDFF9", "\uD835\uDFFA", "\uD835\uDFFB", "\uD835\uDFFC", "\uD835\uDFFD", "\uD835\uDFFE", "\uD835\uDFFF"];
var mathsanb = ["\uD835\uDFEC", "\uD835\uDFED", "\uD835\uDFEE", "\uD835\uDFEF", "\uD835\uDFF0", "\uD835\uDFF1", "\uD835\uDFF2", "\uD835\uDFF3", "\uD835\uDFF4", "\uD835\uDFF5"];
var mathsans = ["\uD835\uDFE2", "\uD835\uDFE3", "\uD835\uDFE4", "\uD835\uDFE5", "\uD835\uDFE6", "\uD835\uDFE7", "\uD835\uDFE8", "\uD835\uDFE9", "\uD835\uDFEA", "\uD835\uDFEB"];
var mlym = ["\u0D66", "\u0D67", "\u0D68", "\u0D69", "\u0D6A", "\u0D6B", "\u0D6C", "\u0D6D", "\u0D6E", "\u0D6F"];
var modi = ["\uD805\uDE50", "\uD805\uDE51", "\uD805\uDE52", "\uD805\uDE53", "\uD805\uDE54", "\uD805\uDE55", "\uD805\uDE56", "\uD805\uDE57", "\uD805\uDE58", "\uD805\uDE59"];
var mong = ["\u1810", "\u1811", "\u1812", "\u1813", "\u1814", "\u1815", "\u1816", "\u1817", "\u1818", "\u1819"];
var mroo = ["\uD81A\uDE60", "\uD81A\uDE61", "\uD81A\uDE62", "\uD81A\uDE63", "\uD81A\uDE64", "\uD81A\uDE65", "\uD81A\uDE66", "\uD81A\uDE67", "\uD81A\uDE68", "\uD81A\uDE69"];
var mtei = ["\uABF0", "\uABF1", "\uABF2", "\uABF3", "\uABF4", "\uABF5", "\uABF6", "\uABF7", "\uABF8", "\uABF9"];
var mymr = ["\u1040", "\u1041", "\u1042", "\u1043", "\u1044", "\u1045", "\u1046", "\u1047", "\u1048", "\u1049"];
var mymrshan = ["\u1090", "\u1091", "\u1092", "\u1093", "\u1094", "\u1095", "\u1096", "\u1097", "\u1098", "\u1099"];
var mymrtlng = ["\uA9F0", "\uA9F1", "\uA9F2", "\uA9F3", "\uA9F4", "\uA9F5", "\uA9F6", "\uA9F7", "\uA9F8", "\uA9F9"];
var newa = ["\uD805\uDC50", "\uD805\uDC51", "\uD805\uDC52", "\uD805\uDC53", "\uD805\uDC54", "\uD805\uDC55", "\uD805\uDC56", "\uD805\uDC57", "\uD805\uDC58", "\uD805\uDC59"];
var nkoo = ["\u07C0", "\u07C1", "\u07C2", "\u07C3", "\u07C4", "\u07C5", "\u07C6", "\u07C7", "\u07C8", "\u07C9"];
var olck = ["\u1C50", "\u1C51", "\u1C52", "\u1C53", "\u1C54", "\u1C55", "\u1C56", "\u1C57", "\u1C58", "\u1C59"];
var orya = ["\u0B66", "\u0B67", "\u0B68", "\u0B69", "\u0B6A", "\u0B6B", "\u0B6C", "\u0B6D", "\u0B6E", "\u0B6F"];
var osma = ["\uD801\uDCA0", "\uD801\uDCA1", "\uD801\uDCA2", "\uD801\uDCA3", "\uD801\uDCA4", "\uD801\uDCA5", "\uD801\uDCA6", "\uD801\uDCA7", "\uD801\uDCA8", "\uD801\uDCA9"];
var rohg = ["\uD803\uDD30", "\uD803\uDD31", "\uD803\uDD32", "\uD803\uDD33", "\uD803\uDD34", "\uD803\uDD35", "\uD803\uDD36", "\uD803\uDD37", "\uD803\uDD38", "\uD803\uDD39"];
var saur = ["\uA8D0", "\uA8D1", "\uA8D2", "\uA8D3", "\uA8D4", "\uA8D5", "\uA8D6", "\uA8D7", "\uA8D8", "\uA8D9"];
var segment = ["\uD83E\uDFF0", "\uD83E\uDFF1", "\uD83E\uDFF2", "\uD83E\uDFF3", "\uD83E\uDFF4", "\uD83E\uDFF5", "\uD83E\uDFF6", "\uD83E\uDFF7", "\uD83E\uDFF8", "\uD83E\uDFF9"];
var shrd = ["\uD804\uDDD0", "\uD804\uDDD1", "\uD804\uDDD2", "\uD804\uDDD3", "\uD804\uDDD4", "\uD804\uDDD5", "\uD804\uDDD6", "\uD804\uDDD7", "\uD804\uDDD8", "\uD804\uDDD9"];
var sind = ["\uD804\uDEF0", "\uD804\uDEF1", "\uD804\uDEF2", "\uD804\uDEF3", "\uD804\uDEF4", "\uD804\uDEF5", "\uD804\uDEF6", "\uD804\uDEF7", "\uD804\uDEF8", "\uD804\uDEF9"];
var sinh = ["\u0DE6", "\u0DE7", "\u0DE8", "\u0DE9", "\u0DEA", "\u0DEB", "\u0DEC", "\u0DED", "\u0DEE", "\u0DEF"];
var sora = ["\uD804\uDCF0", "\uD804\uDCF1", "\uD804\uDCF2", "\uD804\uDCF3", "\uD804\uDCF4", "\uD804\uDCF5", "\uD804\uDCF6", "\uD804\uDCF7", "\uD804\uDCF8", "\uD804\uDCF9"];
var sund = ["\u1BB0", "\u1BB1", "\u1BB2", "\u1BB3", "\u1BB4", "\u1BB5", "\u1BB6", "\u1BB7", "\u1BB8", "\u1BB9"];
var takr = ["\uD805\uDEC0", "\uD805\uDEC1", "\uD805\uDEC2", "\uD805\uDEC3", "\uD805\uDEC4", "\uD805\uDEC5", "\uD805\uDEC6", "\uD805\uDEC7", "\uD805\uDEC8", "\uD805\uDEC9"];
var talu = ["\u19D0", "\u19D1", "\u19D2", "\u19D3", "\u19D4", "\u19D5", "\u19D6", "\u19D7", "\u19D8", "\u19D9"];
var tamldec = ["\u0BE6", "\u0BE7", "\u0BE8", "\u0BE9", "\u0BEA", "\u0BEB", "\u0BEC", "\u0BED", "\u0BEE", "\u0BEF"];
var telu = ["\u0C66", "\u0C67", "\u0C68", "\u0C69", "\u0C6A", "\u0C6B", "\u0C6C", "\u0C6D", "\u0C6E", "\u0C6F"];
var thai = ["\u0E50", "\u0E51", "\u0E52", "\u0E53", "\u0E54", "\u0E55", "\u0E56", "\u0E57", "\u0E58", "\u0E59"];
var tibt = ["\u0F20", "\u0F21", "\u0F22", "\u0F23", "\u0F24", "\u0F25", "\u0F26", "\u0F27", "\u0F28", "\u0F29"];
var tirh = ["\uD805\uDCD0", "\uD805\uDCD1", "\uD805\uDCD2", "\uD805\uDCD3", "\uD805\uDCD4", "\uD805\uDCD5", "\uD805\uDCD6", "\uD805\uDCD7", "\uD805\uDCD8", "\uD805\uDCD9"];
var vaii = ["\u1620", "\u1621", "\u1622", "\u1623", "\u1624", "\u1625", "\u1626", "\u1627", "\u1628", "\u1629"];
var wara = ["\uD806\uDCE0", "\uD806\uDCE1", "\uD806\uDCE2", "\uD806\uDCE3", "\uD806\uDCE4", "\uD806\uDCE5", "\uD806\uDCE6", "\uD806\uDCE7", "\uD806\uDCE8", "\uD806\uDCE9"];
var wcho = ["\uD838\uDEF0", "\uD838\uDEF1", "\uD838\uDEF2", "\uD838\uDEF3", "\uD838\uDEF4", "\uD838\uDEF5", "\uD838\uDEF6", "\uD838\uDEF7", "\uD838\uDEF8", "\uD838\uDEF9"];
var digit_mapping_default = {adlm: adlm, ahom: ahom, arab: arab, arabext: arabext, bali: bali, beng: beng, bhks: bhks, brah: brah, cakm: cakm, cham: cham, deva: deva, diak: diak, fullwide: fullwide, gong: gong, gonm: gonm, gujr: gujr, guru: guru, hanidec: hanidec, hmng: hmng, hmnp: hmnp, java: java, kali: kali, khmr: khmr, knda: knda, lana: lana, lanatham: lanatham, laoo: laoo, lepc: lepc, limb: limb, mathbold: mathbold, mathdbl: mathdbl, mathmono: mathmono, mathsanb: mathsanb, mathsans: mathsans, mlym: mlym, modi: modi, mong: mong, mroo: mroo, mtei: mtei, mymr: mymr, mymrshan: mymrshan, mymrtlng: mymrtlng, newa: newa, nkoo: nkoo, olck: olck, orya: orya, osma: osma, rohg: rohg, saur: saur, segment: segment, shrd: shrd, sind: sind, sinh: sinh, sora: sora, sund: sund, takr: takr, talu: talu, tamldec: tamldec, telu: telu, thai: thai, tibt: tibt, tirh: tirh, vaii: vaii, wara: wara, wcho: wcho};
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/regex.generated.js
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/format_to_parts.js
var CARET_S_UNICODE_REGEX = new RegExp("^" + S_UNICODE_REGEX.source);
var S_DOLLAR_UNICODE_REGEX = new RegExp(S_UNICODE_REGEX.source + "$");
var CLDR_NUMBER_PATTERN = /[#0](?:[\.,][#0]+)*/g;
function formatToParts(numberResult, data, pl, options) {
var sign = numberResult.sign, exponent = numberResult.exponent, magnitude = numberResult.magnitude;
var notation = options.notation, style = options.style, numberingSystem = options.numberingSystem;
var defaultNumberingSystem = data.numbers.nu[0];
var compactNumberPattern = null;
if (notation === "compact" && magnitude) {
compactNumberPattern = getCompactDisplayPattern(numberResult, pl, data, style, options.compactDisplay, options.currencyDisplay, numberingSystem);
}
var nonNameCurrencyPart;
if (style === "currency" && options.currencyDisplay !== "name") {
var byCurrencyDisplay = data.currencies[options.currency];
if (byCurrencyDisplay) {
switch (options.currencyDisplay) {
case "code":
nonNameCurrencyPart = options.currency;
break;
case "symbol":
nonNameCurrencyPart = byCurrencyDisplay.symbol;
break;
default:
nonNameCurrencyPart = byCurrencyDisplay.narrow;
break;
}
} else {
nonNameCurrencyPart = options.currency;
}
}
var numberPattern;
if (!compactNumberPattern) {
if (style === "decimal" || style === "unit" || style === "currency" && options.currencyDisplay === "name") {
var decimalData = data.numbers.decimal[numberingSystem] || data.numbers.decimal[defaultNumberingSystem];
numberPattern = getPatternForSign(decimalData.standard, sign);
} else if (style === "currency") {
var currencyData = data.numbers.currency[numberingSystem] || data.numbers.currency[defaultNumberingSystem];
numberPattern = getPatternForSign(currencyData[options.currencySign], sign);
} else {
var percentPattern = data.numbers.percent[numberingSystem] || data.numbers.percent[defaultNumberingSystem];
numberPattern = getPatternForSign(percentPattern, sign);
}
} else {
numberPattern = compactNumberPattern;
}
var decimalNumberPattern = CLDR_NUMBER_PATTERN.exec(numberPattern)[0];
numberPattern = numberPattern.replace(CLDR_NUMBER_PATTERN, "{0}").replace(/'(.)'/g, "$1");
if (style === "currency" && options.currencyDisplay !== "name") {
var currencyData = data.numbers.currency[numberingSystem] || data.numbers.currency[defaultNumberingSystem];
var afterCurrency = currencyData.currencySpacing.afterInsertBetween;
if (afterCurrency && !S_DOLLAR_UNICODE_REGEX.test(nonNameCurrencyPart)) {
numberPattern = numberPattern.replace("\xA4{0}", "\xA4" + afterCurrency + "{0}");
}
var beforeCurrency = currencyData.currencySpacing.beforeInsertBetween;
if (beforeCurrency && !CARET_S_UNICODE_REGEX.test(nonNameCurrencyPart)) {
numberPattern = numberPattern.replace("{0}\xA4", "{0}" + beforeCurrency + "\xA4");
}
}
var numberPatternParts = numberPattern.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g);
var numberParts = [];
var symbols = data.numbers.symbols[numberingSystem] || data.numbers.symbols[defaultNumberingSystem];
for (var _i = 0, numberPatternParts_1 = numberPatternParts; _i < numberPatternParts_1.length; _i++) {
var part = numberPatternParts_1[_i];
if (!part) {
continue;
}
switch (part) {
case "{0}": {
numberParts.push.apply(numberParts, paritionNumberIntoParts(symbols, numberResult, notation, exponent, numberingSystem, !compactNumberPattern && options.useGrouping, decimalNumberPattern));
break;
}
case "-":
numberParts.push({type: "minusSign", value: symbols.minusSign});
break;
case "+":
numberParts.push({type: "plusSign", value: symbols.plusSign});
break;
case "%":
numberParts.push({type: "percentSign", value: symbols.percentSign});
break;
case "\xA4":
numberParts.push({type: "currency", value: nonNameCurrencyPart});
break;
default:
if (/^\{c:/.test(part)) {
numberParts.push({
type: "compact",
value: part.substring(3, part.length - 1)
});
} else {
numberParts.push({type: "literal", value: part});
}
break;
}
}
switch (style) {
case "currency": {
if (options.currencyDisplay === "name") {
var unitPattern = (data.numbers.currency[numberingSystem] || data.numbers.currency[defaultNumberingSystem]).unitPattern;
var unitName = void 0;
var currencyNameData = data.currencies[options.currency];
if (currencyNameData) {
unitName = selectPlural(pl, numberResult.roundedNumber * Math.pow(10, exponent), currencyNameData.displayName);
} else {
unitName = options.currency;
}
var unitPatternParts = unitPattern.split(/(\{[01]\})/g);
var result = [];
for (var _a = 0, unitPatternParts_1 = unitPatternParts; _a < unitPatternParts_1.length; _a++) {
var part = unitPatternParts_1[_a];
switch (part) {
case "{0}":
result.push.apply(result, numberParts);
break;
case "{1}":
result.push({type: "currency", value: unitName});
break;
default:
if (part) {
result.push({type: "literal", value: part});
}
break;
}
}
return result;
} else {
return numberParts;
}
}
case "unit": {
var unit = options.unit, unitDisplay = options.unitDisplay;
var unitData = data.units.simple[unit];
var unitPattern = void 0;
if (unitData) {
unitPattern = selectPlural(pl, numberResult.roundedNumber * Math.pow(10, exponent), data.units.simple[unit][unitDisplay]);
} else {
var _b = unit.split("-per-"), numeratorUnit = _b[0], denominatorUnit = _b[1];
unitData = data.units.simple[numeratorUnit];
var numeratorUnitPattern = selectPlural(pl, numberResult.roundedNumber * Math.pow(10, exponent), data.units.simple[numeratorUnit][unitDisplay]);
var perUnitPattern = data.units.simple[denominatorUnit].perUnit[unitDisplay];
if (perUnitPattern) {
unitPattern = perUnitPattern.replace("{0}", numeratorUnitPattern);
} else {
var perPattern = data.units.compound.per[unitDisplay];
var denominatorPattern = selectPlural(pl, 1, data.units.simple[denominatorUnit][unitDisplay]);
unitPattern = unitPattern = perPattern.replace("{0}", numeratorUnitPattern).replace("{1}", denominatorPattern.replace("{0}", ""));
}
}
var result = [];
for (var _c = 0, _d = unitPattern.split(/(\s*\{0\}\s*)/); _c < _d.length; _c++) {
var part = _d[_c];
var interpolateMatch = /^(\s*)\{0\}(\s*)$/.exec(part);
if (interpolateMatch) {
if (interpolateMatch[1]) {
result.push({type: "literal", value: interpolateMatch[1]});
}
result.push.apply(result, numberParts);
if (interpolateMatch[2]) {
result.push({type: "literal", value: interpolateMatch[2]});
}
} else if (part) {
result.push({type: "unit", value: part});
}
}
return result;
}
default:
return numberParts;
}
}
function paritionNumberIntoParts(symbols, numberResult, notation, exponent, numberingSystem, useGrouping, decimalNumberPattern) {
var result = [];
var n = numberResult.formattedString, x = numberResult.roundedNumber;
if (isNaN(x)) {
return [{type: "nan", value: n}];
} else if (!isFinite(x)) {
return [{type: "infinity", value: n}];
}
var digitReplacementTable = digit_mapping_exports[numberingSystem];
if (digitReplacementTable) {
n = n.replace(/\d/g, function(digit) {
return digitReplacementTable[+digit] || digit;
});
}
var decimalSepIndex = n.indexOf(".");
var integer;
var fraction;
if (decimalSepIndex > 0) {
integer = n.slice(0, decimalSepIndex);
fraction = n.slice(decimalSepIndex + 1);
} else {
integer = n;
}
if (useGrouping && (notation !== "compact" || x >= 1e4)) {
var groupSepSymbol = symbols.group;
var groups = [];
var integerNumberPattern = decimalNumberPattern.split(".")[0];
var patternGroups = integerNumberPattern.split(",");
var primaryGroupingSize = 3;
var secondaryGroupingSize = 3;
if (patternGroups.length > 1) {
primaryGroupingSize = patternGroups[patternGroups.length - 1].length;
}
if (patternGroups.length > 2) {
secondaryGroupingSize = patternGroups[patternGroups.length - 2].length;
}
var i = integer.length - primaryGroupingSize;
if (i > 0) {
groups.push(integer.slice(i, i + primaryGroupingSize));
for (i -= secondaryGroupingSize; i > 0; i -= secondaryGroupingSize) {
groups.push(integer.slice(i, i + secondaryGroupingSize));
}
groups.push(integer.slice(0, i + secondaryGroupingSize));
} else {
groups.push(integer);
}
while (groups.length > 0) {
var integerGroup = groups.pop();
result.push({type: "integer", value: integerGroup});
if (groups.length > 0) {
result.push({type: "group", value: groupSepSymbol});
}
}
} else {
result.push({type: "integer", value: integer});
}
if (fraction !== void 0) {
result.push({type: "decimal", value: symbols.decimal}, {type: "fraction", value: fraction});
}
if ((notation === "scientific" || notation === "engineering") && isFinite(x)) {
result.push({type: "exponentSeparator", value: symbols.exponential});
if (exponent < 0) {
result.push({type: "exponentMinusSign", value: symbols.minusSign});
exponent = -exponent;
}
var exponentResult = ToRawFixed(exponent, 0, 0);
result.push({
type: "exponentInteger",
value: exponentResult.formattedString
});
}
return result;
}
function getPatternForSign(pattern, sign) {
if (pattern.indexOf(";") < 0) {
pattern = pattern + ";-" + pattern;
}
var _a = pattern.split(";"), zeroPattern = _a[0], negativePattern = _a[1];
switch (sign) {
case 0:
return zeroPattern;
case -1:
return negativePattern;
default:
return negativePattern.indexOf("-") >= 0 ? negativePattern.replace(/-/g, "+") : "+" + zeroPattern;
}
}
function getCompactDisplayPattern(numberResult, pl, data, style, compactDisplay, currencyDisplay, numberingSystem) {
var _a;
var roundedNumber = numberResult.roundedNumber, sign = numberResult.sign, magnitude = numberResult.magnitude;
var magnitudeKey = String(Math.pow(10, magnitude));
var defaultNumberingSystem = data.numbers.nu[0];
var pattern;
if (style === "currency" && currencyDisplay !== "name") {
var byNumberingSystem = data.numbers.currency;
var currencyData = byNumberingSystem[numberingSystem] || byNumberingSystem[defaultNumberingSystem];
var compactPluralRules = (_a = currencyData.short) === null || _a === void 0 ? void 0 : _a[magnitudeKey];
if (!compactPluralRules) {
return null;
}
pattern = selectPlural(pl, roundedNumber, compactPluralRules);
} else {
var byNumberingSystem = data.numbers.decimal;
var byCompactDisplay = byNumberingSystem[numberingSystem] || byNumberingSystem[defaultNumberingSystem];
var compactPlaralRule = byCompactDisplay[compactDisplay][magnitudeKey];
if (!compactPlaralRule) {
return null;
}
pattern = selectPlural(pl, roundedNumber, compactPlaralRule);
}
if (pattern === "0") {
return null;
}
pattern = getPatternForSign(pattern, sign).replace(/([^\s;\-\+\d¤]+)/g, "{c:$1}").replace(/0+/, "0");
return pattern;
}
function selectPlural(pl, x, rules) {
return rules[pl.select(x)] || rules.other;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/PartitionNumberPattern.js
function PartitionNumberPattern(numberFormat, x, _a) {
var _b;
var getInternalSlots2 = _a.getInternalSlots;
var internalSlots = getInternalSlots2(numberFormat);
var pl = internalSlots.pl, dataLocaleData = internalSlots.dataLocaleData, numberingSystem = internalSlots.numberingSystem;
var symbols = dataLocaleData.numbers.symbols[numberingSystem] || dataLocaleData.numbers.symbols[dataLocaleData.numbers.nu[0]];
var magnitude = 0;
var exponent = 0;
var n;
if (isNaN(x)) {
n = symbols.nan;
} else if (!isFinite(x)) {
n = symbols.infinity;
} else {
if (internalSlots.style === "percent") {
x *= 100;
}
;
_b = ComputeExponent(numberFormat, x, {
getInternalSlots: getInternalSlots2
}), exponent = _b[0], magnitude = _b[1];
x = exponent < 0 ? x * Math.pow(10, -exponent) : x / Math.pow(10, exponent);
var formatNumberResult = FormatNumericToString(internalSlots, x);
n = formatNumberResult.formattedString;
x = formatNumberResult.roundedNumber;
}
var sign;
var signDisplay = internalSlots.signDisplay;
switch (signDisplay) {
case "never":
sign = 0;
break;
case "auto":
if (SameValue(x, 0) || x > 0 || isNaN(x)) {
sign = 0;
} else {
sign = -1;
}
break;
case "always":
if (SameValue(x, 0) || x > 0 || isNaN(x)) {
sign = 1;
} else {
sign = -1;
}
break;
default:
if (x === 0 || isNaN(x)) {
sign = 0;
} else if (x > 0) {
sign = 1;
} else {
sign = -1;
}
}
return formatToParts({roundedNumber: x, formattedString: n, exponent: exponent, magnitude: magnitude, sign: sign}, internalSlots.dataLocaleData, pl, internalSlots);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/FormatNumericToParts.js
function FormatNumericToParts(nf, x, implDetails) {
var parts = PartitionNumberPattern(nf, x, implDetails);
var result = ArrayCreate(0);
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
var part = parts_1[_i];
result.push({
type: part.type,
value: part.value
});
}
return result;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/SetNumberFormatUnitOptions.js
function SetNumberFormatUnitOptions(nf, options, _a) {
if (options === void 0) {
options = Object.create(null);
}
var getInternalSlots2 = _a.getInternalSlots;
var internalSlots = getInternalSlots2(nf);
var style = GetOption(options, "style", "string", ["decimal", "percent", "currency", "unit"], "decimal");
internalSlots.style = style;
var currency = GetOption(options, "currency", "string", void 0, void 0);
if (currency !== void 0 && !IsWellFormedCurrencyCode(currency)) {
throw RangeError("Malformed currency code");
}
if (style === "currency" && currency === void 0) {
throw TypeError("currency cannot be undefined");
}
var currencyDisplay = GetOption(options, "currencyDisplay", "string", ["code", "symbol", "narrowSymbol", "name"], "symbol");
var currencySign = GetOption(options, "currencySign", "string", ["standard", "accounting"], "standard");
var unit = GetOption(options, "unit", "string", void 0, void 0);
if (unit !== void 0 && !IsWellFormedUnitIdentifier(unit)) {
throw RangeError("Invalid unit argument for Intl.NumberFormat()");
}
if (style === "unit" && unit === void 0) {
throw TypeError("unit cannot be undefined");
}
var unitDisplay = GetOption(options, "unitDisplay", "string", ["short", "narrow", "long"], "short");
if (style === "currency") {
internalSlots.currency = currency.toUpperCase();
internalSlots.currencyDisplay = currencyDisplay;
internalSlots.currencySign = currencySign;
}
if (style === "unit") {
internalSlots.unit = unit;
internalSlots.unitDisplay = unitDisplay;
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
var mnfd = opts.minimumFractionDigits;
var mxfd = opts.maximumFractionDigits;
var mnsd = opts.minimumSignificantDigits;
var mxsd = opts.maximumSignificantDigits;
internalSlots.minimumIntegerDigits = mnid;
if (mnsd !== void 0 || mxsd !== void 0) {
internalSlots.roundingType = "significantDigits";
mnsd = DefaultNumberOption(mnsd, 1, 21, 1);
mxsd = DefaultNumberOption(mxsd, mnsd, 21, 21);
internalSlots.minimumSignificantDigits = mnsd;
internalSlots.maximumSignificantDigits = mxsd;
} else if (mnfd !== void 0 || mxfd !== void 0) {
internalSlots.roundingType = "fractionDigits";
mnfd = DefaultNumberOption(mnfd, 0, 20, mnfdDefault);
var mxfdActualDefault = Math.max(mnfd, mxfdDefault);
mxfd = DefaultNumberOption(mxfd, mnfd, 20, mxfdActualDefault);
internalSlots.minimumFractionDigits = mnfd;
internalSlots.maximumFractionDigits = mxfd;
} else if (notation === "compact") {
internalSlots.roundingType = "compactRounding";
} else {
internalSlots.roundingType = "fractionDigits";
internalSlots.minimumFractionDigits = mnfdDefault;
internalSlots.maximumFractionDigits = mxfdDefault;
}
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
function InitializeNumberFormat(nf, locales, opts, _a) {
var getInternalSlots2 = _a.getInternalSlots, localeData = _a.localeData, availableLocales = _a.availableLocales, numberingSystemNames2 = _a.numberingSystemNames, getDefaultLocale = _a.getDefaultLocale, currencyDigitsData = _a.currencyDigitsData;
var requestedLocales = CanonicalizeLocaleList(locales);
var options = CoerceOptionsToObject(opts);
var opt = Object.create(null);
var matcher = GetOption(options, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
opt.localeMatcher = matcher;
var numberingSystem = GetOption(options, "numberingSystem", "string", void 0, void 0);
if (numberingSystem !== void 0 && numberingSystemNames2.indexOf(numberingSystem) < 0) {
throw RangeError("Invalid numberingSystems: " + numberingSystem);
}
opt.nu = numberingSystem;
var r = ResolveLocale(availableLocales, requestedLocales, opt, ["nu"], localeData, getDefaultLocale);
var dataLocaleData = localeData[r.dataLocale];
invariant(!!dataLocaleData, "Missing locale data for " + r.dataLocale);
var internalSlots = getInternalSlots2(nf);
internalSlots.locale = r.locale;
internalSlots.dataLocale = r.dataLocale;
internalSlots.numberingSystem = r.nu;
internalSlots.dataLocaleData = dataLocaleData;
SetNumberFormatUnitOptions(nf, options, {getInternalSlots: getInternalSlots2});
var style = internalSlots.style;
var mnfdDefault;
var mxfdDefault;
if (style === "currency") {
var currency = internalSlots.currency;
var cDigits = CurrencyDigits(currency, {currencyDigitsData: currencyDigitsData});
mnfdDefault = cDigits;
mxfdDefault = cDigits;
} else {
mnfdDefault = 0;
mxfdDefault = style === "percent" ? 0 : 3;
}
var notation = GetOption(options, "notation", "string", ["standard", "scientific", "engineering", "compact"], "standard");
internalSlots.notation = notation;
SetNumberFormatDigitOptions(internalSlots, options, mnfdDefault, mxfdDefault, notation);
var compactDisplay = GetOption(options, "compactDisplay", "string", ["short", "long"], "short");
if (notation === "compact") {
internalSlots.compactDisplay = compactDisplay;
}
var useGrouping = GetOption(options, "useGrouping", "boolean", void 0, true);
internalSlots.useGrouping = useGrouping;
var signDisplay = GetOption(options, "signDisplay", "string", ["auto", "never", "always", "exceptZero"], "auto");
internalSlots.signDisplay = signDisplay;
return nf;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/LookupSupportedLocales.js
function LookupSupportedLocales(availableLocales, requestedLocales) {
var subset = [];
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
var locale = requestedLocales_1[_i];
var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, "");
var availableLocale = BestAvailableLocale(availableLocales, noExtensionLocale);
if (availableLocale) {
subset.push(availableLocale);
}
}
return subset;
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/SupportedLocales.js
function SupportedLocales(availableLocales, requestedLocales, options) {
var matcher = "best fit";
if (options !== void 0) {
options = ToObject(options);
matcher = GetOption(options, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
}
if (matcher === "best fit") {
return LookupSupportedLocales(availableLocales, requestedLocales);
}
return LookupSupportedLocales(availableLocales, requestedLocales);
}
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/data.js
var MissingLocaleDataError = function(_super) {
__extends(MissingLocaleDataError2, _super);
function MissingLocaleDataError2() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.type = "MISSING_LOCALE_DATA";
return _this;
}
return MissingLocaleDataError2;
}(Error);
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/data/currency-digits.json
var currency_digits_exports = {};
__export(currency_digits_exports, {
ADP: function() {
return ADP;
},
AFN: function() {
return AFN;
},
ALL: function() {
return ALL;
},
AMD: function() {
return AMD;
},
BHD: function() {
return BHD;
},
BIF: function() {
return BIF;
},
BYN: function() {
return BYN;
},
BYR: function() {
return BYR;
},
CAD: function() {
return CAD;
},
CHF: function() {
return CHF;
},
CLF: function() {
return CLF;
},
CLP: function() {
return CLP;
},
COP: function() {
return COP;
},
CRC: function() {
return CRC;
},
CZK: function() {
return CZK;
},
DEFAULT: function() {
return DEFAULT;
},
DJF: function() {
return DJF;
},
DKK: function() {
return DKK;
},
ESP: function() {
return ESP;
},
GNF: function() {
return GNF;
},
GYD: function() {
return GYD;
},
HUF: function() {
return HUF;
},
IDR: function() {
return IDR;
},
IQD: function() {
return IQD;
},
IRR: function() {
return IRR;
},
ISK: function() {
return ISK;
},
ITL: function() {
return ITL;
},
JOD: function() {
return JOD;
},
JPY: function() {
return JPY;
},
KMF: function() {
return KMF;
},
KPW: function() {
return KPW;
},
KRW: function() {
return KRW;
},
KWD: function() {
return KWD;
},
LAK: function() {
return LAK;
},
LBP: function() {
return LBP;
},
LUF: function() {
return LUF;
},
LYD: function() {
return LYD;
},
MGA: function() {
return MGA;
},
MGF: function() {
return MGF;
},
MMK: function() {
return MMK;
},
MNT: function() {
return MNT;
},
MRO: function() {
return MRO;
},
MUR: function() {
return MUR;
},
NOK: function() {
return NOK;
},
OMR: function() {
return OMR;
},
PKR: function() {
return PKR;
},
PYG: function() {
return PYG;
},
RSD: function() {
return RSD;
},
RWF: function() {
return RWF;
},
SEK: function() {
return SEK;
},
SLL: function() {
return SLL;
},
SOS: function() {
return SOS;
},
STD: function() {
return STD;
},
SYP: function() {
return SYP;
},
TMM: function() {
return TMM;
},
TND: function() {
return TND;
},
TRL: function() {
return TRL;
},
TWD: function() {
return TWD;
},
TZS: function() {
return TZS;
},
UGX: function() {
return UGX;
},
UYI: function() {
return UYI;
},
UYW: function() {
return UYW;
},
UZS: function() {
return UZS;
},
VEF: function() {
return VEF;
},
VND: function() {
return VND;
},
VUV: function() {
return VUV;
},
XAF: function() {
return XAF;
},
XOF: function() {
return XOF;
},
XPF: function() {
return XPF;
},
YER: function() {
return YER;
},
ZMK: function() {
return ZMK;
},
ZWD: function() {
return ZWD;
},
default: function() {
return currency_digits_default;
}
});
var ADP = 0;
var AFN = 0;
var ALL = 0;
var AMD = 2;
var BHD = 3;
var BIF = 0;
var BYN = 2;
var BYR = 0;
var CAD = 2;
var CHF = 2;
var CLF = 4;
var CLP = 0;
var COP = 2;
var CRC = 2;
var CZK = 2;
var DEFAULT = 2;
var DJF = 0;
var DKK = 2;
var ESP = 0;
var GNF = 0;
var GYD = 2;
var HUF = 2;
var IDR = 2;
var IQD = 0;
var IRR = 0;
var ISK = 0;
var ITL = 0;
var JOD = 3;
var JPY = 0;
var KMF = 0;
var KPW = 0;
var KRW = 0;
var KWD = 3;
var LAK = 0;
var LBP = 0;
var LUF = 0;
var LYD = 3;
var MGA = 0;
var MGF = 0;
var MMK = 0;
var MNT = 2;
var MRO = 0;
var MUR = 2;
var NOK = 2;
var OMR = 3;
var PKR = 2;
var PYG = 0;
var RSD = 0;
var RWF = 0;
var SEK = 2;
var SLL = 0;
var SOS = 0;
var STD = 0;
var SYP = 0;
var TMM = 0;
var TND = 3;
var TRL = 0;
var TWD = 2;
var TZS = 2;
var UGX = 0;
var UYI = 0;
var UYW = 4;
var UZS = 2;
var VEF = 2;
var VND = 0;
var VUV = 0;
var XAF = 0;
var XOF = 0;
var XPF = 0;
var YER = 0;
var ZMK = 0;
var ZWD = 0;
var currency_digits_default = {ADP: ADP, AFN: AFN, ALL: ALL, AMD: AMD, BHD: BHD, BIF: BIF, BYN: BYN, BYR: BYR, CAD: CAD, CHF: CHF, CLF: CLF, CLP: CLP, COP: COP, CRC: CRC, CZK: CZK, DEFAULT: DEFAULT, DJF: DJF, DKK: DKK, ESP: ESP, GNF: GNF, GYD: GYD, HUF: HUF, IDR: IDR, IQD: IQD, IRR: IRR, ISK: ISK, ITL: ITL, JOD: JOD, JPY: JPY, KMF: KMF, KPW: KPW, KRW: KRW, KWD: KWD, LAK: LAK, LBP: LBP, LUF: LUF, LYD: LYD, MGA: MGA, MGF: MGF, MMK: MMK, MNT: MNT, MRO: MRO, MUR: MUR, NOK: NOK, OMR: OMR, PKR: PKR, PYG: PYG, RSD: RSD, RWF: RWF, SEK: SEK, SLL: SLL, SOS: SOS, STD: STD, SYP: SYP, TMM: TMM, TND: TND, TRL: TRL, TWD: TWD, TZS: TZS, UGX: UGX, UYI: UYI, UYW: UYW, UZS: UZS, VEF: VEF, VND: VND, VUV: VUV, XAF: XAF, XOF: XOF, XPF: XPF, YER: YER, ZMK: ZMK, ZWD: ZWD};
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/data/numbering-systems.json
var names = ["adlm", "ahom", "arab", "arabext", "armn", "armnlow", "bali", "beng", "bhks", "brah", "cakm", "cham", "cyrl", "deva", "diak", "ethi", "fullwide", "geor", "gong", "gonm", "grek", "greklow", "gujr", "guru", "hanidays", "hanidec", "hans", "hansfin", "hant", "hantfin", "hebr", "hmng", "hmnp", "java", "jpan", "jpanfin", "jpanyear", "kali", "khmr", "knda", "lana", "lanatham", "laoo", "latn", "lepc", "limb", "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", "mlym", "modi", "mong", "mroo", "mtei", "mymr", "mymrshan", "mymrtlng", "newa", "nkoo", "olck", "orya", "osma", "rohg", "roman", "romanlow", "saur", "segment", "shrd", "sind", "sinh", "sora", "sund", "takr", "talu", "taml", "tamldec", "telu", "thai", "tibt", "tirh", "vaii", "wara", "wcho"];
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/get_internal_slots.js
var internalSlotMap = new WeakMap();
function getInternalSlots(x) {
var internalSlots = internalSlotMap.get(x);
if (!internalSlots) {
internalSlots = Object.create(null);
internalSlotMap.set(x, internalSlots);
}
return internalSlots;
}
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/core.js
var numberingSystemNames = names;
var RESOLVED_OPTIONS_KEYS = [
"locale",
"numberingSystem",
"style",
"currency",
"currencyDisplay",
"currencySign",
"unit",
"unitDisplay",
"minimumIntegerDigits",
"minimumFractionDigits",
"maximumFractionDigits",
"minimumSignificantDigits",
"maximumSignificantDigits",
"useGrouping",
"notation",
"compactDisplay",
"signDisplay"
];
var NumberFormat = function(locales, options) {
if (!this || !OrdinaryHasInstance(NumberFormat, this)) {
return new NumberFormat(locales, options);
}
InitializeNumberFormat(this, locales, options, {
getInternalSlots: getInternalSlots,
localeData: NumberFormat.localeData,
availableLocales: NumberFormat.availableLocales,
getDefaultLocale: NumberFormat.getDefaultLocale,
currencyDigitsData: currency_digits_exports,
numberingSystemNames: numberingSystemNames
});
var internalSlots = getInternalSlots(this);
var dataLocale = internalSlots.dataLocale;
var dataLocaleData = NumberFormat.localeData[dataLocale];
invariant(dataLocaleData !== void 0, "Cannot load locale-dependent data for " + dataLocale + ".");
internalSlots.pl = new Intl.PluralRules(dataLocale, {
minimumFractionDigits: internalSlots.minimumFractionDigits,
maximumFractionDigits: internalSlots.maximumFractionDigits,
minimumIntegerDigits: internalSlots.minimumIntegerDigits,
minimumSignificantDigits: internalSlots.minimumSignificantDigits,
maximumSignificantDigits: internalSlots.maximumSignificantDigits
});
return this;
};
function formatToParts2(x) {
return FormatNumericToParts(this, toNumeric(x), {
getInternalSlots: getInternalSlots
});
}
try {
Object.defineProperty(formatToParts2, "name", {
value: "formatToParts",
enumerable: false,
writable: false,
configurable: true
});
} catch (e) {
}
defineProperty(NumberFormat.prototype, "formatToParts", {
value: formatToParts2
});
defineProperty(NumberFormat.prototype, "resolvedOptions", {
value: function resolvedOptions() {
if (typeof this !== "object" || !OrdinaryHasInstance(NumberFormat, this)) {
throw TypeError("Method Intl.NumberFormat.prototype.resolvedOptions called on incompatible receiver");
}
var internalSlots = getInternalSlots(this);
var ro = {};
for (var _i = 0, RESOLVED_OPTIONS_KEYS_1 = RESOLVED_OPTIONS_KEYS; _i < RESOLVED_OPTIONS_KEYS_1.length; _i++) {
var key = RESOLVED_OPTIONS_KEYS_1[_i];
var value = internalSlots[key];
if (value !== void 0) {
ro[key] = value;
}
}
return ro;
}
});
var formatDescriptor = {
enumerable: false,
configurable: true,
get: function() {
if (typeof this !== "object" || !OrdinaryHasInstance(NumberFormat, this)) {
throw TypeError("Intl.NumberFormat format property accessor called on incompatible receiver");
}
var internalSlots = getInternalSlots(this);
var numberFormat = this;
var boundFormat = internalSlots.boundFormat;
if (boundFormat === void 0) {
boundFormat = function(value) {
var x = toNumeric(value);
return numberFormat.formatToParts(x).map(function(x2) {
return x2.value;
}).join("");
};
try {
Object.defineProperty(boundFormat, "name", {
configurable: true,
enumerable: false,
writable: false,
value: ""
});
} catch (e) {
}
internalSlots.boundFormat = boundFormat;
}
return boundFormat;
}
};
try {
Object.defineProperty(formatDescriptor.get, "name", {
configurable: true,
enumerable: false,
writable: false,
value: "get format"
});
} catch (e) {
}
Object.defineProperty(NumberFormat.prototype, "format", formatDescriptor);
defineProperty(NumberFormat, "supportedLocalesOf", {
value: function supportedLocalesOf(locales, options) {
return SupportedLocales(NumberFormat.availableLocales, CanonicalizeLocaleList(locales), options);
}
});
NumberFormat.__addLocaleData = function __addLocaleData() {
var data = [];
for (var _i = 0; _i < arguments.length; _i++) {
data[_i] = arguments[_i];
}
for (var _a = 0, data_1 = data; _a < data_1.length; _a++) {
var _b = data_1[_a], d = _b.data, locale = _b.locale;
var minimizedLocale = new Intl.Locale(locale).minimize().toString();
NumberFormat.localeData[locale] = NumberFormat.localeData[minimizedLocale] = d;
NumberFormat.availableLocales.add(minimizedLocale);
NumberFormat.availableLocales.add(locale);
if (!NumberFormat.__defaultLocale) {
NumberFormat.__defaultLocale = minimizedLocale;
}
}
};
NumberFormat.__addUnitData = function __addUnitData(locale, unitsData) {
var _a = NumberFormat.localeData, _b = locale, existingData = _a[_b];
if (!existingData) {
throw new Error('Locale data for "' + locale + '" has not been loaded in NumberFormat. \nPlease __addLocaleData before adding additional unit data');
}
for (var unit in unitsData.simple) {
existingData.units.simple[unit] = unitsData.simple[unit];
}
for (var unit in unitsData.compound) {
existingData.units.compound[unit] = unitsData.compound[unit];
}
};
NumberFormat.__defaultLocale = "";
NumberFormat.localeData = {};
NumberFormat.availableLocales = new Set();
NumberFormat.getDefaultLocale = function() {
return NumberFormat.__defaultLocale;
};
NumberFormat.polyfilled = true;
function toNumeric(val) {
if (typeof val === "bigint") {
return val;
}
return ToNumber(val);
}
try {
if (typeof Symbol !== "undefined") {
Object.defineProperty(NumberFormat.prototype, Symbol.toStringTag, {
configurable: true,
enumerable: false,
writable: false,
value: "Intl.NumberFormat"
});
}
Object.defineProperty(NumberFormat.prototype.constructor, "length", {
configurable: true,
enumerable: false,
writable: false,
value: 0
});
Object.defineProperty(NumberFormat.supportedLocalesOf, "length", {
configurable: true,
enumerable: false,
writable: false,
value: 1
});
Object.defineProperty(NumberFormat, "prototype", {
configurable: false,
enumerable: false,
writable: false,
value: NumberFormat.prototype
});
} catch (e) {
}
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/to_locale_string.js
function toLocaleString(x, locales, options) {
var numberFormat = new NumberFormat(locales, options);
return numberFormat.format(x);
}
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/should-polyfill.js
function onlySupportsEn() {
return !Intl.NumberFormat.polyfilled && !Intl.NumberFormat.supportedLocalesOf(["es"]).length;
}
function supportsES2020() {
try {
var s = new Intl.NumberFormat("en", {
style: "unit",
unit: "bit",
unitDisplay: "long",
notation: "scientific"
}).format(1e4);
if (s !== "1E4 bits") {
return false;
}
} catch (e) {
return false;
}
return true;
}
function shouldPolyfill() {
return typeof Intl === "undefined" || !("NumberFormat" in Intl) || !supportsES2020() || onlySupportsEn();
}
// bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/polyfill.js
if (shouldPolyfill()) {
defineProperty(Intl, "NumberFormat", {value: NumberFormat});
defineProperty(Number.prototype, "toLocaleString", {
value: function toLocaleString2(locales, options) {
return toLocaleString(this, locales, options);
}
});
}
})();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
}
if (!("Intl"in self&&Intl.PluralRules&&Intl.PluralRules.supportedLocalesOf&&function(){try{return 1===Intl.PluralRules.supportedLocalesOf("en").length}catch(l){return!1}}()
)) {
// Intl.PluralRules.~locale.en
/* @generated */
// prettier-ignore
if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
Intl.PluralRules.__addLocaleData({"data":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","other"]},"fn":function(n, ord) {
var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
if (ord) return n10 == 1 && n100 != 11 ? 'one'
: n10 == 2 && n100 != 12 ? 'two'
: n10 == 3 && n100 != 13 ? 'few'
: 'other';
return n == 1 && v0 ? 'one' : 'other';
}},"locale":"en"})
}
}
if (!("Intl"in self&&Intl.NumberFormat&&function(){try{new Intl.NumberFormat("en",{style:"unit",unit:"byte"})}catch(t){return!1}return!0}()&&Intl.NumberFormat.supportedLocalesOf("en").length
)) {
// Intl.NumberFormat.~locale.en
/* @generated */
// prettier-ignore
if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') {
Intl.NumberFormat.__addLocaleData({"data":{"units":{"simple":{"degree":{"long":{"other":"{0} degrees","one":"{0} degree"},"short":{"other":"{0} deg"},"narrow":{"other":"{0}°"},"perUnit":{}},"hectare":{"long":{"other":"{0} hectares","one":"{0} hectare"},"short":{"other":"{0} ha"},"narrow":{"other":"{0}ha"},"perUnit":{}},"acre":{"long":{"other":"{0} acres","one":"{0} acre"},"short":{"other":"{0} ac"},"narrow":{"other":"{0}ac"},"perUnit":{}},"percent":{"long":{"other":"{0} percent"},"short":{"other":"{0}%"},"narrow":{"other":"{0}%"},"perUnit":{}},"liter-per-kilometer":{"long":{"other":"{0} liters per kilometer","one":"{0} liter per kilometer"},"short":{"other":"{0} L/km"},"narrow":{"other":"{0}L/km"},"perUnit":{}},"mile-per-gallon":{"long":{"other":"{0} miles per gallon","one":"{0} mile per gallon"},"short":{"other":"{0} mpg"},"narrow":{"other":"{0}mpg"},"perUnit":{}},"petabyte":{"long":{"other":"{0} petabytes","one":"{0} petabyte"},"short":{"other":"{0} PB"},"narrow":{"other":"{0}PB"},"perUnit":{}},"terabyte":{"long":{"other":"{0} terabytes","one":"{0} terabyte"},"short":{"other":"{0} TB"},"narrow":{"other":"{0}TB"},"perUnit":{}},"terabit":{"long":{"other":"{0} terabits","one":"{0} terabit"},"short":{"other":"{0} Tb"},"narrow":{"other":"{0}Tb"},"perUnit":{}},"gigabyte":{"long":{"other":"{0} gigabytes","one":"{0} gigabyte"},"short":{"other":"{0} GB"},"narrow":{"other":"{0}GB"},"perUnit":{}},"gigabit":{"long":{"other":"{0} gigabits","one":"{0} gigabit"},"short":{"other":"{0} Gb"},"narrow":{"other":"{0}Gb"},"perUnit":{}},"megabyte":{"long":{"other":"{0} megabytes","one":"{0} megabyte"},"short":{"other":"{0} MB"},"narrow":{"other":"{0}MB"},"perUnit":{}},"megabit":{"long":{"other":"{0} megabits","one":"{0} megabit"},"short":{"other":"{0} Mb"},"narrow":{"other":"{0}Mb"},"perUnit":{}},"kilobyte":{"long":{"other":"{0} kilobytes","one":"{0} kilobyte"},"short":{"other":"{0} kB"},"narrow":{"other":"{0}kB"},"perUnit":{}},"kilobit":{"long":{"other":"{0} kilobits","one":"{0} kilobit"},"short":{"other":"{0} kb"},"narrow":{"other":"{0}kb"},"perUnit":{}},"byte":{"long":{"other":"{0} bytes","one":"{0} byte"},"short":{"other":"{0} byte"},"narrow":{"other":"{0}B"},"perUnit":{}},"bit":{"long":{"other":"{0} bits","one":"{0} bit"},"short":{"other":"{0} bit"},"narrow":{"other":"{0}bit"},"perUnit":{}},"year":{"long":{"other":"{0} years","one":"{0} year"},"short":{"other":"{0} yrs","one":"{0} yr"},"narrow":{"other":"{0}y"},"perUnit":{"long":"{0} per year","short":"{0}/y","narrow":"{0}/y"}},"month":{"long":{"other":"{0} months","one":"{0} month"},"short":{"other":"{0} mths","one":"{0} mth"},"narrow":{"other":"{0}m"},"perUnit":{"long":"{0} per month","short":"{0}/m","narrow":"{0}/m"}},"week":{"long":{"other":"{0} weeks","one":"{0} week"},"short":{"other":"{0} wks","one":"{0} wk"},"narrow":{"other":"{0}w"},"perUnit":{"long":"{0} per week","short":"{0}/w","narrow":"{0}/w"}},"day":{"long":{"other":"{0} days","one":"{0} day"},"short":{"other":"{0} days","one":"{0} day"},"narrow":{"other":"{0}d"},"perUnit":{"long":"{0} per day","short":"{0}/d","narrow":"{0}/d"}},"hour":{"long":{"other":"{0} hours","one":"{0} hour"},"short":{"other":"{0} hr"},"narrow":{"other":"{0}h"},"perUnit":{"long":"{0} per hour","short":"{0}/h","narrow":"{0}/h"}},"minute":{"long":{"other":"{0} minutes","one":"{0} minute"},"short":{"other":"{0} min"},"narrow":{"other":"{0}m"},"perUnit":{"long":"{0} per minute","short":"{0}/min","narrow":"{0}/min"}},"second":{"long":{"other":"{0} seconds","one":"{0} second"},"short":{"other":"{0} sec"},"narrow":{"other":"{0}s"},"perUnit":{"long":"{0} per second","short":"{0}/s","narrow":"{0}/s"}},"millisecond":{"long":{"other":"{0} milliseconds","one":"{0} millisecond"},"short":{"other":"{0} ms"},"narrow":{"other":"{0}ms"},"perUnit":{}},"kilometer":{"long":{"other":"{0} kilometers","one":"{0} kilometer"},"short":{"other":"{0} km"},"narrow":{"other":"{0}km"},"perUnit":{"long":"{0} per kilometer","short":"{0}/km","narrow":"{0}/km"}},"meter":{"long":{"other":"{0} meters","one":"{0} meter"},"short":{"other":"{0} m"},"narrow":{"other":"{0}m"},"perUnit":{"long":"{0} per meter","short":"{0}/m","narrow":"{0}/m"}},"centimeter":{"long":{"other":"{0} centimeters","one":"{0} centimeter"},"short":{"other":"{0} cm"},"narrow":{"other":"{0}cm"},"perUnit":{"long":"{0} per centimeter","short":"{0}/cm","narrow":"{0}/cm"}},"millimeter":{"long":{"other":"{0} millimeters","one":"{0} millimeter"},"short":{"other":"{0} mm"},"narrow":{"other":"{0}mm"},"perUnit":{}},"mile":{"long":{"other":"{0} miles","one":"{0} mile"},"short":{"other":"{0} mi"},"narrow":{"other":"{0}mi"},"perUnit":{}},"yard":{"long":{"other":"{0} yards","one":"{0} yard"},"short":{"other":"{0} yd"},"narrow":{"other":"{0}yd"},"perUnit":{}},"foot":{"long":{"other":"{0} feet","one":"{0} foot"},"short":{"other":"{0} ft"},"narrow":{"other":"{0}′"},"perUnit":{"long":"{0} per foot","short":"{0}/ft","narrow":"{0}/ft"}},"inch":{"long":{"other":"{0} inches","one":"{0} inch"},"short":{"other":"{0} in"},"narrow":{"other":"{0}″"},"perUnit":{"long":"{0} per inch","short":"{0}/in","narrow":"{0}/in"}},"mile-scandinavian":{"long":{"other":"{0} miles-scandinavian","one":"{0} mile-scandinavian"},"short":{"other":"{0} smi"},"narrow":{"other":"{0}smi"},"perUnit":{}},"kilogram":{"long":{"other":"{0} kilograms","one":"{0} kilogram"},"short":{"other":"{0} kg"},"narrow":{"other":"{0}kg"},"perUnit":{"long":"{0} per kilogram","short":"{0}/kg","narrow":"{0}/kg"}},"gram":{"long":{"other":"{0} grams","one":"{0} gram"},"short":{"other":"{0} g"},"narrow":{"other":"{0}g"},"perUnit":{"long":"{0} per gram","short":"{0}/g","narrow":"{0}/g"}},"stone":{"long":{"other":"{0} stones","one":"{0} stone"},"short":{"other":"{0} st"},"narrow":{"other":"{0}st"},"perUnit":{}},"pound":{"long":{"other":"{0} pounds","one":"{0} pound"},"short":{"other":"{0} lb"},"narrow":{"other":"{0}#"},"perUnit":{"long":"{0} per pound","short":"{0}/lb","narrow":"{0}/lb"}},"ounce":{"long":{"other":"{0} ounces","one":"{0} ounce"},"short":{"other":"{0} oz"},"narrow":{"other":"{0}oz"},"perUnit":{"long":"{0} per ounce","short":"{0}/oz","narrow":"{0}/oz"}},"kilometer-per-hour":{"long":{"other":"{0} kilometers per hour","one":"{0} kilometer per hour"},"short":{"other":"{0} km/h"},"narrow":{"other":"{0}km/h"},"perUnit":{}},"meter-per-second":{"long":{"other":"{0} meters per second","one":"{0} meter per second"},"short":{"other":"{0} m/s"},"narrow":{"other":"{0}m/s"},"perUnit":{}},"mile-per-hour":{"long":{"other":"{0} miles per hour","one":"{0} mile per hour"},"short":{"other":"{0} mph"},"narrow":{"other":"{0}mph"},"perUnit":{}},"celsius":{"long":{"other":"{0} degrees Celsius","one":"{0} degree Celsius"},"short":{"other":"{0}°C"},"narrow":{"other":"{0}°C"},"perUnit":{}},"fahrenheit":{"long":{"other":"{0} degrees Fahrenheit","one":"{0} degree Fahrenheit"},"short":{"other":"{0}°F"},"narrow":{"other":"{0}°"},"perUnit":{}},"liter":{"long":{"other":"{0} liters","one":"{0} liter"},"short":{"other":"{0} L"},"narrow":{"other":"{0}L"},"perUnit":{"long":"{0} per liter","short":"{0}/L","narrow":"{0}/L"}},"milliliter":{"long":{"other":"{0} milliliters","one":"{0} milliliter"},"short":{"other":"{0} mL"},"narrow":{"other":"{0}mL"},"perUnit":{}},"gallon":{"long":{"other":"{0} gallons","one":"{0} gallon"},"short":{"other":"{0} gal"},"narrow":{"other":"{0}gal"},"perUnit":{"long":"{0} per gallon","short":"{0}/gal US","narrow":"{0}/gal"}},"fluid-ounce":{"long":{"other":"{0} fluid ounces","one":"{0} fluid ounce"},"short":{"other":"{0} fl oz"},"narrow":{"other":"{0}fl oz"},"perUnit":{}}},"compound":{"per":{"long":"{0} per {1}","short":"{0}/{1}","narrow":"{0}/{1}"}}},"currencies":{"ADP":{"displayName":{"other":"Andorran pesetas","one":"Andorran peseta"},"symbol":"ADP","narrow":"ADP"},"AED":{"displayName":{"other":"UAE dirhams","one":"UAE dirham"},"symbol":"AED","narrow":"AED"},"AFA":{"displayName":{"other":"Afghan afghanis (1927–2002)","one":"Afghan afghani (1927–2002)"},"symbol":"AFA","narrow":"AFA"},"AFN":{"displayName":{"other":"Afghan Afghanis","one":"Afghan Afghani"},"symbol":"AFN","narrow":"؋"},"ALK":{"displayName":{"other":"Albanian lekë (1946–1965)","one":"Albanian lek (1946–1965)"},"symbol":"ALK","narrow":"ALK"},"ALL":{"displayName":{"other":"Albanian lekë","one":"Albanian lek"},"symbol":"ALL","narrow":"ALL"},"AMD":{"displayName":{"other":"Armenian drams","one":"Armenian dram"},"symbol":"AMD","narrow":"֏"},"ANG":{"displayName":{"other":"Netherlands Antillean guilders","one":"Netherlands Antillean guilder"},"symbol":"ANG","narrow":"ANG"},"AOA":{"displayName":{"other":"Angolan kwanzas","one":"Angolan kwanza"},"symbol":"AOA","narrow":"Kz"},"AOK":{"displayName":{"other":"Angolan kwanzas (1977–1991)","one":"Angolan kwanza (1977–1991)"},"symbol":"AOK","narrow":"AOK"},"AON":{"displayName":{"other":"Angolan new kwanzas (1990–2000)","one":"Angolan new kwanza (1990–2000)"},"symbol":"AON","narrow":"AON"},"AOR":{"displayName":{"other":"Angolan readjusted kwanzas (1995–1999)","one":"Angolan readjusted kwanza (1995–1999)"},"symbol":"AOR","narrow":"AOR"},"ARA":{"displayName":{"other":"Argentine australs","one":"Argentine austral"},"symbol":"ARA","narrow":"ARA"},"ARL":{"displayName":{"other":"Argentine pesos ley (1970–1983)","one":"Argentine peso ley (1970–1983)"},"symbol":"ARL","narrow":"ARL"},"ARM":{"displayName":{"other":"Argentine pesos (1881–1970)","one":"Argentine peso (1881–1970)"},"symbol":"ARM","narrow":"ARM"},"ARP":{"displayName":{"other":"Argentine pesos (1983–1985)","one":"Argentine peso (1983–1985)"},"symbol":"ARP","narrow":"ARP"},"ARS":{"displayName":{"other":"Argentine pesos","one":"Argentine peso"},"symbol":"ARS","narrow":"$"},"ATS":{"displayName":{"other":"Austrian schillings","one":"Austrian schilling"},"symbol":"ATS","narrow":"ATS"},"AUD":{"displayName":{"other":"Australian dollars","one":"Australian dollar"},"symbol":"A$","narrow":"$"},"AWG":{"displayName":{"other":"Aruban florin"},"symbol":"AWG","narrow":"AWG"},"AZM":{"displayName":{"other":"Azerbaijani manats (1993–2006)","one":"Azerbaijani manat (1993–2006)"},"symbol":"AZM","narrow":"AZM"},"AZN":{"displayName":{"other":"Azerbaijani manats","one":"Azerbaijani manat"},"symbol":"AZN","narrow":"₼"},"BAD":{"displayName":{"other":"Bosnia-Herzegovina dinars (1992–1994)","one":"Bosnia-Herzegovina dinar (1992–1994)"},"symbol":"BAD","narrow":"BAD"},"BAM":{"displayName":{"other":"Bosnia-Herzegovina convertible marks","one":"Bosnia-Herzegovina convertible mark"},"symbol":"BAM","narrow":"KM"},"BAN":{"displayName":{"other":"Bosnia-Herzegovina new dinars (1994–1997)","one":"Bosnia-Herzegovina new dinar (1994–1997)"},"symbol":"BAN","narrow":"BAN"},"BBD":{"displayName":{"other":"Barbadian dollars","one":"Barbadian dollar"},"symbol":"BBD","narrow":"$"},"BDT":{"displayName":{"other":"Bangladeshi takas","one":"Bangladeshi taka"},"symbol":"BDT","narrow":"৳"},"BEC":{"displayName":{"other":"Belgian francs (convertible)","one":"Belgian franc (convertible)"},"symbol":"BEC","narrow":"BEC"},"BEF":{"displayName":{"other":"Belgian francs","one":"Belgian franc"},"symbol":"BEF","narrow":"BEF"},"BEL":{"displayName":{"other":"Belgian francs (financial)","one":"Belgian franc (financial)"},"symbol":"BEL","narrow":"BEL"},"BGL":{"displayName":{"other":"Bulgarian hard leva","one":"Bulgarian hard lev"},"symbol":"BGL","narrow":"BGL"},"BGM":{"displayName":{"other":"Bulgarian socialist leva","one":"Bulgarian socialist lev"},"symbol":"BGM","narrow":"BGM"},"BGN":{"displayName":{"other":"Bulgarian leva","one":"Bulgarian lev"},"symbol":"BGN","narrow":"BGN"},"BGO":{"displayName":{"other":"Bulgarian leva (1879–1952)","one":"Bulgarian lev (1879–1952)"},"symbol":"BGO","narrow":"BGO"},"BHD":{"displayName":{"other":"Bahraini dinars","one":"Bahraini dinar"},"symbol":"BHD","narrow":"BHD"},"BIF":{"displayName":{"other":"Burundian francs","one":"Burundian franc"},"symbol":"BIF","narrow":"BIF"},"BMD":{"displayName":{"other":"Bermudan dollars","one":"Bermudan dollar"},"symbol":"BMD","narrow":"$"},"BND":{"displayName":{"other":"Brunei dollars","one":"Brunei dollar"},"symbol":"BND","narrow":"$"},"BOB":{"displayName":{"other":"Bolivian bolivianos","one":"Bolivian boliviano"},"symbol":"BOB","narrow":"Bs"},"BOL":{"displayName":{"other":"Bolivian bolivianos (1863–1963)","one":"Bolivian boliviano (1863–1963)"},"symbol":"BOL","narrow":"BOL"},"BOP":{"displayName":{"other":"Bolivian pesos","one":"Bolivian peso"},"symbol":"BOP","narrow":"BOP"},"BOV":{"displayName":{"other":"Bolivian mvdols","one":"Bolivian mvdol"},"symbol":"BOV","narrow":"BOV"},"BRB":{"displayName":{"other":"Brazilian new cruzeiros (1967–1986)","one":"Brazilian new cruzeiro (1967–1986)"},"symbol":"BRB","narrow":"BRB"},"BRC":{"displayName":{"other":"Brazilian cruzados (1986–1989)","one":"Brazilian cruzado (1986–1989)"},"symbol":"BRC","narrow":"BRC"},"BRE":{"displayName":{"other":"Brazilian cruzeiros (1990–1993)","one":"Brazilian cruzeiro (1990–1993)"},"symbol":"BRE","narrow":"BRE"},"BRL":{"displayName":{"other":"Brazilian reals","one":"Brazilian real"},"symbol":"R$","narrow":"R$"},"BRN":{"displayName":{"other":"Brazilian new cruzados (1989–1990)","one":"Brazilian new cruzado (1989–1990)"},"symbol":"BRN","narrow":"BRN"},"BRR":{"displayName":{"other":"Brazilian cruzeiros (1993–1994)","one":"Brazilian cruzeiro (1993–1994)"},"symbol":"BRR","narrow":"BRR"},"BRZ":{"displayName":{"other":"Brazilian cruzeiros (1942–1967)","one":"Brazilian cruzeiro (1942–1967)"},"symbol":"BRZ","narrow":"BRZ"},"BSD":{"displayName":{"other":"Bahamian dollars","one":"Bahamian dollar"},"symbol":"BSD","narrow":"$"},"BTN":{"displayName":{"other":"Bhutanese ngultrums","one":"Bhutanese ngultrum"},"symbol":"BTN","narrow":"BTN"},"BUK":{"displayName":{"other":"Burmese kyats","one":"Burmese kyat"},"symbol":"BUK","narrow":"BUK"},"BWP":{"displayName":{"other":"Botswanan pulas","one":"Botswanan pula"},"symbol":"BWP","narrow":"P"},"BYB":{"displayName":{"other":"Belarusian rubles (1994–1999)","one":"Belarusian ruble (1994–1999)"},"symbol":"BYB","narrow":"BYB"},"BYN":{"displayName":{"other":"Belarusian rubles","one":"Belarusian ruble"},"symbol":"BYN","narrow":"р."},"BYR":{"displayName":{"other":"Belarusian rubles (2000–2016)","one":"Belarusian ruble (2000–2016)"},"symbol":"BYR","narrow":"BYR"},"BZD":{"displayName":{"other":"Belize dollars","one":"Belize dollar"},"symbol":"BZD","narrow":"$"},"CAD":{"displayName":{"other":"Canadian dollars","one":"Canadian dollar"},"symbol":"CA$","narrow":"$"},"CDF":{"displayName":{"other":"Congolese francs","one":"Congolese franc"},"symbol":"CDF","narrow":"CDF"},"CHE":{"displayName":{"other":"WIR euros","one":"WIR euro"},"symbol":"CHE","narrow":"CHE"},"CHF":{"displayName":{"other":"Swiss francs","one":"Swiss franc"},"symbol":"CHF","narrow":"CHF"},"CHW":{"displayName":{"other":"WIR francs","one":"WIR franc"},"symbol":"CHW","narrow":"CHW"},"CLE":{"displayName":{"other":"Chilean escudos","one":"Chilean escudo"},"symbol":"CLE","narrow":"CLE"},"CLF":{"displayName":{"other":"Chilean units of account (UF)","one":"Chilean unit of account (UF)"},"symbol":"CLF","narrow":"CLF"},"CLP":{"displayName":{"other":"Chilean pesos","one":"Chilean peso"},"symbol":"CLP","narrow":"$"},"CNH":{"displayName":{"other":"Chinese yuan (offshore)"},"symbol":"CNH","narrow":"CNH"},"CNX":{"displayName":{"other":"Chinese People’s Bank dollars","one":"Chinese People’s Bank dollar"},"symbol":"CNX","narrow":"CNX"},"CNY":{"displayName":{"other":"Chinese yuan"},"symbol":"CN¥","narrow":"¥"},"COP":{"displayName":{"other":"Colombian pesos","one":"Colombian peso"},"symbol":"COP","narrow":"$"},"COU":{"displayName":{"other":"Colombian real value units","one":"Colombian real value unit"},"symbol":"COU","narrow":"COU"},"CRC":{"displayName":{"other":"Costa Rican colóns","one":"Costa Rican colón"},"symbol":"CRC","narrow":"₡"},"CSD":{"displayName":{"other":"Serbian dinars (2002–2006)","one":"Serbian dinar (2002–2006)"},"symbol":"CSD","narrow":"CSD"},"CSK":{"displayName":{"other":"Czechoslovak hard korunas","one":"Czechoslovak hard koruna"},"symbol":"CSK","narrow":"CSK"},"CUC":{"displayName":{"other":"Cuban convertible pesos","one":"Cuban convertible peso"},"symbol":"CUC","narrow":"$"},"CUP":{"displayName":{"other":"Cuban pesos","one":"Cuban peso"},"symbol":"CUP","narrow":"$"},"CVE":{"displayName":{"other":"Cape Verdean escudos","one":"Cape Verdean escudo"},"symbol":"CVE","narrow":"CVE"},"CYP":{"displayName":{"other":"Cypriot pounds","one":"Cypriot pound"},"symbol":"CYP","narrow":"CYP"},"CZK":{"displayName":{"other":"Czech korunas","one":"Czech koruna"},"symbol":"CZK","narrow":"Kč"},"DDM":{"displayName":{"other":"East German marks","one":"East German mark"},"symbol":"DDM","narrow":"DDM"},"DEM":{"displayName":{"other":"German marks","one":"German mark"},"symbol":"DEM","narrow":"DEM"},"DJF":{"displayName":{"other":"Djiboutian francs","one":"Djiboutian franc"},"symbol":"DJF","narrow":"DJF"},"DKK":{"displayName":{"other":"Danish kroner","one":"Danish krone"},"symbol":"DKK","narrow":"kr"},"DOP":{"displayName":{"other":"Dominican pesos","one":"Dominican peso"},"symbol":"DOP","narrow":"$"},"DZD":{"displayName":{"other":"Algerian dinars","one":"Algerian dinar"},"symbol":"DZD","narrow":"DZD"},"ECS":{"displayName":{"other":"Ecuadorian sucres","one":"Ecuadorian sucre"},"symbol":"ECS","narrow":"ECS"},"ECV":{"displayName":{"other":"Ecuadorian units of constant value","one":"Ecuadorian unit of constant value"},"symbol":"ECV","narrow":"ECV"},"EEK":{"displayName":{"other":"Estonian kroons","one":"Estonian kroon"},"symbol":"EEK","narrow":"EEK"},"EGP":{"displayName":{"other":"Egyptian pounds","one":"Egyptian pound"},"symbol":"EGP","narrow":"E£"},"ERN":{"displayName":{"other":"Eritrean nakfas","one":"Eritrean nakfa"},"symbol":"ERN","narrow":"ERN"},"ESA":{"displayName":{"other":"Spanish pesetas (A account)","one":"Spanish peseta (A account)"},"symbol":"ESA","narrow":"ESA"},"ESB":{"displayName":{"other":"Spanish pesetas (convertible account)","one":"Spanish peseta (convertible account)"},"symbol":"ESB","narrow":"ESB"},"ESP":{"displayName":{"other":"Spanish pesetas","one":"Spanish peseta"},"symbol":"ESP","narrow":"₧"},"ETB":{"displayName":{"other":"Ethiopian birrs","one":"Ethiopian birr"},"symbol":"ETB","narrow":"ETB"},"EUR":{"displayName":{"other":"euros","one":"euro"},"symbol":"€","narrow":"€"},"FIM":{"displayName":{"other":"Finnish markkas","one":"Finnish markka"},"symbol":"FIM","narrow":"FIM"},"FJD":{"displayName":{"other":"Fijian dollars","one":"Fijian dollar"},"symbol":"FJD","narrow":"$"},"FKP":{"displayName":{"other":"Falkland Islands pounds","one":"Falkland Islands pound"},"symbol":"FKP","narrow":"£"},"FRF":{"displayName":{"other":"French francs","one":"French franc"},"symbol":"FRF","narrow":"FRF"},"GBP":{"displayName":{"other":"British pounds","one":"British pound"},"symbol":"£","narrow":"£"},"GEK":{"displayName":{"other":"Georgian kupon larits","one":"Georgian kupon larit"},"symbol":"GEK","narrow":"GEK"},"GEL":{"displayName":{"other":"Georgian laris","one":"Georgian lari"},"symbol":"GEL","narrow":"₾"},"GHC":{"displayName":{"other":"Ghanaian cedis (1979–2007)","one":"Ghanaian cedi (1979–2007)"},"symbol":"GHC","narrow":"GHC"},"GHS":{"displayName":{"other":"Ghanaian cedis","one":"Ghanaian cedi"},"symbol":"GHS","narrow":"GH₵"},"GIP":{"displayName":{"other":"Gibraltar pounds","one":"Gibraltar pound"},"symbol":"GIP","narrow":"£"},"GMD":{"displayName":{"other":"Gambian dalasis","one":"Gambian dalasi"},"symbol":"GMD","narrow":"GMD"},"GNF":{"displayName":{"other":"Guinean francs","one":"Guinean franc"},"symbol":"GNF","narrow":"FG"},"GNS":{"displayName":{"other":"Guinean sylis","one":"Guinean syli"},"symbol":"GNS","narrow":"GNS"},"GQE":{"displayName":{"other":"Equatorial Guinean ekwele"},"symbol":"GQE","narrow":"GQE"},"GRD":{"displayName":{"other":"Greek drachmas","one":"Greek drachma"},"symbol":"GRD","narrow":"GRD"},"GTQ":{"displayName":{"other":"Guatemalan quetzals","one":"Guatemalan quetzal"},"symbol":"GTQ","narrow":"Q"},"GWE":{"displayName":{"other":"Portuguese Guinea escudos","one":"Portuguese Guinea escudo"},"symbol":"GWE","narrow":"GWE"},"GWP":{"displayName":{"other":"Guinea-Bissau pesos","one":"Guinea-Bissau peso"},"symbol":"GWP","narrow":"GWP"},"GYD":{"displayName":{"other":"Guyanaese dollars","one":"Guyanaese dollar"},"symbol":"GYD","narrow":"$"},"HKD":{"displayName":{"other":"Hong Kong dollars","one":"Hong Kong dollar"},"symbol":"HK$","narrow":"$"},"HNL":{"displayName":{"other":"Honduran lempiras","one":"Honduran lempira"},"symbol":"HNL","narrow":"L"},"HRD":{"displayName":{"other":"Croatian dinars","one":"Croatian dinar"},"symbol":"HRD","narrow":"HRD"},"HRK":{"displayName":{"other":"Croatian kunas","one":"Croatian kuna"},"symbol":"HRK","narrow":"kn"},"HTG":{"displayName":{"other":"Haitian gourdes","one":"Haitian gourde"},"symbol":"HTG","narrow":"HTG"},"HUF":{"displayName":{"other":"Hungarian forints","one":"Hungarian forint"},"symbol":"HUF","narrow":"Ft"},"IDR":{"displayName":{"other":"Indonesian rupiahs","one":"Indonesian rupiah"},"symbol":"IDR","narrow":"Rp"},"IEP":{"displayName":{"other":"Irish pounds","one":"Irish pound"},"symbol":"IEP","narrow":"IEP"},"ILP":{"displayName":{"other":"Israeli pounds","one":"Israeli pound"},"symbol":"ILP","narrow":"ILP"},"ILR":{"displayName":{"other":"Israeli shekels (1980–1985)","one":"Israeli shekel (1980–1985)"},"symbol":"ILR","narrow":"ILR"},"ILS":{"displayName":{"other":"Israeli new shekels","one":"Israeli new shekel"},"symbol":"₪","narrow":"₪"},"INR":{"displayName":{"other":"Indian rupees","one":"Indian rupee"},"symbol":"₹","narrow":"₹"},"IQD":{"displayName":{"other":"Iraqi dinars","one":"Iraqi dinar"},"symbol":"IQD","narrow":"IQD"},"IRR":{"displayName":{"other":"Iranian rials","one":"Iranian rial"},"symbol":"IRR","narrow":"IRR"},"ISJ":{"displayName":{"other":"Icelandic krónur (1918–1981)","one":"Icelandic króna (1918–1981)"},"symbol":"ISJ","narrow":"ISJ"},"ISK":{"displayName":{"other":"Icelandic krónur","one":"Icelandic króna"},"symbol":"ISK","narrow":"kr"},"ITL":{"displayName":{"other":"Italian liras","one":"Italian lira"},"symbol":"ITL","narrow":"ITL"},"JMD":{"displayName":{"other":"Jamaican dollars","one":"Jamaican dollar"},"symbol":"JMD","narrow":"$"},"JOD":{"displayName":{"other":"Jordanian dinars","one":"Jordanian dinar"},"symbol":"JOD","narrow":"JOD"},"JPY":{"displayName":{"other":"Japanese yen"},"symbol":"¥","narrow":"¥"},"KES":{"displayName":{"other":"Kenyan shillings","one":"Kenyan shilling"},"symbol":"KES","narrow":"KES"},"KGS":{"displayName":{"other":"Kyrgystani soms","one":"Kyrgystani som"},"symbol":"KGS","narrow":"KGS"},"KHR":{"displayName":{"other":"Cambodian riels","one":"Cambodian riel"},"symbol":"KHR","narrow":"៛"},"KMF":{"displayName":{"other":"Comorian francs","one":"Comorian franc"},"symbol":"KMF","narrow":"CF"},"KPW":{"displayName":{"other":"North Korean won"},"symbol":"KPW","narrow":"₩"},"KRH":{"displayName":{"other":"South Korean hwan (1953–1962)"},"symbol":"KRH","narrow":"KRH"},"KRO":{"displayName":{"other":"South Korean won (1945–1953)"},"symbol":"KRO","narrow":"KRO"},"KRW":{"displayName":{"other":"South Korean won"},"symbol":"₩","narrow":"₩"},"KWD":{"displayName":{"other":"Kuwaiti dinars","one":"Kuwaiti dinar"},"symbol":"KWD","narrow":"KWD"},"KYD":{"displayName":{"other":"Cayman Islands dollars","one":"Cayman Islands dollar"},"symbol":"KYD","narrow":"$"},"KZT":{"displayName":{"other":"Kazakhstani tenges","one":"Kazakhstani tenge"},"symbol":"KZT","narrow":"₸"},"LAK":{"displayName":{"other":"Laotian kips","one":"Laotian kip"},"symbol":"LAK","narrow":"₭"},"LBP":{"displayName":{"other":"Lebanese pounds","one":"Lebanese pound"},"symbol":"LBP","narrow":"L£"},"LKR":{"displayName":{"other":"Sri Lankan rupees","one":"Sri Lankan rupee"},"symbol":"LKR","narrow":"Rs"},"LRD":{"displayName":{"other":"Liberian dollars","one":"Liberian dollar"},"symbol":"LRD","narrow":"$"},"LSL":{"displayName":{"other":"Lesotho lotis","one":"Lesotho loti"},"symbol":"LSL","narrow":"LSL"},"LTL":{"displayName":{"other":"Lithuanian litai","one":"Lithuanian litas"},"symbol":"LTL","narrow":"Lt"},"LTT":{"displayName":{"other":"Lithuanian talonases","one":"Lithuanian talonas"},"symbol":"LTT","narrow":"LTT"},"LUC":{"displayName":{"other":"Luxembourgian convertible francs","one":"Luxembourgian convertible franc"},"symbol":"LUC","narrow":"LUC"},"LUF":{"displayName":{"other":"Luxembourgian francs","one":"Luxembourgian franc"},"symbol":"LUF","narrow":"LUF"},"LUL":{"displayName":{"other":"Luxembourg financial francs","one":"Luxembourg financial franc"},"symbol":"LUL","narrow":"LUL"},"LVL":{"displayName":{"other":"Latvian lati","one":"Latvian lats"},"symbol":"LVL","narrow":"Ls"},"LVR":{"displayName":{"other":"Latvian rubles","one":"Latvian ruble"},"symbol":"LVR","narrow":"LVR"},"LYD":{"displayName":{"other":"Libyan dinars","one":"Libyan dinar"},"symbol":"LYD","narrow":"LYD"},"MAD":{"displayName":{"other":"Moroccan dirhams","one":"Moroccan dirham"},"symbol":"MAD","narrow":"MAD"},"MAF":{"displayName":{"other":"Moroccan francs","one":"Moroccan franc"},"symbol":"MAF","narrow":"MAF"},"MCF":{"displayName":{"other":"Monegasque francs","one":"Monegasque franc"},"symbol":"MCF","narrow":"MCF"},"MDC":{"displayName":{"other":"Moldovan cupon"},"symbol":"MDC","narrow":"MDC"},"MDL":{"displayName":{"other":"Moldovan lei","one":"Moldovan leu"},"symbol":"MDL","narrow":"MDL"},"MGA":{"displayName":{"other":"Malagasy ariaries","one":"Malagasy ariary"},"symbol":"MGA","narrow":"Ar"},"MGF":{"displayName":{"other":"Malagasy francs","one":"Malagasy franc"},"symbol":"MGF","narrow":"MGF"},"MKD":{"displayName":{"other":"Macedonian denari","one":"Macedonian denar"},"symbol":"MKD","narrow":"MKD"},"MKN":{"displayName":{"other":"Macedonian denari (1992–1993)","one":"Macedonian denar (1992–1993)"},"symbol":"MKN","narrow":"MKN"},"MLF":{"displayName":{"other":"Malian francs","one":"Malian franc"},"symbol":"MLF","narrow":"MLF"},"MMK":{"displayName":{"other":"Myanmar kyats","one":"Myanmar kyat"},"symbol":"MMK","narrow":"K"},"MNT":{"displayName":{"other":"Mongolian tugriks","one":"Mongolian tugrik"},"symbol":"MNT","narrow":"₮"},"MOP":{"displayName":{"other":"Macanese patacas","one":"Macanese pataca"},"symbol":"MOP","narrow":"MOP"},"MRO":{"displayName":{"other":"Mauritanian ouguiyas (1973–2017)","one":"Mauritanian ouguiya (1973–2017)"},"symbol":"MRO","narrow":"MRO"},"MRU":{"displayName":{"other":"Mauritanian ouguiyas","one":"Mauritanian ouguiya"},"symbol":"MRU","narrow":"MRU"},"MTL":{"displayName":{"other":"Maltese lira"},"symbol":"MTL","narrow":"MTL"},"MTP":{"displayName":{"other":"Maltese pounds","one":"Maltese pound"},"symbol":"MTP","narrow":"MTP"},"MUR":{"displayName":{"other":"Mauritian rupees","one":"Mauritian rupee"},"symbol":"MUR","narrow":"Rs"},"MVP":{"displayName":{"other":"Maldivian rupees (1947–1981)","one":"Maldivian rupee (1947–1981)"},"symbol":"MVP","narrow":"MVP"},"MVR":{"displayName":{"other":"Maldivian rufiyaas","one":"Maldivian rufiyaa"},"symbol":"MVR","narrow":"MVR"},"MWK":{"displayName":{"other":"Malawian kwachas","one":"Malawian kwacha"},"symbol":"MWK","narrow":"MWK"},"MXN":{"displayName":{"other":"Mexican pesos","one":"Mexican peso"},"symbol":"MX$","narrow":"$"},"MXP":{"displayName":{"other":"Mexican silver pesos (1861–1992)","one":"Mexican silver peso (1861–1992)"},"symbol":"MXP","narrow":"MXP"},"MXV":{"displayName":{"other":"Mexican investment units","one":"Mexican investment unit"},"symbol":"MXV","narrow":"MXV"},"MYR":{"displayName":{"other":"Malaysian ringgits","one":"Malaysian ringgit"},"symbol":"MYR","narrow":"RM"},"MZE":{"displayName":{"other":"Mozambican escudos","one":"Mozambican escudo"},"symbol":"MZE","narrow":"MZE"},"MZM":{"displayName":{"other":"Mozambican meticals (1980–2006)","one":"Mozambican metical (1980–2006)"},"symbol":"MZM","narrow":"MZM"},"MZN":{"displayName":{"other":"Mozambican meticals","one":"Mozambican metical"},"symbol":"MZN","narrow":"MZN"},"NAD":{"displayName":{"other":"Namibian dollars","one":"Namibian dollar"},"symbol":"NAD","narrow":"$"},"NGN":{"displayName":{"other":"Nigerian nairas","one":"Nigerian naira"},"symbol":"NGN","narrow":"₦"},"NIC":{"displayName":{"other":"Nicaraguan córdobas (1988–1991)","one":"Nicaraguan córdoba (1988–1991)"},"symbol":"NIC","narrow":"NIC"},"NIO":{"displayName":{"other":"Nicaraguan córdobas","one":"Nicaraguan córdoba"},"symbol":"NIO","narrow":"C$"},"NLG":{"displayName":{"other":"Dutch guilders","one":"Dutch guilder"},"symbol":"NLG","narrow":"NLG"},"NOK":{"displayName":{"other":"Norwegian kroner","one":"Norwegian krone"},"symbol":"NOK","narrow":"kr"},"NPR":{"displayName":{"other":"Nepalese rupees","one":"Nepalese rupee"},"symbol":"NPR","narrow":"Rs"},"NZD":{"displayName":{"other":"New Zealand dollars","one":"New Zealand dollar"},"symbol":"NZ$","narrow":"$"},"OMR":{"displayName":{"other":"Omani rials","one":"Omani rial"},"symbol":"OMR","narrow":"OMR"},"PAB":{"displayName":{"other":"Panamanian balboas","one":"Panamanian balboa"},"symbol":"PAB","narrow":"PAB"},"PEI":{"displayName":{"other":"Peruvian intis","one":"Peruvian inti"},"symbol":"PEI","narrow":"PEI"},"PEN":{"displayName":{"other":"Peruvian soles","one":"Peruvian sol"},"symbol":"PEN","narrow":"PEN"},"PES":{"displayName":{"other":"Peruvian soles (1863–1965)","one":"Peruvian sol (1863–1965)"},"symbol":"PES","narrow":"PES"},"PGK":{"displayName":{"other":"Papua New Guinean kina"},"symbol":"PGK","narrow":"PGK"},"PHP":{"displayName":{"other":"Philippine pisos","one":"Philippine piso"},"symbol":"₱","narrow":"₱"},"PKR":{"displayName":{"other":"Pakistani rupees","one":"Pakistani rupee"},"symbol":"PKR","narrow":"Rs"},"PLN":{"displayName":{"other":"Polish zlotys","one":"Polish zloty"},"symbol":"PLN","narrow":"zł"},"PLZ":{"displayName":{"other":"Polish zlotys (PLZ)","one":"Polish zloty (PLZ)"},"symbol":"PLZ","narrow":"PLZ"},"PTE":{"displayName":{"other":"Portuguese escudos","one":"Portuguese escudo"},"symbol":"PTE","narrow":"PTE"},"PYG":{"displayName":{"other":"Paraguayan guaranis","one":"Paraguayan guarani"},"symbol":"PYG","narrow":"₲"},"QAR":{"displayName":{"other":"Qatari rials","one":"Qatari rial"},"symbol":"QAR","narrow":"QAR"},"RHD":{"displayName":{"other":"Rhodesian dollars","one":"Rhodesian dollar"},"symbol":"RHD","narrow":"RHD"},"ROL":{"displayName":{"other":"Romanian Lei (1952–2006)","one":"Romanian leu (1952–2006)"},"symbol":"ROL","narrow":"ROL"},"RON":{"displayName":{"other":"Romanian lei","one":"Romanian leu"},"symbol":"RON","narrow":"lei"},"RSD":{"displayName":{"other":"Serbian dinars","one":"Serbian dinar"},"symbol":"RSD","narrow":"RSD"},"RUB":{"displayName":{"other":"Russian rubles","one":"Russian ruble"},"symbol":"RUB","narrow":"₽"},"RUR":{"displayName":{"other":"Russian rubles (1991–1998)","one":"Russian ruble (1991–1998)"},"symbol":"RUR","narrow":"р."},"RWF":{"displayName":{"other":"Rwandan francs","one":"Rwandan franc"},"symbol":"RWF","narrow":"RF"},"SAR":{"displayName":{"other":"Saudi riyals","one":"Saudi riyal"},"symbol":"SAR","narrow":"SAR"},"SBD":{"displayName":{"other":"Solomon Islands dollars","one":"Solomon Islands dollar"},"symbol":"SBD","narrow":"$"},"SCR":{"displayName":{"other":"Seychellois rupees","one":"Seychellois rupee"},"symbol":"SCR","narrow":"SCR"},"SDD":{"displayName":{"other":"Sudanese dinars (1992–2007)","one":"Sudanese dinar (1992–2007)"},"symbol":"SDD","narrow":"SDD"},"SDG":{"displayName":{"other":"Sudanese pounds","one":"Sudanese pound"},"symbol":"SDG","narrow":"SDG"},"SDP":{"displayName":{"other":"Sudanese pounds (1957–1998)","one":"Sudanese pound (1957–1998)"},"symbol":"SDP","narrow":"SDP"},"SEK":{"displayName":{"other":"Swedish kronor","one":"Swedish krona"},"symbol":"SEK","narrow":"kr"},"SGD":{"displayName":{"other":"Singapore dollars","one":"Singapore dollar"},"symbol":"SGD","narrow":"$"},"SHP":{"displayName":{"other":"St. Helena pounds","one":"St. Helena pound"},"symbol":"SHP","narrow":"£"},"SIT":{"displayName":{"other":"Slovenian tolars","one":"Slovenian tolar"},"symbol":"SIT","narrow":"SIT"},"SKK":{"displayName":{"other":"Slovak korunas","one":"Slovak koruna"},"symbol":"SKK","narrow":"SKK"},"SLL":{"displayName":{"other":"Sierra Leonean leones","one":"Sierra Leonean leone"},"symbol":"SLL","narrow":"SLL"},"SOS":{"displayName":{"other":"Somali shillings","one":"Somali shilling"},"symbol":"SOS","narrow":"SOS"},"SRD":{"displayName":{"other":"Surinamese dollars","one":"Surinamese dollar"},"symbol":"SRD","narrow":"$"},"SRG":{"displayName":{"other":"Surinamese guilders","one":"Surinamese guilder"},"symbol":"SRG","narrow":"SRG"},"SSP":{"displayName":{"other":"South Sudanese pounds","one":"South Sudanese pound"},"symbol":"SSP","narrow":"£"},"STD":{"displayName":{"other":"São Tomé & Príncipe dobras (1977–2017)","one":"São Tomé & Príncipe dobra (1977–2017)"},"symbol":"STD","narrow":"STD"},"STN":{"displayName":{"other":"São Tomé & Príncipe dobras","one":"São Tomé & Príncipe dobra"},"symbol":"STN","narrow":"Db"},"SUR":{"displayName":{"other":"Soviet roubles","one":"Soviet rouble"},"symbol":"SUR","narrow":"SUR"},"SVC":{"displayName":{"other":"Salvadoran colones","one":"Salvadoran colón"},"symbol":"SVC","narrow":"SVC"},"SYP":{"displayName":{"other":"Syrian pounds","one":"Syrian pound"},"symbol":"SYP","narrow":"£"},"SZL":{"displayName":{"other":"Swazi emalangeni","one":"Swazi lilangeni"},"symbol":"SZL","narrow":"SZL"},"THB":{"displayName":{"other":"Thai baht"},"symbol":"THB","narrow":"฿"},"TJR":{"displayName":{"other":"Tajikistani rubles","one":"Tajikistani ruble"},"symbol":"TJR","narrow":"TJR"},"TJS":{"displayName":{"other":"Tajikistani somonis","one":"Tajikistani somoni"},"symbol":"TJS","narrow":"TJS"},"TMM":{"displayName":{"other":"Turkmenistani manat (1993–2009)"},"symbol":"TMM","narrow":"TMM"},"TMT":{"displayName":{"other":"Turkmenistani manat"},"symbol":"TMT","narrow":"TMT"},"TND":{"displayName":{"other":"Tunisian dinars","one":"Tunisian dinar"},"symbol":"TND","narrow":"TND"},"TOP":{"displayName":{"other":"Tongan paʻanga"},"symbol":"TOP","narrow":"T$"},"TPE":{"displayName":{"other":"Timorese escudos","one":"Timorese escudo"},"symbol":"TPE","narrow":"TPE"},"TRL":{"displayName":{"other":"Turkish Lira (1922–2005)","one":"Turkish lira (1922–2005)"},"symbol":"TRL","narrow":"TRL"},"TRY":{"displayName":{"other":"Turkish Lira","one":"Turkish lira"},"symbol":"TRY","narrow":"₺"},"TTD":{"displayName":{"other":"Trinidad & Tobago dollars","one":"Trinidad & Tobago dollar"},"symbol":"TTD","narrow":"$"},"TWD":{"displayName":{"other":"New Taiwan dollars","one":"New Taiwan dollar"},"symbol":"NT$","narrow":"$"},"TZS":{"displayName":{"other":"Tanzanian shillings","one":"Tanzanian shilling"},"symbol":"TZS","narrow":"TZS"},"UAH":{"displayName":{"other":"Ukrainian hryvnias","one":"Ukrainian hryvnia"},"symbol":"UAH","narrow":"₴"},"UAK":{"displayName":{"other":"Ukrainian karbovantsiv","one":"Ukrainian karbovanets"},"symbol":"UAK","narrow":"UAK"},"UGS":{"displayName":{"other":"Ugandan shillings (1966–1987)","one":"Ugandan shilling (1966–1987)"},"symbol":"UGS","narrow":"UGS"},"UGX":{"displayName":{"other":"Ugandan shillings","one":"Ugandan shilling"},"symbol":"UGX","narrow":"UGX"},"USD":{"displayName":{"other":"US dollars","one":"US dollar"},"symbol":"$","narrow":"$"},"USN":{"displayName":{"other":"US dollars (next day)","one":"US dollar (next day)"},"symbol":"USN","narrow":"USN"},"USS":{"displayName":{"other":"US dollars (same day)","one":"US dollar (same day)"},"symbol":"USS","narrow":"USS"},"UYI":{"displayName":{"other":"Uruguayan pesos (indexed units)","one":"Uruguayan peso (indexed units)"},"symbol":"UYI","narrow":"UYI"},"UYP":{"displayName":{"other":"Uruguayan pesos (1975–1993)","one":"Uruguayan peso (1975–1993)"},"symbol":"UYP","narrow":"UYP"},"UYU":{"displayName":{"other":"Uruguayan pesos","one":"Uruguayan peso"},"symbol":"UYU","narrow":"$"},"UYW":{"displayName":{"other":"Uruguayan nominal wage index units","one":"Uruguayan nominal wage index unit"},"symbol":"UYW","narrow":"UYW"},"UZS":{"displayName":{"other":"Uzbekistani som"},"symbol":"UZS","narrow":"UZS"},"VEB":{"displayName":{"other":"Venezuelan bolívars (1871–2008)","one":"Venezuelan bolívar (1871–2008)"},"symbol":"VEB","narrow":"VEB"},"VEF":{"displayName":{"other":"Venezuelan bolívars (2008–2018)","one":"Venezuelan bolívar (2008–2018)"},"symbol":"VEF","narrow":"Bs"},"VES":{"displayName":{"other":"Venezuelan bolívars","one":"Venezuelan bolívar"},"symbol":"VES","narrow":"VES"},"VND":{"displayName":{"other":"Vietnamese dong"},"symbol":"₫","narrow":"₫"},"VNN":{"displayName":{"other":"Vietnamese dong (1978–1985)"},"symbol":"VNN","narrow":"VNN"},"VUV":{"displayName":{"other":"Vanuatu vatus","one":"Vanuatu vatu"},"symbol":"VUV","narrow":"VUV"},"WST":{"displayName":{"other":"Samoan tala"},"symbol":"WST","narrow":"WST"},"XAF":{"displayName":{"other":"Central African CFA francs","one":"Central African CFA franc"},"symbol":"FCFA","narrow":"FCFA"},"XAG":{"displayName":{"other":"troy ounces of silver","one":"troy ounce of silver"},"symbol":"XAG","narrow":"XAG"},"XAU":{"displayName":{"other":"troy ounces of gold","one":"troy ounce of gold"},"symbol":"XAU","narrow":"XAU"},"XBA":{"displayName":{"other":"European composite units","one":"European composite unit"},"symbol":"XBA","narrow":"XBA"},"XBB":{"displayName":{"other":"European monetary units","one":"European monetary unit"},"symbol":"XBB","narrow":"XBB"},"XBC":{"displayName":{"other":"European units of account (XBC)","one":"European unit of account (XBC)"},"symbol":"XBC","narrow":"XBC"},"XBD":{"displayName":{"other":"European units of account (XBD)","one":"European unit of account (XBD)"},"symbol":"XBD","narrow":"XBD"},"XCD":{"displayName":{"other":"East Caribbean dollars","one":"East Caribbean dollar"},"symbol":"EC$","narrow":"$"},"XDR":{"displayName":{"other":"special drawing rights"},"symbol":"XDR","narrow":"XDR"},"XEU":{"displayName":{"other":"European currency units","one":"European currency unit"},"symbol":"XEU","narrow":"XEU"},"XFO":{"displayName":{"other":"French gold francs","one":"French gold franc"},"symbol":"XFO","narrow":"XFO"},"XFU":{"displayName":{"other":"French UIC-francs","one":"French UIC-franc"},"symbol":"XFU","narrow":"XFU"},"XOF":{"displayName":{"other":"West African CFA francs","one":"West African CFA franc"},"symbol":"F CFA","narrow":"F CFA"},"XPD":{"displayName":{"other":"troy ounces of palladium","one":"troy ounce of palladium"},"symbol":"XPD","narrow":"XPD"},"XPF":{"displayName":{"other":"CFP francs","one":"CFP franc"},"symbol":"CFPF","narrow":"CFPF"},"XPT":{"displayName":{"other":"troy ounces of platinum","one":"troy ounce of platinum"},"symbol":"XPT","narrow":"XPT"},"XRE":{"displayName":{"other":"RINET Funds units","one":"RINET Funds unit"},"symbol":"XRE","narrow":"XRE"},"XSU":{"displayName":{"other":"Sucres","one":"Sucre"},"symbol":"XSU","narrow":"XSU"},"XTS":{"displayName":{"other":"Testing Currency units","one":"Testing Currency unit"},"symbol":"XTS","narrow":"XTS"},"XUA":{"displayName":{"other":"ADB units of account","one":"ADB unit of account"},"symbol":"XUA","narrow":"XUA"},"XXX":{"displayName":{"other":"(unknown currency)","one":"(unknown unit of currency)"},"symbol":"¤","narrow":"¤"},"YDD":{"displayName":{"other":"Yemeni dinars","one":"Yemeni dinar"},"symbol":"YDD","narrow":"YDD"},"YER":{"displayName":{"other":"Yemeni rials","one":"Yemeni rial"},"symbol":"YER","narrow":"YER"},"YUD":{"displayName":{"other":"Yugoslavian hard dinars (1966–1990)","one":"Yugoslavian hard dinar (1966–1990)"},"symbol":"YUD","narrow":"YUD"},"YUM":{"displayName":{"other":"Yugoslavian new dinars (1994–2002)","one":"Yugoslavian new dinar (1994–2002)"},"symbol":"YUM","narrow":"YUM"},"YUN":{"displayName":{"other":"Yugoslavian convertible dinars (1990–1992)","one":"Yugoslavian convertible dinar (1990–1992)"},"symbol":"YUN","narrow":"YUN"},"YUR":{"displayName":{"other":"Yugoslavian reformed dinars (1992–1993)","one":"Yugoslavian reformed dinar (1992–1993)"},"symbol":"YUR","narrow":"YUR"},"ZAL":{"displayName":{"other":"South African rands (financial)","one":"South African rand (financial)"},"symbol":"ZAL","narrow":"ZAL"},"ZAR":{"displayName":{"other":"South African rand"},"symbol":"ZAR","narrow":"R"},"ZMK":{"displayName":{"other":"Zambian kwachas (1968–2012)","one":"Zambian kwacha (1968–2012)"},"symbol":"ZMK","narrow":"ZMK"},"ZMW":{"displayName":{"other":"Zambian kwachas","one":"Zambian kwacha"},"symbol":"ZMW","narrow":"ZK"},"ZRN":{"displayName":{"other":"Zairean new zaires (1993–1998)","one":"Zairean new zaire (1993–1998)"},"symbol":"ZRN","narrow":"ZRN"},"ZRZ":{"displayName":{"other":"Zairean zaires (1971–1993)","one":"Zairean zaire (1971–1993)"},"symbol":"ZRZ","narrow":"ZRZ"},"ZWD":{"displayName":{"other":"Zimbabwean dollars (1980–2008)","one":"Zimbabwean dollar (1980–2008)"},"symbol":"ZWD","narrow":"ZWD"},"ZWL":{"displayName":{"other":"Zimbabwean dollars (2009)","one":"Zimbabwean dollar (2009)"},"symbol":"ZWL","narrow":"ZWL"},"ZWR":{"displayName":{"other":"Zimbabwean dollars (2008)","one":"Zimbabwean dollar (2008)"},"symbol":"ZWR","narrow":"ZWR"}},"numbers":{"nu":["latn"],"symbols":{"latn":{"decimal":".","group":",","list":";","percentSign":"%","plusSign":"+","minusSign":"-","approximatelySign":"~","exponential":"E","superscriptingExponent":"×","perMille":"‰","infinity":"∞","nan":"NaN","timeSeparator":":"}},"percent":{"latn":"#,##0%"},"decimal":{"latn":{"standard":"#,##0.###","long":{"1000":{"other":"0 thousand"},"10000":{"other":"00 thousand"},"100000":{"other":"000 thousand"},"1000000":{"other":"0 million"},"10000000":{"other":"00 million"},"100000000":{"other":"000 million"},"1000000000":{"other":"0 billion"},"10000000000":{"other":"00 billion"},"100000000000":{"other":"000 billion"},"1000000000000":{"other":"0 trillion"},"10000000000000":{"other":"00 trillion"},"100000000000000":{"other":"000 trillion"}},"short":{"1000":{"other":"0K"},"10000":{"other":"00K"},"100000":{"other":"000K"},"1000000":{"other":"0M"},"10000000":{"other":"00M"},"100000000":{"other":"000M"},"1000000000":{"other":"0B"},"10000000000":{"other":"00B"},"100000000000":{"other":"000B"},"1000000000000":{"other":"0T"},"10000000000000":{"other":"00T"},"100000000000000":{"other":"000T"}}}},"currency":{"latn":{"currencySpacing":{"beforeInsertBetween":" ","afterInsertBetween":" "},"standard":"¤#,##0.00","accounting":"¤#,##0.00;(¤#,##0.00)","unitPattern":"{0} {1}","short":{"1000":{"other":"¤0K"},"10000":{"other":"¤00K"},"100000":{"other":"¤000K"},"1000000":{"other":"¤0M"},"10000000":{"other":"¤00M"},"100000000":{"other":"¤000M"},"1000000000":{"other":"¤0B"},"10000000000":{"other":"¤00B"},"100000000000":{"other":"¤000B"},"1000000000000":{"other":"¤0T"},"10000000000000":{"other":"¤00T"},"100000000000000":{"other":"¤000T"}}}}},"nu":["latn"]},"locale":"en"}
)
}
}
if (!("Int8Array"in self&&"toLocaleString"in self.Int8Array.prototype
)) {
// TypedArray.prototype.toLocaleString
/* global CreateMethodProperty */
// 23.2.3.31 %TypedArray%.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
(function () {
var fnName = 'toLocaleString'
// %TypedArray%.prototype.toLocaleString is a distinct function that implements the same algorithm as Array.prototype.toLocaleString
function toLocaleString () {
return Array.prototype.toLocaleString.call(this, arguments);
}
// use "Int8Array" as a proxy for all "TypedArray" subclasses
// in IE11, `Int8Array.prototype` inherits directly from `Object.prototype`
// in that case, don't define it on the parent; define it directly on the prototype
if ('__proto__' in self.Int8Array.prototype && self.Int8Array.prototype.__proto__ !== Object.prototype) {
// set this on the underlying "TypedArrayPrototype", which is shared with all "TypedArray" subclasses
CreateMethodProperty(self.Int8Array.prototype.__proto__, fnName, toLocaleString);
} else {
CreateMethodProperty(self.Int8Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Uint8Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Uint8ClampedArray.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Int16Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Uint16Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Int32Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Uint32Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Float32Array.prototype, fnName, toLocaleString);
CreateMethodProperty(self.Float64Array.prototype, fnName, toLocaleString);
}
})();
}
if (!((function(e){try{var t,r
return!(!Object.prototype.hasOwnProperty.call(e,"WeakSet")||0!==e.WeakSet.length)&&(t={},(r=new e.WeakSet([t])).has(t))&&!1===r.delete(0)&&"toStringTag"in self.Symbol&&void 0!==r[self.Symbol.toStringTag]}catch(e){return!1}})(self)
)) {
// WeakSet
/* global Call, CreateMethodProperty, Get, GetIterator, IsArray, IsCallable, IteratorClose, IteratorStep, IteratorValue, OrdinaryCreateFromConstructor, SameValueZero, ThrowCompletion, Type, Symbol */
(function (global) {
// Deleted set items mess with iterator pointers, so rather than removing them mark them as deleted. Can't use undefined or null since those both valid keys so use a private symbol.
var undefMarker = Symbol('undef');
// 23.4.1.1. WeakSet ( [ iterable ] )
var WeakSet = function WeakSet() {
// 1. If NewTarget is undefined, throw a TypeError exception.
if (!(this instanceof WeakSet)) {
throw new TypeError('Constructor WeakSet requires "new"');
}
// 2. Let set be ? OrdinaryCreateFromConstructor(NewTarget, "%WeakSetPrototype%", « [[WeakSetData]] »).
var set = OrdinaryCreateFromConstructor(this, WeakSet.prototype, {
_values: [],
_size: 0,
_es6WeakSet: true
});
// 3. Set set.[[WeakSetData]] to a new empty List.
// This step was done as part of step two.
// 4. If iterable is not present, let iterable be undefined.
var iterable = arguments.length > 0 ? arguments[0] : undefined;
// 5. If iterable is either undefined or null, return set.
if (iterable === null || iterable === undefined) {
return set;
}
// 6. Let adder be ? Get(set, "add").
var adder = Get(set, 'add');
// 7. If IsCallable(adder) is false, throw a TypeError exception.
if (!IsCallable(adder)) {
throw new TypeError("WeakSet.prototype.add is not a function");
}
try {
// 8. Let iteratorRecord be ? GetIterator(iterable).
var iteratorRecord = GetIterator(iterable);
// 9. Repeat,
while (true) {
// a. Let next be ? IteratorStep(iteratorRecord).
var next = IteratorStep(iteratorRecord);
// b. If next is false, return set.
if (next === false) {
return set;
}
// c. Let nextValue be ? IteratorValue(next).
var nextValue = IteratorValue(next);
// d. Let status be Call(adder, set, « nextValue »).
try {
Call(adder, set, [nextValue]);
} catch (e) {
// e. If status is an abrupt completion, return ? IteratorClose(iteratorRecord, status).
return IteratorClose(iteratorRecord, ThrowCompletion(e));
}
}
} catch (e) {
// For user agents which do not have iteration methods on argument objects or arrays, we can special case those.
if (IsArray(iterable) ||
Object.prototype.toString.call(iterable) === '[object Arguments]') {
var index;
var length = iterable.length;
for (index = 0; index < length; index++) {
Call(adder, set, [iterable[index]]);
}
}
}
return set;
};
// 23.4.2.1. WeakSet.prototype
// The initial value of WeakSet.prototype is the intrinsic %WeakSetPrototype% object.
// This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
Object.defineProperty(WeakSet, 'prototype', {
configurable: false,
enumerable: false,
writable: false,
value: {}
});
// 23.4.3.1. WeakSet.prototype.add ( value )
CreateMethodProperty(WeakSet.prototype, 'add', function add(value) {
// 1. Let S be the this value.
var S = this;
// 2. If Type(S) is not Object, throw a TypeError exception.
if (Type(S) !== 'object') {
throw new TypeError('Method WeakSet.prototype.add called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 3. If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception.
if (S._es6WeakSet !== true) {
throw new TypeError('Method WeakSet.prototype.add called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 4. If Type(value) is not Object, throw a TypeError exception.
if (Type(value) !== 'object') {
throw new TypeError('Invalid value used in weak set');
}
// 5. Let entries be the List that is S.[[WeakSetData]].
var entries = S._values;
// 6. For each e that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
var e = entries[i];
// a. If e is not empty and SameValue(e, value) is true, then
if (e !== undefMarker && SameValueZero(e, value)) {
// i. Return S.
return S;
}
}
// 7. Append value as the last element of entries.
S._values.push(value);
// 8. Return S.
return S;
});
// 23.4.3.2. WeakSet.prototype.constructor
CreateMethodProperty(WeakSet.prototype, 'constructor', WeakSet);
// 23.4.3.3. WeakSet.prototype.delete ( value )
CreateMethodProperty(WeakSet.prototype, 'delete', function (value) {
// 1. Let S be the this value.
var S = this;
// 2. If Type(S) is not Object, throw a TypeError exception.
if (Type(S) !== 'object') {
throw new TypeError('Method WeakSet.prototype.delete called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 3. If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception.
if (S._es6WeakSet !== true) {
throw new TypeError('Method WeakSet.prototype.delete called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 4. If Type(value) is not Object, return false.
if (Type(value) !== 'object') {
return false;
}
// 5. Let entries be the List that is S.[[WeakSetData]].
var entries = S._values;
// 6. For each e that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
var e = entries[i];
// a. If e is not empty and SameValue(e, value) is true, then
if (e !== undefMarker && SameValueZero(e, value)) {
// i. Replace the element of entries whose value is e with an element whose value is empty.
entries[i] = undefMarker;
// ii. Return true.
return true;
}
}
// 7. Return false.
return false;
});
// 23.4.3.4. WeakSet.prototype.has ( value )
CreateMethodProperty(WeakSet.prototype, 'has', function has(value) {
// 1. Let S be the this value.
var S = this;
// 2. If Type(S) is not Object, throw a TypeError exception.
if (Type(S) !== 'object') {
throw new TypeError('Method WeakSet.prototype.has called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 3. If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception.
if (S._es6WeakSet !== true) {
throw new TypeError('Method WeakSet.prototype.has called on incompatible receiver ' + Object.prototype.toString.call(S));
}
// 4. Let entries be the List that is S.[[WeakSetData]].
var entries = S._values;
// 5. If Type(value) is not Object, return false.
if (Type(value) !== 'object') {
return false;
}
// 6. For each e that is an element of entries, do
for (var i = 0; i < entries.length; i++) {
var e = entries[i];
// a. If e is not empty and SameValue(e, value) is true, return true.
if (e !== undefMarker && SameValueZero(e, value)) {
return true;
}
}
// 7. Return false.
return false;
});
// 23.4.3.5. WeakSet.prototype [ @@toStringTag ]
// The initial value of the @@toStringTag property is the String value "WeakSet".
// This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
Object.defineProperty(WeakSet.prototype, Symbol.toStringTag, {
configurable: true,
enumerable: false,
writable: false,
value: 'WeakSet'
});
// Safari 8 implements Set.name but as a non-configurable property, which means it would throw an error if we try and configure it here.
if (!('name' in WeakSet)) {
// 19.2.4.2 name
Object.defineProperty(WeakSet, 'name', {
configurable: true,
enumerable: false,
writable: false,
value: 'WeakSet'
});
}
// Export the object
CreateMethodProperty(global, 'WeakSet', WeakSet);
}(self));
}
})
('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
Terms of Service
PDF
TERMS OF SERVICE Please note that ebookers and its BONUS+ Loyalty Programme as made available in the UK through our Service will be retired on 4 September 2024. As such, the ebookers website, app, BONUS+ programme and its benefits are ending in the UK on 4 September 2024. Existing and upcoming bookings will not be disrupted. Please see here for more details. Hello and welcome! We are glad that you are taking the time to read these terms of service (the “ Terms ”).
These Terms are important as they, together with your booking confirmation email (the “ Booking Confirmation ”), set out the legal terms on which Travel Services are made available to you through our Service. They also cover any interactions or communications you have with us through our Service.
Your use of our Service is conditioned upon your acceptance of these Terms. To book a Travel Service, you must also accept these Terms. If you do not accept these Terms, then please do not use our Service or book a Travel Service.
We may change these Terms at any time and your future use of our Service following changes to these Terms is subject to you accepting those updated Terms. We recommend that you save or print a copy of these Terms.
“ we ", “ us ” or “ our ” refer to Expedia, Inc., a Washington corporation, having its registered office at 1111 Expedia Group Way W, Seattle, WA 98119, USA which provides our Service
“ ATOL Certificate ” refers to the certificate sent to you following a flight-inclusive Package (as defined in Section 6F(Packages)) booking which provides proof that your booking is protected by the ATOL Scheme
“ Expedia Travel ” refers to Travelscape, LLC, a company incorporated and resident for all purposes in the USA, having its registered office at 5000 W. Kearney Street, Springfield, MO 65803, USA
“ our Group of Companies ” refers to us, and our subsidiaries and corporate affiliates
“ our Partners ” refers to any affiliated, co-branded or linked website through which our Group of Companies provides content or service
“ our Service ” refers to the provision of our websites, apps and online tools
“ Travel Provider ” refers to the travel supplier making available the Travel Services to you through our Service
“ Travel Services ” refers to the travel services made available to you by the relevant Travel Provider(s) through our Service, such as stays at a property, flights, car rental or things to do, etc.
“ you ” refers to you, the traveller, using our Service or making a booking with our Service.
Please read these Terms carefully.
Section 1 Rules and Restrictions
As well as these Terms, other terms and conditions provided by Travel Providers (such as an airline’s conditions of carriage, a property’s terms and conditions, or a car rental company’s rental agreement, etc.) also apply to your booking (“ Rules and Restrictions ”).
To make a booking, you must accept the Rules and Restrictions of the Travel Provider that you select (such as payment of due amounts, refundability, penalties, availability restrictions and use of fares or services, etc.). The relevant Rules and Restrictions are provided to you before you make a booking and are incorporated by reference into these Terms.
If you violate a Travel Provider's Rules and Restrictions, your booking may be cancelled and you may be denied access to the relevant Travel Service. You may also lose any money paid for such booking and we or the Travel Provider may debit your account for any costs we or they incur as a result of such violation.
Travel Providers may either be individuals acting on a consumer to consumer basis, or professionals operating on a business to consumer basis. On our Service we label listings as “private host” or “private supplier” where the Travel Provider has notified us that they are acting in the capacity as an individual (non-professional). If you enter into an agreement with an individual on a consumer-to-consumer basis, please be aware that consumer law will not apply in relation to your contract with the Travel Provider. The Travel Provider is solely responsible for determining whether or not they are operating as a consumer or a business and for any representations they make to you with respect to their status.
In certain countries, when payment is taken at the time of booking, Expedia Travel may be the Travel Provider for the purposes of making the Travel Service available to you, including but not limited to Travel Services supplied in the European Union under Articles 28 and 306-310 of the EU Principal VAT Directive [2006/112/EC] and any equivalent domestic legislation in any country. In such instances, the Rules and Restrictions are the terms and conditions provided by the underlying supplier (such as an airline’s conditions of carriage, a property’s terms and conditions, or a car rental company’s rental agreement, etc.).
Section 2 Using our Service
We provide our Service to help you find information about Travel Services and to assist you in booking those Travel Services. It is provided to you for no other purpose.
We aim to provide you with many travel options through our Service. Our Service does not present you with an exhaustive list of travel options that are available at a particular destination or in response to a particular search query. Travel Services available for booking through our Service and additional travel options may also be available for booking through other distribution channels.
you will only use our Service for personal and non-commercial purposes you must be at least 18 years of age and have the legal authority to enter into contracts you will use our Service lawfully and in compliance with these Terms all information supplied by you is true, accurate, current and complete if you have an account with us, you will: safeguard your account information be responsible for any use of your account by you or others if you book on behalf of others: you will obtain their authorisation prior to acting on their behalf you will inform them about the terms that apply to the booking (including the Rules and Restrictions) and ensure that they agree to such terms you are responsible for paying any amounts due, for making any change/cancellation requests and for all other matters relating to the booking.
make any false or fraudulent booking access, monitor or copy any content on our Service using any robot, spider, scraper or other automated means or any manual process violate the restrictions in any robot exclusion headers on our Service or bypass or circumvent other measures employed to prevent or limit access to our Service take any action that imposes, or may impose, an unreasonable or large load on our infrastructure deep link to any part of our Service “frame”, “mirror” or otherwise incorporate any part of our Service into any other website. We may, acting reasonably, deny anyone access to our Service at any time for any valid reason. We may also make improvements and changes to our Service at any time.
To create an account, you must be at least 18 years of age and follow the account creation instructions provided through our Service.
The account you create on our Service also allows you to access other sites, apps, tools and services offered by members of our Group of Companies (including Expedia and vrbo) using the same account credentials, in addition to our Service (an “ Expedia Group Account "). Please note that when using your Expedia Group Account, the relevant terms of service displayed on the sites, apps, tools and services that you are using will govern your use of them.
For information on how to delete your account, sign into your account on our Service and follow the applicable account deletion process. For further information about your privacy rights (such as deletion or access), please see our Privacy Statement.
How we order your search results
There are many travel options available through our Service and we want to make your search results as relevant as possible. At the search results page you will see our default sort order, however you can select how to sort your results and also use filter options to prioritise results based on your chosen preferences, for example price, guest review score, or other criteria. You can learn more on how we order search results here . Within your search results we also sometimes display travel options that are paid-for commercial listings from our Travel Providers. Such travel options are clearly labelled for your information as “Ad” or similar equivalent labelling, to differentiate them from other travel options.
Redirection and third-party booking services
If you are redirected from our Service to a third-party booking service (such as for car rental) to make a travel booking, please bear in mind that any bookings made through such a booking service will be with the third-party and not with us. We are not responsible for bookings made through third-party booking services and we have no liability to you in respect of such a booking, except if they form part of a Linked Travel Arrangement as defined and explained at Section 6F(Packages). The terms and conditions of the third-party service provider will set out what rights you have against them and will explain their liability to you. If the booking you make with a third-party service provider forms part of a Linked Travel Arrangement, then we have protection in place to refund your payments to us for any services not performed because of our insolvency.
Section 3 Confirming a booking
Your Booking Confirmation includes the essential elements of your booking, such as the description of the Travel Service(s) booked and the price.
We will send your Booking Confirmation and any relevant travel documents to the email address you provide when you book. If you do not receive your Booking Confirmation within 24 hours of making your booking, please contact us . In relation to ATOL Certificates, you will receive an email including a secure click-through link to your ATOL Certificate shortly after booking payment has been completed. In the unlikely event that you have not received the ATOL Certificate email within 48 hours of completing your booking payment please contact us . The price of the Travel Service(s) will be as displayed on our Service, except in cases of obvious error.
Prices for Travel Services are dynamic and can change at any time. Price changes will not affect bookings already accepted, except in cases of obvious error. We display many Travel Services, and we try hard to ensure that the displayed price is accurate. We reserve the right to correct any pricing errors on our Service.
If there is an obvious error and you have made a booking, we will offer you the opportunity to keep your booking by paying the correct price or we will cancel your booking without penalty. We have no obligation to make available Travel Services to you at an incorrect (lower) price even after you have been sent a Booking Confirmation, if the error should reasonably have been apparent to you.
The prices displayed through our Service may include taxes or tax recovery charges. Such taxes or tax recovery charges may include amounts associated with value-added tax, goods and services tax, sales tax, occupancy tax and other taxes of a similar nature.
Taxes or tax recovery charges are generally calculated or estimated on the prices displayed through our Service before any discounts (including those funded by us), coupons and loyalty rewards that may be applicable to your booking, unless those discounts, coupons and loyalty rewards are considered as a reduction in price for the purposes of calculating or estimating taxes in the relevant jurisdiction for the booking.
In certain jurisdictions, you may be responsible for paying local taxes imposed by local tax authorities (such as city taxes or tourist taxes, etc.). Our Group of Companies or the Travel Provider may charge you such local taxes. Our Group of Companies will notify you of any local taxes that will be payable by you before you complete your booking, where such taxes have been notified to our Group of Companies by the Travel Provider.
The amount of local taxes can change between the booking date and stay date. If taxes have changed by your stay date, you may be liable to pay taxes at the higher rate.
For certain Travel Services, such as a Package (as defined in Section 6F(Packages), payment may be charged by more than one party (as will be shown on your payment method statement), however the total amount charged will not exceed the total price of all the Travel Services.
When payment is taken at the time of your booking and paid for in the local currency of our Service (as relevant), the company taking that payment (via third-party payment processors) and charging your payment method will be the company set out next to the relevant location of our Service in the table below.
Notwithstanding the governing law and jurisdiction paragraph in Section 15 (General) of these Terms, where one of our companies (as set out in the table above) takes your payment (via third-party payment processors) and charges your payment method, the law governing that payment transaction will be the laws of the location of such company.
Our Privacy Statement provides information on how we use your payment and account information when you elect for us to store a credit or debit card or other payment method for future use. You authorise the relevant company (as set out in the table above) or the Travel Provider to:
verify your payment method by obtaining a pre-authorisation, charging a nominal fee or through other verification means, and on verification, charge your payment method. Some banks and card issuers impose fees for international or cross-border transactions. For example, if you make a booking using a card issued in a different country from the Travel Provider’s location or you choose to transact in a currency that is different from the local currency of our Service, your card issuer may charge you an international or cross-border transaction fee.
Also, some banks and card issuers impose fees for currency conversion. For example, if you make a booking in a currency different to the currency of your credit card, your card issuer may convert the booking amount to the currency of your credit card and charge you a conversion fee.
If you have any questions about these fees or the exchange rate applied to your booking, please contact your bank or card issuer. Our Group of Companies is not associated or responsible for any fees relating to varying exchange rates and card issuer fees.
Any currency conversion rates displayed on our Service are based on public sources and current exchange rates, which may vary between the time a booking is made and the time of travel. Such rates are provided for information purposes only and, while we seek to provide information that is correct, our Group of Companies does not guarantee the accuracy of such conversion rates because they are not within our control.
Alternative payment methods
We may partner with providers of alternative payment methods (such as consumer finance companies), to provide our travellers with alternative payment methods. Our Group of Companies does not endorse or recommend any alternative payment provider or their products or services. Our Group of Companies is not responsible for the content or the acts or omissions of any alternative payment provider. Your use of any such provider’s payment method is at your own risk and will be governed by such provider’s terms and policies.
If a booking or account shows signs of fraud, abuse, association with a government-sanctioned person or entity, or other suspicious activity, we may request extra information from you.
If we reasonably conclude that a booking or account is associated with fraud, abuse, a government-sanctioned person or entity or suspicious activity, we may:
cancel any bookings associated with your name, email address or account close any associated accounts, and take legal action, including to seek to hold you liable for any loss. Please contact us about the cancellation of a booking or closing of an account. Section 5 Cancelling or changing a booking
Cancellation or change by you
Cancellations or changes (with respect to the travel date, destination, place where the trip starts, property or means of transport) to a booking can be made by contacting us . You do not have an automatic right to cancel or change a booking unless allowed by the relevant Travel Provider under their Rules and Restrictions (which are provided to you before you make a booking), or if you have booked a Package (as defined in Section 6F(Packages)) and such cancellation or change is permitted (see Section 6F(Packages)).
Travel Providers may charge you fees for cancelling (in full or part) or changing a booking. Such fees will be set out in the Rules and Restrictions. You agree to pay any charges that you incur. Please be aware that for changes, the price of your new arrangements will be based on the applicable price at the time you ask us to make the change. This price may not be the same as when you originally booked the Travel Services. Prices tend to increase the closer to the departure date that the change is made.
Please read the relevant Rules and Restrictions, so you know which terms apply to your booking. For example:
if you book a stay at a property and you do not cancel or change your booking before the relevant cancellation policy period, you may be subject to the cancellation or change charges as shown in the relevant Rules and Restrictions some properties do not permit cancellations of, or changes to, bookings after they are made if you make a Pay Later booking and you do not show up or cancel the booking, the property may impose a no-show or cancellation charge as shown in the relevant Rules and Restrictions and you will be charged the property's no-show or cancellation charge if you do not show up or fail to use some or all of the Travel Services booked, refunds may only be due to you in line with the relevant Rules and Restrictions, and where a cancellation affects more than one person on a booking (for example, two airline tickets booked on a single itinerary, etc.), any applicable cancellation charge will be applied in respect of each person on the cancelled booking. If you want to cancel or change any part of a booking and such cancellation or change is allowed by the relevant Travel Provider, then, in addition to any charges imposed by the Travel Provider, we may also charge you an administration fee. If such an administration fee applies, it will be notified to you before you agree to proceed with the change/cancellation.
For additional rights and restrictions relating to a Package (as defined in Section 6F(Packages), see Section 6F(Packages).
Other cancellation or change
We (and the relevant Travel Provider) may cancel your booking if full payment for the booking, or any applicable cancellation/change charge or fee relating to a booking is not received when due.
For a variety of reasons (such as a property is overbooked due to connectivity issues or a property is closed due to a hurricane, etc.), it is possible that a booking may be cancelled or changed by the Travel Provider or us. If this happens, we will make reasonable efforts to notify you as soon as possible and offer alternative options/assistance where possible or a refund.
Any refunds will be transferred back to you to the payment method you used to make the original booking. Such refunds will be made by the party that took your original payment. We do not have visibility of a Travel Provider’s refund process. Our fees are not refundable unless this is stated otherwise during the booking process.
Section 6 Travel Service specific terms
This Section provides details of the terms relevant to the specific Travel Services provided by the Travel Provider. These details are not exhaustive and do not replace the relevant Rules and Restrictions, which are provided to you before you make a booking.
Each Travel Service may be offered separately or as part of a Package (as defined in Section 6F(Packages) and is subject to the relevant Rules and Restrictions of the Travel Provider. Please also read this Section which will also apply to your booking as applicable. If there is any inconsistency between this Section and the relevant Rules and Restrictions, the relevant Rules and Restrictions prevail.
Our Service may provide you with the option to Pay Now or Pay Later. Room rates (including any applicable taxes and fees) are displayed to you through our Service under the Pay Now and Pay Later payment options. Please note that taxes and fees may vary depending on which payment option you choose. Tax rates and foreign exchange rates may change in the time between booking and your stay.
If you select the Pay Now payment option, the relevant company (as set out in Section 4 (Payment)) typically will charge the booking amount to your payment method on booking.
If you select the Pay Later payment option, the Travel Provider typically will charge your payment method in the local currency at the time of your stay or as otherwise notified to you during the booking process.
Some Travel Providers require a payment card or cash deposit at check-in to cover extra expenses incurred during your stay. Such deposit is not related to any payment received by the relevant company (as set out in Section 4 (Payment)) for your booking.
If you do not show for the first night of your stay booking, but plan to check in for the subsequent nights, please confirm this with us before the original check-in date. If you do not confirm this, then your whole booking may be cancelled. Refunds for no-shows will only be due to you in line with the relevant Rules and Restrictions of the property.
You may not book more than 8 rooms through our Service for the same property for the same stay dates. If you book more than 8 rooms in separate bookings, we may cancel your bookings. We may also charge you a cancellation fee and if you paid a non-refundable deposit, such deposit may be forfeited. If you want to book more than 8 rooms then please book through the “ Groups and Meetings ” section via our Service. You may be asked to sign a written contract or pay a non-refundable deposit. Ratings shown through our Service indicate what you might expect from properties displaying that rating level, including (where applicable) through local and national star rating organisations. These may differ from standards in your own country. Site displayed ratings do not represent or promise any particular feature or amenity. Additional information is available in the “Overview” or “Amenities” section of the property details page. These guidelines are subject to change, and our Group of Companies and our Partners cannot guarantee the accuracy of any specific rating displayed from time to time through our Service.
If meals are part of your stay booking, the number of meals included depends on the number of nights of your stay. Full board normally includes breakfast, lunch and dinner. Half board normally includes breakfast and either lunch or dinner. No refunds will be available if one or more meals are not consumed.
When you book a holiday rental property distributed through our Service from Vrbo or one of the Vrbo brands (Stayz, Bookabach, FeWo Direkt and Abritel), referred to as a “Vrbo Holiday Rental”, the Vrbo terms and conditions we present to you during the booking process apply to your payment and booking of the Vrbo Holiday Rental.
The Rules and Restrictions of the Travel Providers of flight Travel Services are made available prior to making a booking and can also be reviewed here:
If you pay our Group of Companies (which is received on behalf of the Travel Provider) for a standalone flight booking, we will act as agent of such Travel Provider. Your contract for the flight is between you and the relevant Travel Provider.
The price and availability of your flight is only guaranteed once your purchase of the Travel Service is completed and your tickets issued.
For certain flights, the price displayed may have been converted from another currency. This is for convenience purposes to provide you an estimated price in your local currency. The actual amount charged by the airline may differ due to varying exchange rates applied by banks and card issuing companies, however you will be provided with the amount proposed to be charged by the airline before completing the booking. Please see Section 4 (Payment) for information on fees that may be charged by banks and card issuers.
Some flights with low-cost airlines can only be changed or cancelled by contacting the airline directly. We may not be advised if you change or cancel a flight with your airline directly, or if the airline makes any changes to your flight schedule. Such changes may also not be reflected in the itinerary we provide to you through our Service. We recommend you print out any subsequent itinerary change emails you receive directly from the airline.
Sometimes you may be redirected from our Service to the airline's website to complete your booking and pay. Your contract for any such booking is with the relevant airline Travel Provider. Our Group of Companies is not associated with, or liable in respect of, any such bookings.
Flight terms and conditions
You understand and agree that:
airlines ultimately control their schedules, and they may change or cancel your flight for a variety of reasons (for example, mechanical problems or adverse weather, etc.). Whenever the airline gives us information about a change or cancellation to your itinerary, we will pass it on to you and help you assess your options. You should always check the scheduled departure time of your flight before travel airlines control seating and we do not guarantee the availability of specific seats, even when pre-booked if you book a return flight and do not use the outward flight, the airline may cancel the return flight without refund for special or charter flights, the airline, the flight schedule, the aircraft type, the itinerary and possible stops are given as an indication only. These specifics may be subject to change even after confirmation - please check the relevant Rules and Restrictions before booking some airlines impose extra charges for meals, luggage and preferred seat selection, etc. Unless we provide such optional services for booking through our Service then any reference about these extra optional services and related charges shown through our Service is for information only and may be updated by airlines at any time. Where we provide the option for you to book such extras through our Service, then the price of such optional extras will be displayed to you and after selection by you, added to your price you must follow the relevant Rules and Restrictions on the carriage of children. Children older than 2 on the return date must have a return ticket at a child fare for both the outbound and inbound flights. You will not be eligible for a refund of any seat charges incurred during travel if you do not comply. Children aged under 2 will not be allocated their own seat unless a child fare is booked for them. Unaccompanied children under 14 will only be allowed to fly in line with the relevant Rules and Restrictions the carriage of hazardous materials aboard aircraft in your luggage or on you is generally forbidden. We may offer you the opportunity to book two one-way tickets instead of a return ticket. Combined one-way tickets may provide a greater choice of flights. They are often cheaper and can be combined on the same airline or on different airlines.
Unlike return tickets, each one-way ticket is subject to its own Rules and Restrictions. If one of these flights is affected by an airline change (such as cancellation or rescheduling), then you may have to make changes to the other flight. In such instances you will be responsible for any charges or fees incurred for making changes to the unaffected flight. We will inform you of this if you are booking one-way tickets instead of a return ticket, so that you can consider whether to book these types of tickets.
Air miles and vouchers from loyalty programmes may not be used when booking flights through our Service.
Flights booked with one airline are sometimes operated by another airline. When different, details of the operating airline are shown through our Service. The airline that issues your ticket will charge you for your flight and will appear on your payment method statement.
In case of a no-show or cancellation, you may be entitled to a refund of airport taxes and fees included in the price of the flight purchased. In this instance, you can request such a refund from us (by emailing [email protected] or calling 0203 788 4832 (local rate) +44 203 788 4832 (from abroad)) and we will submit your request to the airline on your behalf. Compensation for cancellation, denied boarding and delays
If an airline cancels or delays a flight, is unable to provide previously confirmed space, fails to stop at your stopover or destination point, or causes you to miss a connecting flight on which you have a booking, you may be entitled to certain remedies from the airline under Regulation (EC) 261/2004 as detailed here . Law, treaties and the airline's own Rules and Restrictions normally limit an airline's liability for death, personal injury and other damages.
In accordance with EU regulations, details of air carriers that are subject to an operating ban within the European Community are available here . For certain bookings, payment for your car rental booking may be charged by the Travel Provider, not our Group of Companies.
When you collect your rental car, you/the driver must present your/their valid credit card. You must check with the Travel Provider which credit cards they accept. Debit cards are not accepted. The Travel Provider may submit an authorisation request to your credit card issuer during the rental period by way of a deposit. You/the driver should ensure you have a sufficient credit limit for this purpose. Some larger car types may require two credit cards.
If you do not follow the above rules, the Travel Provider may not make the vehicle available to you and you may, subject to the Rules and Restrictions, be required to pay an amount up to the full price of car rental Travel Services.
Extra charges may be payable by you locally to the Travel Provider. For example, these charges may cover refuelling, snow tyres, additional driver charges, young driver surcharges, child seats and delivery and collection fees, etc. We and the Travel Provider are not responsible for paying such extra charges. Requests for optional extras (such as child seats) cannot be guaranteed as they are subject to availability.
An insurance excess amount may be applicable in the event of theft of, or damage to, the rental car and payable by you to the Travel Provider. This will vary depending on the Travel Provider and rental country. Purchase of optional extra insurance coverage by you locally can remove/reduce the applicable excess. We and the Travel Provider are not responsible for any excess payable or the provision of extra insurance coverage.
Fuel is not usually included in the rental price. In some countries, some Travel Providers may charge you for refuelling when the vehicle is returned. Unless agreed otherwise, you must return the rental car to the same branch of the Travel Provider from which it was collected.
Collection and use of rental cars
Drivers must usually be aged between 21 and 75, although this can vary depending on the relevant Travel Provider and rental country. You are responsible for checking this with the Travel Provider. Extra charges may apply if a driver is aged below 25 or over 70.
When you collect your rental car, you/the driver must present your/their full valid driving licence for the category of vehicle rented. International rentals may have different driving licence requirements. Please check what exact documentation is required by the Travel Provider. For example, if the drivers' licence is not in the Roman alphabet, an international driving licence is required and, if picking up the vehicle in an EU country, an international driving license is required for those whose driving license is not issued in the EU. Extra documentation, such as a passport or up to two forms of proof of name and address, may also be required.
Typically, you will not be permitted to take your rental car outside of the rental country, or on ferries, and additional restrictions may apply.
Cancellation of bookings and unused rental days
No refunds will be offered on bookings cancelled within 6 hours of collection time or for any unused rental days.
Some Travel Providers offering Things to do may require you to sign their liability waiver prior to participating in the Travel Service they offer.
Things to do Travel Services are not usually transferable nor eligible for refunds or changes unless the Travel Provider cancels such Travel Services or such Travel Services are booked as part of a Package and such rights arise under Section 6F(Packages).
“ Linked Travel Arrangement ” means at least two different types of travel services purchased for the purpose of the same trip or holiday, not constituting a Package, resulting in the conclusion of separate contracts with the individual travel providers, if we facilitate:
on the occasion of a single visit or contact with our point of sale, the separate selection and separate payment of each travel service by you; or in a targeted manner, the procurement of at least one additional travel service from another travel provider where a contract with such other travel provider is concluded at the latest 24 hours after the confirmation of the booking of the first travel service. Where not more than one type of travel service as referred to in sub-paragraph (a), (b) or (c) of the definition of “travel service” below and one or more tourist services as referred to in sub-paragraph (d) of the definition of “travel service” below are purchased, they do not constitute a Linked Travel Arrangement if the latter services do not account for a significant proportion of the combined value of the services and are not advertised as, and do not otherwise represent, an essential feature of the trip or holiday.
“ Package ” means a combination of at least two different types of travel services for the purpose of the same trip or holiday, if:
those services are combined by us, including at the request of or in accordance with your selection, before a single contract on all services is concluded; or irrespective of whether separate contracts are concluded with individual travel providers, those services are: (i) purchased from a single point of sale and those services have been selected before you agree to pay, (ii) offered, sold or charged at an inclusive or total price, (iii) advertised or sold under the term ‘package’ or under a similar term, (iv) combined after the conclusion of a contract by which we entitle you to choose among a selection of different types of travel services, or (v) purchased from separate travel providers through linked online booking processes where your name, payment details and email address are transmitted from the travel provider with whom the first contract is concluded to another travel provider or providers and a contract with the latter travel provider or providers is concluded at the latest 24 hours after the confirmation of the booking of the first travel service. A combination of travel services where not more than one type of travel service as referred to in sub-paragraph (a), (b) or (c) of the definition of “travel service” below is combined with one or more tourist services as referred to in sub-paragraph (d) of the definition of “travel service” below is not a Package if the latter services: (1) do not account for a significant proportion of the value of the combination and are not advertised as and do not otherwise represent an essential feature of the combination; or (2) are selected and purchased only after the performance of a travel service as referred to in sub-paragraph (a), (b) or (c) of the definition of “travel service” below has started.
“ Package Travel Regulations ” means The Package Travel and Linked Travel Arrangements Regulations 2018.
“ travel service ” means: (a) carriage of passengers; (b) accommodation which is not intrinsically part of carriage of passengers and is not for residential purposes; (c) rental of cars and certain other motor vehicles, or motorcycles (requiring certain driving licences); and (d) any other tourist service not intrinsically part of a travel service within the meaning of sub-paragraphs (a), (b) or (c). Travel insurance should not be considered a travel service. Other tourist services which are not intrinsically part of carriage of passengers, accommodation or the rental of motor vehicles or certain motorcycles, may be, for instance, admission to concerts, sport events, excursions or event parks, guided tours, ski passes and rental of sports equipment such as skiing equipment, or spa treatments. However, if such services are combined with only one other type of travel service, for instance accommodation, this should lead to the creation of a Package or a Linked Travel Arrangement only if they account for a significant proportion of the value of the Package or Linked Travel Arrangement, or are advertised as or otherwise represent an essential feature of the trip or holiday. If other tourist services account for 25% or more of the value of the combination, those services should be considered as representing a significant proportion of the value of the Package or Linked Travel Arrangement. Where other tourist services are added, for instance, to hotel accommodation, booked as a standalone service, after the traveller's arrival at the hotel, this would not constitute a Package.
“ Unavoidable and Extraordinary Circumstances ” means a situation beyond the control of the party who invokes such a situation and the consequences of which could not have been avoided even if all reasonable measures had been taken. What is determined to be “Unavoidable and Extraordinary Circumstances” will depend on the facts, but this may cover, for example, warfare, other serious security problems such as terrorism, significant risks to human health such as the outbreak of a serious disease at the travel destination, or natural disasters such as floods, earthquakes or weather conditions which make it impossible to travel safely to the destination as agreed in the Package contract.
Your Booking Confirmation and ATOL Certificate (if you have booked a flight-inclusive Package) will confirm what is included in your Package.
Packages shown through our Service are made available by Expedia Travel. Expedia Travel will act as the “organiser” of your Package under the Package Travel Regulations.
Packages provided by Expedia Travel are subject to:
these Terms; and the relevant Rules and Restrictions of the Travel Providers of the travel services which make up the Package (such as the airline or property, etc.). All Package bookings are subject to availability at the time of booking. We try hard to make sure that the information related to Packages is up to date. But we do not guarantee that any Packages displayed will still be available at the time of booking. As soon as possible after you make a booking, we will inform you if, for any reason, the Package you request to book is not available.
A contract between you and Expedia Travel for your Package will only come into existence when you have paid the price for your booking and we have sent you a Booking Confirmation.
Expedia Travel may change the price of your Package after we have sent your Booking Confirmation, to pass on to you changes in:
the price of the carriage of passengers, resulting from the cost of fuel or other power sources; the level of taxes or fees payable on the travel services included in your booking imposed by third parties (other than Expedia Travel/applicable Travel Providers). These include tourist taxes, landing taxes or embarkation or disembarkation fees at ports and airports, etc.; or the exchange rates relevant to the Package. Expedia Travel will only be able to change the price in this way if we notify you of any price increase at least 20 days before your Package starts, together with a calculation and an explanation for this change.
If we notify you of an increase to the price of your Package of more than 8% of its total price, then you may:
accept and pay for the price increase; reject the price increase and cancel your Package and receive a full refund without paying any termination fees; or reject the price increase, cancel your Package without paying any termination fees and take an alternative Package if Expedia Travel decides to offer this. If you decide to take an alternative Package, we will inform you of the price impact on your booking. If the alternative Package is of lower quality or cost, you may be entitled to a price reduction in line with paragraph VIII of this Section 6F(Packages). Expedia Travel will give you a reasonable time frame to make your decision. If you do not confirm within this time, then, where reasonable, Expedia Travel will send a reminder to you. Following which Expedia Travel will be entitled to cancel the Package and will provide a refund to you.
If you decide to reject the price increase and cancel your Package with a full refund, you may also be entitled to compensation in line with paragraph VIII of this Section 6F(Packages).
You will be entitled to a price reduction corresponding to any decrease in the costs described above which occur after we have sent your Booking Confirmation but before your Package starts. Although in this instance, Expedia Travel will be entitled to deduct its administrative expenses for this process.
Unless stated otherwise in your Booking Confirmation, prices do not include insurance, airline services, excess baggage charges, transport from the airport to the accommodation, visa and vaccination charges, any personal expenses (laundry, telephone, drinks, room service, tips, etc.), excursions, the use of sports facilities, nor any other costs.
V. Cancellation and changes by you
Cancellation . Please see Section 5 (Cancellation or changing a booking) for general information about cancelling your booking.
You can cancel your Package contract before it starts. But Expedia Travel and Travel Providers can impose termination fees on you to cover the costs of travel arrangements already made.
You can also cancel your Package contract before it starts, without paying any termination fees, in the event of Unavoidable and Extraordinary Circumstances. To do so, these circumstances must:
occur at the place of destination where you are travelling or its immediately nearby vicinity; and significantly affect the performance of the Package, or significantly affect the carriage of passengers to the destination. If you cancel in this circumstance, Expedia Travel will provide a full refund for your Package, but you will not be entitled to compensation or any of the rights set out in paragraph VIII of this Section 6F(Packages).
If you are permitted to, and proceed to, cancel only part of your Package, you may void the Package rights and benefits and/or financial protection described in these Terms.
Change . Please see Section 5 (Cancellation or changing a booking) for general information about changing your booking.
Expedia Travel and Travel Providers are not required to make changes to your booking but may try to accommodate your request. Being able to make changes depends on availability and the relevant Rules and Restrictions, and it is often not possible to make changes.
If we can assist in making a change, you agree to pay the change administration fees as set out in Section 5 (Cancellation or changing a booking) plus any charges which the Travel Provider imposes for making the change. Be aware that such charges could be substantial. Such charges tend to increase the closer to the departure date that the change is made. For instance, certain elements of the Package (for example, a flight) may incur a 100% change or cancellation charge.
Replacement of participant . You may transfer your Package to another person who satisfies the conditions applicable to your Package contract. You and the person to whom the holiday is being transferred will both be responsible for:
the full payment of any balance due; and any other costs, fees and charges resulting from the transfer. We will notify you of these costs after we receive your request to transfer.
You must give us reasonable notice (at least 7 days or more before the start of the Package), so that we can make arrangements. Expedia Travel will seek to help with the name transfer. Where the Package includes a flight, this may need a flight cancellation and rebooking (with a 100% cancellation charge). This will be subject to the relevant airline’s Rules and Restrictions.
VI. Cancellation and changes by Expedia Travel before travel
Cancellation . On rare occasions, Expedia Travel may have to cancel your Package (and it reserves the right to do so). If so, Expedia Travel will notify you as soon as possible. Expedia Travel may offer you an alternative Package if it is able to do so. If so, Expedia Travel will inform you of the price impact on your booking. If the alternative Package is of lower quality or cost, you may be entitled to a price reduction in line with paragraph VIII of this Section 6F(Packages). Expedia Travel will refund any payments you have made for your Package, if it does not offer you an alternative holiday, or if you prefer a refund.
If we cancel your Package, you may be entitled to compensation in line with paragraph VIII of this Section 6F(Packages). But where Expedia Travel is prevented from providing your Package due to Unavoidable and Extraordinary Circumstances, no compensation will be payable to you.
Changes . Arrangements which make up your Package can be planned many months in advance. As a result, Expedia Travel may need to make a change to your Package (and it reserves the right to do so). Most changes are minor, but sometimes Expedia Travel will need to make a significant change:
to the main elements of your Package; or where it cannot fulfil any of your special requirements which it has accepted. If Expedia Travel must make a significant change to your Package, we will tell you as soon as reasonably possible. You may then:
accept the change; reject the change, cancel your Package and receive a full refund without paying any termination fees; or reject the change, cancel your Package without paying any termination fees and take an alternative one if Expedia Travel decides to offer this. If you decide to take an alternative Package, we will inform you of the price impact on your booking. If the alternative Package is of lower quality or cost, you may be entitled to a price reduction in line with paragraph VIII of this Section 6F(Packages). Expedia Travel will give you a reasonable time frame to make your decision. If you do not confirm within this time, then, where reasonable, Expedia Travel will send a reminder to you. Following which Expedia Travel will be entitled to cancel the Package and will provide a refund to you.
If you decide to reject the change and cancel your Package with a full refund, you may also be entitled to compensation in line with paragraph VIII of this Section 6F(Packages). But where the change is due to Unavoidable and Extraordinary Circumstances, no compensation will be payable to you.
Expedia Travel may not give you any of the above options if a change to your Package is a minor change. Examples of what are likely to be considered minor changes are a change of flight time of less than 120 minutes earlier than the departure time and less than 240 minutes later than the arrival time, a change of airline or aircraft (if originally identified), a change of departure or destination airport to one within the same region, or a change of accommodation to another of the same or higher standard in a similar location, etc.
VII. Expedia Travel's responsibility for the performance of the Package
During your holiday . During your Package if there is a problem, please immediately tell the relevant Travel Provider (such as your property provider) and us (by using the contact details in Section 14 (Contact us and complaints)).
Expedia Travel will provide appropriate assistance without undue delay if you are in difficulty. In particular, Expedia Travel will provide appropriate information on health services, local authorities and consular assistance. Expedia Travel will assist you to make distance communications and help you find alternative travel arrangements. Expedia Travel does not charge for this assistance, although it reserves the right to charge a reasonable fee if the difficulty has been caused intentionally by you or through your negligence.
Please tell us immediately of any failure to perform, or improper performance of, the Travel Services which make up your Package. This will give Expedia Travel the opportunity to resolve any such issues during your holiday. Expedia Travel is not required to remedy any such issue if remedying it is impossible or entails disproportionate costs, considering the lack of conformity and the value of the Travel Services affected. If that is the case, you will be able to seek a price reduction or compensation in line with paragraph VIII of this Section 6F(Packages).
During your Package, if a significant proportion of the Travel Services included in your Package contract cannot be provided, Expedia Travel will offer suitable alternative arrangements for your Package to continue, at no extra cost. If such alternative arrangements are of lower quality than that specified in the Package contract, you will be entitled to a price reduction in line with paragraph VIII of this Section 6F(Packages). You may only reject the alternative arrangements offered to you if they are not comparable to what was agreed in your Package contract or if the price reduction is inadequate. If you do reject the alternative arrangements (where entitled to do so), or if Expedia Travel is not able to offer them, then you may, where appropriate, be entitled to a price reduction and/or compensation in line with paragraph VIII of this Section 6F(Packages) without terminating the Package contract.
if any failure to perform, or improper performance, of the Travel Services which make up your Package substantially affects the performance of the Package; and Expedia Travel has failed to remedy such failure within a reasonable period of time, you may decide to continue with your Package or cancel your Package contract without paying termination fees. If you decide to cancel and if your Package included transport of passengers to the destination, Expedia Travel will also provide without undue delay repatriation for you with equivalent transport back to your place of departure, at no extra cost. You may, where appropriate, be entitled to a price reduction and/or compensation in line with paragraph VIII of this Section 6F(Packages).
If due to Unavoidable and Extraordinary Circumstances, Expedia Travel is unable to ensure your return to your place of departure (as agreed in your Package contract), it will bear the cost of necessary accommodation, if possible, of equivalent category, for a period not exceeding three nights per passenger. This limitation may not apply in certain circumstances to certain groups of people such as persons with reduced mobility and any person accompanying them, pregnant women and unaccompanied minors, as well as persons in need of specific medical assistance (provided that we had been notified of their particular needs at least 48 hours before the start of the Package).
After your holiday . If your complaint is not resolved locally, please contact us (by using the contact details in Section 14 (Contact us and complaints)).
VIII. Expedia Travel's obligation to provide a price reduction and/or compensation for damages
You will be entitled to an appropriate price reduction from Expedia Travel for any period during which there is a failure to perform, or improper performance of, the Travel Services which make up your Package, unless such failure is attributable to you.
You will be entitled to receive appropriate compensation from Expedia Travel for any damage you sustain as a result of a failure to perform, or improper performance of, the Travel Services which make up your Package, except where any such issue is:
attributable to you; attributable to a third-party unconnected with the provision of the Travel Services included in the Package contract and is unforeseeable or unavoidable; or due to Unavoidable and Extraordinary Circumstances. In so far as international conventions limit the extent of or the conditions under which compensation is to be paid by Travel Providers carrying out a travel service which is part of your Package, the same limitations and conditions shall apply to Expedia Travel. These same limitations and conditions will apply to Expedia Travel in an identical manner as if such limitations applied directly to Expedia Travel. These international conventions include:
- the Montreal Convention in respect of travel by air (and all earlier related conventions)
- the Athens Convention in respect of travel by sea
- the Berne Convention in respect of travel by rail (Convention concerning International Carriage by Rail (COTIF) of 9 May 1980)
- the Geneva Convention in respect of travel by road
- the Paris Convention in respect of the provision of accommodation.
Expedia Travel shall have the full benefit of any limitation of compensation which is contained in these conventions and any other international conventions which govern the travel arrangements which make up the Package.
Except where Expedia Travel is responsible as detailed in this Section 6F(Packages), Expedia Travel's liability will also be limited in accordance with the applicable Rules and Restrictions relating to the transportation element of your Package and in an identical manner as if such limitations applied directly to Expedia Travel.
Expedia Travel's liability to you in connection with your Package will be limited to a maximum of three times the cost of your Package, except in cases involving death, personal injury or damage caused intentionally or with negligence.
If you are granted compensation or a price reduction by another party in relation to the same issue, for which you claim compensation or a price reduction from Expedia Travel, then Expedia Travel may deduct the compensation or price reduction you receive from the other party from that which is payable by Expedia Travel.
Except as set out above, Expedia Travel accepts no liability for any claims, losses, expenses, damages or liability for your Package, except in cases involving death or personal injury that Expedia Travel has caused with negligence.
IX. ATOL and financial protection
Any money paid to an authorised agent (for the purpose of the Air Travel Organisers Licensing Regulations 2012) of ours in respect of an Expedia Travel flight-inclusive Package is held by that agent on behalf of and for the benefit of the Trustees of the Air Travel Trust at all times, but subject to the agent's obligation to pay it to us for so long as we do not fail financially. If we do fail financially, any money held at that time by the agent or subsequently accepted from you by the agent, is and continues to be held by that agent on behalf of and for the benefit of the Trustees of the Air Travel Trust without any obligation to pay that money to us.
We provide full financial protection under the UK ATOL scheme for our flight-inclusive Packages by way of our Air Travel Organiser's Licence number 5788 issued by the Civil Aviation Authority.
When you buy an ATOL protected flight-inclusive Package from us you will receive an ATOL Certificate. This lists what is financially protected, where you can get information on what this means for you and who to contact if things go wrong.
We, or the Travel Providers identified on your ATOL Certificate, will provide you with the Travel Services listed on the ATOL Certificate (or a suitable alternative). In some cases, where neither we nor the Travel Providers are able to do so for reasons of insolvency, an alternative ATOL holder may provide you with the Travel Services you have bought or a suitable alternative (at no extra cost to you). You agree to accept that in those circumstances the alternative ATOL holder will perform those obligations and you agree to pay any money outstanding to be paid by you under your contract to that alternative ATOL holder. However, you also agree that in some cases it will not be possible to appoint an alternative ATOL holder, in which case you will be entitled to make a claim under the ATOL scheme (or your credit card issuer where applicable).
If we, or the Travel Providers identified on your ATOL certificate, are unable to provide the Travel Services listed (or a suitable alternative, through an alternative ATOL holder or otherwise) for reasons of insolvency, the Trustees of the Air Travel Trust may make a payment to (or confer a benefit on) you under the ATOL scheme. You agree that in return for such a payment or benefit you assign absolutely to those Trustees any claims which you have or may have arising out of or relating to the non-provision of the Travel Services, including any claim against us, the travel agent (or your credit card issuer where applicable). You also agree that any such claims may be reassigned to another body, if that other body has paid sums you have claimed under the ATOL scheme.
When you buy a Package that does not include a flight or a Linked Travel Arrangement through our Service, all monies paid over in the case of non-flight-inclusive Packages, or any monies paid directly to us in the case of Linked Travel Arrangements, are fully protected by insurance in the event of our insolvency. This insurance protection has been arranged by International Passenger Protection Limited (IPP) and is underwritten by Liberty Mutual Insurance Europe SE. You will acquire the benefit of this insurance policy in the event that we become insolvent.
ANNEX 1 – PACKAGES STANDARD INFORMATION FORM
Important information regarding your Package rights
In certain circumstances, a Package may be formed as a result of Travel Services you decide to book, where Expedia Travel is the organiser of the Package. Where this possibility arises, you will be directed to read the important information below.
The combination of travel services offered to you is a Package within the meaning of Directive (EU) 2015/2302.
Therefore, you will benefit from all EU rights applying to Packages. Expedia Travel will be fully responsible for the proper performance of the Package as a whole.
Additionally, as required by law, Expedia Travel has protection in place to refund your payments and, where transport is included in the Package, to ensure your repatriation in the event that it becomes insolvent.
Key rights under Directive (EU) 2015/2302
— Travellers will receive all essential information about the Package before concluding the package travel contract.
— There is always at least one trader who is liable for the proper performance of all the travel services included in the contract.
— Travellers are given an emergency telephone number or details of a contact point where they can get in touch with the organiser or the travel agent.
— Travellers may transfer the Package to another person, on reasonable notice and possibly subject to additional costs.
— The price of the Package may only be increased if specific costs rise (for instance fuel prices), and if expressly provided for in the contract, and in any event not later than 20 days before the start of the Package. If the price increase exceeds 8% of the price of the Package, the traveller may terminate the contract. If the organiser reserves the right to a price increase, the traveller has a right to a price reduction if there is a decrease in the relevant costs.
— Travellers may terminate the contract without paying any termination fee and get a full refund of any payments if any of the essential elements of the Package, other than the price, are changed significantly. If before the start of the Package the trader responsible for the Package cancels the package, travellers are entitled to a refund and compensation where appropriate.
— Travellers may terminate the contract without paying any termination fee before the start of the Package in the event of exceptional circumstances, for instance if there are serious security problems at the destination which are likely to affect the Package.
— Additionally, travellers may at any time before the start of the Package terminate the contract in return for an appropriate and justifiable termination fee.
— If, after the start of the Package, significant elements of the Package cannot be provided as agreed, suitable alternative arrangements will have to be offered to the traveller at no extra cost. Travellers may terminate the contract without paying any termination fee, where services are not performed in accordance with the contract and this substantially affects the performance of the Package and the organiser fails to remedy the problem.
— Travellers are also entitled to a price reduction and/or compensation for damages where the travel services are not performed or are improperly performed.
— The organiser has to provide assistance if the traveller is in difficulty.
— If the organiser becomes insolvent, payments will be refunded. If the organiser becomes insolvent after the start of the Package and if transport is included in the Package, repatriation of the travellers is secured. Expedia Travel has taken out insolvency protection with the Civil Aviation Authority for flight-inclusive Packages and with Liberty Mutual Insurance Europe SE (with International Passenger Protection Limited acting as brokers) for Packages that do not include a flight. Travellers may contact the Civil Aviation Authority (5th Floor, 11 Westferry Circus, London, E14 4HD, Tel. 0333 103 6350, email: [email protected] ) or International Passenger Protection Limited (IPP Claims at Sedgwick, Oakleigh House, 14-15 Park Place, Cardiff, CF10 3DQ, Tel 0345 2661872, email: [email protected] ) respectively if services are denied because of Expedia Travel’s insolvency. — Directive (EU) 2015/2302 as transposed into national law can be found here . Linked Travel Arrangements under the Package Travel Regulations
— Important information regarding linked travel arrangements
— In certain circumstances, a linked travel arrangement may be formed as a result of Travel Services you decide to book. Where this possibility arises, you will be directed to read the important information below.
— If, after selecting and paying for one travel service, you book additional travel services for your trip or holiday via our Service, you will NOT benefit from rights applying to Packages under Directive (EU) 2015/2302.
—Therefore, we will not be responsible for the proper performance of the individual travel services. In case of problems please contact the relevant service provider. However, if you book and pay for any additional travel services during the same visit to our Service, the travel services will become part of a linked travel arrangement. In that case we have, as required by EU law, protection in place to refund your payments to us for services not performed because of our insolvency. Please note that this protection does not provide a refund in the event of the insolvency of the relevant Travel Provider.
— More information on insolvency protection:
We have taken out insolvency protection with Liberty Mutual Insurance Europe SE (with International Passenger Protection Limited acting as brokers). Travellers may contact International Passenger Protection Limited (IPP Claims at Sedgwick, Oakleigh House, 14-15 Park Place, Cardiff, CF10 3DQ, Tel 0345 2661872, email: [email protected] ) if the services are denied because of our insolvency. Note: This insolvency protection does not cover contracts with parties other than us which can be performed despite our insolvency.
— Directive (EU) 2015/2302 as transposed into national law can be found here . Section 7 International travel
Although most travel occurs without incident, travel to certain destinations may involve more risk than others. You must review any travel warnings/advice, etc. issued by the relevant governments before you book international travel. You should also monitor such travel warnings/advice during travel and before your return journey to help avoid and minimise any potential disruptions.
You may find travel advice and information on restrictions, entry requirements and the level of risk associated with travel to particular international destinations here . You should make sure you are aware of and comply with applicable advice, restrictions and entry requirements. You should check the recommended inoculations/vaccinations which may change at any time. You should consult your doctor before you depart. You are responsible for ensuring you:
meet all health entry requirements receive the relevant/required inoculations/vaccinations take all recommended medication, and follow all medical advice in relation to your travel. Online medical advice for travellers can be found here . Otherwise, for medical advice regarding your journey, please contact your doctor. You must consult the relevant Embassy or Consulate for passport and visa information. Requirements may change so check for up-to-date information before booking and departure and allow sufficient time for all relevant applications.
Our Group of Companies is not liable if you are refused entry onto a flight or cruise ship (if applicable) or into any country, due to your conduct, including your failure to carry the correct and adequate travel documents required by any Travel Provider, authority or country (including countries you are transiting through). This includes all stops made by an aircraft or a cruise ship (if applicable), even if you do not leave the aircraft or airport or cruise ship.
Passport: You are required to have a valid passport in the country of issue for all holidays offered through our Service.
Some overseas countries have an immigration requirement that your passport is valid for a minimum period after you enter that country, typically 6 months. If your passport is in its final year of validity, you must confirm the requirements of the destination before making final travel plans.
The name on the passport must match the name on the ticket, otherwise you may not be able to travel and insurance may be invalid. If, after booking a Travel Service but before travelling, any member of your party changes their name (for example, as a result of getting married, etc.), you must notify us.
Please visit here for more information regarding passports. Visa: For information on visa requirements, you are advised to contact the Embassy or Consulate of the country you propose to visit, as well as the Embassy or Consulate of the country you wish to return to, if you are not a citizen of that country.
Some governments require airlines to provide personal information about all travellers on their aircraft. The data will be collected either at the airport when you check in or in some circumstances when you make your booking. Please contact the relevant airline you are travelling with if you have any questions about this.
Our Group of Companies does not represent or warrant that travel to international destinations is advisable or without risk and is not liable for damages or losses that may result from travel to such destinations.
Liability for the Travel Services
The Travel Providers make the Travel Services available to you.
Where Expedia Travel is the Travel Provider, then to the extent permitted by law and subject to the exceptions and limitations in these Terms or the relevant Rules and Restrictions, Expedia Travel will only be liable to you for direct damages that were:
reasonably foreseeable by both you and Expedia Travel actually suffered or incurred by you, and directly attributable to the actions of Expedia Travel in providing the Travel Services, and in the event of any liability of Expedia Travel in respect of the Travel Services, such liability will not exceed, in total, the cost paid by you to Expedia Travel for the Travel Service in question.
The liability of other Travel Providers to you will be as set out in the relevant Rules and Restrictions. Where Expedia Travel is not the Travel Provider (or the organiser if you have booked a Package) then to the maximum extent permitted by law, Expedia Travel will not be liable to you for the provision of Travel Services by other Travel Providers.
We own and operate our Service and the Travel Providers provide the Travel Services to you.
To the maximum extent permitted by law, we and our Partners will not be liable for:
any such Travel Services that the Travel Providers make available to you for the acts, errors, omissions, representations, warranties or negligence of any such Travel Providers, or for any personal injuries, death, property damage or other damages or expenses resulting from the above. The Travel Providers provide us with information describing the Travel Services. This information includes Travel Service details, photos, rates and the relevant Rules and Restrictions, etc. We display this information through our Service. The Travel Providers are responsible for ensuring that such information is accurate, complete and up to date. Our Group of Companies and our Partners will not be liable for any inaccuracies in such information, unless and only if we directly caused such inaccuracies (and this also includes property ratings which are intended as guidance only and may not be an official rating). Our Group of Companies and our Partners make no guarantees about the availability of specific Travel Services.
Photos and illustrations on our Service are provided as a guide to show you the level and type of accommodation only.
For more information about the content displayed on our Service, please visit the Content Guidelines . To the maximum extent permitted by law, except as expressly set out in these Terms:
all information, software, or Travel Services displayed through our Service are provided without any warranty or condition of any kind. This includes, but is not limited to, any implied warranties and conditions of satisfactory quality, merchantability, fitness for a particular purpose, title or non-infringement, and our Group of Companies and our Partners disclaim all such warranties and conditions. The display of Travel Services through our Service is not an endorsement or recommendation of such Travel Services by our Group of Companies or our Partners. Our Group of Companies and our Partners disclaim, to the maximum extent permitted by law, all warranties and conditions that our Service, its servers or any email sent from us or our Partners are free of viruses or other harmful components.
To the maximum extent permitted by law and subject to the limitations in these Terms, neither our Group of Companies nor our Partners will be liable for any direct, indirect, punitive, special, incidental or consequential losses or damages arising from:
the Travel Services, the use of our Service, any delay or inability to use our Service, or your use of links from our Service, whether based in negligence, contract, tort, strict liability, consumer protection statutes, or otherwise, and even if our Group of Companies and our Partners have been advised of the possibility of such damages.
In respect of liability for our obligations under these Terms, or if we are found liable for any loss or damage under these Terms, then, to the maximum extent permitted by law, we shall only be liable to you for direct damages that were:
reasonably foreseeable by both you and us, actually suffered or incurred by you, and directly attributable to our actions, and in the event of our liability, such liability will in no event exceed, in the total, the greater of (a) the cost paid by you for the Travel Services in question or (b) one-hundred dollars (US$100.00) or the equivalent in local currency.
This limitation of liability reflects the allocation of risk between you and us. The limitations specified in this Section will survive and apply even if any limited remedy specified in these Terms is found to have failed its essential purpose. The limitations of liability provided in these Terms inure to the benefit of our Group of Companies and our Partners.
Every instance of force majeure, including the interruption of means of communication or a strike (by airlines, properties or air traffic controllers, as applicable), will lead to the suspension of the obligations in these Terms that are affected by the force majeure event. In such a case the party affected by the force majeure event will not be liable as a result of the inability to meet such obligations.
Consumers have certain statutory rights. The exclusions and limitations contained in these Terms apply only to the extent permitted by law. Nothing in these Terms shall be deemed to limit or exclude our liability for fraud or personal injury or death (resulting from our negligence).
You agree to defend and indemnify our Group of Companies and our Partners and any of their officers, directors, employees and agents from and against any claims, causes of action, demands, recoveries, losses, damages, fines, penalties or other costs or expenses of any kind or nature (“ Losses ”), including but not limited to, reasonable legal and accounting fees, brought by third parties as a result of:
your breach of these Terms or the documents referenced in them your violation of any law or the rights of a third-party, or your use of our Service, to the extent that such Losses are not directly caused by the actions of our Group of Companies or our Partners (as applicable).
Section 9 Reviews, comments and photos
By submitting content to our Service by email, postings or otherwise, including any property reviews, photos, videos, questions, comments, suggestions, ideas or the like contained in any submissions (collectively “ Submissions ”), you:
confirm that all Submissions you make are your original creation and that you have and will maintain all rights necessary to allow us to use the Submissions as set out in these Terms, and grant our Group of Companies and our Partners as permitted by law, a non-exclusive, royalty-free, perpetual, transferable, irrevocable and fully sub-licensable through multi-levels right to use, reproduce, modify, adapt, translate, distribute, publish, create derivative works from and publicly display and perform such Submissions throughout the world in any media, now known or later devised. You also acknowledge and agree that our Group of Companies and our Partners may choose to use the name that you submit with such Submission to attribute your Submissions (for example, listing your first name and hometown on a review that you submit) at our discretion in a non-identifiable format. Such Submissions may also be shared with the Travel Providers.
You also grant our Group of Companies the right to legally pursue any person or entity that violates your or our Group of Companies’ rights in the Submissions.
Submissions are non-confidential and non-proprietary.
If possible, you expressly waive any and all ‘moral rights’ (including rights of attribution or integrity) that may subsist in your Submissions. You agree that you have no objection to the publication, use, modification, deletion or exploitation of your Submissions by our Group of Companies, our Partners or any of our other licensees.
You are fully responsible for the content of your Submissions. You must not post or transmit to or from our Service and agree that any Submissions you make do not contain any content that:
is unlawful, threatening, libellous, defamatory, obscene, pornographic, or would violate publicity or privacy rights or any law is commercial (such as solicitation of funds, advertising, or marketing of any goods or services, etc.) infringes, misappropriates or violates any copyright, trademark, patent or other proprietary right of any third-party, or is objectionable on the grounds of public interest, public morality, public order, public security or national harmony. You will be solely liable for any damages resulting from not complying with the rules above, or any other harm resulting from your posting of Submissions to our Service.
We may exercise our rights (for example: to use, publish, display, delete, etc.) to any Submissions without notice to you.
If you submit more than one review for the same property, only your most recent Submission is eligible for use.
We claim no ownership or endorsement of, or affiliation with, any Submissions made by you.
Section 10 Intellectual property policy and notices
Copyright and trademark notices
All contents of our Service are ©2024 ebookers, an Expedia Group company. All rights reserved. Ebookers and the ebookers logo are trademarks or registered trademarks of Expedia, Inc. Other logos and product and company names mentioned herein may be the trademarks of their respective owners. We are not responsible for content on websites operated by parties other than us.
The Google® Translate tool is made available through our Service to enable you to translate content, such as user-generated reviews. The Google® Translate tool uses an automated process to translate text and this may result in inaccuracies. Your use of the Google® Translate tool is entirely at your own risk. We do not make any promises, assurances or guarantees on the accuracy or completeness of the translations provided by Google® Translate.
Our Service may contain links to websites operated by parties other than us. Such links are provided for your reference only. We do not control such websites and are not responsible for their content or your use of them. Our inclusion of such links does not imply any endorsement of the material on such websites or any association with their operators.
If you are aware of an infringement of our brand, please let us know by emailing us at [email protected] . We only address messages concerning brand infringement at this email address. Intellectual property infringement policy and complaints
We respect the intellectual property rights of others and expect our suppliers, partners, and users (collectively “ Users ”) to do the same. We have a policy of prohibiting Users from posting materials that infringe the copyright, trademark rights, or other intellectual property rights of others, and under appropriate circumstances we will terminate the account of Users who are repeat infringers. The requirements and instructions for filing copyright and trademark complaints can be found in the “Intellectual Property Infringement Complaints and Forms” located here . One or more patents owned by us or our Group of Companies may apply to our Service and to the features and services accessible through our Service. Portions of our Service operate under licence of one or more patents. Other patents pending.
Section 11 Software available on our Service
Any software made available to download from our Service or a mobile app store (" Software "), is the copyrighted work of our Group of Companies or our respective suppliers. Your use of the Software is governed by the terms of the end user licence agreement (if any) which accompanies the Software (" Licence Agreement "). You must first agree to the Licence Agreement to install, download or use any Software.
For any Software not accompanied by a Licence Agreement, we grant you a limited, personal, non-exclusive, non-transferable and non-sub-licensable licence to download, install and use the Software for using our Service in line with these Terms and for no other purpose. The Software is provided to you free of any fees or charges.
All Software (such as all HTML code and Active X controls, etc.) contained on our Service, is owned by our Group of Companies, our Partners or our respective suppliers. All Software is protected by copyright laws and international treaty provisions. Any reproduction or redistribution of the Software is prohibited by law and may result in severe civil and criminal penalties. Anyone who violates this will be prosecuted.
Without limiting the above, copying or reproduction of the Software to any other server or location for further reproduction or redistribution is expressly prohibited. The Software is warranted, if at all, only according to the terms of the Licence Agreement.
Section 12 Your privacy and personal information
We are committed to the privacy, confidentiality, and security of personal information entrusted to us.
Please review our current Privacy Statement , which also governs your use of our Service and is incorporated by reference into these Terms, to understand our practices. Section 13 Rewards programme
We have a free loyalty programme available to our travellers. For more information on our programme and its benefits, please see our current terms and conditions . These are incorporated by reference into these Terms. Section 14 Contact us and complaints
Traveller support and the handling of complaints
We are here to help you with any queries or complaints you have in relation to your booking.
For answers to commonly asked questions, or to contact us via our chat function, visit our Support page here . Following a problem with your booked Travel Service, if you raise a complaint or are entitled to compensation by the Travel Provider, then we will assist you and the Travel Provider to try to resolve the problem.
Please raise any issues you experience with your booked Travel Service to us, or to the relevant Travel Provider, before or during your trip where possible. This will enable us to try to resolve the issue at the earliest opportunity and limit any damage suffered by you. If you do not raise an issue before or during your trip where this would have been possible, this may deprive us and the Travel Provider the opportunity to investigate and rectify your issue whilst you are away. This may affect your rights under these Terms, including reducing any compensation due, potentially to zero.
If you are unable to raise an issue with your booked Travel Service before or during your trip (for example, the issue occurred on the inbound journey), please raise to us, or to the relevant Travel Provider, as soon as possible after your trip. You are encouraged to raise any complaints within 30 days after travel.
Hard copy complaints should be sent to either:
the Travel Provider providing the Travel Service, at the address set out on the page where you complete your booking; or to us, at the address below: 1111 Expedia Group Way West
Expedia Customer Relations
Customer support telephone number: 0203 788 4832 (local rate) +44 203 788 4832 (from abroad)
Governing law and jurisdiction
These Terms are governed by the laws of England and Wales. You consent to the exclusive jurisdiction and venue of the English courts in all disputes (including non-contractual disputes or claims) arising out of or relating to the use of our Service or these Terms. However, you may choose the law and jurisdiction of Scotland or Northern Ireland if that is where you reside. Use of our Service is unauthorised in any jurisdiction that does not give effect to all provisions of these Terms including, without limitation, this paragraph.
Unless otherwise stated, prices displayed do not include travel insurance. You are advised to take out insurance that covers the consequences of certain cases of cancellation and certain risks (such as the cost of repatriation in the event of an accident or illness). You are responsible for ensuring that any insurance policy taken out adequately covers your requirements. You may be shown certain travel insurance products. If so, details of the insurance provider, relevant key information and terms and conditions will be shown on our Service.
Our failure or delay to enforce any provision of these Terms does not waive our right to enforce the same or any other provision(s) of these Terms in the future.
If any provision (or part provision) of these Terms is found by a court or other authority of competent jurisdiction to be invalid, illegal or unenforceable, that provision (or part provision) shall, if required, be deemed not to form part of these Terms with you. In such a case, the validity and enforceability of the other provisions shall not be affected.
These Terms constitute the entire agreement between you and us with respect to our Service. They supersede all prior or contemporaneous communications (whether electronic, oral, or written) between you and us about our Service.
We may, and you may not, assign, subcontract or delegate rights, duties or obligations under these Terms.
Save as expressly stated in these Terms we do not intend any part of these Terms to be enforceable by any person who is not a party to these Terms. No third-party's consent shall be required for the waiver, variation or termination of any part of these Terms. These Terms do not give rise to any rights under any applicable laws or regulations in relation to rights of third parties to enforce any part of these Terms.
Any provision of these Terms, which expressly, or by its nature, imposes obligations beyond the expiration, or termination of these Terms, shall survive such expiration or termination.
Air Travel Organiser's Licence number: 5788
New York State tax registration
New York sales taxes and New York City occupancy taxes, where applicable, are due on your property stay. For Pay Now stay bookings, Travelscape, LLC’s New York sales tax vendor registration number is 880392667 and its New York City hotel occupancy tax registration number is 033960.
Please click below for additional information:
6b2321f3-b5c8-4d04-8aa4-ad59971ddb27 9d5645fd-0f44-43ee-83dc-27e13faecb3f