@flux-ui/statistics 3.0.0-next.69 → 3.0.0-next.70

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/dist/index.js CHANGED
@@ -5300,7 +5300,7 @@ var DateTime = class DateTime {
5300
5300
  */
5301
5301
  static fromMillis(milliseconds, options = {}) {
5302
5302
  if (!isNumber(milliseconds)) throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof milliseconds} with value ${milliseconds}`);
5303
- else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) return DateTime.invalid("Timestamp out of range");
5303
+ else if (milliseconds < -864e13 || milliseconds > MAX_DATE) return DateTime.invalid("Timestamp out of range");
5304
5304
  else return new DateTime({
5305
5305
  ts: milliseconds,
5306
5306
  zone: normalizeZone(options.zone, Settings.defaultZone),
@@ -6782,7 +6782,7 @@ function friendlyDateTime(dateTimeish) {
6782
6782
  else throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
6783
6783
  }
6784
6784
  //#endregion
6785
- //#region ../../node_modules/.bun/@basmilius+utils@3.33.0/node_modules/@basmilius/utils/dist/index.mjs
6785
+ //#region ../../node_modules/.bun/@basmilius+utils@3.35.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
6786
6786
  function p$2(e, t = 0) {
6787
6787
  let n = typeof navigator < `u` ? navigator.language : `nl-NL`;
6788
6788
  return new Intl.NumberFormat(n, {
@@ -9922,14 +9922,11 @@ var convertOklabToRgb = (c) => convertLrgbToRgb(convertOklabToLrgb(c));
9922
9922
  function toe(x) {
9923
9923
  const k_1 = .206;
9924
9924
  const k_2 = .03;
9925
- const k_3 = (1 + k_1) / (1 + k_2);
9925
+ const k_3 = 1.206 / 1.03;
9926
9926
  return .5 * (k_3 * x - k_1 + Math.sqrt((k_3 * x - k_1) * (k_3 * x - k_1) + 4 * k_2 * k_3 * x));
9927
9927
  }
9928
9928
  function toe_inv(x) {
9929
- const k_1 = .206;
9930
- const k_2 = .03;
9931
- const k_3 = (1 + k_1) / (1 + k_2);
9932
- return (x * x + k_1 * x) / (k_3 * (x + k_2));
9929
+ return (x * x + .206 * x) / (1.206 / 1.03 * (x + .03));
9933
9930
  }
9934
9931
  function compute_max_saturation(a, b) {
9935
9932
  let k0, k1, k2, k3, k4, wl, wm, ws;
@@ -10743,7 +10740,7 @@ useMode(definition$2);
10743
10740
  useMode(definition$1);
10744
10741
  useMode(definition);
10745
10742
  //#endregion
10746
- //#region ../../node_modules/.bun/@basmilius+http-client@3.33.0+644299353f754fd6/node_modules/@basmilius/http-client/dist/index.mjs
10743
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.35.0+f97c77f67c914c00/node_modules/@basmilius/http-client/dist/index.mjs
10747
10744
  function adapter_default(Parent) {
10748
10745
  return class extends Parent {
10749
10746
  constructor(...args) {