v1.0 with SW PWA enabled
This commit is contained in:
227
frontend/node_modules/rollup/dist/bin/rollup
generated
vendored
Normal file → Executable file
227
frontend/node_modules/rollup/dist/bin/rollup
generated
vendored
Normal file → Executable file
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.49.0
|
||||
Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067
|
||||
Rollup.js v4.54.0
|
||||
Sat, 20 Dec 2025 09:28:12 GMT - commit 88f1430c42fe76db421623106546e50627271952
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@ -1246,76 +1246,76 @@ yargsParser.camelCase = camelCase;
|
||||
yargsParser.decamelize = decamelize;
|
||||
yargsParser.looksLikeNumber = looksLikeNumber;
|
||||
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
||||
|
||||
|
||||
function __addDisposableResource(env, value, async) {
|
||||
if (value !== null && value !== void 0) {
|
||||
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
||||
var dispose, inner;
|
||||
if (async) {
|
||||
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
||||
dispose = value[Symbol.asyncDispose];
|
||||
}
|
||||
if (dispose === void 0) {
|
||||
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
||||
dispose = value[Symbol.dispose];
|
||||
if (async) inner = dispose;
|
||||
}
|
||||
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
||||
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
||||
env.stack.push({ value: value, dispose: dispose, async: async });
|
||||
}
|
||||
else if (async) {
|
||||
env.stack.push({ async: true });
|
||||
}
|
||||
return value;
|
||||
|
||||
}
|
||||
|
||||
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
||||
var e = new Error(message);
|
||||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
||||
};
|
||||
|
||||
function __disposeResources(env) {
|
||||
function fail(e) {
|
||||
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
||||
env.hasError = true;
|
||||
}
|
||||
var r, s = 0;
|
||||
function next() {
|
||||
while (r = env.stack.pop()) {
|
||||
try {
|
||||
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
||||
if (r.dispose) {
|
||||
var result = r.dispose.call(r.value);
|
||||
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
||||
}
|
||||
else s |= 1;
|
||||
}
|
||||
catch (e) {
|
||||
fail(e);
|
||||
}
|
||||
}
|
||||
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
||||
if (env.hasError) throw env.error;
|
||||
}
|
||||
return next();
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
||||
|
||||
|
||||
function __addDisposableResource(env, value, async) {
|
||||
if (value !== null && value !== void 0) {
|
||||
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
||||
var dispose, inner;
|
||||
if (async) {
|
||||
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
||||
dispose = value[Symbol.asyncDispose];
|
||||
}
|
||||
if (dispose === void 0) {
|
||||
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
||||
dispose = value[Symbol.dispose];
|
||||
if (async) inner = dispose;
|
||||
}
|
||||
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
||||
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
||||
env.stack.push({ value: value, dispose: dispose, async: async });
|
||||
}
|
||||
else if (async) {
|
||||
env.stack.push({ async: true });
|
||||
}
|
||||
return value;
|
||||
|
||||
}
|
||||
|
||||
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
||||
var e = new Error(message);
|
||||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
||||
};
|
||||
|
||||
function __disposeResources(env) {
|
||||
function fail(e) {
|
||||
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
||||
env.hasError = true;
|
||||
}
|
||||
var r, s = 0;
|
||||
function next() {
|
||||
while (r = env.stack.pop()) {
|
||||
try {
|
||||
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
||||
if (r.dispose) {
|
||||
var result = r.dispose.call(r.value);
|
||||
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
||||
}
|
||||
else s |= 1;
|
||||
}
|
||||
catch (e) {
|
||||
fail(e);
|
||||
}
|
||||
}
|
||||
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
||||
if (env.hasError) throw env.error;
|
||||
}
|
||||
return next();
|
||||
}
|
||||
|
||||
const toZeroIfInfinity = value => Number.isFinite(value) ? value : 0;
|
||||
@ -1444,7 +1444,7 @@ function prettyMilliseconds(milliseconds, options) {
|
||||
if (
|
||||
options.separateMilliseconds
|
||||
|| options.formatSubMilliseconds
|
||||
|| (!options.colonNotation && milliseconds < 1000)
|
||||
|| (!options.colonNotation && milliseconds < 1000 && !options.subSecondsAsDecimals)
|
||||
) {
|
||||
const seconds = Number(parsed.seconds);
|
||||
const milliseconds = Number(parsed.milliseconds);
|
||||
@ -1584,7 +1584,7 @@ const log10 = numberOrBigInt => {
|
||||
|
||||
const string = numberOrBigInt.toString(10);
|
||||
|
||||
return string.length + Math.log10('0.' + string.slice(0, 15));
|
||||
return string.length + Math.log10(`0.${string.slice(0, 15)}`);
|
||||
};
|
||||
|
||||
const log = numberOrBigInt => {
|
||||
@ -1605,6 +1605,36 @@ const divide = (numberOrBigInt, divisor) => {
|
||||
return Number(integerPart) + (Number(remainder) / divisor);
|
||||
};
|
||||
|
||||
const applyFixedWidth = (result, fixedWidth) => {
|
||||
if (fixedWidth === undefined) {
|
||||
return result;
|
||||
}
|
||||
|
||||
if (typeof fixedWidth !== 'number' || !Number.isSafeInteger(fixedWidth) || fixedWidth < 0) {
|
||||
throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof fixedWidth}: ${fixedWidth}`);
|
||||
}
|
||||
|
||||
if (fixedWidth === 0) {
|
||||
return result;
|
||||
}
|
||||
|
||||
return result.length < fixedWidth ? result.padStart(fixedWidth, ' ') : result;
|
||||
};
|
||||
|
||||
const buildLocaleOptions = options => {
|
||||
const {minimumFractionDigits, maximumFractionDigits} = options;
|
||||
|
||||
if (minimumFractionDigits === undefined && maximumFractionDigits === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return {
|
||||
...(minimumFractionDigits !== undefined && {minimumFractionDigits}),
|
||||
...(maximumFractionDigits !== undefined && {maximumFractionDigits}),
|
||||
roundingMode: 'trunc',
|
||||
};
|
||||
};
|
||||
|
||||
function prettyBytes(number, options) {
|
||||
if (typeof number !== 'bigint' && !Number.isFinite(number)) {
|
||||
throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
|
||||
@ -1614,6 +1644,7 @@ function prettyBytes(number, options) {
|
||||
bits: false,
|
||||
binary: false,
|
||||
space: true,
|
||||
nonBreakingSpace: false,
|
||||
...options,
|
||||
};
|
||||
|
||||
@ -1621,10 +1652,13 @@ function prettyBytes(number, options) {
|
||||
? (options.binary ? BIBIT_UNITS : BIT_UNITS)
|
||||
: (options.binary ? BIBYTE_UNITS : BYTE_UNITS);
|
||||
|
||||
const separator = options.space ? ' ' : '';
|
||||
const separator = options.space ? (options.nonBreakingSpace ? '\u00A0' : ' ') : '';
|
||||
|
||||
if (options.signed && (typeof number === 'number' ? number === 0 : number === 0n)) {
|
||||
return ` 0${separator}${UNITS[0]}`;
|
||||
// Handle signed zero case
|
||||
const isZero = typeof number === 'number' ? number === 0 : number === 0n;
|
||||
if (options.signed && isZero) {
|
||||
const result = ` 0${separator}${UNITS[0]}`;
|
||||
return applyFixedWidth(result, options.fixedWidth);
|
||||
}
|
||||
|
||||
const isNegative = number < 0;
|
||||
@ -1634,34 +1668,27 @@ function prettyBytes(number, options) {
|
||||
number = -number;
|
||||
}
|
||||
|
||||
let localeOptions;
|
||||
|
||||
if (options.minimumFractionDigits !== undefined) {
|
||||
localeOptions = {minimumFractionDigits: options.minimumFractionDigits};
|
||||
}
|
||||
|
||||
if (options.maximumFractionDigits !== undefined) {
|
||||
localeOptions = {maximumFractionDigits: options.maximumFractionDigits, ...localeOptions};
|
||||
}
|
||||
const localeOptions = buildLocaleOptions(options);
|
||||
let result;
|
||||
|
||||
if (number < 1) {
|
||||
const numberString = toLocaleString(number, options.locale, localeOptions);
|
||||
return prefix + numberString + separator + UNITS[0];
|
||||
result = prefix + numberString + separator + UNITS[0];
|
||||
} else {
|
||||
const exponent = Math.min(Math.floor(options.binary ? log(number) / Math.log(1024) : log10(number) / 3), UNITS.length - 1);
|
||||
number = divide(number, (options.binary ? 1024 : 1000) ** exponent);
|
||||
|
||||
if (!localeOptions) {
|
||||
const minPrecision = Math.max(3, Math.floor(number).toString().length);
|
||||
number = number.toPrecision(minPrecision);
|
||||
}
|
||||
|
||||
const numberString = toLocaleString(Number(number), options.locale, localeOptions);
|
||||
const unit = UNITS[exponent];
|
||||
result = prefix + numberString + separator + unit;
|
||||
}
|
||||
|
||||
const exponent = Math.min(Math.floor(options.binary ? log(number) / Math.log(1024) : log10(number) / 3), UNITS.length - 1);
|
||||
number = divide(number, (options.binary ? 1024 : 1000) ** exponent);
|
||||
|
||||
if (!localeOptions) {
|
||||
const minPrecision = Math.max(3, Number.parseInt(number, 10).toString().length);
|
||||
number = number.toPrecision(minPrecision);
|
||||
}
|
||||
|
||||
const numberString = toLocaleString(Number(number), options.locale, localeOptions);
|
||||
|
||||
const unit = UNITS[exponent];
|
||||
|
||||
return prefix + numberString + separator + unit;
|
||||
return applyFixedWidth(result, options.fixedWidth);
|
||||
}
|
||||
|
||||
function printTimings(timings) {
|
||||
|
||||
Reference in New Issue
Block a user