@agg-build/ui 1.0.0 → 1.0.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.
Files changed (56) hide show
  1. package/dist/{chunk-2QJXRRYP.mjs → chunk-43K4PFBC.mjs} +3 -2
  2. package/dist/{chunk-I2WBGEWK.mjs → chunk-5ES2VJHO.mjs} +159 -93
  3. package/dist/{chunk-DMKKNK76.mjs → chunk-BYMLPLEZ.mjs} +791 -583
  4. package/dist/{chunk-C7T56TJR.mjs → chunk-HD6HBTK2.mjs} +1 -1
  5. package/dist/{chunk-CGNDMLQL.mjs → chunk-LPNZOX3E.mjs} +123 -52
  6. package/dist/{chunk-75IGOQ4N.mjs → chunk-WLXYCBZV.mjs} +62 -32
  7. package/dist/{chunk-6NS7D73S.mjs → chunk-YZNO6IUD.mjs} +740 -521
  8. package/dist/events.js +196 -93
  9. package/dist/events.mjs +3 -3
  10. package/dist/index.js +3396 -2806
  11. package/dist/index.mjs +13 -7
  12. package/dist/modals.js +798 -535
  13. package/dist/modals.mjs +3 -3
  14. package/dist/pages.js +378 -176
  15. package/dist/pages.mjs +6 -6
  16. package/dist/primitives.js +713 -531
  17. package/dist/primitives.mjs +7 -1
  18. package/dist/styles.css +1 -1
  19. package/dist/tailwind.css +1 -1
  20. package/dist/trading.js +242 -54
  21. package/dist/trading.mjs +4 -4
  22. package/dist/types/deposit/steps/card-payment-pending.d.mts +3 -1
  23. package/dist/types/deposit/steps/card-payment-pending.d.ts +3 -1
  24. package/dist/types/deposit/steps/crypto-transfer.d.mts +1 -1
  25. package/dist/types/deposit/steps/crypto-transfer.d.ts +1 -1
  26. package/dist/types/events/item/event-list-item.utils.d.mts +57 -0
  27. package/dist/types/events/item/event-list-item.utils.d.ts +57 -0
  28. package/dist/types/events/item-details/event-list-item-details.types.d.mts +16 -1
  29. package/dist/types/events/item-details/event-list-item-details.types.d.ts +16 -1
  30. package/dist/types/events/market-details/market-details.types.d.mts +8 -0
  31. package/dist/types/events/market-details/market-details.types.d.ts +8 -0
  32. package/dist/types/primitives/copy-button/index.d.mts +25 -0
  33. package/dist/types/primitives/copy-button/index.d.ts +25 -0
  34. package/dist/types/primitives/index.d.mts +2 -0
  35. package/dist/types/primitives/index.d.ts +2 -0
  36. package/dist/types/primitives/toast/index.d.mts +4 -0
  37. package/dist/types/primitives/toast/index.d.ts +4 -0
  38. package/dist/types/primitives/toast/toast.types.d.mts +31 -0
  39. package/dist/types/primitives/toast/toast.types.d.ts +31 -0
  40. package/dist/types/trading/place-order/index.place-order.constants.d.mts +8 -0
  41. package/dist/types/trading/place-order/index.place-order.constants.d.ts +8 -0
  42. package/dist/types/trading/place-order/index.place-order.types.d.mts +6 -0
  43. package/dist/types/trading/place-order/index.place-order.types.d.ts +6 -0
  44. package/dist/types/trading/place-order/index.place-order.utils.d.mts +4 -7
  45. package/dist/types/trading/place-order/index.place-order.utils.d.ts +4 -7
  46. package/dist/types/withdraw/index.d.mts +2 -2
  47. package/dist/types/withdraw/index.d.ts +2 -2
  48. package/dist/types/withdraw/steps/withdraw-amount.d.mts +6 -3
  49. package/dist/types/withdraw/steps/withdraw-amount.d.ts +6 -3
  50. package/dist/types/withdraw/steps/withdraw-success.d.mts +8 -1
  51. package/dist/types/withdraw/steps/withdraw-success.d.ts +8 -1
  52. package/dist/types/withdraw/steps/withdraw-success.utils.d.mts +36 -0
  53. package/dist/types/withdraw/steps/withdraw-success.utils.d.ts +36 -0
  54. package/dist/types/withdraw/withdraw-modal.types.d.mts +25 -15
  55. package/dist/types/withdraw/withdraw-modal.types.d.ts +25 -15
  56. package/package.json +6 -5
@@ -3860,9 +3860,64 @@ var LineChart = ({
3860
3860
  };
3861
3861
  LineChart.displayName = "LineChart";
3862
3862
 
3863
+ // src/primitives/copy-button/index.tsx
3864
+ import { useCallback as useCallback2, useEffect as useEffect4, useRef as useRef3, useState as useState4 } from "react";
3865
+ import { jsx as jsx81, jsxs as jsxs80 } from "react/jsx-runtime";
3866
+ var CopyButton = ({
3867
+ value,
3868
+ label,
3869
+ copiedLabel,
3870
+ "aria-label": ariaLabel,
3871
+ disabled,
3872
+ className,
3873
+ iconClassName = "h-4 w-4",
3874
+ onCopy,
3875
+ resetMs = 2e3
3876
+ }) => {
3877
+ const [isCopied, setIsCopied] = useState4(false);
3878
+ const timeoutRef = useRef3(null);
3879
+ useEffect4(
3880
+ () => () => {
3881
+ if (timeoutRef.current !== null) clearTimeout(timeoutRef.current);
3882
+ },
3883
+ []
3884
+ );
3885
+ const handleClick = useCallback2(() => {
3886
+ var _a;
3887
+ if (!value) return;
3888
+ (_a = navigator.clipboard) == null ? void 0 : _a.writeText(value).catch(() => {
3889
+ });
3890
+ setIsCopied(true);
3891
+ onCopy == null ? void 0 : onCopy();
3892
+ if (timeoutRef.current !== null) clearTimeout(timeoutRef.current);
3893
+ timeoutRef.current = setTimeout(() => setIsCopied(false), resetMs);
3894
+ }, [onCopy, resetMs, value]);
3895
+ const showLabel = label !== void 0 || copiedLabel !== void 0;
3896
+ const visibleLabel = isCopied ? copiedLabel != null ? copiedLabel : label : label;
3897
+ return /* @__PURE__ */ jsxs80(
3898
+ "button",
3899
+ {
3900
+ type: "button",
3901
+ onClick: handleClick,
3902
+ disabled,
3903
+ "aria-label": showLabel ? void 0 : ariaLabel,
3904
+ className: cn(
3905
+ "shrink-0 inline-flex items-center gap-1 transition-colors cursor-pointer",
3906
+ "disabled:opacity-40 disabled:cursor-not-allowed",
3907
+ className
3908
+ ),
3909
+ children: [
3910
+ isCopied ? /* @__PURE__ */ jsx81(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ jsx81(CopyIcon, { className: iconClassName }),
3911
+ showLabel ? /* @__PURE__ */ jsx81("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
3912
+ ]
3913
+ }
3914
+ );
3915
+ };
3916
+ CopyButton.displayName = "CopyButton";
3917
+
3863
3918
  // src/primitives/currency-input/index.tsx
3864
- import { useEffect as useEffect4, useLayoutEffect, useMemo as useMemo4, useRef as useRef3, useState as useState4 } from "react";
3865
3919
  import { useSdkUiConfig as useSdkUiConfig7 } from "@agg-build/hooks";
3920
+ import { useEffect as useEffect5, useLayoutEffect, useMemo as useMemo4, useRef as useRef4, useState as useState5 } from "react";
3866
3921
 
3867
3922
  // src/primitives/currency-input/currency-input.constants.ts
3868
3923
  var CURRENCY_INPUT_DEFAULT_PREFIX = "$";
@@ -3953,7 +4008,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
3953
4008
  };
3954
4009
 
3955
4010
  // src/primitives/currency-input/index.tsx
3956
- import { jsx as jsx81 } from "react/jsx-runtime";
4011
+ import { jsx as jsx82 } from "react/jsx-runtime";
3957
4012
  var CurrencyInput = ({
3958
4013
  value,
3959
4014
  onChange,
@@ -3973,13 +4028,13 @@ var CurrencyInput = ({
3973
4028
  general: { locale }
3974
4029
  } = useSdkUiConfig7();
3975
4030
  const parts = useMemo4(() => resolveCurrencyInputFormatParts(locale), [locale]);
3976
- const [raw, setRaw] = useState4(() => value > 0 ? String(value) : "");
3977
- const isEditingRef = useRef3(false);
3978
- const inputRef = useRef3(null);
3979
- const caretPosRef = useRef3(null);
3980
- useEffect4(() => {
4031
+ const [raw, setRaw] = useState5(() => value >= 0 ? String(value) : "");
4032
+ const isEditingRef = useRef4(false);
4033
+ const inputRef = useRef4(null);
4034
+ const caretPosRef = useRef4(null);
4035
+ useEffect5(() => {
3981
4036
  if (!isEditingRef.current) {
3982
- setRaw(value > 0 ? String(value) : "");
4037
+ setRaw(value >= 0 ? String(value) : "");
3983
4038
  }
3984
4039
  }, [value]);
3985
4040
  const numericDisplay = formatCurrencyInputRawValue(raw, locale, decimalPlaces, parts);
@@ -4077,11 +4132,11 @@ var CurrencyInput = ({
4077
4132
  isEditingRef.current = false;
4078
4133
  const numericValue = parseFloat(raw);
4079
4134
  const nextValue = isNaN(numericValue) ? min : clampCurrencyInputValue(numericValue, min, max);
4080
- setRaw(nextValue > 0 ? String(nextValue) : "");
4135
+ setRaw(nextValue >= 0 ? String(nextValue) : "");
4081
4136
  onChange == null ? void 0 : onChange(nextValue);
4082
4137
  onBlur == null ? void 0 : onBlur();
4083
4138
  };
4084
- return /* @__PURE__ */ jsx81(
4139
+ return /* @__PURE__ */ jsx82(
4085
4140
  "input",
4086
4141
  {
4087
4142
  ref: inputRef,
@@ -4114,8 +4169,8 @@ CurrencyInput.displayName = "CurrencyInput";
4114
4169
  import { Fragment as Fragment2 } from "react";
4115
4170
 
4116
4171
  // src/primitives/footer/agg-build-logo.tsx
4117
- import { jsx as jsx82, jsxs as jsxs80 } from "react/jsx-runtime";
4118
- var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4172
+ import { jsx as jsx83, jsxs as jsxs81 } from "react/jsx-runtime";
4173
+ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs81(
4119
4174
  "svg",
4120
4175
  __spreadProps(__spreadValues({
4121
4176
  xmlns: "http://www.w3.org/2000/svg",
@@ -4126,29 +4181,29 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4126
4181
  "aria-hidden": "true"
4127
4182
  }, props), {
4128
4183
  children: [
4129
- /* @__PURE__ */ jsx82(
4184
+ /* @__PURE__ */ jsx83(
4130
4185
  "path",
4131
4186
  {
4132
4187
  d: "M14.6158 5.73509L12.5568 13.8499C12.5088 14.0367 12.3434 14.17 12.1567 14.17L4.22474 14.1807C4.05404 14.1807 3.95803 14.3834 4.05938 14.5222L5.00353 15.8293C5.08355 15.936 5.20623 16 5.33425 16L9.41493 15.9947C11.9967 15.9893 14.2477 14.1914 14.9038 11.6038L15.9867 7.32498C16.0187 7.19692 15.992 7.06353 15.9173 6.9622L14.9732 5.66037C14.8718 5.5217 14.6585 5.56436 14.6158 5.73509Z",
4133
4188
  fill: "url(#agg-build-icon-g0)"
4134
4189
  }
4135
4190
  ),
4136
- /* @__PURE__ */ jsx82(
4191
+ /* @__PURE__ */ jsx83(
4137
4192
  "path",
4138
4193
  {
4139
4194
  d: "M1.38421 10.2649L3.44322 2.15006C3.49123 1.96334 3.65659 1.82995 3.84328 1.82995L11.7753 1.81928C11.946 1.81928 12.042 1.61656 11.9406 1.47784L10.9965 0.170723C10.9165 0.0640015 10.7938 0 10.6657 0L6.58507 0.00533456C4.00331 0.010668 1.75227 1.80862 1.09616 4.39618L0.0133177 8.67502C-0.0186876 8.80308 0.00798503 8.93647 0.082664 9.0378L1.02682 10.3396C1.12817 10.4783 1.34154 10.4356 1.38421 10.2649Z",
4140
4195
  fill: "url(#agg-build-icon-g1)"
4141
4196
  }
4142
4197
  ),
4143
- /* @__PURE__ */ jsx82(
4198
+ /* @__PURE__ */ jsx83(
4144
4199
  "path",
4145
4200
  {
4146
4201
  d: "M9.55357 10.5796L5.15284 10.585C4.98215 10.585 4.85946 10.4196 4.90213 10.2489L6.04365 5.73529C6.09166 5.54857 6.25702 5.41518 6.44372 5.41518L10.726 5.41033C10.9426 5.41008 11.102 5.61332 11.05 5.82363L9.95363 10.2595C9.90563 10.4462 9.74027 10.5796 9.55357 10.5796Z",
4147
4202
  fill: "url(#agg-build-icon-g2)"
4148
4203
  }
4149
4204
  ),
4150
- /* @__PURE__ */ jsxs80("defs", { children: [
4151
- /* @__PURE__ */ jsxs80(
4205
+ /* @__PURE__ */ jsxs81("defs", { children: [
4206
+ /* @__PURE__ */ jsxs81(
4152
4207
  "linearGradient",
4153
4208
  {
4154
4209
  id: "agg-build-icon-g0",
@@ -4158,12 +4213,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4158
4213
  y2: "16",
4159
4214
  gradientUnits: "userSpaceOnUse",
4160
4215
  children: [
4161
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FE9943" }),
4162
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FE763C" })
4216
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FE9943" }),
4217
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FE763C" })
4163
4218
  ]
4164
4219
  }
4165
4220
  ),
4166
- /* @__PURE__ */ jsxs80(
4221
+ /* @__PURE__ */ jsxs81(
4167
4222
  "linearGradient",
4168
4223
  {
4169
4224
  id: "agg-build-icon-g1",
@@ -4173,12 +4228,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4173
4228
  y2: "16",
4174
4229
  gradientUnits: "userSpaceOnUse",
4175
4230
  children: [
4176
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FE763C" }),
4177
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FE9943" })
4231
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FE763C" }),
4232
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FE9943" })
4178
4233
  ]
4179
4234
  }
4180
4235
  ),
4181
- /* @__PURE__ */ jsxs80(
4236
+ /* @__PURE__ */ jsxs81(
4182
4237
  "linearGradient",
4183
4238
  {
4184
4239
  id: "agg-build-icon-g2",
@@ -4188,8 +4243,8 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4188
4243
  y2: "16",
4189
4244
  gradientUnits: "userSpaceOnUse",
4190
4245
  children: [
4191
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FEB549" }),
4192
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FDA349" })
4246
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FEB549" }),
4247
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FDA349" })
4193
4248
  ]
4194
4249
  }
4195
4250
  )
@@ -4198,7 +4253,7 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs80(
4198
4253
  })
4199
4254
  );
4200
4255
  AggBuildIcon.displayName = "AggBuildIcon";
4201
- var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4256
+ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs81(
4202
4257
  "svg",
4203
4258
  __spreadProps(__spreadValues({
4204
4259
  xmlns: "http://www.w3.org/2000/svg",
@@ -4208,79 +4263,79 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4208
4263
  fill: "none"
4209
4264
  }, props), {
4210
4265
  children: [
4211
- /* @__PURE__ */ jsx82(
4266
+ /* @__PURE__ */ jsx83(
4212
4267
  "path",
4213
4268
  {
4214
4269
  d: "M12.7888 5.0182L10.9872 12.1187C10.9452 12.2821 10.8005 12.3988 10.6371 12.3988L3.69665 12.4081C3.54729 12.4081 3.46327 12.5855 3.55195 12.7069L4.37809 13.8506C4.4481 13.944 4.55545 14 4.66747 14L8.23806 13.9953C10.4971 13.9907 12.4668 12.4175 13.0409 10.1533L13.9883 6.40936C14.0164 6.29731 13.993 6.18059 13.9277 6.09192L13.1015 4.95282C13.0129 4.83148 12.8262 4.86882 12.7888 5.0182Z",
4215
4270
  fill: "url(#agg-build-logo-g0)"
4216
4271
  }
4217
4272
  ),
4218
- /* @__PURE__ */ jsx82(
4273
+ /* @__PURE__ */ jsx83(
4219
4274
  "path",
4220
4275
  {
4221
4276
  d: "M1.21119 8.9818L3.01282 1.8813C3.05482 1.71792 3.19951 1.60121 3.36287 1.60121L10.3034 1.59187C10.4527 1.59187 10.5367 1.41449 10.448 1.29311L9.62191 0.149383C9.5519 0.0560013 9.44454 0 9.33253 0L5.76194 0.00466774C3.5029 0.00933448 1.53324 1.58254 0.959144 3.84666L0.0116529 7.59064C-0.0163517 7.70269 0.0069869 7.81941 0.072331 7.90808L0.898466 9.04718C0.987147 9.16852 1.17385 9.13118 1.21119 8.9818Z",
4222
4277
  fill: "url(#agg-build-logo-g1)"
4223
4278
  }
4224
4279
  ),
4225
- /* @__PURE__ */ jsx82(
4280
+ /* @__PURE__ */ jsx83(
4226
4281
  "path",
4227
4282
  {
4228
4283
  d: "M8.35937 9.25718L4.50874 9.26185C4.35938 9.26185 4.25203 9.11713 4.28937 8.96775L5.2882 5.01838C5.3302 4.855 5.4749 4.73828 5.63826 4.73828L9.38521 4.73404C9.5748 4.73382 9.71422 4.91165 9.66874 5.09568L8.70943 8.97709C8.66742 9.14047 8.52273 9.25718 8.35937 9.25718Z",
4229
4284
  fill: "url(#agg-build-logo-g2)"
4230
4285
  }
4231
4286
  ),
4232
- /* @__PURE__ */ jsx82(
4287
+ /* @__PURE__ */ jsx83(
4233
4288
  "path",
4234
4289
  {
4235
4290
  d: "M24.5485 10.08L24.3175 7.87499L24.5905 7.10849L24.3175 6.35249L24.5485 4.13699H25.9555L25.6405 7.10849L25.9555 10.08H24.5485ZM24.9685 7.10849C24.8355 7.73149 24.615 8.27749 24.307 8.74649C23.999 9.21549 23.6175 9.57949 23.1625 9.83849C22.7145 10.0975 22.214 10.227 21.661 10.227C21.08 10.227 20.5655 10.0975 20.1175 9.83849C19.6695 9.57249 19.3195 9.20499 19.0675 8.73599C18.8155 8.26699 18.6895 7.72449 18.6895 7.10849C18.6895 6.48549 18.8155 5.94299 19.0675 5.48099C19.3195 5.01199 19.6695 4.64799 20.1175 4.38899C20.5655 4.12299 21.08 3.98999 21.661 3.98999C22.214 3.98999 22.7145 4.11949 23.1625 4.37849C23.6175 4.63749 23.999 5.00149 24.307 5.47049C24.622 5.93249 24.8425 6.47849 24.9685 7.10849ZM20.0755 7.10849C20.0755 7.50749 20.156 7.86099 20.317 8.16899C20.485 8.46999 20.7125 8.70799 20.9995 8.88299C21.2865 9.05099 21.6155 9.13499 21.9865 9.13499C22.3645 9.13499 22.7145 9.05099 23.0365 8.88299C23.3585 8.70799 23.642 8.46999 23.887 8.16899C24.139 7.86099 24.3385 7.50749 24.4855 7.10849C24.3385 6.70949 24.139 6.35949 23.887 6.05849C23.642 5.75049 23.3585 5.51249 23.0365 5.34449C22.7145 5.16949 22.3645 5.08199 21.9865 5.08199C21.6155 5.08199 21.2865 5.16949 20.9995 5.34449C20.7125 5.51249 20.485 5.75049 20.317 6.05849C20.156 6.35949 20.0755 6.70949 20.0755 7.10849Z",
4236
4291
  fill: "currentColor"
4237
4292
  }
4238
4293
  ),
4239
- /* @__PURE__ */ jsx82(
4294
+ /* @__PURE__ */ jsx83(
4240
4295
  "path",
4241
4296
  {
4242
4297
  d: "M32.6661 8.62049V7.57049L32.7186 7.38149V6.23699L32.6661 6.02699V4.13699H34.0311V8.49449C34.0311 9.25749 33.8701 9.89449 33.5481 10.4055C33.2261 10.9235 32.7851 11.312 32.2251 11.571C31.6651 11.83 31.0211 11.9595 30.2931 11.9595C29.7611 11.9595 29.2711 11.8895 28.8231 11.7495C28.3751 11.6095 27.9411 11.396 27.5211 11.109V9.97499C27.9481 10.311 28.3891 10.5455 28.8441 10.6785C29.2991 10.8185 29.7541 10.8885 30.2091 10.8885C31.0071 10.8885 31.6161 10.6925 32.0361 10.3005C32.4561 9.90849 32.6661 9.34849 32.6661 8.62049ZM29.8101 9.61799C29.2641 9.61799 28.7741 9.50249 28.3401 9.27149C27.9061 9.03349 27.5631 8.70449 27.3111 8.28449C27.0591 7.86449 26.9331 7.37099 26.9331 6.80399C26.9331 6.23699 27.0591 5.74349 27.3111 5.32349C27.5631 4.90349 27.9061 4.57799 28.3401 4.34699C28.7741 4.10899 29.2641 3.98999 29.8101 3.98999C30.2161 3.98999 30.5906 4.05299 30.9336 4.17899C31.2836 4.30499 31.5951 4.47299 31.8681 4.68299C32.1481 4.88599 32.3826 5.11349 32.5716 5.36549C32.7676 5.61049 32.9181 5.86249 33.0231 6.12149C33.1281 6.37349 33.1806 6.60449 33.1806 6.81449C33.1806 7.08749 33.1001 7.38849 32.9391 7.71749C32.7781 8.03949 32.5471 8.34399 32.2461 8.63099C31.9521 8.91799 31.5986 9.15599 31.1856 9.34499C30.7726 9.52699 30.3141 9.61799 29.8101 9.61799ZM30.2301 8.60999C30.7271 8.60999 31.1821 8.46649 31.5951 8.17949C32.0151 7.89249 32.3896 7.43399 32.7186 6.80399C32.3896 6.15999 32.0151 5.69799 31.5951 5.41799C31.1821 5.13099 30.7271 4.98749 30.2301 4.98749C29.8241 4.98749 29.4776 5.06449 29.1906 5.21849C28.9036 5.37249 28.6831 5.58599 28.5291 5.85899C28.3821 6.13199 28.3086 6.44699 28.3086 6.80399C28.3086 7.15399 28.3821 7.46549 28.5291 7.73849C28.6831 8.01149 28.9036 8.22499 29.1906 8.37899C29.4776 8.53299 29.8241 8.60999 30.2301 8.60999Z",
4243
4298
  fill: "currentColor"
4244
4299
  }
4245
4300
  ),
4246
- /* @__PURE__ */ jsx82(
4301
+ /* @__PURE__ */ jsx83(
4247
4302
  "path",
4248
4303
  {
4249
4304
  d: "M40.8487 8.62049V7.57049L40.9012 7.38149V6.23699L40.8487 6.02699V4.13699H42.2137V8.49449C42.2137 9.25749 42.0527 9.89449 41.7307 10.4055C41.4087 10.9235 40.9677 11.312 40.4077 11.571C39.8477 11.83 39.2037 11.9595 38.4757 11.9595C37.9437 11.9595 37.4537 11.8895 37.0057 11.7495C36.5577 11.6095 36.1237 11.396 35.7037 11.109V9.97499C36.1307 10.311 36.5717 10.5455 37.0267 10.6785C37.4817 10.8185 37.9367 10.8885 38.3917 10.8885C39.1897 10.8885 39.7987 10.6925 40.2187 10.3005C40.6387 9.90849 40.8487 9.34849 40.8487 8.62049ZM37.9927 9.61799C37.4467 9.61799 36.9567 9.50249 36.5227 9.27149C36.0887 9.03349 35.7457 8.70449 35.4937 8.28449C35.2417 7.86449 35.1157 7.37099 35.1157 6.80399C35.1157 6.23699 35.2417 5.74349 35.4937 5.32349C35.7457 4.90349 36.0887 4.57799 36.5227 4.34699C36.9567 4.10899 37.4467 3.98999 37.9927 3.98999C38.3987 3.98999 38.7732 4.05299 39.1162 4.17899C39.4662 4.30499 39.7777 4.47299 40.0507 4.68299C40.3307 4.88599 40.5652 5.11349 40.7542 5.36549C40.9502 5.61049 41.1007 5.86249 41.2057 6.12149C41.3107 6.37349 41.3632 6.60449 41.3632 6.81449C41.3632 7.08749 41.2827 7.38849 41.1217 7.71749C40.9607 8.03949 40.7297 8.34399 40.4287 8.63099C40.1347 8.91799 39.7812 9.15599 39.3682 9.34499C38.9552 9.52699 38.4967 9.61799 37.9927 9.61799ZM38.4127 8.60999C38.9097 8.60999 39.3647 8.46649 39.7777 8.17949C40.1977 7.89249 40.5722 7.43399 40.9012 6.80399C40.5722 6.15999 40.1977 5.69799 39.7777 5.41799C39.3647 5.13099 38.9097 4.98749 38.4127 4.98749C38.0067 4.98749 37.6602 5.06449 37.3732 5.21849C37.0862 5.37249 36.8657 5.58599 36.7117 5.85899C36.5647 6.13199 36.4912 6.44699 36.4912 6.80399C36.4912 7.15399 36.5647 7.46549 36.7117 7.73849C36.8657 8.01149 37.0862 8.22499 37.3732 8.37899C37.6602 8.53299 38.0067 8.60999 38.4127 8.60999Z",
4250
4305
  fill: "currentColor"
4251
4306
  }
4252
4307
  ),
4253
- /* @__PURE__ */ jsx82(
4308
+ /* @__PURE__ */ jsx83(
4254
4309
  "path",
4255
4310
  {
4256
4311
  d: "M49.1202 10.273C48.771 10.273 48.4495 10.2214 48.1559 10.1182C47.8701 10.0071 47.6201 9.86029 47.4058 9.67775C47.1915 9.48726 47.0209 9.27297 46.8939 9.03486L46.8225 10.1301H46.0605V1.55836H46.8939V5.21328C47.0923 4.87199 47.3781 4.5823 47.7511 4.34419C48.1241 4.10609 48.5805 3.98703 49.1202 3.98703C49.7075 3.98703 50.2194 4.12593 50.656 4.40372C51.0925 4.67357 51.4258 5.0466 51.656 5.52281C51.8941 5.99109 52.0132 6.52682 52.0132 7.13002C52.0132 7.73322 51.8941 8.27293 51.656 8.74914C51.4179 9.22535 51.0806 9.59838 50.6441 9.86823C50.2155 10.1381 49.7075 10.273 49.1202 10.273ZM49.0607 9.54679C49.4813 9.54679 49.8464 9.44758 50.156 9.24916C50.4655 9.05074 50.7115 8.76898 50.8941 8.40388C51.0766 8.03879 51.1679 7.61417 51.1679 7.13002C51.1679 6.63794 51.0766 6.21332 50.8941 5.85616C50.7115 5.49107 50.4615 5.20931 50.144 5.01089C49.8345 4.81247 49.4734 4.71326 49.0607 4.71326C48.648 4.71326 48.2789 4.81247 47.9535 5.01089C47.636 5.20931 47.386 5.49107 47.2035 5.85616C47.0288 6.22125 46.9415 6.64587 46.9415 7.13002C46.9415 7.62211 47.0288 8.05069 47.2035 8.41579C47.386 8.77295 47.636 9.05074 47.9535 9.24916C48.2789 9.44758 48.648 9.54679 49.0607 9.54679Z",
4257
4312
  fill: "currentColor"
4258
4313
  }
4259
4314
  ),
4260
- /* @__PURE__ */ jsx82(
4315
+ /* @__PURE__ */ jsx83(
4261
4316
  "path",
4262
4317
  {
4263
4318
  d: "M55.61 10.273C55.1576 10.273 54.7567 10.1857 54.4075 10.0111C54.0662 9.82855 53.8004 9.55472 53.6099 9.18963C53.4194 8.8166 53.3241 8.34039 53.3241 7.761V4.1299H54.1575V7.66576C54.1575 8.3007 54.2964 8.77295 54.5742 9.08248C54.8599 9.39202 55.2528 9.54679 55.7528 9.54679C56.11 9.54679 56.4274 9.46345 56.7052 9.29678C56.991 9.1301 57.2132 8.88406 57.3719 8.55865C57.5386 8.22531 57.6219 7.82053 57.6219 7.34432V4.1299H58.4553V10.1301H57.6934L57.6458 9.05867C57.4553 9.44758 57.1775 9.74918 56.8124 9.96347C56.4552 10.1698 56.0544 10.273 55.61 10.273Z",
4264
4319
  fill: "currentColor"
4265
4320
  }
4266
4321
  ),
4267
- /* @__PURE__ */ jsx82(
4322
+ /* @__PURE__ */ jsx83(
4268
4323
  "path",
4269
4324
  {
4270
4325
  d: "M60.2706 10.1301V4.1299H61.092V10.1301H60.2706ZM60.6873 2.71317C60.5206 2.71317 60.3777 2.65762 60.2587 2.5465C60.1396 2.42745 60.0801 2.28062 60.0801 2.106C60.0801 1.92346 60.1357 1.78059 60.2468 1.67742C60.3658 1.5663 60.5087 1.51074 60.6754 1.51074C60.842 1.51074 60.9849 1.5663 61.104 1.67742C61.223 1.78059 61.2825 1.92346 61.2825 2.106C61.2825 2.28062 61.223 2.42745 61.104 2.5465C60.9928 2.65762 60.8539 2.71317 60.6873 2.71317Z",
4271
4326
  fill: "currentColor"
4272
4327
  }
4273
4328
  ),
4274
- /* @__PURE__ */ jsx82("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
4275
- /* @__PURE__ */ jsx82(
4329
+ /* @__PURE__ */ jsx83("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
4330
+ /* @__PURE__ */ jsx83(
4276
4331
  "path",
4277
4332
  {
4278
4333
  d: "M68.049 10.273C67.4696 10.273 66.9616 10.1381 66.5251 9.86823C66.0965 9.59044 65.7632 9.21344 65.5251 8.73723C65.287 8.26102 65.1679 7.72132 65.1679 7.11812C65.1679 6.51492 65.287 5.97918 65.5251 5.51091C65.7632 5.0347 66.1005 4.66167 66.537 4.39181C66.9736 4.12196 67.4815 3.98703 68.0609 3.98703C68.5689 3.98703 69.0133 4.09815 69.3943 4.32038C69.7832 4.53468 70.0808 4.84024 70.2872 5.23709V1.55836H71.1205V10.1301H70.3586L70.2872 9.04677C70.1602 9.25313 69.9935 9.45155 69.7872 9.64203C69.5887 9.83251 69.3427 9.98728 69.049 10.1063C68.7633 10.2175 68.43 10.273 68.049 10.273ZM68.1204 9.54679C68.5411 9.54679 68.9062 9.44758 69.2157 9.24916C69.5332 9.05074 69.7792 8.76898 69.9538 8.40388C70.1364 8.03879 70.2277 7.61417 70.2277 7.13002C70.2277 6.64587 70.1364 6.22125 69.9538 5.85616C69.7792 5.49107 69.5332 5.20931 69.2157 5.01089C68.9062 4.81247 68.5411 4.71326 68.1204 4.71326C67.7077 4.71326 67.3426 4.81247 67.0251 5.01089C66.7077 5.20931 66.4577 5.49107 66.2751 5.85616C66.1005 6.21332 66.0132 6.63794 66.0132 7.13002C66.0132 7.62211 66.1045 8.05069 66.287 8.41579C66.4696 8.77295 66.7196 9.05074 67.037 9.24916C67.3545 9.44758 67.7156 9.54679 68.1204 9.54679Z",
4279
4334
  fill: "currentColor"
4280
4335
  }
4281
4336
  ),
4282
- /* @__PURE__ */ jsxs80("defs", { children: [
4283
- /* @__PURE__ */ jsxs80(
4337
+ /* @__PURE__ */ jsxs81("defs", { children: [
4338
+ /* @__PURE__ */ jsxs81(
4284
4339
  "linearGradient",
4285
4340
  {
4286
4341
  id: "agg-build-logo-g0",
@@ -4290,12 +4345,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4290
4345
  y2: "14",
4291
4346
  gradientUnits: "userSpaceOnUse",
4292
4347
  children: [
4293
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FE9943" }),
4294
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FE763C" })
4348
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FE9943" }),
4349
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FE763C" })
4295
4350
  ]
4296
4351
  }
4297
4352
  ),
4298
- /* @__PURE__ */ jsxs80(
4353
+ /* @__PURE__ */ jsxs81(
4299
4354
  "linearGradient",
4300
4355
  {
4301
4356
  id: "agg-build-logo-g1",
@@ -4305,12 +4360,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4305
4360
  y2: "14",
4306
4361
  gradientUnits: "userSpaceOnUse",
4307
4362
  children: [
4308
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FE763C" }),
4309
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FE9943" })
4363
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FE763C" }),
4364
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FE9943" })
4310
4365
  ]
4311
4366
  }
4312
4367
  ),
4313
- /* @__PURE__ */ jsxs80(
4368
+ /* @__PURE__ */ jsxs81(
4314
4369
  "linearGradient",
4315
4370
  {
4316
4371
  id: "agg-build-logo-g2",
@@ -4320,8 +4375,8 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4320
4375
  y2: "14",
4321
4376
  gradientUnits: "userSpaceOnUse",
4322
4377
  children: [
4323
- /* @__PURE__ */ jsx82("stop", { stopColor: "#FEB549" }),
4324
- /* @__PURE__ */ jsx82("stop", { offset: "1", stopColor: "#FDA349" })
4378
+ /* @__PURE__ */ jsx83("stop", { stopColor: "#FEB549" }),
4379
+ /* @__PURE__ */ jsx83("stop", { offset: "1", stopColor: "#FDA349" })
4325
4380
  ]
4326
4381
  }
4327
4382
  )
@@ -4330,7 +4385,7 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs80(
4330
4385
  })
4331
4386
  );
4332
4387
  AggBuildLogo.displayName = "AggBuildLogo";
4333
- var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs80(
4388
+ var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs81(
4334
4389
  "svg",
4335
4390
  __spreadProps(__spreadValues({
4336
4391
  xmlns: "http://www.w3.org/2000/svg",
@@ -4340,50 +4395,50 @@ var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs80(
4340
4395
  fill: "none"
4341
4396
  }, props), {
4342
4397
  children: [
4343
- /* @__PURE__ */ jsx82(
4398
+ /* @__PURE__ */ jsx83(
4344
4399
  "path",
4345
4400
  {
4346
4401
  d: "M7.05537 10.5201L6.79138 8.00006L7.10337 7.12406L6.79138 6.26006L7.05537 3.72806H8.66337L8.30337 7.12406L8.66337 10.5201H7.05537ZM7.53537 7.12406C7.38337 7.83606 7.13137 8.46006 6.77937 8.99606C6.42737 9.53206 5.99137 9.94806 5.47137 10.2441C4.95937 10.5401 4.38737 10.6881 3.75537 10.6881C3.09137 10.6881 2.50337 10.5401 1.99137 10.2441C1.47938 9.94006 1.07937 9.52006 0.791375 8.98406C0.503375 8.44806 0.359375 7.82806 0.359375 7.12406C0.359375 6.41206 0.503375 5.79206 0.791375 5.26406C1.07937 4.72806 1.47938 4.31206 1.99137 4.01606C2.50337 3.71206 3.09137 3.56006 3.75537 3.56006C4.38737 3.56006 4.95937 3.70806 5.47137 4.00406C5.99137 4.30006 6.42737 4.71606 6.77937 5.25206C7.13937 5.78006 7.39137 6.40406 7.53537 7.12406ZM1.94337 7.12406C1.94337 7.58006 2.03537 7.98406 2.21937 8.33606C2.41137 8.68006 2.67137 8.95206 2.99937 9.15206C3.32737 9.34406 3.70337 9.44006 4.12737 9.44006C4.55937 9.44006 4.95937 9.34406 5.32737 9.15206C5.69537 8.95206 6.01937 8.68006 6.29938 8.33606C6.58738 7.98406 6.81537 7.58006 6.98337 7.12406C6.81537 6.66806 6.58738 6.26806 6.29938 5.92406C6.01937 5.57206 5.69537 5.30006 5.32737 5.10806C4.95937 4.90806 4.55937 4.80806 4.12737 4.80806C3.70337 4.80806 3.32737 4.90806 2.99937 5.10806C2.67137 5.30006 2.41137 5.57206 2.21937 5.92406C2.03537 6.26806 1.94337 6.66806 1.94337 7.12406Z",
4347
4402
  fill: "currentColor"
4348
4403
  }
4349
4404
  ),
4350
- /* @__PURE__ */ jsx82(
4405
+ /* @__PURE__ */ jsx83(
4351
4406
  "path",
4352
4407
  {
4353
4408
  d: "M16.3327 8.85206V7.65206L16.3927 7.43606V6.12806L16.3327 5.88806V3.72806H17.8927V8.70806C17.8927 9.58006 17.7087 10.3081 17.3407 10.8921C16.9727 11.4841 16.4687 11.9281 15.8287 12.2241C15.1887 12.5201 14.4527 12.6681 13.6207 12.6681C13.0127 12.6681 12.4527 12.5881 11.9407 12.4281C11.4287 12.2681 10.9327 12.0241 10.4527 11.6961V10.4001C10.9407 10.7841 11.4447 11.0521 11.9647 11.2041C12.4847 11.3641 13.0047 11.4441 13.5247 11.4441C14.4367 11.4441 15.1327 11.2201 15.6127 10.7721C16.0927 10.3241 16.3327 9.68406 16.3327 8.85206ZM13.0687 9.99206C12.4447 9.99206 11.8847 9.86006 11.3887 9.59606C10.8927 9.32406 10.5007 8.94806 10.2127 8.46806C9.92469 7.98806 9.78069 7.42406 9.78069 6.77606C9.78069 6.12806 9.92469 5.56406 10.2127 5.08406C10.5007 4.60406 10.8927 4.23206 11.3887 3.96806C11.8847 3.69606 12.4447 3.56006 13.0687 3.56006C13.5327 3.56006 13.9607 3.63206 14.3527 3.77606C14.7527 3.92006 15.1087 4.11206 15.4207 4.35206C15.7407 4.58406 16.0087 4.84406 16.2247 5.13206C16.4487 5.41206 16.6207 5.70006 16.7407 5.99606C16.8607 6.28406 16.9207 6.54806 16.9207 6.78806C16.9207 7.10006 16.8287 7.44406 16.6447 7.82006C16.4607 8.18806 16.1967 8.53606 15.8527 8.86406C15.5167 9.19206 15.1127 9.46406 14.6407 9.68006C14.1687 9.88806 13.6447 9.99206 13.0687 9.99206ZM13.5487 8.84006C14.1167 8.84006 14.6367 8.67606 15.1087 8.34806C15.5887 8.02006 16.0167 7.49606 16.3927 6.77606C16.0167 6.04006 15.5887 5.51206 15.1087 5.19206C14.6367 4.86406 14.1167 4.70006 13.5487 4.70006C13.0847 4.70006 12.6887 4.78806 12.3607 4.96406C12.0327 5.14006 11.7807 5.38406 11.6047 5.69606C11.4367 6.00806 11.3527 6.36806 11.3527 6.77606C11.3527 7.17606 11.4367 7.53206 11.6047 7.84406C11.7807 8.15606 12.0327 8.40006 12.3607 8.57606C12.6887 8.75206 13.0847 8.84006 13.5487 8.84006Z",
4354
4409
  fill: "currentColor"
4355
4410
  }
4356
4411
  ),
4357
- /* @__PURE__ */ jsx82(
4412
+ /* @__PURE__ */ jsx83(
4358
4413
  "path",
4359
4414
  {
4360
4415
  d: "M25.6842 8.85206V7.65206L25.7442 7.43606V6.12806L25.6842 5.88806V3.72806H27.2442V8.70806C27.2442 9.58006 27.0602 10.3081 26.6922 10.8921C26.3242 11.4841 25.8202 11.9281 25.1802 12.2241C24.5402 12.5201 23.8042 12.6681 22.9722 12.6681C22.3642 12.6681 21.8042 12.5881 21.2922 12.4281C20.7802 12.2681 20.2842 12.0241 19.8042 11.6961V10.4001C20.2922 10.7841 20.7962 11.0521 21.3162 11.2041C21.8362 11.3641 22.3562 11.4441 22.8762 11.4441C23.7882 11.4441 24.4842 11.2201 24.9642 10.7721C25.4442 10.3241 25.6842 9.68406 25.6842 8.85206ZM22.4202 9.99206C21.7962 9.99206 21.2362 9.86006 20.7402 9.59606C20.2442 9.32406 19.8522 8.94806 19.5642 8.46806C19.2762 7.98806 19.1322 7.42406 19.1322 6.77606C19.1322 6.12806 19.2762 5.56406 19.5642 5.08406C19.8522 4.60406 20.2442 4.23206 20.7402 3.96806C21.2362 3.69606 21.7962 3.56006 22.4202 3.56006C22.8842 3.56006 23.3122 3.63206 23.7042 3.77606C24.1042 3.92006 24.4602 4.11206 24.7722 4.35206C25.0922 4.58406 25.3602 4.84406 25.5762 5.13206C25.8002 5.41206 25.9722 5.70006 26.0922 5.99606C26.2122 6.28406 26.2722 6.54806 26.2722 6.78806C26.2722 7.10006 26.1802 7.44406 25.9962 7.82006C25.8122 8.18806 25.5482 8.53606 25.2042 8.86406C24.8682 9.19206 24.4642 9.46406 23.9922 9.68006C23.5202 9.88806 22.9962 9.99206 22.4202 9.99206ZM22.9002 8.84006C23.4682 8.84006 23.9882 8.67606 24.4602 8.34806C24.9402 8.02006 25.3682 7.49606 25.7442 6.77606C25.3682 6.04006 24.9402 5.51206 24.4602 5.19206C23.9882 4.86406 23.4682 4.70006 22.9002 4.70006C22.4362 4.70006 22.0402 4.78806 21.7122 4.96406C21.3842 5.14006 21.1322 5.38406 20.9562 5.69606C20.7882 6.00806 20.7042 6.36806 20.7042 6.77606C20.7042 7.17606 20.7882 7.53206 20.9562 7.84406C21.1322 8.15606 21.3842 8.40006 21.7122 8.57606C22.0402 8.75206 22.4362 8.84006 22.9002 8.84006Z",
4361
4416
  fill: "currentColor"
4362
4417
  }
4363
4418
  ),
4364
- /* @__PURE__ */ jsx82(
4419
+ /* @__PURE__ */ jsx83(
4365
4420
  "path",
4366
4421
  {
4367
4422
  d: "M35.1374 10.7411C34.7383 10.7411 34.3709 10.6821 34.0353 10.5642C33.7087 10.4372 33.423 10.2694 33.1781 10.0608C32.9332 9.84307 32.7382 9.59816 32.593 9.32604L32.5114 10.5778H31.6406V0.781475H32.593V4.95852C32.8198 4.56848 33.1464 4.2374 33.5727 3.96528C33.999 3.69316 34.5206 3.5571 35.1374 3.5571C35.8086 3.5571 36.3937 3.71584 36.8925 4.03331C37.3914 4.34171 37.7724 4.76803 38.0354 5.31227C38.3076 5.84744 38.4436 6.45971 38.4436 7.14908C38.4436 7.83845 38.3076 8.45526 38.0354 8.9995C37.7633 9.54374 37.3778 9.97006 36.8789 10.2785C36.3891 10.5869 35.8086 10.7411 35.1374 10.7411ZM35.0693 9.9111C35.5501 9.9111 35.9673 9.79772 36.3211 9.57095C36.6748 9.34419 36.956 9.02218 37.1647 8.60493C37.3733 8.18768 37.4776 7.70239 37.4776 7.14908C37.4776 6.5867 37.3733 6.10142 37.1647 5.69324C36.956 5.27599 36.6703 4.95398 36.3075 4.72722C35.9537 4.50045 35.541 4.38707 35.0693 4.38707C34.5977 4.38707 34.1759 4.50045 33.804 4.72722C33.4412 4.95398 33.1554 5.27599 32.9468 5.69324C32.7472 6.11049 32.6475 6.59577 32.6475 7.14908C32.6475 7.71147 32.7472 8.20128 32.9468 8.61853C33.1554 9.02671 33.4412 9.34419 33.804 9.57095C34.1759 9.79772 34.5977 9.9111 35.0693 9.9111Z",
4368
4423
  fill: "currentColor"
4369
4424
  }
4370
4425
  ),
4371
- /* @__PURE__ */ jsx82(
4426
+ /* @__PURE__ */ jsx83(
4372
4427
  "path",
4373
4428
  {
4374
4429
  d: "M42.5542 10.7411C42.0372 10.7411 41.5791 10.6413 41.18 10.4417C40.79 10.2331 40.4861 9.92017 40.2684 9.50292C40.0507 9.0766 39.9419 8.53236 39.9419 7.8702V3.72037H40.8943V7.76135C40.8943 8.48701 41.053 9.02671 41.3705 9.38047C41.6971 9.73422 42.1461 9.9111 42.7175 9.9111C43.1257 9.9111 43.4885 9.81586 43.806 9.62538C44.1325 9.43489 44.3865 9.1537 44.5679 8.78181C44.7584 8.40084 44.8536 7.93823 44.8536 7.39399V3.72037H45.8061V10.5778H44.9353L44.8809 9.35326C44.6632 9.79772 44.3457 10.1424 43.9284 10.3873C43.5203 10.6231 43.0622 10.7411 42.5542 10.7411Z",
4375
4430
  fill: "currentColor"
4376
4431
  }
4377
4432
  ),
4378
- /* @__PURE__ */ jsx82(
4433
+ /* @__PURE__ */ jsx83(
4379
4434
  "path",
4380
4435
  {
4381
4436
  d: "M47.8807 10.5778V3.72037H48.8195V10.5778H47.8807ZM48.3569 2.10126C48.1664 2.10126 48.0031 2.03776 47.8671 1.91077C47.731 1.77471 47.663 1.60691 47.663 1.40735C47.663 1.19873 47.7265 1.03545 47.8535 0.917535C47.9895 0.790545 48.1528 0.727051 48.3433 0.727051C48.5338 0.727051 48.697 0.790545 48.8331 0.917535C48.9691 1.03545 49.0372 1.19873 49.0372 1.40735C49.0372 1.60691 48.9691 1.77471 48.8331 1.91077C48.7061 2.03776 48.5474 2.10126 48.3569 2.10126Z",
4382
4437
  fill: "currentColor"
4383
4438
  }
4384
4439
  ),
4385
- /* @__PURE__ */ jsx82("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
4386
- /* @__PURE__ */ jsx82(
4440
+ /* @__PURE__ */ jsx83("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
4441
+ /* @__PURE__ */ jsx83(
4387
4442
  "path",
4388
4443
  {
4389
4444
  d: "M56.7703 10.7411C56.1081 10.7411 55.5276 10.5869 55.0287 10.2785C54.5389 9.96099 54.1579 9.53013 53.8858 8.98589C53.6137 8.44165 53.4776 7.82485 53.4776 7.13548C53.4776 6.44611 53.6137 5.83384 53.8858 5.29867C54.1579 4.75443 54.5434 4.32811 55.0423 4.0197C55.5412 3.7113 56.1217 3.5571 56.7839 3.5571C57.3644 3.5571 57.8724 3.68409 58.3078 3.93807C58.7522 4.18298 59.0924 4.5322 59.3282 4.98573V0.781475H60.2806V10.5778H59.4098L59.3282 9.33965C59.1831 9.57549 58.9926 9.80225 58.7568 10.02C58.53 10.2376 58.2488 10.4145 57.9132 10.5506C57.5866 10.6776 57.2057 10.7411 56.7703 10.7411ZM56.8519 9.9111C57.3327 9.9111 57.7499 9.79772 58.1037 9.57095C58.4665 9.34419 58.7477 9.02218 58.9472 8.60493C59.1559 8.18768 59.2602 7.70239 59.2602 7.14908C59.2602 6.59577 59.1559 6.11049 58.9472 5.69324C58.7477 5.27599 58.4665 4.95398 58.1037 4.72722C57.7499 4.50045 57.3327 4.38707 56.8519 4.38707C56.3802 4.38707 55.963 4.50045 55.6002 4.72722C55.2373 4.95398 54.9516 5.27599 54.743 5.69324C54.5434 6.10142 54.4436 6.5867 54.4436 7.14908C54.4436 7.71147 54.548 8.20128 54.7566 8.61853C54.9652 9.02671 55.2509 9.34419 55.6138 9.57095C55.9766 9.79772 56.3893 9.9111 56.8519 9.9111Z",
@@ -4415,8 +4470,8 @@ var DEFAULT_FOOTER_LINKS = [
4415
4470
  ];
4416
4471
 
4417
4472
  // src/primitives/footer/index.tsx
4418
- import { Fragment as Fragment3, jsx as jsx83, jsxs as jsxs81 } from "react/jsx-runtime";
4419
- var XIcon = (props) => /* @__PURE__ */ jsx83(
4473
+ import { Fragment as Fragment3, jsx as jsx84, jsxs as jsxs82 } from "react/jsx-runtime";
4474
+ var XIcon = (props) => /* @__PURE__ */ jsx84(
4420
4475
  "svg",
4421
4476
  __spreadProps(__spreadValues({
4422
4477
  xmlns: "http://www.w3.org/2000/svg",
@@ -4426,7 +4481,7 @@ var XIcon = (props) => /* @__PURE__ */ jsx83(
4426
4481
  fill: "none",
4427
4482
  "aria-hidden": "true"
4428
4483
  }, props), {
4429
- children: /* @__PURE__ */ jsx83(
4484
+ children: /* @__PURE__ */ jsx84(
4430
4485
  "path",
4431
4486
  {
4432
4487
  d: "M12.2167 1.33325H14.4669L9.5523 6.94875L15.3334 14.5913H10.8081L7.26125 9.95725L3.20714 14.5913H0.953359L6.20891 8.58347L0.666748 1.33325H5.30691L8.50975 5.56886L12.2167 1.33325ZM11.4266 13.2463H12.6726L4.62797 2.60803H3.28964L11.4266 13.2463Z",
@@ -4436,8 +4491,8 @@ var XIcon = (props) => /* @__PURE__ */ jsx83(
4436
4491
  })
4437
4492
  );
4438
4493
  var renderLink = (link, linkClass) => {
4439
- const inner = /* @__PURE__ */ jsxs81(Fragment3, { children: [
4440
- /* @__PURE__ */ jsx83(
4494
+ const inner = /* @__PURE__ */ jsxs82(Fragment3, { children: [
4495
+ /* @__PURE__ */ jsx84(
4441
4496
  "span",
4442
4497
  {
4443
4498
  className: "hidden md:inline",
@@ -4445,11 +4500,11 @@ var renderLink = (link, linkClass) => {
4445
4500
  children: link.label
4446
4501
  }
4447
4502
  ),
4448
- link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ jsx83("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ jsx83("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
4449
- link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ jsx83("span", { className: "sr-only", children: link.label })
4503
+ link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ jsx84("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ jsx84("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
4504
+ link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ jsx84("span", { className: "sr-only", children: link.label })
4450
4505
  ] });
4451
4506
  if (link.href) {
4452
- return /* @__PURE__ */ jsx83(
4507
+ return /* @__PURE__ */ jsx84(
4453
4508
  "a",
4454
4509
  {
4455
4510
  href: link.href,
@@ -4462,7 +4517,7 @@ var renderLink = (link, linkClass) => {
4462
4517
  );
4463
4518
  }
4464
4519
  if (link.onClick) {
4465
- return /* @__PURE__ */ jsx83(
4520
+ return /* @__PURE__ */ jsx84(
4466
4521
  "button",
4467
4522
  {
4468
4523
  type: "button",
@@ -4472,7 +4527,7 @@ var renderLink = (link, linkClass) => {
4472
4527
  }
4473
4528
  );
4474
4529
  }
4475
- return /* @__PURE__ */ jsx83("span", { className: linkClass, children: inner });
4530
+ return /* @__PURE__ */ jsx84("span", { className: linkClass, children: inner });
4476
4531
  };
4477
4532
  var Footer = ({
4478
4533
  links = DEFAULT_FOOTER_LINKS,
@@ -4488,13 +4543,13 @@ var Footer = ({
4488
4543
  "text-xs text-agg-muted-foreground whitespace-nowrap transition-colors hover:text-agg-foreground md:text-sm",
4489
4544
  classNames == null ? void 0 : classNames.link
4490
4545
  );
4491
- return /* @__PURE__ */ jsx83(
4546
+ return /* @__PURE__ */ jsx84(
4492
4547
  "footer",
4493
4548
  {
4494
4549
  role: "contentinfo",
4495
4550
  "aria-label": ariaLabel,
4496
4551
  className: cn(baseFooterClasses, classNames == null ? void 0 : classNames.root),
4497
- children: /* @__PURE__ */ jsxs81(
4552
+ children: /* @__PURE__ */ jsxs82(
4498
4553
  "div",
4499
4554
  {
4500
4555
  className: cn(
@@ -4502,7 +4557,7 @@ var Footer = ({
4502
4557
  classNames == null ? void 0 : classNames.inner
4503
4558
  ),
4504
4559
  children: [
4505
- /* @__PURE__ */ jsxs81(
4560
+ /* @__PURE__ */ jsxs82(
4506
4561
  "a",
4507
4562
  {
4508
4563
  href: AGG_DEFAULT_URL,
@@ -4513,16 +4568,16 @@ var Footer = ({
4513
4568
  classNames == null ? void 0 : classNames.leftSection
4514
4569
  ),
4515
4570
  children: [
4516
- /* @__PURE__ */ jsxs81("div", { className: "hidden items-center gap-1 md:flex", children: [
4517
- /* @__PURE__ */ jsx83(AggBuildIcon, { className: "size-4 shrink-0" }),
4518
- /* @__PURE__ */ jsx83("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
4519
- /* @__PURE__ */ jsx83(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
4571
+ /* @__PURE__ */ jsxs82("div", { className: "hidden items-center gap-1 md:flex", children: [
4572
+ /* @__PURE__ */ jsx84(AggBuildIcon, { className: "size-4 shrink-0" }),
4573
+ /* @__PURE__ */ jsx84("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
4574
+ /* @__PURE__ */ jsx84(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
4520
4575
  ] }),
4521
- /* @__PURE__ */ jsx83("div", { className: "md:hidden", children: /* @__PURE__ */ jsx83(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
4576
+ /* @__PURE__ */ jsx84("div", { className: "md:hidden", children: /* @__PURE__ */ jsx84(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
4522
4577
  ]
4523
4578
  }
4524
4579
  ),
4525
- /* @__PURE__ */ jsxs81(
4580
+ /* @__PURE__ */ jsxs82(
4526
4581
  "div",
4527
4582
  {
4528
4583
  className: cn(
@@ -4530,8 +4585,8 @@ var Footer = ({
4530
4585
  classNames == null ? void 0 : classNames.rightSection
4531
4586
  ),
4532
4587
  children: [
4533
- /* @__PURE__ */ jsx83("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ jsxs81(Fragment2, { children: [
4534
- i > 0 && /* @__PURE__ */ jsx83(
4588
+ /* @__PURE__ */ jsx84("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ jsxs82(Fragment2, { children: [
4589
+ i > 0 && /* @__PURE__ */ jsx84(
4535
4590
  "span",
4536
4591
  {
4537
4592
  "aria-hidden": "true",
@@ -4544,15 +4599,15 @@ var Footer = ({
4544
4599
  ),
4545
4600
  renderLink(link, linkClass)
4546
4601
  ] }, link.label)) }),
4547
- email && /* @__PURE__ */ jsxs81(Fragment3, { children: [
4548
- /* @__PURE__ */ jsx83(
4602
+ email && /* @__PURE__ */ jsxs82(Fragment3, { children: [
4603
+ /* @__PURE__ */ jsx84(
4549
4604
  "div",
4550
4605
  {
4551
4606
  "aria-hidden": "true",
4552
4607
  className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
4553
4608
  }
4554
4609
  ),
4555
- emailHref ? /* @__PURE__ */ jsx83(
4610
+ emailHref ? /* @__PURE__ */ jsx84(
4556
4611
  "a",
4557
4612
  {
4558
4613
  href: emailHref,
@@ -4564,7 +4619,7 @@ var Footer = ({
4564
4619
  ),
4565
4620
  children: email
4566
4621
  }
4567
- ) : /* @__PURE__ */ jsx83(
4622
+ ) : /* @__PURE__ */ jsx84(
4568
4623
  "span",
4569
4624
  {
4570
4625
  className: cn(
@@ -4575,15 +4630,15 @@ var Footer = ({
4575
4630
  }
4576
4631
  )
4577
4632
  ] }),
4578
- hasX && /* @__PURE__ */ jsxs81(Fragment3, { children: [
4579
- /* @__PURE__ */ jsx83(
4633
+ hasX && /* @__PURE__ */ jsxs82(Fragment3, { children: [
4634
+ /* @__PURE__ */ jsx84(
4580
4635
  "div",
4581
4636
  {
4582
4637
  "aria-hidden": "true",
4583
4638
  className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
4584
4639
  }
4585
4640
  ),
4586
- xHref ? /* @__PURE__ */ jsx83(
4641
+ xHref ? /* @__PURE__ */ jsx84(
4587
4642
  "a",
4588
4643
  {
4589
4644
  href: xHref,
@@ -4594,9 +4649,9 @@ var Footer = ({
4594
4649
  "hidden items-center text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
4595
4650
  classNames == null ? void 0 : classNames.xLink
4596
4651
  ),
4597
- children: /* @__PURE__ */ jsx83(XIcon, { className: "size-4" })
4652
+ children: /* @__PURE__ */ jsx84(XIcon, { className: "size-4" })
4598
4653
  }
4599
- ) : /* @__PURE__ */ jsx83(
4654
+ ) : /* @__PURE__ */ jsx84(
4600
4655
  "button",
4601
4656
  {
4602
4657
  type: "button",
@@ -4606,7 +4661,7 @@ var Footer = ({
4606
4661
  "hidden cursor-pointer items-center border-0 bg-transparent p-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
4607
4662
  classNames == null ? void 0 : classNames.xLink
4608
4663
  ),
4609
- children: /* @__PURE__ */ jsx83(XIcon, { className: "size-4" })
4664
+ children: /* @__PURE__ */ jsx84(XIcon, { className: "size-4" })
4610
4665
  }
4611
4666
  )
4612
4667
  ] })
@@ -4627,11 +4682,11 @@ import { useLabels as useLabels11 } from "@agg-build/hooks";
4627
4682
  // src/primitives/search/index.tsx
4628
4683
  import { useLabels as useLabels10, useSdkUiConfig as useSdkUiConfig10, useSearch } from "@agg-build/hooks";
4629
4684
  import {
4630
- useCallback as useCallback2,
4631
- useEffect as useEffect5,
4685
+ useCallback as useCallback3,
4686
+ useEffect as useEffect6,
4632
4687
  useMemo as useMemo5,
4633
- useRef as useRef5,
4634
- useState as useState6
4688
+ useRef as useRef6,
4689
+ useState as useState7
4635
4690
  } from "react";
4636
4691
 
4637
4692
  // src/events/list/event-list.utils.ts
@@ -4877,12 +4932,16 @@ var resolveVisibleOutcomes = (venueMarkets) => {
4877
4932
  return [...visibleOutcomesByLabel.values()].sort(compareVisibleOutcomeRows).slice(0, Math.max(1, 2));
4878
4933
  };
4879
4934
  var dedupeVenueMarketsById = (venueMarkets) => {
4880
- const seenVenueMarketIds = /* @__PURE__ */ new Set();
4935
+ const seenClusterIds = /* @__PURE__ */ new Set();
4881
4936
  return venueMarkets.filter((venueMarket) => {
4882
- if (seenVenueMarketIds.has(venueMarket.id)) {
4937
+ var _a;
4938
+ if (seenClusterIds.has(venueMarket.id)) {
4883
4939
  return false;
4884
4940
  }
4885
- seenVenueMarketIds.add(venueMarket.id);
4941
+ seenClusterIds.add(venueMarket.id);
4942
+ for (const sibling of (_a = venueMarket.matchedVenueMarkets) != null ? _a : []) {
4943
+ seenClusterIds.add(sibling.id);
4944
+ }
4886
4945
  return true;
4887
4946
  });
4888
4947
  };
@@ -4924,6 +4983,40 @@ var getVenueSummary = (venueMarkets) => {
4924
4983
  singleVenue: uniqueVenues.length === 1 ? uniqueVenues[0] : void 0
4925
4984
  };
4926
4985
  };
4986
+ function buildSpreadByVenueMarketId(midpointRows) {
4987
+ const map = /* @__PURE__ */ new Map();
4988
+ for (const row of midpointRows) {
4989
+ map.set(row.venueMarketId, row.spread);
4990
+ for (const matched of row.matched) {
4991
+ if (!map.has(matched.venueMarketId)) {
4992
+ map.set(matched.venueMarketId, matched.spread);
4993
+ }
4994
+ }
4995
+ }
4996
+ return map;
4997
+ }
4998
+ function resolveBestMidpointForMarket(market, midpointsByVenueMarketId, spreadByVenueMarketId) {
4999
+ var _a;
5000
+ const candidates = [
5001
+ { id: market.id, venue: market.venue },
5002
+ ...((_a = market.matchedVenueMarkets) != null ? _a : []).map((m) => ({ id: m.id, venue: m.venue }))
5003
+ ];
5004
+ const seen = /* @__PURE__ */ new Set();
5005
+ const deduped = candidates.filter((c) => {
5006
+ if (seen.has(c.id)) return false;
5007
+ seen.add(c.id);
5008
+ return true;
5009
+ });
5010
+ const valid = [];
5011
+ for (const candidate of deduped) {
5012
+ const midpoint = midpointsByVenueMarketId.get(candidate.id);
5013
+ if (midpoint == null) continue;
5014
+ valid.push(__spreadProps(__spreadValues({}, candidate), { midpoint }));
5015
+ }
5016
+ if (valid.length === 0) return void 0;
5017
+ const best = valid.reduce((acc, cur) => cur.midpoint < acc.midpoint ? cur : acc);
5018
+ return { midpoint: best.midpoint, venueMarketId: best.id, venue: best.venue };
5019
+ }
4927
5020
  var resolveDisplayVolume = (eventVolume, venueMarkets) => {
4928
5021
  const clusterMarkets = normalizeVenueMarketCluster(venueMarkets);
4929
5022
  const marketSum = clusterMarkets.reduce(
@@ -5053,16 +5146,16 @@ var resolveTabVenus = (tab, visibleVenues) => {
5053
5146
 
5054
5147
  // src/primitives/remote-image/index.tsx
5055
5148
  import { useSdkUiConfig as useSdkUiConfig9 } from "@agg-build/hooks";
5056
- import { useRef as useRef4, useState as useState5 } from "react";
5149
+ import { useRef as useRef5, useState as useState6 } from "react";
5057
5150
 
5058
5151
  // src/primitives/skeleton/skeleton-block.tsx
5059
5152
  import { useSdkUiConfig as useSdkUiConfig8 } from "@agg-build/hooks";
5060
- import { jsx as jsx84 } from "react/jsx-runtime";
5153
+ import { jsx as jsx85 } from "react/jsx-runtime";
5061
5154
  var SkeletonBlock = ({ className }) => {
5062
5155
  const {
5063
5156
  features: { enableAnimations }
5064
5157
  } = useSdkUiConfig8();
5065
- return /* @__PURE__ */ jsx84(
5158
+ return /* @__PURE__ */ jsx85(
5066
5159
  "div",
5067
5160
  {
5068
5161
  "aria-hidden": true,
@@ -5091,7 +5184,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
5091
5184
  };
5092
5185
 
5093
5186
  // src/primitives/remote-image/index.tsx
5094
- import { jsx as jsx85, jsxs as jsxs82 } from "react/jsx-runtime";
5187
+ import { jsx as jsx86, jsxs as jsxs83 } from "react/jsx-runtime";
5095
5188
  var RemoteImage = ({
5096
5189
  src,
5097
5190
  alt,
@@ -5107,10 +5200,10 @@ var RemoteImage = ({
5107
5200
  general: { theme }
5108
5201
  } = useSdkUiConfig9();
5109
5202
  const isDarkTheme = theme === "dark";
5110
- const [status, setStatus] = useState5(
5203
+ const [status, setStatus] = useState6(
5111
5204
  () => resolveRemoteImageStatusFromSrc(src)
5112
5205
  );
5113
- const prevSrcRef = useRef4(src);
5206
+ const prevSrcRef = useRef5(src);
5114
5207
  if (src !== prevSrcRef.current) {
5115
5208
  prevSrcRef.current = src;
5116
5209
  const next = resolveRemoteImageStatusFromSrc(src);
@@ -5125,7 +5218,7 @@ var RemoteImage = ({
5125
5218
  setStatus("error");
5126
5219
  };
5127
5220
  const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
5128
- return /* @__PURE__ */ jsxs82(
5221
+ return /* @__PURE__ */ jsxs83(
5129
5222
  "div",
5130
5223
  {
5131
5224
  className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
@@ -5142,14 +5235,14 @@ var RemoteImage = ({
5142
5235
  "aria-label": ariaLabel,
5143
5236
  title,
5144
5237
  children: [
5145
- status === "loading" && /* @__PURE__ */ jsx85(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
5146
- status === "error" && /* @__PURE__ */ jsx85(
5238
+ status === "loading" && /* @__PURE__ */ jsx86(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
5239
+ status === "error" && /* @__PURE__ */ jsx86(
5147
5240
  "div",
5148
5241
  {
5149
5242
  className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
5150
5243
  "aria-hidden": true,
5151
5244
  "aria-errormessage": "Image failed to load",
5152
- children: /* @__PURE__ */ jsx85(
5245
+ children: /* @__PURE__ */ jsx86(
5153
5246
  Icon,
5154
5247
  {
5155
5248
  name: "image",
@@ -5160,7 +5253,7 @@ var RemoteImage = ({
5160
5253
  )
5161
5254
  }
5162
5255
  ),
5163
- isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ jsx85(
5256
+ isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ jsx86(
5164
5257
  "img",
5165
5258
  {
5166
5259
  src,
@@ -5247,7 +5340,7 @@ import { useLabels as useLabels3 } from "@agg-build/hooks";
5247
5340
  var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
5248
5341
 
5249
5342
  // src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
5250
- import { jsx as jsx86, jsxs as jsxs83 } from "react/jsx-runtime";
5343
+ import { jsx as jsx87, jsxs as jsxs84 } from "react/jsx-runtime";
5251
5344
  var EventListItemSkeletonView = ({
5252
5345
  className,
5253
5346
  ariaLabel,
@@ -5255,7 +5348,7 @@ var EventListItemSkeletonView = ({
5255
5348
  }) => {
5256
5349
  const labels = useLabels3();
5257
5350
  const outcomeTitleWidths = ["w-40", "w-[200px]"];
5258
- return /* @__PURE__ */ jsxs83(
5351
+ return /* @__PURE__ */ jsxs84(
5259
5352
  Card,
5260
5353
  {
5261
5354
  className: cn("group/agg-skeleton", baseCardClassName, className),
@@ -5264,23 +5357,23 @@ var EventListItemSkeletonView = ({
5264
5357
  "aria-busy": isStandalone || void 0,
5265
5358
  "aria-hidden": isStandalone ? void 0 : true,
5266
5359
  children: [
5267
- /* @__PURE__ */ jsxs83("div", { className: "flex h-10 w-full items-center gap-3 justify-stretch", children: [
5268
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
5269
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
5360
+ /* @__PURE__ */ jsxs84("div", { className: "flex h-10 w-full items-center gap-3 justify-stretch", children: [
5361
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
5362
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
5270
5363
  ] }),
5271
- /* @__PURE__ */ jsx86("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ jsxs83("div", { className: "flex w-full items-center justify-between gap-3", children: [
5272
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
5273
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "h-8 w-[100px] rounded-agg-full" })
5364
+ /* @__PURE__ */ jsx87("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ jsxs84("div", { className: "flex w-full items-center justify-between gap-3", children: [
5365
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
5366
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-8 w-[100px] rounded-agg-full" })
5274
5367
  ] }, index)) }),
5275
- /* @__PURE__ */ jsxs83("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
5276
- /* @__PURE__ */ jsxs83("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
5277
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
5278
- /* @__PURE__ */ jsxs83("div", { className: "flex items-center gap-1", children: [
5279
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
5280
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
5368
+ /* @__PURE__ */ jsxs84("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
5369
+ /* @__PURE__ */ jsxs84("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
5370
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
5371
+ /* @__PURE__ */ jsxs84("div", { className: "flex items-center gap-1", children: [
5372
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
5373
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
5281
5374
  ] })
5282
5375
  ] }),
5283
- /* @__PURE__ */ jsx86(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
5376
+ /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
5284
5377
  ] })
5285
5378
  ]
5286
5379
  }
@@ -5289,10 +5382,10 @@ var EventListItemSkeletonView = ({
5289
5382
  EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
5290
5383
 
5291
5384
  // src/primitives/skeleton/views/event-list-skeleton-view.tsx
5292
- import { jsx as jsx87, jsxs as jsxs84 } from "react/jsx-runtime";
5385
+ import { jsx as jsx88, jsxs as jsxs85 } from "react/jsx-runtime";
5293
5386
  var EventListSkeletonView = ({ className, ariaLabel }) => {
5294
5387
  const labels = useLabels4();
5295
- return /* @__PURE__ */ jsxs84(
5388
+ return /* @__PURE__ */ jsxs85(
5296
5389
  "section",
5297
5390
  {
5298
5391
  className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
@@ -5300,11 +5393,11 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
5300
5393
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
5301
5394
  "aria-busy": true,
5302
5395
  children: [
5303
- /* @__PURE__ */ jsxs84("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
5304
- /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
5305
- /* @__PURE__ */ jsx87(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
5396
+ /* @__PURE__ */ jsxs85("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
5397
+ /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
5398
+ /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
5306
5399
  ] }),
5307
- /* @__PURE__ */ jsx87("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fit,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ jsx87(
5400
+ /* @__PURE__ */ jsx88("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fit,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ jsx88(
5308
5401
  EventListItemSkeletonView,
5309
5402
  {
5310
5403
  isStandalone: false,
@@ -5325,13 +5418,13 @@ import { useLabels as useLabels5 } from "@agg-build/hooks";
5325
5418
  var detailsBaseCardClassName = "w-full gap-6 p-5 md:gap-8";
5326
5419
 
5327
5420
  // src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
5328
- import { jsx as jsx88, jsxs as jsxs85 } from "react/jsx-runtime";
5421
+ import { jsx as jsx89, jsxs as jsxs86 } from "react/jsx-runtime";
5329
5422
  var EventListItemDetailsSkeletonView = ({
5330
5423
  className,
5331
5424
  ariaLabel
5332
5425
  }) => {
5333
5426
  const labels = useLabels5();
5334
- return /* @__PURE__ */ jsxs85(
5427
+ return /* @__PURE__ */ jsxs86(
5335
5428
  Card,
5336
5429
  {
5337
5430
  className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
@@ -5339,24 +5432,24 @@ var EventListItemDetailsSkeletonView = ({
5339
5432
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
5340
5433
  "aria-busy": true,
5341
5434
  children: [
5342
- /* @__PURE__ */ jsxs85("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
5343
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
5344
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
5435
+ /* @__PURE__ */ jsxs86("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
5436
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
5437
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
5345
5438
  ] }),
5346
- /* @__PURE__ */ jsxs85("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
5347
- /* @__PURE__ */ jsxs85("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
5348
- /* @__PURE__ */ jsxs85("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
5349
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5350
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5351
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
5439
+ /* @__PURE__ */ jsxs86("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
5440
+ /* @__PURE__ */ jsxs86("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
5441
+ /* @__PURE__ */ jsxs86("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
5442
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5443
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5444
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
5352
5445
  ] }),
5353
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
5446
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
5354
5447
  ] }),
5355
- /* @__PURE__ */ jsxs85("div", { className: "flex w-full flex-col gap-3", children: [
5356
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
5357
- /* @__PURE__ */ jsxs85("div", { className: "flex items-center justify-between", children: [
5358
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
5359
- /* @__PURE__ */ jsx88(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
5448
+ /* @__PURE__ */ jsxs86("div", { className: "flex w-full flex-col gap-3", children: [
5449
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
5450
+ /* @__PURE__ */ jsxs86("div", { className: "flex items-center justify-between", children: [
5451
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
5452
+ /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
5360
5453
  ] })
5361
5454
  ] })
5362
5455
  ] })
@@ -5381,34 +5474,34 @@ var marketDetailsDefaultIsOpened = false;
5381
5474
  var orderBookRowLimitDefault = 4;
5382
5475
 
5383
5476
  // src/primitives/skeleton/views/market-details-skeleton-view.tsx
5384
- import { Fragment as Fragment4, jsx as jsx89, jsxs as jsxs86 } from "react/jsx-runtime";
5477
+ import { Fragment as Fragment4, jsx as jsx90, jsxs as jsxs87 } from "react/jsx-runtime";
5385
5478
  var orderBookAskBarScales = ["93%", "47%", "33%", "31%"];
5386
5479
  var orderBookBidBarScales = ["9%", "33%", "53%", "73%"];
5387
5480
  var MarketDetailsHeaderSkeleton = () => {
5388
- return /* @__PURE__ */ jsxs86("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
5389
- /* @__PURE__ */ jsxs86("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
5390
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
5391
- /* @__PURE__ */ jsxs86("div", { className: "flex min-w-0 flex-col gap-2", children: [
5392
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
5393
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
5481
+ return /* @__PURE__ */ jsxs87("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
5482
+ /* @__PURE__ */ jsxs87("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
5483
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
5484
+ /* @__PURE__ */ jsxs87("div", { className: "flex min-w-0 flex-col gap-2", children: [
5485
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
5486
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
5394
5487
  ] })
5395
5488
  ] }),
5396
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
5397
- /* @__PURE__ */ jsxs86("div", { className: "flex w-full gap-2 md:w-auto", children: [
5398
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
5399
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
5489
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
5490
+ /* @__PURE__ */ jsxs87("div", { className: "flex w-full gap-2 md:w-auto", children: [
5491
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
5492
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
5400
5493
  ] })
5401
5494
  ] });
5402
5495
  };
5403
5496
  var MarketDetailsTabsSkeleton = () => {
5404
- return /* @__PURE__ */ jsxs86("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
5405
- /* @__PURE__ */ jsxs86("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
5406
- /* @__PURE__ */ jsx89("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
5407
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
5497
+ return /* @__PURE__ */ jsxs87("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
5498
+ /* @__PURE__ */ jsxs87("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
5499
+ /* @__PURE__ */ jsx90("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
5500
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
5408
5501
  ] }),
5409
- /* @__PURE__ */ jsxs86("div", { className: "flex h-full flex-col justify-center", children: [
5410
- /* @__PURE__ */ jsx89("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
5411
- /* @__PURE__ */ jsx89("div", { className: "h-[2px] w-full" })
5502
+ /* @__PURE__ */ jsxs87("div", { className: "flex h-full flex-col justify-center", children: [
5503
+ /* @__PURE__ */ jsx90("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
5504
+ /* @__PURE__ */ jsx90("div", { className: "h-[2px] w-full" })
5412
5505
  ] })
5413
5506
  ] });
5414
5507
  };
@@ -5416,25 +5509,25 @@ var MarketDetailsOrderBookRows = ({
5416
5509
  side,
5417
5510
  barScales
5418
5511
  }) => {
5419
- return /* @__PURE__ */ jsx89("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ jsxs86(
5512
+ return /* @__PURE__ */ jsx90("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ jsxs87(
5420
5513
  "div",
5421
5514
  {
5422
5515
  className: "flex h-9 items-center gap-2 overflow-hidden pr-5 md:gap-10",
5423
5516
  children: [
5424
- /* @__PURE__ */ jsx89("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx89(
5517
+ /* @__PURE__ */ jsx90("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx90(
5425
5518
  "div",
5426
5519
  {
5427
5520
  className: "absolute inset-y-0 left-0",
5428
5521
  style: { right: `${100 - parseFloat(barScale)}%` },
5429
- children: /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-full w-full rounded-none" })
5522
+ children: /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-full w-full rounded-none" })
5430
5523
  }
5431
5524
  ) }),
5432
- /* @__PURE__ */ jsxs86("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
5433
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
5434
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
5525
+ /* @__PURE__ */ jsxs87("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
5526
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
5527
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
5435
5528
  ] }),
5436
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5437
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5529
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5530
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5438
5531
  ]
5439
5532
  },
5440
5533
  `${side}-row-${index}`
@@ -5443,19 +5536,19 @@ var MarketDetailsOrderBookRows = ({
5443
5536
  var MarketDetailsOderbookSkeleton = ({
5444
5537
  className
5445
5538
  }) => {
5446
- return /* @__PURE__ */ jsxs86("div", { className: cn("flex flex-col", className), children: [
5447
- /* @__PURE__ */ jsxs86("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
5448
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
5449
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
5450
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5451
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5539
+ return /* @__PURE__ */ jsxs87("div", { className: cn("flex flex-col", className), children: [
5540
+ /* @__PURE__ */ jsxs87("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
5541
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
5542
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
5543
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5544
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5452
5545
  ] }),
5453
- /* @__PURE__ */ jsx89(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
5454
- /* @__PURE__ */ jsxs86("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
5455
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
5456
- /* @__PURE__ */ jsx89(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
5546
+ /* @__PURE__ */ jsx90(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
5547
+ /* @__PURE__ */ jsxs87("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
5548
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
5549
+ /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
5457
5550
  ] }),
5458
- /* @__PURE__ */ jsx89(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
5551
+ /* @__PURE__ */ jsx90(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
5459
5552
  ] });
5460
5553
  };
5461
5554
  var MarketDetailsSkeletonView = ({
@@ -5464,7 +5557,7 @@ var MarketDetailsSkeletonView = ({
5464
5557
  isDetailed
5465
5558
  }) => {
5466
5559
  const labels = useLabels6();
5467
- return /* @__PURE__ */ jsxs86(
5560
+ return /* @__PURE__ */ jsxs87(
5468
5561
  Card,
5469
5562
  {
5470
5563
  className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
@@ -5472,12 +5565,12 @@ var MarketDetailsSkeletonView = ({
5472
5565
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
5473
5566
  "aria-busy": true,
5474
5567
  children: [
5475
- /* @__PURE__ */ jsx89(MarketDetailsHeaderSkeleton, {}),
5476
- isDetailed ? /* @__PURE__ */ jsxs86(Fragment4, { children: [
5477
- /* @__PURE__ */ jsx89("div", { className: "h-px w-full bg-agg-separator" }),
5478
- /* @__PURE__ */ jsx89(MarketDetailsTabsSkeleton, {}),
5479
- /* @__PURE__ */ jsx89("div", { className: "h-px w-full bg-agg-separator" }),
5480
- /* @__PURE__ */ jsx89(MarketDetailsOderbookSkeleton, {})
5568
+ /* @__PURE__ */ jsx90(MarketDetailsHeaderSkeleton, {}),
5569
+ isDetailed ? /* @__PURE__ */ jsxs87(Fragment4, { children: [
5570
+ /* @__PURE__ */ jsx90("div", { className: "h-px w-full bg-agg-separator" }),
5571
+ /* @__PURE__ */ jsx90(MarketDetailsTabsSkeleton, {}),
5572
+ /* @__PURE__ */ jsx90("div", { className: "h-px w-full bg-agg-separator" }),
5573
+ /* @__PURE__ */ jsx90(MarketDetailsOderbookSkeleton, {})
5481
5574
  ] }) : null
5482
5575
  ]
5483
5576
  }
@@ -5486,62 +5579,62 @@ var MarketDetailsSkeletonView = ({
5486
5579
  MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
5487
5580
 
5488
5581
  // src/primitives/skeleton/views/place-order-skeleton-view.tsx
5489
- import { jsx as jsx90, jsxs as jsxs87 } from "react/jsx-runtime";
5582
+ import { jsx as jsx91, jsxs as jsxs88 } from "react/jsx-runtime";
5490
5583
  var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
5491
5584
  var TabsSkeletonBar = () => {
5492
- return /* @__PURE__ */ jsxs87("div", { className: "flex w-full items-end border-b border-agg-border", children: [
5493
- /* @__PURE__ */ jsxs87("div", { className: "flex flex-col rounded-t-agg-lg", children: [
5494
- /* @__PURE__ */ jsx90("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
5495
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
5585
+ return /* @__PURE__ */ jsxs88("div", { className: "flex w-full items-end border-b border-agg-border", children: [
5586
+ /* @__PURE__ */ jsxs88("div", { className: "flex flex-col rounded-t-agg-lg", children: [
5587
+ /* @__PURE__ */ jsx91("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
5588
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
5496
5589
  ] }),
5497
- /* @__PURE__ */ jsxs87("div", { className: "flex flex-col", children: [
5498
- /* @__PURE__ */ jsx90("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
5499
- /* @__PURE__ */ jsx90("div", { className: "h-[2px] w-full" })
5590
+ /* @__PURE__ */ jsxs88("div", { className: "flex flex-col", children: [
5591
+ /* @__PURE__ */ jsx91("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
5592
+ /* @__PURE__ */ jsx91("div", { className: "h-[2px] w-full" })
5500
5593
  ] })
5501
5594
  ] });
5502
5595
  };
5503
5596
  var ContentBody = () => {
5504
- return /* @__PURE__ */ jsxs87("div", { className: cn("flex flex-col gap-6 p-5"), children: [
5505
- /* @__PURE__ */ jsxs87("div", { className: "flex flex-col gap-2", children: [
5506
- /* @__PURE__ */ jsxs87("div", { className: "flex min-w-0 items-center gap-3", children: [
5507
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
5508
- /* @__PURE__ */ jsxs87("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5509
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
5510
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
5597
+ return /* @__PURE__ */ jsxs88("div", { className: cn("flex flex-col gap-6 p-5"), children: [
5598
+ /* @__PURE__ */ jsxs88("div", { className: "flex flex-col gap-2", children: [
5599
+ /* @__PURE__ */ jsxs88("div", { className: "flex min-w-0 items-center gap-3", children: [
5600
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
5601
+ /* @__PURE__ */ jsxs88("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5602
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
5603
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
5511
5604
  ] })
5512
5605
  ] }),
5513
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
5514
- /* @__PURE__ */ jsx90(TabsSkeletonBar, {})
5606
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
5607
+ /* @__PURE__ */ jsx91(TabsSkeletonBar, {})
5515
5608
  ] }),
5516
- /* @__PURE__ */ jsxs87("div", { className: "flex flex-col gap-4", children: [
5517
- /* @__PURE__ */ jsxs87("div", { className: "flex w-full gap-2", children: [
5518
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
5519
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
5609
+ /* @__PURE__ */ jsxs88("div", { className: "flex flex-col gap-4", children: [
5610
+ /* @__PURE__ */ jsxs88("div", { className: "flex w-full gap-2", children: [
5611
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
5612
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
5520
5613
  ] }),
5521
- /* @__PURE__ */ jsxs87("div", { className: "flex items-center justify-between gap-4", children: [
5522
- /* @__PURE__ */ jsxs87("div", { className: "flex flex-col gap-2", children: [
5523
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
5524
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
5614
+ /* @__PURE__ */ jsxs88("div", { className: "flex items-center justify-between gap-4", children: [
5615
+ /* @__PURE__ */ jsxs88("div", { className: "flex flex-col gap-2", children: [
5616
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
5617
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
5525
5618
  ] }),
5526
- /* @__PURE__ */ jsx90("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
5619
+ /* @__PURE__ */ jsx91("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
5527
5620
  ] })
5528
5621
  ] }),
5529
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
5530
- /* @__PURE__ */ jsx90(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
5622
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
5623
+ /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
5531
5624
  ] });
5532
5625
  };
5533
5626
  var PlaceOrderSkeletonView = ({
5534
5627
  className,
5535
5628
  ariaLabel
5536
5629
  }) => {
5537
- return /* @__PURE__ */ jsx90(
5630
+ return /* @__PURE__ */ jsx91(
5538
5631
  "div",
5539
5632
  {
5540
5633
  className: cn("group/agg-skeleton", "w-full", className),
5541
5634
  role: "status",
5542
5635
  "aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
5543
5636
  "aria-busy": true,
5544
- children: /* @__PURE__ */ jsx90("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ jsx90(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ jsx90(ContentBody, {}) }) })
5637
+ children: /* @__PURE__ */ jsx91("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ jsx91(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ jsx91(ContentBody, {}) }) })
5545
5638
  }
5546
5639
  );
5547
5640
  };
@@ -5549,33 +5642,33 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
5549
5642
 
5550
5643
  // src/primitives/skeleton/views/search-skeleton-view.tsx
5551
5644
  import { useLabels as useLabels7 } from "@agg-build/hooks";
5552
- import { jsx as jsx91, jsxs as jsxs88 } from "react/jsx-runtime";
5645
+ import { jsx as jsx92, jsxs as jsxs89 } from "react/jsx-runtime";
5553
5646
  var SearchSkeletonRow = () => {
5554
- return /* @__PURE__ */ jsxs88("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
5555
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
5556
- /* @__PURE__ */ jsxs88("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5557
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
5558
- /* @__PURE__ */ jsxs88("div", { className: "flex min-w-0 items-center gap-2", children: [
5559
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
5560
- /* @__PURE__ */ jsxs88("div", { className: "flex items-center gap-1", children: [
5561
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
5562
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
5647
+ return /* @__PURE__ */ jsxs89("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
5648
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
5649
+ /* @__PURE__ */ jsxs89("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5650
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
5651
+ /* @__PURE__ */ jsxs89("div", { className: "flex min-w-0 items-center gap-2", children: [
5652
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
5653
+ /* @__PURE__ */ jsxs89("div", { className: "flex items-center gap-1", children: [
5654
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
5655
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
5563
5656
  ] })
5564
5657
  ] })
5565
5658
  ] }),
5566
- /* @__PURE__ */ jsxs88("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
5567
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
5568
- /* @__PURE__ */ jsxs88("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
5569
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
5570
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
5659
+ /* @__PURE__ */ jsxs89("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
5660
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
5661
+ /* @__PURE__ */ jsxs89("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
5662
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
5663
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
5571
5664
  ] })
5572
5665
  ] }),
5573
- /* @__PURE__ */ jsx91(SkeletonBlock, { className: "size-5 rounded-[4px]" })
5666
+ /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-5 rounded-[4px]" })
5574
5667
  ] });
5575
5668
  };
5576
5669
  var SearchSkeletonView = ({ className, ariaLabel }) => {
5577
5670
  const labels = useLabels7();
5578
- return /* @__PURE__ */ jsxs88(
5671
+ return /* @__PURE__ */ jsxs89(
5579
5672
  "div",
5580
5673
  {
5581
5674
  className: cn(
@@ -5587,8 +5680,8 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
5587
5680
  "aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
5588
5681
  "aria-busy": true,
5589
5682
  children: [
5590
- /* @__PURE__ */ jsx91("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx91("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx91(SearchSkeletonRow, {}) }, index)) }),
5591
- /* @__PURE__ */ jsx91("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx91(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
5683
+ /* @__PURE__ */ jsx92("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx92("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx92(SearchSkeletonRow, {}) }, index)) }),
5684
+ /* @__PURE__ */ jsx92("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
5592
5685
  ]
5593
5686
  }
5594
5687
  );
@@ -5597,13 +5690,13 @@ SearchSkeletonView.displayName = "SearchSkeletonView";
5597
5690
 
5598
5691
  // src/primitives/skeleton/views/settlement-skeleton-view.tsx
5599
5692
  import { useLabels as useLabels8 } from "@agg-build/hooks";
5600
- import { jsx as jsx92, jsxs as jsxs89 } from "react/jsx-runtime";
5693
+ import { jsx as jsx93, jsxs as jsxs90 } from "react/jsx-runtime";
5601
5694
  var SettlementSkeletonView = ({
5602
5695
  className,
5603
5696
  ariaLabel
5604
5697
  }) => {
5605
5698
  const labels = useLabels8();
5606
- return /* @__PURE__ */ jsxs89(
5699
+ return /* @__PURE__ */ jsxs90(
5607
5700
  Card,
5608
5701
  {
5609
5702
  className: cn(
@@ -5615,26 +5708,26 @@ var SettlementSkeletonView = ({
5615
5708
  "aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
5616
5709
  "aria-busy": true,
5617
5710
  children: [
5618
- /* @__PURE__ */ jsxs89("div", { className: "flex w-full items-center justify-between gap-4", children: [
5619
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
5620
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
5711
+ /* @__PURE__ */ jsxs90("div", { className: "flex w-full items-center justify-between gap-4", children: [
5712
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
5713
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
5621
5714
  ] }),
5622
- /* @__PURE__ */ jsxs89("div", { className: "flex w-full flex-col gap-3", children: [
5623
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
5624
- /* @__PURE__ */ jsxs89("div", { className: "flex flex-col gap-2", children: [
5625
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
5626
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
5715
+ /* @__PURE__ */ jsxs90("div", { className: "flex w-full flex-col gap-3", children: [
5716
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
5717
+ /* @__PURE__ */ jsxs90("div", { className: "flex flex-col gap-2", children: [
5718
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
5719
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
5627
5720
  ] })
5628
5721
  ] }),
5629
- /* @__PURE__ */ jsx92("div", { className: "h-px w-full bg-agg-separator" }),
5630
- /* @__PURE__ */ jsxs89("div", { className: "flex w-full flex-col gap-3", children: [
5631
- /* @__PURE__ */ jsxs89("div", { className: "flex items-center gap-2", children: [
5632
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
5633
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
5722
+ /* @__PURE__ */ jsx93("div", { className: "h-px w-full bg-agg-separator" }),
5723
+ /* @__PURE__ */ jsxs90("div", { className: "flex w-full flex-col gap-3", children: [
5724
+ /* @__PURE__ */ jsxs90("div", { className: "flex items-center gap-2", children: [
5725
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
5726
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
5634
5727
  ] }),
5635
- /* @__PURE__ */ jsxs89("div", { className: "flex items-center gap-2", children: [
5636
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
5637
- /* @__PURE__ */ jsx92(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
5728
+ /* @__PURE__ */ jsxs90("div", { className: "flex items-center gap-2", children: [
5729
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
5730
+ /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
5638
5731
  ] })
5639
5732
  ] })
5640
5733
  ]
@@ -5644,12 +5737,12 @@ var SettlementSkeletonView = ({
5644
5737
  SettlementSkeletonView.displayName = "SettlementSkeletonView";
5645
5738
 
5646
5739
  // src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
5647
- import { jsx as jsx93, jsxs as jsxs90 } from "react/jsx-runtime";
5740
+ import { jsx as jsx94, jsxs as jsxs91 } from "react/jsx-runtime";
5648
5741
  var UserProfileOverviewSkeletonView = ({
5649
5742
  className,
5650
5743
  ariaLabel
5651
5744
  }) => {
5652
- return /* @__PURE__ */ jsxs90(
5745
+ return /* @__PURE__ */ jsxs91(
5653
5746
  "div",
5654
5747
  {
5655
5748
  className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
@@ -5657,49 +5750,49 @@ var UserProfileOverviewSkeletonView = ({
5657
5750
  "aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
5658
5751
  "aria-busy": "true",
5659
5752
  children: [
5660
- /* @__PURE__ */ jsxs90("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
5661
- /* @__PURE__ */ jsx93("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs90("div", { className: "flex w-full items-center gap-5", children: [
5662
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
5663
- /* @__PURE__ */ jsxs90("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5664
- /* @__PURE__ */ jsxs90("div", { className: "flex items-center justify-between gap-3", children: [
5665
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
5666
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
5753
+ /* @__PURE__ */ jsxs91("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
5754
+ /* @__PURE__ */ jsx94("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs91("div", { className: "flex w-full items-center gap-5", children: [
5755
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
5756
+ /* @__PURE__ */ jsxs91("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
5757
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-center justify-between gap-3", children: [
5758
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
5759
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
5667
5760
  ] }),
5668
- /* @__PURE__ */ jsxs90("div", { className: "flex items-center gap-2", children: [
5669
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5670
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
5671
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
5761
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-center gap-2", children: [
5762
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5763
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
5764
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
5672
5765
  ] })
5673
5766
  ] })
5674
5767
  ] }) }),
5675
- /* @__PURE__ */ jsx93("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs90("div", { className: "flex items-center justify-between", children: [
5676
- /* @__PURE__ */ jsxs90("div", { className: "flex items-end gap-3", children: [
5677
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
5678
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
5768
+ /* @__PURE__ */ jsx94("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs91("div", { className: "flex items-center justify-between", children: [
5769
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-end gap-3", children: [
5770
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
5771
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
5679
5772
  ] }),
5680
- /* @__PURE__ */ jsxs90("div", { className: "flex items-center gap-2", children: [
5681
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5682
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5683
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5684
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
5773
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-center gap-2", children: [
5774
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5775
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5776
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
5777
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
5685
5778
  ] })
5686
5779
  ] }) })
5687
5780
  ] }),
5688
- /* @__PURE__ */ jsxs90("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
5689
- /* @__PURE__ */ jsxs90("div", { className: "mb-4 flex items-center justify-between", children: [
5690
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
5691
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
5781
+ /* @__PURE__ */ jsxs91("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
5782
+ /* @__PURE__ */ jsxs91("div", { className: "mb-4 flex items-center justify-between", children: [
5783
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
5784
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
5692
5785
  ] }),
5693
- /* @__PURE__ */ jsx93("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs90("div", { className: "flex items-center justify-between", children: [
5694
- /* @__PURE__ */ jsxs90("div", { className: "flex items-center gap-3", children: [
5695
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
5696
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
5786
+ /* @__PURE__ */ jsx94("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs91("div", { className: "flex items-center justify-between", children: [
5787
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-center gap-3", children: [
5788
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
5789
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
5697
5790
  ] }),
5698
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
5791
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
5699
5792
  ] }, index)) }),
5700
- /* @__PURE__ */ jsxs90("div", { className: "mt-4 flex gap-3", children: [
5701
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
5702
- /* @__PURE__ */ jsx93(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
5793
+ /* @__PURE__ */ jsxs91("div", { className: "mt-4 flex gap-3", children: [
5794
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
5795
+ /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
5703
5796
  ] })
5704
5797
  ] })
5705
5798
  ]
@@ -5709,12 +5802,12 @@ var UserProfileOverviewSkeletonView = ({
5709
5802
  UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
5710
5803
 
5711
5804
  // src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
5712
- import { jsx as jsx94, jsxs as jsxs91 } from "react/jsx-runtime";
5805
+ import { jsx as jsx95, jsxs as jsxs92 } from "react/jsx-runtime";
5713
5806
  var UserProfilePositionsActivitySkeletonView = ({
5714
5807
  className,
5715
5808
  ariaLabel
5716
5809
  }) => {
5717
- return /* @__PURE__ */ jsxs91(
5810
+ return /* @__PURE__ */ jsxs92(
5718
5811
  "div",
5719
5812
  {
5720
5813
  className: cn(
@@ -5725,18 +5818,18 @@ var UserProfilePositionsActivitySkeletonView = ({
5725
5818
  "aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
5726
5819
  "aria-busy": "true",
5727
5820
  children: [
5728
- /* @__PURE__ */ jsx94("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs91("div", { className: "flex h-full items-center gap-6", children: [
5729
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
5730
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
5821
+ /* @__PURE__ */ jsx95("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs92("div", { className: "flex h-full items-center gap-6", children: [
5822
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
5823
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
5731
5824
  ] }) }),
5732
- /* @__PURE__ */ jsxs91("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
5733
- /* @__PURE__ */ jsxs91("div", { className: "flex gap-5", children: [
5734
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
5735
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
5825
+ /* @__PURE__ */ jsxs92("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
5826
+ /* @__PURE__ */ jsxs92("div", { className: "flex gap-5", children: [
5827
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
5828
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
5736
5829
  ] }),
5737
- /* @__PURE__ */ jsx94("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs91("div", { className: "flex items-center gap-5", children: [
5738
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
5739
- /* @__PURE__ */ jsx94(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
5830
+ /* @__PURE__ */ jsx95("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs92("div", { className: "flex items-center gap-5", children: [
5831
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
5832
+ /* @__PURE__ */ jsx95(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
5740
5833
  ] }, index)) })
5741
5834
  ] })
5742
5835
  ]
@@ -5776,37 +5869,37 @@ var resolveSkeletonView = (view) => {
5776
5869
  };
5777
5870
 
5778
5871
  // src/primitives/skeleton/index.tsx
5779
- import { jsx as jsx95 } from "react/jsx-runtime";
5872
+ import { jsx as jsx96 } from "react/jsx-runtime";
5780
5873
  var Skeleton = ({ view, className, ariaLabel }) => {
5781
5874
  const resolvedView = resolveSkeletonView(view);
5782
5875
  if (resolvedView === skeletonViews.eventListItem) {
5783
- return /* @__PURE__ */ jsx95(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
5876
+ return /* @__PURE__ */ jsx96(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
5784
5877
  }
5785
5878
  if (resolvedView === skeletonViews.eventListItemDetails) {
5786
- return /* @__PURE__ */ jsx95(EventListItemDetailsSkeletonView, { className, ariaLabel });
5879
+ return /* @__PURE__ */ jsx96(EventListItemDetailsSkeletonView, { className, ariaLabel });
5787
5880
  }
5788
5881
  if (resolvedView === skeletonViews.marketDetailsMinified) {
5789
- return /* @__PURE__ */ jsx95(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
5882
+ return /* @__PURE__ */ jsx96(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
5790
5883
  }
5791
5884
  if (resolvedView === skeletonViews.marketDetailsDetailed) {
5792
- return /* @__PURE__ */ jsx95(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
5885
+ return /* @__PURE__ */ jsx96(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
5793
5886
  }
5794
5887
  if (resolvedView === skeletonViews.settlement) {
5795
- return /* @__PURE__ */ jsx95(SettlementSkeletonView, { className, ariaLabel });
5888
+ return /* @__PURE__ */ jsx96(SettlementSkeletonView, { className, ariaLabel });
5796
5889
  }
5797
5890
  if (resolvedView === skeletonViews.placeOrder) {
5798
- return /* @__PURE__ */ jsx95(PlaceOrderSkeletonView, { className, ariaLabel });
5891
+ return /* @__PURE__ */ jsx96(PlaceOrderSkeletonView, { className, ariaLabel });
5799
5892
  }
5800
5893
  if (resolvedView === skeletonViews.search) {
5801
- return /* @__PURE__ */ jsx95(SearchSkeletonView, { className, ariaLabel });
5894
+ return /* @__PURE__ */ jsx96(SearchSkeletonView, { className, ariaLabel });
5802
5895
  }
5803
5896
  if (resolvedView === skeletonViews.userProfileOverview) {
5804
- return /* @__PURE__ */ jsx95(UserProfileOverviewSkeletonView, { className, ariaLabel });
5897
+ return /* @__PURE__ */ jsx96(UserProfileOverviewSkeletonView, { className, ariaLabel });
5805
5898
  }
5806
5899
  if (resolvedView === skeletonViews.userProfilePositionsActivity) {
5807
- return /* @__PURE__ */ jsx95(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
5900
+ return /* @__PURE__ */ jsx96(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
5808
5901
  }
5809
- return /* @__PURE__ */ jsx95(EventListSkeletonView, { className, ariaLabel });
5902
+ return /* @__PURE__ */ jsx96(EventListSkeletonView, { className, ariaLabel });
5810
5903
  };
5811
5904
  Skeleton.displayName = "Skeleton";
5812
5905
 
@@ -5829,7 +5922,7 @@ var resolveLogoPrimaryColor = ({
5829
5922
  };
5830
5923
 
5831
5924
  // src/primitives/venue-logo/svg/default-venue.tsx
5832
- import { jsx as jsx96, jsxs as jsxs92 } from "react/jsx-runtime";
5925
+ import { jsx as jsx97, jsxs as jsxs93 } from "react/jsx-runtime";
5833
5926
  var DefaultVenueIcon = (_a) => {
5834
5927
  var _b = _a, {
5835
5928
  title,
@@ -5847,7 +5940,7 @@ var DefaultVenueIcon = (_a) => {
5847
5940
  isColor,
5848
5941
  color
5849
5942
  });
5850
- return /* @__PURE__ */ jsxs92(
5943
+ return /* @__PURE__ */ jsxs93(
5851
5944
  "svg",
5852
5945
  __spreadProps(__spreadValues(__spreadValues({
5853
5946
  viewBox: "0 0 100 100",
@@ -5855,9 +5948,9 @@ var DefaultVenueIcon = (_a) => {
5855
5948
  fill: "none"
5856
5949
  }, getIconA11yProps(title)), props), {
5857
5950
  children: [
5858
- title ? /* @__PURE__ */ jsx96("title", { children: title }) : null,
5859
- /* @__PURE__ */ jsx96("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
5860
- /* @__PURE__ */ jsx96("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
5951
+ title ? /* @__PURE__ */ jsx97("title", { children: title }) : null,
5952
+ /* @__PURE__ */ jsx97("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
5953
+ /* @__PURE__ */ jsx97("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
5861
5954
  ]
5862
5955
  })
5863
5956
  );
@@ -5866,7 +5959,7 @@ var DefaultVenueIcon = (_a) => {
5866
5959
  // src/primitives/venue-logo/svg/logo-hyperliquid.tsx
5867
5960
  import { useAggUiConfig } from "@agg-build/hooks";
5868
5961
  import { Venue as Venue2 } from "@agg-build/sdk";
5869
- import { jsx as jsx97, jsxs as jsxs93 } from "react/jsx-runtime";
5962
+ import { jsx as jsx98, jsxs as jsxs94 } from "react/jsx-runtime";
5870
5963
  var LogoHyperliquidIcon = (_a) => {
5871
5964
  var _b = _a, {
5872
5965
  title,
@@ -5889,7 +5982,7 @@ var LogoHyperliquidIcon = (_a) => {
5889
5982
  isColor,
5890
5983
  color
5891
5984
  });
5892
- return /* @__PURE__ */ jsxs93(
5985
+ return /* @__PURE__ */ jsxs94(
5893
5986
  "svg",
5894
5987
  __spreadProps(__spreadValues(__spreadValues({
5895
5988
  viewBox: "0 0 100 100",
@@ -5897,8 +5990,8 @@ var LogoHyperliquidIcon = (_a) => {
5897
5990
  fill: "none"
5898
5991
  }, getIconA11yProps(title)), props), {
5899
5992
  children: [
5900
- title ? /* @__PURE__ */ jsx97("title", { children: title }) : null,
5901
- /* @__PURE__ */ jsx97(
5993
+ title ? /* @__PURE__ */ jsx98("title", { children: title }) : null,
5994
+ /* @__PURE__ */ jsx98(
5902
5995
  "path",
5903
5996
  {
5904
5997
  d: "M82 49.2724C82 70.431 69.0516 77.2204 62.2292 71.175C56.6135 66.2457 54.9427 55.8293 46.496 54.7597C35.7752 53.4112 34.847 67.6875 27.7926 67.6875C19.578 67.6875 18 55.7363 18 49.5979C18 43.3201 19.7636 34.7636 26.7716 34.7636C34.9398 34.7636 35.4039 46.9938 45.6142 46.3427C55.7781 45.6452 55.9637 32.9034 62.5542 27.4626C68.3089 22.7658 82 27.8346 82 49.2724Z",
@@ -5914,7 +6007,7 @@ LogoHyperliquidIcon.displayName = "LogoHyperliquidIcon";
5914
6007
  // src/primitives/venue-logo/svg/logo-kalshi.tsx
5915
6008
  import { useAggUiConfig as useAggUiConfig2 } from "@agg-build/hooks";
5916
6009
  import { Venue as Venue3 } from "@agg-build/sdk";
5917
- import { jsx as jsx98, jsxs as jsxs94 } from "react/jsx-runtime";
6010
+ import { jsx as jsx99, jsxs as jsxs95 } from "react/jsx-runtime";
5918
6011
  var LogoKalshiIcon = (_a) => {
5919
6012
  var _b = _a, {
5920
6013
  title,
@@ -5937,7 +6030,7 @@ var LogoKalshiIcon = (_a) => {
5937
6030
  isColor,
5938
6031
  color
5939
6032
  });
5940
- return /* @__PURE__ */ jsxs94(
6033
+ return /* @__PURE__ */ jsxs95(
5941
6034
  "svg",
5942
6035
  __spreadProps(__spreadValues(__spreadValues({
5943
6036
  viewBox: "0 0 100 100",
@@ -5945,8 +6038,8 @@ var LogoKalshiIcon = (_a) => {
5945
6038
  fill: "none"
5946
6039
  }, getIconA11yProps(title)), props), {
5947
6040
  children: [
5948
- title ? /* @__PURE__ */ jsx98("title", { children: title }) : null,
5949
- /* @__PURE__ */ jsx98(
6041
+ title ? /* @__PURE__ */ jsx99("title", { children: title }) : null,
6042
+ /* @__PURE__ */ jsx99(
5950
6043
  "path",
5951
6044
  {
5952
6045
  d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
@@ -5962,7 +6055,7 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
5962
6055
  // src/primitives/venue-logo/svg/logo-limitless.tsx
5963
6056
  import { useAggUiConfig as useAggUiConfig3 } from "@agg-build/hooks";
5964
6057
  import { Venue as Venue4 } from "@agg-build/sdk";
5965
- import { jsx as jsx99, jsxs as jsxs95 } from "react/jsx-runtime";
6058
+ import { jsx as jsx100, jsxs as jsxs96 } from "react/jsx-runtime";
5966
6059
  var LogoLimitlessIcon = (_a) => {
5967
6060
  var _b = _a, {
5968
6061
  title,
@@ -5985,7 +6078,7 @@ var LogoLimitlessIcon = (_a) => {
5985
6078
  isColor,
5986
6079
  color
5987
6080
  });
5988
- return /* @__PURE__ */ jsxs95(
6081
+ return /* @__PURE__ */ jsxs96(
5989
6082
  "svg",
5990
6083
  __spreadProps(__spreadValues(__spreadValues({
5991
6084
  viewBox: "0 0 100 100",
@@ -5993,8 +6086,8 @@ var LogoLimitlessIcon = (_a) => {
5993
6086
  fill: "none"
5994
6087
  }, getIconA11yProps(title)), props), {
5995
6088
  children: [
5996
- title ? /* @__PURE__ */ jsx99("title", { children: title }) : null,
5997
- /* @__PURE__ */ jsx99(
6089
+ title ? /* @__PURE__ */ jsx100("title", { children: title }) : null,
6090
+ /* @__PURE__ */ jsx100(
5998
6091
  "path",
5999
6092
  {
6000
6093
  d: "M78.2762 44.4662H67.7966L81.9152 30.0554L82 29.9706L76.8528 24.8176H62.8524V21.6803C62.8524 19.6513 61.2036 18 59.1777 18H44.1555C42.1297 18 40.4809 19.6513 40.4809 21.6803V48.171H21.7238C19.6979 48.171 18.0491 49.8223 18.0491 51.8512C18.0491 53.8804 19.6979 55.5317 21.7238 55.5317H32.2034L18.0848 69.9379L18 70.0227L23.145 75.1755H37.1476V78.3195C37.1476 80.3487 38.7964 82 40.8222 82H55.8444C57.8703 82 59.5191 80.3487 59.5191 78.3195V51.8267H78.2762C80.3021 51.8267 81.9509 50.1754 81.9509 48.1464C81.9509 46.1175 80.3021 44.4662 78.2762 44.4662ZM57.9886 78.3173C57.9886 79.5018 57.0269 80.4647 55.8444 80.4647C54.6619 80.4647 53.7003 79.5018 53.7003 78.3173V57.2411L38.2096 73.0506L35.1752 70.0137L50.8712 54.0009H36.7459C35.5634 54.0009 34.6018 53.0377 34.6018 51.8535C34.6018 50.6692 35.5634 49.7038 36.7459 49.7038H54.8204C56.5673 49.7038 57.9886 51.1273 57.9886 52.8769V78.3195V78.3173ZM78.2762 50.2938H60.2018C58.4549 50.2938 57.0336 48.8704 57.0336 47.1208V21.6781C57.0336 20.4938 57.9953 19.5307 59.1777 19.5307C60.3602 19.5307 61.3241 20.4938 61.3241 21.6781V42.7544L76.8126 26.9403L79.847 29.9772L64.1509 45.9968H78.2762C79.4587 45.9968 80.4204 46.9599 80.4204 48.1442C80.4204 49.3285 79.4587 50.2916 78.2762 50.2916V50.2938Z",
@@ -6010,7 +6103,7 @@ LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
6010
6103
  // src/primitives/venue-logo/svg/logo-myriad.tsx
6011
6104
  import { useAggUiConfig as useAggUiConfig4 } from "@agg-build/hooks";
6012
6105
  import { Venue as Venue5 } from "@agg-build/sdk";
6013
- import { jsx as jsx100, jsxs as jsxs96 } from "react/jsx-runtime";
6106
+ import { jsx as jsx101, jsxs as jsxs97 } from "react/jsx-runtime";
6014
6107
  var LogoMyriadIcon = (_a) => {
6015
6108
  var _b = _a, {
6016
6109
  title,
@@ -6033,7 +6126,7 @@ var LogoMyriadIcon = (_a) => {
6033
6126
  isColor,
6034
6127
  color
6035
6128
  });
6036
- return /* @__PURE__ */ jsxs96(
6129
+ return /* @__PURE__ */ jsxs97(
6037
6130
  "svg",
6038
6131
  __spreadProps(__spreadValues(__spreadValues({
6039
6132
  viewBox: "0 0 100 100",
@@ -6041,8 +6134,8 @@ var LogoMyriadIcon = (_a) => {
6041
6134
  fill: "none"
6042
6135
  }, getIconA11yProps(title)), props), {
6043
6136
  children: [
6044
- title ? /* @__PURE__ */ jsx100("title", { children: title }) : null,
6045
- /* @__PURE__ */ jsx100(
6137
+ title ? /* @__PURE__ */ jsx101("title", { children: title }) : null,
6138
+ /* @__PURE__ */ jsx101(
6046
6139
  "path",
6047
6140
  {
6048
6141
  d: "M24.356 52.5901C24.1479 52.8348 24.0342 53.1458 24.0352 53.467L24.0394 64.9354V68.672H44.3882V58.5767H32.5776L55.2898 31.713C55.4979 31.4683 55.6116 31.1573 55.6107 30.8361V19.3656C55.6107 18.093 54.0108 17.5155 53.1874 18.4887L24.356 52.5901ZM75.9594 31.3259V35.0646L75.9637 46.533C75.9637 46.8538 75.8504 47.1639 75.6429 47.4099L46.8137 81.5113C45.9902 82.4845 44.3925 81.907 44.3925 80.6344V69.1617C44.3925 68.8409 44.5059 68.5329 44.7133 68.287L67.4234 41.4233H55.6128V31.328L75.9594 31.3259Z",
@@ -6058,7 +6151,7 @@ LogoMyriadIcon.displayName = "LogoMyriadIcon";
6058
6151
  // src/primitives/venue-logo/svg/logo-opinion.tsx
6059
6152
  import { useAggUiConfig as useAggUiConfig5 } from "@agg-build/hooks";
6060
6153
  import { Venue as Venue6 } from "@agg-build/sdk";
6061
- import { jsx as jsx101, jsxs as jsxs97 } from "react/jsx-runtime";
6154
+ import { jsx as jsx102, jsxs as jsxs98 } from "react/jsx-runtime";
6062
6155
  var LogoOpinionIcon = (_a) => {
6063
6156
  var _b = _a, {
6064
6157
  title,
@@ -6081,7 +6174,7 @@ var LogoOpinionIcon = (_a) => {
6081
6174
  isColor,
6082
6175
  color
6083
6176
  });
6084
- return /* @__PURE__ */ jsxs97(
6177
+ return /* @__PURE__ */ jsxs98(
6085
6178
  "svg",
6086
6179
  __spreadProps(__spreadValues(__spreadValues({
6087
6180
  viewBox: "0 0 100 100",
@@ -6089,8 +6182,8 @@ var LogoOpinionIcon = (_a) => {
6089
6182
  fill: "none"
6090
6183
  }, getIconA11yProps(title)), props), {
6091
6184
  children: [
6092
- title ? /* @__PURE__ */ jsx101("title", { children: title }) : null,
6093
- /* @__PURE__ */ jsx101(
6185
+ title ? /* @__PURE__ */ jsx102("title", { children: title }) : null,
6186
+ /* @__PURE__ */ jsx102(
6094
6187
  "path",
6095
6188
  {
6096
6189
  d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
@@ -6106,7 +6199,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
6106
6199
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
6107
6200
  import { useAggUiConfig as useAggUiConfig6 } from "@agg-build/hooks";
6108
6201
  import { Venue as Venue7 } from "@agg-build/sdk";
6109
- import { jsx as jsx102, jsxs as jsxs98 } from "react/jsx-runtime";
6202
+ import { jsx as jsx103, jsxs as jsxs99 } from "react/jsx-runtime";
6110
6203
  var LogoPolymarketIcon = (_a) => {
6111
6204
  var _b = _a, {
6112
6205
  title,
@@ -6129,7 +6222,7 @@ var LogoPolymarketIcon = (_a) => {
6129
6222
  isColor,
6130
6223
  color
6131
6224
  });
6132
- return /* @__PURE__ */ jsxs98(
6225
+ return /* @__PURE__ */ jsxs99(
6133
6226
  "svg",
6134
6227
  __spreadProps(__spreadValues(__spreadValues({
6135
6228
  viewBox: "0 0 100 100",
@@ -6137,8 +6230,8 @@ var LogoPolymarketIcon = (_a) => {
6137
6230
  fill: "none"
6138
6231
  }, getIconA11yProps(title)), props), {
6139
6232
  children: [
6140
- title ? /* @__PURE__ */ jsx102("title", { children: title }) : null,
6141
- /* @__PURE__ */ jsx102(
6233
+ title ? /* @__PURE__ */ jsx103("title", { children: title }) : null,
6234
+ /* @__PURE__ */ jsx103(
6142
6235
  "path",
6143
6236
  {
6144
6237
  d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
@@ -6154,7 +6247,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6154
6247
  // src/primitives/venue-logo/svg/logo-predict.tsx
6155
6248
  import { useAggUiConfig as useAggUiConfig7 } from "@agg-build/hooks";
6156
6249
  import { Venue as Venue8 } from "@agg-build/sdk";
6157
- import { jsx as jsx103, jsxs as jsxs99 } from "react/jsx-runtime";
6250
+ import { jsx as jsx104, jsxs as jsxs100 } from "react/jsx-runtime";
6158
6251
  var LogoPredictIcon = (_a) => {
6159
6252
  var _b = _a, {
6160
6253
  title,
@@ -6177,7 +6270,7 @@ var LogoPredictIcon = (_a) => {
6177
6270
  isColor,
6178
6271
  color
6179
6272
  });
6180
- return /* @__PURE__ */ jsxs99(
6273
+ return /* @__PURE__ */ jsxs100(
6181
6274
  "svg",
6182
6275
  __spreadProps(__spreadValues(__spreadValues({
6183
6276
  viewBox: "0 0 100 100",
@@ -6185,8 +6278,8 @@ var LogoPredictIcon = (_a) => {
6185
6278
  fill: "none"
6186
6279
  }, getIconA11yProps(title)), props), {
6187
6280
  children: [
6188
- title ? /* @__PURE__ */ jsx103("title", { children: title }) : null,
6189
- /* @__PURE__ */ jsx103(
6281
+ title ? /* @__PURE__ */ jsx104("title", { children: title }) : null,
6282
+ /* @__PURE__ */ jsx104(
6190
6283
  "path",
6191
6284
  {
6192
6285
  fillRule: "evenodd",
@@ -6204,7 +6297,7 @@ LogoPredictIcon.displayName = "LogoPredictIcon";
6204
6297
  // src/primitives/venue-logo/svg/logo-probable.tsx
6205
6298
  import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
6206
6299
  import { Venue as Venue9 } from "@agg-build/sdk";
6207
- import { jsx as jsx104, jsxs as jsxs100 } from "react/jsx-runtime";
6300
+ import { jsx as jsx105, jsxs as jsxs101 } from "react/jsx-runtime";
6208
6301
  var LogoProbableIcon = (_a) => {
6209
6302
  var _b = _a, {
6210
6303
  title,
@@ -6227,7 +6320,7 @@ var LogoProbableIcon = (_a) => {
6227
6320
  isColor,
6228
6321
  color
6229
6322
  });
6230
- return /* @__PURE__ */ jsxs100(
6323
+ return /* @__PURE__ */ jsxs101(
6231
6324
  "svg",
6232
6325
  __spreadProps(__spreadValues(__spreadValues({
6233
6326
  viewBox: "0 0 100 100",
@@ -6235,16 +6328,16 @@ var LogoProbableIcon = (_a) => {
6235
6328
  fill: "none"
6236
6329
  }, getIconA11yProps(title)), props), {
6237
6330
  children: [
6238
- title ? /* @__PURE__ */ jsx104("title", { children: title }) : null,
6239
- /* @__PURE__ */ jsx104(
6331
+ title ? /* @__PURE__ */ jsx105("title", { children: title }) : null,
6332
+ /* @__PURE__ */ jsx105(
6240
6333
  "path",
6241
6334
  {
6242
6335
  d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
6243
6336
  fill: primaryColor
6244
6337
  }
6245
6338
  ),
6246
- /* @__PURE__ */ jsx104("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6247
- /* @__PURE__ */ jsx104(
6339
+ /* @__PURE__ */ jsx105("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6340
+ /* @__PURE__ */ jsx105(
6248
6341
  "path",
6249
6342
  {
6250
6343
  d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
@@ -6355,7 +6448,7 @@ var resolveVenueLogoIsColor = ({
6355
6448
  };
6356
6449
 
6357
6450
  // src/primitives/venue-logo/index.tsx
6358
- import { jsx as jsx105 } from "react/jsx-runtime";
6451
+ import { jsx as jsx106 } from "react/jsx-runtime";
6359
6452
  var VenueLogo = ({
6360
6453
  venue,
6361
6454
  variant = "icon",
@@ -6381,7 +6474,7 @@ var VenueLogo = ({
6381
6474
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
6382
6475
  }
6383
6476
  if (variant === "logo") {
6384
- return /* @__PURE__ */ jsx105(
6477
+ return /* @__PURE__ */ jsx106(
6385
6478
  RemoteImage,
6386
6479
  {
6387
6480
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -6396,7 +6489,7 @@ var VenueLogo = ({
6396
6489
  isColor,
6397
6490
  isMonochromatic
6398
6491
  });
6399
- return /* @__PURE__ */ jsx105(
6492
+ return /* @__PURE__ */ jsx106(
6400
6493
  Component2,
6401
6494
  {
6402
6495
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -6466,7 +6559,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
6466
6559
  };
6467
6560
 
6468
6561
  // src/primitives/search/index.tsx
6469
- import { Fragment as Fragment5, jsx as jsx106, jsxs as jsxs101 } from "react/jsx-runtime";
6562
+ import { Fragment as Fragment5, jsx as jsx107, jsxs as jsxs102 } from "react/jsx-runtime";
6470
6563
  var SearchResultRow = ({
6471
6564
  item,
6472
6565
  resultAria,
@@ -6477,7 +6570,7 @@ var SearchResultRow = ({
6477
6570
  const handleResultClick = () => {
6478
6571
  onSelect == null ? void 0 : onSelect(item);
6479
6572
  };
6480
- return /* @__PURE__ */ jsxs101(
6573
+ return /* @__PURE__ */ jsxs102(
6481
6574
  "button",
6482
6575
  {
6483
6576
  type: "button",
@@ -6494,8 +6587,8 @@ var SearchResultRow = ({
6494
6587
  onClick: handleResultClick,
6495
6588
  "aria-label": resultAria(item.title),
6496
6589
  children: [
6497
- /* @__PURE__ */ jsxs101("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
6498
- /* @__PURE__ */ jsx106(
6590
+ /* @__PURE__ */ jsxs102("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
6591
+ /* @__PURE__ */ jsx107(
6499
6592
  RemoteImage,
6500
6593
  {
6501
6594
  src: item.thumbnailSrc,
@@ -6507,8 +6600,8 @@ var SearchResultRow = ({
6507
6600
  )
6508
6601
  }
6509
6602
  ),
6510
- /* @__PURE__ */ jsxs101("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
6511
- /* @__PURE__ */ jsx106(
6603
+ /* @__PURE__ */ jsxs102("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
6604
+ /* @__PURE__ */ jsx107(
6512
6605
  "p",
6513
6606
  {
6514
6607
  className: cn(
@@ -6519,8 +6612,8 @@ var SearchResultRow = ({
6519
6612
  children: item.title
6520
6613
  }
6521
6614
  ),
6522
- /* @__PURE__ */ jsxs101("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
6523
- /* @__PURE__ */ jsx106(
6615
+ /* @__PURE__ */ jsxs102("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
6616
+ /* @__PURE__ */ jsx107(
6524
6617
  "p",
6525
6618
  {
6526
6619
  className: cn(
@@ -6530,7 +6623,7 @@ var SearchResultRow = ({
6530
6623
  children: item.marketSummaryLabel
6531
6624
  }
6532
6625
  ),
6533
- /* @__PURE__ */ jsx106("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx106(
6626
+ /* @__PURE__ */ jsx107("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx107(
6534
6627
  VenueLogo,
6535
6628
  {
6536
6629
  venue,
@@ -6540,9 +6633,9 @@ var SearchResultRow = ({
6540
6633
  },
6541
6634
  `${item.id}-${venue}`
6542
6635
  )) }),
6543
- item.volumeLabel ? /* @__PURE__ */ jsxs101(Fragment5, { children: [
6544
- /* @__PURE__ */ jsx106("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
6545
- /* @__PURE__ */ jsx106(
6636
+ item.volumeLabel ? /* @__PURE__ */ jsxs102(Fragment5, { children: [
6637
+ /* @__PURE__ */ jsx107("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
6638
+ /* @__PURE__ */ jsx107(
6546
6639
  "p",
6547
6640
  {
6548
6641
  className: cn(
@@ -6556,7 +6649,7 @@ var SearchResultRow = ({
6556
6649
  ] })
6557
6650
  ] })
6558
6651
  ] }),
6559
- /* @__PURE__ */ jsxs101(
6652
+ /* @__PURE__ */ jsxs102(
6560
6653
  "div",
6561
6654
  {
6562
6655
  className: cn(
@@ -6564,9 +6657,9 @@ var SearchResultRow = ({
6564
6657
  classNames == null ? void 0 : classNames.resultMeta
6565
6658
  ),
6566
6659
  children: [
6567
- /* @__PURE__ */ jsx106(VenueLogo, { venue: item.venue, size: "small" }),
6568
- /* @__PURE__ */ jsxs101("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
6569
- /* @__PURE__ */ jsx106(
6660
+ /* @__PURE__ */ jsx107(VenueLogo, { venue: item.venue, size: "small" }),
6661
+ /* @__PURE__ */ jsxs102("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
6662
+ /* @__PURE__ */ jsx107(
6570
6663
  "p",
6571
6664
  {
6572
6665
  className: cn(
@@ -6577,7 +6670,7 @@ var SearchResultRow = ({
6577
6670
  children: item.valueLabel
6578
6671
  }
6579
6672
  ),
6580
- /* @__PURE__ */ jsx106(
6673
+ /* @__PURE__ */ jsx107(
6581
6674
  "p",
6582
6675
  {
6583
6676
  className: cn(
@@ -6591,7 +6684,7 @@ var SearchResultRow = ({
6591
6684
  ]
6592
6685
  }
6593
6686
  ),
6594
- /* @__PURE__ */ jsx106(
6687
+ /* @__PURE__ */ jsx107(
6595
6688
  Icon,
6596
6689
  {
6597
6690
  name: "chevron-right",
@@ -6611,7 +6704,7 @@ var SearchSeeAllResultsButton = ({
6611
6704
  label,
6612
6705
  onClick
6613
6706
  }) => {
6614
- return /* @__PURE__ */ jsxs101(
6707
+ return /* @__PURE__ */ jsxs102(
6615
6708
  "button",
6616
6709
  {
6617
6710
  type: "button",
@@ -6624,8 +6717,8 @@ var SearchSeeAllResultsButton = ({
6624
6717
  ),
6625
6718
  onClick,
6626
6719
  children: [
6627
- /* @__PURE__ */ jsx106("span", { children: label }),
6628
- /* @__PURE__ */ jsx106(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
6720
+ /* @__PURE__ */ jsx107("span", { children: label }),
6721
+ /* @__PURE__ */ jsx107(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
6629
6722
  ]
6630
6723
  }
6631
6724
  );
@@ -6646,13 +6739,13 @@ var Search = ({
6646
6739
  } = useSdkUiConfig10();
6647
6740
  const resolvedValue = searchConfig.value;
6648
6741
  const trimmedValue = resolvedValue.trim();
6649
- const [debouncedSearchValue, setDebouncedSearchValue] = useState6(() => {
6742
+ const [debouncedSearchValue, setDebouncedSearchValue] = useState7(() => {
6650
6743
  return trimmedValue.length >= MIN_SEARCH_LENGTH ? trimmedValue : "";
6651
6744
  });
6652
- const [isFocused, setIsFocused] = useState6(false);
6745
+ const [isFocused, setIsFocused] = useState7(false);
6653
6746
  const shouldSearchValue = trimmedValue.length >= MIN_SEARCH_LENGTH;
6654
6747
  const shouldFetchResults = isFocused && debouncedSearchValue.length >= MIN_SEARCH_LENGTH && !searchConfig.result && !searchConfig.isShowingAllResults;
6655
- useEffect5(() => {
6748
+ useEffect6(() => {
6656
6749
  if (!shouldSearchValue) {
6657
6750
  setDebouncedSearchValue("");
6658
6751
  return;
@@ -6700,8 +6793,8 @@ var Search = ({
6700
6793
  const shouldRenderNoResults = shouldRenderDropdown && !isLoading && !validatedResults.length;
6701
6794
  const shouldRenderResults = shouldRenderDropdown && !isLoading && !!validatedResults.length;
6702
6795
  const shouldRenderShortcut = !isFocused && !hasSearchValue && !(inputProps == null ? void 0 : inputProps.disabled);
6703
- const inputRef = useRef5(null);
6704
- const handleSlashKey = useCallback2((event) => {
6796
+ const inputRef = useRef6(null);
6797
+ const handleSlashKey = useCallback3((event) => {
6705
6798
  var _a;
6706
6799
  if (event.key !== "/") return;
6707
6800
  const target = event.target;
@@ -6710,7 +6803,7 @@ var Search = ({
6710
6803
  event.preventDefault();
6711
6804
  (_a = inputRef.current) == null ? void 0 : _a.focus();
6712
6805
  }, []);
6713
- useEffect5(() => {
6806
+ useEffect6(() => {
6714
6807
  document.addEventListener("keydown", handleSlashKey);
6715
6808
  return () => {
6716
6809
  document.removeEventListener("keydown", handleSlashKey);
@@ -6759,14 +6852,14 @@ var Search = ({
6759
6852
  event.preventDefault();
6760
6853
  handleSeeAllResults();
6761
6854
  };
6762
- return /* @__PURE__ */ jsxs101(
6855
+ return /* @__PURE__ */ jsxs102(
6763
6856
  "div",
6764
6857
  {
6765
6858
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
6766
6859
  onFocusCapture: handleFocusWithin,
6767
6860
  onBlurCapture: handleBlurWithin,
6768
6861
  children: [
6769
- /* @__PURE__ */ jsx106("label", { className: "w-full", children: /* @__PURE__ */ jsxs101(
6862
+ /* @__PURE__ */ jsx107("label", { className: "w-full", children: /* @__PURE__ */ jsxs102(
6770
6863
  "div",
6771
6864
  {
6772
6865
  className: cn(
@@ -6782,7 +6875,7 @@ var Search = ({
6782
6875
  ),
6783
6876
  onClick: handleFocusWithin,
6784
6877
  children: [
6785
- /* @__PURE__ */ jsx106(
6878
+ /* @__PURE__ */ jsx107(
6786
6879
  Icon,
6787
6880
  {
6788
6881
  name: "search",
@@ -6790,7 +6883,7 @@ var Search = ({
6790
6883
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
6791
6884
  }
6792
6885
  ),
6793
- /* @__PURE__ */ jsx106(
6886
+ /* @__PURE__ */ jsx107(
6794
6887
  "input",
6795
6888
  __spreadProps(__spreadValues({}, inputProps), {
6796
6889
  ref: inputRef,
@@ -6811,11 +6904,11 @@ var Search = ({
6811
6904
  )
6812
6905
  })
6813
6906
  ),
6814
- shouldRenderShortcut ? /* @__PURE__ */ jsx106("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx106("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
6907
+ shouldRenderShortcut ? /* @__PURE__ */ jsx107("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx107("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
6815
6908
  ]
6816
6909
  }
6817
6910
  ) }),
6818
- shouldRenderLoadingState ? /* @__PURE__ */ jsx106(
6911
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx107(
6819
6912
  "div",
6820
6913
  {
6821
6914
  className: cn(
@@ -6825,10 +6918,10 @@ var Search = ({
6825
6918
  "mt-1",
6826
6919
  classNames == null ? void 0 : classNames.emptyState
6827
6920
  ),
6828
- children: /* @__PURE__ */ jsx106(Skeleton, { view: "search" })
6921
+ children: /* @__PURE__ */ jsx107(Skeleton, { view: "search" })
6829
6922
  }
6830
6923
  ) : null,
6831
- shouldRenderResults ? /* @__PURE__ */ jsx106(
6924
+ shouldRenderResults ? /* @__PURE__ */ jsx107(
6832
6925
  "div",
6833
6926
  {
6834
6927
  className: cn(
@@ -6838,7 +6931,7 @@ var Search = ({
6838
6931
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
6839
6932
  classNames == null ? void 0 : classNames.dropdown
6840
6933
  ),
6841
- children: /* @__PURE__ */ jsxs101(
6934
+ children: /* @__PURE__ */ jsxs102(
6842
6935
  "ul",
6843
6936
  {
6844
6937
  className: cn(
@@ -6848,7 +6941,7 @@ var Search = ({
6848
6941
  role: "listbox",
6849
6942
  "aria-label": labels.search.resultsAria,
6850
6943
  children: [
6851
- validatedResults.map((item, index) => /* @__PURE__ */ jsx106(
6944
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx107(
6852
6945
  "li",
6853
6946
  {
6854
6947
  role: "presentation",
@@ -6857,7 +6950,7 @@ var Search = ({
6857
6950
  index > 0 && "border-t border-agg-separator",
6858
6951
  classNames == null ? void 0 : classNames.resultItem
6859
6952
  ),
6860
- children: /* @__PURE__ */ jsx106(
6953
+ children: /* @__PURE__ */ jsx107(
6861
6954
  SearchResultRow,
6862
6955
  {
6863
6956
  item,
@@ -6869,12 +6962,12 @@ var Search = ({
6869
6962
  },
6870
6963
  item.id
6871
6964
  )),
6872
- /* @__PURE__ */ jsx106(
6965
+ /* @__PURE__ */ jsx107(
6873
6966
  "li",
6874
6967
  {
6875
6968
  role: "presentation",
6876
6969
  className: "agg-search-result-item border-t border-agg-separator",
6877
- children: /* @__PURE__ */ jsx106(
6970
+ children: /* @__PURE__ */ jsx107(
6878
6971
  SearchSeeAllResultsButton,
6879
6972
  {
6880
6973
  label: labels.search.seeAllResults,
@@ -6888,7 +6981,7 @@ var Search = ({
6888
6981
  )
6889
6982
  }
6890
6983
  ) : null,
6891
- shouldRenderNoResults ? /* @__PURE__ */ jsx106(
6984
+ shouldRenderNoResults ? /* @__PURE__ */ jsx107(
6892
6985
  "div",
6893
6986
  {
6894
6987
  className: cn(
@@ -6898,7 +6991,7 @@ var Search = ({
6898
6991
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
6899
6992
  classNames == null ? void 0 : classNames.emptyState
6900
6993
  ),
6901
- children: /* @__PURE__ */ jsxs101(
6994
+ children: /* @__PURE__ */ jsxs102(
6902
6995
  "div",
6903
6996
  {
6904
6997
  className: cn(
@@ -6908,15 +7001,15 @@ var Search = ({
6908
7001
  role: "status",
6909
7002
  "aria-live": "polite",
6910
7003
  children: [
6911
- /* @__PURE__ */ jsx106(
7004
+ /* @__PURE__ */ jsx107(
6912
7005
  SearchEmptyIcon,
6913
7006
  {
6914
7007
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
6915
7008
  "aria-hidden": true
6916
7009
  }
6917
7010
  ),
6918
- /* @__PURE__ */ jsxs101("div", { className: "flex flex-col items-center gap-1 text-center", children: [
6919
- /* @__PURE__ */ jsx106(
7011
+ /* @__PURE__ */ jsxs102("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7012
+ /* @__PURE__ */ jsx107(
6920
7013
  "p",
6921
7014
  {
6922
7015
  className: cn(
@@ -6927,7 +7020,7 @@ var Search = ({
6927
7020
  children: labels.search.noResultsTitle
6928
7021
  }
6929
7022
  ),
6930
- /* @__PURE__ */ jsx106(
7023
+ /* @__PURE__ */ jsx107(
6931
7024
  "p",
6932
7025
  {
6933
7026
  className: cn(
@@ -6977,7 +7070,7 @@ var resolveHeaderSearchContent = ({
6977
7070
  };
6978
7071
 
6979
7072
  // src/primitives/header/index.tsx
6980
- import { Fragment as Fragment6, jsx as jsx107, jsxs as jsxs102 } from "react/jsx-runtime";
7073
+ import { Fragment as Fragment6, jsx as jsx108, jsxs as jsxs103 } from "react/jsx-runtime";
6981
7074
  var Header = ({
6982
7075
  logo,
6983
7076
  logoHref,
@@ -6990,7 +7083,7 @@ var Header = ({
6990
7083
  "aria-label": ariaLabel
6991
7084
  }) => {
6992
7085
  const labels = useLabels11();
6993
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx107(
7086
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx108(
6994
7087
  "img",
6995
7088
  {
6996
7089
  src: logo.src,
@@ -6999,14 +7092,14 @@ var Header = ({
6999
7092
  height: logo.height,
7000
7093
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
7001
7094
  }
7002
- ) : logo !== void 0 ? /* @__PURE__ */ jsx107("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx107(
7095
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx108("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx108(
7003
7096
  AggLogo,
7004
7097
  {
7005
7098
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
7006
7099
  title: labels.header.logoAria
7007
7100
  }
7008
7101
  );
7009
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx107(
7102
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx108(
7010
7103
  "a",
7011
7104
  {
7012
7105
  href: logoHref,
@@ -7015,7 +7108,7 @@ var Header = ({
7015
7108
  onClick: onLogoClick,
7016
7109
  children: logoContent
7017
7110
  }
7018
- ) : onLogoClick ? /* @__PURE__ */ jsx107(
7111
+ ) : onLogoClick ? /* @__PURE__ */ jsx108(
7019
7112
  "button",
7020
7113
  {
7021
7114
  type: "button",
@@ -7027,13 +7120,13 @@ var Header = ({
7027
7120
  onClick: onLogoClick,
7028
7121
  children: logoContent
7029
7122
  }
7030
- ) : /* @__PURE__ */ jsx107("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7123
+ ) : /* @__PURE__ */ jsx108("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7031
7124
  const searchContent = resolveHeaderSearchContent({
7032
7125
  search,
7033
7126
  searchProps,
7034
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx107(Search, __spreadValues({}, nextSearchProps))
7127
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx108(Search, __spreadValues({}, nextSearchProps))
7035
7128
  });
7036
- return /* @__PURE__ */ jsx107(Fragment6, { children: /* @__PURE__ */ jsx107(
7129
+ return /* @__PURE__ */ jsx108(Fragment6, { children: /* @__PURE__ */ jsx108(
7037
7130
  "header",
7038
7131
  {
7039
7132
  role: "banner",
@@ -7042,7 +7135,7 @@ var Header = ({
7042
7135
  fallbackLabel: labels.header.bannerAria
7043
7136
  }),
7044
7137
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
7045
- children: /* @__PURE__ */ jsxs102(
7138
+ children: /* @__PURE__ */ jsxs103(
7046
7139
  "div",
7047
7140
  {
7048
7141
  className: cn(
@@ -7050,7 +7143,7 @@ var Header = ({
7050
7143
  classNames == null ? void 0 : classNames.inner
7051
7144
  ),
7052
7145
  children: [
7053
- /* @__PURE__ */ jsx107(
7146
+ /* @__PURE__ */ jsx108(
7054
7147
  "div",
7055
7148
  {
7056
7149
  className: cn(
@@ -7060,7 +7153,7 @@ var Header = ({
7060
7153
  children: wrappedLogo
7061
7154
  }
7062
7155
  ),
7063
- searchContent ? /* @__PURE__ */ jsx107(
7156
+ searchContent ? /* @__PURE__ */ jsx108(
7064
7157
  "div",
7065
7158
  {
7066
7159
  className: cn(
@@ -7071,7 +7164,7 @@ var Header = ({
7071
7164
  children: searchContent
7072
7165
  }
7073
7166
  ) : null,
7074
- /* @__PURE__ */ jsx107(
7167
+ /* @__PURE__ */ jsx108(
7075
7168
  "div",
7076
7169
  {
7077
7170
  className: cn(
@@ -7134,7 +7227,7 @@ var resolveInlineAlertHasAction = ({
7134
7227
  };
7135
7228
 
7136
7229
  // src/primitives/inline-alert/index.tsx
7137
- import { jsx as jsx108, jsxs as jsxs103 } from "react/jsx-runtime";
7230
+ import { jsx as jsx109, jsxs as jsxs104 } from "react/jsx-runtime";
7138
7231
  var InlineAlert = ({
7139
7232
  tone = INLINE_ALERT_DEFAULT_TONE,
7140
7233
  variant,
@@ -7148,7 +7241,7 @@ var InlineAlert = ({
7148
7241
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
7149
7242
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
7150
7243
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
7151
- return /* @__PURE__ */ jsxs103(
7244
+ return /* @__PURE__ */ jsxs104(
7152
7245
  "div",
7153
7246
  {
7154
7247
  className: cn(
@@ -7160,7 +7253,7 @@ var InlineAlert = ({
7160
7253
  "aria-live": ariaLive,
7161
7254
  "aria-label": ariaLabel,
7162
7255
  children: [
7163
- /* @__PURE__ */ jsx108(
7256
+ /* @__PURE__ */ jsx109(
7164
7257
  Icon,
7165
7258
  {
7166
7259
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -7168,14 +7261,14 @@ var InlineAlert = ({
7168
7261
  "aria-hidden": "true"
7169
7262
  }
7170
7263
  ),
7171
- /* @__PURE__ */ jsx108(
7264
+ /* @__PURE__ */ jsx109(
7172
7265
  "div",
7173
7266
  {
7174
7267
  className: cn(
7175
7268
  "min-w-0",
7176
7269
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
7177
7270
  ),
7178
- children: /* @__PURE__ */ jsxs103(
7271
+ children: /* @__PURE__ */ jsxs104(
7179
7272
  "div",
7180
7273
  {
7181
7274
  className: cn(
@@ -7184,14 +7277,14 @@ var InlineAlert = ({
7184
7277
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
7185
7278
  ),
7186
7279
  children: [
7187
- title ? /* @__PURE__ */ jsx108("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
7188
- /* @__PURE__ */ jsx108("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
7280
+ title ? /* @__PURE__ */ jsx109("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
7281
+ /* @__PURE__ */ jsx109("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
7189
7282
  ]
7190
7283
  }
7191
7284
  )
7192
7285
  }
7193
7286
  ),
7194
- hasAction ? /* @__PURE__ */ jsx108(
7287
+ hasAction ? /* @__PURE__ */ jsx109(
7195
7288
  "button",
7196
7289
  {
7197
7290
  type: "button",
@@ -7229,7 +7322,7 @@ var resolveLoadingIconAriaLabel = ({
7229
7322
  };
7230
7323
 
7231
7324
  // src/primitives/loading-icon/index.tsx
7232
- import { Fragment as Fragment7, jsx as jsx109, jsxs as jsxs104 } from "react/jsx-runtime";
7325
+ import { Fragment as Fragment7, jsx as jsx110, jsxs as jsxs105 } from "react/jsx-runtime";
7233
7326
  var LoadingIcon = ({
7234
7327
  size = LOADING_ICON_DEFAULT_SIZE,
7235
7328
  variant = "default",
@@ -7240,7 +7333,7 @@ var LoadingIcon = ({
7240
7333
  const {
7241
7334
  features: { enableAnimations }
7242
7335
  } = useSdkUiConfig11();
7243
- return /* @__PURE__ */ jsx109(
7336
+ return /* @__PURE__ */ jsx110(
7244
7337
  "span",
7245
7338
  {
7246
7339
  role: "status",
@@ -7253,7 +7346,7 @@ var LoadingIcon = ({
7253
7346
  "inline-grid place-items-center text-agg-primary will-change-transform",
7254
7347
  className
7255
7348
  ),
7256
- children: /* @__PURE__ */ jsx109("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx109(
7349
+ children: /* @__PURE__ */ jsx110("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx110(
7257
7350
  "svg",
7258
7351
  {
7259
7352
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -7261,8 +7354,8 @@ var LoadingIcon = ({
7261
7354
  "block",
7262
7355
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
7263
7356
  ),
7264
- children: variant === "prominent" ? /* @__PURE__ */ jsxs104("g", { children: [
7265
- enableAnimations ? /* @__PURE__ */ jsx109(
7357
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs105("g", { children: [
7358
+ enableAnimations ? /* @__PURE__ */ jsx110(
7266
7359
  "animateTransform",
7267
7360
  {
7268
7361
  attributeName: "transform",
@@ -7274,7 +7367,7 @@ var LoadingIcon = ({
7274
7367
  repeatCount: "indefinite"
7275
7368
  }
7276
7369
  ) : null,
7277
- /* @__PURE__ */ jsx109(
7370
+ /* @__PURE__ */ jsx110(
7278
7371
  "circle",
7279
7372
  {
7280
7373
  cx: "22",
@@ -7288,8 +7381,8 @@ var LoadingIcon = ({
7288
7381
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
7289
7382
  }
7290
7383
  )
7291
- ] }) : /* @__PURE__ */ jsxs104("g", { children: [
7292
- enableAnimations ? /* @__PURE__ */ jsx109(
7384
+ ] }) : /* @__PURE__ */ jsxs105("g", { children: [
7385
+ enableAnimations ? /* @__PURE__ */ jsx110(
7293
7386
  "animateTransform",
7294
7387
  {
7295
7388
  attributeName: "transform",
@@ -7301,7 +7394,7 @@ var LoadingIcon = ({
7301
7394
  repeatCount: "indefinite"
7302
7395
  }
7303
7396
  ) : null,
7304
- /* @__PURE__ */ jsx109(
7397
+ /* @__PURE__ */ jsx110(
7305
7398
  "circle",
7306
7399
  {
7307
7400
  cx: "22",
@@ -7313,8 +7406,8 @@ var LoadingIcon = ({
7313
7406
  strokeLinecap: "round",
7314
7407
  strokeDasharray: "60 100",
7315
7408
  strokeDashoffset: "0",
7316
- children: enableAnimations ? /* @__PURE__ */ jsxs104(Fragment7, { children: [
7317
- /* @__PURE__ */ jsx109(
7409
+ children: enableAnimations ? /* @__PURE__ */ jsxs105(Fragment7, { children: [
7410
+ /* @__PURE__ */ jsx110(
7318
7411
  "animate",
7319
7412
  {
7320
7413
  attributeName: "stroke-dasharray",
@@ -7323,7 +7416,7 @@ var LoadingIcon = ({
7323
7416
  repeatCount: "indefinite"
7324
7417
  }
7325
7418
  ),
7326
- /* @__PURE__ */ jsx109(
7419
+ /* @__PURE__ */ jsx110(
7327
7420
  "animate",
7328
7421
  {
7329
7422
  attributeName: "stroke-dashoffset",
@@ -7368,7 +7461,7 @@ var resolveModalCloseIcon = ({
7368
7461
  };
7369
7462
 
7370
7463
  // src/primitives/modal/index.tsx
7371
- import { Fragment as Fragment8, jsx as jsx110, jsxs as jsxs105 } from "react/jsx-runtime";
7464
+ import { Fragment as Fragment8, jsx as jsx111, jsxs as jsxs106 } from "react/jsx-runtime";
7372
7465
  var Modal = ({
7373
7466
  open,
7374
7467
  onOpenChange,
@@ -7376,7 +7469,7 @@ var Modal = ({
7376
7469
  "aria-label": _ariaLabel,
7377
7470
  "aria-labelledby": _ariaLabelledBy
7378
7471
  }) => {
7379
- return /* @__PURE__ */ jsx110(Dialog.Root, { open, onOpenChange, children });
7472
+ return /* @__PURE__ */ jsx111(Dialog.Root, { open, onOpenChange, children });
7380
7473
  };
7381
7474
  var ModalContainer = ({
7382
7475
  children,
@@ -7391,8 +7484,8 @@ var ModalContainer = ({
7391
7484
  } = useSdkUiConfig12();
7392
7485
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
7393
7486
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
7394
- return /* @__PURE__ */ jsxs105(Dialog.Portal, { children: [
7395
- /* @__PURE__ */ jsx110(
7487
+ return /* @__PURE__ */ jsxs106(Dialog.Portal, { children: [
7488
+ /* @__PURE__ */ jsx111(
7396
7489
  Dialog.Overlay,
7397
7490
  {
7398
7491
  className: cn(
@@ -7403,7 +7496,7 @@ var ModalContainer = ({
7403
7496
  )
7404
7497
  }
7405
7498
  ),
7406
- /* @__PURE__ */ jsx110(
7499
+ /* @__PURE__ */ jsx111(
7407
7500
  Dialog.Content,
7408
7501
  {
7409
7502
  className: cn(
@@ -7429,7 +7522,7 @@ var ModalContainer = ({
7429
7522
  event.preventDefault();
7430
7523
  }
7431
7524
  },
7432
- children: /* @__PURE__ */ jsx110(
7525
+ children: /* @__PURE__ */ jsx111(
7433
7526
  "div",
7434
7527
  {
7435
7528
  className: cn(
@@ -7437,7 +7530,7 @@ var ModalContainer = ({
7437
7530
  "items-end md:items-center",
7438
7531
  "flex h-full min-h-0 w-full justify-center p-0 sm:p-5"
7439
7532
  ),
7440
- children: /* @__PURE__ */ jsx110(
7533
+ children: /* @__PURE__ */ jsx111(
7441
7534
  "div",
7442
7535
  {
7443
7536
  className: cn(
@@ -7479,12 +7572,12 @@ var ModalHeader = ({
7479
7572
  features: { enableAnimations }
7480
7573
  } = useSdkUiConfig12();
7481
7574
  const labels = useLabels13();
7482
- const defaultCloseIcon = /* @__PURE__ */ jsx110(CloseIcon, { className: "h-6 w-6" });
7575
+ const defaultCloseIcon = /* @__PURE__ */ jsx111(CloseIcon, { className: "h-6 w-6" });
7483
7576
  const resolvedCloseIcon = resolveModalCloseIcon({
7484
7577
  closeIcon,
7485
7578
  defaultCloseIcon
7486
7579
  });
7487
- return /* @__PURE__ */ jsxs105(
7580
+ return /* @__PURE__ */ jsxs106(
7488
7581
  "div",
7489
7582
  {
7490
7583
  className: cn(
@@ -7497,7 +7590,7 @@ var ModalHeader = ({
7497
7590
  classNames == null ? void 0 : classNames.root
7498
7591
  ),
7499
7592
  children: [
7500
- /* @__PURE__ */ jsxs105(
7593
+ /* @__PURE__ */ jsxs106(
7501
7594
  "div",
7502
7595
  {
7503
7596
  className: cn(
@@ -7510,8 +7603,8 @@ var ModalHeader = ({
7510
7603
  classNames == null ? void 0 : classNames.container
7511
7604
  ),
7512
7605
  children: [
7513
- leftElement ? /* @__PURE__ */ jsx110(Fragment8, { children: leftElement }) : null,
7514
- /* @__PURE__ */ jsxs105(
7606
+ leftElement ? /* @__PURE__ */ jsx111(Fragment8, { children: leftElement }) : null,
7607
+ /* @__PURE__ */ jsxs106(
7515
7608
  "div",
7516
7609
  {
7517
7610
  className: cn(
@@ -7520,7 +7613,7 @@ var ModalHeader = ({
7520
7613
  classNames == null ? void 0 : classNames.titleContainer
7521
7614
  ),
7522
7615
  children: [
7523
- /* @__PURE__ */ jsx110(
7616
+ /* @__PURE__ */ jsx111(
7524
7617
  Dialog.Title,
7525
7618
  {
7526
7619
  className: cn(
@@ -7534,7 +7627,7 @@ var ModalHeader = ({
7534
7627
  children: title
7535
7628
  }
7536
7629
  ),
7537
- subtitle ? /* @__PURE__ */ jsx110(
7630
+ subtitle ? /* @__PURE__ */ jsx111(
7538
7631
  "span",
7539
7632
  {
7540
7633
  className: cn(
@@ -7548,9 +7641,9 @@ var ModalHeader = ({
7548
7641
  ]
7549
7642
  }
7550
7643
  ),
7551
- /* @__PURE__ */ jsxs105("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
7552
- rightElement ? /* @__PURE__ */ jsx110(Fragment8, { children: rightElement }) : null,
7553
- !hideClose && /* @__PURE__ */ jsx110(
7644
+ /* @__PURE__ */ jsxs106("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
7645
+ rightElement ? /* @__PURE__ */ jsx111(Fragment8, { children: rightElement }) : null,
7646
+ !hideClose && /* @__PURE__ */ jsx111(
7554
7647
  Dialog.Close,
7555
7648
  {
7556
7649
  className: cn(
@@ -7567,14 +7660,14 @@ var ModalHeader = ({
7567
7660
  ]
7568
7661
  }
7569
7662
  ),
7570
- children ? /* @__PURE__ */ jsx110("div", { className: "agg-modal-header-extra", children }) : null
7663
+ children ? /* @__PURE__ */ jsx111("div", { className: "agg-modal-header-extra", children }) : null
7571
7664
  ]
7572
7665
  }
7573
7666
  );
7574
7667
  };
7575
7668
  Modal.Header = ModalHeader;
7576
7669
  var ModalBody = ({ children, classNames }) => {
7577
- return /* @__PURE__ */ jsx110(
7670
+ return /* @__PURE__ */ jsx111(
7578
7671
  "div",
7579
7672
  {
7580
7673
  className: cn(
@@ -7595,7 +7688,7 @@ var ModalFooter = ({
7595
7688
  classNames,
7596
7689
  hideBorder = false
7597
7690
  }) => {
7598
- return /* @__PURE__ */ jsx110(
7691
+ return /* @__PURE__ */ jsx111(
7599
7692
  "div",
7600
7693
  {
7601
7694
  className: cn(
@@ -7618,7 +7711,7 @@ Modal.displayName = "Modal";
7618
7711
  // src/primitives/number-value.tsx
7619
7712
  import { useMemo as useMemo6 } from "react";
7620
7713
  import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
7621
- import { jsx as jsx111 } from "react/jsx-runtime";
7714
+ import { jsx as jsx112 } from "react/jsx-runtime";
7622
7715
  var NumberValue = ({
7623
7716
  value,
7624
7717
  format = "number",
@@ -7652,12 +7745,12 @@ var NumberValue = ({
7652
7745
  formatPercent,
7653
7746
  value
7654
7747
  ]);
7655
- return /* @__PURE__ */ jsx111("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
7748
+ return /* @__PURE__ */ jsx112("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
7656
7749
  };
7657
7750
  NumberValue.displayName = "NumberValue";
7658
7751
 
7659
7752
  // src/primitives/select/index.tsx
7660
- import { useCallback as useCallback3, useEffect as useEffect6, useLayoutEffect as useLayoutEffect2, useRef as useRef6, useState as useState7 } from "react";
7753
+ import { useCallback as useCallback4, useEffect as useEffect7, useLayoutEffect as useLayoutEffect2, useRef as useRef7, useState as useState8 } from "react";
7661
7754
  import { createPortal } from "react-dom";
7662
7755
  import { useLabels as useLabels14, useSdkUiConfig as useSdkUiConfig14 } from "@agg-build/hooks";
7663
7756
 
@@ -7682,7 +7775,7 @@ var resolveIsSelectDisabled = ({
7682
7775
  };
7683
7776
 
7684
7777
  // src/primitives/select/index.tsx
7685
- import { jsx as jsx112, jsxs as jsxs106 } from "react/jsx-runtime";
7778
+ import { jsx as jsx113, jsxs as jsxs107 } from "react/jsx-runtime";
7686
7779
  var SELECT_DROPDOWN_Z = 1e4;
7687
7780
  function resolveSelectPortalContainer(triggerRoot) {
7688
7781
  var _a, _b;
@@ -7706,14 +7799,14 @@ var Select = ({
7706
7799
  const hasAnyIcon = resolveHasAnyIcon(items);
7707
7800
  const isDisabled = resolveIsSelectDisabled({ disabled, items });
7708
7801
  const selectedItem = resolveSelectedItem(items, value);
7709
- const [isOpen, setIsOpen] = useState7(false);
7710
- const [menuRect, setMenuRect] = useState7(
7802
+ const [isOpen, setIsOpen] = useState8(false);
7803
+ const [menuRect, setMenuRect] = useState8(
7711
7804
  null
7712
7805
  );
7713
- const containerRef = useRef6(null);
7714
- const portalRef = useRef6(null);
7715
- const handleClose = useCallback3(() => setIsOpen(false), []);
7716
- const updateMenuRect = useCallback3(() => {
7806
+ const containerRef = useRef7(null);
7807
+ const portalRef = useRef7(null);
7808
+ const handleClose = useCallback4(() => setIsOpen(false), []);
7809
+ const updateMenuRect = useCallback4(() => {
7717
7810
  const el = containerRef.current;
7718
7811
  if (!el) return;
7719
7812
  const r = el.getBoundingClientRect();
@@ -7726,7 +7819,7 @@ var Select = ({
7726
7819
  }
7727
7820
  updateMenuRect();
7728
7821
  }, [isOpen, hasAnyIcon, updateMenuRect, value]);
7729
- useEffect6(() => {
7822
+ useEffect7(() => {
7730
7823
  if (!isOpen || !hasAnyIcon) return;
7731
7824
  const handlePointerDown = (event) => {
7732
7825
  var _a2, _b;
@@ -7747,7 +7840,7 @@ var Select = ({
7747
7840
  document.removeEventListener("scroll", handleReposition, true);
7748
7841
  };
7749
7842
  }, [isOpen, hasAnyIcon, handleClose, updateMenuRect]);
7750
- useEffect6(() => {
7843
+ useEffect7(() => {
7751
7844
  if (!isOpen) return;
7752
7845
  const handleKeyDown = (event) => {
7753
7846
  if ((event == null ? void 0 : event.key) === "Escape") handleClose();
@@ -7757,8 +7850,8 @@ var Select = ({
7757
7850
  }, [isOpen, handleClose]);
7758
7851
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : "rounded-agg-md";
7759
7852
  if (!hasAnyIcon) {
7760
- return /* @__PURE__ */ jsxs106("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
7761
- /* @__PURE__ */ jsx112(
7853
+ return /* @__PURE__ */ jsxs107("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
7854
+ /* @__PURE__ */ jsx113(
7762
7855
  "select",
7763
7856
  {
7764
7857
  "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
@@ -7776,13 +7869,13 @@ var Select = ({
7776
7869
  disabled: isDisabled,
7777
7870
  value,
7778
7871
  onChange: (event) => onChange(event.target.value),
7779
- children: items.map((item) => /* @__PURE__ */ jsx112("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
7872
+ children: items.map((item) => /* @__PURE__ */ jsx113("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
7780
7873
  }
7781
7874
  ),
7782
- /* @__PURE__ */ jsx112("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx112(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) })
7875
+ /* @__PURE__ */ jsx113("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx113(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) })
7783
7876
  ] });
7784
7877
  }
7785
- const listbox = menuRect ? /* @__PURE__ */ jsx112(
7878
+ const listbox = menuRect ? /* @__PURE__ */ jsx113(
7786
7879
  "div",
7787
7880
  {
7788
7881
  ref: portalRef,
@@ -7799,7 +7892,7 @@ var Select = ({
7799
7892
  className: "agg-select-content pointer-events-auto max-h-[min(20rem,calc(100vh-4rem))] overflow-y-auto rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
7800
7893
  children: items.map((item) => {
7801
7894
  const isSelected = item.value === value;
7802
- return /* @__PURE__ */ jsxs106(
7895
+ return /* @__PURE__ */ jsxs107(
7803
7896
  "button",
7804
7897
  {
7805
7898
  type: "button",
@@ -7821,8 +7914,8 @@ var Select = ({
7821
7914
  handleClose();
7822
7915
  },
7823
7916
  children: [
7824
- isSelected ? /* @__PURE__ */ jsx112("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
7825
- item.icon ? /* @__PURE__ */ jsx112("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: item.icon }) : item.iconUrl ? /* @__PURE__ */ jsx112(
7917
+ isSelected ? /* @__PURE__ */ jsx113("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
7918
+ item.icon ? /* @__PURE__ */ jsx113("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: item.icon }) : item.iconUrl ? /* @__PURE__ */ jsx113(
7826
7919
  RemoteImage,
7827
7920
  {
7828
7921
  src: item.iconUrl,
@@ -7830,7 +7923,7 @@ var Select = ({
7830
7923
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
7831
7924
  }
7832
7925
  ) : null,
7833
- /* @__PURE__ */ jsx112("span", { className: "agg-select-item-label truncate", children: item.label })
7926
+ /* @__PURE__ */ jsx113("span", { className: "agg-select-item-label truncate", children: item.label })
7834
7927
  ]
7835
7928
  },
7836
7929
  item.value
@@ -7838,13 +7931,13 @@ var Select = ({
7838
7931
  })
7839
7932
  }
7840
7933
  ) : null;
7841
- return /* @__PURE__ */ jsxs106(
7934
+ return /* @__PURE__ */ jsxs107(
7842
7935
  "div",
7843
7936
  {
7844
7937
  ref: containerRef,
7845
7938
  className: cn("group/agg-select", "relative inline-flex w-full", className),
7846
7939
  children: [
7847
- /* @__PURE__ */ jsxs106(
7940
+ /* @__PURE__ */ jsxs107(
7848
7941
  "button",
7849
7942
  {
7850
7943
  type: "button",
@@ -7866,7 +7959,7 @@ var Select = ({
7866
7959
  ),
7867
7960
  onClick: () => setIsOpen((previousValue) => !previousValue),
7868
7961
  children: [
7869
- (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx112("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx112(
7962
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx113("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx113(
7870
7963
  RemoteImage,
7871
7964
  {
7872
7965
  src: selectedItem.iconUrl,
@@ -7874,11 +7967,11 @@ var Select = ({
7874
7967
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
7875
7968
  }
7876
7969
  ) : null,
7877
- /* @__PURE__ */ jsx112("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
7970
+ /* @__PURE__ */ jsx113("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
7878
7971
  ]
7879
7972
  }
7880
7973
  ),
7881
- /* @__PURE__ */ jsx112("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx112(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) }),
7974
+ /* @__PURE__ */ jsx113("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ jsx113(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) }),
7882
7975
  isOpen && typeof document !== "undefined" && listbox ? createPortal(listbox, resolveSelectPortalContainer(containerRef.current)) : null
7883
7976
  ]
7884
7977
  }
@@ -7940,14 +8033,14 @@ var getTypographyClassName = ({
7940
8033
  };
7941
8034
 
7942
8035
  // src/primitives/typography/index.tsx
7943
- import { jsx as jsx113 } from "react/jsx-runtime";
8036
+ import { jsx as jsx114 } from "react/jsx-runtime";
7944
8037
  var Typography = ({
7945
8038
  as: Component2 = "p",
7946
8039
  variant = "body",
7947
8040
  className,
7948
8041
  children
7949
8042
  }) => {
7950
- return /* @__PURE__ */ jsx113(Component2, { className: getTypographyClassName({ className, variant }), children });
8043
+ return /* @__PURE__ */ jsx114(Component2, { className: getTypographyClassName({ className, variant }), children });
7951
8044
  };
7952
8045
  Typography.displayName = "Typography";
7953
8046
 
@@ -7960,7 +8053,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
7960
8053
  };
7961
8054
 
7962
8055
  // src/primitives/state-message/index.tsx
7963
- import { jsx as jsx114, jsxs as jsxs107 } from "react/jsx-runtime";
8056
+ import { jsx as jsx115, jsxs as jsxs108 } from "react/jsx-runtime";
7964
8057
  var StateMessage = ({
7965
8058
  icon,
7966
8059
  title,
@@ -7974,7 +8067,7 @@ var StateMessage = ({
7974
8067
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
7975
8068
  "aria-hidden": true
7976
8069
  });
7977
- return /* @__PURE__ */ jsx114(
8070
+ return /* @__PURE__ */ jsx115(
7978
8071
  "div",
7979
8072
  {
7980
8073
  className: cn(
@@ -7985,7 +8078,7 @@ var StateMessage = ({
7985
8078
  role: "status",
7986
8079
  "aria-live": "polite",
7987
8080
  "aria-label": title,
7988
- children: /* @__PURE__ */ jsxs107(
8081
+ children: /* @__PURE__ */ jsxs108(
7989
8082
  "div",
7990
8083
  {
7991
8084
  className: cn(
@@ -7994,7 +8087,7 @@ var StateMessage = ({
7994
8087
  ),
7995
8088
  children: [
7996
8089
  resolvedIcon,
7997
- /* @__PURE__ */ jsxs107(
8090
+ /* @__PURE__ */ jsxs108(
7998
8091
  "div",
7999
8092
  {
8000
8093
  className: cn(
@@ -8002,8 +8095,8 @@ var StateMessage = ({
8002
8095
  classNames == null ? void 0 : classNames.text
8003
8096
  ),
8004
8097
  children: [
8005
- /* @__PURE__ */ jsx114(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title }),
8006
- description ? /* @__PURE__ */ jsx114(
8098
+ /* @__PURE__ */ jsx115(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title }),
8099
+ description ? /* @__PURE__ */ jsx115(
8007
8100
  Typography,
8008
8101
  {
8009
8102
  variant: "label",
@@ -8014,7 +8107,7 @@ var StateMessage = ({
8014
8107
  ]
8015
8108
  }
8016
8109
  ),
8017
- hasAction ? /* @__PURE__ */ jsx114(
8110
+ hasAction ? /* @__PURE__ */ jsx115(
8018
8111
  Button,
8019
8112
  {
8020
8113
  variant: "tertiary",
@@ -8041,7 +8134,7 @@ var StateMessage = ({
8041
8134
  StateMessage.displayName = "StateMessage";
8042
8135
 
8043
8136
  // src/primitives/tabs/index.tsx
8044
- import { useCallback as useCallback4, useEffect as useEffect7, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef7, useState as useState8 } from "react";
8137
+ import { useCallback as useCallback5, useEffect as useEffect8, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef8, useState as useState9 } from "react";
8045
8138
  import { useLabels as useLabels16, useSdkUiConfig as useSdkUiConfig15 } from "@agg-build/hooks";
8046
8139
 
8047
8140
  // src/primitives/tabs/tabs.constants.ts
@@ -8069,7 +8162,7 @@ var findEdgeEnabledIndex = (items, direction) => {
8069
8162
  };
8070
8163
 
8071
8164
  // src/primitives/tabs/index.tsx
8072
- import { Fragment as Fragment9, jsx as jsx115, jsxs as jsxs108 } from "react/jsx-runtime";
8165
+ import { Fragment as Fragment9, jsx as jsx116, jsxs as jsxs109 } from "react/jsx-runtime";
8073
8166
  var getTabButtonClassName = ({
8074
8167
  enableAnimations,
8075
8168
  isBarVariant,
@@ -8116,8 +8209,8 @@ var Tabs = ({
8116
8209
  const {
8117
8210
  features: { enableAnimations }
8118
8211
  } = useSdkUiConfig15();
8119
- const buttonRefs = useRef7([]);
8120
- const dragStateRef = useRef7({
8212
+ const buttonRefs = useRef8([]);
8213
+ const dragStateRef = useRef8({
8121
8214
  isPointerDown: false,
8122
8215
  isDragging: false,
8123
8216
  pointerId: null,
@@ -8125,20 +8218,20 @@ var Tabs = ({
8125
8218
  startClientY: 0,
8126
8219
  startScrollLeft: 0
8127
8220
  });
8128
- const suppressClickRef = useRef7(false);
8221
+ const suppressClickRef = useRef8(false);
8129
8222
  const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
8130
- const [isMobileViewport, setIsMobileViewport] = useState8(false);
8131
- const [isDraggingTabs, setIsDraggingTabs] = useState8(false);
8132
- const [activeUnderlineStyle, setActiveUnderlineStyle] = useState8({
8223
+ const [isMobileViewport, setIsMobileViewport] = useState9(false);
8224
+ const [isDraggingTabs, setIsDraggingTabs] = useState9(false);
8225
+ const [activeUnderlineStyle, setActiveUnderlineStyle] = useState9({
8133
8226
  transform: "translateX(0px)",
8134
8227
  width: 0,
8135
8228
  opacity: 0
8136
8229
  });
8137
- const [scrollAffordanceState, setScrollAffordanceState] = useState8({
8230
+ const [scrollAffordanceState, setScrollAffordanceState] = useState9({
8138
8231
  showStart: false,
8139
8232
  showEnd: false
8140
8233
  });
8141
- const tabListRef = useRef7(null);
8234
+ const tabListRef = useRef8(null);
8142
8235
  const isBarVariant = variant === "bar";
8143
8236
  const resolvedOverflowBehavior = useMemo7(() => {
8144
8237
  if (overflowBehavior) return overflowBehavior;
@@ -8147,7 +8240,7 @@ var Tabs = ({
8147
8240
  }, [isBarVariant, isMobileViewport, overflowBehavior]);
8148
8241
  const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
8149
8242
  const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
8150
- useEffect7(() => {
8243
+ useEffect8(() => {
8151
8244
  if (typeof window === "undefined") return;
8152
8245
  const mediaQueryList = window.matchMedia(MOBILE_TABS_MEDIA_QUERY);
8153
8246
  const handleMediaQueryChange = (event) => {
@@ -8165,7 +8258,7 @@ var Tabs = ({
8165
8258
  mediaQueryList.removeListener(handleMediaQueryChange);
8166
8259
  };
8167
8260
  }, []);
8168
- const updateScrollAffordances = useCallback4(() => {
8261
+ const updateScrollAffordances = useCallback5(() => {
8169
8262
  if (!shouldUseOverflowScroll) {
8170
8263
  setScrollAffordanceState({
8171
8264
  showStart: false,
@@ -8318,7 +8411,7 @@ var Tabs = ({
8318
8411
  event == null ? void 0 : event.stopPropagation();
8319
8412
  suppressClickRef.current = false;
8320
8413
  };
8321
- const updateActiveUnderline = useCallback4(() => {
8414
+ const updateActiveUnderline = useCallback5(() => {
8322
8415
  if (isBarVariant) {
8323
8416
  setActiveUnderlineStyle({
8324
8417
  transform: "translateX(0px)",
@@ -8344,7 +8437,7 @@ var Tabs = ({
8344
8437
  useLayoutEffect3(() => {
8345
8438
  updateActiveUnderline();
8346
8439
  }, [updateActiveUnderline]);
8347
- useEffect7(() => {
8440
+ useEffect8(() => {
8348
8441
  if (isBarVariant || !shouldUseOverflowScroll) return;
8349
8442
  const tabListElement = tabListRef.current;
8350
8443
  if (!tabListElement) return;
@@ -8358,11 +8451,11 @@ var Tabs = ({
8358
8451
  tabListElement.removeEventListener("scroll", handleScroll);
8359
8452
  };
8360
8453
  }, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
8361
- useEffect7(() => {
8454
+ useEffect8(() => {
8362
8455
  if (!shouldUseOverflowScroll) return;
8363
8456
  updateScrollAffordances();
8364
8457
  }, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
8365
- useEffect7(() => {
8458
+ useEffect8(() => {
8366
8459
  if (isBarVariant && !shouldUseOverflowScroll) return;
8367
8460
  if (typeof ResizeObserver === "undefined") return;
8368
8461
  const tabListElement = tabListRef.current;
@@ -8376,7 +8469,7 @@ var Tabs = ({
8376
8469
  resizeObserver.disconnect();
8377
8470
  };
8378
8471
  }, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
8379
- useEffect7(() => {
8472
+ useEffect8(() => {
8380
8473
  if (!shouldUseOverflowScroll) return;
8381
8474
  const tabListElement = tabListRef.current;
8382
8475
  if (!tabListElement) return;
@@ -8401,7 +8494,7 @@ var Tabs = ({
8401
8494
  });
8402
8495
  }, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
8403
8496
  if (shouldUseOverflowSelect) {
8404
- return /* @__PURE__ */ jsx115("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx115(
8497
+ return /* @__PURE__ */ jsx116("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx116(
8405
8498
  Select,
8406
8499
  {
8407
8500
  ariaLabel,
@@ -8413,7 +8506,7 @@ var Tabs = ({
8413
8506
  }
8414
8507
  ) });
8415
8508
  }
8416
- return /* @__PURE__ */ jsxs108(
8509
+ return /* @__PURE__ */ jsxs109(
8417
8510
  "div",
8418
8511
  {
8419
8512
  className: cn(
@@ -8424,7 +8517,7 @@ var Tabs = ({
8424
8517
  classNames == null ? void 0 : classNames.root
8425
8518
  ),
8426
8519
  children: [
8427
- /* @__PURE__ */ jsxs108(
8520
+ /* @__PURE__ */ jsxs109(
8428
8521
  "div",
8429
8522
  {
8430
8523
  ref: tabListRef,
@@ -8442,7 +8535,7 @@ var Tabs = ({
8442
8535
  var _a;
8443
8536
  const isActive = item.value === value;
8444
8537
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
8445
- return /* @__PURE__ */ jsxs108(
8538
+ return /* @__PURE__ */ jsxs109(
8446
8539
  "button",
8447
8540
  {
8448
8541
  ref: (buttonElement) => {
@@ -8476,7 +8569,7 @@ var Tabs = ({
8476
8569
  ),
8477
8570
  children: [
8478
8571
  item.icon ? item.icon : null,
8479
- /* @__PURE__ */ jsxs108(
8572
+ /* @__PURE__ */ jsxs109(
8480
8573
  "span",
8481
8574
  {
8482
8575
  className: cn(
@@ -8494,7 +8587,7 @@ var Tabs = ({
8494
8587
  item.value
8495
8588
  );
8496
8589
  }),
8497
- !isBarVariant ? /* @__PURE__ */ jsx115(
8590
+ !isBarVariant ? /* @__PURE__ */ jsx116(
8498
8591
  "span",
8499
8592
  {
8500
8593
  "aria-hidden": true,
@@ -8513,8 +8606,8 @@ var Tabs = ({
8513
8606
  ]
8514
8607
  }
8515
8608
  ),
8516
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs108(Fragment9, { children: [
8517
- /* @__PURE__ */ jsx115(
8609
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs109(Fragment9, { children: [
8610
+ /* @__PURE__ */ jsx116(
8518
8611
  "span",
8519
8612
  {
8520
8613
  "aria-hidden": true,
@@ -8526,7 +8619,7 @@ var Tabs = ({
8526
8619
  )
8527
8620
  }
8528
8621
  ),
8529
- /* @__PURE__ */ jsx115(
8622
+ /* @__PURE__ */ jsx116(
8530
8623
  "span",
8531
8624
  {
8532
8625
  "aria-hidden": true,
@@ -8545,6 +8638,127 @@ var Tabs = ({
8545
8638
  };
8546
8639
  Tabs.displayName = "Tabs";
8547
8640
 
8641
+ // src/primitives/toast/index.tsx
8642
+ import * as RadixToast from "@radix-ui/react-toast";
8643
+ import { createContext, useCallback as useCallback6, useContext, useRef as useRef9, useState as useState10 } from "react";
8644
+ import { jsx as jsx117, jsxs as jsxs110 } from "react/jsx-runtime";
8645
+ var DEFAULT_DURATION_MS = 5e3;
8646
+ var TONE_ACCENT_CLASS = {
8647
+ info: "text-agg-primary",
8648
+ success: "text-agg-success",
8649
+ warning: "text-agg-warning",
8650
+ error: "text-agg-error"
8651
+ };
8652
+ var TONE_ICON_NAME = {
8653
+ info: "info",
8654
+ success: "success-check",
8655
+ warning: "warning-filled",
8656
+ error: "error-filled"
8657
+ };
8658
+ var ToastContext = createContext(null);
8659
+ function ToastProvider({
8660
+ children,
8661
+ defaultDurationMs = DEFAULT_DURATION_MS,
8662
+ swipeDirection = "right",
8663
+ swipeThreshold = 50,
8664
+ viewportClassName
8665
+ }) {
8666
+ const [toasts, setToasts] = useState10([]);
8667
+ const idRef = useRef9(0);
8668
+ const dismiss = useCallback6((id) => {
8669
+ setToasts((current) => current.filter((entry) => entry.id !== id));
8670
+ }, []);
8671
+ const toast = useCallback6(
8672
+ (message, options) => {
8673
+ const id = ++idRef.current;
8674
+ setToasts((current) => {
8675
+ var _a, _b;
8676
+ return [
8677
+ ...current,
8678
+ {
8679
+ id,
8680
+ message,
8681
+ tone: (_a = options == null ? void 0 : options.tone) != null ? _a : "info",
8682
+ title: options == null ? void 0 : options.title,
8683
+ durationMs: (_b = options == null ? void 0 : options.durationMs) != null ? _b : defaultDurationMs
8684
+ }
8685
+ ];
8686
+ });
8687
+ return id;
8688
+ },
8689
+ [defaultDurationMs]
8690
+ );
8691
+ return /* @__PURE__ */ jsx117(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs110(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
8692
+ children,
8693
+ toasts.map((entry) => /* @__PURE__ */ jsx117(
8694
+ ToastRow,
8695
+ {
8696
+ entry,
8697
+ onOpenChange: (open) => {
8698
+ if (!open) dismiss(entry.id);
8699
+ }
8700
+ },
8701
+ entry.id
8702
+ )),
8703
+ /* @__PURE__ */ jsx117(
8704
+ RadixToast.Viewport,
8705
+ {
8706
+ className: cn(
8707
+ "fixed top-4 right-4 z-[100] flex w-[360px] max-w-[calc(100vw-2rem)] flex-col gap-2 outline-none",
8708
+ viewportClassName
8709
+ )
8710
+ }
8711
+ )
8712
+ ] }) });
8713
+ }
8714
+ function ToastRow({ entry, onOpenChange }) {
8715
+ const duration = entry.durationMs === 0 || !Number.isFinite(entry.durationMs) ? Number.POSITIVE_INFINITY : entry.durationMs;
8716
+ return /* @__PURE__ */ jsxs110(
8717
+ RadixToast.Root,
8718
+ {
8719
+ duration,
8720
+ onOpenChange,
8721
+ className: cn(
8722
+ "flex items-start gap-3 rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-3 shadow-lg",
8723
+ "data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-top-2",
8724
+ "data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:slide-out-to-right-full",
8725
+ "data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]",
8726
+ "data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-transform",
8727
+ "data-[swipe=end]:animate-out data-[swipe=end]:slide-out-to-right-full"
8728
+ ),
8729
+ children: [
8730
+ /* @__PURE__ */ jsx117(
8731
+ Icon,
8732
+ {
8733
+ name: TONE_ICON_NAME[entry.tone],
8734
+ className: cn("h-5! w-5! mt-0.5 shrink-0", TONE_ACCENT_CLASS[entry.tone]),
8735
+ "aria-hidden": "true"
8736
+ }
8737
+ ),
8738
+ /* @__PURE__ */ jsxs110("div", { className: "min-w-0 flex-1", children: [
8739
+ entry.title ? /* @__PURE__ */ jsx117(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
8740
+ /* @__PURE__ */ jsx117(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message })
8741
+ ] }),
8742
+ /* @__PURE__ */ jsx117(
8743
+ RadixToast.Close,
8744
+ {
8745
+ "aria-label": "Dismiss",
8746
+ className: "cursor-pointer text-agg-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary",
8747
+ children: /* @__PURE__ */ jsx117(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
8748
+ }
8749
+ )
8750
+ ]
8751
+ }
8752
+ );
8753
+ }
8754
+ function useToast() {
8755
+ const ctx = useContext(ToastContext);
8756
+ if (!ctx) {
8757
+ throw new Error("useToast must be used within a <ToastProvider>");
8758
+ }
8759
+ return ctx;
8760
+ }
8761
+
8548
8762
  // src/primitives/tooltip/index.tsx
8549
8763
  import { useSdkUiConfig as useSdkUiConfig16 } from "@agg-build/hooks";
8550
8764
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
@@ -8580,7 +8794,7 @@ var resolveTooltipArrowDimensions = (size) => {
8580
8794
  };
8581
8795
 
8582
8796
  // src/primitives/tooltip/index.tsx
8583
- import { jsx as jsx116, jsxs as jsxs109 } from "react/jsx-runtime";
8797
+ import { jsx as jsx118, jsxs as jsxs111 } from "react/jsx-runtime";
8584
8798
  var Tooltip = ({
8585
8799
  content,
8586
8800
  children,
@@ -8596,22 +8810,22 @@ var Tooltip = ({
8596
8810
  } = useSdkUiConfig16();
8597
8811
  const trigger = useMemo8(() => {
8598
8812
  if (children) return children;
8599
- return /* @__PURE__ */ jsx116(
8813
+ return /* @__PURE__ */ jsx118(
8600
8814
  "button",
8601
8815
  {
8602
8816
  type: "button",
8603
8817
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
8604
8818
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
8605
- children: /* @__PURE__ */ jsx116(Icon, { name: "info", size: "small", "aria-hidden": true })
8819
+ children: /* @__PURE__ */ jsx118(Icon, { name: "info", size: "small", "aria-hidden": true })
8606
8820
  }
8607
8821
  );
8608
8822
  }, [children, classNames == null ? void 0 : classNames.trigger, ariaLabel]);
8609
8823
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
8610
8824
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
8611
8825
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
8612
- return /* @__PURE__ */ jsx116(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs109(TooltipPrimitive.Root, { children: [
8613
- /* @__PURE__ */ jsx116(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
8614
- /* @__PURE__ */ jsx116(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs109(
8826
+ return /* @__PURE__ */ jsx118(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs111(TooltipPrimitive.Root, { children: [
8827
+ /* @__PURE__ */ jsx118(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
8828
+ /* @__PURE__ */ jsx118(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs111(
8615
8829
  TooltipPrimitive.Content,
8616
8830
  {
8617
8831
  side,
@@ -8633,7 +8847,7 @@ var Tooltip = ({
8633
8847
  classNames == null ? void 0 : classNames.content
8634
8848
  ),
8635
8849
  children: [
8636
- /* @__PURE__ */ jsx116(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs109(
8850
+ /* @__PURE__ */ jsx118(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs111(
8637
8851
  "svg",
8638
8852
  {
8639
8853
  width: arrowWidth,
@@ -8642,8 +8856,8 @@ var Tooltip = ({
8642
8856
  "aria-hidden": "true",
8643
8857
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
8644
8858
  children: [
8645
- /* @__PURE__ */ jsx116("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
8646
- /* @__PURE__ */ jsx116(
8859
+ /* @__PURE__ */ jsx118("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
8860
+ /* @__PURE__ */ jsx118(
8647
8861
  "path",
8648
8862
  {
8649
8863
  d: arrowBorderPath,
@@ -8755,6 +8969,7 @@ export {
8755
8969
  Card,
8756
8970
  SwitchButton,
8757
8971
  LineChart,
8972
+ CopyButton,
8758
8973
  CurrencyInput,
8759
8974
  Footer,
8760
8975
  normalizeVenueMarketCluster,
@@ -8770,6 +8985,8 @@ export {
8770
8985
  selectPrimaryVenueMarket,
8771
8986
  formatCountLabel,
8772
8987
  getVenueSummary,
8988
+ buildSpreadByVenueMarketId,
8989
+ resolveBestMidpointForMarket,
8773
8990
  resolveDisplayVolume,
8774
8991
  filterOpenEvents,
8775
8992
  splitEventsByLifecycle,
@@ -8807,5 +9024,7 @@ export {
8807
9024
  StateMessage,
8808
9025
  MOBILE_TABS_MEDIA_QUERY,
8809
9026
  Tabs,
9027
+ ToastProvider,
9028
+ useToast,
8810
9029
  Tooltip
8811
9030
  };