@amazon-devices/kepler-system-info 1.0.2
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/LICENSE +7 -0
- package/README.md +183 -0
- package/SystemBundles/e16a93a86b5ba76c92a98cffc1104c3097bec849eda18c214a4ba641eba38698.bundle +1252 -0
- package/SystemBundles/e16a93a86b5ba76c92a98cffc1104c3097bec849eda18c214a4ba641eba38698.bundle.map +1 -0
- package/SystemModules/amzn__kepler-system-info-1.modules.txt +10 -0
- package/SystemModules/amzn__kepler-system-info-1.private.modules.txt +12 -0
- package/SystemModules/keplerscript-system-bundle-config.json +7 -0
- package/THIRD_PARTY_NOTICES.txt +5993 -0
- package/dist/SystemInfoModule.d.ts +34 -0
- package/dist/SystemInfoModule.js +52 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +27 -0
- package/dist/kepler/tm-manifest.json +1 -0
- package/dist/turbo-modules/NativeSystemInfo.d.ts +18 -0
- package/dist/turbo-modules/NativeSystemInfo.js +4 -0
- package/dist/turbo-modules/interfaces/IBuildInfo.d.ts +55 -0
- package/dist/turbo-modules/interfaces/IBuildInfo.js +2 -0
- package/dist/turbo-modules/interfaces/IOperatingSystemInfo.d.ts +41 -0
- package/dist/turbo-modules/interfaces/IOperatingSystemInfo.js +2 -0
- package/dist/turbo-modules/interfaces/ISystemInfo.d.ts +25 -0
- package/dist/turbo-modules/interfaces/ISystemInfo.js +2 -0
- package/dist/turbo-modules/interfaces/index.d.ts +3 -0
- package/dist/turbo-modules/interfaces/index.js +2 -0
- package/dist/turbo-modules/types/BuildInfo.d.ts +10 -0
- package/dist/turbo-modules/types/BuildInfo.js +30 -0
- package/dist/turbo-modules/types/MonotonicDuration.d.ts +10 -0
- package/dist/turbo-modules/types/MonotonicDuration.js +14 -0
- package/dist/turbo-modules/types/OperatingSystemInfo.d.ts +8 -0
- package/dist/turbo-modules/types/OperatingSystemInfo.js +25 -0
- package/dist/turbo-modules/types/RawTimeValue.d.ts +8 -0
- package/dist/turbo-modules/types/RawTimeValue.js +14 -0
- package/dist/turbo-modules/types/RealTimeInstant.d.ts +10 -0
- package/dist/turbo-modules/types/RealTimeInstant.js +14 -0
- package/dist/turbo-modules/types/SystemInfo.d.ts +8 -0
- package/dist/turbo-modules/types/SystemInfo.js +22 -0
- package/dist/turbo-modules/types/index.d.ts +4 -0
- package/dist/turbo-modules/types/index.js +14 -0
- package/kepler-compatibility.json +6 -0
- package/kepler-transformed-package-info.json +3 -0
- package/package.json +1 -0
- package/react-native.config.js +17 -0
|
@@ -0,0 +1,1252 @@
|
|
|
1
|
+
var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||"production";
|
|
2
|
+
(function (global) {
|
|
3
|
+
/**
|
|
4
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*
|
|
9
|
+
* @polyfill
|
|
10
|
+
* @nolint
|
|
11
|
+
* @format
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This pipes all of our console logging functions to native logging so that
|
|
18
|
+
* JavaScript errors in required modules show up in Xcode via NSLog.
|
|
19
|
+
*/
|
|
20
|
+
var inspect = function () {
|
|
21
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
22
|
+
//
|
|
23
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
24
|
+
// copy of this software and associated documentation files (the
|
|
25
|
+
// "Software"), to deal in the Software without restriction, including
|
|
26
|
+
// without limitation the rights to use, copy, modify, merge, publish,
|
|
27
|
+
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
28
|
+
// persons to whom the Software is furnished to do so, subject to the
|
|
29
|
+
// following conditions:
|
|
30
|
+
//
|
|
31
|
+
// The above copyright notice and this permission notice shall be included
|
|
32
|
+
// in all copies or substantial portions of the Software.
|
|
33
|
+
//
|
|
34
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
35
|
+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
36
|
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
37
|
+
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
38
|
+
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
39
|
+
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
40
|
+
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
41
|
+
//
|
|
42
|
+
// https://github.com/joyent/node/blob/master/lib/util.js
|
|
43
|
+
|
|
44
|
+
function inspect(obj, opts) {
|
|
45
|
+
var ctx = {
|
|
46
|
+
seen: [],
|
|
47
|
+
formatValueCalls: 0,
|
|
48
|
+
stylize: stylizeNoColor
|
|
49
|
+
};
|
|
50
|
+
return formatValue(ctx, obj, opts.depth);
|
|
51
|
+
}
|
|
52
|
+
function stylizeNoColor(str, styleType) {
|
|
53
|
+
return str;
|
|
54
|
+
}
|
|
55
|
+
function arrayToHash(array) {
|
|
56
|
+
var hash = {};
|
|
57
|
+
array.forEach(function (val, idx) {
|
|
58
|
+
hash[val] = true;
|
|
59
|
+
});
|
|
60
|
+
return hash;
|
|
61
|
+
}
|
|
62
|
+
function formatValue(ctx, value, recurseTimes) {
|
|
63
|
+
ctx.formatValueCalls++;
|
|
64
|
+
if (ctx.formatValueCalls > 200) {
|
|
65
|
+
return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Primitive types cannot have properties
|
|
69
|
+
var primitive = formatPrimitive(ctx, value);
|
|
70
|
+
if (primitive) {
|
|
71
|
+
return primitive;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Look up the keys of the object.
|
|
75
|
+
var keys = Object.keys(value);
|
|
76
|
+
var visibleKeys = arrayToHash(keys);
|
|
77
|
+
|
|
78
|
+
// IE doesn't make error fields non-enumerable
|
|
79
|
+
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
|
80
|
+
if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
|
81
|
+
return formatError(value);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Some type of object without properties can be shortcutted.
|
|
85
|
+
if (keys.length === 0) {
|
|
86
|
+
if (isFunction(value)) {
|
|
87
|
+
var name = value.name ? ': ' + value.name : '';
|
|
88
|
+
return ctx.stylize('[Function' + name + ']', 'special');
|
|
89
|
+
}
|
|
90
|
+
if (isRegExp(value)) {
|
|
91
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
92
|
+
}
|
|
93
|
+
if (isDate(value)) {
|
|
94
|
+
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
|
95
|
+
}
|
|
96
|
+
if (isError(value)) {
|
|
97
|
+
return formatError(value);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
var base = '',
|
|
101
|
+
array = false,
|
|
102
|
+
braces = ['{', '}'];
|
|
103
|
+
|
|
104
|
+
// Make Array say that they are Array
|
|
105
|
+
if (isArray(value)) {
|
|
106
|
+
array = true;
|
|
107
|
+
braces = ['[', ']'];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Make functions say that they are functions
|
|
111
|
+
if (isFunction(value)) {
|
|
112
|
+
var n = value.name ? ': ' + value.name : '';
|
|
113
|
+
base = ' [Function' + n + ']';
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Make RegExps say that they are RegExps
|
|
117
|
+
if (isRegExp(value)) {
|
|
118
|
+
base = ' ' + RegExp.prototype.toString.call(value);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Make dates with properties first say the date
|
|
122
|
+
if (isDate(value)) {
|
|
123
|
+
base = ' ' + Date.prototype.toUTCString.call(value);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Make error with message first say the error
|
|
127
|
+
if (isError(value)) {
|
|
128
|
+
base = ' ' + formatError(value);
|
|
129
|
+
}
|
|
130
|
+
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
131
|
+
return braces[0] + base + braces[1];
|
|
132
|
+
}
|
|
133
|
+
if (recurseTimes < 0) {
|
|
134
|
+
if (isRegExp(value)) {
|
|
135
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
136
|
+
} else {
|
|
137
|
+
return ctx.stylize('[Object]', 'special');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
ctx.seen.push(value);
|
|
141
|
+
var output;
|
|
142
|
+
if (array) {
|
|
143
|
+
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
144
|
+
} else {
|
|
145
|
+
output = keys.map(function (key) {
|
|
146
|
+
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
ctx.seen.pop();
|
|
150
|
+
return reduceToSingleString(output, base, braces);
|
|
151
|
+
}
|
|
152
|
+
function formatPrimitive(ctx, value) {
|
|
153
|
+
if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');
|
|
154
|
+
if (isString(value)) {
|
|
155
|
+
var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
156
|
+
return ctx.stylize(simple, 'string');
|
|
157
|
+
}
|
|
158
|
+
if (isNumber(value)) return ctx.stylize('' + value, 'number');
|
|
159
|
+
if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');
|
|
160
|
+
// For some reason typeof null is "object", so special case here.
|
|
161
|
+
if (isNull(value)) return ctx.stylize('null', 'null');
|
|
162
|
+
}
|
|
163
|
+
function formatError(value) {
|
|
164
|
+
return '[' + Error.prototype.toString.call(value) + ']';
|
|
165
|
+
}
|
|
166
|
+
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
167
|
+
var output = [];
|
|
168
|
+
for (var i = 0, l = value.length; i < l; ++i) {
|
|
169
|
+
if (hasOwnProperty(value, String(i))) {
|
|
170
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));
|
|
171
|
+
} else {
|
|
172
|
+
output.push('');
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
keys.forEach(function (key) {
|
|
176
|
+
if (!key.match(/^\d+$/)) {
|
|
177
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
return output;
|
|
181
|
+
}
|
|
182
|
+
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
183
|
+
var name, str, desc;
|
|
184
|
+
desc = Object.getOwnPropertyDescriptor(value, key) || {
|
|
185
|
+
value: value[key]
|
|
186
|
+
};
|
|
187
|
+
if (desc.get) {
|
|
188
|
+
if (desc.set) {
|
|
189
|
+
str = ctx.stylize('[Getter/Setter]', 'special');
|
|
190
|
+
} else {
|
|
191
|
+
str = ctx.stylize('[Getter]', 'special');
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
if (desc.set) {
|
|
195
|
+
str = ctx.stylize('[Setter]', 'special');
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
if (!hasOwnProperty(visibleKeys, key)) {
|
|
199
|
+
name = '[' + key + ']';
|
|
200
|
+
}
|
|
201
|
+
if (!str) {
|
|
202
|
+
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
203
|
+
if (isNull(recurseTimes)) {
|
|
204
|
+
str = formatValue(ctx, desc.value, null);
|
|
205
|
+
} else {
|
|
206
|
+
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
207
|
+
}
|
|
208
|
+
if (str.indexOf('\n') > -1) {
|
|
209
|
+
if (array) {
|
|
210
|
+
str = str.split('\n').map(function (line) {
|
|
211
|
+
return ' ' + line;
|
|
212
|
+
}).join('\n').substr(2);
|
|
213
|
+
} else {
|
|
214
|
+
str = '\n' + str.split('\n').map(function (line) {
|
|
215
|
+
return ' ' + line;
|
|
216
|
+
}).join('\n');
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
} else {
|
|
220
|
+
str = ctx.stylize('[Circular]', 'special');
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
if (isUndefined(name)) {
|
|
224
|
+
if (array && key.match(/^\d+$/)) {
|
|
225
|
+
return str;
|
|
226
|
+
}
|
|
227
|
+
name = JSON.stringify('' + key);
|
|
228
|
+
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
229
|
+
name = name.substr(1, name.length - 2);
|
|
230
|
+
name = ctx.stylize(name, 'name');
|
|
231
|
+
} else {
|
|
232
|
+
name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
|
233
|
+
name = ctx.stylize(name, 'string');
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
return name + ': ' + str;
|
|
237
|
+
}
|
|
238
|
+
function reduceToSingleString(output, base, braces) {
|
|
239
|
+
var numLinesEst = 0;
|
|
240
|
+
var length = output.reduce(function (prev, cur) {
|
|
241
|
+
numLinesEst++;
|
|
242
|
+
if (cur.indexOf('\n') >= 0) numLinesEst++;
|
|
243
|
+
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
|
244
|
+
}, 0);
|
|
245
|
+
if (length > 60) {
|
|
246
|
+
return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1];
|
|
247
|
+
}
|
|
248
|
+
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
252
|
+
// because it is fragile and can be easily faked with `Object.create()`.
|
|
253
|
+
function isArray(ar) {
|
|
254
|
+
return Array.isArray(ar);
|
|
255
|
+
}
|
|
256
|
+
function isBoolean(arg) {
|
|
257
|
+
return typeof arg === 'boolean';
|
|
258
|
+
}
|
|
259
|
+
function isNull(arg) {
|
|
260
|
+
return arg === null;
|
|
261
|
+
}
|
|
262
|
+
function isNumber(arg) {
|
|
263
|
+
return typeof arg === 'number';
|
|
264
|
+
}
|
|
265
|
+
function isString(arg) {
|
|
266
|
+
return typeof arg === 'string';
|
|
267
|
+
}
|
|
268
|
+
function isUndefined(arg) {
|
|
269
|
+
return arg === undefined;
|
|
270
|
+
}
|
|
271
|
+
function isRegExp(re) {
|
|
272
|
+
return isObject(re) && objectToString(re) === '[object RegExp]';
|
|
273
|
+
}
|
|
274
|
+
function isObject(arg) {
|
|
275
|
+
return typeof arg === 'object' && arg !== null;
|
|
276
|
+
}
|
|
277
|
+
function isDate(d) {
|
|
278
|
+
return isObject(d) && objectToString(d) === '[object Date]';
|
|
279
|
+
}
|
|
280
|
+
function isError(e) {
|
|
281
|
+
return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);
|
|
282
|
+
}
|
|
283
|
+
function isFunction(arg) {
|
|
284
|
+
return typeof arg === 'function';
|
|
285
|
+
}
|
|
286
|
+
function objectToString(o) {
|
|
287
|
+
return Object.prototype.toString.call(o);
|
|
288
|
+
}
|
|
289
|
+
function hasOwnProperty(obj, prop) {
|
|
290
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
291
|
+
}
|
|
292
|
+
return inspect;
|
|
293
|
+
}();
|
|
294
|
+
var OBJECT_COLUMN_NAME = '(index)';
|
|
295
|
+
var LOG_LEVELS = {
|
|
296
|
+
trace: 0,
|
|
297
|
+
info: 1,
|
|
298
|
+
warn: 2,
|
|
299
|
+
error: 3
|
|
300
|
+
};
|
|
301
|
+
var INSPECTOR_LEVELS = [];
|
|
302
|
+
INSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';
|
|
303
|
+
INSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';
|
|
304
|
+
INSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';
|
|
305
|
+
INSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';
|
|
306
|
+
|
|
307
|
+
// Strip the inner function in getNativeLogFunction(), if in dev also
|
|
308
|
+
// strip method printing to originalConsole.
|
|
309
|
+
var INSPECTOR_FRAMES_TO_SKIP = 1;
|
|
310
|
+
function getNativeLogFunction(level) {
|
|
311
|
+
return function () {
|
|
312
|
+
var str;
|
|
313
|
+
if (arguments.length === 1 && typeof arguments[0] === 'string') {
|
|
314
|
+
str = arguments[0];
|
|
315
|
+
} else {
|
|
316
|
+
str = Array.prototype.map.call(arguments, function (arg) {
|
|
317
|
+
return inspect(arg, {
|
|
318
|
+
depth: 10
|
|
319
|
+
});
|
|
320
|
+
}).join(', ');
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
// TRICKY
|
|
324
|
+
// If more than one argument is provided, the code above collapses them all
|
|
325
|
+
// into a single formatted string. This transform wraps string arguments in
|
|
326
|
+
// single quotes (e.g. "foo" -> "'foo'") which then breaks the "Warning:"
|
|
327
|
+
// check below. So it's important that we look at the first argument, rather
|
|
328
|
+
// than the formatted argument string.
|
|
329
|
+
var firstArg = arguments[0];
|
|
330
|
+
var logLevel = level;
|
|
331
|
+
if (typeof firstArg === 'string' && firstArg.slice(0, 9) === 'Warning: ' && logLevel >= LOG_LEVELS.error) {
|
|
332
|
+
// React warnings use console.error so that a stack trace is shown,
|
|
333
|
+
// but we don't (currently) want these to show a redbox
|
|
334
|
+
// (Note: Logic duplicated in ExceptionsManager.js.)
|
|
335
|
+
logLevel = LOG_LEVELS.warn;
|
|
336
|
+
}
|
|
337
|
+
if (global.__inspectorLog) {
|
|
338
|
+
global.__inspectorLog(INSPECTOR_LEVELS[logLevel], str, [].slice.call(arguments), INSPECTOR_FRAMES_TO_SKIP);
|
|
339
|
+
}
|
|
340
|
+
if (groupStack.length) {
|
|
341
|
+
str = groupFormat('', str);
|
|
342
|
+
}
|
|
343
|
+
global.nativeLoggingHook(str, logLevel);
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
function repeat(element, n) {
|
|
347
|
+
return Array.apply(null, Array(n)).map(function () {
|
|
348
|
+
return element;
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
function consoleTablePolyfill(rows) {
|
|
352
|
+
// convert object -> array
|
|
353
|
+
if (!Array.isArray(rows)) {
|
|
354
|
+
var data = rows;
|
|
355
|
+
rows = [];
|
|
356
|
+
for (var key in data) {
|
|
357
|
+
if (data.hasOwnProperty(key)) {
|
|
358
|
+
var row = data[key];
|
|
359
|
+
row[OBJECT_COLUMN_NAME] = key;
|
|
360
|
+
rows.push(row);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
if (rows.length === 0) {
|
|
365
|
+
global.nativeLoggingHook('', LOG_LEVELS.info);
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
var columns = Object.keys(rows[0]).sort();
|
|
369
|
+
var stringRows = [];
|
|
370
|
+
var columnWidths = [];
|
|
371
|
+
|
|
372
|
+
// Convert each cell to a string. Also
|
|
373
|
+
// figure out max cell width for each column
|
|
374
|
+
columns.forEach(function (k, i) {
|
|
375
|
+
columnWidths[i] = k.length;
|
|
376
|
+
for (var j = 0; j < rows.length; j++) {
|
|
377
|
+
var cellStr = (rows[j][k] || '?').toString();
|
|
378
|
+
stringRows[j] = stringRows[j] || [];
|
|
379
|
+
stringRows[j][i] = cellStr;
|
|
380
|
+
columnWidths[i] = Math.max(columnWidths[i], cellStr.length);
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
|
|
384
|
+
// Join all elements in the row into a single string with | separators
|
|
385
|
+
// (appends extra spaces to each cell to make separators | aligned)
|
|
386
|
+
function joinRow(row, space) {
|
|
387
|
+
var cells = row.map(function (cell, i) {
|
|
388
|
+
var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');
|
|
389
|
+
return cell + extraSpaces;
|
|
390
|
+
});
|
|
391
|
+
space = space || ' ';
|
|
392
|
+
return cells.join(space + '|' + space);
|
|
393
|
+
}
|
|
394
|
+
var separators = columnWidths.map(function (columnWidth) {
|
|
395
|
+
return repeat('-', columnWidth).join('');
|
|
396
|
+
});
|
|
397
|
+
var separatorRow = joinRow(separators, '-');
|
|
398
|
+
var header = joinRow(columns);
|
|
399
|
+
var table = [header, separatorRow];
|
|
400
|
+
for (var i = 0; i < rows.length; i++) {
|
|
401
|
+
table.push(joinRow(stringRows[i]));
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Notice extra empty line at the beginning.
|
|
405
|
+
// Native logging hook adds "RCTLog >" at the front of every
|
|
406
|
+
// logged string, which would shift the header and screw up
|
|
407
|
+
// the table
|
|
408
|
+
global.nativeLoggingHook('\n' + table.join('\n'), LOG_LEVELS.info);
|
|
409
|
+
}
|
|
410
|
+
var GROUP_PAD = "\u2502"; // Box light vertical
|
|
411
|
+
var GROUP_OPEN = "\u2510"; // Box light down+left
|
|
412
|
+
var GROUP_CLOSE = "\u2518"; // Box light up+left
|
|
413
|
+
|
|
414
|
+
var groupStack = [];
|
|
415
|
+
function groupFormat(prefix, msg) {
|
|
416
|
+
// Insert group formatting before the console message
|
|
417
|
+
return groupStack.join('') + prefix + ' ' + (msg || '');
|
|
418
|
+
}
|
|
419
|
+
function consoleGroupPolyfill(label) {
|
|
420
|
+
global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);
|
|
421
|
+
groupStack.push(GROUP_PAD);
|
|
422
|
+
}
|
|
423
|
+
function consoleGroupCollapsedPolyfill(label) {
|
|
424
|
+
global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);
|
|
425
|
+
groupStack.push(GROUP_PAD);
|
|
426
|
+
}
|
|
427
|
+
function consoleGroupEndPolyfill() {
|
|
428
|
+
groupStack.pop();
|
|
429
|
+
global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);
|
|
430
|
+
}
|
|
431
|
+
function consoleAssertPolyfill(expression, label) {
|
|
432
|
+
if (!expression) {
|
|
433
|
+
global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
if (global.nativeLoggingHook) {
|
|
437
|
+
var originalConsole = global.console;
|
|
438
|
+
// Preserve the original `console` as `originalConsole`
|
|
439
|
+
|
|
440
|
+
global.console = {
|
|
441
|
+
error: getNativeLogFunction(LOG_LEVELS.error),
|
|
442
|
+
info: getNativeLogFunction(LOG_LEVELS.info),
|
|
443
|
+
log: getNativeLogFunction(LOG_LEVELS.info),
|
|
444
|
+
warn: getNativeLogFunction(LOG_LEVELS.warn),
|
|
445
|
+
trace: getNativeLogFunction(LOG_LEVELS.trace),
|
|
446
|
+
debug: getNativeLogFunction(LOG_LEVELS.trace),
|
|
447
|
+
table: consoleTablePolyfill,
|
|
448
|
+
group: consoleGroupPolyfill,
|
|
449
|
+
groupEnd: consoleGroupEndPolyfill,
|
|
450
|
+
groupCollapsed: consoleGroupCollapsedPolyfill,
|
|
451
|
+
assert: consoleAssertPolyfill
|
|
452
|
+
};
|
|
453
|
+
Object.defineProperty(console, '_isPolyfilled', {
|
|
454
|
+
value: true,
|
|
455
|
+
enumerable: false
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
// If available, also call the original `console` method since that is
|
|
459
|
+
// sometimes useful. Ex: on OS X, this will let you see rich output in
|
|
460
|
+
// the Safari Web Inspector console.
|
|
461
|
+
} else if (!global.console) {
|
|
462
|
+
var stub = function stub() {};
|
|
463
|
+
var log = global.print || stub;
|
|
464
|
+
global.console = {
|
|
465
|
+
debug: log,
|
|
466
|
+
error: log,
|
|
467
|
+
info: log,
|
|
468
|
+
log: log,
|
|
469
|
+
trace: log,
|
|
470
|
+
warn: log,
|
|
471
|
+
assert: function assert(expression, label) {
|
|
472
|
+
if (!expression) {
|
|
473
|
+
log('Assertion failed: ' + label);
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
clear: stub,
|
|
477
|
+
dir: stub,
|
|
478
|
+
dirxml: stub,
|
|
479
|
+
group: stub,
|
|
480
|
+
groupCollapsed: stub,
|
|
481
|
+
groupEnd: stub,
|
|
482
|
+
profile: stub,
|
|
483
|
+
profileEnd: stub,
|
|
484
|
+
table: stub
|
|
485
|
+
};
|
|
486
|
+
Object.defineProperty(console, '_isPolyfilled', {
|
|
487
|
+
value: true,
|
|
488
|
+
enumerable: false
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
492
|
+
(function (global) {
|
|
493
|
+
/**
|
|
494
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
495
|
+
*
|
|
496
|
+
* This source code is licensed under the MIT license found in the
|
|
497
|
+
* LICENSE file in the root directory of this source tree.
|
|
498
|
+
*
|
|
499
|
+
* @format
|
|
500
|
+
*
|
|
501
|
+
* @polyfill
|
|
502
|
+
*/
|
|
503
|
+
|
|
504
|
+
var _inGuard = 0;
|
|
505
|
+
/**
|
|
506
|
+
* This is the error handler that is called when we encounter an exception
|
|
507
|
+
* when loading a module. This will report any errors encountered before
|
|
508
|
+
* ExceptionsManager is configured.
|
|
509
|
+
*/
|
|
510
|
+
var _globalHandler = function onError(e, isFatal) {
|
|
511
|
+
throw e;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* The particular require runtime that we are using looks for a global
|
|
516
|
+
* `ErrorUtils` object and if it exists, then it requires modules with the
|
|
517
|
+
* error handler specified via ErrorUtils.setGlobalHandler by calling the
|
|
518
|
+
* require function with applyWithGuard. Since the require module is loaded
|
|
519
|
+
* before any of the modules, this ErrorUtils must be defined (and the handler
|
|
520
|
+
* set) globally before requiring anything.
|
|
521
|
+
*/
|
|
522
|
+
var ErrorUtils = {
|
|
523
|
+
setGlobalHandler: function setGlobalHandler(fun) {
|
|
524
|
+
_globalHandler = fun;
|
|
525
|
+
},
|
|
526
|
+
getGlobalHandler: function getGlobalHandler() {
|
|
527
|
+
return _globalHandler;
|
|
528
|
+
},
|
|
529
|
+
reportError: function reportError(error) {
|
|
530
|
+
_globalHandler && _globalHandler(error, false);
|
|
531
|
+
},
|
|
532
|
+
reportFatalError: function reportFatalError(error) {
|
|
533
|
+
// NOTE: This has an untyped call site in Metro.
|
|
534
|
+
_globalHandler && _globalHandler(error, true);
|
|
535
|
+
},
|
|
536
|
+
applyWithGuard: function applyWithGuard(fun, context, args,
|
|
537
|
+
// Unused, but some code synced from www sets it to null.
|
|
538
|
+
unused_onError,
|
|
539
|
+
// Some callers pass a name here, which we ignore.
|
|
540
|
+
unused_name) {
|
|
541
|
+
try {
|
|
542
|
+
_inGuard++;
|
|
543
|
+
/* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,
|
|
544
|
+
* null) is fine. (2) array -> rest array should work */
|
|
545
|
+
/* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,
|
|
546
|
+
* null) is fine. (2) array -> rest array should work */
|
|
547
|
+
return fun.apply(context, args);
|
|
548
|
+
} catch (e) {
|
|
549
|
+
ErrorUtils.reportError(e);
|
|
550
|
+
} finally {
|
|
551
|
+
_inGuard--;
|
|
552
|
+
}
|
|
553
|
+
return null;
|
|
554
|
+
},
|
|
555
|
+
applyWithGuardIfNeeded: function applyWithGuardIfNeeded(fun, context, args) {
|
|
556
|
+
if (ErrorUtils.inGuard()) {
|
|
557
|
+
/* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,
|
|
558
|
+
* null) is fine. (2) array -> rest array should work */
|
|
559
|
+
/* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,
|
|
560
|
+
* null) is fine. (2) array -> rest array should work */
|
|
561
|
+
return fun.apply(context, args);
|
|
562
|
+
} else {
|
|
563
|
+
ErrorUtils.applyWithGuard(fun, context, args);
|
|
564
|
+
}
|
|
565
|
+
return null;
|
|
566
|
+
},
|
|
567
|
+
inGuard: function inGuard() {
|
|
568
|
+
return !!_inGuard;
|
|
569
|
+
},
|
|
570
|
+
guard: function guard(fun, name, context) {
|
|
571
|
+
var _ref;
|
|
572
|
+
// TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types
|
|
573
|
+
// should be sufficient.
|
|
574
|
+
if (typeof fun !== 'function') {
|
|
575
|
+
console.warn('A function must be passed to ErrorUtils.guard, got ', fun);
|
|
576
|
+
return null;
|
|
577
|
+
}
|
|
578
|
+
var guardName = (_ref = name != null ? name : fun.name) != null ? _ref : '<generated guard>';
|
|
579
|
+
/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
|
|
580
|
+
* Flow's LTI update could not be added via codemod */
|
|
581
|
+
function guarded() {
|
|
582
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
583
|
+
args[_key] = arguments[_key];
|
|
584
|
+
}
|
|
585
|
+
return ErrorUtils.applyWithGuard(fun, context != null ? context : this, args, null, guardName);
|
|
586
|
+
}
|
|
587
|
+
return guarded;
|
|
588
|
+
}
|
|
589
|
+
};
|
|
590
|
+
global.ErrorUtils = ErrorUtils;
|
|
591
|
+
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
592
|
+
(function (global) {
|
|
593
|
+
/**
|
|
594
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
595
|
+
*
|
|
596
|
+
* This source code is licensed under the MIT license found in the
|
|
597
|
+
* LICENSE file in the root directory of this source tree.
|
|
598
|
+
*
|
|
599
|
+
* @format
|
|
600
|
+
* @polyfill
|
|
601
|
+
* @nolint
|
|
602
|
+
*/
|
|
603
|
+
|
|
604
|
+
(function () {
|
|
605
|
+
'use strict';
|
|
606
|
+
|
|
607
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Returns an array of the given object's own enumerable entries.
|
|
611
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
|
|
612
|
+
*/
|
|
613
|
+
if (typeof Object.entries !== 'function') {
|
|
614
|
+
Object.entries = function (object) {
|
|
615
|
+
// `null` and `undefined` values are not allowed.
|
|
616
|
+
if (object == null) {
|
|
617
|
+
throw new TypeError('Object.entries called on non-object');
|
|
618
|
+
}
|
|
619
|
+
var entries = [];
|
|
620
|
+
for (var key in object) {
|
|
621
|
+
if (hasOwnProperty.call(object, key)) {
|
|
622
|
+
entries.push([key, object[key]]);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
return entries;
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Returns an array of the given object's own enumerable entries.
|
|
631
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values
|
|
632
|
+
*/
|
|
633
|
+
if (typeof Object.values !== 'function') {
|
|
634
|
+
Object.values = function (object) {
|
|
635
|
+
// `null` and `undefined` values are not allowed.
|
|
636
|
+
if (object == null) {
|
|
637
|
+
throw new TypeError('Object.values called on non-object');
|
|
638
|
+
}
|
|
639
|
+
var values = [];
|
|
640
|
+
for (var key in object) {
|
|
641
|
+
if (hasOwnProperty.call(object, key)) {
|
|
642
|
+
values.push(object[key]);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
return values;
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
})();
|
|
649
|
+
})(typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this);
|
|
650
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
651
|
+
"use strict";
|
|
652
|
+
|
|
653
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
654
|
+
return mod && mod.__esModule ? mod : {
|
|
655
|
+
"default": mod
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
Object.defineProperty(exports, "__esModule", {
|
|
659
|
+
value: true
|
|
660
|
+
});
|
|
661
|
+
exports.MonotonicDuration = exports.RealTimeInstant = exports.RawTimeValue = exports.SystemInfoModule = undefined;
|
|
662
|
+
/*
|
|
663
|
+
* Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
|
|
664
|
+
*
|
|
665
|
+
* AMAZON PROPRIETARY/CONFIDENTIAL
|
|
666
|
+
*
|
|
667
|
+
* You may not use this file except in compliance with the terms and
|
|
668
|
+
* conditions set forth in the accompanying LICENSE.TXT file.
|
|
669
|
+
*
|
|
670
|
+
* THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
|
|
671
|
+
* DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
|
|
672
|
+
* IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
|
673
|
+
* FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
674
|
+
*/
|
|
675
|
+
|
|
676
|
+
Object.defineProperty(exports, "SystemInfoModule", {
|
|
677
|
+
enumerable: true,
|
|
678
|
+
get: function get() {
|
|
679
|
+
return __importDefault(_$$_REQUIRE(_dependencyMap[0])).default;
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
Object.defineProperty(exports, "RawTimeValue", {
|
|
683
|
+
enumerable: true,
|
|
684
|
+
get: function get() {
|
|
685
|
+
return _$$_REQUIRE(_dependencyMap[1]).RawTimeValue;
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
Object.defineProperty(exports, "RealTimeInstant", {
|
|
689
|
+
enumerable: true,
|
|
690
|
+
get: function get() {
|
|
691
|
+
return _$$_REQUIRE(_dependencyMap[1]).RealTimeInstant;
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
Object.defineProperty(exports, "MonotonicDuration", {
|
|
695
|
+
enumerable: true,
|
|
696
|
+
get: function get() {
|
|
697
|
+
return _$$_REQUIRE(_dependencyMap[1]).MonotonicDuration;
|
|
698
|
+
}
|
|
699
|
+
});
|
|
700
|
+
},"bd732e0c1a6eca0047a7",["7428e59a76973cd40f95","f623efdffc616cf48a67"]);
|
|
701
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
702
|
+
"use strict";
|
|
703
|
+
|
|
704
|
+
/*
|
|
705
|
+
* Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
|
|
706
|
+
*
|
|
707
|
+
* AMAZON PROPRIETARY/CONFIDENTIAL
|
|
708
|
+
*
|
|
709
|
+
* You may not use this file except in compliance with the terms and
|
|
710
|
+
* conditions set forth in the accompanying LICENSE.TXT file.
|
|
711
|
+
*
|
|
712
|
+
* THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
|
|
713
|
+
* DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
|
|
714
|
+
* IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
|
715
|
+
* FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
716
|
+
*/
|
|
717
|
+
Object.defineProperty(exports, "__esModule", {
|
|
718
|
+
value: true
|
|
719
|
+
});
|
|
720
|
+
/**
|
|
721
|
+
* System Information APIs
|
|
722
|
+
*
|
|
723
|
+
* The package "@amzn/kepler-system-info" provides interfaces for querying basic
|
|
724
|
+
* system-level information about the running operating system instance,
|
|
725
|
+
* including:
|
|
726
|
+
* - System uptime
|
|
727
|
+
* - Operating system version and name
|
|
728
|
+
* - Build information
|
|
729
|
+
* - System emulation status
|
|
730
|
+
*
|
|
731
|
+
* Key interfaces:
|
|
732
|
+
* - {@link SystemInfoModule}: Entry point for accessing system information.
|
|
733
|
+
* - {@link ISystemInfo}: Core interface for querying system information.
|
|
734
|
+
* - {@link IOperatingSystemInfo}: Interface for querying operating system information.
|
|
735
|
+
* - {@link IBuildInfo}: Interface for querying build-specific information.
|
|
736
|
+
*
|
|
737
|
+
* Example usage:
|
|
738
|
+
* ```ts
|
|
739
|
+
* import SystemInfoModule from "@amzn/kepler-system-info"
|
|
740
|
+
* let systemInfo = SystemInfoModule.getSystemInfo();
|
|
741
|
+
* let uptime = await systemInfo.getUptime();
|
|
742
|
+
* ```
|
|
743
|
+
*/
|
|
744
|
+
var SystemInfoModule = /*#__PURE__*/function () {
|
|
745
|
+
function SystemInfoModule() {
|
|
746
|
+
_$$_REQUIRE(_dependencyMap[0])(this, SystemInfoModule);
|
|
747
|
+
}
|
|
748
|
+
return _$$_REQUIRE(_dependencyMap[1])(SystemInfoModule, null, [{
|
|
749
|
+
key: "getSystemInfo",
|
|
750
|
+
value:
|
|
751
|
+
/**
|
|
752
|
+
* Returns the instance of {@link ISystemInfo} for querying system
|
|
753
|
+
* information.
|
|
754
|
+
*
|
|
755
|
+
* @return instance of {@link ISystemInfo} for querying system information.
|
|
756
|
+
*/
|
|
757
|
+
function getSystemInfo() {
|
|
758
|
+
return new (_$$_REQUIRE(_dependencyMap[2]).SystemInfo)();
|
|
759
|
+
}
|
|
760
|
+
}]);
|
|
761
|
+
}();
|
|
762
|
+
exports.default = SystemInfoModule;
|
|
763
|
+
},"7428e59a76973cd40f95",["cf3c049ea50efe649bfc","be8a01356f5723930509","f623efdffc616cf48a67"]);
|
|
764
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
765
|
+
function _classCallCheck(a, n) {
|
|
766
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
767
|
+
}
|
|
768
|
+
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
769
|
+
},"cf3c049ea50efe649bfc",[]);
|
|
770
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
771
|
+
function _defineProperties(e, r) {
|
|
772
|
+
for (var t = 0; t < r.length; t++) {
|
|
773
|
+
var o = r[t];
|
|
774
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _$$_REQUIRE(_dependencyMap[0])(o.key), o);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
function _createClass(e, r, t) {
|
|
778
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
779
|
+
writable: false
|
|
780
|
+
}), e;
|
|
781
|
+
}
|
|
782
|
+
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
783
|
+
},"be8a01356f5723930509",["3b6f25861377925d8169"]);
|
|
784
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
785
|
+
function toPropertyKey(t) {
|
|
786
|
+
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
787
|
+
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
788
|
+
}
|
|
789
|
+
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
790
|
+
},"3b6f25861377925d8169",["735506462487c8d6a161","70afbc33bc38afcbc4d8"]);
|
|
791
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
792
|
+
function toPrimitive(t, r) {
|
|
793
|
+
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
794
|
+
var e = t[Symbol.toPrimitive];
|
|
795
|
+
if (undefined !== e) {
|
|
796
|
+
var i = e.call(t, r || "default");
|
|
797
|
+
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](i)) return i;
|
|
798
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
799
|
+
}
|
|
800
|
+
return ("string" === r ? String : Number)(t);
|
|
801
|
+
}
|
|
802
|
+
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
803
|
+
},"735506462487c8d6a161",["70afbc33bc38afcbc4d8"]);
|
|
804
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
805
|
+
function _typeof(o) {
|
|
806
|
+
"@babel/helpers - typeof";
|
|
807
|
+
|
|
808
|
+
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
809
|
+
return typeof o;
|
|
810
|
+
} : function (o) {
|
|
811
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
812
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
813
|
+
}
|
|
814
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
815
|
+
},"70afbc33bc38afcbc4d8",[]);
|
|
816
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
817
|
+
"use strict";
|
|
818
|
+
|
|
819
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
820
|
+
return mod && mod.__esModule ? mod : {
|
|
821
|
+
"default": mod
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
Object.defineProperty(exports, "__esModule", {
|
|
825
|
+
value: true
|
|
826
|
+
});
|
|
827
|
+
exports.MonotonicDuration = exports.RealTimeInstant = exports.RawTimeValue = exports.SystemInfo = undefined;
|
|
828
|
+
Object.defineProperty(exports, "SystemInfo", {
|
|
829
|
+
enumerable: true,
|
|
830
|
+
get: function get() {
|
|
831
|
+
return __importDefault(_$$_REQUIRE(_dependencyMap[0])).default;
|
|
832
|
+
}
|
|
833
|
+
});
|
|
834
|
+
Object.defineProperty(exports, "RawTimeValue", {
|
|
835
|
+
enumerable: true,
|
|
836
|
+
get: function get() {
|
|
837
|
+
return __importDefault(_$$_REQUIRE(_dependencyMap[1])).default;
|
|
838
|
+
}
|
|
839
|
+
});
|
|
840
|
+
Object.defineProperty(exports, "RealTimeInstant", {
|
|
841
|
+
enumerable: true,
|
|
842
|
+
get: function get() {
|
|
843
|
+
return __importDefault(_$$_REQUIRE(_dependencyMap[2])).default;
|
|
844
|
+
}
|
|
845
|
+
});
|
|
846
|
+
Object.defineProperty(exports, "MonotonicDuration", {
|
|
847
|
+
enumerable: true,
|
|
848
|
+
get: function get() {
|
|
849
|
+
return __importDefault(_$$_REQUIRE(_dependencyMap[3])).default;
|
|
850
|
+
}
|
|
851
|
+
});
|
|
852
|
+
},"f623efdffc616cf48a67",["1b08eb5ee5b56327f396","d345f2642dd0a0c15c6f","4374faf3f4af0aa58200","8ad436c750df3236129d"]);
|
|
853
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
854
|
+
"use strict";
|
|
855
|
+
|
|
856
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
857
|
+
return mod && mod.__esModule ? mod : {
|
|
858
|
+
"default": mod
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
Object.defineProperty(exports, "__esModule", {
|
|
862
|
+
value: true
|
|
863
|
+
});
|
|
864
|
+
var NativeSystemInfo_1 = __importDefault(_$$_REQUIRE(_dependencyMap[0]));
|
|
865
|
+
var OperatingSystemInfo_1 = __importDefault(_$$_REQUIRE(_dependencyMap[1]));
|
|
866
|
+
if (!NativeSystemInfo_1.default) {
|
|
867
|
+
throw new Error("System info is unavailable");
|
|
868
|
+
}
|
|
869
|
+
var SystemInfo = /*#__PURE__*/function () {
|
|
870
|
+
function SystemInfo() {
|
|
871
|
+
_$$_REQUIRE(_dependencyMap[2])(this, SystemInfo);
|
|
872
|
+
}
|
|
873
|
+
return _$$_REQUIRE(_dependencyMap[3])(SystemInfo, [{
|
|
874
|
+
key: "getUptime",
|
|
875
|
+
value: function () {
|
|
876
|
+
var _getUptime = _$$_REQUIRE(_dependencyMap[4])(function* () {
|
|
877
|
+
return NativeSystemInfo_1.default.getUptime();
|
|
878
|
+
});
|
|
879
|
+
function getUptime() {
|
|
880
|
+
return _getUptime.apply(this, arguments);
|
|
881
|
+
}
|
|
882
|
+
return getUptime;
|
|
883
|
+
}()
|
|
884
|
+
}, {
|
|
885
|
+
key: "isEmulator",
|
|
886
|
+
value: function () {
|
|
887
|
+
var _isEmulator = _$$_REQUIRE(_dependencyMap[4])(function* () {
|
|
888
|
+
return NativeSystemInfo_1.default.isEmulator();
|
|
889
|
+
});
|
|
890
|
+
function isEmulator() {
|
|
891
|
+
return _isEmulator.apply(this, arguments);
|
|
892
|
+
}
|
|
893
|
+
return isEmulator;
|
|
894
|
+
}()
|
|
895
|
+
}, {
|
|
896
|
+
key: "getOperatingSystemInfo",
|
|
897
|
+
value: function getOperatingSystemInfo() {
|
|
898
|
+
return new OperatingSystemInfo_1.default();
|
|
899
|
+
}
|
|
900
|
+
}]);
|
|
901
|
+
}();
|
|
902
|
+
exports.default = SystemInfo;
|
|
903
|
+
},"1b08eb5ee5b56327f396",["db1687aa4c4148289eac","4994bea8698b08ceb801","cf3c049ea50efe649bfc","be8a01356f5723930509","071fa6e2cd425bede9f2"]);
|
|
904
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
905
|
+
"use strict";
|
|
906
|
+
|
|
907
|
+
Object.defineProperty(exports, "__esModule", {
|
|
908
|
+
value: true
|
|
909
|
+
});
|
|
910
|
+
exports.default = _$$_REQUIRE(_dependencyMap[0]).TurboModuleRegistry.getEnforcing("SystemInfo");
|
|
911
|
+
},"db1687aa4c4148289eac",["8a35a86b7946c72e0207"]);
|
|
912
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
913
|
+
"use strict";
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
917
|
+
*
|
|
918
|
+
* PROPRIETARY/CONFIDENTIAL
|
|
919
|
+
*
|
|
920
|
+
* Use is subject to license terms.
|
|
921
|
+
*
|
|
922
|
+
*/
|
|
923
|
+
Object.defineProperty(exports, "__esModule", {
|
|
924
|
+
value: true
|
|
925
|
+
});
|
|
926
|
+
exports.TurboModuleRegistry = undefined;
|
|
927
|
+
exports.TurboModuleRegistry = _$$_REQUIRE(_dependencyMap[0]);
|
|
928
|
+
},"8a35a86b7946c72e0207",["33d6b98d6e39f6b0a8f9"]);
|
|
929
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
930
|
+
"use strict";
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
934
|
+
*
|
|
935
|
+
* This source code is licensed under the MIT license found in the
|
|
936
|
+
* LICENSE file in the root directory of this source tree.
|
|
937
|
+
*
|
|
938
|
+
* Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its
|
|
939
|
+
* affiliates. All rights reserved.
|
|
940
|
+
*
|
|
941
|
+
* PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO
|
|
942
|
+
* LICENSE TERMS.
|
|
943
|
+
*
|
|
944
|
+
* Amazon modifications are indicated by [amznmod_* comments].
|
|
945
|
+
*/
|
|
946
|
+
Object.defineProperty(exports, "__esModule", {
|
|
947
|
+
value: true
|
|
948
|
+
});
|
|
949
|
+
exports.getEnforcing = exports.get = undefined;
|
|
950
|
+
var turboModuleProxy = global.__turboModuleProxy;
|
|
951
|
+
function requireModule(name) {
|
|
952
|
+
if (turboModuleProxy != null) {
|
|
953
|
+
return turboModuleProxy(name);
|
|
954
|
+
}
|
|
955
|
+
return null;
|
|
956
|
+
}
|
|
957
|
+
function get(name) {
|
|
958
|
+
return requireModule(name);
|
|
959
|
+
}
|
|
960
|
+
exports.get = get;
|
|
961
|
+
function getEnforcing(name) {
|
|
962
|
+
var module = requireModule(name);
|
|
963
|
+
(0, _$$_REQUIRE(_dependencyMap[0]).default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');
|
|
964
|
+
return module;
|
|
965
|
+
}
|
|
966
|
+
exports.getEnforcing = getEnforcing;
|
|
967
|
+
},"33d6b98d6e39f6b0a8f9",["8d9475a2cb77b53e450d"]);
|
|
968
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
969
|
+
/**
|
|
970
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
971
|
+
*
|
|
972
|
+
* This source code is licensed under the MIT license found in the
|
|
973
|
+
* LICENSE file in the root directory of this source tree.
|
|
974
|
+
*
|
|
975
|
+
* Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its
|
|
976
|
+
* affiliates. All rights reserved.
|
|
977
|
+
*
|
|
978
|
+
* PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO
|
|
979
|
+
* LICENSE TERMS.
|
|
980
|
+
*
|
|
981
|
+
* Amazon modifications are indicated by [amznmod_* comments].
|
|
982
|
+
*/
|
|
983
|
+
/**
|
|
984
|
+
* amznmod_tmapi: Migrated to typescript
|
|
985
|
+
*/
|
|
986
|
+
'use strict';
|
|
987
|
+
|
|
988
|
+
Object.defineProperty(exports, "__esModule", {
|
|
989
|
+
value: true
|
|
990
|
+
});
|
|
991
|
+
/**
|
|
992
|
+
* Use invariant() to assert state which your program assumes to be true.
|
|
993
|
+
*
|
|
994
|
+
* Provide sprintf-style format (only %s is supported) and arguments
|
|
995
|
+
* to provide information about what broke and what you were
|
|
996
|
+
* expecting.
|
|
997
|
+
*
|
|
998
|
+
* The invariant message will be stripped in production, but the invariant
|
|
999
|
+
* will remain to ensure logic does not differ in production.
|
|
1000
|
+
*/
|
|
1001
|
+
var NODE_ENV = "production";
|
|
1002
|
+
var invariant = function invariant(condition, format) {
|
|
1003
|
+
for (var _len = arguments.length, extraArgs = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
1004
|
+
extraArgs[_key - 2] = arguments[_key];
|
|
1005
|
+
}
|
|
1006
|
+
if (!condition) {
|
|
1007
|
+
var error;
|
|
1008
|
+
if (format === undefined) {
|
|
1009
|
+
error = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
|
|
1010
|
+
} else {
|
|
1011
|
+
var argIndex = 0;
|
|
1012
|
+
error = new Error(format.replace(/%s/g, function () {
|
|
1013
|
+
return extraArgs[argIndex++];
|
|
1014
|
+
}));
|
|
1015
|
+
error.name = 'Invariant Violation';
|
|
1016
|
+
}
|
|
1017
|
+
// @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.
|
|
1018
|
+
error.framesToPop = 1; // we don't care about invariant's own frame
|
|
1019
|
+
throw error;
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
exports.default = invariant;
|
|
1023
|
+
},"8d9475a2cb77b53e450d",[]);
|
|
1024
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1025
|
+
"use strict";
|
|
1026
|
+
|
|
1027
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
1028
|
+
return mod && mod.__esModule ? mod : {
|
|
1029
|
+
"default": mod
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1033
|
+
value: true
|
|
1034
|
+
});
|
|
1035
|
+
var BuildInfo_1 = __importDefault(_$$_REQUIRE(_dependencyMap[0]));
|
|
1036
|
+
var NativeSystemInfo_1 = __importDefault(_$$_REQUIRE(_dependencyMap[1]));
|
|
1037
|
+
if (!NativeSystemInfo_1.default) {
|
|
1038
|
+
throw new Error("System info is unavailable");
|
|
1039
|
+
}
|
|
1040
|
+
var OperatingSystemInfo = /*#__PURE__*/function () {
|
|
1041
|
+
function OperatingSystemInfo() {
|
|
1042
|
+
_$$_REQUIRE(_dependencyMap[2])(this, OperatingSystemInfo);
|
|
1043
|
+
}
|
|
1044
|
+
return _$$_REQUIRE(_dependencyMap[3])(OperatingSystemInfo, [{
|
|
1045
|
+
key: "getDisplayName",
|
|
1046
|
+
value: function () {
|
|
1047
|
+
var _getDisplayName = _$$_REQUIRE(_dependencyMap[4])(function* () {
|
|
1048
|
+
return NativeSystemInfo_1.default.getOsDisplayName();
|
|
1049
|
+
});
|
|
1050
|
+
function getDisplayName() {
|
|
1051
|
+
return _getDisplayName.apply(this, arguments);
|
|
1052
|
+
}
|
|
1053
|
+
return getDisplayName;
|
|
1054
|
+
}()
|
|
1055
|
+
}, {
|
|
1056
|
+
key: "getCodeName",
|
|
1057
|
+
value: function () {
|
|
1058
|
+
var _getCodeName = _$$_REQUIRE(_dependencyMap[4])(function* () {
|
|
1059
|
+
return NativeSystemInfo_1.default.getOsCodeName();
|
|
1060
|
+
});
|
|
1061
|
+
function getCodeName() {
|
|
1062
|
+
return _getCodeName.apply(this, arguments);
|
|
1063
|
+
}
|
|
1064
|
+
return getCodeName;
|
|
1065
|
+
}()
|
|
1066
|
+
}, {
|
|
1067
|
+
key: "getVersion",
|
|
1068
|
+
value: function () {
|
|
1069
|
+
var _getVersion = _$$_REQUIRE(_dependencyMap[4])(function* () {
|
|
1070
|
+
return NativeSystemInfo_1.default.getOsVersion();
|
|
1071
|
+
});
|
|
1072
|
+
function getVersion() {
|
|
1073
|
+
return _getVersion.apply(this, arguments);
|
|
1074
|
+
}
|
|
1075
|
+
return getVersion;
|
|
1076
|
+
}()
|
|
1077
|
+
}, {
|
|
1078
|
+
key: "getBuildInfo",
|
|
1079
|
+
value: function getBuildInfo() {
|
|
1080
|
+
return new BuildInfo_1.default();
|
|
1081
|
+
}
|
|
1082
|
+
}]);
|
|
1083
|
+
}();
|
|
1084
|
+
exports.default = OperatingSystemInfo;
|
|
1085
|
+
},"4994bea8698b08ceb801",["8798552ba2ab87c31bad","db1687aa4c4148289eac","cf3c049ea50efe649bfc","be8a01356f5723930509","071fa6e2cd425bede9f2"]);
|
|
1086
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1087
|
+
"use strict";
|
|
1088
|
+
|
|
1089
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
1090
|
+
return mod && mod.__esModule ? mod : {
|
|
1091
|
+
"default": mod
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1095
|
+
value: true
|
|
1096
|
+
});
|
|
1097
|
+
var NativeSystemInfo_1 = __importDefault(_$$_REQUIRE(_dependencyMap[0]));
|
|
1098
|
+
if (!NativeSystemInfo_1.default) {
|
|
1099
|
+
throw new Error('System info is unavailable');
|
|
1100
|
+
}
|
|
1101
|
+
var BuildInfo = /*#__PURE__*/function () {
|
|
1102
|
+
function BuildInfo() {
|
|
1103
|
+
_$$_REQUIRE(_dependencyMap[1])(this, BuildInfo);
|
|
1104
|
+
}
|
|
1105
|
+
return _$$_REQUIRE(_dependencyMap[2])(BuildInfo, [{
|
|
1106
|
+
key: "getDisplayName",
|
|
1107
|
+
value: function () {
|
|
1108
|
+
var _getDisplayName = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1109
|
+
return NativeSystemInfo_1.default.getBuildDisplayName();
|
|
1110
|
+
});
|
|
1111
|
+
function getDisplayName() {
|
|
1112
|
+
return _getDisplayName.apply(this, arguments);
|
|
1113
|
+
}
|
|
1114
|
+
return getDisplayName;
|
|
1115
|
+
}()
|
|
1116
|
+
}, {
|
|
1117
|
+
key: "getId",
|
|
1118
|
+
value: function () {
|
|
1119
|
+
var _getId = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1120
|
+
return NativeSystemInfo_1.default.getBuildId();
|
|
1121
|
+
});
|
|
1122
|
+
function getId() {
|
|
1123
|
+
return _getId.apply(this, arguments);
|
|
1124
|
+
}
|
|
1125
|
+
return getId;
|
|
1126
|
+
}()
|
|
1127
|
+
}, {
|
|
1128
|
+
key: "getVariant",
|
|
1129
|
+
value: function () {
|
|
1130
|
+
var _getVariant = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1131
|
+
return NativeSystemInfo_1.default.getBuildVariant();
|
|
1132
|
+
});
|
|
1133
|
+
function getVariant() {
|
|
1134
|
+
return _getVariant.apply(this, arguments);
|
|
1135
|
+
}
|
|
1136
|
+
return getVariant;
|
|
1137
|
+
}()
|
|
1138
|
+
}, {
|
|
1139
|
+
key: "getTimestamp",
|
|
1140
|
+
value: function () {
|
|
1141
|
+
var _getTimestamp = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1142
|
+
return NativeSystemInfo_1.default.getBuildTimestamp();
|
|
1143
|
+
});
|
|
1144
|
+
function getTimestamp() {
|
|
1145
|
+
return _getTimestamp.apply(this, arguments);
|
|
1146
|
+
}
|
|
1147
|
+
return getTimestamp;
|
|
1148
|
+
}()
|
|
1149
|
+
}, {
|
|
1150
|
+
key: "getTags",
|
|
1151
|
+
value: function () {
|
|
1152
|
+
var _getTags = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1153
|
+
return NativeSystemInfo_1.default.getBuildTags();
|
|
1154
|
+
});
|
|
1155
|
+
function getTags() {
|
|
1156
|
+
return _getTags.apply(this, arguments);
|
|
1157
|
+
}
|
|
1158
|
+
return getTags;
|
|
1159
|
+
}()
|
|
1160
|
+
}, {
|
|
1161
|
+
key: "getFingerprint",
|
|
1162
|
+
value: function () {
|
|
1163
|
+
var _getFingerprint = _$$_REQUIRE(_dependencyMap[3])(function* () {
|
|
1164
|
+
return NativeSystemInfo_1.default.getBuildFingerprint();
|
|
1165
|
+
});
|
|
1166
|
+
function getFingerprint() {
|
|
1167
|
+
return _getFingerprint.apply(this, arguments);
|
|
1168
|
+
}
|
|
1169
|
+
return getFingerprint;
|
|
1170
|
+
}()
|
|
1171
|
+
}]);
|
|
1172
|
+
}();
|
|
1173
|
+
exports.default = BuildInfo;
|
|
1174
|
+
},"8798552ba2ab87c31bad",["db1687aa4c4148289eac","cf3c049ea50efe649bfc","be8a01356f5723930509","071fa6e2cd425bede9f2"]);
|
|
1175
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1176
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
1177
|
+
try {
|
|
1178
|
+
var i = n[a](c),
|
|
1179
|
+
u = i.value;
|
|
1180
|
+
} catch (n) {
|
|
1181
|
+
return void e(n);
|
|
1182
|
+
}
|
|
1183
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
1184
|
+
}
|
|
1185
|
+
function _asyncToGenerator(n) {
|
|
1186
|
+
return function () {
|
|
1187
|
+
var t = this,
|
|
1188
|
+
e = arguments;
|
|
1189
|
+
return new Promise(function (r, o) {
|
|
1190
|
+
var a = n.apply(t, e);
|
|
1191
|
+
function _next(n) {
|
|
1192
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
1193
|
+
}
|
|
1194
|
+
function _throw(n) {
|
|
1195
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
1196
|
+
}
|
|
1197
|
+
_next(undefined);
|
|
1198
|
+
});
|
|
1199
|
+
};
|
|
1200
|
+
}
|
|
1201
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1202
|
+
},"071fa6e2cd425bede9f2",[]);
|
|
1203
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1204
|
+
"use strict";
|
|
1205
|
+
|
|
1206
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1207
|
+
value: true
|
|
1208
|
+
});
|
|
1209
|
+
/**
|
|
1210
|
+
* A basic type used to describe both absolute and relative time.
|
|
1211
|
+
*/
|
|
1212
|
+
var RawTimeValue = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function RawTimeValue(seconds, nanoseconds) {
|
|
1213
|
+
_$$_REQUIRE(_dependencyMap[1])(this, RawTimeValue);
|
|
1214
|
+
this.seconds = seconds;
|
|
1215
|
+
this.nanoseconds = nanoseconds;
|
|
1216
|
+
});
|
|
1217
|
+
exports.default = RawTimeValue;
|
|
1218
|
+
},"d345f2642dd0a0c15c6f",["be8a01356f5723930509","cf3c049ea50efe649bfc"]);
|
|
1219
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1220
|
+
"use strict";
|
|
1221
|
+
|
|
1222
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1223
|
+
value: true
|
|
1224
|
+
});
|
|
1225
|
+
/**
|
|
1226
|
+
* Represents a point in time in the system's clock. Useful for
|
|
1227
|
+
* talking to external entities like the file system or
|
|
1228
|
+
* other processes.
|
|
1229
|
+
*/
|
|
1230
|
+
var RealTimeInstant = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function RealTimeInstant(time) {
|
|
1231
|
+
_$$_REQUIRE(_dependencyMap[1])(this, RealTimeInstant);
|
|
1232
|
+
this.time = time;
|
|
1233
|
+
});
|
|
1234
|
+
exports.default = RealTimeInstant;
|
|
1235
|
+
},"4374faf3f4af0aa58200",["be8a01356f5723930509","cf3c049ea50efe649bfc"]);
|
|
1236
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1237
|
+
"use strict";
|
|
1238
|
+
|
|
1239
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1240
|
+
value: true
|
|
1241
|
+
});
|
|
1242
|
+
/**
|
|
1243
|
+
* Represents a span of time. This type follows ISO 8601 Duration definition.
|
|
1244
|
+
* This type is typically used for system timeouts and can be a result of
|
|
1245
|
+
* comparison operations between two instances of `MonotonicInstant`.
|
|
1246
|
+
*/
|
|
1247
|
+
var MonotonicDuration = /*#__PURE__*/_$$_REQUIRE(_dependencyMap[0])(function MonotonicDuration(time) {
|
|
1248
|
+
_$$_REQUIRE(_dependencyMap[1])(this, MonotonicDuration);
|
|
1249
|
+
this.time = time;
|
|
1250
|
+
});
|
|
1251
|
+
exports.default = MonotonicDuration;
|
|
1252
|
+
},"8ad436c750df3236129d",["be8a01356f5723930509","cf3c049ea50efe649bfc"]);
|