@photonix/basic 1.9.0 → 1.9.1

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
@@ -2163,12 +2163,12 @@ var require_react_is_production_min = __commonJS({
2163
2163
  var e7 = 60108;
2164
2164
  var f = 60114;
2165
2165
  var g = 60109;
2166
- var h2 = 60110;
2166
+ var h = 60110;
2167
2167
  var k10 = 60112;
2168
2168
  var l = 60113;
2169
2169
  var m = 60120;
2170
2170
  var n = 60115;
2171
- var p = 60116;
2171
+ var p2 = 60116;
2172
2172
  var q = 60121;
2173
2173
  var r2 = 60122;
2174
2174
  var u = 60117;
@@ -2182,12 +2182,12 @@ var require_react_is_production_min = __commonJS({
2182
2182
  e7 = x10("react.strict_mode");
2183
2183
  f = x10("react.profiler");
2184
2184
  g = x10("react.provider");
2185
- h2 = x10("react.context");
2185
+ h = x10("react.context");
2186
2186
  k10 = x10("react.forward_ref");
2187
2187
  l = x10("react.suspense");
2188
2188
  m = x10("react.suspense_list");
2189
2189
  n = x10("react.memo");
2190
- p = x10("react.lazy");
2190
+ p2 = x10("react.lazy");
2191
2191
  q = x10("react.block");
2192
2192
  r2 = x10("react.server.block");
2193
2193
  u = x10("react.fundamental");
@@ -2209,9 +2209,9 @@ var require_react_is_production_min = __commonJS({
2209
2209
  return a2;
2210
2210
  default:
2211
2211
  switch (a2 = a2 && a2.$$typeof, a2) {
2212
- case h2:
2212
+ case h:
2213
2213
  case k10:
2214
- case p:
2214
+ case p2:
2215
2215
  case n:
2216
2216
  case g:
2217
2217
  return a2;
@@ -2228,13 +2228,13 @@ var require_react_is_production_min = __commonJS({
2228
2228
  var A = b;
2229
2229
  var B = k10;
2230
2230
  var C = d;
2231
- var D = p;
2231
+ var D = p2;
2232
2232
  var E = n;
2233
2233
  var F = c2;
2234
2234
  var G = f;
2235
2235
  var H = e7;
2236
2236
  var I = l;
2237
- exports2.ContextConsumer = h2;
2237
+ exports2.ContextConsumer = h;
2238
2238
  exports2.ContextProvider = z;
2239
2239
  exports2.Element = A;
2240
2240
  exports2.ForwardRef = B;
@@ -2252,7 +2252,7 @@ var require_react_is_production_min = __commonJS({
2252
2252
  return false;
2253
2253
  };
2254
2254
  exports2.isContextConsumer = function(a2) {
2255
- return y2(a2) === h2;
2255
+ return y2(a2) === h;
2256
2256
  };
2257
2257
  exports2.isContextProvider = function(a2) {
2258
2258
  return y2(a2) === g;
@@ -2267,7 +2267,7 @@ var require_react_is_production_min = __commonJS({
2267
2267
  return y2(a2) === d;
2268
2268
  };
2269
2269
  exports2.isLazy = function(a2) {
2270
- return y2(a2) === p;
2270
+ return y2(a2) === p2;
2271
2271
  };
2272
2272
  exports2.isMemo = function(a2) {
2273
2273
  return y2(a2) === n;
@@ -2285,7 +2285,7 @@ var require_react_is_production_min = __commonJS({
2285
2285
  return y2(a2) === l;
2286
2286
  };
2287
2287
  exports2.isValidElementType = function(a2) {
2288
- return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f || a2 === v || a2 === e7 || a2 === l || a2 === m || a2 === w || "object" === typeof a2 && null !== a2 && (a2.$$typeof === p || a2.$$typeof === n || a2.$$typeof === g || a2.$$typeof === h2 || a2.$$typeof === k10 || a2.$$typeof === u || a2.$$typeof === q || a2[0] === r2) ? true : false;
2288
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f || a2 === v || a2 === e7 || a2 === l || a2 === m || a2 === w || "object" === typeof a2 && null !== a2 && (a2.$$typeof === p2 || a2.$$typeof === n || a2.$$typeof === g || a2.$$typeof === h || a2.$$typeof === k10 || a2.$$typeof === u || a2.$$typeof === q || a2[0] === r2) ? true : false;
2289
2289
  };
2290
2290
  exports2.typeOf = y2;
2291
2291
  }
@@ -2725,7 +2725,7 @@ __export(index_exports, {
2725
2725
  BellOutline: () => BellOutline,
2726
2726
  BoltFilled: () => BoltFilled,
2727
2727
  BoltOutline: () => BoltOutline,
2728
- Box: () => Pe,
2728
+ Box: () => De,
2729
2729
  Button: () => Oe,
2730
2730
  CalendarFilled: () => CalendarFilled,
2731
2731
  CalendarOutline: () => CalendarOutline,
@@ -10473,8 +10473,8 @@ function svgPropertiesNoEventsFromUnknown(input) {
10473
10473
  return null;
10474
10474
  }
10475
10475
  if (/* @__PURE__ */ (0, import_react.isValidElement)(input) && typeof input.props === "object" && input.props !== null) {
10476
- var p = input.props;
10477
- return svgPropertiesNoEvents(p);
10476
+ var p2 = input.props;
10477
+ return svgPropertiesNoEvents(p2);
10478
10478
  }
10479
10479
  if (typeof input === "object" && !Array.isArray(input)) {
10480
10480
  return svgPropertiesNoEvents(input);
@@ -10711,8 +10711,8 @@ var Path = class {
10711
10711
  this._append`A${r2},${r2},0,${+(da >= pi2)},${cw},${this._x1 = x10 + r2 * Math.cos(a12)},${this._y1 = y2 + r2 * Math.sin(a12)}`;
10712
10712
  }
10713
10713
  }
10714
- rect(x10, y2, w, h2) {
10715
- this._append`M${this._x0 = this._x1 = +x10},${this._y0 = this._y1 = +y2}h${w = +w}v${+h2}h${-w}Z`;
10714
+ rect(x10, y2, w, h) {
10715
+ this._append`M${this._x0 = this._x1 = +x10},${this._y0 = this._y1 = +y2}h${w = +w}v${+h}h${-w}Z`;
10716
10716
  }
10717
10717
  toString() {
10718
10718
  return this._;
@@ -10785,11 +10785,11 @@ function linear_default(context) {
10785
10785
  }
10786
10786
 
10787
10787
  // ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
10788
- function x(p) {
10789
- return p[0];
10788
+ function x(p2) {
10789
+ return p2[0];
10790
10790
  }
10791
- function y(p) {
10792
- return p[1];
10791
+ function y(p2) {
10792
+ return p2[1];
10793
10793
  }
10794
10794
 
10795
10795
  // ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
@@ -11286,12 +11286,12 @@ function sign(x10) {
11286
11286
  return x10 < 0 ? -1 : 1;
11287
11287
  }
11288
11288
  function slope3(that, x22, y2) {
11289
- var h02 = that._x1 - that._x0, h12 = x22 - that._x1, s02 = (that._y1 - that._y0) / (h02 || h12 < 0 && -0), s12 = (y2 - that._y1) / (h12 || h02 < 0 && -0), p = (s02 * h12 + s12 * h02) / (h02 + h12);
11290
- return (sign(s02) + sign(s12)) * Math.min(Math.abs(s02), Math.abs(s12), 0.5 * Math.abs(p)) || 0;
11289
+ var h02 = that._x1 - that._x0, h12 = x22 - that._x1, s02 = (that._y1 - that._y0) / (h02 || h12 < 0 && -0), s12 = (y2 - that._y1) / (h12 || h02 < 0 && -0), p2 = (s02 * h12 + s12 * h02) / (h02 + h12);
11290
+ return (sign(s02) + sign(s12)) * Math.min(Math.abs(s02), Math.abs(s12), 0.5 * Math.abs(p2)) || 0;
11291
11291
  }
11292
11292
  function slope2(that, t) {
11293
- var h2 = that._x1 - that._x0;
11294
- return h2 ? (3 * (that._y1 - that._y0) / h2 - t) / 2 : t;
11293
+ var h = that._x1 - that._x0;
11294
+ return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
11295
11295
  }
11296
11296
  function point2(that, t02, t13) {
11297
11297
  var x02 = that._x0, y0 = that._y0, x1 = that._x1, y1 = that._y1, dx = (x1 - x02) / 3;
@@ -13348,13 +13348,13 @@ var Immer2 = class {
13348
13348
  if (this.autoFreeze_)
13349
13349
  freeze(result, true);
13350
13350
  if (patchListener) {
13351
- const p = [];
13351
+ const p2 = [];
13352
13352
  const ip = [];
13353
13353
  getPlugin(PluginPatches).generateReplacementPatches_(base, result, {
13354
- patches_: p,
13354
+ patches_: p2,
13355
13355
  inversePatches_: ip
13356
13356
  });
13357
- patchListener(p, ip);
13357
+ patchListener(p2, ip);
13358
13358
  }
13359
13359
  return result;
13360
13360
  } else
@@ -13365,8 +13365,8 @@ var Immer2 = class {
13365
13365
  return (state, ...args) => this.produceWithPatches(state, (draft) => base(draft, ...args));
13366
13366
  }
13367
13367
  let patches, inversePatches;
13368
- const result = this.produce(base, recipe, (p, ip) => {
13369
- patches = p;
13368
+ const result = this.produce(base, recipe, (p2, ip) => {
13369
+ patches = p2;
13370
13370
  inversePatches = ip;
13371
13371
  });
13372
13372
  return [result, patches, inversePatches];
@@ -16719,10 +16719,10 @@ var Immer22 = class {
16719
16719
  if (this.autoFreeze_)
16720
16720
  freeze2(result, true);
16721
16721
  if (patchListener) {
16722
- const p = [];
16722
+ const p2 = [];
16723
16723
  const ip = [];
16724
- getPlugin2("Patches").generateReplacementPatches_(base, result, p, ip);
16725
- patchListener(p, ip);
16724
+ getPlugin2("Patches").generateReplacementPatches_(base, result, p2, ip);
16725
+ patchListener(p2, ip);
16726
16726
  }
16727
16727
  return result;
16728
16728
  } else
@@ -16733,8 +16733,8 @@ var Immer22 = class {
16733
16733
  return (state, ...args) => this.produceWithPatches(state, (draft) => base(draft, ...args));
16734
16734
  }
16735
16735
  let patches, inversePatches;
16736
- const result = this.produce(base, recipe, (p, ip) => {
16737
- patches = p;
16736
+ const result = this.produce(base, recipe, (p2, ip) => {
16737
+ patches = p2;
16738
16738
  inversePatches = ip;
16739
16739
  });
16740
16740
  return [result, patches, inversePatches];
@@ -17423,10 +17423,10 @@ var CURVE_FACTORIES = {
17423
17423
  curveStepAfter: stepAfter,
17424
17424
  curveStepBefore: stepBefore
17425
17425
  };
17426
- var defined = (p) => isWellBehavedNumber(p.x) && isWellBehavedNumber(p.y);
17426
+ var defined = (p2) => isWellBehavedNumber(p2.x) && isWellBehavedNumber(p2.y);
17427
17427
  var areaDefined = (d) => d.base != null && defined(d.base) && defined(d);
17428
- var getX = (p) => p.x;
17429
- var getY = (p) => p.y;
17428
+ var getX = (p2) => p2.x;
17429
+ var getY = (p2) => p2.y;
17430
17430
  var getCurveFactory = (type, layout) => {
17431
17431
  if (typeof type === "function") {
17432
17432
  return type;
@@ -19144,19 +19144,19 @@ function swap(array, i2, j) {
19144
19144
  }
19145
19145
 
19146
19146
  // ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/quantile.js
19147
- function quantile(values, p, valueof) {
19147
+ function quantile(values, p2, valueof) {
19148
19148
  values = Float64Array.from(numbers(values, valueof));
19149
- if (!(n = values.length) || isNaN(p = +p)) return;
19150
- if (p <= 0 || n < 2) return min(values);
19151
- if (p >= 1) return max(values);
19152
- var n, i2 = (n - 1) * p, i02 = Math.floor(i2), value0 = max(quickselect(values, i02).subarray(0, i02 + 1)), value1 = min(values.subarray(i02 + 1));
19149
+ if (!(n = values.length) || isNaN(p2 = +p2)) return;
19150
+ if (p2 <= 0 || n < 2) return min(values);
19151
+ if (p2 >= 1) return max(values);
19152
+ var n, i2 = (n - 1) * p2, i02 = Math.floor(i2), value0 = max(quickselect(values, i02).subarray(0, i02 + 1)), value1 = min(values.subarray(i02 + 1));
19153
19153
  return value0 + (value1 - value0) * (i2 - i02);
19154
19154
  }
19155
- function quantileSorted(values, p, valueof = number) {
19156
- if (!(n = values.length) || isNaN(p = +p)) return;
19157
- if (p <= 0 || n < 2) return +valueof(values[0], 0, values);
19158
- if (p >= 1) return +valueof(values[n - 1], n - 1, values);
19159
- var n, i2 = (n - 1) * p, i02 = Math.floor(i2), value0 = +valueof(values[i02], i02, values), value1 = +valueof(values[i02 + 1], i02 + 1, values);
19155
+ function quantileSorted(values, p2, valueof = number) {
19156
+ if (!(n = values.length) || isNaN(p2 = +p2)) return;
19157
+ if (p2 <= 0 || n < 2) return +valueof(values[0], 0, values);
19158
+ if (p2 >= 1) return +valueof(values[n - 1], n - 1, values);
19159
+ var n, i2 = (n - 1) * p2, i02 = Math.floor(i2), value0 = +valueof(values[i02], i02, values), value1 = +valueof(values[i02 + 1], i02 + 1, values);
19160
19160
  return value0 + (value1 - value0) * (i2 - i02);
19161
19161
  }
19162
19162
 
@@ -19577,11 +19577,11 @@ function hex(value) {
19577
19577
  value = clampi(value);
19578
19578
  return (value < 16 ? "0" : "") + value.toString(16);
19579
19579
  }
19580
- function hsla(h2, s2, l, a2) {
19581
- if (a2 <= 0) h2 = s2 = l = NaN;
19582
- else if (l <= 0 || l >= 1) h2 = s2 = NaN;
19583
- else if (s2 <= 0) h2 = NaN;
19584
- return new Hsl(h2, s2, l, a2);
19580
+ function hsla(h, s2, l, a2) {
19581
+ if (a2 <= 0) h = s2 = l = NaN;
19582
+ else if (l <= 0 || l >= 1) h = s2 = NaN;
19583
+ else if (s2 <= 0) h = NaN;
19584
+ return new Hsl(h, s2, l, a2);
19585
19585
  }
19586
19586
  function hslConvert(o) {
19587
19587
  if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
@@ -19589,23 +19589,23 @@ function hslConvert(o) {
19589
19589
  if (!o) return new Hsl();
19590
19590
  if (o instanceof Hsl) return o;
19591
19591
  o = o.rgb();
19592
- var r2 = o.r / 255, g = o.g / 255, b = o.b / 255, min2 = Math.min(r2, g, b), max2 = Math.max(r2, g, b), h2 = NaN, s2 = max2 - min2, l = (max2 + min2) / 2;
19592
+ var r2 = o.r / 255, g = o.g / 255, b = o.b / 255, min2 = Math.min(r2, g, b), max2 = Math.max(r2, g, b), h = NaN, s2 = max2 - min2, l = (max2 + min2) / 2;
19593
19593
  if (s2) {
19594
- if (r2 === max2) h2 = (g - b) / s2 + (g < b) * 6;
19595
- else if (g === max2) h2 = (b - r2) / s2 + 2;
19596
- else h2 = (r2 - g) / s2 + 4;
19594
+ if (r2 === max2) h = (g - b) / s2 + (g < b) * 6;
19595
+ else if (g === max2) h = (b - r2) / s2 + 2;
19596
+ else h = (r2 - g) / s2 + 4;
19597
19597
  s2 /= l < 0.5 ? max2 + min2 : 2 - max2 - min2;
19598
- h2 *= 60;
19598
+ h *= 60;
19599
19599
  } else {
19600
- s2 = l > 0 && l < 1 ? 0 : h2;
19600
+ s2 = l > 0 && l < 1 ? 0 : h;
19601
19601
  }
19602
- return new Hsl(h2, s2, l, o.opacity);
19602
+ return new Hsl(h, s2, l, o.opacity);
19603
19603
  }
19604
- function hsl(h2, s2, l, opacity) {
19605
- return arguments.length === 1 ? hslConvert(h2) : new Hsl(h2, s2, l, opacity == null ? 1 : opacity);
19604
+ function hsl(h, s2, l, opacity) {
19605
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s2, l, opacity == null ? 1 : opacity);
19606
19606
  }
19607
- function Hsl(h2, s2, l, opacity) {
19608
- this.h = +h2;
19607
+ function Hsl(h, s2, l, opacity) {
19608
+ this.h = +h;
19609
19609
  this.s = +s2;
19610
19610
  this.l = +l;
19611
19611
  this.opacity = +opacity;
@@ -19620,11 +19620,11 @@ define_default(Hsl, hsl, extend(Color, {
19620
19620
  return new Hsl(this.h, this.s, this.l * k10, this.opacity);
19621
19621
  },
19622
19622
  rgb() {
19623
- var h2 = this.h % 360 + (this.h < 0) * 360, s2 = isNaN(h2) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < 0.5 ? l : 1 - l) * s2, m12 = 2 * l - m2;
19623
+ var h = this.h % 360 + (this.h < 0) * 360, s2 = isNaN(h) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < 0.5 ? l : 1 - l) * s2, m12 = 2 * l - m2;
19624
19624
  return new Rgb(
19625
- hsl2rgb(h2 >= 240 ? h2 - 240 : h2 + 120, m12, m2),
19626
- hsl2rgb(h2, m12, m2),
19627
- hsl2rgb(h2 < 120 ? h2 + 240 : h2 - 120, m12, m2),
19625
+ hsl2rgb(h >= 240 ? h - 240 : h + 120, m12, m2),
19626
+ hsl2rgb(h, m12, m2),
19627
+ hsl2rgb(h < 120 ? h + 240 : h - 120, m12, m2),
19628
19628
  this.opacity
19629
19629
  );
19630
19630
  },
@@ -19646,8 +19646,8 @@ function clamph(value) {
19646
19646
  function clampt(value) {
19647
19647
  return Math.max(0, Math.min(1, value || 0));
19648
19648
  }
19649
- function hsl2rgb(h2, m12, m2) {
19650
- return (h2 < 60 ? m12 + (m2 - m12) * h2 / 60 : h2 < 180 ? m2 : h2 < 240 ? m12 + (m2 - m12) * (240 - h2) / 60 : m12) * 255;
19649
+ function hsl2rgb(h, m12, m2) {
19650
+ return (h < 60 ? m12 + (m2 - m12) * h / 60 : h < 180 ? m2 : h < 240 ? m12 + (m2 - m12) * (240 - h) / 60 : m12) * 255;
19651
19651
  }
19652
19652
 
19653
19653
  // ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/basis.js
@@ -19960,8 +19960,8 @@ function continuous() {
19960
19960
  function formatDecimal_default(x10) {
19961
19961
  return Math.abs(x10 = Math.round(x10)) >= 1e21 ? x10.toLocaleString("en").replace(/,/g, "") : x10.toString(10);
19962
19962
  }
19963
- function formatDecimalParts(x10, p) {
19964
- if ((i2 = (x10 = p ? x10.toExponential(p - 1) : x10.toExponential()).indexOf("e")) < 0) return null;
19963
+ function formatDecimalParts(x10, p2) {
19964
+ if ((i2 = (x10 = p2 ? x10.toExponential(p2 - 1) : x10.toExponential()).indexOf("e")) < 0) return null;
19965
19965
  var i2, coefficient = x10.slice(0, i2);
19966
19966
  return [
19967
19967
  coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,
@@ -20054,16 +20054,16 @@ function formatTrim_default(s2) {
20054
20054
 
20055
20055
  // ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js
20056
20056
  var prefixExponent;
20057
- function formatPrefixAuto_default(x10, p) {
20058
- var d = formatDecimalParts(x10, p);
20057
+ function formatPrefixAuto_default(x10, p2) {
20058
+ var d = formatDecimalParts(x10, p2);
20059
20059
  if (!d) return x10 + "";
20060
20060
  var coefficient = d[0], exponent = d[1], i2 = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1, n = coefficient.length;
20061
- return i2 === n ? coefficient : i2 > n ? coefficient + new Array(i2 - n + 1).join("0") : i2 > 0 ? coefficient.slice(0, i2) + "." + coefficient.slice(i2) : "0." + new Array(1 - i2).join("0") + formatDecimalParts(x10, Math.max(0, p + i2 - 1))[0];
20061
+ return i2 === n ? coefficient : i2 > n ? coefficient + new Array(i2 - n + 1).join("0") : i2 > 0 ? coefficient.slice(0, i2) + "." + coefficient.slice(i2) : "0." + new Array(1 - i2).join("0") + formatDecimalParts(x10, Math.max(0, p2 + i2 - 1))[0];
20062
20062
  }
20063
20063
 
20064
20064
  // ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js
20065
- function formatRounded_default(x10, p) {
20066
- var d = formatDecimalParts(x10, p);
20065
+ function formatRounded_default(x10, p2) {
20066
+ var d = formatDecimalParts(x10, p2);
20067
20067
  if (!d) return x10 + "";
20068
20068
  var coefficient = d[0], exponent = d[1];
20069
20069
  return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
@@ -20071,15 +20071,15 @@ function formatRounded_default(x10, p) {
20071
20071
 
20072
20072
  // ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js
20073
20073
  var formatTypes_default = {
20074
- "%": (x10, p) => (x10 * 100).toFixed(p),
20074
+ "%": (x10, p2) => (x10 * 100).toFixed(p2),
20075
20075
  "b": (x10) => Math.round(x10).toString(2),
20076
20076
  "c": (x10) => x10 + "",
20077
20077
  "d": formatDecimal_default,
20078
- "e": (x10, p) => x10.toExponential(p),
20079
- "f": (x10, p) => x10.toFixed(p),
20080
- "g": (x10, p) => x10.toPrecision(p),
20078
+ "e": (x10, p2) => x10.toExponential(p2),
20079
+ "f": (x10, p2) => x10.toFixed(p2),
20080
+ "g": (x10, p2) => x10.toPrecision(p2),
20081
20081
  "o": (x10) => Math.round(x10).toString(8),
20082
- "p": (x10, p) => formatRounded_default(x10 * 100, p),
20082
+ "p": (x10, p2) => formatRounded_default(x10 * 100, p2),
20083
20083
  "r": formatRounded_default,
20084
20084
  "s": formatPrefixAuto_default,
20085
20085
  "X": (x10) => Math.round(x10).toString(16).toUpperCase(),
@@ -21239,11 +21239,11 @@ function formatLocale(locale3) {
21239
21239
  return f;
21240
21240
  },
21241
21241
  parse: function(specifier) {
21242
- var p = newParse(specifier += "", false);
21243
- p.toString = function() {
21242
+ var p2 = newParse(specifier += "", false);
21243
+ p2.toString = function() {
21244
21244
  return specifier;
21245
21245
  };
21246
- return p;
21246
+ return p2;
21247
21247
  },
21248
21248
  utcFormat: function(specifier) {
21249
21249
  var f = newFormat(specifier += "", utcFormats);
@@ -21253,11 +21253,11 @@ function formatLocale(locale3) {
21253
21253
  return f;
21254
21254
  },
21255
21255
  utcParse: function(specifier) {
21256
- var p = newParse(specifier += "", true);
21257
- p.toString = function() {
21256
+ var p2 = newParse(specifier += "", true);
21257
+ p2.toString = function() {
21258
21258
  return specifier;
21259
21259
  };
21260
- return p;
21260
+ return p2;
21261
21261
  }
21262
21262
  };
21263
21263
  }
@@ -21358,135 +21358,135 @@ function parseUnixTimestampSeconds(d, string, i2) {
21358
21358
  var n = numberRe.exec(string.slice(i2));
21359
21359
  return n ? (d.s = +n[0], i2 + n[0].length) : -1;
21360
21360
  }
21361
- function formatDayOfMonth(d, p) {
21362
- return pad(d.getDate(), p, 2);
21361
+ function formatDayOfMonth(d, p2) {
21362
+ return pad(d.getDate(), p2, 2);
21363
21363
  }
21364
- function formatHour24(d, p) {
21365
- return pad(d.getHours(), p, 2);
21364
+ function formatHour24(d, p2) {
21365
+ return pad(d.getHours(), p2, 2);
21366
21366
  }
21367
- function formatHour12(d, p) {
21368
- return pad(d.getHours() % 12 || 12, p, 2);
21367
+ function formatHour12(d, p2) {
21368
+ return pad(d.getHours() % 12 || 12, p2, 2);
21369
21369
  }
21370
- function formatDayOfYear(d, p) {
21371
- return pad(1 + timeDay.count(timeYear(d), d), p, 3);
21370
+ function formatDayOfYear(d, p2) {
21371
+ return pad(1 + timeDay.count(timeYear(d), d), p2, 3);
21372
21372
  }
21373
- function formatMilliseconds(d, p) {
21374
- return pad(d.getMilliseconds(), p, 3);
21373
+ function formatMilliseconds(d, p2) {
21374
+ return pad(d.getMilliseconds(), p2, 3);
21375
21375
  }
21376
- function formatMicroseconds(d, p) {
21377
- return formatMilliseconds(d, p) + "000";
21376
+ function formatMicroseconds(d, p2) {
21377
+ return formatMilliseconds(d, p2) + "000";
21378
21378
  }
21379
- function formatMonthNumber(d, p) {
21380
- return pad(d.getMonth() + 1, p, 2);
21379
+ function formatMonthNumber(d, p2) {
21380
+ return pad(d.getMonth() + 1, p2, 2);
21381
21381
  }
21382
- function formatMinutes(d, p) {
21383
- return pad(d.getMinutes(), p, 2);
21382
+ function formatMinutes(d, p2) {
21383
+ return pad(d.getMinutes(), p2, 2);
21384
21384
  }
21385
- function formatSeconds(d, p) {
21386
- return pad(d.getSeconds(), p, 2);
21385
+ function formatSeconds(d, p2) {
21386
+ return pad(d.getSeconds(), p2, 2);
21387
21387
  }
21388
21388
  function formatWeekdayNumberMonday(d) {
21389
21389
  var day = d.getDay();
21390
21390
  return day === 0 ? 7 : day;
21391
21391
  }
21392
- function formatWeekNumberSunday(d, p) {
21393
- return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);
21392
+ function formatWeekNumberSunday(d, p2) {
21393
+ return pad(timeSunday.count(timeYear(d) - 1, d), p2, 2);
21394
21394
  }
21395
21395
  function dISO(d) {
21396
21396
  var day = d.getDay();
21397
21397
  return day >= 4 || day === 0 ? timeThursday(d) : timeThursday.ceil(d);
21398
21398
  }
21399
- function formatWeekNumberISO(d, p) {
21399
+ function formatWeekNumberISO(d, p2) {
21400
21400
  d = dISO(d);
21401
- return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
21401
+ return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p2, 2);
21402
21402
  }
21403
21403
  function formatWeekdayNumberSunday(d) {
21404
21404
  return d.getDay();
21405
21405
  }
21406
- function formatWeekNumberMonday(d, p) {
21407
- return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);
21406
+ function formatWeekNumberMonday(d, p2) {
21407
+ return pad(timeMonday.count(timeYear(d) - 1, d), p2, 2);
21408
21408
  }
21409
- function formatYear(d, p) {
21410
- return pad(d.getFullYear() % 100, p, 2);
21409
+ function formatYear(d, p2) {
21410
+ return pad(d.getFullYear() % 100, p2, 2);
21411
21411
  }
21412
- function formatYearISO(d, p) {
21412
+ function formatYearISO(d, p2) {
21413
21413
  d = dISO(d);
21414
- return pad(d.getFullYear() % 100, p, 2);
21414
+ return pad(d.getFullYear() % 100, p2, 2);
21415
21415
  }
21416
- function formatFullYear(d, p) {
21417
- return pad(d.getFullYear() % 1e4, p, 4);
21416
+ function formatFullYear(d, p2) {
21417
+ return pad(d.getFullYear() % 1e4, p2, 4);
21418
21418
  }
21419
- function formatFullYearISO(d, p) {
21419
+ function formatFullYearISO(d, p2) {
21420
21420
  var day = d.getDay();
21421
21421
  d = day >= 4 || day === 0 ? timeThursday(d) : timeThursday.ceil(d);
21422
- return pad(d.getFullYear() % 1e4, p, 4);
21422
+ return pad(d.getFullYear() % 1e4, p2, 4);
21423
21423
  }
21424
21424
  function formatZone(d) {
21425
21425
  var z = d.getTimezoneOffset();
21426
21426
  return (z > 0 ? "-" : (z *= -1, "+")) + pad(z / 60 | 0, "0", 2) + pad(z % 60, "0", 2);
21427
21427
  }
21428
- function formatUTCDayOfMonth(d, p) {
21429
- return pad(d.getUTCDate(), p, 2);
21428
+ function formatUTCDayOfMonth(d, p2) {
21429
+ return pad(d.getUTCDate(), p2, 2);
21430
21430
  }
21431
- function formatUTCHour24(d, p) {
21432
- return pad(d.getUTCHours(), p, 2);
21431
+ function formatUTCHour24(d, p2) {
21432
+ return pad(d.getUTCHours(), p2, 2);
21433
21433
  }
21434
- function formatUTCHour12(d, p) {
21435
- return pad(d.getUTCHours() % 12 || 12, p, 2);
21434
+ function formatUTCHour12(d, p2) {
21435
+ return pad(d.getUTCHours() % 12 || 12, p2, 2);
21436
21436
  }
21437
- function formatUTCDayOfYear(d, p) {
21438
- return pad(1 + utcDay.count(utcYear(d), d), p, 3);
21437
+ function formatUTCDayOfYear(d, p2) {
21438
+ return pad(1 + utcDay.count(utcYear(d), d), p2, 3);
21439
21439
  }
21440
- function formatUTCMilliseconds(d, p) {
21441
- return pad(d.getUTCMilliseconds(), p, 3);
21440
+ function formatUTCMilliseconds(d, p2) {
21441
+ return pad(d.getUTCMilliseconds(), p2, 3);
21442
21442
  }
21443
- function formatUTCMicroseconds(d, p) {
21444
- return formatUTCMilliseconds(d, p) + "000";
21443
+ function formatUTCMicroseconds(d, p2) {
21444
+ return formatUTCMilliseconds(d, p2) + "000";
21445
21445
  }
21446
- function formatUTCMonthNumber(d, p) {
21447
- return pad(d.getUTCMonth() + 1, p, 2);
21446
+ function formatUTCMonthNumber(d, p2) {
21447
+ return pad(d.getUTCMonth() + 1, p2, 2);
21448
21448
  }
21449
- function formatUTCMinutes(d, p) {
21450
- return pad(d.getUTCMinutes(), p, 2);
21449
+ function formatUTCMinutes(d, p2) {
21450
+ return pad(d.getUTCMinutes(), p2, 2);
21451
21451
  }
21452
- function formatUTCSeconds(d, p) {
21453
- return pad(d.getUTCSeconds(), p, 2);
21452
+ function formatUTCSeconds(d, p2) {
21453
+ return pad(d.getUTCSeconds(), p2, 2);
21454
21454
  }
21455
21455
  function formatUTCWeekdayNumberMonday(d) {
21456
21456
  var dow = d.getUTCDay();
21457
21457
  return dow === 0 ? 7 : dow;
21458
21458
  }
21459
- function formatUTCWeekNumberSunday(d, p) {
21460
- return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
21459
+ function formatUTCWeekNumberSunday(d, p2) {
21460
+ return pad(utcSunday.count(utcYear(d) - 1, d), p2, 2);
21461
21461
  }
21462
21462
  function UTCdISO(d) {
21463
21463
  var day = d.getUTCDay();
21464
21464
  return day >= 4 || day === 0 ? utcThursday(d) : utcThursday.ceil(d);
21465
21465
  }
21466
- function formatUTCWeekNumberISO(d, p) {
21466
+ function formatUTCWeekNumberISO(d, p2) {
21467
21467
  d = UTCdISO(d);
21468
- return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
21468
+ return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p2, 2);
21469
21469
  }
21470
21470
  function formatUTCWeekdayNumberSunday(d) {
21471
21471
  return d.getUTCDay();
21472
21472
  }
21473
- function formatUTCWeekNumberMonday(d, p) {
21474
- return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
21473
+ function formatUTCWeekNumberMonday(d, p2) {
21474
+ return pad(utcMonday.count(utcYear(d) - 1, d), p2, 2);
21475
21475
  }
21476
- function formatUTCYear(d, p) {
21477
- return pad(d.getUTCFullYear() % 100, p, 2);
21476
+ function formatUTCYear(d, p2) {
21477
+ return pad(d.getUTCFullYear() % 100, p2, 2);
21478
21478
  }
21479
- function formatUTCYearISO(d, p) {
21479
+ function formatUTCYearISO(d, p2) {
21480
21480
  d = UTCdISO(d);
21481
- return pad(d.getUTCFullYear() % 100, p, 2);
21481
+ return pad(d.getUTCFullYear() % 100, p2, 2);
21482
21482
  }
21483
- function formatUTCFullYear(d, p) {
21484
- return pad(d.getUTCFullYear() % 1e4, p, 4);
21483
+ function formatUTCFullYear(d, p2) {
21484
+ return pad(d.getUTCFullYear() % 1e4, p2, 4);
21485
21485
  }
21486
- function formatUTCFullYearISO(d, p) {
21486
+ function formatUTCFullYearISO(d, p2) {
21487
21487
  var day = d.getUTCDay();
21488
21488
  d = day >= 4 || day === 0 ? utcThursday(d) : utcThursday.ceil(d);
21489
- return pad(d.getUTCFullYear() % 1e4, p, 4);
21489
+ return pad(d.getUTCFullYear() % 1e4, p2, 4);
21490
21490
  }
21491
21491
  function formatUTCZone() {
21492
21492
  return "+0000";
@@ -22754,7 +22754,7 @@ function truncate(arr, len) {
22754
22754
  }
22755
22755
  }
22756
22756
  function clone(obj) {
22757
- var i2, p, ps2;
22757
+ var i2, p2, ps2;
22758
22758
  function Decimal2(value) {
22759
22759
  var x10 = this;
22760
22760
  if (!(x10 instanceof Decimal2)) return new Decimal2(value);
@@ -22813,7 +22813,7 @@ function clone(obj) {
22813
22813
  if (obj === void 0) obj = {};
22814
22814
  if (obj) {
22815
22815
  ps2 = ["precision", "rounding", "toExpNeg", "toExpPos", "LN10"];
22816
- for (i2 = 0; i2 < ps2.length; ) if (!obj.hasOwnProperty(p = ps2[i2++])) obj[p] = this[p];
22816
+ for (i2 = 0; i2 < ps2.length; ) if (!obj.hasOwnProperty(p2 = ps2[i2++])) obj[p2] = this[p2];
22817
22817
  }
22818
22818
  Decimal2.config(obj);
22819
22819
  return Decimal2;
@@ -22822,7 +22822,7 @@ function config(obj) {
22822
22822
  if (!obj || typeof obj !== "object") {
22823
22823
  throw Error(decimalError + "Object expected");
22824
22824
  }
22825
- var i2, p, v, ps2 = [
22825
+ var i2, p2, v, ps2 = [
22826
22826
  "precision",
22827
22827
  1,
22828
22828
  MAX_DIGITS,
@@ -22837,14 +22837,14 @@ function config(obj) {
22837
22837
  1 / 0
22838
22838
  ];
22839
22839
  for (i2 = 0; i2 < ps2.length; i2 += 3) {
22840
- if ((v = obj[p = ps2[i2]]) !== void 0) {
22841
- if (mathfloor(v) === v && v >= ps2[i2 + 1] && v <= ps2[i2 + 2]) this[p] = v;
22842
- else throw Error(invalidArgument + p + ": " + v);
22840
+ if ((v = obj[p2 = ps2[i2]]) !== void 0) {
22841
+ if (mathfloor(v) === v && v >= ps2[i2 + 1] && v <= ps2[i2 + 2]) this[p2] = v;
22842
+ else throw Error(invalidArgument + p2 + ": " + v);
22843
22843
  }
22844
22844
  }
22845
- if ((v = obj[p = "LN10"]) !== void 0) {
22846
- if (v == Math.LN10) this[p] = new this(v);
22847
- else throw Error(invalidArgument + p + ": " + v);
22845
+ if ((v = obj[p2 = "LN10"]) !== void 0) {
22846
+ if (v == Math.LN10) this[p2] = new this(v);
22847
+ else throw Error(invalidArgument + p2 + ": " + v);
22848
22848
  }
22849
22849
  return this;
22850
22850
  }
@@ -25204,7 +25204,7 @@ var selectActiveTooltipDataPoints = createSelector([selectActiveTooltipPayload],
25204
25204
  if (payload == null) {
25205
25205
  return void 0;
25206
25206
  }
25207
- var dataPoints = payload.map((p) => p.payload).filter((p) => p != null);
25207
+ var dataPoints = payload.map((p2) => p2.payload).filter((p2) => p2 != null);
25208
25208
  return Array.from(new Set(dataPoints));
25209
25209
  });
25210
25210
 
@@ -29465,8 +29465,8 @@ var SetPieTooltipEntrySettings = /* @__PURE__ */ React207.memo((_ref2) => {
29465
29465
  id: id2
29466
29466
  } = _ref2;
29467
29467
  var tooltipEntrySettings = {
29468
- dataDefinedOnItem: sectors.map((p) => p.tooltipPayload),
29469
- positions: sectors.map((p) => p.tooltipPosition),
29468
+ dataDefinedOnItem: sectors.map((p2) => p2.tooltipPayload),
29469
+ positions: sectors.map((p2) => p2.tooltipPosition),
29470
29470
  settings: {
29471
29471
  stroke,
29472
29472
  strokeWidth,
@@ -30429,7 +30429,7 @@ function ActivePoints(_ref2) {
30429
30429
  if (points == null || activeDataPoints == null) {
30430
30430
  return null;
30431
30431
  }
30432
- var activePoint = points.find((p) => activeDataPoints.includes(p.payload));
30432
+ var activePoint = points.find((p2) => activeDataPoints.includes(p2.payload));
30433
30433
  if (isNullish(activePoint)) {
30434
30434
  return null;
30435
30435
  }
@@ -34809,7 +34809,7 @@ var selectBarPosition = createSelector([selectAllBarPositions, selectSynchronise
34809
34809
  if (allBarPositions == null || barSettings == null) {
34810
34810
  return void 0;
34811
34811
  }
34812
- var position = allBarPositions.find((p) => p.stackId === barSettings.stackId && barSettings.dataKey != null && p.dataKeys.includes(barSettings.dataKey));
34812
+ var position = allBarPositions.find((p2) => p2.stackId === barSettings.stackId && barSettings.dataKey != null && p2.dataKeys.includes(barSettings.dataKey));
34813
34813
  if (position == null) {
34814
34814
  return void 0;
34815
34815
  }
@@ -37486,7 +37486,7 @@ var Vt = i.forwardRef(
37486
37486
  children: m,
37487
37487
  ...d
37488
37488
  }, s2) => {
37489
- const p = c2 !== void 0 ? String(c2) : l, u = n === "text" && p?.length === 1, g = n === "text" && !!p && /^[0-9]+[+]?$/.test(p), y2 = [
37489
+ const h = c2 !== void 0 ? String(c2) : l, u = n === "text" && h?.length === 1, g = n === "text" && !!h && /^[0-9]+[+]?$/.test(h), y2 = [
37490
37490
  "phx-badge",
37491
37491
  qt.badgeRoot,
37492
37492
  qt[a2],
@@ -37565,13 +37565,13 @@ var Ut = {
37565
37565
  };
37566
37566
  var pa = i.forwardRef(
37567
37567
  ({ src: t, alt: a2, name: o, icon: n, size: r2 = "40", status: l, stroke: c2, className: f, onClick: C, ...m }, d) => {
37568
- const [s2, p] = i.useState(false), u = !!C, g = u ? "button" : "div", y2 = (L) => L.startsWith("+") ? L : L.split(" ").map((_) => _[0]).slice(0, 1).join("").toUpperCase(), b = () => t && !s2 ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
37568
+ const [s2, h] = i.useState(false), u = !!C, g = u ? "button" : "div", y2 = (L) => L.startsWith("+") ? L : L.split(" ").map((_) => _[0]).slice(0, 1).join("").toUpperCase(), b = () => t && !s2 ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
37569
37569
  "img",
37570
37570
  {
37571
37571
  src: t,
37572
37572
  alt: a2 || o,
37573
37573
  className: Ut.avatarImage,
37574
- onError: () => p(true)
37574
+ onError: () => h(true)
37575
37575
  }
37576
37576
  ) : o ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Ut.avatarInitials, children: y2(o) }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Ut.avatarIcon, children: n || /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(UserOutline, {}) }), v = [
37577
37577
  "phx-avatar",
@@ -37629,13 +37629,13 @@ var Cn = {
37629
37629
  };
37630
37630
  var Di = i.forwardRef(
37631
37631
  ({ children: t, size: a2 = "40", max: o = 5, showStatus: n = false, className: r2, ...l }, c2) => {
37632
- const f = i.Children.toArray(t), C = f.length > o, m = C ? o - 1 : f.length, d = f.slice(0, m), s2 = f.length - m, p = [
37632
+ const f = i.Children.toArray(t), C = f.length > o, m = C ? o - 1 : f.length, d = f.slice(0, m), s2 = f.length - m, h = [
37633
37633
  "phx-avatar-group",
37634
37634
  Cn.avatarGroup,
37635
37635
  Cn[`size${a2}`],
37636
37636
  r2
37637
37637
  ].filter(Boolean).join(" ");
37638
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { ref: c2, className: p, ...l, children: [
37638
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { ref: c2, className: h, ...l, children: [
37639
37639
  d.map((u, g) => i.isValidElement(u) ? i.cloneElement(u, {
37640
37640
  size: a2,
37641
37641
  stroke: true,
@@ -37714,11 +37714,11 @@ var Ho = i.forwardRef(
37714
37714
  onClick: f,
37715
37715
  ...C
37716
37716
  }, m) => {
37717
- const d = a2 !== void 0, [s2, p] = i.useState(o), [u, g] = i.useState(false), y2 = i.useRef(null), b = d ? a2 : s2, v = (S) => {
37717
+ const d = a2 !== void 0, [s2, h] = i.useState(o), [u, g] = i.useState(false), y2 = i.useRef(null), b = d ? a2 : s2, v = (S) => {
37718
37718
  if (l) return;
37719
37719
  y2.current && clearTimeout(y2.current), g(true), y2.current = setTimeout(() => g(false), 200);
37720
37720
  const R = !b;
37721
- d || p(R), c2 && c2(R), f && f(S);
37721
+ d || h(R), c2 && c2(R), f && f(S);
37722
37722
  };
37723
37723
  i.useEffect(() => () => {
37724
37724
  y2.current && clearTimeout(y2.current);
@@ -37792,13 +37792,13 @@ var ua = i.forwardRef(
37792
37792
  onClick: m,
37793
37793
  ...d
37794
37794
  }, s2) => {
37795
- const p = o !== void 0, [u, g] = i.useState(n), [y2, b] = i.useState(false), v = i.useRef(null), L = p ? o : u, _ = r2, w = !r2 && L, k10 = !r2 && !L, S = l === "small" ? 20 : 24, R = (Y) => {
37795
+ const h = o !== void 0, [u, g] = i.useState(n), [y2, b] = i.useState(false), v = i.useRef(null), L = h ? o : u, _ = r2, w = !r2 && L, k10 = !r2 && !L, S = l === "small" ? 20 : 24, R = (Y) => {
37796
37796
  if (f) return;
37797
37797
  v.current && clearTimeout(v.current), b(true), v.current = setTimeout(() => {
37798
37798
  b(false);
37799
37799
  }, 400);
37800
37800
  const F = r2 ? true : !L;
37801
- p || g(F), C && C(F), m && m(Y);
37801
+ h || g(F), C && C(F), m && m(Y);
37802
37802
  };
37803
37803
  i.useEffect(() => () => {
37804
37804
  v.current && clearTimeout(v.current);
@@ -37927,7 +37927,7 @@ var pe = i.forwardRef(
37927
37927
  asChild: C = false,
37928
37928
  ...m
37929
37929
  }, d) => {
37930
- const s2 = C ? Slot : "button", p = "black", u = l === true, g = u ? "dot" : "text", y2 = [
37930
+ const s2 = C ? Slot : "button", h = "black", u = l === true, g = u ? "dot" : "text", y2 = [
37931
37931
  "phx-icon-button",
37932
37932
  Jt.iconButtonRoot,
37933
37933
  Jt[a2],
@@ -37954,7 +37954,7 @@ var pe = i.forwardRef(
37954
37954
  Vt,
37955
37955
  {
37956
37956
  variant: "primary",
37957
- color: p,
37957
+ color: h,
37958
37958
  shape: g,
37959
37959
  label: u ? void 0 : String(l),
37960
37960
  stroke: true,
@@ -38078,7 +38078,7 @@ var Va = ({
38078
38078
  trailing: m,
38079
38079
  trailingText: d,
38080
38080
  trailingVariant: s2 = "body-md",
38081
- switchChecked: p,
38081
+ switchChecked: h,
38082
38082
  onSwitchChange: u,
38083
38083
  checkboxChecked: g,
38084
38084
  onCheckboxChange: y2,
@@ -38153,7 +38153,7 @@ var Va = ({
38153
38153
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
38154
38154
  Ho,
38155
38155
  {
38156
- checked: p,
38156
+ checked: h,
38157
38157
  onChange: u,
38158
38158
  disabled: w
38159
38159
  }
@@ -38257,15 +38257,15 @@ var hs = i.forwardRef(
38257
38257
  children: c2,
38258
38258
  ...f
38259
38259
  }, C) => {
38260
- const [m, d] = i.useState(t), s2 = a2 !== void 0 ? a2 : m, p = i.useCallback(
38260
+ const [m, d] = i.useState(t), s2 = a2 !== void 0 ? a2 : m, h = i.useCallback(
38261
38261
  (g) => {
38262
38262
  let y2;
38263
38263
  s2.includes(g) ? y2 = s2.filter((b) => b !== g) : y2 = n ? [...s2, g] : [g], a2 === void 0 && d(y2), o?.(y2);
38264
38264
  },
38265
38265
  [s2, n, a2, o]
38266
38266
  ), u = i.useMemo(
38267
- () => ({ expandedItems: s2, toggleItem: p, allowMultiple: n }),
38268
- [s2, p, n]
38267
+ () => ({ expandedItems: s2, toggleItem: h, allowMultiple: n }),
38268
+ [s2, h, n]
38269
38269
  );
38270
38270
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(No.Provider, { value: u, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
38271
38271
  Mo,
@@ -38288,12 +38288,12 @@ var ps = ({
38288
38288
  className: l,
38289
38289
  children: c2
38290
38290
  }) => {
38291
- const { expandedItems: f, toggleItem: C } = us(), m = f.includes(t), d = i.useRef(null), [s2, p] = i.useState(0);
38291
+ const { expandedItems: f, toggleItem: C } = us(), m = f.includes(t), d = i.useRef(null), [s2, h] = i.useState(0);
38292
38292
  return i.useEffect(() => {
38293
38293
  const u = d.current;
38294
38294
  if (!u) return;
38295
38295
  const g = () => {
38296
- p(u.scrollHeight);
38296
+ h(u.scrollHeight);
38297
38297
  };
38298
38298
  g();
38299
38299
  const y2 = new ResizeObserver(g);
@@ -38665,13 +38665,13 @@ var na = (0, import_react65.forwardRef)(({
38665
38665
  horizontalTrackClassName: m,
38666
38666
  horizontalTrackStyle: d,
38667
38667
  autoHide: s2 = true,
38668
- onScroll: p
38668
+ onScroll: h
38669
38669
  }, u) => {
38670
38670
  const g = (0, import_react65.useRef)(null), y2 = (0, import_react65.useRef)(null), b = (0, import_react65.useRef)(null), [v, L] = (0, import_react65.useState)(0), [_, w] = (0, import_react65.useState)(0), [k10, S] = (0, import_react65.useState)(false), [R, D] = (0, import_react65.useState)(false), [U, I] = (0, import_react65.useState)(0), [Y, F] = (0, import_react65.useState)(0), [W, H] = (0, import_react65.useState)(false), [B, M] = (0, import_react65.useState)(false), [x10, K] = (0, import_react65.useState)(false), T = (0, import_react65.useRef)({ y: 0, scrollTop: 0 }), P10 = (0, import_react65.useRef)({ x: 0, scrollLeft: 0 }), j = (0, import_react65.useCallback)(() => {
38671
38671
  const oe = g.current;
38672
38672
  if (!oe) return;
38673
- const { scrollHeight: Ce, clientHeight: Ne, scrollTop: Ie, scrollWidth: Se, clientWidth: Te, scrollLeft: Re } = oe, De = Ce > Ne + 1;
38674
- if (S(De), De) {
38673
+ const { scrollHeight: Ce, clientHeight: Ne, scrollTop: Ie, scrollWidth: Se, clientWidth: Te, scrollLeft: Re } = oe, Fe = Ce > Ne + 1;
38674
+ if (S(Fe), Fe) {
38675
38675
  const fe = y2.current ? y2.current.clientHeight : Ne, A = 4, q = Math.max(0, fe - A * 2), N = Math.max(Ne / Ce * q, 30);
38676
38676
  L(N);
38677
38677
  const ee = Ce - Ne, z = q - N;
@@ -38697,8 +38697,8 @@ var na = (0, import_react65.forwardRef)(({
38697
38697
  }
38698
38698
  }), []);
38699
38699
  const Q = (0, import_react65.useCallback)((oe) => {
38700
- j(), p?.(oe);
38701
- }, [j, p]), ne = (0, import_react65.useCallback)((oe) => {
38700
+ j(), h?.(oe);
38701
+ }, [j, h]), ne = (0, import_react65.useCallback)((oe) => {
38702
38702
  oe.preventDefault(), oe.stopPropagation(), D(true), T.current = { y: oe.clientY, scrollTop: g.current?.scrollTop || 0 };
38703
38703
  }, []), G = (0, import_react65.useCallback)((oe) => {
38704
38704
  oe.preventDefault(), oe.stopPropagation(), M(true), P10.current = { x: oe.clientX, scrollLeft: g.current?.scrollLeft || 0 };
@@ -38709,11 +38709,11 @@ var na = (0, import_react65.forwardRef)(({
38709
38709
  const Ie = g.current;
38710
38710
  if (Ie) {
38711
38711
  if (R) {
38712
- const Se = Ne.clientY - T.current.y, { scrollHeight: Te, clientHeight: Re } = Ie, De = y2.current ? y2.current.clientHeight : Re, re2 = 4, fe = Te - Re, A = Math.max(1, De - re2 * 2 - v);
38712
+ const Se = Ne.clientY - T.current.y, { scrollHeight: Te, clientHeight: Re } = Ie, Fe = y2.current ? y2.current.clientHeight : Re, re2 = 4, fe = Te - Re, A = Math.max(1, Fe - re2 * 2 - v);
38713
38713
  Ie.scrollTop = T.current.scrollTop + Se / A * fe;
38714
38714
  }
38715
38715
  if (B) {
38716
- const Se = Ne.clientX - P10.current.x, { scrollWidth: Te, clientWidth: Re } = Ie, De = b.current ? b.current.clientWidth : Re, re2 = 4, fe = Te - Re, A = Math.max(1, De - re2 * 2 - U);
38716
+ const Se = Ne.clientX - P10.current.x, { scrollWidth: Te, clientWidth: Re } = Ie, Fe = b.current ? b.current.clientWidth : Re, re2 = 4, fe = Te - Re, A = Math.max(1, Fe - re2 * 2 - U);
38717
38717
  Ie.scrollLeft = P10.current.scrollLeft + Se / A * fe;
38718
38718
  }
38719
38719
  }
@@ -38727,12 +38727,12 @@ var na = (0, import_react65.forwardRef)(({
38727
38727
  const Z = (0, import_react65.useCallback)((oe) => {
38728
38728
  const Ce = g.current, Ne = oe.currentTarget;
38729
38729
  if (!Ce) return;
38730
- const Ie = Ne.getBoundingClientRect(), Se = oe.clientY - Ie.top, { scrollHeight: Te, clientHeight: Re } = Ce, De = 4, re2 = Te - Re, fe = Se - v / 2 - De, A = Ne.clientHeight - De * 2 - v;
38730
+ const Ie = Ne.getBoundingClientRect(), Se = oe.clientY - Ie.top, { scrollHeight: Te, clientHeight: Re } = Ce, Fe = 4, re2 = Te - Re, fe = Se - v / 2 - Fe, A = Ne.clientHeight - Fe * 2 - v;
38731
38731
  Ce.scrollTop = Math.max(0, Math.min(1, fe / A)) * re2;
38732
38732
  }, [v]), $ = (0, import_react65.useCallback)((oe) => {
38733
38733
  const Ce = g.current, Ne = oe.currentTarget;
38734
38734
  if (!Ce) return;
38735
- const Ie = Ne.getBoundingClientRect(), Se = oe.clientX - Ie.left, { scrollWidth: Te, clientWidth: Re } = Ce, De = 4, re2 = Te - Re, fe = Se - U / 2 - De, A = Ne.clientWidth - De * 2 - U;
38735
+ const Ie = Ne.getBoundingClientRect(), Se = oe.clientX - Ie.left, { scrollWidth: Te, clientWidth: Re } = Ce, Fe = 4, re2 = Te - Re, fe = Se - U / 2 - Fe, A = Ne.clientWidth - Fe * 2 - U;
38736
38736
  Ce.scrollLeft = Math.max(0, Math.min(1, fe / A)) * re2;
38737
38737
  }, [U]);
38738
38738
  (0, import_react65.useEffect)(() => {
@@ -38843,7 +38843,7 @@ function ha({
38843
38843
  const u = typeof s2 == "function" ? s2(t) : s2;
38844
38844
  C(u);
38845
38845
  } else
38846
- r2((p) => typeof s2 == "function" ? s2(p) : s2);
38846
+ r2((h) => typeof s2 == "function" ? s2(h) : s2);
38847
38847
  },
38848
38848
  [c2, t, C]
38849
38849
  );
@@ -38914,7 +38914,7 @@ var R0 = (t, a2, o, n) => {
38914
38914
  };
38915
38915
  };
38916
38916
  function mn(t, a2, o, n = {}) {
38917
- const { minHeight: r2 = 300, margin: l = 32, strategy: c2 = "absolute", matchTriggerWidth: f = false, onClose: C } = n, [m, d] = (0, import_react65.useState)("bottom"), [s2, p] = (0, import_react65.useState)("left"), u = (0, import_react65.useRef)(C);
38917
+ const { minHeight: r2 = 300, margin: l = 32, strategy: c2 = "absolute", matchTriggerWidth: f = false, onClose: C } = n, [m, d] = (0, import_react65.useState)("bottom"), [s2, h] = (0, import_react65.useState)("left"), u = (0, import_react65.useRef)(C);
38918
38918
  u.current = C;
38919
38919
  const [g, y2] = (0, import_react65.useState)({});
38920
38920
  (0, import_react65.useLayoutEffect)(() => {
@@ -38929,7 +38929,7 @@ function mn(t, a2, o, n = {}) {
38929
38929
  let W = "bottom";
38930
38930
  if (D < r2 && U > D && (W = "top"), d(W), c2 === "fixed") {
38931
38931
  let H = _.left, B, M;
38932
- R && (H + R.width > F && (H = Math.max(Y, F - R.width)), H < Y && (H = Y)), W === "bottom" ? B = _.bottom + I : M = w - _.top + I, y2({ top: B, bottom: M, left: H }), p("left");
38932
+ R && (H + R.width > F && (H = Math.max(Y, F - R.width)), H < Y && (H = Y)), W === "bottom" ? B = _.bottom + I : M = w - _.top + I, y2({ top: B, bottom: M, left: H }), h("left");
38933
38933
  } else {
38934
38934
  let H = 0;
38935
38935
  const B = "left";
@@ -38937,7 +38937,7 @@ function mn(t, a2, o, n = {}) {
38937
38937
  const M = _.left, x10 = M + R.width;
38938
38938
  x10 > F && (H = -(x10 - F)), M + H < Y && (H = Y - _.left);
38939
38939
  }
38940
- y2({ horizontalOffset: H }), p(B);
38940
+ y2({ horizontalOffset: H }), h(B);
38941
38941
  }
38942
38942
  };
38943
38943
  v();
@@ -38997,16 +38997,16 @@ function x0({
38997
38997
  Math.floor((r2 + o) / a2) + n
38998
38998
  ), C = (0, import_react65.useMemo)(() => {
38999
38999
  const s2 = [];
39000
- for (let p = c2; p <= f; p++)
39000
+ for (let h = c2; h <= f; h++)
39001
39001
  s2.push({
39002
- index: p,
39002
+ index: h,
39003
39003
  style: {
39004
39004
  position: "absolute",
39005
39005
  top: 0,
39006
39006
  left: 0,
39007
39007
  width: "100%",
39008
39008
  height: `${a2}px`,
39009
- transform: `translateY(${p * a2}px)`
39009
+ transform: `translateY(${h * a2}px)`
39010
39010
  }
39011
39011
  });
39012
39012
  return s2;
@@ -39055,12 +39055,12 @@ var Ga = i.forwardRef(
39055
39055
  onBlur: m,
39056
39056
  onChange: d,
39057
39057
  value: s2,
39058
- defaultValue: p,
39058
+ defaultValue: h,
39059
39059
  ...u
39060
39060
  }, g) => {
39061
39061
  const [y2, b] = i.useState(false), [v, L] = ha({
39062
39062
  value: s2,
39063
- defaultValue: p || "",
39063
+ defaultValue: h || "",
39064
39064
  onChange: d
39065
39065
  }), _ = i.useRef(null);
39066
39066
  i.useEffect(() => {
@@ -39216,7 +39216,7 @@ var Gn = i.forwardRef(
39216
39216
  sticky: m = false,
39217
39217
  elevated: d,
39218
39218
  scrollProgress: s2,
39219
- leading: p,
39219
+ leading: h,
39220
39220
  trailing: u,
39221
39221
  className: g
39222
39222
  }, y2) => {
@@ -39277,7 +39277,7 @@ var Gn = i.forwardRef(
39277
39277
  g
39278
39278
  ].filter(Boolean).join(" "), K = [
39279
39279
  Ue.appBarTitleSmall,
39280
- !o && !p && Ue.appBarTitleSmallNoBack,
39280
+ !o && !h && Ue.appBarTitleSmallNoBack,
39281
39281
  a2 === "medium" && Ue.appBarTitleSmallVisible
39282
39282
  ].filter(Boolean).join(" ");
39283
39283
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { ref: b, className: x10, children: [
@@ -39306,7 +39306,7 @@ var Gn = i.forwardRef(
39306
39306
  ) })
39307
39307
  ] }),
39308
39308
  /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("header", { className: Ue.appBarHeader, children: [
39309
- p ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Ue.appBarLeading, children: p }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: `${Ue.appBarBackButton} ${o ? Ue.appBarBackButtonVisible : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
39309
+ h ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Ue.appBarLeading, children: h }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: `${Ue.appBarBackButton} ${o ? Ue.appBarBackButtonVisible : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
39310
39310
  pe,
39311
39311
  {
39312
39312
  icon: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ChevronLeftOutline, {}),
@@ -39519,7 +39519,7 @@ var Ao = i.forwardRef(
39519
39519
  pl: m,
39520
39520
  pr: d,
39521
39521
  m: s2,
39522
- mx: p,
39522
+ mx: h,
39523
39523
  my: u,
39524
39524
  mt: g,
39525
39525
  mb: y2,
@@ -39564,7 +39564,7 @@ var Ao = i.forwardRef(
39564
39564
  placeContent: Te,
39565
39565
  // Visual
39566
39566
  bg: Re,
39567
- pageBg: De,
39567
+ pageBg: Fe,
39568
39568
  borderRadius: re2,
39569
39569
  shadow: fe,
39570
39570
  opacity: A,
@@ -39596,7 +39596,7 @@ var Ao = i.forwardRef(
39596
39596
  ...te("pl", m, rt),
39597
39597
  ...te("pr", d, rt),
39598
39598
  ...te("m", s2, rt),
39599
- ...te("mx", p, rt),
39599
+ ...te("mx", h, rt),
39600
39600
  ...te("my", u, rt),
39601
39601
  ...te("mt", g, rt),
39602
39602
  ...te("mb", y2, rt),
@@ -39637,7 +39637,7 @@ var Ao = i.forwardRef(
39637
39637
  ...te("justifyItems", Ie),
39638
39638
  ...te("placeItems", Se),
39639
39639
  ...te("placeContent", Te),
39640
- ...te("page-bg", De, kr2),
39640
+ ...te("page-bg", Fe, kr2),
39641
39641
  ...te("box-bg", Re, wr),
39642
39642
  ...te("box-borderRadius", re2, _r),
39643
39643
  ...te("box-shadow", fe, Lr),
@@ -39674,7 +39674,7 @@ var Ao = i.forwardRef(
39674
39674
  })
39675
39675
  );
39676
39676
  Ao.displayName = "Box";
39677
- var Pe = Ao;
39677
+ var De = Ao;
39678
39678
  var bc = "_stackDivider_1kcwl_1";
39679
39679
  var yc = {
39680
39680
  stackDivider: bc
@@ -39693,7 +39693,7 @@ var Eo = i.forwardRef(
39693
39693
  className: m,
39694
39694
  style: d,
39695
39695
  ...s2
39696
- }, p) => {
39696
+ }, h) => {
39697
39697
  const u = t || "div", g = o ?? n, y2 = a2 === "row";
39698
39698
  let b = C;
39699
39699
  if (f && i.Children.count(C) > 1) {
@@ -39711,10 +39711,10 @@ var Eo = i.forwardRef(
39711
39711
  }, []);
39712
39712
  }
39713
39713
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
39714
- Pe,
39714
+ De,
39715
39715
  {
39716
39716
  as: u,
39717
- ref: p,
39717
+ ref: h,
39718
39718
  display: "flex",
39719
39719
  className: Ot("phx-stack", m),
39720
39720
  flexDirection: a2,
@@ -39879,7 +39879,7 @@ var ye = i.forwardRef(
39879
39879
  children: m,
39880
39880
  ...d
39881
39881
  }, s2) => {
39882
- const p = [
39882
+ const h = [
39883
39883
  "phx-text",
39884
39884
  ka2.textRoot,
39885
39885
  a2 && ka2[`color${a2.split("-").map((g) => g.charAt(0).toUpperCase() + g.slice(1)).join("")}`],
@@ -39900,7 +39900,7 @@ var ye = i.forwardRef(
39900
39900
  c2,
39901
39901
  {
39902
39902
  ref: s2,
39903
- className: p,
39903
+ className: h,
39904
39904
  style: u,
39905
39905
  ...d,
39906
39906
  children: m
@@ -39966,7 +39966,7 @@ var Oe = i.forwardRef(
39966
39966
  isFullWidth: m = false,
39967
39967
  disabled: d,
39968
39968
  children: s2,
39969
- ...p
39969
+ ...h
39970
39970
  }, u) => {
39971
39971
  const g = a2 === "primary" || a2 === "brand" ? "white" : "black", y2 = a2 === "brand" ? "Light" : void 0, b = [
39972
39972
  "phx-button",
@@ -40010,7 +40010,7 @@ var Oe = i.forwardRef(
40010
40010
  ref: u,
40011
40011
  "aria-disabled": C || d || void 0,
40012
40012
  "data-loading": C || void 0,
40013
- ...p,
40013
+ ...h,
40014
40014
  children: i.isValidElement(s2) ? i.cloneElement(s2, {
40015
40015
  children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(import_jsx_runtime181.Fragment, { children: [
40016
40016
  C && !d && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Ke.buttonSpinner, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ya, { variant: a2 === "primary" || a2 === "brand" ? "inverse" : "default", forceTheme: y2 }) }),
@@ -40045,7 +40045,7 @@ var Oe = i.forwardRef(
40045
40045
  disabled: d,
40046
40046
  "aria-disabled": C || d || void 0,
40047
40047
  "data-loading": C || void 0,
40048
- ...p,
40048
+ ...h,
40049
40049
  children: v
40050
40050
  }
40051
40051
  );
@@ -40116,8 +40116,8 @@ var l3 = i.forwardRef(
40116
40116
  insetInlineStart: 0,
40117
40117
  inlineSize: 0,
40118
40118
  opacity: 0
40119
- }), [d, s2] = i.useState(true), p = i.useRef(null), u = i.useCallback(() => {
40120
- const L = p.current;
40119
+ }), [d, s2] = i.useState(true), h = i.useRef(null), u = i.useCallback(() => {
40120
+ const L = h.current;
40121
40121
  if (!L) return;
40122
40122
  const _ = L.querySelector(`.${Nt.bottomNavigationItemActive}`);
40123
40123
  if (_) {
@@ -40133,8 +40133,8 @@ var l3 = i.forwardRef(
40133
40133
  } else
40134
40134
  m((w) => ({ ...w, opacity: 0 }));
40135
40135
  }, []), g = i.useCallback(() => {
40136
- if (r2 !== void 0 || !l || !p.current) return;
40137
- const L = Qn(p.current), _ = p.current.offsetHeight;
40136
+ if (r2 !== void 0 || !l || !h.current) return;
40137
+ const L = Qn(h.current), _ = h.current.offsetHeight;
40138
40138
  if (L === window) {
40139
40139
  const S = window.scrollY, R = window.innerHeight, D = _n(document.documentElement), U = document.body ? _n(document.body) : 0, I = Math.max(
40140
40140
  document.documentElement.scrollHeight,
@@ -40151,7 +40151,7 @@ var l3 = i.forwardRef(
40151
40151
  i.useLayoutEffect(() => {
40152
40152
  u(), window.addEventListener("resize", u);
40153
40153
  const L = new MutationObserver(u);
40154
- return p.current && L.observe(p.current, {
40154
+ return h.current && L.observe(h.current, {
40155
40155
  subtree: true,
40156
40156
  attributes: true,
40157
40157
  attributeFilter: ["class", "aria-pressed"]
@@ -40159,8 +40159,8 @@ var l3 = i.forwardRef(
40159
40159
  window.removeEventListener("resize", u), L.disconnect();
40160
40160
  };
40161
40161
  }, [a2, u]), i.useEffect(() => {
40162
- if (r2 !== void 0 || !l || !p.current) return;
40163
- const L = Qn(p.current), _ = () => g(), w = new ResizeObserver(_);
40162
+ if (r2 !== void 0 || !l || !h.current) return;
40163
+ const L = Qn(h.current), _ = () => g(), w = new ResizeObserver(_);
40164
40164
  if (L === window)
40165
40165
  window.addEventListener("scroll", _, { passive: true }), w.observe(document.documentElement), document.body && w.observe(document.body);
40166
40166
  else {
@@ -40172,7 +40172,7 @@ var l3 = i.forwardRef(
40172
40172
  };
40173
40173
  }, [l, r2, g]);
40174
40174
  const y2 = i.useCallback((L) => {
40175
- p.current = L, typeof f == "function" ? f(L) : f && (f.current = L);
40175
+ h.current = L, typeof f == "function" ? f(L) : f && (f.current = L);
40176
40176
  }, [f]), b = r2 ?? (l ? d : true), v = i.Children.map(a2, (L) => i.isValidElement(L) ? i.cloneElement(L, {
40177
40177
  // @ts-expect-error - injecting variant prop
40178
40178
  variant: t
@@ -40209,7 +40209,7 @@ var l3 = i.forwardRef(
40209
40209
  l3.displayName = "BottomNavigation";
40210
40210
  var s3 = i.forwardRef(
40211
40211
  ({ as: t, ratio: a2 = 1, children: o, className: n, style: r2, ...l }, c2) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
40212
- Pe,
40212
+ De,
40213
40213
  {
40214
40214
  as: t || "div",
40215
40215
  ref: c2,
@@ -40292,7 +40292,7 @@ var Ea = i.forwardRef(
40292
40292
  className: f,
40293
40293
  style: C
40294
40294
  }, m) => {
40295
- const [d, s2] = i.useState(""), p = t.length >= 10, u = i.useMemo(() => Array.isArray(a2) ? a2 : a2 ? [a2] : [], [a2]), g = i.useMemo(() => {
40295
+ const [d, s2] = i.useState(""), h = t.length >= 10, u = i.useMemo(() => Array.isArray(a2) ? a2 : a2 ? [a2] : [], [a2]), g = i.useMemo(() => {
40296
40296
  if (!d.trim()) return t;
40297
40297
  const T = d.toLowerCase();
40298
40298
  return t.filter(
@@ -40370,7 +40370,7 @@ var Ea = i.forwardRef(
40370
40370
  onKeyDown: K,
40371
40371
  onMouseMove: () => M(false),
40372
40372
  children: [
40373
- p && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: He.dropdownListSearchWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
40373
+ h && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: He.dropdownListSearchWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
40374
40374
  Ga,
40375
40375
  {
40376
40376
  placeholder: n,
@@ -40604,8 +40604,8 @@ var Oo = i.forwardRef(
40604
40604
  ({ className: t, items: a2, onSelect: o, onClick: n, ...r2 }, l) => {
40605
40605
  const [c2, f] = i.useState(false), C = i.useRef(null);
40606
40606
  i.useEffect(() => {
40607
- const s2 = (p) => {
40608
- C.current && !C.current.contains(p.target) && f(false);
40607
+ const s2 = (h) => {
40608
+ C.current && !C.current.contains(h.target) && f(false);
40609
40609
  };
40610
40610
  return c2 && document.addEventListener("mousedown", s2), () => {
40611
40611
  document.removeEventListener("mousedown", s2);
@@ -40614,8 +40614,8 @@ var Oo = i.forwardRef(
40614
40614
  const m = (s2) => {
40615
40615
  a2 && a2.length > 0 && f(!c2), n?.(s2);
40616
40616
  }, d = (s2) => {
40617
- const p = Array.isArray(s2) ? s2[0] : s2;
40618
- o?.(p || ""), f(false);
40617
+ const h = Array.isArray(s2) ? s2[0] : s2;
40618
+ o?.(h || ""), f(false);
40619
40619
  };
40620
40620
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
40621
40621
  "span",
@@ -40704,7 +40704,7 @@ var Ba = ({
40704
40704
  minDate: m,
40705
40705
  maxDate: d,
40706
40706
  hidePrevButton: s2 = false,
40707
- hideNextButton: p = false,
40707
+ hideNextButton: h = false,
40708
40708
  hasShadow: u = true,
40709
40709
  headerContent: g,
40710
40710
  hideHeader: y2 = false,
@@ -40879,7 +40879,7 @@ var Ba = ({
40879
40879
  children: format(a2, "MMMM yyyy")
40880
40880
  }
40881
40881
  ) }),
40882
- p ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { style: { inlineSize: 44 }, "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
40882
+ h ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { style: { inlineSize: 44 }, "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
40883
40883
  pe,
40884
40884
  {
40885
40885
  variant: "tertiary",
@@ -41004,8 +41004,8 @@ function V4(t) {
41004
41004
  const C = o.getImageData(0, 0, l, c2).data;
41005
41005
  let m = 0;
41006
41006
  const d = C.length / 4;
41007
- for (let p = 0; p < C.length; p += 4) {
41008
- const u = C[p] ?? 0, g = C[p + 1] ?? 0, y2 = C[p + 2] ?? 0;
41007
+ for (let h = 0; h < C.length; h += 4) {
41008
+ const u = C[h] ?? 0, g = C[h + 1] ?? 0, y2 = C[h + 2] ?? 0;
41009
41009
  m += 0.2126 * u + 0.7152 * g + 0.0722 * y2;
41010
41010
  }
41011
41011
  return m / d < 128;
@@ -41028,7 +41028,7 @@ var Uo = i.forwardRef(
41028
41028
  }, []), s2 = i.useMemo(
41029
41029
  () => ({ variant: t, reportBrightness: d }),
41030
41030
  [t, d]
41031
- ), p = [
41031
+ ), h = [
41032
41032
  "phx-card",
41033
41033
  Xe.cardRoot,
41034
41034
  Xe[`cardVariant${t.charAt(0).toUpperCase() + t.slice(1)}`],
@@ -41044,7 +41044,7 @@ var Uo = i.forwardRef(
41044
41044
  c2.borderWidth === void 0 && (t === "outlined" ? u.borderWidth = "xs" : t === "filled" ? u.borderWidth = 0 : u.borderWidth = "xs");
41045
41045
  const g = c2["data-theme"], y2 = t === "overlay" && g === void 0 && C === true ? "Dark" : g, b = { ...u, ...c2 };
41046
41046
  return y2 !== void 0 && (b["data-theme"] = y2), /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(qo.Provider, { value: s2, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
41047
- Pe,
41047
+ De,
41048
41048
  {
41049
41049
  ref: f,
41050
41050
  as: "article",
@@ -41052,7 +41052,7 @@ var Uo = i.forwardRef(
41052
41052
  flexDirection: a2 === "horizontal" ? "row" : "column",
41053
41053
  overflow: "hidden",
41054
41054
  position: "relative",
41055
- className: p,
41055
+ className: h,
41056
41056
  ...b,
41057
41057
  children: l
41058
41058
  }
@@ -41133,7 +41133,7 @@ var Jo = i.forwardRef(
41133
41133
  typeof c2 == "function" ? c2(u) : c2 && (c2.current = u), u && u.complete && u.naturalWidth > 0 && m && d(u);
41134
41134
  },
41135
41135
  [c2, m, d]
41136
- ), p = i.useCallback(
41136
+ ), h = i.useCallback(
41137
41137
  (u) => {
41138
41138
  d(u.currentTarget), r2?.(u);
41139
41139
  },
@@ -41154,7 +41154,7 @@ var Jo = i.forwardRef(
41154
41154
  o
41155
41155
  ].filter(Boolean).join(" "),
41156
41156
  alt: n,
41157
- onLoad: p,
41157
+ onLoad: h,
41158
41158
  ...l
41159
41159
  }
41160
41160
  );
@@ -41204,8 +41204,8 @@ var wa = i.forwardRef(
41204
41204
  ({ config: t, children: a2, className: o, style: n, minHeight: r2 = 300, ...l }, c2) => {
41205
41205
  const C = `chart-${i.useId().replace(/:/g, "")}`, m = i.useMemo(() => {
41206
41206
  const d = {};
41207
- return Object.entries(t).forEach(([s2, p]) => {
41208
- p.color && (d[`--color-${s2}`] = p.color);
41207
+ return Object.entries(t).forEach(([s2, h]) => {
41208
+ h.color && (d[`--color-${s2}`] = h.color);
41209
41209
  }), d;
41210
41210
  }, [t]);
41211
41211
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Xo.Provider, { value: { config: t }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
@@ -41375,7 +41375,7 @@ var v8 = i.forwardRef(
41375
41375
  actionIcon: m,
41376
41376
  onAction: d,
41377
41377
  actionLabel: s2,
41378
- className: p,
41378
+ className: h,
41379
41379
  onClick: u,
41380
41380
  ...g
41381
41381
  }, y2) => {
@@ -41388,7 +41388,7 @@ var v8 = i.forwardRef(
41388
41388
  b && it.clickable,
41389
41389
  o && it.hasAvatar,
41390
41390
  L && it.hasBadge,
41391
- p
41391
+ h
41392
41392
  ].filter(Boolean).join(" "), w = r2 === "filled" ? "white" : "black", k10 = l === "large" ? 20 : 16, S = () => {
41393
41393
  const R = !!(m && d);
41394
41394
  return !f && !R ? null : r2 === "filled" && f && !R ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
@@ -41507,7 +41507,7 @@ var D8 = i.forwardRef(
41507
41507
  className: f,
41508
41508
  ...C
41509
41509
  }, m) => {
41510
- const [d, s2] = i.useState(false), [p, u] = i.useState(false), [g, y2] = i.useState(false), b = l !== void 0 ? l : g, v = i.useRef(null), L = i.useRef(null), _ = i.useCallback(() => {
41510
+ const [d, s2] = i.useState(false), [h, u] = i.useState(false), [g, y2] = i.useState(false), b = l !== void 0 ? l : g, v = i.useRef(null), L = i.useRef(null), _ = i.useCallback(() => {
41511
41511
  const R = v.current;
41512
41512
  if (R) {
41513
41513
  const { scrollLeft: D, scrollWidth: U, clientWidth: I } = R;
@@ -41564,9 +41564,9 @@ var D8 = i.forwardRef(
41564
41564
  L.current = R, typeof m == "function" ? m(R) : m && (m.current = R);
41565
41565
  }, [m]), S = {
41566
41566
  "--chip-bar-fade-left": d ? `${eo}px` : "0px",
41567
- "--chip-bar-fade-right": p ? `${eo}px` : "0px",
41567
+ "--chip-bar-fade-right": h ? `${eo}px` : "0px",
41568
41568
  "--chip-bar-left-button-offset": d ? `${$n}px` : "0px",
41569
- "--chip-bar-right-button-offset": p ? `${$n}px` : "0px"
41569
+ "--chip-bar-right-button-offset": h ? `${$n}px` : "0px"
41570
41570
  };
41571
41571
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
41572
41572
  "div",
@@ -41639,7 +41639,7 @@ var D8 = i.forwardRef(
41639
41639
  className: [
41640
41640
  $e.chipBarNavSlot,
41641
41641
  $e.chipBarNavSlotRight,
41642
- p && $e.chipBarGradientVisible,
41642
+ h && $e.chipBarGradientVisible,
41643
41643
  "phx-nav-slot-right"
41644
41644
  ].filter(Boolean).join(" "),
41645
41645
  children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
@@ -41682,14 +41682,14 @@ var $o = i.forwardRef(
41682
41682
  grow: m,
41683
41683
  shrink: d,
41684
41684
  alignContent: s2,
41685
- alignSelf: p,
41685
+ alignSelf: h,
41686
41686
  order: u,
41687
41687
  children: g,
41688
41688
  className: y2,
41689
41689
  style: b,
41690
41690
  ...v
41691
41691
  }, L) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
41692
- Pe,
41692
+ De,
41693
41693
  {
41694
41694
  as: t || "div",
41695
41695
  ref: L,
@@ -41707,7 +41707,7 @@ var $o = i.forwardRef(
41707
41707
  flexGrow: m,
41708
41708
  flexShrink: d,
41709
41709
  alignContent: s2,
41710
- alignSelf: p,
41710
+ alignSelf: h,
41711
41711
  order: u,
41712
41712
  ...v,
41713
41713
  children: g
@@ -41865,7 +41865,7 @@ var s9 = i.forwardRef(
41865
41865
  c2
41866
41866
  );
41867
41867
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
41868
- Pe,
41868
+ De,
41869
41869
  {
41870
41870
  ref: d,
41871
41871
  className: g,
@@ -42091,7 +42091,7 @@ var gn = i.forwardRef(
42091
42091
  closeButtonVariant: m = "on-surface",
42092
42092
  closeButtonAriaLabel: d = "Close",
42093
42093
  footerElevationVariant: s2 = "shadow",
42094
- noPadding: p = false,
42094
+ noPadding: h = false,
42095
42095
  initialFocusRef: u,
42096
42096
  className: g,
42097
42097
  style: y2,
@@ -42194,11 +42194,11 @@ var gn = i.forwardRef(
42194
42194
  ref: H,
42195
42195
  className: [
42196
42196
  lt.sheetContent,
42197
- p && lt.sheetContentNoPadding,
42197
+ h && lt.sheetContentNoPadding,
42198
42198
  "scrollbarSm"
42199
42199
  ].filter(Boolean).join(" "),
42200
42200
  "data-popover-surface": "sheet-content",
42201
- "data-popover-surface-padding": p ? "0" : "16",
42201
+ "data-popover-surface-padding": h ? "0" : "16",
42202
42202
  children: a2
42203
42203
  }
42204
42204
  ),
@@ -42317,7 +42317,7 @@ var fn = i.forwardRef(
42317
42317
  style: c2,
42318
42318
  ...f
42319
42319
  }, C) => {
42320
- const [m, d] = i.useState(false), s2 = n !== void 0 ? n : m, p = i.useRef(null);
42320
+ const [m, d] = i.useState(false), s2 = n !== void 0 ? n : m, h = i.useRef(null);
42321
42321
  i.useEffect(() => {
42322
42322
  if (!a2 || !o || n !== void 0) {
42323
42323
  d(false);
@@ -42332,7 +42332,7 @@ var fn = i.forwardRef(
42332
42332
  };
42333
42333
  }, [a2, o, n]);
42334
42334
  const u = i.useCallback((b) => {
42335
- p.current = b, typeof C == "function" ? C(b) : C && (C.current = b);
42335
+ h.current = b, typeof C == "function" ? C(b) : C && (C.current = b);
42336
42336
  }, [C]), g = r2 === "auto", y2 = g ? void 0 : typeof r2 == "number" ? `${r2}px` : vu[r2];
42337
42337
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
42338
42338
  "div",
@@ -42391,7 +42391,7 @@ var er = ({
42391
42391
  dateFormat: m = "MMM d, yyyy",
42392
42392
  monthsToShow: d = 12,
42393
42393
  startDate: s2 = /* @__PURE__ */ new Date(),
42394
- title: p = "Select date",
42394
+ title: h = "Select date",
42395
42395
  open: u,
42396
42396
  className: g,
42397
42397
  ...y2
@@ -42443,7 +42443,7 @@ var er = ({
42443
42443
  Gn,
42444
42444
  {
42445
42445
  className: Yt.appBar,
42446
- title: p,
42446
+ title: h,
42447
42447
  size: "medium",
42448
42448
  leading: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
42449
42449
  pe,
@@ -42465,7 +42465,7 @@ var er = ({
42465
42465
  ] })
42466
42466
  ] }),
42467
42467
  ...y2,
42468
- children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(Pe, { className: Yt.dateSheetContainer, children: [
42468
+ children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(De, { className: Yt.dateSheetContainer, children: [
42469
42469
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Yt.weekHeader, children: H.map((B) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Yt.weekDay, children: B }, B)) }),
42470
42470
  /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Yt.monthList, children: [
42471
42471
  F.map((B) => /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Yt.monthWrapper, children: [
@@ -42579,7 +42579,7 @@ var _a = i.forwardRef(
42579
42579
  disabled: m,
42580
42580
  clearable: d = true,
42581
42581
  className: s2,
42582
- style: p,
42582
+ style: h,
42583
42583
  mode: u = "single",
42584
42584
  portal: g = true,
42585
42585
  size: y2 = "large",
@@ -42703,7 +42703,7 @@ var _a = i.forwardRef(
42703
42703
  );
42704
42704
  })
42705
42705
  }
42706
- ) }), De = /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
42706
+ ) }), Fe = /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
42707
42707
  gn,
42708
42708
  {
42709
42709
  open: S && I,
@@ -42744,7 +42744,7 @@ var _a = i.forwardRef(
42744
42744
  !w && !_ && Me.widthAuto,
42745
42745
  s2
42746
42746
  ),
42747
- style: { ...p, width: _ },
42747
+ style: { ...h, width: _ },
42748
42748
  onMouseEnter: () => U(true),
42749
42749
  onMouseLeave: () => U(false),
42750
42750
  children: [
@@ -42805,7 +42805,7 @@ var _a = i.forwardRef(
42805
42805
  }
42806
42806
  ),
42807
42807
  S && !I && (g ? (0, import_react_dom3.createPortal)(Se, document.body) : Se),
42808
- De
42808
+ Fe
42809
42809
  ] }),
42810
42810
  r2 && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: ea(Me.dropdownHelperText, l && Me.dropdownHelperTextError), children: r2 })
42811
42811
  ]
@@ -42825,7 +42825,7 @@ var p6 = ({
42825
42825
  showItemRange: f = true,
42826
42826
  className: C
42827
42827
  }) => {
42828
- const m = Math.ceil(a2 / o), d = (t - 1) * o + 1, s2 = Math.min(t * o, a2), p = () => {
42828
+ const m = Math.ceil(a2 / o), d = (t - 1) * o + 1, s2 = Math.min(t * o, a2), h = () => {
42829
42829
  const b = [];
42830
42830
  if (m <= 7)
42831
42831
  for (let L = 1; L <= m; L++)
@@ -42849,7 +42849,7 @@ var p6 = ({
42849
42849
  b >= 1 && b <= m && b !== t && r2?.(b);
42850
42850
  }, g = (b) => {
42851
42851
  typeof b == "string" && l?.(parseInt(b, 10));
42852
- }, y2 = p();
42852
+ }, y2 = h();
42853
42853
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: ["phx-pagination", Rt.paginationRoot, C].filter(Boolean).join(" "), children: [
42854
42854
  f && /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Rt.paginationItemRange, children: [
42855
42855
  /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("span", { className: Rt.paginationItemRangeText, children: [
@@ -42969,7 +42969,7 @@ function tr({
42969
42969
  loading: m = false,
42970
42970
  emptyContent: d,
42971
42971
  stickyHeader: s2 = false,
42972
- height: p,
42972
+ height: h,
42973
42973
  striped: u = false,
42974
42974
  hoverable: g = true,
42975
42975
  bordered: y2 = false,
@@ -43004,7 +43004,7 @@ function tr({
43004
43004
  const N = no(A, Se);
43005
43005
  return Se.render ? Se.render(N, A, q) : String(N ?? "");
43006
43006
  };
43007
- }, [Se, D]), Re = !!Te, De = !!D || !!Se && se, re2 = i.useCallback(() => {
43007
+ }, [Se, D]), Re = !!Te, Fe = !!D || !!Se && se, re2 = i.useCallback(() => {
43008
43008
  const A = $.current?.contentElement || Z.current;
43009
43009
  if (A) {
43010
43010
  const { scrollLeft: q, scrollWidth: N, clientWidth: ee } = A;
@@ -43101,7 +43101,7 @@ function tr({
43101
43101
  le.dataTableContainer,
43102
43102
  V && le.dataTableScrolled
43103
43103
  ].filter(Boolean).join(" "),
43104
- maxHeight: p,
43104
+ maxHeight: h,
43105
43105
  onScroll: re2,
43106
43106
  horizontalTrackStyle: {
43107
43107
  left: t.reduce((A, q) => q.sticky ? A + parseInt(q.width || "150", 10) : A, n ? 48 : 0),
@@ -43238,7 +43238,7 @@ function tr({
43238
43238
  ee && le.dataTableRowSelected,
43239
43239
  S && le.dataTableRowClickable,
43240
43240
  Re && le.dataTableRowWithActions,
43241
- De && le.dataTableRowWithActionsActive
43241
+ Fe && le.dataTableRowWithActionsActive
43242
43242
  ].filter(Boolean).join(" "),
43243
43243
  onClick: S ? () => S(A, q) : void 0,
43244
43244
  children: [
@@ -43396,7 +43396,7 @@ var P6 = i.forwardRef(
43396
43396
  disabled: m,
43397
43397
  className: d,
43398
43398
  style: s2,
43399
- minDate: p,
43399
+ minDate: h,
43400
43400
  maxDate: u,
43401
43401
  dateFormat: g = "dd/MM/yyyy",
43402
43402
  portal: y2 = true,
@@ -43461,7 +43461,7 @@ var P6 = i.forwardRef(
43461
43461
  W(void 0), M(""), ne();
43462
43462
  }, Ne = (z) => {
43463
43463
  z.preventDefault(), z.stopPropagation(), W(void 0), M("");
43464
- }, Ie = i.useCallback((z) => !(p && isBefore(z, p) && !isSameDay(z, p) || u && isAfter(z, u) && !isSameDay(z, u)), [p, u]), Se = i.useCallback((z) => {
43464
+ }, Ie = i.useCallback((z) => !(h && isBefore(z, h) && !isSameDay(z, h) || u && isAfter(z, u) && !isSameDay(z, u)), [h, u]), Se = i.useCallback((z) => {
43465
43465
  const X = z.trim();
43466
43466
  if (!X || !isMatch(X, H)) return;
43467
43467
  const O6 = parse(X, H, /* @__PURE__ */ new Date());
@@ -43501,7 +43501,7 @@ var P6 = i.forwardRef(
43501
43501
  }
43502
43502
  const xe = Se(ie);
43503
43503
  xe && (W(xe), se(xe));
43504
- }, De = () => {
43504
+ }, Fe = () => {
43505
43505
  m || (I(true), Y || Q());
43506
43506
  }, re2 = () => {
43507
43507
  if (I(false), !B.trim()) {
@@ -43627,7 +43627,7 @@ var P6 = i.forwardRef(
43627
43627
  placeholder: A ? "" : l,
43628
43628
  value: B,
43629
43629
  onChange: Re,
43630
- onFocus: De,
43630
+ onFocus: Fe,
43631
43631
  onBlur: re2,
43632
43632
  onKeyDown: fe,
43633
43633
  onClick: (z) => {
@@ -43675,7 +43675,7 @@ var P6 = i.forwardRef(
43675
43675
  onMonthChange: se,
43676
43676
  selectedDate: Z,
43677
43677
  onDayClick: oe,
43678
- minDate: p,
43678
+ minDate: h,
43679
43679
  maxDate: u
43680
43680
  }
43681
43681
  )
@@ -43691,7 +43691,7 @@ var P6 = i.forwardRef(
43691
43691
  mode: "single",
43692
43692
  defaultDate: Z,
43693
43693
  onConfirm: Ce,
43694
- minDate: p,
43694
+ minDate: h,
43695
43695
  maxDate: u,
43696
43696
  dateFormat: H,
43697
43697
  startDate: Z || /* @__PURE__ */ new Date(),
@@ -43799,7 +43799,7 @@ var X7 = i.forwardRef(
43799
43799
  checkboxProps: m,
43800
43800
  children: d,
43801
43801
  contentPadding: s2 = true,
43802
- className: p,
43802
+ className: h,
43803
43803
  closeOnOverlayClick: u = true,
43804
43804
  closeOnEscape: g = true,
43805
43805
  initialFocusRef: y2
@@ -43894,7 +43894,7 @@ var X7 = i.forwardRef(
43894
43894
  "div",
43895
43895
  {
43896
43896
  ref: U,
43897
- className: ["phx-dialog", ve.dialogRoot, Y, p].filter(Boolean).join(" "),
43897
+ className: ["phx-dialog", ve.dialogRoot, Y, h].filter(Boolean).join(" "),
43898
43898
  "data-popover-surface": "dialog",
43899
43899
  "data-popover-surface-padding": "16",
43900
43900
  children: [
@@ -43985,14 +43985,14 @@ var Ua = i.forwardRef(
43985
43985
  closeOnOverlayClick: m = true,
43986
43986
  closeOnEscape: d = true,
43987
43987
  initialFocusRef: s2
43988
- }, p) => {
43988
+ }, h) => {
43989
43989
  const u = i.useRef(null), g = i.useRef(null);
43990
43990
  jn(u, t), i.useEffect(() => {
43991
43991
  t ? (g.current = document.activeElement, s2?.current && s2.current.focus()) : g.current && (g.current.focus(), g.current = null);
43992
43992
  }, [t, s2]);
43993
43993
  const y2 = i.useCallback((_) => {
43994
- u.current = _, typeof p == "function" ? p(_) : p && (p.current = _);
43995
- }, [p]);
43994
+ u.current = _, typeof h == "function" ? h(_) : h && (h.current = _);
43995
+ }, [h]);
43996
43996
  if (i.useEffect(() => {
43997
43997
  if (!t || !d) return;
43998
43998
  const _ = (w) => {
@@ -44128,12 +44128,12 @@ var nr = i.forwardRef(
44128
44128
  asChild: C = false,
44129
44129
  ...m
44130
44130
  }, d) => {
44131
- const s2 = C ? Slot : "button", p = !!r2 && !l, u = [
44131
+ const s2 = C ? Slot : "button", h = !!r2 && !l, u = [
44132
44132
  "phx-fab",
44133
44133
  Kt.fabRoot,
44134
44134
  Kt[`fabVariant${a2.charAt(0).toUpperCase() + a2.slice(1)}`],
44135
44135
  Kt[`fabSize${o.charAt(0).toUpperCase() + o.slice(1)}`],
44136
- p && Kt.fabExtended,
44136
+ h && Kt.fabExtended,
44137
44137
  l && Kt.fabCollapsed,
44138
44138
  c2 && Kt.fabLoading,
44139
44139
  t
@@ -44194,13 +44194,13 @@ var Gm = i.forwardRef(
44194
44194
  onAction: m,
44195
44195
  onCopy: d,
44196
44196
  onShare: s2,
44197
- className: p,
44197
+ className: h,
44198
44198
  ...u
44199
44199
  }, g) => {
44200
44200
  const y2 = [
44201
44201
  "phx-gallery-card",
44202
44202
  Lt.galleryCardRoot,
44203
- p
44203
+ h
44204
44204
  ].filter(Boolean).join(" ");
44205
44205
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
44206
44206
  Uo,
@@ -44220,10 +44220,10 @@ var Gm = i.forwardRef(
44220
44220
  style: { borderRadius: "inherit" }
44221
44221
  }
44222
44222
  ),
44223
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { className: Lt.galleryCardOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(Pe, { className: Lt.galleryCardContentWrapper, children: [
44223
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { className: Lt.galleryCardOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(De, { className: Lt.galleryCardContentWrapper, children: [
44224
44224
  /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { align: "center", gap: "sm", mb: "xs", children: [
44225
44225
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(pa, { name: o, size: "32", src: r2 }),
44226
- /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(Pe, { children: [
44226
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(De, { children: [
44227
44227
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ye, { variant: "title-md", weight: "bold", className: Lt.galleryCardAuthorName, children: o }),
44228
44228
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ye, { variant: "label-md", className: Lt.galleryCardAuthorHandle, children: n })
44229
44229
  ] })
@@ -44304,7 +44304,7 @@ var lr = i.forwardRef(
44304
44304
  autoFlow: m,
44305
44305
  children: d,
44306
44306
  className: s2,
44307
- style: p,
44307
+ style: h,
44308
44308
  ...u
44309
44309
  }, g) => {
44310
44310
  const b = {
@@ -44322,13 +44322,13 @@ var lr = i.forwardRef(
44322
44322
  // standard 'gap' works for grid too.
44323
44323
  };
44324
44324
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
44325
- Pe,
44325
+ De,
44326
44326
  {
44327
44327
  ref: g,
44328
44328
  display: "grid",
44329
44329
  className: Ot("phx-grid", ir.gridRoot, s2),
44330
44330
  style: {
44331
- ...p,
44331
+ ...h,
44332
44332
  ...b
44333
44333
  },
44334
44334
  gap: a2,
@@ -44355,7 +44355,7 @@ var qg = i.forwardRef(
44355
44355
  style: m,
44356
44356
  ...d
44357
44357
  }, s2) => {
44358
- const p = (y2) => {
44358
+ const h = (y2) => {
44359
44359
  if (y2 === void 0) return {};
44360
44360
  const b = {};
44361
44361
  return typeof y2 == "object" && y2 !== null && !Array.isArray(y2) ? Object.keys(y2).forEach((v) => {
@@ -44369,7 +44369,7 @@ var qg = i.forwardRef(
44369
44369
  b[`--gridRE-${v}`] = `span ${y2[v]}`;
44370
44370
  }) : b["--gridRE-base"] = `span ${y2}`, b;
44371
44371
  }, g = {
44372
- ...p(t),
44372
+ ...h(t),
44373
44373
  ...u(a2),
44374
44374
  // Explicit colStart/colEnd overrule span defaults
44375
44375
  ...te("gridCS", o),
@@ -44379,7 +44379,7 @@ var qg = i.forwardRef(
44379
44379
  ...te("gridArea", c2)
44380
44380
  };
44381
44381
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
44382
- Pe,
44382
+ De,
44383
44383
  {
44384
44384
  ref: s2,
44385
44385
  className: Ot("phx-grid-item", ir.gridItem, C),
@@ -44565,7 +44565,7 @@ var WC = i.forwardRef(
44565
44565
  agentLabel: m = "Agent",
44566
44566
  onAgentClick: d,
44567
44567
  agentOptions: s2,
44568
- onAgentChange: p,
44568
+ onAgentChange: h,
44569
44569
  modelLabel: u = "GPT-5",
44570
44570
  onModelClick: g,
44571
44571
  modelOptions: y2,
@@ -44651,8 +44651,8 @@ var WC = i.forwardRef(
44651
44651
  const ee = c2.filter((z) => z.id !== N);
44652
44652
  f?.(ee);
44653
44653
  }, Re = (N) => {
44654
- N.key === "Enter" && !N.shiftKey && (N.preventDefault(), De());
44655
- }, De = () => {
44654
+ N.key === "Enter" && !N.shiftKey && (N.preventDefault(), Fe());
44655
+ }, Fe = () => {
44656
44656
  const N = I?.trim(), ee = c2.length > 0;
44657
44657
  (N || ee) && (r2?.(I || "", c2.length > 0 ? c2 : void 0), t === void 0 && Y(""), c2.length > 0 && f?.([]));
44658
44658
  }, fe = I && I.length > 0 || c2.length > 0, A = Math.max(0, uo - x10.length), q = T + j;
@@ -44767,7 +44767,7 @@ var WC = i.forwardRef(
44767
44767
  {
44768
44768
  options: s2,
44769
44769
  value: m,
44770
- onChange: (N) => p?.(N),
44770
+ onChange: (N) => h?.(N),
44771
44771
  renderTrigger: ({ onClick: N }) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
44772
44772
  Oe,
44773
44773
  {
@@ -44838,7 +44838,7 @@ var WC = i.forwardRef(
44838
44838
  size: "small",
44839
44839
  shape: "pill",
44840
44840
  icon: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ArrowUpOutline, {}),
44841
- onClick: De,
44841
+ onClick: Fe,
44842
44842
  isLoading: k10,
44843
44843
  disabled: _,
44844
44844
  "aria-label": "Send"
@@ -44895,7 +44895,7 @@ var KC = i.forwardRef(
44895
44895
  onClick: C,
44896
44896
  ...m
44897
44897
  }, d) => {
44898
- const s2 = o !== void 0, [p, u] = i.useState(n), [g, y2] = i.useState(false), b = i.useRef(null), v = s2 ? o : p, L = r2 === "small" ? 20 : 24, _ = (R) => {
44898
+ const s2 = o !== void 0, [h, u] = i.useState(n), [g, y2] = i.useState(false), b = i.useRef(null), v = s2 ? o : h, L = r2 === "small" ? 20 : 24, _ = (R) => {
44899
44899
  c2 || (b.current && clearTimeout(b.current), y2(true), b.current = setTimeout(() => y2(false), 350), v || (s2 || u(true), f && f(true)), C && C(R));
44900
44900
  };
44901
44901
  i.useEffect(() => () => {
@@ -44979,15 +44979,15 @@ var Be = i.forwardRef(
44979
44979
  }
44980
44980
  );
44981
44981
  Be.displayName = "Skeleton";
44982
- var iv = "_sectionHeaderRoot_1igy4_4";
44983
- var lv = "_sectionHeaderTitleGroup_1igy4_15";
44984
- var sv = "_sectionHeaderTitleAndDescription_1igy4_23";
44985
- var cv = "_sectionHeaderDescription_1igy4_31";
44986
- var dv = "_sectionHeaderTitle_1igy4_15";
44987
- var uv = "_sectionHeaderSizeMedium_1igy4_53";
44988
- var hv = "_sectionHeaderSizeLarge_1igy4_62";
44989
- var pv = "_sectionHeaderContextualActions_1igy4_73";
44990
- var mv = "_sectionHeaderTrailingActions_1igy4_83";
44982
+ var iv = "_sectionHeaderRoot_1uj6q_4";
44983
+ var lv = "_sectionHeaderTitleGroup_1uj6q_15";
44984
+ var sv = "_sectionHeaderTitleAndDescription_1uj6q_23";
44985
+ var cv = "_sectionHeaderDescription_1uj6q_31";
44986
+ var dv = "_sectionHeaderTitle_1uj6q_15";
44987
+ var uv = "_sectionHeaderSizeMedium_1uj6q_53";
44988
+ var hv = "_sectionHeaderSizeLarge_1uj6q_62";
44989
+ var pv = "_sectionHeaderContextualActions_1uj6q_73";
44990
+ var mv = "_sectionHeaderTrailingActions_1uj6q_83";
44991
44991
  var sa = {
44992
44992
  sectionHeaderRoot: iv,
44993
44993
  sectionHeaderTitleGroup: lv,
@@ -45131,14 +45131,14 @@ var Gt = ({
45131
45131
  minHeight: 0
45132
45132
  },
45133
45133
  children: [
45134
- o && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: {
45134
+ o && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: {
45135
45135
  height: C,
45136
45136
  minHeight: C === "100%" ? 0 : C,
45137
45137
  width: "100%",
45138
45138
  display: "flex",
45139
45139
  flexDirection: "column"
45140
45140
  }, children: o }),
45141
- r2 && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { mt: "md", children: typeof r2 == "string" ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ye, { variant: "body-sm", children: r2 }) : r2 })
45141
+ r2 && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { mt: "md", children: typeof r2 == "string" ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ye, { variant: "body-sm", children: r2 }) : r2 })
45142
45142
  ]
45143
45143
  }
45144
45144
  )
@@ -45156,13 +45156,13 @@ var yv = ({
45156
45156
  showLegend: m = false,
45157
45157
  barChartProps: d,
45158
45158
  chartHeight: s2 = 300,
45159
- ...p
45159
+ ...h
45160
45160
  }) => {
45161
- if (p.loading)
45162
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...p, chartHeight: s2 });
45161
+ if (h.loading)
45162
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...h, chartHeight: s2 });
45163
45163
  const u = typeof s2 == "number" ? s2 : parseInt(s2) || 300, g = Array.isArray(o) ? o : [o];
45164
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...p, chartHeight: s2, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { direction: "column", gap: "lg", style: { height: "100%", width: "100%" }, children: [
45165
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: s2 === "100%" ? 0 : u - (m ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45164
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...h, chartHeight: s2, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { direction: "column", gap: "lg", style: { height: "100%", width: "100%" }, children: [
45165
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: s2 === "100%" ? 0 : u - (m ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45166
45166
  BarChart,
45167
45167
  {
45168
45168
  data: t,
@@ -45244,15 +45244,15 @@ var _v = ({
45244
45244
  legendPosition: m = "bottom",
45245
45245
  pieChartProps: d,
45246
45246
  chartHeight: s2 = 300,
45247
- ...p
45247
+ ...h
45248
45248
  }) => {
45249
- if (p.loading)
45250
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...p, chartHeight: s2 });
45249
+ if (h.loading)
45250
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...h, chartHeight: s2 });
45251
45251
  const u = typeof s2 == "number" ? s2 : parseInt(s2) || 300, g = m === "right", b = Math.ceil((l + c2 + 20) * 2), v = s2 === "100%" ? b : Math.max(
45252
45252
  u - (C && !g ? 60 : 0),
45253
45253
  b
45254
45254
  );
45255
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...p, chartHeight: s2, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45255
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...h, chartHeight: s2, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45256
45256
  we,
45257
45257
  {
45258
45258
  align: g ? "center" : "stretch",
@@ -45261,7 +45261,7 @@ var _v = ({
45261
45261
  gap: "lg",
45262
45262
  style: { height: "100%", width: "100%" },
45263
45263
  children: [
45264
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: { flex: 1, minHeight: 0, minWidth: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: v, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(PieChart, { margin: { top: 10, right: 10, bottom: 10, left: 10 }, ...d, children: [
45264
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: { flex: 1, minHeight: 0, minWidth: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: v, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(PieChart, { margin: { top: 10, right: 10, bottom: 10, left: 10 }, ...d, children: [
45265
45265
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
45266
45266
  Pie,
45267
45267
  {
@@ -45336,14 +45336,14 @@ var Lv = ({
45336
45336
  strokeWidth: m = 2,
45337
45337
  showLegend: d = false,
45338
45338
  lineChartProps: s2,
45339
- chartHeight: p = 300,
45339
+ chartHeight: h = 300,
45340
45340
  ...u
45341
45341
  }) => {
45342
45342
  if (u.loading)
45343
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...u, chartHeight: p });
45344
- const g = typeof p == "number" ? p : parseInt(p) || 300, y2 = Array.isArray(o) ? o : [o];
45345
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...u, chartHeight: p, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { direction: "column", gap: "lg", style: { height: "100%", width: "100%" }, children: [
45346
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: p === "100%" ? 0 : g - (d ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45343
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...u, chartHeight: h });
45344
+ const g = typeof h == "number" ? h : parseInt(h) || 300, y2 = Array.isArray(o) ? o : [o];
45345
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...u, chartHeight: h, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { direction: "column", gap: "lg", style: { height: "100%", width: "100%" }, children: [
45346
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: h === "100%" ? 0 : g - (d ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45347
45347
  LineChart,
45348
45348
  {
45349
45349
  data: t,
@@ -45427,7 +45427,7 @@ var wv = ({
45427
45427
  fillOpacity: m = 0.4,
45428
45428
  strokeWidth: d = 2,
45429
45429
  showLegend: s2 = false,
45430
- areaChartProps: p,
45430
+ areaChartProps: h,
45431
45431
  chartHeight: u = 300,
45432
45432
  ...g
45433
45433
  }) => {
@@ -45435,12 +45435,12 @@ var wv = ({
45435
45435
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...g, chartHeight: u });
45436
45436
  const y2 = typeof u == "number" ? u : parseInt(u) || 300, b = Array.isArray(o) ? o : [o];
45437
45437
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...g, chartHeight: u, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { direction: "column", gap: "lg", style: { height: "100%", width: "100%" }, children: [
45438
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: u === "100%" ? 0 : y2 - (s2 ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45438
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: { flex: 1, minHeight: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: u === "100%" ? 0 : y2 - (s2 ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45439
45439
  AreaChart,
45440
45440
  {
45441
45441
  data: t,
45442
45442
  margin: { top: 20, right: 20, left: -20, bottom: 0 },
45443
- ...p,
45443
+ ...h,
45444
45444
  children: [
45445
45445
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("defs", { children: b.map((v) => {
45446
45446
  const L = a2[v]?.color || `var(--color-${v})`;
@@ -45528,7 +45528,7 @@ var kv = ({
45528
45528
  }) => {
45529
45529
  if (d.loading)
45530
45530
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...d, chartHeight: m });
45531
- const s2 = typeof m == "number" ? m : parseInt(m) || 350, p = Array.isArray(o) ? o : [o], u = f === "right";
45531
+ const s2 = typeof m == "number" ? m : parseInt(m) || 350, h = Array.isArray(o) ? o : [o], u = f === "right";
45532
45532
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Gt, { ...d, chartHeight: m, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45533
45533
  we,
45534
45534
  {
@@ -45538,7 +45538,7 @@ var kv = ({
45538
45538
  gap: "lg",
45539
45539
  style: { height: "100%", width: "100%" },
45540
45540
  children: [
45541
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Pe, { style: { flex: 1, minHeight: 0, minWidth: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: m === "100%" ? 0 : s2 - (c2 && !u ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45541
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(De, { style: { flex: 1, minHeight: 0, minWidth: 0, width: "100%", position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(wa, { config: a2, minHeight: m === "100%" ? 0 : s2 - (c2 && !u ? 40 : 0), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
45542
45542
  RadarChart,
45543
45543
  {
45544
45544
  cx: "50%",
@@ -45563,7 +45563,7 @@ var kv = ({
45563
45563
  }
45564
45564
  ),
45565
45565
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(qa, {}),
45566
- p.map((g) => {
45566
+ h.map((g) => {
45567
45567
  const y2 = a2[g]?.color || `var(--color-${g})`;
45568
45568
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
45569
45569
  Radar,
@@ -45589,7 +45589,7 @@ var kv = ({
45589
45589
  direction: u ? "column" : "row",
45590
45590
  gap: u ? "sm" : "md",
45591
45591
  style: u ? { minWidth: "120px", paddingRight: "var(--space-md)" } : { width: "100%", columnGap: "var(--space-3xl)", paddingBottom: "var(--space-xs)" },
45592
- children: p.map((g) => {
45592
+ children: h.map((g) => {
45593
45593
  const y2 = a2[g]?.color || `var(--color-${g})`;
45594
45594
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(we, { align: "center", gap: "xs", children: [
45595
45595
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
@@ -45732,7 +45732,7 @@ var Qv = i.forwardRef(
45732
45732
  onClick: c2,
45733
45733
  ...f
45734
45734
  }, C) => {
45735
- const [m, d] = i.useState(false), s2 = i.useRef(null), p = 24, u = (v) => {
45735
+ const [m, d] = i.useState(false), s2 = i.useRef(null), h = 24, u = (v) => {
45736
45736
  s2.current && clearTimeout(s2.current), d(true), s2.current = setTimeout(() => {
45737
45737
  d(false);
45738
45738
  }, 400), l && l(!o), c2 && c2(v);
@@ -45761,7 +45761,7 @@ var Qv = i.forwardRef(
45761
45761
  onClick: u,
45762
45762
  style: n ? void 0 : a2,
45763
45763
  ...f,
45764
- children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Ta.selectCheckIcon, children: o ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(CheckCircleFilled, { size: p }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(CircleOutline, { size: p }) })
45764
+ children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Ta.selectCheckIcon, children: o ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(CheckCircleFilled, { size: h }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(CircleOutline, { size: h }) })
45765
45765
  }
45766
45766
  );
45767
45767
  return n ? /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("label", { className: y2, style: a2, children: [
@@ -45797,9 +45797,9 @@ var rb = i.forwardRef(
45797
45797
  className: f,
45798
45798
  ...C
45799
45799
  }, m) => {
45800
- const d = t !== void 0, [s2, p] = i.useState(a2), u = d ? t : s2, g = (v) => {
45800
+ const d = t !== void 0, [s2, h] = i.useState(a2), u = d ? t : s2, g = (v) => {
45801
45801
  const L = Number(v.target.value);
45802
- d || p(L), l?.(L);
45802
+ d || h(L), l?.(L);
45803
45803
  }, y2 = (u - o) / (n - o) * 100, b = ["phx-slider", Ra.sliderRoot, c2 && Ra.disabled, f].filter(Boolean).join(" ");
45804
45804
  return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: b, children: [
45805
45805
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Ra.sliderTrack, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
@@ -45874,11 +45874,11 @@ var Cr = i.forwardRef(
45874
45874
  className: C,
45875
45875
  ...m
45876
45876
  }, d) => {
45877
- const [s2, p] = i.useState(f), u = n === "below" || n === "auto" && !!(a2?.label && a2.label.length > 10), g = r2 && !a2, y2 = a2 && !r2, b = f && !a2 && o !== 1 / 0 && o > 0, v = i.useCallback(() => {
45878
- p(false), l?.();
45877
+ const [s2, h] = i.useState(f), u = n === "below" || n === "auto" && !!(a2?.label && a2.label.length > 10), g = r2 && !a2, y2 = a2 && !r2, b = f && !a2 && o !== 1 / 0 && o > 0, v = i.useCallback(() => {
45878
+ h(false), l?.();
45879
45879
  }, [l]);
45880
45880
  if (i.useEffect(() => {
45881
- p(f);
45881
+ h(f);
45882
45882
  }, [f]), i.useEffect(() => {
45883
45883
  if (!b || !s2)
45884
45884
  return;
@@ -45961,7 +45961,7 @@ var Gb = i.forwardRef(
45961
45961
  onClick: c2,
45962
45962
  ...f
45963
45963
  }, C) => {
45964
- const [m, d] = i.useState(false), s2 = i.useRef(null), p = o === "small" ? 20 : 24, u = (y2) => {
45964
+ const [m, d] = i.useState(false), s2 = i.useRef(null), h = o === "small" ? 20 : 24, u = (y2) => {
45965
45965
  r2 || (s2.current && clearTimeout(s2.current), d(true), s2.current = setTimeout(() => d(false), 350), l && l(!a2), c2 && c2(y2));
45966
45966
  };
45967
45967
  i.useEffect(() => () => {
@@ -45986,7 +45986,7 @@ var Gb = i.forwardRef(
45986
45986
  onClick: u,
45987
45987
  "aria-pressed": a2,
45988
45988
  ...f,
45989
- children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: xa.starIconWrapper, children: a2 ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StarFilled, { size: p }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StarOutline, { size: p }) })
45989
+ children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: xa.starIconWrapper, children: a2 ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StarFilled, { size: h }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StarOutline, { size: h }) })
45990
45990
  }
45991
45991
  );
45992
45992
  }
@@ -46083,7 +46083,7 @@ var wy = "_tabsTabIconOnly_1je40_416";
46083
46083
  var ky2 = "_tabsTabIcon_1je40_416";
46084
46084
  var Sy = "_tabsTabChevron_1je40_439";
46085
46085
  var Ty = "_tabsTabChevronRotated_1je40_469";
46086
- var Fe = {
46086
+ var Pe = {
46087
46087
  tabsRoot: $b,
46088
46088
  tabsRootElevated: ey,
46089
46089
  tabsRootSticky: ty,
@@ -46118,7 +46118,7 @@ var xy = 12;
46118
46118
  var po = 32;
46119
46119
  var mo = 44;
46120
46120
  var Hy = i.forwardRef(
46121
- ({ tabs: t, activeTab: a2, onChange: o, stacked: n, elevated: r2, sticky: l, stuck: c2, padded: f, className: C, style: m, activationMode: d = "automatic", variant: s2 = "line", size: p = "medium", overflowControls: u = "auto" }, g) => {
46121
+ ({ tabs: t, activeTab: a2, onChange: o, stacked: n, elevated: r2, sticky: l, stuck: c2, padded: f, className: C, style: m, activationMode: d = "automatic", variant: s2 = "line", size: h = "medium", overflowControls: u = "auto" }, g) => {
46122
46122
  const [y2, b] = i.useState({
46123
46123
  left: 0,
46124
46124
  width: 0,
@@ -46208,23 +46208,23 @@ var Hy = i.forwardRef(
46208
46208
  ref: B,
46209
46209
  className: [
46210
46210
  "phx-tabs",
46211
- Fe.tabsRoot,
46212
- Fe[`tabsRoot${s2.charAt(0).toUpperCase() + s2.slice(1)}`],
46213
- Fe[`tabsRoot${p.charAt(0).toUpperCase() + p.slice(1)}`],
46214
- r2 && Fe.tabsRootElevated,
46215
- l && Fe.tabsRootSticky,
46216
- l && R && Fe.tabsRootStuck,
46211
+ Pe.tabsRoot,
46212
+ Pe[`tabsRoot${s2.charAt(0).toUpperCase() + s2.slice(1)}`],
46213
+ Pe[`tabsRoot${h.charAt(0).toUpperCase() + h.slice(1)}`],
46214
+ r2 && Pe.tabsRootElevated,
46215
+ l && Pe.tabsRootSticky,
46216
+ l && R && Pe.tabsRootStuck,
46217
46217
  C
46218
46218
  ].filter(Boolean).join(" "),
46219
46219
  style: m,
46220
- children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Fe.tabsScrollOuter, children: [
46220
+ children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Pe.tabsScrollOuter, children: [
46221
46221
  F && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
46222
46222
  "div",
46223
46223
  {
46224
46224
  className: [
46225
- Fe.tabsNavSlot,
46226
- Fe.tabsNavSlotLeft,
46227
- v && Fe.tabsGradientVisible
46225
+ Pe.tabsNavSlot,
46226
+ Pe.tabsNavSlotLeft,
46227
+ v && Pe.tabsGradientVisible
46228
46228
  ].filter(Boolean).join(" "),
46229
46229
  children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
46230
46230
  pe,
@@ -46233,7 +46233,7 @@ var Hy = i.forwardRef(
46233
46233
  variant: "tertiary",
46234
46234
  size: "small",
46235
46235
  shape: "pill",
46236
- className: Fe.tabsNavButton,
46236
+ className: Pe.tabsNavButton,
46237
46237
  onClick: () => H("left"),
46238
46238
  "aria-label": "Scroll left",
46239
46239
  icon: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ChevronLeftOutline, {})
@@ -46241,7 +46241,7 @@ var Hy = i.forwardRef(
46241
46241
  )
46242
46242
  }
46243
46243
  ),
46244
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Fe.tabsScrollContainer, style: M, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Fe.tabsMaskWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
46244
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Pe.tabsScrollContainer, style: M, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { className: Pe.tabsMaskWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
46245
46245
  "div",
46246
46246
  {
46247
46247
  ref: I,
@@ -46251,8 +46251,8 @@ var Hy = i.forwardRef(
46251
46251
  paddingInlineStart: typeof f == "number" ? `${f}px` : f
46252
46252
  } : {},
46253
46253
  className: [
46254
- Fe.tabsList,
46255
- (f === true || typeof f == "string" || typeof f == "number") && Fe.tabsListPadded,
46254
+ Pe.tabsList,
46255
+ (f === true || typeof f == "string" || typeof f == "number") && Pe.tabsListPadded,
46256
46256
  "scrollbarHidden"
46257
46257
  ].filter(Boolean).join(" "),
46258
46258
  children: [
@@ -46271,11 +46271,11 @@ var Hy = i.forwardRef(
46271
46271
  disabled: x10.disabled,
46272
46272
  tabIndex: T ? 0 : -1,
46273
46273
  className: [
46274
- Fe.tabsTab,
46275
- T && Fe.tabsTabActive,
46276
- P10 && Fe.tabsTabTextOnly,
46277
- j && Fe.tabsTabIconOnly,
46278
- n && Fe.tabsTabStacked
46274
+ Pe.tabsTab,
46275
+ T && Pe.tabsTabActive,
46276
+ P10 && Pe.tabsTabTextOnly,
46277
+ j && Pe.tabsTabIconOnly,
46278
+ n && Pe.tabsTabStacked
46279
46279
  ].filter(Boolean).join(" "),
46280
46280
  onClick: () => !x10.disabled && o(x10.id),
46281
46281
  onKeyDown: (Q) => {
@@ -46290,19 +46290,19 @@ var Hy = i.forwardRef(
46290
46290
  children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
46291
46291
  "span",
46292
46292
  {
46293
- className: Fe.tabsTabContent,
46293
+ className: Pe.tabsTabContent,
46294
46294
  ref: (Q) => {
46295
46295
  U.current[K] = Q;
46296
46296
  },
46297
46297
  children: [
46298
- x10.icon && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Fe.tabsTabIcon, children: x10.icon }),
46299
- x10.label && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Fe.tabLabel, children: x10.label }),
46298
+ x10.icon && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Pe.tabsTabIcon, children: x10.icon }),
46299
+ x10.label && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("span", { className: Pe.tabLabel, children: x10.label }),
46300
46300
  x10.showChevron && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
46301
46301
  "span",
46302
46302
  {
46303
46303
  className: [
46304
- Fe.tabsTabChevron,
46305
- x10.chevronRotated && Fe.tabsTabChevronRotated
46304
+ Pe.tabsTabChevron,
46305
+ x10.chevronRotated && Pe.tabsTabChevronRotated
46306
46306
  ].filter(Boolean).join(" "),
46307
46307
  onClick: (Q) => {
46308
46308
  x10.onChevronClick && (Q.stopPropagation(), x10.onChevronClick(Q));
@@ -46320,7 +46320,7 @@ var Hy = i.forwardRef(
46320
46320
  /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
46321
46321
  "div",
46322
46322
  {
46323
- className: Fe.tabsIndicator,
46323
+ className: Pe.tabsIndicator,
46324
46324
  style: y2,
46325
46325
  "aria-hidden": "true"
46326
46326
  }
@@ -46332,9 +46332,9 @@ var Hy = i.forwardRef(
46332
46332
  "div",
46333
46333
  {
46334
46334
  className: [
46335
- Fe.tabsNavSlot,
46336
- Fe.tabsNavSlotRight,
46337
- _ && Fe.tabsGradientVisible
46335
+ Pe.tabsNavSlot,
46336
+ Pe.tabsNavSlotRight,
46337
+ _ && Pe.tabsGradientVisible
46338
46338
  ].filter(Boolean).join(" "),
46339
46339
  children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
46340
46340
  pe,
@@ -46343,7 +46343,7 @@ var Hy = i.forwardRef(
46343
46343
  variant: "tertiary",
46344
46344
  size: "small",
46345
46345
  shape: "pill",
46346
- className: Fe.tabsNavButton,
46346
+ className: Pe.tabsNavButton,
46347
46347
  onClick: () => H("right"),
46348
46348
  "aria-label": "Scroll right",
46349
46349
  icon: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(ChevronRightOutline, {})
@@ -46422,7 +46422,7 @@ var zy = i.forwardRef(
46422
46422
  style: m,
46423
46423
  onFocus: d,
46424
46424
  onBlur: s2,
46425
- onChange: p,
46425
+ onChange: h,
46426
46426
  value: u,
46427
46427
  defaultValue: g,
46428
46428
  placeholder: y2,
@@ -46435,7 +46435,7 @@ var zy = i.forwardRef(
46435
46435
  const [S, R] = i.useState(false), [D, U] = ha({
46436
46436
  value: u,
46437
46437
  defaultValue: g || "",
46438
- onChange: p
46438
+ onChange: h
46439
46439
  }), I = D, Y = I?.length || 0, F = c2 ?? l !== void 0, W = (x10) => {
46440
46440
  R(true), d?.(x10);
46441
46441
  }, H = (x10) => {
@@ -46594,7 +46594,7 @@ var M_ = i.forwardRef(
46594
46594
  trailingDropdownOptions: m,
46595
46595
  trailingDropdownValue: d,
46596
46596
  onTrailingDropdownChange: s2,
46597
- onTrailingDropdownClick: p,
46597
+ onTrailingDropdownClick: h,
46598
46598
  showClear: u = true,
46599
46599
  onClear: g,
46600
46600
  shortcutHint: y2,
@@ -46653,10 +46653,10 @@ var M_ = i.forwardRef(
46653
46653
  Ie && (ae = ae.replace(/[^0-9]/g, "").slice(0, 15).replace(/(\d{1,3})(?=(\d{3,4})+(?!\d))/g, "$1 ").trim()), $(ae);
46654
46654
  }, Re = (O6) => {
46655
46655
  O6.preventDefault(), O6.stopPropagation(), $(""), g?.(), G.current?.focus();
46656
- }, De = (O6) => {
46656
+ }, Fe = (O6) => {
46657
46657
  O6.key === "Enter" && O6.target.blur();
46658
46658
  }, re2 = (O6) => {
46659
- !k10 && !S && (O6.stopPropagation(), m ? ne(!Q) : p?.());
46659
+ !k10 && !S && (O6.stopPropagation(), m ? ne(!Q) : h?.());
46660
46660
  }, fe = (O6) => {
46661
46661
  const ae = Array.isArray(O6) ? O6[0] : O6;
46662
46662
  ae && se(ae), ne(false);
@@ -46760,7 +46760,7 @@ var M_ = i.forwardRef(
46760
46760
  onFocus: Ne,
46761
46761
  onBlur: Se,
46762
46762
  onChange: Te,
46763
- onKeyDown: De,
46763
+ onKeyDown: Fe,
46764
46764
  value: V,
46765
46765
  placeholder: A ? "" : B,
46766
46766
  inputMode: Ie ? "numeric" : K.inputMode,
@@ -46910,14 +46910,14 @@ var br = i.forwardRef(
46910
46910
  avatarSrc: d,
46911
46911
  // @ts-ignore
46912
46912
  avatarName: s2,
46913
- ...p
46913
+ ...h
46914
46914
  } = t, u = o === "icon" ? m ?? "info" : void 0, g = o === "avatar" ? d : void 0, y2 = o === "avatar" ? s2 : void 0, b = u ? q_[u] : null, v = [
46915
46915
  "phx-toast",
46916
46916
  Mt.toastRoot,
46917
46917
  u && Mt[`toastVariant${u.charAt(0).toUpperCase() + u.slice(1)}`],
46918
46918
  C
46919
46919
  ].filter(Boolean).join(" ");
46920
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { ref: a2, className: v, role: "alert", ...p, children: [
46920
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { ref: a2, className: v, role: "alert", ...h, children: [
46921
46921
  /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: Mt.toastIcon, children: [
46922
46922
  o === "icon" && b && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(b, { size: 24 }),
46923
46923
  o === "avatar" && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(