@formatjs/intl-pluralrules 5.1.5 → 5.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/polyfill.iife.js +523 -63
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-pluralrules",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.8",
|
|
4
4
|
"description": "Polyfill for Intl.PluralRules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyfill",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"url": "git+https://github.com/formatjs/formatjs.git"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@formatjs/ecma402-abstract": "1.14.
|
|
24
|
-
"@formatjs/intl-localematcher": "0.2.
|
|
25
|
-
"tslib": "2.4.0"
|
|
23
|
+
"@formatjs/ecma402-abstract": "1.14.3",
|
|
24
|
+
"@formatjs/intl-localematcher": "0.2.32",
|
|
25
|
+
"tslib": "^2.4.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@formatjs/intl-getcanonicallocales": "2.0.
|
|
29
|
-
"@formatjs/intl-locale": "3.0.
|
|
28
|
+
"@formatjs/intl-getcanonicallocales": "2.0.5",
|
|
29
|
+
"@formatjs/intl-locale": "3.0.11"
|
|
30
30
|
},
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/formatjs/formatjs/issues"
|
package/polyfill.iife.js
CHANGED
|
@@ -1,42 +1,502 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
12
18
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
|
+
mod
|
|
22
|
+
));
|
|
23
|
+
|
|
24
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js
|
|
25
|
+
var require_tslib = __commonJS({
|
|
26
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
27
|
+
var __extends2;
|
|
28
|
+
var __assign2;
|
|
29
|
+
var __rest2;
|
|
30
|
+
var __decorate2;
|
|
31
|
+
var __param2;
|
|
32
|
+
var __metadata2;
|
|
33
|
+
var __awaiter2;
|
|
34
|
+
var __generator2;
|
|
35
|
+
var __exportStar2;
|
|
36
|
+
var __values2;
|
|
37
|
+
var __read2;
|
|
38
|
+
var __spread2;
|
|
39
|
+
var __spreadArrays2;
|
|
40
|
+
var __spreadArray2;
|
|
41
|
+
var __await2;
|
|
42
|
+
var __asyncGenerator2;
|
|
43
|
+
var __asyncDelegator2;
|
|
44
|
+
var __asyncValues2;
|
|
45
|
+
var __makeTemplateObject2;
|
|
46
|
+
var __importStar2;
|
|
47
|
+
var __importDefault2;
|
|
48
|
+
var __classPrivateFieldGet2;
|
|
49
|
+
var __classPrivateFieldSet2;
|
|
50
|
+
var __classPrivateFieldIn2;
|
|
51
|
+
var __createBinding2;
|
|
52
|
+
(function(factory) {
|
|
53
|
+
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
|
54
|
+
if (typeof define === "function" && define.amd) {
|
|
55
|
+
define("tslib", ["exports"], function(exports2) {
|
|
56
|
+
factory(createExporter(root, createExporter(exports2)));
|
|
57
|
+
});
|
|
58
|
+
} else if (typeof module === "object" && typeof module.exports === "object") {
|
|
59
|
+
factory(createExporter(root, createExporter(module.exports)));
|
|
60
|
+
} else {
|
|
61
|
+
factory(createExporter(root));
|
|
29
62
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
63
|
+
function createExporter(exports2, previous) {
|
|
64
|
+
if (exports2 !== root) {
|
|
65
|
+
if (typeof Object.create === "function") {
|
|
66
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
67
|
+
} else {
|
|
68
|
+
exports2.__esModule = true;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return function(id, v) {
|
|
72
|
+
return exports2[id] = previous ? previous(id, v) : v;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
})(function(exporter) {
|
|
76
|
+
var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
77
|
+
d.__proto__ = b;
|
|
78
|
+
} || function(d, b) {
|
|
79
|
+
for (var p in b)
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
81
|
+
d[p] = b[p];
|
|
82
|
+
};
|
|
83
|
+
__extends2 = function(d, b) {
|
|
84
|
+
if (typeof b !== "function" && b !== null)
|
|
85
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
86
|
+
extendStatics(d, b);
|
|
87
|
+
function __() {
|
|
88
|
+
this.constructor = d;
|
|
89
|
+
}
|
|
90
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
91
|
+
};
|
|
92
|
+
__assign2 = Object.assign || function(t) {
|
|
93
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
94
|
+
s = arguments[i];
|
|
95
|
+
for (var p in s)
|
|
96
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
97
|
+
t[p] = s[p];
|
|
98
|
+
}
|
|
99
|
+
return t;
|
|
100
|
+
};
|
|
101
|
+
__rest2 = function(s, e) {
|
|
102
|
+
var t = {};
|
|
103
|
+
for (var p in s)
|
|
104
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
105
|
+
t[p] = s[p];
|
|
106
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
107
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
108
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
109
|
+
t[p[i]] = s[p[i]];
|
|
110
|
+
}
|
|
111
|
+
return t;
|
|
112
|
+
};
|
|
113
|
+
__decorate2 = function(decorators, target, key, desc) {
|
|
114
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
115
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
116
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
117
|
+
else
|
|
118
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
119
|
+
if (d = decorators[i])
|
|
120
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
121
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
122
|
+
};
|
|
123
|
+
__param2 = function(paramIndex, decorator) {
|
|
124
|
+
return function(target, key) {
|
|
125
|
+
decorator(target, key, paramIndex);
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
__metadata2 = function(metadataKey, metadataValue) {
|
|
129
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
130
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
131
|
+
};
|
|
132
|
+
__awaiter2 = function(thisArg, _arguments, P, generator) {
|
|
133
|
+
function adopt(value) {
|
|
134
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
135
|
+
resolve(value);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
139
|
+
function fulfilled(value) {
|
|
140
|
+
try {
|
|
141
|
+
step(generator.next(value));
|
|
142
|
+
} catch (e) {
|
|
143
|
+
reject(e);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function rejected(value) {
|
|
147
|
+
try {
|
|
148
|
+
step(generator["throw"](value));
|
|
149
|
+
} catch (e) {
|
|
150
|
+
reject(e);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function step(result) {
|
|
154
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
155
|
+
}
|
|
156
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
__generator2 = function(thisArg, body) {
|
|
160
|
+
var _ = { label: 0, sent: function() {
|
|
161
|
+
if (t[0] & 1)
|
|
162
|
+
throw t[1];
|
|
163
|
+
return t[1];
|
|
164
|
+
}, trys: [], ops: [] }, f, y, t, g;
|
|
165
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
166
|
+
return this;
|
|
167
|
+
}), g;
|
|
168
|
+
function verb(n) {
|
|
169
|
+
return function(v) {
|
|
170
|
+
return step([n, v]);
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function step(op) {
|
|
174
|
+
if (f)
|
|
175
|
+
throw new TypeError("Generator is already executing.");
|
|
176
|
+
while (_)
|
|
177
|
+
try {
|
|
178
|
+
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)
|
|
179
|
+
return t;
|
|
180
|
+
if (y = 0, t)
|
|
181
|
+
op = [op[0] & 2, t.value];
|
|
182
|
+
switch (op[0]) {
|
|
183
|
+
case 0:
|
|
184
|
+
case 1:
|
|
185
|
+
t = op;
|
|
186
|
+
break;
|
|
187
|
+
case 4:
|
|
188
|
+
_.label++;
|
|
189
|
+
return { value: op[1], done: false };
|
|
190
|
+
case 5:
|
|
191
|
+
_.label++;
|
|
192
|
+
y = op[1];
|
|
193
|
+
op = [0];
|
|
194
|
+
continue;
|
|
195
|
+
case 7:
|
|
196
|
+
op = _.ops.pop();
|
|
197
|
+
_.trys.pop();
|
|
198
|
+
continue;
|
|
199
|
+
default:
|
|
200
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
201
|
+
_ = 0;
|
|
202
|
+
continue;
|
|
203
|
+
}
|
|
204
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
205
|
+
_.label = op[1];
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
209
|
+
_.label = t[1];
|
|
210
|
+
t = op;
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
if (t && _.label < t[2]) {
|
|
214
|
+
_.label = t[2];
|
|
215
|
+
_.ops.push(op);
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
if (t[2])
|
|
219
|
+
_.ops.pop();
|
|
220
|
+
_.trys.pop();
|
|
221
|
+
continue;
|
|
222
|
+
}
|
|
223
|
+
op = body.call(thisArg, _);
|
|
224
|
+
} catch (e) {
|
|
225
|
+
op = [6, e];
|
|
226
|
+
y = 0;
|
|
227
|
+
} finally {
|
|
228
|
+
f = t = 0;
|
|
229
|
+
}
|
|
230
|
+
if (op[0] & 5)
|
|
231
|
+
throw op[1];
|
|
232
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
__exportStar2 = function(m, o) {
|
|
236
|
+
for (var p in m)
|
|
237
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
238
|
+
__createBinding2(o, m, p);
|
|
239
|
+
};
|
|
240
|
+
__createBinding2 = Object.create ? function(o, m, k, k2) {
|
|
241
|
+
if (k2 === void 0)
|
|
242
|
+
k2 = k;
|
|
243
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
244
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
245
|
+
desc = { enumerable: true, get: function() {
|
|
246
|
+
return m[k];
|
|
247
|
+
} };
|
|
248
|
+
}
|
|
249
|
+
Object.defineProperty(o, k2, desc);
|
|
250
|
+
} : function(o, m, k, k2) {
|
|
251
|
+
if (k2 === void 0)
|
|
252
|
+
k2 = k;
|
|
253
|
+
o[k2] = m[k];
|
|
254
|
+
};
|
|
255
|
+
__values2 = function(o) {
|
|
256
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
257
|
+
if (m)
|
|
258
|
+
return m.call(o);
|
|
259
|
+
if (o && typeof o.length === "number")
|
|
260
|
+
return {
|
|
261
|
+
next: function() {
|
|
262
|
+
if (o && i >= o.length)
|
|
263
|
+
o = void 0;
|
|
264
|
+
return { value: o && o[i++], done: !o };
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
268
|
+
};
|
|
269
|
+
__read2 = function(o, n) {
|
|
270
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
271
|
+
if (!m)
|
|
272
|
+
return o;
|
|
273
|
+
var i = m.call(o), r, ar = [], e;
|
|
274
|
+
try {
|
|
275
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
276
|
+
ar.push(r.value);
|
|
277
|
+
} catch (error) {
|
|
278
|
+
e = { error };
|
|
279
|
+
} finally {
|
|
280
|
+
try {
|
|
281
|
+
if (r && !r.done && (m = i["return"]))
|
|
282
|
+
m.call(i);
|
|
283
|
+
} finally {
|
|
284
|
+
if (e)
|
|
285
|
+
throw e.error;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return ar;
|
|
289
|
+
};
|
|
290
|
+
__spread2 = function() {
|
|
291
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
292
|
+
ar = ar.concat(__read2(arguments[i]));
|
|
293
|
+
return ar;
|
|
294
|
+
};
|
|
295
|
+
__spreadArrays2 = function() {
|
|
296
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
297
|
+
s += arguments[i].length;
|
|
298
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
299
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
300
|
+
r[k] = a[j];
|
|
301
|
+
return r;
|
|
302
|
+
};
|
|
303
|
+
__spreadArray2 = function(to, from, pack) {
|
|
304
|
+
if (pack || arguments.length === 2)
|
|
305
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
306
|
+
if (ar || !(i in from)) {
|
|
307
|
+
if (!ar)
|
|
308
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
309
|
+
ar[i] = from[i];
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
313
|
+
};
|
|
314
|
+
__await2 = function(v) {
|
|
315
|
+
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
316
|
+
};
|
|
317
|
+
__asyncGenerator2 = function(thisArg, _arguments, generator) {
|
|
318
|
+
if (!Symbol.asyncIterator)
|
|
319
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
320
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
321
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
322
|
+
return this;
|
|
323
|
+
}, i;
|
|
324
|
+
function verb(n) {
|
|
325
|
+
if (g[n])
|
|
326
|
+
i[n] = function(v) {
|
|
327
|
+
return new Promise(function(a, b) {
|
|
328
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
function resume(n, v) {
|
|
333
|
+
try {
|
|
334
|
+
step(g[n](v));
|
|
335
|
+
} catch (e) {
|
|
336
|
+
settle(q[0][3], e);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
function step(r) {
|
|
340
|
+
r.value instanceof __await2 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
341
|
+
}
|
|
342
|
+
function fulfill(value) {
|
|
343
|
+
resume("next", value);
|
|
344
|
+
}
|
|
345
|
+
function reject(value) {
|
|
346
|
+
resume("throw", value);
|
|
347
|
+
}
|
|
348
|
+
function settle(f, v) {
|
|
349
|
+
if (f(v), q.shift(), q.length)
|
|
350
|
+
resume(q[0][0], q[0][1]);
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
__asyncDelegator2 = function(o) {
|
|
354
|
+
var i, p;
|
|
355
|
+
return i = {}, verb("next"), verb("throw", function(e) {
|
|
356
|
+
throw e;
|
|
357
|
+
}), verb("return"), i[Symbol.iterator] = function() {
|
|
358
|
+
return this;
|
|
359
|
+
}, i;
|
|
360
|
+
function verb(n, f) {
|
|
361
|
+
i[n] = o[n] ? function(v) {
|
|
362
|
+
return (p = !p) ? { value: __await2(o[n](v)), done: n === "return" } : f ? f(v) : v;
|
|
363
|
+
} : f;
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
__asyncValues2 = function(o) {
|
|
367
|
+
if (!Symbol.asyncIterator)
|
|
368
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
369
|
+
var m = o[Symbol.asyncIterator], i;
|
|
370
|
+
return m ? m.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
371
|
+
return this;
|
|
372
|
+
}, i);
|
|
373
|
+
function verb(n) {
|
|
374
|
+
i[n] = o[n] && function(v) {
|
|
375
|
+
return new Promise(function(resolve, reject) {
|
|
376
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
377
|
+
});
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function settle(resolve, reject, d, v) {
|
|
381
|
+
Promise.resolve(v).then(function(v2) {
|
|
382
|
+
resolve({ value: v2, done: d });
|
|
383
|
+
}, reject);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
__makeTemplateObject2 = function(cooked, raw) {
|
|
387
|
+
if (Object.defineProperty) {
|
|
388
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
389
|
+
} else {
|
|
390
|
+
cooked.raw = raw;
|
|
391
|
+
}
|
|
392
|
+
return cooked;
|
|
393
|
+
};
|
|
394
|
+
var __setModuleDefault = Object.create ? function(o, v) {
|
|
395
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
396
|
+
} : function(o, v) {
|
|
397
|
+
o["default"] = v;
|
|
398
|
+
};
|
|
399
|
+
__importStar2 = function(mod) {
|
|
400
|
+
if (mod && mod.__esModule)
|
|
401
|
+
return mod;
|
|
402
|
+
var result = {};
|
|
403
|
+
if (mod != null) {
|
|
404
|
+
for (var k in mod)
|
|
405
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
406
|
+
__createBinding2(result, mod, k);
|
|
407
|
+
}
|
|
408
|
+
__setModuleDefault(result, mod);
|
|
409
|
+
return result;
|
|
410
|
+
};
|
|
411
|
+
__importDefault2 = function(mod) {
|
|
412
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
413
|
+
};
|
|
414
|
+
__classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
415
|
+
if (kind === "a" && !f)
|
|
416
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
417
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
418
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
419
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
420
|
+
};
|
|
421
|
+
__classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
422
|
+
if (kind === "m")
|
|
423
|
+
throw new TypeError("Private method is not writable");
|
|
424
|
+
if (kind === "a" && !f)
|
|
425
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
426
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
427
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
428
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
429
|
+
};
|
|
430
|
+
__classPrivateFieldIn2 = function(state, receiver) {
|
|
431
|
+
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
432
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
433
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
434
|
+
};
|
|
435
|
+
exporter("__extends", __extends2);
|
|
436
|
+
exporter("__assign", __assign2);
|
|
437
|
+
exporter("__rest", __rest2);
|
|
438
|
+
exporter("__decorate", __decorate2);
|
|
439
|
+
exporter("__param", __param2);
|
|
440
|
+
exporter("__metadata", __metadata2);
|
|
441
|
+
exporter("__awaiter", __awaiter2);
|
|
442
|
+
exporter("__generator", __generator2);
|
|
443
|
+
exporter("__exportStar", __exportStar2);
|
|
444
|
+
exporter("__createBinding", __createBinding2);
|
|
445
|
+
exporter("__values", __values2);
|
|
446
|
+
exporter("__read", __read2);
|
|
447
|
+
exporter("__spread", __spread2);
|
|
448
|
+
exporter("__spreadArrays", __spreadArrays2);
|
|
449
|
+
exporter("__spreadArray", __spreadArray2);
|
|
450
|
+
exporter("__await", __await2);
|
|
451
|
+
exporter("__asyncGenerator", __asyncGenerator2);
|
|
452
|
+
exporter("__asyncDelegator", __asyncDelegator2);
|
|
453
|
+
exporter("__asyncValues", __asyncValues2);
|
|
454
|
+
exporter("__makeTemplateObject", __makeTemplateObject2);
|
|
455
|
+
exporter("__importStar", __importStar2);
|
|
456
|
+
exporter("__importDefault", __importDefault2);
|
|
457
|
+
exporter("__classPrivateFieldGet", __classPrivateFieldGet2);
|
|
458
|
+
exporter("__classPrivateFieldSet", __classPrivateFieldSet2);
|
|
459
|
+
exporter("__classPrivateFieldIn", __classPrivateFieldIn2);
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/modules/index.js
|
|
465
|
+
var import_tslib = __toESM(require_tslib(), 1);
|
|
466
|
+
var {
|
|
467
|
+
__extends,
|
|
468
|
+
__assign,
|
|
469
|
+
__rest,
|
|
470
|
+
__decorate,
|
|
471
|
+
__param,
|
|
472
|
+
__metadata,
|
|
473
|
+
__awaiter,
|
|
474
|
+
__generator,
|
|
475
|
+
__exportStar,
|
|
476
|
+
__createBinding,
|
|
477
|
+
__values,
|
|
478
|
+
__read,
|
|
479
|
+
__spread,
|
|
480
|
+
__spreadArrays,
|
|
481
|
+
__spreadArray,
|
|
482
|
+
__await,
|
|
483
|
+
__asyncGenerator,
|
|
484
|
+
__asyncDelegator,
|
|
485
|
+
__asyncValues,
|
|
486
|
+
__makeTemplateObject,
|
|
487
|
+
__importStar,
|
|
488
|
+
__importDefault,
|
|
489
|
+
__classPrivateFieldGet,
|
|
490
|
+
__classPrivateFieldSet,
|
|
491
|
+
__classPrivateFieldIn
|
|
492
|
+
} = import_tslib.default;
|
|
33
493
|
|
|
34
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
494
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
|
|
35
495
|
function CanonicalizeLocaleList(locales) {
|
|
36
496
|
return Intl.getCanonicalLocales(locales);
|
|
37
497
|
}
|
|
38
498
|
|
|
39
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
499
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
40
500
|
function ToString(o) {
|
|
41
501
|
if (typeof o === "symbol") {
|
|
42
502
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -108,7 +568,7 @@
|
|
|
108
568
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
109
569
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
110
570
|
|
|
111
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
571
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
112
572
|
function CoerceOptionsToObject(options) {
|
|
113
573
|
if (typeof options === "undefined") {
|
|
114
574
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -116,7 +576,7 @@
|
|
|
116
576
|
return ToObject(options);
|
|
117
577
|
}
|
|
118
578
|
|
|
119
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
579
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
|
|
120
580
|
function DefaultNumberOption(val, min, max, fallback) {
|
|
121
581
|
if (val !== void 0) {
|
|
122
582
|
val = Number(val);
|
|
@@ -128,13 +588,13 @@
|
|
|
128
588
|
return fallback;
|
|
129
589
|
}
|
|
130
590
|
|
|
131
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
591
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
|
|
132
592
|
function GetNumberOption(options, property, minimum, maximum, fallback) {
|
|
133
593
|
var val = options[property];
|
|
134
594
|
return DefaultNumberOption(val, minimum, maximum, fallback);
|
|
135
595
|
}
|
|
136
596
|
|
|
137
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
597
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
138
598
|
function GetOption(opts, prop, type, values, fallback) {
|
|
139
599
|
if (typeof opts !== "object") {
|
|
140
600
|
throw new TypeError("Options must be an object");
|
|
@@ -160,7 +620,7 @@
|
|
|
160
620
|
return fallback;
|
|
161
621
|
}
|
|
162
622
|
|
|
163
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
623
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
164
624
|
var SANCTIONED_UNITS = [
|
|
165
625
|
"angle-degree",
|
|
166
626
|
"area-acre",
|
|
@@ -211,7 +671,7 @@
|
|
|
211
671
|
}
|
|
212
672
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
213
673
|
|
|
214
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
674
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
215
675
|
function getMagnitude(x) {
|
|
216
676
|
return Math.floor(Math.log(x) * Math.LOG10E);
|
|
217
677
|
}
|
|
@@ -234,7 +694,7 @@
|
|
|
234
694
|
}
|
|
235
695
|
}
|
|
236
696
|
|
|
237
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
697
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
|
|
238
698
|
function ToRawPrecision(x, minPrecision, maxPrecision) {
|
|
239
699
|
var p = maxPrecision;
|
|
240
700
|
var m;
|
|
@@ -292,7 +752,7 @@
|
|
|
292
752
|
}
|
|
293
753
|
}
|
|
294
754
|
|
|
295
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
755
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
|
|
296
756
|
function ToRawFixed(x, minFraction, maxFraction) {
|
|
297
757
|
var f = maxFraction;
|
|
298
758
|
var n = Math.round(x * Math.pow(10, f));
|
|
@@ -332,7 +792,7 @@
|
|
|
332
792
|
return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
|
|
333
793
|
}
|
|
334
794
|
|
|
335
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
795
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
|
|
336
796
|
function FormatNumericToString(intlObject, x) {
|
|
337
797
|
var isNegative = x < 0 || SameValue(x, -0);
|
|
338
798
|
if (isNegative) {
|
|
@@ -368,19 +828,19 @@
|
|
|
368
828
|
return { roundedNumber: x, formattedString: string };
|
|
369
829
|
}
|
|
370
830
|
|
|
371
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
831
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
372
832
|
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]/;
|
|
373
833
|
|
|
374
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
834
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
375
835
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
376
836
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
377
837
|
|
|
378
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
838
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
|
|
379
839
|
function CanonicalizeLocaleList2(locales) {
|
|
380
840
|
return Intl.getCanonicalLocales(locales);
|
|
381
841
|
}
|
|
382
842
|
|
|
383
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
843
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
|
|
384
844
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
385
845
|
function invariant2(condition, message, Err) {
|
|
386
846
|
if (Err === void 0) {
|
|
@@ -391,7 +851,7 @@
|
|
|
391
851
|
}
|
|
392
852
|
}
|
|
393
853
|
|
|
394
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
854
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
|
|
395
855
|
function BestAvailableLocale(availableLocales, locale) {
|
|
396
856
|
var candidate = locale;
|
|
397
857
|
while (true) {
|
|
@@ -409,7 +869,7 @@
|
|
|
409
869
|
}
|
|
410
870
|
}
|
|
411
871
|
|
|
412
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
872
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
|
|
413
873
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
414
874
|
var result = { locale: "" };
|
|
415
875
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -428,7 +888,7 @@
|
|
|
428
888
|
return result;
|
|
429
889
|
}
|
|
430
890
|
|
|
431
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
891
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
|
|
432
892
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
433
893
|
var minimizedAvailableLocaleMap = {};
|
|
434
894
|
var availableLocaleMap = {};
|
|
@@ -476,7 +936,7 @@
|
|
|
476
936
|
};
|
|
477
937
|
}
|
|
478
938
|
|
|
479
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
939
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
|
|
480
940
|
function UnicodeExtensionValue(extension, key) {
|
|
481
941
|
invariant2(key.length === 2, "key must have 2 elements");
|
|
482
942
|
var size = extension.length;
|
|
@@ -515,7 +975,7 @@
|
|
|
515
975
|
return void 0;
|
|
516
976
|
}
|
|
517
977
|
|
|
518
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
978
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
|
|
519
979
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
520
980
|
var matcher = options.localeMatcher;
|
|
521
981
|
var r;
|
|
@@ -579,7 +1039,7 @@
|
|
|
579
1039
|
return result;
|
|
580
1040
|
}
|
|
581
1041
|
|
|
582
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1042
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
|
|
583
1043
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
584
1044
|
var subset = [];
|
|
585
1045
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -593,7 +1053,7 @@
|
|
|
593
1053
|
return subset;
|
|
594
1054
|
}
|
|
595
1055
|
|
|
596
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1056
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
|
|
597
1057
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
598
1058
|
var locales = availableLocales.reduce(function(all, l) {
|
|
599
1059
|
all.add(l);
|
|
@@ -606,7 +1066,7 @@
|
|
|
606
1066
|
}).locale;
|
|
607
1067
|
}
|
|
608
1068
|
|
|
609
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1069
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
|
|
610
1070
|
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
|
|
611
1071
|
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
|
|
612
1072
|
var mnfd = opts.minimumFractionDigits;
|
|
@@ -673,7 +1133,7 @@
|
|
|
673
1133
|
}
|
|
674
1134
|
}
|
|
675
1135
|
|
|
676
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1136
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
|
|
677
1137
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
678
1138
|
var matcher = "best fit";
|
|
679
1139
|
if (options !== void 0) {
|
|
@@ -686,7 +1146,7 @@
|
|
|
686
1146
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
687
1147
|
}
|
|
688
1148
|
|
|
689
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1149
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
690
1150
|
var MissingLocaleDataError = function(_super) {
|
|
691
1151
|
__extends(MissingLocaleDataError2, _super);
|
|
692
1152
|
function MissingLocaleDataError2() {
|
|
@@ -697,7 +1157,7 @@
|
|
|
697
1157
|
return MissingLocaleDataError2;
|
|
698
1158
|
}(Error);
|
|
699
1159
|
|
|
700
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1160
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
701
1161
|
var RangePatternType;
|
|
702
1162
|
(function(RangePatternType2) {
|
|
703
1163
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -705,7 +1165,7 @@
|
|
|
705
1165
|
RangePatternType2["endRange"] = "endRange";
|
|
706
1166
|
})(RangePatternType || (RangePatternType = {}));
|
|
707
1167
|
|
|
708
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1168
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/InitializePluralRules.js
|
|
709
1169
|
function InitializePluralRules(pl, locales, options, _a) {
|
|
710
1170
|
var availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale, getInternalSlots2 = _a.getInternalSlots;
|
|
711
1171
|
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
@@ -722,7 +1182,7 @@
|
|
|
722
1182
|
return pl;
|
|
723
1183
|
}
|
|
724
1184
|
|
|
725
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1185
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/GetOperands.js
|
|
726
1186
|
function GetOperands(s) {
|
|
727
1187
|
invariant(typeof s === "string", "GetOperands should have been called with a string");
|
|
728
1188
|
var n = ToNumber(s);
|
|
@@ -763,7 +1223,7 @@
|
|
|
763
1223
|
};
|
|
764
1224
|
}
|
|
765
1225
|
|
|
766
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1226
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/ResolvePlural.js
|
|
767
1227
|
function ResolvePlural(pl, n, _a) {
|
|
768
1228
|
var getInternalSlots2 = _a.getInternalSlots, PluralRuleSelect2 = _a.PluralRuleSelect;
|
|
769
1229
|
var internalSlots = getInternalSlots2(pl);
|
|
@@ -780,7 +1240,7 @@
|
|
|
780
1240
|
return PluralRuleSelect2(locale, type, n, operands);
|
|
781
1241
|
}
|
|
782
1242
|
|
|
783
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1243
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/get_internal_slots.js
|
|
784
1244
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
785
1245
|
function getInternalSlots(x) {
|
|
786
1246
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -791,7 +1251,7 @@
|
|
|
791
1251
|
return internalSlots;
|
|
792
1252
|
}
|
|
793
1253
|
|
|
794
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1254
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/index.js
|
|
795
1255
|
function validateInstance(instance, method) {
|
|
796
1256
|
if (!(instance instanceof PluralRules)) {
|
|
797
1257
|
throw new TypeError("Method Intl.PluralRules.prototype.".concat(method, " called on incompatible receiver ").concat(String(instance)));
|
|
@@ -905,10 +1365,10 @@
|
|
|
905
1365
|
} catch (ex) {
|
|
906
1366
|
}
|
|
907
1367
|
|
|
908
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1368
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/supported-locales.generated.js
|
|
909
1369
|
var supportedLocales = ["af", "ak", "am", "an", "ar", "ars", "as", "asa", "ast", "az", "bal", "be", "bem", "bez", "bg", "bho", "bm", "bn", "bo", "br", "brx", "bs", "ca", "ce", "ceb", "cgg", "chr", "ckb", "cs", "cy", "da", "de", "doi", "dsb", "dv", "dz", "ee", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fil", "fo", "fr", "fur", "fy", "ga", "gd", "gl", "gsw", "gu", "guw", "gv", "ha", "haw", "he", "hi", "hnj", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "io", "is", "it", "iu", "ja", "jbo", "jgo", "jmc", "jv", "jw", "ka", "kab", "kaj", "kcg", "kde", "kea", "kk", "kkj", "kl", "km", "kn", "ko", "ks", "ksb", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lij", "lkt", "ln", "lo", "lt", "lv", "mas", "mg", "mgo", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "nah", "naq", "nb", "nd", "ne", "nl", "nn", "nnh", "no", "nqo", "nr", "nso", "ny", "nyn", "om", "or", "os", "osa", "pa", "pap", "pcm", "pl", "prg", "ps", "pt", "pt-PT", "rm", "ro", "rof", "ru", "rwk", "sah", "saq", "sat", "sc", "scn", "sd", "sdh", "se", "seh", "ses", "sg", "sh", "shi", "si", "sk", "sl", "sma", "smi", "smj", "smn", "sms", "sn", "so", "sq", "sr", "ss", "ssy", "st", "su", "sv", "sw", "syr", "ta", "te", "teo", "th", "ti", "tig", "tk", "tl", "tn", "to", "tpi", "tr", "ts", "tzm", "ug", "uk", "und", "ur", "uz", "ve", "vi", "vo", "vun", "wa", "wae", "wo", "xh", "xog", "yi", "yo", "yue", "zh", "zu"];
|
|
910
1370
|
|
|
911
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1371
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/should-polyfill.js
|
|
912
1372
|
function supportedLocalesOf(locale) {
|
|
913
1373
|
if (!locale) {
|
|
914
1374
|
return true;
|
|
@@ -925,7 +1385,7 @@
|
|
|
925
1385
|
}
|
|
926
1386
|
}
|
|
927
1387
|
|
|
928
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1388
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/polyfill.js
|
|
929
1389
|
if (shouldPolyfill()) {
|
|
930
1390
|
Object.defineProperty(Intl, "PluralRules", {
|
|
931
1391
|
value: PluralRules,
|